Jack Hodgkinson
a8bb884eab
Applied Emily's suggestions
2022-05-09 12:17:49 +01:00
Jack Hodgkinson
975077953b
removed outdated reference
2022-05-06 10:54:03 +01:00
Jack Hodgkinson
7572bb4da2
Added review changes
2022-05-06 10:36:21 +01:00
Jack Hodgkinson
3d71a1195d
applied linting and formatting suggestions
2022-05-05 13:40:56 +01:00
Jack Hodgkinson
51ffd56203
finished first draft of treasury tests
2022-05-05 12:03:10 +01:00
Jack Hodgkinson
2c72372a69
Added treasury samples and tests
2022-05-04 17:06:26 +01:00
Jack Hodgkinson
f81deaf062
Reset progress on treasury testing; will continue without apropos
2022-04-29 15:23:08 +01:00
Jack Hodgkinson
af75c25cda
CekEvaluationError
2022-04-29 14:00:44 +01:00
Jack Hodgkinson
fdcd725901
finished morphisms
2022-04-28 16:14:35 +01:00
Emily Martins
9ccc481272
remove infinities in ProposalTime, fix test build
2022-04-28 17:00:19 +02:00
Emily Martins
ec835b48c9
remove pfindDatum', in favour of ptryFindDatum
2022-04-28 16:25:40 +02:00
Emily Martins
18622c76d2
apply suggestions
2022-04-28 16:21:16 +02:00
Emily Martins
731ef4e42c
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
82ce3ab717
move Stake to Scripts, fix tests
2022-04-27 12:55:37 +02:00
Emily Martins
4ea9255a6b
add shared Sample values module
...
- add Proposal validator testing
- add some Agora.Record improvements
2022-04-27 12:55:12 +02:00
Emily Martins
1e972f1402
add checks to cosign
2022-04-27 12:54:36 +02:00
Emily Martins
5649f27d24
fix linter errors
2022-04-27 12:53:53 +02:00
Emily Martins
862e9b6079
add proposalCreation Sample test
2022-04-27 12:53:53 +02:00
Emily Martins
265d8f25c7
add ProposalRedeemer, bump plutarch-safemoney PR revision
2022-04-27 12:51:01 +02:00
Seungheon Oh
5ff09ee207
format
2022-04-25 08:48:22 -04:00
Seungheon Oh
5a688262c3
take collaterals into account
2022-04-25 08:46:58 -04:00
Seungheon Oh
bf13fd926e
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
ec46273b5b
Now it checks specific treasury
...
Emily's suggestion on the review
2022-04-22 11:18:38 -04:00
Seungheon Oh
17817ba68b
simple fixes suggested from review
2022-04-22 08:23:54 -04:00
Seungheon Oh
df8baf4f4f
Yeah! Treasury Withdrawal Effect works with good tests
2022-04-21 19:02:10 -05:00
Seungheon Oh
0d99e36541
Restructured Testings
...
Separated the samples and test sets
2022-04-21 16:44:59 -05:00
Seungheon Oh
bed2f37c2f
withdrawal effect that actually passes tests
2022-04-21 16:17:54 -05:00
Seungheon Oh
6c02b94e16
more testings
2022-04-21 16:17:54 -05:00
Seungheon Oh
54e95364ea
added test entree
...
Something is wrong. It does not work.
2022-04-21 16:17:49 -05:00
Seungheon Oh
c96ac583db
now proper a proper script context..
...
and some formatting fixes
2022-04-21 16:16:50 -05:00
Seungheon Oh
774702f255
TWE test
2022-04-21 16:16:50 -05:00
Seungheon Oh
aa4d198e9f
format...
2022-04-21 16:16:50 -05:00
Seungheon Oh
c90cd94c59
first step to the Test for Treasury Withdrawal Effect
2022-04-21 16:16:50 -05:00
Emily Martins
956dbb4b53
add tests for authority token function 'singleAuthorityTokenBurned'
2022-04-20 20:26:32 +02:00
Seungheon Oh
a59c6fd55d
fixes
2022-04-19 08:04:39 -04:00
Seungheon Oh
4ac6e1c081
fix misleading information
2022-04-19 08:03:17 -04:00
SeungheonOh
a92f41a356
removed random line break
2022-04-18 22:57:04 +00:00
Seungheon Oh
374fa2ee1a
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
bd300de832
apply hlint suggestions
2022-04-12 13:55:27 +01:00
Jack Hodgkinson
0e628d0144
more work on treasury testing!
2022-04-12 13:44:05 +01:00
Jack Hodgkinson
e6a6e843a0
fixed import issue
2022-04-08 14:33:51 +01:00
Jack Hodgkinson
eba688f957
Merge branch 'master' of github.com:Liqwid-Labs/agora into jhodgdev/treasury-tests
2022-04-08 13:32:51 +01:00
Jack Hodgkinson
2f7e221fba
lightly expanded prop generator
2022-04-01 10:41:18 +01:00
Emily Martins
c0fa200d8d
lock field in Stake datum, singleAuthorityTokenBurned helper
2022-03-31 16:48:59 +02:00
Emily Martins
8c9225c1f1
use plutarch-safemoney instead of local Agora.SafeMoney
2022-03-30 15:32:50 +02:00
Emily Martins
7a3e62a401
Merge branch 'master' into emiflake/stub-everything
2022-03-28 15:48:02 +02:00
Jack Hodgkinson
868d72634b
Bumped apropos
2022-03-28 14:20:34 +01:00
Emily Martins
449dd3f87e
fix docs, hlint errors
2022-03-28 14:59:53 +02:00
Jack Hodgkinson
eb2677e392
Expanded logicalmodel of treasury tests
2022-03-28 12:43:09 +01:00
Emily Martins
4469671da0
migrate Haskell-level datums to use Discrete
2022-03-26 15:08:11 +01:00