Commit graph

947 commits

Author SHA1 Message Date
方泓睿
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
Hongrui Fang
b3dd152915
update changelog 2022-10-31 18:11:49 +08:00
Hongrui Fang
79ed5c6ca6
prevent minting SST while burning 2022-10-31 18:11:48 +08:00
Hongrui Fang
c671ea7fbf
improve efficiency of authorityTokenPolicy 2022-10-31 18:11:45 +08:00
colll78
b9bca9da3c
update changelog
Co-authored-by: Hongrui Fang <chfanghr@gmail.com>
2022-10-29 08:12:21 +08:00
colll78
1adb668598
update benchmark
Co-authored-by: Hongrui Fang <chfanghr@gmail.com>
2022-10-29 07:58:46 +08:00
colll78
323b2db0d3
disallow minting new GATs while burning
Co-authored-by: Hongrui Fang <chfanghr@gmail.com>
2022-10-29 07:57:29 +08:00
emiflake
db569f42ca
Merge pull request #200 from Liqwid-Labs/connor/audit-fix-proposal
Fix issues found in proposal and stake scripts
2022-10-28 19:53:58 +02:00
Hongrui Fang
97336d5c82
update changelog 2022-10-28 23:55:20 +08:00
Hongrui Fang
ae316b3887
update benchmark 2022-10-28 23:55:19 +08:00
Hongrui Fang
46ff6023e6
fix typos 2022-10-28 23:55:18 +08:00
Hongrui Fang
b19faa7cfe
correctly handle proposal time 2022-10-28 23:55:17 +08:00
Hongrui Fang
4dbccbc996
make stake validator operate only on its own stakes 2022-10-28 23:55:17 +08:00
Hongrui Fang
3fef9d221c
make sure all stakes are burnt while destroying stakes 2022-10-28 23:55:16 +08:00
Hongrui Fang
cbab587604
better doc string for authorityTokensValidIn 2022-10-28 23:55:15 +08:00