Hongrui Fang
70ad5c9c06
update benchmark
2022-10-05 00:14:02 +08:00
adamczykm
274d16ab6c
Refresh benchmarks
2022-09-26 14:24:18 +02:00
方泓睿
d06c09fbd9
clean up governor scripts
2022-09-21 16:55:56 +08:00
方泓睿
423516f4ff
clean up proposal validator
2022-09-16 23:36:06 +08:00
方泓睿
c7edb9047c
workaround CTL validity range inclusiveness issue
2022-09-15 22:30:30 +08:00
方泓睿
d949e804de
check only PST is minted while creating proposals
2022-09-15 21:49:54 +08:00
方泓睿
58653f8f47
fix #174
...
and also modify test cases to reflect real onchain environment
2022-09-15 20:01:06 +08:00
Hongrui Fang
01cacc9721
standalone stake redeemers
2022-09-13 22:21:18 +08:00
Hongrui Fang
4d49a17531
apply review suggestions
2022-09-13 20:24:32 +08:00
Hongrui Fang
1f71f30e52
fix tests
2022-09-13 20:24:29 +08:00
Hongrui Fang
02dd95aceb
bump plutarch/LPE/PCB; point plutarch to master branch
2022-09-13 20:24:20 +08:00
Emily Martins
04d6cbefe9
fix treasury implementation and tests
2022-09-01 20:45:42 +02:00
Emily Martins
dcdc8803c8
prevent stake inclusion in AdvanceProposal
2022-08-30 15:59:45 +02:00
Emily Martins
140105866d
reorder and inline plets
2022-08-30 12:38:56 +02:00
Emily Martins
eb3b96e4fe
remove stake checking in more places
2022-08-30 11:59:40 +02:00
Emily Martins
22868525f4
proposal advancing simplified
2022-08-30 11:58:52 +02:00
Hongrui Fang
edee537ce2
type safe sorted votes/effects
2022-08-26 22:10:46 +08:00
Hongrui Fang
1c06389a19
ensure the uniqueness of ResultTag
2022-08-25 20:42:57 +08:00
Emily Martins
2c068d9b07
apply @chfanghr's suggestions
2022-08-23 15:58:58 +02:00
Emily Martins
f335bf98df
auth check tokens instead of effect validator
2022-08-23 12:34:24 +02:00
Hongrui Fang
e99e78437b
update benchmark
2022-08-18 00:20:26 +08:00
Emily Martins
44f3ddf00d
use Credential instead of PubKeyHash everywhere
2022-08-17 11:00:24 +02:00
Hongrui Fang
6d4fe92b30
test new functionalities in proposal advancements
2022-08-17 12:26:55 +08:00
Hongrui Fang
e220d25d8d
update benchmark
2022-08-15 21:42:32 +08:00
Hongrui Fang
47d9e69298
update benchmark
2022-08-12 05:01:36 +08:00
Hongrui Fang
f248dbab49
fix compilation errors
2022-08-12 04:56:19 +08:00
SeungheonOh
309c8775ed
use utilities from LPE
2022-08-03 23:46:15 +08:00
Hongrui Fang
95fd75399f
add pdjust and pdnothing
2022-07-26 22:37:35 +08:00
Hongrui Fang
53160efbeb
allows delegate to retract votes
2022-07-26 22:37:35 +08:00
Hongrui Fang
a355482fea
tests for delegate voting
2022-07-26 22:37:35 +08:00
Hongrui Fang
be1eabc261
simple tests for setting delegate
2022-07-26 22:37:35 +08:00
Hongrui Fang
2d6e8b4c4e
allow delegating stake for voting
2022-07-26 22:37:35 +08:00
Hongrui Fang
a6280b05a7
fix typos
2022-07-26 21:47:15 +08:00
Hongrui Fang
23cc230968
fix broken tests; utilizing new PCB APIs
2022-07-21 22:41:28 +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
f6cf4f01db
add withBuiltinPairAsData
2022-07-19 22:48:03 +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
3ec1645f5a
utilize pletAll wherever make sense
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
77894c0228
apply Emily's suggestions
...
* Comment on `validateOutputLocks`
* Assertion message rewording
* Some comment rewording
* Fix Typos
* Correct `PShow` instances, derive as much we can
* Remove redundant checks
2022-07-13 01:58:37 +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
f00cc62476
apply Emily's suggestions
2022-07-06 21:55:39 +08:00
Hongrui Fang
9c8d04dbc6
add tests for advancement from draft phrase; refactoring
2022-07-05 16:59:15 +08:00
Hongrui Fang
d433ab17d6
WitnessStake: accept multiple stakes at input
2022-07-05 07:53:56 +08:00