Commit graph

27 commits

Author SHA1 Message Date
Hongrui Fang
791b1fe291 tests for delegate voting 2022-07-26 22:37:35 +08:00
Hongrui Fang
11757be255 simple tests for setting delegate 2022-07-26 22:37:35 +08:00
Hongrui Fang
8fba8e1598 allow delegating stake for voting 2022-07-26 22:37:35 +08:00
Hongrui Fang
fa25ca21a2 add tests for governor mutation 2022-07-21 22:41:22 +08:00
Hongrui Fang
558313e213 add tests for GAT minting
no more propsoal T_T
2022-07-21 22:29:18 +08:00
Hongrui Fang
eba58106f3 add tests for minting GST 2022-07-19 22:48:02 +08:00
Hongrui Fang
7c3825ceba check GST while moving from Locked 2022-07-19 22:48:02 +08:00
Hongrui Fang
e22bdc59fb improve performance of the governor validator 2022-07-19 22:48:02 +08:00
Hongrui Fang
79eb0772c3 add new tests for creating proposals 2022-07-11 23:47:29 +08:00
Hongrui Fang
5eee3127b2 refactor and add more tests for unlocking stakes 2022-07-11 23:10:21 +08:00
Hongrui Fang
b76b5c6ec6 fix existing tests 2022-07-11 23:10:19 +08:00
Hongrui Fang
701340688a add tests for advancement from draft phrase; refactoring 2022-07-05 16:59:15 +08:00
Hongrui Fang
5ce76885fc fix broken test cases 2022-06-28 18:31:54 +08:00
Hongrui Fang
1508bcb5b9 improve readability of test code 2022-06-20 21:49:39 +08:00
Hongrui Fang
2f46594fe7 fix some typo 2022-06-20 18:55:46 +08:00
Hongrui Fang
36a558bf30 allow multiple proposals in the samples of unlocking stake 2022-06-20 18:54:44 +08:00
fanghr
8f9d9521c2 add samples and tests for unlocking stakes 2022-06-20 18:45:05 +08:00
fanghr
13dff0db43 share stake check code among redeemers 2022-06-20 18:37:07 +08:00
Seungheon Oh
e037f3f5f0 Moved samples to PCB
* Cleaner imports
2022-06-17 12:35:33 -05:00
Hongrui Fang
448e9e2c1d fix the broken test case 2022-06-17 21:16:29 +08:00
Hongrui Fang
12ab066e23 remove upstreamed utils; fix compilation errors 2022-06-17 21:16:29 +08:00
Seungheon Oh
8e9dd16613 countingVote,create,startVoting to execute,create,vote
Let's embrace consistancy between Haskell types and Plutarch types.
2022-06-16 13:28:55 -05:00
Emily Martins
5049441dfc flake: bump plutarch, fix resulting issues
Collection of things fixed:
- `agora-test`: Fix compile resulting from some changes to hackage.
- `agora-benchmark`: Switched to `plutarch`-style `evalScript`.
- CI: Ported over new flake changes.

This is quite a mess.
2022-06-03 23:23:00 +02:00
Emily Martins
0348f72499 add and fix haddock doc comments 2022-06-02 16:28:14 +02:00
Seungheon Oh
339dad0165 Removed Apropos 2022-05-31 12:32:12 -05:00
Seungheon Oh
8c312a46bd Replaced Apropos Property testing with PQ and PCB for MultiSig 2022-05-31 12:09:19 -05:00
Seungheon Oh
b65bc5a20d Restructure
`agora-spec` and `agora-spec` is merged to be `agora-specs`;
`agora-testlib` contains what previously was `Spec.Specification`.
2022-05-30 13:30:25 -05:00