Commit graph

970 commits

Author SHA1 Message Date
Hongrui Fang
cefc6740f0
fix bugs and vulnerabilities in premoveLocks 2022-11-24 21:06:59 +08:00
SeungheonOh
1fe39ae5a7
Merge pull request #211 from Liqwid-Labs/seungheonoh/updatepse
Update PSE
2022-11-23 09:39:26 -06:00
SeungheonOh
59fb5dc8ba
Merge branch 'staging' into seungheonoh/updatepse 2022-11-23 08:50:19 -06:00
Seungheon Oh
2969ef99c6 Update PSE 2022-11-22 17:55:16 -06:00
方泓睿
462a7579bf
Merge pull request #209 from Liqwid-Labs/connor/stake-op-cooldown 2022-11-22 20:15:09 +08:00
Hongrui Fang
74bb792624
fix docstrings
Co-authored-by: Emily Martins <emi@haskell.fyi>
2022-11-22 19:28:31 +08:00
Hongrui Fang
2dc08f8318
update benchmark 2022-11-21 18:05:47 +08:00
Hongrui Fang
7f6586e5a2
update changelog 2022-11-21 18:04:44 +08:00
Hongrui Fang
60b4ed9cf2
fix tests; add negative tests for unlocking in cooldown 2022-11-21 18:04:43 +08:00
Hongrui Fang
a462e6a3d3
implement cooldown period for stake unlocking 2022-11-21 18:04:35 +08:00
方泓睿
fadd6ca2da
Merge pull request #208 from Liqwid-Labs/connor/audit-fix
Address more issues raised by auditors
2022-11-21 18:00:04 +08:00
Hongrui Fang
01d0efc594
fix documentation; apply suggestions 2022-11-16 12:40:03 +08:00
Hongrui Fang
fdda162597
update benchmark 2022-11-16 12:36:32 +08:00
Hongrui Fang
ce875864ea
run linter 2022-11-16 12:36:31 +08:00
Hongrui Fang
ce98183237
remove redundant imports 2022-11-16 12:36:30 +08:00
Hongrui Fang
2898b54eaa
update changelog 2022-11-16 12:36:29 +08:00
Hongrui Fang
a7520a522a
handle staking credential transparently 2022-11-16 12:36:28 +08:00
Hongrui Fang
e382461bf2
ensure votes changed in VotingReady while calling UnlockStakes 2022-11-16 12:36:27 +08:00
Hongrui Fang
30a44483a1
disallow calling UnlockStake without any stake inputs 2022-11-16 12:36:26 +08:00
Hongrui Fang
f9a1e3b87f
improve doc string and naming as suggested by auditors 2022-11-16 12:36:25 +08:00
Hongrui Fang
eacec0a10b
disallow delegatee to create and cosign proposals 2022-11-16 12:36:24 +08:00
Hongrui Fang
1a7d704497
prevent minting multiple into one UTxO; regression tests 2022-11-16 12:36:23 +08:00
Hongrui Fang
86bcc78553
fix leftover strict inequality check 2022-11-16 12:36:22 +08:00
方泓睿
d0b155d315
fix a typo
Co-authored-by: emiflake <emily@liqwid.finance>
2022-11-16 12:36:21 +08:00
Hongrui Fang
85e7c1dda0
make it possible for delegatee to vote with delegated and own stakes 2022-11-16 12:36:20 +08:00
Hongrui Fang
ec9f6d3425
tag assetclasses and currency symbols 2022-11-16 12:36:20 +08:00
Peter Dragos
49b40c24a8
Merge pull request #207 from Liqwid-Labs/connor/bump-lpe
Bump LPE and PQC
2022-11-15 10:14:27 -05:00
Hongrui Fang
1680d0d21a
make fourmula happy 2022-11-12 00:30:35 +08:00
Hongrui Fang
b0a4c67822
make QC run more tests 2022-11-12 00:03:02 +08:00
Hongrui Fang
af17e4699d
run linter 2022-11-11 23:39:23 +08:00
adamczykm
e294db2847
Add after review fixes. 2022-11-11 23:36:19 +08:00
adamczykm
60432ab5ae
Bump benchmarks 2022-11-11 23:36:18 +08:00
adamczykm
dd33f60ed0
Implement governor mintint policy property tests. 2022-11-11 23:35:52 +08:00
adamczykm
5791e51739
Implement isGovernorDatumValid tests. 2022-11-11 23:35:51 +08:00
Hongrui Fang
6da4e7286d
fix compilation errors 2022-11-11 23:34:55 +08:00
Hongrui Fang
d921927a2f
bump lpe 2022-11-11 23:34:16 +08:00
方泓睿
626d4896de
Merge pull request #206 from Liqwid-Labs/connor/regression-tests
Add regression tests
2022-11-07 17:40:14 +08:00
Hongrui Fang
8f581f2060
fix syntax error in pr template 2022-11-02 00:48:14 +08:00
Hongrui Fang
d6e2f371ca
update benchmark 2022-11-02 00:48:13 +08:00
Hongrui Fang
afe7d8d399
test that invalid proposals cannot be created 2022-11-02 00:48:12 +08:00
Hongrui Fang
823ebc95a5
test that govenor will reject fake stakes 2022-11-02 00:48:11 +08:00
Hongrui Fang
2159ea7427
regression tests for SST exploit 2022-11-02 00:48:10 +08:00
Hongrui Fang
cc78dd8182
regression tests for unauthorized GAT minting exploit 2022-11-02 00:48:09 +08:00
Hongrui Fang
180a34b06c
regression tests for down voting with fake stakes 2022-11-02 00:48:08 +08:00
Hongrui Fang
e5e896d978
regression tests for proposal fast-forward attack 2022-11-02 00:48:07 +08:00
Hongrui Fang
891e261657
test that proposal thresholds are inclusively checked 2022-11-02 00:48:06 +08:00
方泓睿
b23e23da11
Merge pull request #205 from Liqwid-Labs/connor/audit-fix 2022-11-01 18:01:31 +08:00
Hongrui Fang
29c1d4c1cf
update changelog 2022-10-31 21:44:14 +08:00
Hongrui Fang
af81a59bb3
update benchmark 2022-10-31 21:44:13 +08:00
Hongrui Fang
b077dcc020
check governor redeemer while minting PST 2022-10-31 21:44:10 +08:00