Emily Martins
0cb45dbd76
bump liqwid-nix to 2.2.0
2023-01-06 17:18:58 +01:00
Seungheon Oh
ef86f8a917
Use latest LPE
2022-12-08 17:41:00 +01:00
adamczykm
5791e51739
Implement isGovernorDatumValid tests.
2022-11-11 23:35:51 +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
Tomasz Maciosowski
79255d6b91
Merge branch 'staging' into t4/fix-flake-lock
2022-10-27 09:13:47 -06:00
t4ccer
b81c9d3037
Align dependencies
2022-10-26 13:09:16 -06:00
Hongrui Fang
a51595cd1e
regression tests for privilege escalation while voting
2022-10-26 22:15:02 +08:00
Hongrui Fang
044fba702b
tests for destroying stakes
2022-10-26 22:15:00 +08:00
Hongrui Fang
eba25adbf7
tests for creating stakes
2022-10-26 22:14:58 +08:00
Hongrui Fang
25c6d9a1ae
get rid of plutarch-safe-money; bump lpe
2022-10-25 18:46:35 +08:00
Seungheon Oh
d2018afd4d
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 1821dd6
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 363bd83
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
Hongrui Fang
77414b86c4
fix sample tests for unlocking stakes
2022-10-03 17:20:42 +08:00
adamczykm
5ebdc04498
Bump LPE and update use sites.
2022-09-26 13:18:59 +02:00
Emily Martins
e3eab7de7e
add NoFieldSelectors flag globally
2022-09-17 15:18:01 +02:00
Hongrui Fang
01cacc9721
standalone stake redeemers
2022-09-13 22:21:18 +08:00
Emily Martins
44f3ddf00d
use Credential instead of PubKeyHash everywhere
2022-08-17 11:00:24 +02:00
Emily Martins
a6ad4c7f5f
bump version in agora.cabal
2022-08-13 15:02:43 +02:00
Hongrui Fang
91f7118ec3
parameterize scripts over AgoraScripts
2022-08-12 05:01:34 +08:00
Seungheon Oh
3af4a7438a
remove Agora.MultiSig
2022-08-03 23:42:21 +08:00
Hongrui Fang
be1eabc261
simple tests for setting delegate
2022-07-26 22:37:35 +08:00
Hongrui Fang
38654da80a
get rid of Sample.Governor
2022-07-21 22:41:27 +08:00
Hongrui Fang
eb407b98c4
add tests for governor mutation
2022-07-21 22:41:22 +08:00
Hongrui Fang
51c4955a37
add tests for minting GST
2022-07-19 22:48:02 +08:00
Hongrui Fang
f0d0188812
add new tests for creating proposals
2022-07-11 23:47:29 +08:00
Hongrui Fang
9c8d04dbc6
add tests for advancement from draft phrase; refactoring
2022-07-05 16:59:15 +08:00
Hongrui Fang
a293f7acc3
enable -Wunused-do-bind
2022-07-02 21:03:41 +08:00
Emily Martins
835e04e049
use plutarch-script-export library
2022-06-30 16:52:23 +02:00
Emily Martins
6a7e8369fd
add better server error messages, cbor vs raw hex
2022-06-28 21:13:56 +02:00
Emily Martins
a5765a355d
restructure agora-scripts modules
...
In order to allow reusing this code in the future, I've made it so that
Agora-specific code all lives in `Main`, and everything else lives in
`ScriptExport` or other non-Agora modules.
2022-06-28 21:13:56 +02:00
Emily Martins
7466901875
format and fix Werror compile error
2022-06-28 21:13:56 +02:00
Emily Martins
5f2d191ae7
add granular script querying support
2022-06-28 21:13:56 +02:00
Emily Martins
e862de7e59
create initial POC script generating API
2022-06-28 21:13:56 +02:00
Emily Martins
564b1c4e66
init servant-based API for script exporting
2022-06-28 21:13:56 +02:00
Hongrui Fang
7832910e94
create credentials using blake2b_224
...
datum hash should be 256 bits(32 bytes)
2022-06-28 17:25:13 +08:00
Emily Martins
f48027f353
fix Agora's PTryFrom instances through orphans
2022-06-22 21:57:26 +02:00
Emily Martins
77401ad0a7
add @since tags to everything
2022-06-22 21:57:26 +02:00
Hongrui Fang
4ac80516c5
allow multiple proposals in the samples of unlocking stake
2022-06-20 18:54:44 +08:00
Seungheon Oh
0bc5706770
governorDatumValid property
2022-06-17 13:39:18 -05:00
Hongrui Fang
bae30b7d4b
remove plutarch-extra from build dependencies
2022-06-17 21:16:29 +08:00
Hongrui Fang
b7cf29c4fc
export commit hash/branch along side with scripts
2022-06-16 20:50:18 +08:00
Emily Martins
ad9da8e6b3
flake: bump plutarch, fix resulting issues
...
Collection of things fixed:
- `agora-test`: Fix compile resulting from some changes to hackage.
- `agora-benchmark`: Switched to `plutarch`-style `evalScript`.
- CI: Ported over new flake changes.
This is quite a mess.
2022-06-03 23:23:00 +02:00
Seungheon Oh
c260254cae
Removed Apropos
2022-05-31 12:32:12 -05:00
Seungheon Oh
fa5bb7eec2
Replaced Apropos Property testing with PQ and PCB for MultiSig
2022-05-31 12:09:19 -05:00
Seungheon Oh
b1a323afaa
Restructure
...
`agora-spec` and `agora-spec` is merged to be `agora-specs`;
`agora-testlib` contains what previously was `Spec.Specification`.
2022-05-30 13:30:25 -05:00
Seungheon Oh
20e4f56e10
Moved Agora.Record to Plutarch.Extra.Record
...
Since `Agora.Record` provides a general utility for easy construction
of Plutarch record types, they can be moved to `liqwid-plutarch-extra`
to be used abroad.
2022-05-30 09:02:07 -05:00
Seungheon Oh
d7a235f010
CI using deploy keys of plutarch-*
...
Simplified workflow using `strategy.matrix`
2022-05-27 13:54:33 -05:00
Seungheon Oh
55defea912
Use Liqwid-Labs/plutarch
...
- Removed `Utils.Value` -- not being used/better is provided with
liqwid-plutarch-extra
- uses `Liqwid-Labs/plutarch`
- uses `Liqwid-Labs/plutarch-numeric`
- uses `Liqwid-Labs/plutarch-safemoney`
- uses `Liqwid-Labs/liqwid-plutarch-extra`
2022-05-27 13:43:55 -05:00
fanghr
bbc9953b9a
allow saving the bench report to an arbitrary location
2022-05-27 04:45:48 +08:00
Seungheon Oh
cde96df6a3
removed redundant codes
2022-05-26 09:50:47 -05:00