Commit graph

822 commits

Author SHA1 Message Date
Emily Martins
b2e9b3d8dd get rid of redundant docs, update README a little 2022-09-16 16:13:27 +02:00
方泓睿
acc1da783a Merge pull request #176 from Liqwid-Labs/connor/fix-175 2022-09-16 17:45:33 +08:00
emiflake
eb815b141c Merge pull request #177 from Liqwid-Labs/connor/workaround-ctl-validity-interval-inclusiveness
Ignore the inclusiveness of the upper bound of `txInfo.validRange` in `currentProposalTime`
2022-09-15 20:05:25 +02:00
方泓睿
5ce6e90ae8 update changelog 2022-09-15 22:38:56 +08:00
方泓睿
bae8b195b8 workaround CTL validity range inclusiveness issue 2022-09-15 22:30:30 +08:00
方泓睿
bf1b4692fc check only PST is minted while creating proposals 2022-09-15 21:49:54 +08:00
方泓睿
e6eb21988b Merge pull request #175 from Liqwid-Labs/connor/fix-174 2022-09-15 21:08:53 +08:00
方泓睿
2e44fd8121 update changelog 2022-09-15 20:02:02 +08:00
方泓睿
c2fef7959f fix #174
and also modify test cases to reflect real onchain environment
2022-09-15 20:01:06 +08:00
emiflake
c22c624e31 Merge pull request #173 from Liqwid-Labs/emiflake/bump-pse
bump plutarch-script-export for correct V2 scripts
2022-09-14 15:17:18 +02:00
Emily Martins
7db36dd39c bump plutarch-script-export for correct V2 scripts 2022-09-14 13:28:47 +02:00
emiflake
35b653d612 Merge pull request #172 from Liqwid-Labs/connor/standalone-stake-redeemers
Standalone stake redeemers
2022-09-14 13:27:09 +02:00
方泓睿
07ad0e4ddf update changelog 2022-09-13 22:21:22 +08:00
Hongrui Fang
597130ed18 standalone stake redeemers 2022-09-13 22:21:18 +08:00
方泓睿
edad8d6d42 Merge pull request #168 from Liqwid-Labs/connor/witness-ref-stake
Witness stakes with reference input
2022-09-13 21:08:54 +08:00
Hongrui Fang
9389e3e040 update changelog 2022-09-13 20:24:33 +08:00
Hongrui Fang
86e60657d4 apply review suggestions 2022-09-13 20:24:32 +08:00
Hongrui Fang
00d5a102b2 document newly added validation context types 2022-09-13 20:24:31 +08:00
Hongrui Fang
f0a8ee6d84 make use of LPE's time module 2022-09-13 20:24:30 +08:00
Hongrui Fang
3e7916ba58 fix tests 2022-09-13 20:24:29 +08:00
Hongrui Fang
f6b36abfc6 derive list encoded types with PlutusTypeDataList 2022-09-13 20:24:28 +08:00
Hongrui Fang
b2aefbe502 witnessing stakes in reference inputs 2022-09-13 20:24:27 +08:00
Hongrui Fang
ce787fe19c bump plutarch/LPE/PCB; point plutarch to master branch 2022-09-13 20:24:20 +08:00
Hongrui Fang
00a3931df8 pattern match on PGovernorRedeemer directly 2022-09-06 21:23:01 +08:00
Hongrui Fang
139f8add30 clean up proposal output validation 2022-09-06 21:23:00 +08:00
Hongrui Fang
759c6a0aa5 restructure stake validator 2022-09-06 21:22:59 +08:00
emiflake
19a241c2d8 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
36c9c0b2a9 Formatting 2022-09-02 15:59:16 +02:00
Ben Cross
177fef8a25 Add the effect validator to the API 2022-09-02 15:58:58 +02:00
emiflake
f1236b7492 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
92ea81f0cd fix treasury implementation and tests 2022-09-01 20:45:42 +02:00
emiflake
8fbd6b9343 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
c8c740b6a5 Update CONTRIBUTING.md 2022-08-31 18:18:32 -05:00
Seungheon Oh
5f28e2884b add link to new standards in notion 2022-08-31 18:02:12 -05:00
emiflake
46bd23aff3 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
bf67d74258 allow disabling tracing in script export 2022-08-30 19:09:46 +02:00
emiflake
dcd3277966 Merge pull request #166 from Liqwid-Labs/emiflake/optimizations
Optimize AdvanceProposal
2022-08-30 16:41:20 +02:00
Emily Martins
aba96ce1ec prevent stake inclusion in AdvanceProposal 2022-08-30 15:59:45 +02:00
Emily Martins
13cc75c401 reorder and inline plets 2022-08-30 12:38:56 +02:00
Emily Martins
42f74f3d37 apply suggestions
Rename `PVoting` -> `PVotingReady` to match Haskell-level
2022-08-30 12:31:29 +02:00
Emily Martins
baf209843a remove stake checking in more places 2022-08-30 11:59:40 +02:00
Emily Martins
6a86a096db proposal advancing simplified 2022-08-30 11:58:52 +02:00
emiflake
ee63010ffd 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
adcf927607 type safe sorted votes/effects 2022-08-26 22:10:46 +08:00
emiflake
f6b3b44336 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
7cdf0e2fc0 ensure the uniqueness of ResultTag 2022-08-25 20:42:57 +08:00
emiflake
a27af0b58a 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
e7f14b1d44 infer system for make ci 2022-08-24 18:33:38 +02:00
Emily Martins
59e2fc5a85 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
342ea6a60b add kind signatures to all agora decls 2022-08-24 17:08:19 +02:00