Hongrui Fang
23cc230968
fix broken tests; utilizing new PCB APIs
2022-07-21 22:41:28 +08:00
Hongrui Fang
38654da80a
get rid of Sample.Governor
2022-07-21 22:41:27 +08:00
Hongrui Fang
eb407b98c4
add tests for governor mutation
2022-07-21 22:41:22 +08:00
Hongrui Fang
c450e1252d
add tests for GAT minting
...
no more propsoal T_T
2022-07-21 22:29:18 +08:00
Hongrui Fang
51c4955a37
add tests for minting GST
2022-07-19 22:48:02 +08:00
Hongrui Fang
4317987964
check GST while moving from Locked
2022-07-19 22:48:02 +08:00
Hongrui Fang
2155e59508
fix governor datum validation
2022-07-19 22:48:02 +08:00
Hongrui Fang
b6fb23975c
improve performance of the governor validator
2022-07-19 22:48:02 +08:00
Hongrui Fang
6d7bee611a
check the amount of cosigners while cosigning
2022-07-19 22:48:01 +08:00
Hongrui Fang
4b3003fdc8
add missing module headers
2022-07-11 23:47:34 +08:00
Hongrui Fang
f0d0188812
add new tests for creating proposals
2022-07-11 23:47:29 +08:00
Hongrui Fang
0495d27f86
refactor and add more tests for unlocking stakes
2022-07-11 23:10:21 +08:00
Hongrui Fang
1865c5cf38
fix existing tests
2022-07-11 23:10:19 +08:00
Hongrui Fang
9c8d04dbc6
add tests for advancement from draft phrase; refactoring
2022-07-05 16:59:15 +08:00
Hongrui Fang
9852d2791a
fix broken test cases
2022-06-28 18:31:54 +08:00
Hongrui Fang
7832910e94
create credentials using blake2b_224
...
datum hash should be 256 bits(32 bytes)
2022-06-28 17:25:13 +08:00
Seungheon Oh
54b99ff5c1
Governor policy property
2022-06-22 11:53:32 -05:00
Hongrui Fang
2d3f8f0463
improve readability of test code
2022-06-20 21:49:39 +08:00
Hongrui Fang
3b15fedc26
use PCB to simplify samples
2022-06-20 21:19:38 +08:00
Hongrui Fang
3ecb6a351d
fix some typo
2022-06-20 18:55:46 +08:00
Hongrui Fang
4ac80516c5
allow multiple proposals in the samples of unlocking stake
2022-06-20 18:54:44 +08:00
fanghr
feb3f2daaf
apply Emily's suggestions
2022-06-20 18:45:56 +08:00
fanghr
034e55c34f
add samples and tests for unlocking stakes
2022-06-20 18:45:05 +08:00
fanghr
edac5b6cf5
share stake check code among redeemers
2022-06-20 18:37:07 +08:00
Seungheon Oh
e386cc5e75
Remove either error id pattern in Samples
2022-06-17 14:29:00 -05:00
Seungheon Oh
0bc5706770
governorDatumValid property
2022-06-17 13:39:18 -05:00
Seungheon Oh
50b89107ed
Moved samples to PCB
...
* Cleaner imports
2022-06-17 12:35:33 -05:00
Hongrui Fang
d6c78edc79
fix the broken test case
2022-06-17 21:16:29 +08:00
Hongrui Fang
b60cae3516
remove upstreamed utils; fix compilation errors
2022-06-17 21:16:29 +08:00
Seungheon Oh
c98f39c6aa
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
ad9da8e6b3
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
8e71ecbdfd
add and fix haddock doc comments
2022-06-02 16:28:14 +02:00
Seungheon Oh
3ad50b218b
Use native expected function
2022-06-01 12:28:21 -05:00
Seungheon Oh
af1a540b55
added Docstrings
...
Emily's suggestions
2022-06-01 10:35:39 -05:00
Seungheon Oh
c260254cae
Removed Apropos
2022-05-31 12:32:12 -05:00
Seungheon Oh
fa5bb7eec2
Replaced Apropos Property testing with PQ and PCB for MultiSig
2022-05-31 12:09:19 -05:00
Seungheon Oh
b1a323afaa
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