Commit graph

909 commits

Author SHA1 Message Date
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
方泓睿
386cdee9b3 Merge pull request #197 from Liqwid-Labs/connor/bump-lpe
Bump LPE
2022-10-26 22:06:28 +08:00
Hongrui Fang
8aa31053c2 update benchmark 2022-10-25 18:46:43 +08:00
Hongrui Fang
cac856f4eb use lpe's AssetClass; fix errors 2022-10-25 18:46:42 +08:00
Hongrui Fang
6ae1dcdb40 get rid of plutarch-safe-money; bump lpe 2022-10-25 18:46:35 +08:00
SeungheonOh
24bbdec349 Merge pull request #198 from Liqwid-Labs/seungheonoh/lse
Use `liqwid-script-export`
2022-10-19 20:16:30 -05:00
Seungheon Oh
4f5504d1d1 renamed shared sample 2022-10-19 19:39:46 -05:00
Seungheon Oh
6a0cfcd6ce expose AgoraScriptInfo 2022-10-18 21:54:34 -05:00
Seungheon Oh
735fa145e6 PStakeRedeemerHandler doesn't have to be closed 2022-10-18 21:28:11 -05:00
Seungheon Oh
16c0c15c58 preparing for agora-pro 2022-10-18 20:50:05 -05:00
Seungheon Oh
a098012d59 AgoraScriptInfo for linker informations 2022-10-18 19:36:55 -05:00
Seungheon Oh
275d3a5b69 Use liqwid-script-export
commit ec70bfd539fe2e27fd48f5f76395400287ac72d7
Author: Seungheon Oh <seungheon.ooh@gmail.com>
Date:   Tue Oct 18 18:58:59 2022 -0500

    use LSE

commit 25fff9b3ad1f2dde4cd7cf36977530b06a87d23c
Merge: 01cd3aa a5567ea
Author: Seungheon Oh <seungheon.ooh@gmail.com>
Date:   Tue Oct 18 18:17:45 2022 -0500

    Merge branch 'staging' into seungheonoh/ply

commit 01cd3aa7a235e6fe6658246ca1026fa26dc71a83
Author: Hongrui Fang <chfanghr@gmail.com>
Date:   Tue Oct 11 12:02:03 2022 +0800

    update benchmark

commit a8513244892ce33cfdc9edf8cd501c4985ae8008
Author: Hongrui Fang <chfanghr@gmail.com>
Date:   Tue Oct 11 11:59:22 2022 +0800

    fix tests

commit 20ca40823485c2e2f78253643cf4453ac7b7ddd5
Author: Hongrui Fang <chfanghr@gmail.com>
Date:   Tue Oct 11 11:57:37 2022 +0800

    better import

commit a19fe49424210891bd03db71e4083fc1e0edfd98
Author: Hongrui Fang <chfanghr@gmail.com>
Date:   Tue Oct 11 11:08:20 2022 +0800

    update flake inputs

commit c93b21f1f9441e5c6f54525bf7c6a54757ec36cc
Author: Seungheon Oh <seungheon.ooh@gmail.com>
Date:   Mon Oct 10 12:54:12 2022 -0500

    tried to make tests pass

commit 1046ae1237299a33c58b48661bdb6d325a22147e
Merge: 2bf4e36 e2bd48b
Author: Seungheon Oh <seungheon.ooh@gmail.com>
Date:   Mon Oct 10 12:18:48 2022 -0500

    Merge branch 'staging' into seungheonoh/ply

commit 2bf4e3627c1b229f58078695082da85c80efd560
Author: Seungheon Oh <seungheon.ooh@gmail.com>
Date:   Mon Oct 10 10:48:36 2022 -0500

    remove junkpile

commit a1dbc9ad9e531fe0d0a0480c4aef9cf9ffa90f1d
Author: Seungheon Oh <seungheon.ooh@gmail.com>
Date:   Mon Oct 10 10:47:25 2022 -0500

    versions

commit 4542a06ac733858297d3a48c53368fad19dedc43
Author: Seungheon Oh <seungheon.ooh@gmail.com>
Date:   Thu Oct 6 22:57:48 2022 -0500

    script exporting interface

commit 6bd8c1a1d57e4bf9dc25c3068a9c8eae6bf6a19d
Author: Seungheon Oh <seungheon.ooh@gmail.com>
Date:   Thu Oct 6 22:58:41 2022 -0500

    fixed tests

commit d3ce2cf95633d336f3e621833677bd5bf10ee2c8
Author: Seungheon Oh <seungheon.ooh@gmail.com>
Date:   Sun Oct 2 00:55:18 2022 -0500

    fixed tests

commit 1ae64c9f692652b77b0506013853b2ba44267c65
Author: Seungheon Oh <seungheon.ooh@gmail.com>
Date:   Sat Oct 1 13:28:20 2022 -0500

    linker

commit db88cb75c7b74843141ad8ab4e6522b66d0dcfbc
Author: Seungheon Oh <seungheon.ooh@gmail.com>
Date:   Sat Oct 1 01:03:50 2022 -0500

    exporting scripts

commit 6389fce28e885a8a7f8669629c266f59c0edb51f
Author: Seungheon Oh <seungheon.ooh@gmail.com>
Date:   Sat Oct 1 00:51:49 2022 -0500

    made scripts parameterized on the script level

commit aea1e518a8890550bdebd0e5251da11d915c53a9
Author: Seungheon Oh <seungheon.ooh@gmail.com>
Date:   Wed Sep 28 19:53:29 2022 -0500

    Use `TypedScriptEnvelope` for `Agora.Bootstrap`
2022-10-18 19:02:10 -05:00
emiflake
a5567eaa5e Merge pull request #195 from Liqwid-Labs/connor/audit-fix
Fix vulnerabilities of staking components found by the audit team
2022-10-18 14:44:14 +02:00
Hongrui Fang
8ca6cb4dbd update changelog 2022-10-18 16:49:58 +08:00
Hongrui Fang
2403f6d60b update benchmark 2022-10-18 16:49:56 +08:00
Hongrui Fang
57ed91afb8 allow multiple stakes to be burnt 2022-10-18 16:49:26 +08:00
Hongrui Fang
7c6359f7c6 prevent privilege escalation 2022-10-17 12:35:39 +02:00
Hongrui Fang
eee2ce52b5 filter stake UTxO by ScriptCredential 2022-10-17 12:35:39 +02:00
Hongrui Fang
3fda333ec5 prevent sst from leaving stake validator 2022-10-17 12:35:39 +02:00
emiflake
2d995993d7 Merge pull request #196 from Liqwid-Labs/adamczykm/typo
Fix a typo.
2022-10-17 12:01:34 +02:00
adamczykm
b793c2395e Fix a typo. 2022-10-17 11:41:03 +02:00
Peter Dragos
ba2ef9041e Update README.md 2022-10-14 16:09:43 -04:00
方泓睿
d6f27ac1fd Merge pull request #183 from Liqwid-Labs/connor/cleanup/effects
Clean up code of example effects
2022-10-12 00:51:59 +08:00
Hongrui Fang
752b59dd33 update benchmark 2022-10-12 00:15:37 +08:00
Hongrui Fang
5ee084308b remove redundant import Prelude 2022-10-12 00:15:36 +08:00