Commit graph

628 commits

Author SHA1 Message Date
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
Seungheon Oh
c98f39c6aa
countingVote,create,startVoting to execute,create,vote
Let's embrace consistancy between Haskell types and Plutarch types.
2022-06-16 13:28:55 -05:00
Emily
9090b7c84e
Merge pull request #117 from Liqwid-Labs/connor/fix-ci
Fix ci doesn't run on `main` branch; reference to dependent repos normally
2022-06-16 18:20:05 +02:00
Hongrui Fang
433832eda4
update flake lock 2022-06-16 23:48:54 +08:00
Hongrui Fang
25d5416093
don't need to add ssh key in ci workflow anymore 2022-06-16 23:48:54 +08:00
Hongrui Fang
6545bbeee5
reference dependent repos without ssh in flake 2022-06-16 23:48:54 +08:00
Hongrui Fang
71d393fad1
correct branch name: master -> main 2022-06-16 23:48:54 +08:00
方泓睿
04dcf16c9a
Merge pull request #116 from Liqwid-Labs/connor/export-scripts-rev
Include revision information in `agora-scripts.json`
2022-06-16 20:56:25 +08:00
Hongrui Fang
52f820ae70
update scripts 2022-06-16 20:50:24 +08:00
Hongrui Fang
e080db5902
add command make scripts 2022-06-16 20:50:23 +08:00
Hongrui Fang
b7cf29c4fc
export commit hash/branch along side with scripts 2022-06-16 20:50:18 +08:00
Emily
11101d89b2
Merge pull request #119 from Liqwid-Labs/nini-faroux/update-scripts
Update scripts
2022-06-16 13:00:41 +02:00
nini-faroux
a97d3897de Add new scripts 2022-06-15 11:03:29 +00:00
nini-faroux
bfcf7ea83f Add new UTXO parameter 2022-06-15 11:03:04 +00:00
Emily
ccbc1fc8d6
Merge pull request #113 from Liqwid-Labs/emiflake/update-fix-docs
Bump plutarch
2022-06-04 12:51:27 +02:00
Emily Martins
c201196762 flake: use main/staging for various Liqwid libs after PR merges 2022-06-04 00:04:46 +02:00
Emily Martins
0dcddabe39 flake: simplify flake.nix 2022-06-03 23:52:41 +02:00
Emily Martins
78ea0c64de flake: allow building on M1 2022-06-03 23:38:29 +02: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
Emily Martins
8e71ecbdfd add and fix haddock doc comments 2022-06-02 16:28:14 +02:00
Emily Martins
5edd4d4ef1 update dead link in docs/README.md 2022-06-02 16:28:14 +02:00
SeungheonOh
d661abee77
Merge pull request #112 from Liqwid-Labs/seungheonoh/deprecateApropos
Deprecate Apropos
2022-06-02 06:05:59 -05:00
Seungheon Oh
3ad50b218b
Use native expected function 2022-06-01 12:28:21 -05:00
Seungheon Oh
af1a540b55
added Docstrings
Emily's suggestions
2022-06-01 10:35:39 -05:00
SeungheonOh
a537df0ae0
Merge branch 'main' into seungheonoh/deprecateApropos 2022-06-01 09:11:48 -05:00
Jack Hodgkinson
60ce8fd24a Added agora targets variable to Makefile 2022-06-01 09:07:31 +01:00
Jack Hodgkinson
3d4a3df342 Updated tag command in Makefile 2022-06-01 09:07:31 +01: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
SeungheonOh
9a44550c2d
Merge pull request #109 from Liqwid-Labs/seungheonoh/pcbsetup
Made PQ and PCB available to Agora
2022-05-31 08:32:21 -05:00
Seungheon Oh
5d32184245
Made PQ and PCB available to Agora
* Added deploy key of PCB to Github workflow
* Added Nix inputs and made PQ and PCB to build.
2022-05-30 17:45:35 -05:00
SeungheonOh
f9b7994fdc
Merge pull request #108 from Liqwid-Labs/seungheonoh/restructure
Restructure
2022-05-30 13:37:07 -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
方泓睿
55b0669d41
Merge pull request #100 from Liqwid-Labs/connor/advance-proposals
Advance proposals
2022-05-31 00:37:34 +08:00
fanghr
5326b4cb81
fix winner outcome selection logic and timing 2022-05-30 23:54:51 +08:00
fanghr
70d3c01af4
add tests and samples of advancing proposals 2022-05-30 23:54:51 +08:00