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
Seungheon Oh
fa77b809b8
rename/docstrings
2022-05-26 09:50:47 -05:00
Seungheon Oh
a74a98c206
CSV would be better than JSON
2022-05-26 09:50:46 -05:00
Seungheon Oh
5c438f0062
benchmarking
2022-05-26 09:50:46 -05:00
Seungheon Oh
424ad15894
agora-spec made independent from agora-test
2022-05-26 09:50:46 -05:00
Seungheon Oh
ff91432a68
Specs use generalized format so that it can be used for benchmarking
2022-05-26 09:50:43 -05:00
fanghr
a85b066a05
apply Emily's suggestions
...
* add `PMaxTimeRangeWidth`
* several `Default` instances for testing
* a bunch of docstrings
* fix the tests/samples
2022-05-25 21:07:09 +08:00
fanghr
55435d601f
fix broken tests/samples
2022-05-25 20:08:45 +08:00
方泓睿
4bffc1005d
Merge branch 'main' into connor/mutate-governor
2022-05-24 12:38:46 +08:00
Emily Martins
effbcd1d6b
add remaining scripts, export to json file, fix compile
2022-05-20 18:24:53 +02:00
Emily Martins
1ba5722409
init agora-scripts for generating ScriptInfo for CTL
2022-05-20 18:24:53 +02:00
fanghr
cdffbeffc9
add a property test for pupdate and updateMap
2022-05-20 21:50:58 +08:00
Emily Martins
b4b85e623f
add size benchmarking for scripts to agora-bench
2022-05-18 16:50:08 +02:00
fanghr
30cceb7910
add templates of tests and samples
2022-05-17 20:54:17 +08:00
fanghr
7c5c8d423a
move GovernorMutation effect to Effect
2022-05-17 20:54:12 +08:00
fanghr
5fc9c30d60
add an effect that mutates the governor settings
2022-05-17 20:54:04 +08:00
fanghr
06d4fcd428
add tests for pmsort, pmerge and phalve
2022-05-14 19:57:01 +08:00
fanghr
9d34b63309
test-deps already contains agora
2022-05-14 17:32:42 +08:00
fanghr
cbf14337ff
Merge branch 'master' into connor/governor
2022-05-14 00:40:26 +08:00