Commit graph

733 commits

Author SHA1 Message Date
Hongrui Fang
9c8d04dbc6
add tests for advancement from draft phrase; refactoring 2022-07-05 16:59:15 +08:00
Hongrui Fang
d433ab17d6
WitnessStake: accept multiple stakes at input 2022-07-05 07:53:56 +08:00
Hongrui Fang
ae0e78976a
check cosign stakes while advancing from draft 2022-07-05 07:53:29 +08:00
Hongrui Fang
95410ce254
partially fix cosigning logic; improve performance 2022-07-02 21:03:41 +08:00
Hongrui Fang
a293f7acc3
enable -Wunused-do-bind 2022-07-02 21:03:41 +08:00
Emily
f643024665
Merge pull request #140 from Liqwid-Labs/emiflake/add-support-channel-info
add Discord link to README
2022-06-30 18:07:11 +02:00
Emily Martins
9ef0e6e87c add Discord link to README 2022-06-30 18:06:46 +02:00
Emily
9fce93829b
Merge pull request #139 from Liqwid-Labs/emiflake/use-pse
Use `plutarch-script-export` library
2022-06-30 18:01:58 +02:00
Emily Martins
835e04e049 use plutarch-script-export library 2022-06-30 16:52:23 +02:00
方泓睿
1533da68ec
Merge pull request #138 from Liqwid-Labs/connor/improve-script-size
Fix script size/performance regression introduced by `ProductIsData`
2022-06-29 19:21:31 +08:00
fanghr
cd4179d854
update Makefile 2022-06-29 19:16:02 +08:00
Hongrui Fang
6d27bf0270
encode ProposalThresholds/ProposalTimingConfig normally 2022-06-29 19:12:30 +08:00
Emily
d317a8850c
Merge pull request #129 from Liqwid-Labs/emiflake/scripts-api
Scripts HTTP API
2022-06-29 12:25:01 +02:00
Emily Martins
a2f849441f add agora-scripts explainer in README.md 2022-06-29 11:36:13 +02:00
Emily Martins
be1fd594b6 update command line options 2022-06-29 10:44:33 +02:00
Emily Martins
8ce030cf24 use Capture to make API more neat, update bench 2022-06-28 21:17:44 +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
Emily
bd790fa622
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
4d7e323e01
efficiently encode proposal datum on chain 2022-06-28 22:41:06 +08:00
Hongrui Fang
f26442fb0b
apply Emily's suggestions 2022-06-28 22:41:06 +08:00
Hongrui Fang
e428b504d7
encode some enum types as integer on chain 2022-06-28 22:41:05 +08:00
Hongrui Fang
e86ae1246a
bump liqwid-plutarch-extra 2022-06-28 22:41:05 +08:00
Seungheon Oh
3a62b96248 Restore GH actions as Hydra fails 2022-06-28 09:06:30 -05:00
Emily
21825dc897
Merge pull request #135 from Liqwid-Labs/emiflake/backport-134
Backport #134
2022-06-28 12:43:18 +02:00
Emily
1d11a29a50
Merge branch 'staging' into emiflake/backport-134 2022-06-28 12:42:51 +02:00
方泓睿
87b1094272
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
9852d2791a
fix broken test cases 2022-06-28 18:31:54 +08:00
Hongrui Fang
0258a72170
fix threshold check (VotingReady -> Locked) 2022-06-28 17:48:11 +08: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
Seungheon Oh
01e4222026 Hydra 2022-06-27 14:57:14 -05:00
Seungheon Oh
c1e0e01d6c Hydra 2022-06-27 14:46:02 -05:00
Emily
eb5951657f
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
cdda68332a
replace all tcont $ pletFields with pletFieldsC
and all `tcont $ ptryFrom` with `ptryFromC`
2022-06-23 18:40:41 +08:00
Emily
ec36891852
Merge pull request #125 from Liqwid-Labs/staging
Release 0.1.0
2022-06-22 22:02:28 +02:00
Emily Martins
b54cb893c3 remove agora-scripts.json file 2022-06-22 21:57:26 +02:00
Emily Martins
9297cd4c9f update bench.csv 2022-06-22 21:57:26 +02:00
Emily Martins
f48027f353 fix Agora's PTryFrom instances through orphans 2022-06-22 21:57:26 +02:00
Emily Martins
f6f061a344 rid ourselves of old component docs 2022-06-22 21:57:26 +02:00
Emily Martins
77401ad0a7 add @since tags to everything 2022-06-22 21:57:26 +02:00
Emily Martins
58c0896bb6 remove purescript-bridge generated files 2022-06-22 21:57:25 +02:00
Emily
fecd84848d
Merge pull request #123 from Liqwid-Labs/seungheonoh/governorProperties
Governor policy property
2022-06-22 21:32:22 +02:00
Seungheon Oh
54b99ff5c1
Governor policy property 2022-06-22 11:53:32 -05:00
SeungheonOh
0454aa3225
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
5cd8d0c51f
use LF as record separator in bench.csv 2022-06-22 00:14:37 +08:00
方泓睿
e84edb0955
Merge pull request #110 from Liqwid-Labs/connor/retract-votes
Retract votes
2022-06-20 21:54:13 +08:00