Emily Martins
519eed07b6
update command line options
2022-06-29 10:44:33 +02:00
Emily Martins
bc501f291c
use Capture to make API more neat, update bench
2022-06-28 21:17:44 +02:00
Emily Martins
910416f4ab
add better server error messages, cbor vs raw hex
2022-06-28 21:13:56 +02:00
Emily Martins
a7ed7989f1
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
c7869fe701
format and fix Werror compile error
2022-06-28 21:13:56 +02:00
Emily Martins
6a4b945375
add granular script querying support
2022-06-28 21:13:56 +02:00
Emily Martins
bea444f7d6
create initial POC script generating API
2022-06-28 21:13:56 +02:00
Emily Martins
33cb76079f
init servant-based API for script exporting
2022-06-28 21:13:56 +02:00
Emily
bbbb6ecc6b
Merge pull request #128 from Liqwid-Labs/connor/enum-opt
...
Optimize scripts using `Plutarch.Extra.IsData`
2022-06-28 21:10:11 +02:00
Hongrui Fang
f30b75cc4e
efficiently encode proposal datum on chain
2022-06-28 22:41:06 +08:00
Hongrui Fang
962d40d93f
apply Emily's suggestions
2022-06-28 22:41:06 +08:00
Hongrui Fang
516f6bacda
encode some enum types as integer on chain
2022-06-28 22:41:05 +08:00
Hongrui Fang
6fe5e2b78a
bump liqwid-plutarch-extra
2022-06-28 22:41:05 +08:00
Seungheon Oh
dedcc0dcbc
Restore GH actions as Hydra fails
2022-06-28 09:06:30 -05:00
Emily
f01351f952
Merge pull request #135 from Liqwid-Labs/emiflake/backport-134
...
Backport #134
2022-06-28 12:43:18 +02:00
Emily
8f60a07faa
Merge branch 'staging' into emiflake/backport-134
2022-06-28 12:42:51 +02:00
方泓睿
567ee70eee
Merge pull request #134 from Liqwid-Labs/connor/hot-fix
...
Check the votes threshold while advancing from `VotingReady`to `Locked`
2022-06-28 18:38:19 +08:00
Hongrui Fang
5ce76885fc
fix broken test cases
2022-06-28 18:31:54 +08:00
Hongrui Fang
89e9196983
fix threshold check (VotingReady -> Locked)
2022-06-28 17:48:11 +08:00
Hongrui Fang
435050f204
create credentials using blake2b_224
...
datum hash should be 256 bits(32 bytes)
2022-06-28 17:25:13 +08:00
Seungheon Oh
69db63185e
Hydra
2022-06-27 14:57:14 -05:00
Seungheon Oh
6fd20816a6
Hydra
2022-06-27 14:46:02 -05:00
Emily
74c82de189
Merge pull request #127 from Liqwid-Labs/connor/pletFieldsC
...
Replace all `tcont $ pletFields` with `pletFieldsC`
2022-06-23 14:10:25 +02:00
Hongrui Fang
2ab6c180b7
replace all tcont $ pletFields with pletFieldsC
...
and all `tcont $ ptryFrom` with `ptryFromC`
2022-06-23 18:40:41 +08:00
Emily
54cad6b915
Merge pull request #125 from Liqwid-Labs/staging
...
Release 0.1.0
2022-06-22 22:02:28 +02:00
Emily Martins
f048f9f5c0
remove agora-scripts.json file
2022-06-22 21:57:26 +02:00
Emily Martins
0f48870f89
update bench.csv
2022-06-22 21:57:26 +02:00
Emily Martins
84f124a8b6
fix Agora's PTryFrom instances through orphans
2022-06-22 21:57:26 +02:00
Emily Martins
58cdfa4545
rid ourselves of old component docs
2022-06-22 21:57:26 +02:00
Emily Martins
c9ec0d05c4
add @since tags to everything
2022-06-22 21:57:26 +02:00
Emily Martins
9f98653ca6
remove purescript-bridge generated files
2022-06-22 21:57:25 +02:00
Emily
b354145116
Merge pull request #123 from Liqwid-Labs/seungheonoh/governorProperties
...
Governor policy property
2022-06-22 21:32:22 +02:00
Seungheon Oh
4d6f8154a5
Governor policy property
2022-06-22 11:53:32 -05:00
SeungheonOh
b9b78271a3
Merge pull request #122 from Liqwid-Labs/connor/lf-bench
...
Use LF as record separator in bench.csv
2022-06-21 12:23:00 -04:00
Hongrui Fang
ff4f6aadb4
use LF as record separator in bench.csv
2022-06-22 00:14:37 +08:00
方泓睿
25686e9645
Merge pull request #110 from Liqwid-Labs/connor/retract-votes
...
Retract votes
2022-06-20 21:54:13 +08:00
Hongrui Fang
1508bcb5b9
improve readability of test code
2022-06-20 21:49:39 +08:00
Hongrui Fang
fb061de36b
use PCB to simplify samples
2022-06-20 21:19:38 +08:00
Hongrui Fang
2f46594fe7
fix some typo
2022-06-20 18:55:46 +08:00
Hongrui Fang
dd2fae059f
forgot to remove some upstreamed utils for some reason :)
2022-06-20 18:55:44 +08:00
Hongrui Fang
36a558bf30
allow multiple proposals in the samples of unlocking stake
2022-06-20 18:54:44 +08:00
fanghr
76a9cf79ba
apply Emily's suggestions
2022-06-20 18:45:56 +08:00
fanghr
8f9d9521c2
add samples and tests for unlocking stakes
2022-06-20 18:45:05 +08:00
fanghr
9b88d5c099
add validation logic for unlocking stakes
2022-06-20 18:38:27 +08:00
fanghr
13dff0db43
share stake check code among redeemers
2022-06-20 18:37:07 +08:00
Emily
e745a051ce
Merge pull request #115 from Liqwid-Labs/seungheonoh/govSamplesToPCB
...
Samples to PCB
2022-06-17 23:12:23 +02:00
Seungheon Oh
a8699bf992
Remove either error id pattern in Samples
2022-06-17 14:29:00 -05:00
Seungheon Oh
071a6ca7cc
governorDatumValid property
2022-06-17 13:39:18 -05:00
Seungheon Oh
e037f3f5f0
Moved samples to PCB
...
* Cleaner imports
2022-06-17 12:35:33 -05:00
方泓睿
2d9bf1733e
Merge pull request #118 from Liqwid-Labs/connor/use-upstreamed-utils
...
Use upstreamed utilities
2022-06-17 21:24:41 +08:00