Commit graph

956 commits

Author SHA1 Message Date
Hongrui Fang
3c10617244 remove redundant imports 2022-11-16 12:36:30 +08:00
Hongrui Fang
7dfd7373e1 update changelog 2022-11-16 12:36:29 +08:00
Hongrui Fang
9e149c7561 handle staking credential transparently 2022-11-16 12:36:28 +08:00
Hongrui Fang
0d0e122bd2 ensure votes changed in VotingReady while calling UnlockStakes 2022-11-16 12:36:27 +08:00
Hongrui Fang
431092fb1c disallow calling UnlockStake without any stake inputs 2022-11-16 12:36:26 +08:00
Hongrui Fang
ae72d0ae6d improve doc string and naming as suggested by auditors 2022-11-16 12:36:25 +08:00
Hongrui Fang
7c3d66f365 disallow delegatee to create and cosign proposals 2022-11-16 12:36:24 +08:00
Hongrui Fang
287054d95e prevent minting multiple into one UTxO; regression tests 2022-11-16 12:36:23 +08:00
Hongrui Fang
0eacf1f6f2 fix leftover strict inequality check 2022-11-16 12:36:22 +08:00
方泓睿
a23afda3f5 fix a typo
Co-authored-by: emiflake <emily@liqwid.finance>
2022-11-16 12:36:21 +08:00
Hongrui Fang
3eb71a55a3 make it possible for delegatee to vote with delegated and own stakes 2022-11-16 12:36:20 +08:00
Hongrui Fang
a0946a8dbc tag assetclasses and currency symbols 2022-11-16 12:36:20 +08:00
Peter Dragos
e5fb851510 Merge pull request #207 from Liqwid-Labs/connor/bump-lpe
Bump LPE and PQC
2022-11-15 10:14:27 -05:00
Hongrui Fang
089589ed3c make fourmula happy 2022-11-12 00:30:35 +08:00
Hongrui Fang
7056644bd7 make QC run more tests 2022-11-12 00:03:02 +08:00
Hongrui Fang
bcb147a716 run linter 2022-11-11 23:39:23 +08:00
adamczykm
ec824b19f9 Add after review fixes. 2022-11-11 23:36:19 +08:00
adamczykm
2973d60456 Bump benchmarks 2022-11-11 23:36:18 +08:00
adamczykm
463106b0cf Implement governor mintint policy property tests. 2022-11-11 23:35:52 +08:00
adamczykm
740e1416fb Implement isGovernorDatumValid tests. 2022-11-11 23:35:51 +08:00
Hongrui Fang
ff4619dd94 fix compilation errors 2022-11-11 23:34:55 +08:00
Hongrui Fang
80cc790bff bump lpe 2022-11-11 23:34:16 +08:00
方泓睿
fa9b1a88fb Merge pull request #206 from Liqwid-Labs/connor/regression-tests
Add regression tests
2022-11-07 17:40:14 +08:00
Hongrui Fang
251dc549d1 fix syntax error in pr template 2022-11-02 00:48:14 +08:00
Hongrui Fang
a5706fa3e0 update benchmark 2022-11-02 00:48:13 +08:00
Hongrui Fang
5fc8a188a0 test that invalid proposals cannot be created 2022-11-02 00:48:12 +08:00
Hongrui Fang
996797995a test that govenor will reject fake stakes 2022-11-02 00:48:11 +08:00
Hongrui Fang
7f80db7af5 regression tests for SST exploit 2022-11-02 00:48:10 +08:00
Hongrui Fang
93700ecf39 regression tests for unauthorized GAT minting exploit 2022-11-02 00:48:09 +08:00
Hongrui Fang
e9e1502138 regression tests for down voting with fake stakes 2022-11-02 00:48:08 +08:00
Hongrui Fang
a200f4ee20 regression tests for proposal fast-forward attack 2022-11-02 00:48:07 +08:00
Hongrui Fang
25ae7ce820 test that proposal thresholds are inclusively checked 2022-11-02 00:48:06 +08:00
方泓睿
f6298ba839 Merge pull request #205 from Liqwid-Labs/connor/audit-fix 2022-11-01 18:01:31 +08:00
Hongrui Fang
0047048168 update changelog 2022-10-31 21:44:14 +08:00
Hongrui Fang
1aefcf3f14 update benchmark 2022-10-31 21:44:13 +08:00
Hongrui Fang
2e09e7921d check governor redeemer while minting PST 2022-10-31 21:44:10 +08:00
Hongrui Fang
007a116d15 filter SST by assetclass in governor 2022-10-31 21:32:06 +08:00
Hongrui Fang
9fe8448711 add presolveStakeInputDatum 2022-10-31 21:32:04 +08:00
emiflake
9a9f6d0642 Merge pull request #204 from Liqwid-Labs/emiflake/update-docs
Update docs
2022-10-31 14:09:45 +01:00
Emily Martins
914098655d apply formatting 2022-10-31 13:43:32 +01:00
Emily Martins
bf8290be46 bump liqwid-nix to 1.1 2022-10-31 13:42:47 +01:00
Emily Martins
c269af8caf add PR template 2022-10-31 13:42:47 +01:00
Emily Martins
d36bb64238 update CONTRIBUTING.md 2022-10-31 13:42:47 +01:00
emiflake
77fa452426 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
5ff4ab5117 update benchmark 2022-10-31 18:11:50 +08:00
Hongrui Fang
3cfb163ed5 update changelog 2022-10-31 18:11:49 +08:00
Hongrui Fang
621d98ddd6 prevent minting SST while burning 2022-10-31 18:11:48 +08:00
Hongrui Fang
4fbd4b98f1 improve efficiency of authorityTokenPolicy 2022-10-31 18:11:45 +08:00
colll78
c4db658afb update changelog
Co-authored-by: Hongrui Fang <chfanghr@gmail.com>
2022-10-29 08:12:21 +08:00
colll78
e2d240aaed update benchmark
Co-authored-by: Hongrui Fang <chfanghr@gmail.com>
2022-10-29 07:58:46 +08:00