Commit graph

933 commits

Author SHA1 Message Date
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
colll78
ed6242d2c8 disallow minting new GATs while burning
Co-authored-by: Hongrui Fang <chfanghr@gmail.com>
2022-10-29 07:57:29 +08:00
emiflake
a1daf34739 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
ad55e6f7c5 update changelog 2022-10-28 23:55:20 +08:00
Hongrui Fang
ed64138e18 update benchmark 2022-10-28 23:55:19 +08:00
Hongrui Fang
2a2244b08a fix typos 2022-10-28 23:55:18 +08:00
Hongrui Fang
db15b4c218 correctly handle proposal time 2022-10-28 23:55:17 +08:00
Hongrui Fang
d0f3162fdc make stake validator operate only on its own stakes 2022-10-28 23:55:17 +08:00
Hongrui Fang
e3143629fd make sure all stakes are burnt while destroying stakes 2022-10-28 23:55:16 +08:00
Hongrui Fang
82bf20c5c1 better doc string for authorityTokensValidIn 2022-10-28 23:55:15 +08:00
Hongrui Fang
cd3ccfe350 rename proposal redeemer Unlock to UnlockStake 2022-10-28 23:55:14 +08:00
Hongrui Fang
85fa6c81da check thresholds inclusively 2022-10-28 23:55:13 +08:00
emiflake
6507d869f3 Merge pull request #201 from Liqwid-Labs/t4/fix-flake-lock 2022-10-28 16:01:51 +02:00
Tomasz Maciosowski
81030dfbd6 Merge branch 'staging' into t4/fix-flake-lock 2022-10-27 09:13:47 -06:00
方泓睿
f4c5faeb56 Merge pull request #199 from Liqwid-Labs/connor/audit-fix
Tests for Staking Components
2022-10-27 20:21:23 +08:00
Hongrui Fang
cccf77e18b update changelog 2022-10-27 19:20:38 +08:00
t4ccer
fbb27a18c7 Align dependencies 2022-10-26 13:09:16 -06:00
t4ccer
211d810541 Reduce nix inputs 2022-10-26 10:09:57 -06:00
Hongrui Fang
fc8094c32f update benchmark 2022-10-26 22:15:03 +08:00
Hongrui Fang
372ab5baa8 regression tests for privilege escalation while voting 2022-10-26 22:15:02 +08:00
Hongrui Fang
52ea8115e3 remove redundant unlock check from stake policy 2022-10-26 22:15:01 +08:00
Hongrui Fang
561cc6c378 tests for destroying stakes 2022-10-26 22:15:00 +08:00
Hongrui Fang
1557067b76 remove outdated test cases 2022-10-26 22:14:59 +08:00
Hongrui Fang
20497fcfe3 tests for creating stakes 2022-10-26 22:14:58 +08:00