Commit graph

714 commits

Author SHA1 Message Date
Hongrui Fang
8d7da3df6c fix typos 2022-07-26 21:47:15 +08:00
Hongrui Fang
e4f6890ac1 add docstrings for some crucial test facilities 2022-07-22 21:15:09 +08:00
Hongrui Fang
e881f69c99 fix broken tests; utilizing new PCB APIs 2022-07-21 22:41:28 +08:00
Hongrui Fang
3c482cc348 bump PCB 2022-07-21 22:41:28 +08:00
Hongrui Fang
b61fb203b2 get rid of Sample.Governor 2022-07-21 22:41:27 +08:00
Hongrui Fang
fa25ca21a2 add tests for governor mutation 2022-07-21 22:41:22 +08:00
Hongrui Fang
558313e213 add tests for GAT minting
no more propsoal T_T
2022-07-21 22:29:18 +08:00
Hongrui Fang
2098de2d9c add withBuiltinPairAsData 2022-07-19 22:48:03 +08:00
Hongrui Fang
eba58106f3 add tests for minting GST 2022-07-19 22:48:02 +08:00
Hongrui Fang
7c3825ceba check GST while moving from Locked 2022-07-19 22:48:02 +08:00
Hongrui Fang
9b3645df56 utilize pletAll wherever make sense 2022-07-19 22:48:02 +08:00
Hongrui Fang
d709a1fdd0 fix governor datum validation 2022-07-19 22:48:02 +08:00
Hongrui Fang
e22bdc59fb improve performance of the governor validator 2022-07-19 22:48:02 +08:00
Hongrui Fang
5540f2d843 bump liqwid-plutarch-extra 2022-07-19 22:48:02 +08:00
Hongrui Fang
f9ddda4cc0 check the amount of cosigners while cosigning 2022-07-19 22:48:01 +08:00
Emily
44d6267004 Merge pull request #144 from Liqwid-Labs/seungheonoh/ci
Deprecate Github CI; using Hydra instead
2022-07-18 19:28:55 +02:00
SeungheonOh
240045d345 Removed GH action bedge 2022-07-14 14:37:18 -05:00
Seungheon Oh
4a1bd4b465 Deprecate Github CI; using Hydra instead 2022-07-14 11:21:31 -05:00
Emily
41026233dc Merge pull request #143 from Liqwid-Labs/emiflake/trivial-scripts
Trivial script exporting (+changelog update)
2022-07-13 18:32:01 +02:00
Emily Martins
541ade0653 add unreleased section to CHANGELOG.md 2022-07-13 17:56:16 +02:00
Emily Martins
477be7c444 add trivial scripts to export 2022-07-13 17:56:16 +02:00
Emily
cd23a41c41 Merge pull request #142 from Liqwid-Labs/connor/fix-proposal-creation
Fix proposal creation
2022-07-13 11:34:40 +02:00
Hongrui Fang
2ed77cd64b remove field names from ProposalLock
so that ps-bridge works correctly
2022-07-13 16:58:13 +08:00
Hongrui Fang
0b55cefd3b apply Emily's suggestions
* Comment on `validateOutputLocks`
* Assertion message rewording
* Some comment rewording
* Fix Typos
* Correct `PShow` instances, derive as much we can
* Remove redundant checks
2022-07-13 01:58:37 +08:00
Hongrui Fang
3c35e610a5 add missing module headers 2022-07-11 23:47:34 +08:00
Hongrui Fang
79eb0772c3 add new tests for creating proposals 2022-07-11 23:47:29 +08:00
Hongrui Fang
5eee3127b2 refactor and add more tests for unlocking stakes 2022-07-11 23:10:21 +08:00
Hongrui Fang
b76b5c6ec6 fix existing tests 2022-07-11 23:10:19 +08:00
Hongrui Fang
5dee613dd4 implement new stake locking mechanism 2022-07-11 19:45:51 +08:00
方泓睿
0c61cbc5ed Merge pull request #136 from Liqwid-Labs/connor/draft-phrase 2022-07-06 22:20:35 +08:00
Hongrui Fang
8242330ac9 apply Emily's suggestions 2022-07-06 21:55:39 +08:00
Hongrui Fang
701340688a add tests for advancement from draft phrase; refactoring 2022-07-05 16:59:15 +08:00
Hongrui Fang
894bba2874 WitnessStake: accept multiple stakes at input 2022-07-05 07:53:56 +08:00
Hongrui Fang
bf4dd91342 check cosign stakes while advancing from draft 2022-07-05 07:53:29 +08:00
Hongrui Fang
5273f53d46 partially fix cosigning logic; improve performance 2022-07-02 21:03:41 +08:00
Hongrui Fang
a5a2d2313d enable -Wunused-do-bind 2022-07-02 21:03:41 +08:00
Emily
6b7ff69988 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
3dad67a46e add Discord link to README 2022-06-30 18:06:46 +02:00
Emily
edbaeffa52 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
afff408348 use plutarch-script-export library 2022-06-30 16:52:23 +02:00
方泓睿
9780409a30 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
fe6dc677bc update Makefile 2022-06-29 19:16:02 +08:00
Hongrui Fang
ce7d5d2214 encode ProposalThresholds/ProposalTimingConfig normally 2022-06-29 19:12:30 +08:00
Emily
73fc473ca6 Merge pull request #129 from Liqwid-Labs/emiflake/scripts-api
Scripts HTTP API
2022-06-29 12:25:01 +02:00
Emily Martins
375759f164 add agora-scripts explainer in README.md 2022-06-29 11:36:13 +02:00
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