Commit graph

933 commits

Author SHA1 Message Date
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
Hongrui Fang
9aa8557183
rename proposal redeemer Unlock to UnlockStake 2022-10-28 23:55:14 +08:00
Hongrui Fang
3238335cdb
check thresholds inclusively 2022-10-28 23:55:13 +08:00
emiflake
f6fe01910a
Merge pull request #201 from Liqwid-Labs/t4/fix-flake-lock 2022-10-28 16:01:51 +02:00
Tomasz Maciosowski
79255d6b91
Merge branch 'staging' into t4/fix-flake-lock 2022-10-27 09:13:47 -06:00
方泓睿
bdcdc3414c
Merge pull request #199 from Liqwid-Labs/connor/audit-fix
Tests for Staking Components
2022-10-27 20:21:23 +08:00
Hongrui Fang
229a860aa8
update changelog 2022-10-27 19:20:38 +08:00
t4ccer
b81c9d3037
Align dependencies 2022-10-26 13:09:16 -06:00
t4ccer
e8888da223
Reduce nix inputs 2022-10-26 10:09:57 -06:00
Hongrui Fang
bdd682388b
update benchmark 2022-10-26 22:15:03 +08:00
Hongrui Fang
a51595cd1e
regression tests for privilege escalation while voting 2022-10-26 22:15:02 +08:00
Hongrui Fang
6742e52030
remove redundant unlock check from stake policy 2022-10-26 22:15:01 +08:00
Hongrui Fang
044fba702b
tests for destroying stakes 2022-10-26 22:15:00 +08:00
Hongrui Fang
0aedf36f62
remove outdated test cases 2022-10-26 22:14:59 +08:00
Hongrui Fang
eba25adbf7
tests for creating stakes 2022-10-26 22:14:58 +08:00