Commit graph

663 commits

Author SHA1 Message Date
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
Hongrui Fang
2d3f8f0463
improve readability of test code 2022-06-20 21:49:39 +08:00
Hongrui Fang
3b15fedc26
use PCB to simplify samples 2022-06-20 21:19:38 +08:00
Hongrui Fang
3ecb6a351d
fix some typo 2022-06-20 18:55:46 +08:00
Hongrui Fang
c49e623504
forgot to remove some upstreamed utils for some reason :) 2022-06-20 18:55:44 +08:00
Hongrui Fang
4ac80516c5
allow multiple proposals in the samples of unlocking stake 2022-06-20 18:54:44 +08:00
fanghr
feb3f2daaf
apply Emily's suggestions 2022-06-20 18:45:56 +08:00
fanghr
034e55c34f
add samples and tests for unlocking stakes 2022-06-20 18:45:05 +08:00
fanghr
a1c5d0e339
add validation logic for unlocking stakes 2022-06-20 18:38:27 +08:00
fanghr
edac5b6cf5
share stake check code among redeemers 2022-06-20 18:37:07 +08:00
Emily
477f297e68
Merge pull request #115 from Liqwid-Labs/seungheonoh/govSamplesToPCB
Samples to PCB
2022-06-17 23:12:23 +02:00
Seungheon Oh
e386cc5e75
Remove either error id pattern in Samples 2022-06-17 14:29:00 -05:00
Seungheon Oh
0bc5706770
governorDatumValid property 2022-06-17 13:39:18 -05:00
Seungheon Oh
50b89107ed
Moved samples to PCB
* Cleaner imports
2022-06-17 12:35:33 -05:00
方泓睿
96fbb24c29
Merge pull request #118 from Liqwid-Labs/connor/use-upstreamed-utils
Use upstreamed utilities
2022-06-17 21:24:41 +08:00
Hongrui Fang
240a53e6c2
update benchmark 2022-06-17 21:17:49 +08:00
Hongrui Fang
d6c78edc79
fix the broken test case 2022-06-17 21:16:29 +08:00
Hongrui Fang
b60cae3516
remove upstreamed utils; fix compilation errors 2022-06-17 21:16:29 +08:00
Hongrui Fang
bae30b7d4b
remove plutarch-extra from build dependencies 2022-06-17 21:16:29 +08:00
Hongrui Fang
72ecaae5fc
bump liqwid-plutarch-extra and plutarch-safe-money 2022-06-17 21:16:26 +08:00
Emily
68ebf16256
Merge pull request #120 from Liqwid-Labs/seungheonoh/renameProposalThreshold
`countingVote`,`create`,`startVoting` to `execute`,`create`,`vote`
2022-06-16 20:49:02 +02:00