Commit graph

66 commits

Author SHA1 Message Date
adamczykm
b793c2395e Fix a typo. 2022-10-17 11:41:03 +02:00
Hongrui Fang
b449b91037 fix docstrings 2022-10-07 10:23:07 +08:00
Hongrui Fang
e762db8d18 fix tests for cosigning 2022-10-06 20:52:24 +08:00
Hongrui Fang
270c984f8d check minimum stake amount while voting 2022-10-05 00:13:11 +08:00
Hongrui Fang
224a49abb3 fix documentation 2022-10-03 19:14:07 +08:00
Hongrui Fang
484cd5dce1 fix sample tests for unlocking stakes 2022-10-03 17:20:42 +08:00
Hongrui Fang
b2de61c16c fix sample tests for voting 2022-10-03 17:20:41 +08:00
Hongrui Fang
9b858079dd check stake locks in stake validator 2022-09-30 08:17:32 +08:00
Hongrui Fang
1bc60a48e5 allow spending more than one stakes in one tx 2022-09-30 08:17:31 +08:00
Emily Martins
9e3521dcb4 add NoFieldSelectors flag globally 2022-09-17 15:18:01 +02:00
方泓睿
c2fef7959f fix #174
and also modify test cases to reflect real onchain environment
2022-09-15 20:01:06 +08:00
Hongrui Fang
3e7916ba58 fix tests 2022-09-13 20:24:29 +08:00
Emily Martins
92ea81f0cd fix treasury implementation and tests 2022-09-01 20:45:42 +02:00
Emily Martins
aba96ce1ec prevent stake inclusion in AdvanceProposal 2022-08-30 15:59:45 +02:00
Emily Martins
baf209843a remove stake checking in more places 2022-08-30 11:59:40 +02:00
Emily Martins
6a86a096db proposal advancing simplified 2022-08-30 11:58:52 +02:00
Hongrui Fang
adcf927607 type safe sorted votes/effects 2022-08-26 22:10:46 +08:00
Hongrui Fang
7cdf0e2fc0 ensure the uniqueness of ResultTag 2022-08-25 20:42:57 +08:00
Emily Martins
6b8efdc364 auth check tokens instead of effect validator 2022-08-23 12:34:24 +02:00
Emily Martins
f730998326 use Credential instead of PubKeyHash everywhere 2022-08-17 11:00:24 +02:00
Hongrui Fang
1a62d7c4b7 test new functionalities in proposal advancements 2022-08-17 12:26:55 +08:00
Hongrui Fang
fec449ceb5 use v2 types 2022-08-15 21:41:31 +08:00
Hongrui Fang
b6a30b9ea9 speed up test execution by precompiling scripts
x250 faster!
2022-08-12 05:01:35 +08:00
Hongrui Fang
33e4ed037e fix compilation errors 2022-08-12 04:56:19 +08:00
Seungheon Oh
662540e619 remove Agora.MultiSig 2022-08-03 23:42:21 +08:00
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
e4f6890ac1 add docstrings for some crucial test facilities 2022-07-22 21:15:09 +08:00
Hongrui Fang
e881f69c99 fix broken tests; utilizing new PCB APIs 2022-07-21 22:41:28 +08:00
Hongrui Fang
b61fb203b2 get rid of Sample.Governor 2022-07-21 22:41:27 +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
d709a1fdd0 fix governor datum validation 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
f9ddda4cc0 check the amount of cosigners while cosigning 2022-07-19 22:48:01 +08:00
Hongrui Fang
3c35e610a5 add missing module headers 2022-07-11 23:47:34 +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
435050f204 create credentials using blake2b_224
datum hash should be 256 bits(32 bytes)
2022-06-28 17:25:13 +08:00
Seungheon Oh
4d6f8154a5 Governor policy property 2022-06-22 11:53:32 -05:00
Hongrui Fang
1508bcb5b9 improve readability of test code 2022-06-20 21:49:39 +08:00
Hongrui Fang
fb061de36b use PCB to simplify samples 2022-06-20 21:19:38 +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