Commit graph

961 commits

Author SHA1 Message Date
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
Hongrui Fang
3059dbdb1c
filter SST by assetclass in governor 2022-10-31 21:32:06 +08:00
Hongrui Fang
5dca43f08d
add presolveStakeInputDatum 2022-10-31 21:32:04 +08:00
emiflake
7ea90750a5
Merge pull request #204 from Liqwid-Labs/emiflake/update-docs
Update docs
2022-10-31 14:09:45 +01:00
Emily Martins
ffd1c8c8ba apply formatting 2022-10-31 13:43:32 +01:00
Emily Martins
e9adfc6386 bump liqwid-nix to 1.1 2022-10-31 13:42:47 +01:00
Emily Martins
b9900f467f add PR template 2022-10-31 13:42:47 +01:00
Emily Martins
e59009a925 update CONTRIBUTING.md 2022-10-31 13:42:47 +01:00
emiflake
020693eac5
Merge pull request #203 from Liqwid-Labs/connor/fix-state-token-exploit
Fix SST exploit
2022-10-31 12:34:01 +01:00
Hongrui Fang
a72150442f
update benchmark 2022-10-31 18:11:50 +08:00