Commit graph

363 commits

Author SHA1 Message Date
fanghr
538e809d2c
add all agora types 2022-05-13 20:03:17 +08:00
fanghr
9a26439397
setup bridge target 2022-05-13 18:08:57 +08:00
fanghr
0a31f935b3
pin purescript-bridge so that it builds 2022-05-13 17:36:04 +08:00
Hongrui Fang
b8908dc6c9
add purescript-bridge 2022-05-13 16:42:55 +08:00
Emily
64ac81bc7d
Merge pull request #75 from Liqwid-Labs/emiflake/drop-pdo
remove all instances of `P.do` in favour of `TermCont`.
2022-05-12 14:12:02 +02:00
Emily Martins
1bd6030855 remove all instances of P.do in favour of TermCont. 2022-05-12 13:54:31 +02:00
方泓睿
2a0c6eb4a6
Merge pull request #74 from Liqwid-Labs/connor/target-separation
Break `agora-test` into pieces; add test file for utility functions
2022-05-12 19:48:48 +08:00
fanghr
615f890745
add Spec.Utils to test utils in Agora.Utils 2022-05-12 19:28:19 +08:00
fanghr
283edd64b7
offload some stuff from agora-test to agora-sample and agora-testlib 2022-05-12 19:23:14 +08:00
Emily
3d414b334a
Merge pull request #37 from Liqwid-Labs/jhodgdev/treasury-tests
jhodgdev/treasury tests
2022-05-10 11:07:17 +02:00
Jack Hodgkinson
704ec4a38a replaced use of withMinAda 2022-05-09 13:54:20 +01:00
Jack Hodgkinson
cb0f61eb2c Applied Emily's suggestions 2022-05-09 12:17:49 +01:00
Jack Hodgkinson
cddc6e8adf Added echo message for Makefile lint 2022-05-06 11:22:40 +01:00
Jack Hodgkinson
8296834b99 added lint function to Makefile 2022-05-06 10:55:09 +01:00
Jack Hodgkinson
012aeda681 removed outdated reference 2022-05-06 10:54:03 +01:00
Jack Hodgkinson
f075d33b0d Added review changes 2022-05-06 10:36:21 +01:00
Jack Hodgkinson
35763b4e57 Merge branch 'master' of github.com:Liqwid-Labs/agora into jhodgdev/treasury-tests 2022-05-06 09:35:23 +01:00
Jack Hodgkinson
a8d3ad0abc
Merge pull request #72 from Liqwid-Labs/connor/validatorHashTokenName
`ValidatorHashToTokenName`
2022-05-06 09:15:17 +01:00
fanghr
f92d5a6d78
run linter 2022-05-06 14:18:16 +08:00
fanghr
a14d98e077
add PlutusTX validatorHashToTokenName 2022-05-06 13:22:28 +08:00
Jack Hodgkinson
7811636571 applied linting and formatting suggestions 2022-05-05 13:40:56 +01:00
Jack Hodgkinson
a64f10c712 finished first draft of treasury tests 2022-05-05 12:03:10 +01:00
Jack Hodgkinson
4fe380b4c2 Added treasury samples and tests 2022-05-04 17:06:26 +01:00
Jack Hodgkinson
1cce01ec76 Merge branch 'master' of github.com:Liqwid-Labs/agora into jhodgdev/treasury-tests 2022-05-03 12:49:23 +01:00
Emily
49adccbbeb
Merge pull request #59 from Liqwid-Labs/emiflake/proposal-impl
Proposal validator implementation
2022-04-29 16:39:59 +02:00
Jack Hodgkinson
dafa6fe8f0 Reset progress on treasury testing; will continue without apropos 2022-04-29 15:23:08 +01:00
Jack Hodgkinson
9490701dbb CekEvaluationError 2022-04-29 14:00:44 +01:00
Emily Martins
be3b8ea5af fix formatting
fourmolu breaks weirdly on some spacing
2022-04-28 17:22:40 +02:00
Jack Hodgkinson
53ae45eaaf finished morphisms 2022-04-28 16:14:35 +01:00
Emily Martins
cf14d9edd8 remove infinities in ProposalTime, fix test build 2022-04-28 17:00:19 +02:00
Emily Martins
c8f5c6af8f remove pfindDatum', in favour of ptryFindDatum 2022-04-28 16:25:40 +02:00
Emily Martins
5ec74e86b8 apply suggestions 2022-04-28 16:21:16 +02:00
Jack Hodgkinson
45e5261989 Added doc to new Makefile function 2022-04-28 09:28:58 +01:00
Jack Hodgkinson
a313b2680a add hasktags function to Makefile 2022-04-28 09:27:03 +01:00
Emily Martins
0ce8676860 add effect and votes shape check on proposalDatumValid 2022-04-27 15:18:07 +02:00
Emily Martins
2865f2f093 be more consistent in use of "period", "state", etc wrt. proposals
- specify maximum cosigners requirement in spec.
- remove silly qualified names in Proposal impl.
2022-04-27 14:43:55 +02:00
Emily Martins
9dd5bed05e reduce use of unjustified punsafeCoerce 2022-04-27 12:55:37 +02:00
Emily Martins
34827aeca6 add missing range checks 2022-04-27 12:55:37 +02:00
Emily Martins
8cbdbeb2fe fix haddock errors 2022-04-27 12:55:37 +02:00
Emily Martins
438ed872e3 move Stake to Scripts, fix tests 2022-04-27 12:55:37 +02:00
Emily Martins
f2a9749d95 remove TreasuryDatum, PTryFrom for PTreasuryRedeemer 2022-04-27 12:55:37 +02:00
Emily Martins
189973f30f reduce 'PTxInfo' passing to functions 2022-04-27 12:55:37 +02:00
Emily Martins
4411dba717 move Proposal impl. to Agora.Proposal.Scripts to avoid cyclic deps 2022-04-27 12:55:37 +02:00
Hongrui Fang
53629f53c3 add missing plutarch level proposal status PLocked 2022-04-27 12:55:37 +02:00
Emily Martins
eb4dc2c654 add shared Sample values module
- add Proposal validator testing
- add some Agora.Record improvements
2022-04-27 12:55:12 +02:00
Emily Martins
18df6ead55 add checks to cosign 2022-04-27 12:54:36 +02:00
Emily Martins
7634460241 simplify some PTxInfo functions 2022-04-27 12:53:56 +02:00
Emily Martins
8f7f543438 flake: bump plutarch-extra fork 2022-04-27 12:53:53 +02:00
Emily Martins
e77140e863 stub redeemer matching 2022-04-27 12:53:53 +02:00
Emily Martins
eba9ce452e fix linter errors 2022-04-27 12:53:53 +02:00