Commit graph

96 commits

Author SHA1 Message Date
Seungheon Oh
424ad15894
agora-spec made independent from agora-test 2022-05-26 09:50:46 -05:00
Seungheon Oh
ff91432a68
Specs use generalized format so that it can be used for benchmarking 2022-05-26 09:50:43 -05:00
fanghr
a85b066a05
apply Emily's suggestions
* add `PMaxTimeRangeWidth`
* several `Default` instances for testing
* a bunch of docstrings
* fix the tests/samples
2022-05-25 21:07:09 +08:00
fanghr
55435d601f
fix broken tests/samples 2022-05-25 20:08:45 +08:00
方泓睿
4bffc1005d
Merge branch 'main' into connor/mutate-governor 2022-05-24 12:38:46 +08:00
Emily Martins
effbcd1d6b add remaining scripts, export to json file, fix compile 2022-05-20 18:24:53 +02:00
Emily Martins
1ba5722409 init agora-scripts for generating ScriptInfo for CTL 2022-05-20 18:24:53 +02:00
fanghr
cdffbeffc9
add a property test for pupdate and updateMap 2022-05-20 21:50:58 +08:00
Emily Martins
b4b85e623f add size benchmarking for scripts to agora-bench 2022-05-18 16:50:08 +02:00
fanghr
30cceb7910
add templates of tests and samples 2022-05-17 20:54:17 +08:00
fanghr
7c5c8d423a
move GovernorMutation effect to Effect 2022-05-17 20:54:12 +08:00
fanghr
5fc9c30d60
add an effect that mutates the governor settings 2022-05-17 20:54:04 +08:00
fanghr
06d4fcd428
add tests for pmsort, pmerge and phalve 2022-05-14 19:57:01 +08:00
fanghr
9d34b63309
test-deps already contains agora 2022-05-14 17:32:42 +08:00
fanghr
cbf14337ff
Merge branch 'master' into connor/governor 2022-05-14 00:40:26 +08:00
fanghr
538e809d2c
add all agora types 2022-05-13 20:03:17 +08:00
fanghr
9a26439397
setup bridge target 2022-05-13 18:08:57 +08:00
fanghr
9f116dd2cf
merge #74; add sample and spec of the governor 2022-05-12 20:01:32 +08:00
fanghr
615f890745
add Spec.Utils to test utils in Agora.Utils 2022-05-12 19:28:19 +08:00
fanghr
283edd64b7
offload some stuff from agora-test to agora-sample and agora-testlib 2022-05-12 19:23:14 +08:00
fanghr
cee0f4a67a
Merge branch 'master' into connor/governor 2022-05-11 17:40:38 +08:00
Jack Hodgkinson
cb0f61eb2c Applied Emily's suggestions 2022-05-09 12:17:49 +01:00
Jack Hodgkinson
f075d33b0d Added review changes 2022-05-06 10:36:21 +01:00
fanghr
62cd50c5cb
add templates for samples and tests of governor 2022-05-06 17:11:07 +08:00
fanghr
fb6f2085c6
move governor scripts from Agora.Governor to Agora.Governor.Scripts 2022-05-06 17:09:39 +08:00
fanghr
18dce71f72
doc string for util functions 2022-05-06 17:09:27 +08:00
fanghr
cda1edeffc
rewrite the doc for governor components
... also explain what GST is
2022-05-06 17:09:26 +08:00
Jack Hodgkinson
a64f10c712 finished first draft of treasury tests 2022-05-05 12:03:10 +01:00
Jack Hodgkinson
dafa6fe8f0 Reset progress on treasury testing; will continue without apropos 2022-04-29 15:23:08 +01:00
Emily Martins
438ed872e3 move Stake to Scripts, fix tests 2022-04-27 12:55:37 +02:00
Emily Martins
4411dba717 move Proposal impl. to Agora.Proposal.Scripts to avoid cyclic deps 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
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
faf326f9c3 implement Agora.Record, implement Agora.Proposal.Time 2022-04-27 12:53:37 +02:00
Seungheon Oh
e262395556 format 2022-04-25 11:17:15 -04:00
SeungheonOh
19c9cd06c8
Merge branch 'master' into seungheonoh/treasurywithdrawaleffect 2022-04-25 10:57:41 -04:00
Seungheon Oh
04b57dce85
Now makeEffect boilerplate requires datum to implemt PTryFrom
It will free `makeEffect` from using `unsafeCoerce` and force each
effect datums to implement their own "parsers".
2022-04-22 23:34:33 -05:00
Seungheon Oh
9866845f04
formatting 2022-04-21 19:03:14 -05:00
Seungheon Oh
82dd53efcf
Restructured Testings
Separated the samples and test sets
2022-04-21 16:44:59 -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
Seungheon Oh
f9d7db9323
Rebase master to Treasury Withdrawal Effect
Liqwid-Labs/agora#46
2022-04-21 16:16:35 -05:00
Emily Martins
a6ef476beb add tests for authority token function 'singleAuthorityTokenBurned' 2022-04-20 20:26:32 +02:00
Emily Martins
96dbefc4ef format agora.cabal, flake.nix 2022-04-15 13:41:07 +02:00
Jack Hodgkinson
3c818f436f Formatting 2022-04-12 13:46:40 +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
Emily Martins
097e055f19 use plutarch-safemoney instead of local Agora.SafeMoney 2022-03-30 15:32:50 +02:00
Emily Martins
522051657c apply docs suggestions 2022-03-28 18:01:27 +02:00
Emily Martins
a02005c86a Merge branch 'master' into emiflake/stub-everything 2022-03-28 15:48:02 +02:00