Commit graph

99 commits

Author SHA1 Message Date
fanghr
0c47f0d84d
add tests for 'pnubSort' and 'pisUniq' 2022-05-16 20:38:21 +08:00
fanghr
768652deb2
docs for utils; refactor tests; rewrite pnubSortBy 2022-05-16 18:11:14 +08:00
fanghr
06d4fcd428
add tests for pmsort, pmerge and phalve 2022-05-14 19:57:01 +08:00
fanghr
107ee51ae9
doc negative test cases as a TODO 2022-05-12 20:30:52 +08:00
fanghr
9f116dd2cf
merge #74; add sample and spec of the governor 2022-05-12 20:01:32 +08:00
fanghr
4a74fcc44c
describe what sample contexts are "valid" for 2022-05-11 20:44:57 +08:00
fanghr
28e1adeb22
add some description for the governor spec tests 2022-05-11 18:14:28 +08:00
fanghr
e63678ef50
run formatter 2022-05-11 17:50:26 +08:00
fanghr
9cef56084e
only one signer to execute the effect 2022-05-11 17:43:04 +08:00
fanghr
cee0f4a67a
Merge branch 'master' into connor/governor 2022-05-11 17:40:38 +08:00
fanghr
f121688990
remove withMinAda 2022-05-11 17:31:17 +08:00
fanghr
710aa14e9a
qualified imports 2022-05-10 22:13:31 +08:00
Jack Hodgkinson
704ec4a38a replaced use of withMinAda 2022-05-09 13:54:20 +01:00
Jack Hodgkinson
cb0f61eb2c Applied Emily's suggestions 2022-05-09 12:17:49 +01:00
Jack Hodgkinson
012aeda681 removed outdated reference 2022-05-06 10:54:03 +01:00
Jack Hodgkinson
f075d33b0d Added review changes 2022-05-06 10:36:21 +01:00
fanghr
d9a2a467bb
fix seralization issues 2022-05-06 17:11:14 +08:00
fanghr
c1c4c919a2
add the rest of the tests
They won't pass for some reasons, unfortunately.
2022-05-06 17:11:13 +08:00
fanghr
a12c9832b8
run formatter and linter 2022-05-06 17:11:13 +08:00
fanghr
c6a59e076d
add proposal creation test 2022-05-06 17:11:12 +08:00
fanghr
ac32b73056
add a sample for GST minting policy 2022-05-06 17:11:10 +08:00
fanghr
41da2dd534
run formatter and linter 2022-05-06 17:11:08 +08:00
fanghr
473deeb08f
add samples: proposalCreation, mutateState and mintGAT 2022-05-06 17:11:07 +08:00
fanghr
62cd50c5cb
add templates for samples and tests of governor 2022-05-06 17:11:07 +08:00
fanghr
bfebc95ce3
fix broken tests 2022-05-06 17:11:05 +08:00
fanghr
3c76f6c1ac
refactor Spec.Sample.Shared with bridges 2022-05-06 17:11:03 +08:00
fanghr
e50e5d6f36
parameterize PST policy only with assetclass of GST
...to resolve the cyclic reference between SST and PST
2022-05-06 17:11:03 +08:00
fanghr
2aa869b46c
fix compilation errors :) 2022-05-06 17:11:01 +08:00
Jack Hodgkinson
7811636571 applied linting and formatting suggestions 2022-05-05 13:40:56 +01:00
Jack Hodgkinson
a64f10c712 finished first draft of treasury tests 2022-05-05 12:03:10 +01:00
Jack Hodgkinson
4fe380b4c2 Added treasury samples and tests 2022-05-04 17:06:26 +01:00
Jack Hodgkinson
dafa6fe8f0 Reset progress on treasury testing; will continue without apropos 2022-04-29 15:23:08 +01:00
Jack Hodgkinson
9490701dbb CekEvaluationError 2022-04-29 14:00:44 +01:00
Jack Hodgkinson
53ae45eaaf finished morphisms 2022-04-28 16:14:35 +01:00
Emily Martins
cf14d9edd8 remove infinities in ProposalTime, fix test build 2022-04-28 17:00:19 +02:00
Emily Martins
c8f5c6af8f remove pfindDatum', in favour of ptryFindDatum 2022-04-28 16:25:40 +02:00
Emily Martins
5ec74e86b8 apply suggestions 2022-04-28 16:21:16 +02:00
Emily Martins
2865f2f093 be more consistent in use of "period", "state", etc wrt. proposals
- specify maximum cosigners requirement in spec.
- remove silly qualified names in Proposal impl.
2022-04-27 14:43:55 +02:00
Emily Martins
438ed872e3 move Stake to Scripts, fix tests 2022-04-27 12:55:37 +02:00
Emily Martins
eb4dc2c654 add shared Sample values module
- add Proposal validator testing
- add some Agora.Record improvements
2022-04-27 12:55:12 +02:00
Emily Martins
18df6ead55 add checks to cosign 2022-04-27 12:54:36 +02:00
Emily Martins
eba9ce452e fix linter errors 2022-04-27 12:53:53 +02:00
Emily Martins
f79f85b2c0 add proposalCreation Sample test 2022-04-27 12:53:53 +02:00
Emily Martins
8f8416593f add ProposalRedeemer, bump plutarch-safemoney PR revision 2022-04-27 12:51:01 +02:00
Seungheon Oh
8315f410e8 format 2022-04-25 08:48:22 -04:00
Seungheon Oh
35b862153c take collaterals into account 2022-04-25 08:46:58 -04:00
Seungheon Oh
05a6808767
stricter constraints over inputs
It will only allow treasuries given in the datum as input. It prevents
unwanted change in the system.
2022-04-22 19:01:36 -05:00
Seungheon Oh
e91dcb7ce1 Now it checks specific treasury
Emily's suggestion on the review
2022-04-22 11:18:38 -04:00
Seungheon Oh
efb0776730 simple fixes suggested from review 2022-04-22 08:23:54 -04:00
Seungheon Oh
7f6ccc0dee
Yeah! Treasury Withdrawal Effect works with good tests 2022-04-21 19:02:10 -05:00