Commit graph

804 commits

Author SHA1 Message Date
Hongrui Fang
e5dc29f98b
make use of LPE's time module 2022-09-13 20:24:30 +08:00
Hongrui Fang
1f71f30e52
fix tests 2022-09-13 20:24:29 +08:00
Hongrui Fang
131fab271f
derive list encoded types with PlutusTypeDataList 2022-09-13 20:24:28 +08:00
Hongrui Fang
57082eb106
witnessing stakes in reference inputs 2022-09-13 20:24:27 +08:00
Hongrui Fang
02dd95aceb
bump plutarch/LPE/PCB; point plutarch to master branch 2022-09-13 20:24:20 +08:00
Hongrui Fang
e59fd16fe9
pattern match on PGovernorRedeemer directly 2022-09-06 21:23:01 +08:00
Hongrui Fang
2d0b7b5455
clean up proposal output validation 2022-09-06 21:23:00 +08:00
Hongrui Fang
6a2ce860fe
restructure stake validator 2022-09-06 21:22:59 +08:00
emiflake
148c01acb8
Merge pull request #170 from Liqwid-Labs/bencross/treasurywithdrawal
Add treasury withdrawal effect to scripts API
2022-09-02 18:03:21 +02:00
Ben Cross
d1ab54d4f9 Formatting 2022-09-02 15:59:16 +02:00
Ben Cross
ba6d8ad229 Add the effect validator to the API 2022-09-02 15:58:58 +02:00
emiflake
95c376d4bc
Merge pull request #171 from Liqwid-Labs/emiflake/fix-treasury
fix treasury implementation and tests
2022-09-01 21:21:26 +02:00
Emily Martins
04d6cbefe9 fix treasury implementation and tests 2022-09-01 20:45:42 +02:00
emiflake
cf4d44cc3b
Merge pull request #169 from Liqwid-Labs/seungheonoh/standards
add link to new standards in notion
2022-09-01 14:45:38 +02:00
SeungheonOh
aed289f456
Update CONTRIBUTING.md 2022-08-31 18:18:32 -05:00
Seungheon Oh
8cfde80179 add link to new standards in notion 2022-08-31 18:02:12 -05:00
emiflake
75d052ef33
Merge pull request #167 from Liqwid-Labs/emiflake/expose-tracing-options
Expose trace options in `agora-scripts` executable.
2022-08-30 20:12:39 +02:00
Emily Martins
e572516918 allow disabling tracing in script export 2022-08-30 19:09:46 +02:00
emiflake
156a73212c
Merge pull request #166 from Liqwid-Labs/emiflake/optimizations
Optimize AdvanceProposal
2022-08-30 16:41:20 +02:00
Emily Martins
dcdc8803c8 prevent stake inclusion in AdvanceProposal 2022-08-30 15:59:45 +02:00
Emily Martins
140105866d reorder and inline plets 2022-08-30 12:38:56 +02:00
Emily Martins
f251a13394 apply suggestions
Rename `PVoting` -> `PVotingReady` to match Haskell-level
2022-08-30 12:31:29 +02:00
Emily Martins
eb3b96e4fe remove stake checking in more places 2022-08-30 11:59:40 +02:00
Emily Martins
22868525f4 proposal advancing simplified 2022-08-30 11:58:52 +02:00
emiflake
ffe1ddd8ea
Merge pull request #164 from Liqwid-Labs/connor/sorted-votes
Type safe sorted votes/effects
2022-08-26 17:06:55 +02:00
Hongrui Fang
edee537ce2
type safe sorted votes/effects 2022-08-26 22:10:46 +08:00
emiflake
6fbee1313d
Merge pull request #163 from Liqwid-Labs/connor/unique-resulttags
Ensure the uniqueness of `ResultTag`
2022-08-25 15:58:46 +02:00
Hongrui Fang
1c06389a19
ensure the uniqueness of ResultTag 2022-08-25 20:42:57 +08:00
emiflake
5dbf0d3d63
Merge pull request #162 from Liqwid-Labs/emiflake/kind-sigs
Add kind signatures where missing.
2022-08-24 19:21:44 +02:00
Emily Martins
a8973c9b92 infer system for make ci 2022-08-24 18:33:38 +02:00
Emily Martins
e615dc6f9b ensure make ci is consistent with system
Sadly I can't see of a way to pass your current system to `nix build`.
So, let's just support x86 64-bit Linux and tell the user how to
use `nix build` directly.
2022-08-24 17:23:41 +02:00
Emily Martins
fe39eea726 add kind signatures to all agora decls 2022-08-24 17:08:19 +02:00
emiflake
0d8822285c
Merge pull request #161 from Liqwid-Labs/emiflake/auth-check-support
AuthCheck token name instead of effect validator
2022-08-23 17:01:16 +02:00
Emily Martins
2c068d9b07 apply @chfanghr's suggestions 2022-08-23 15:58:58 +02:00
Emily Martins
41b524703a update CHANGELOG 2022-08-23 12:37:24 +02:00
Emily Martins
f335bf98df auth check tokens instead of effect validator 2022-08-23 12:34:24 +02:00
emiflake
029b6d848e
Merge pull request #160 from Liqwid-Labs/emiflake/cleanup
Clean up imports and haddock comments
2022-08-18 19:35:42 +02:00
Emily Martins
7e51470a8a add docstring for PProposalEffectGroup 2022-08-18 18:48:38 +02:00
Emily Martins
255c38db67 explicit imports for core agora modules 2022-08-18 16:52:53 +02:00
Emily Martins
566d1a3b9d add changelog entry for Credential change 2022-08-18 16:11:28 +02:00
emiflake
4ca1f5933b
Merge pull request #159 from Liqwid-Labs/connor/bump-stuff
Use latest version of Plutarch; Use upstreamed LPE utilities; Clean up some import/export lists
2022-08-18 16:09:39 +02:00
Hongrui Fang
e99e78437b
update benchmark 2022-08-18 00:20:26 +08:00
Hongrui Fang
cb45b5255b
use utils from LPE 2022-08-18 00:20:25 +08:00
Hongrui Fang
548cd8c2eb
clean up import/export lists 2022-08-18 00:20:24 +08:00
Hongrui Fang
9f0aab889f
bump plutarch and LPE 2022-08-18 00:20:06 +08:00
emiflake
8001d9f743
Merge pull request #158 from Liqwid-Labs/emiflake/credential
use Credential instead of PubKeyHash everywhere
2022-08-17 11:40:21 +02:00
Emily Martins
dc0289e7c4 fix docs for Agora.Credential module 2022-08-17 11:00:26 +02:00
Emily Martins
44f3ddf00d use Credential instead of PubKeyHash everywhere 2022-08-17 11:00:24 +02:00
方泓睿
3ea03a6665
Merge pull request #157 from Liqwid-Labs/connor/effect-ref-script
Store `ScriptHash`es in the effects
2022-08-17 12:52:37 +08:00
Hongrui Fang
6d4fe92b30
test new functionalities in proposal advancements 2022-08-17 12:26:55 +08:00