Commit graph

76 commits

Author SHA1 Message Date
fanghr
283edd64b7
offload some stuff from agora-test to agora-sample and agora-testlib 2022-05-12 19:23:14 +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
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
Seungheon Oh
82dd53efcf
Restructured Testings
Separated the samples and test sets
2022-04-21 16:44:59 -05:00
Seungheon Oh
fe5c18969e
withdrawal effect that actually passes tests 2022-04-21 16:17:54 -05:00
Seungheon Oh
6c62c007f1
more testings 2022-04-21 16:17:54 -05:00
Seungheon Oh
57a0c10404
added test entree
Something is wrong. It does not work.
2022-04-21 16:17:49 -05:00
Seungheon Oh
0464a03989
now proper a proper script context..
and some formatting fixes
2022-04-21 16:16:50 -05:00
Seungheon Oh
27d364bda1
TWE test 2022-04-21 16:16:50 -05:00
Seungheon Oh
5584a47528
format... 2022-04-21 16:16:50 -05:00
Seungheon Oh
c52b65a335
first step to the Test for Treasury Withdrawal Effect 2022-04-21 16:16:50 -05:00
Emily Martins
a6ef476beb add tests for authority token function 'singleAuthorityTokenBurned' 2022-04-20 20:26:32 +02:00
Seungheon Oh
e67ca97256 fixes 2022-04-19 08:04:39 -04:00
Seungheon Oh
93f5ca2752 fix misleading information 2022-04-19 08:03:17 -04:00
SeungheonOh
99fdfcbe31
removed random line break 2022-04-18 22:57:04 +00:00
Seungheon Oh
0e55587373 Little guidance for agora-test
I noticed `agora-test` is quote poorly documented... While it will
receive a restructure when we migrate to `plutarch-test`, these are
small notes in the meantime.
2022-04-18 17:52:30 -05:00
Jack Hodgkinson
fcd76c3dae apply hlint suggestions 2022-04-12 13:55:27 +01:00
Jack Hodgkinson
8020d12b42 more work on treasury testing! 2022-04-12 13:44:05 +01:00
Jack Hodgkinson
c1188b6b96 fixed import issue 2022-04-08 14:33:51 +01:00
Jack Hodgkinson
d59967f6ed Merge branch 'master' of github.com:Liqwid-Labs/agora into jhodgdev/treasury-tests 2022-04-08 13:32:51 +01:00
Jack Hodgkinson
56a1b4672f lightly expanded prop generator 2022-04-01 10:41:18 +01:00
Emily Martins
b0eb044bf2 lock field in Stake datum, singleAuthorityTokenBurned helper 2022-03-31 16:48:59 +02:00
Emily Martins
097e055f19 use plutarch-safemoney instead of local Agora.SafeMoney 2022-03-30 15:32:50 +02:00
Emily Martins
a02005c86a Merge branch 'master' into emiflake/stub-everything 2022-03-28 15:48:02 +02:00
Jack Hodgkinson
2e312599e5 Bumped apropos 2022-03-28 14:20:34 +01:00
Emily Martins
107db1303d fix docs, hlint errors 2022-03-28 14:59:53 +02:00