Commit graph

15 commits

Author SHA1 Message Date
fanghr
6f9de51541 apply Emily's suggestions
* add `PMaxTimeRangeWidth`
* several `Default` instances for testing
* a bunch of docstrings
* fix the tests/samples
2022-05-25 21:07:09 +08:00
fanghr
c6c93f587a fix broken tests/samples 2022-05-25 20:08:45 +08:00
fanghr
1a2693aa98 store proposal timing conf in the governor datum 2022-05-25 20:08:39 +08:00
fanghr
ec48f4de95 some doc for the proposal voting sample 2022-05-20 03:35:32 +08:00
fanghr
ce09d05dff add sample test && fix broken tests 2022-05-20 03:35:31 +08:00
fanghr
fc48709c07 store starting time of the proposal in its datum
... hardcoded to 0 upon creation for now
2022-05-20 03:35:30 +08:00
fanghr
d44fe083da store timing config in the proposal datum
.... and mock the value upon creation for now
2022-05-20 03:35:29 +08:00
fanghr
0f36d649c6 merge #74; add sample and spec of the governor 2022-05-12 20:01:32 +08:00
fanghr
e6516e21e3 fix seralization issues 2022-05-06 17:11:14 +08:00
fanghr
f62189c38d refactor Spec.Sample.Shared with bridges 2022-05-06 17:11:03 +08:00
Emily Martins
9ccc481272 remove infinities in ProposalTime, fix test build 2022-04-28 17:00:19 +02:00
Emily Martins
82ce3ab717 move Stake to Scripts, fix tests 2022-04-27 12:55:37 +02:00
Emily Martins
4ea9255a6b add shared Sample values module
- add Proposal validator testing
- add some Agora.Record improvements
2022-04-27 12:55:12 +02:00
Emily Martins
1e972f1402 add checks to cosign 2022-04-27 12:54:36 +02:00
Emily Martins
862e9b6079 add proposalCreation Sample test 2022-04-27 12:53:53 +02:00