From 731011d0843c2038c98b626e47cd9813485358f8 Mon Sep 17 00:00:00 2001 From: Emily Martins Date: Wed, 13 Jul 2022 16:29:56 +0200 Subject: [PATCH] add unreleased section to CHANGELOG.md --- CHANGELOG.md | 30 ++++++++++++++++++++++++++++++ agora-scripts/Main.hs | 21 ++++++++++++--------- 2 files changed, 42 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 787db68..a26e5e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,36 @@ This format is based on [Keep A Changelog](https://keepachangelog.com/en/1.0.0). + +## Unreleased (Candidate for 0.2.0) + +### Added + +- Script exporting with `plutarch-script-export` + +### Modified + +- Draft phase and cosigning for Proposals. + + Included by [#136](https://github.com/Liqwid-Labs/agora/pull/136). + +- Fixed bug with regards to moving from `VotingReady`. + + Included by [#134](https://github.com/Liqwid-Labs/agora/pull/134). + +- Fixed bug that made it impossible to create proposals. Added new stake locking mechanism for creating proposals. + + Included by [#142](https://github.com/Liqwid-Labs/agora/pull/142). + + NOTE: This changes the representation of the following types: + + - `PProposalLock` + - `PStakeDatum` + - `PStakeRedeemer` + - `PProposalRedeemer` + - `PTreasuryRedeemer` + - `PGovernorDatum` + ## 0.1.0 -- 2022-06-22 ### Added diff --git a/agora-scripts/Main.hs b/agora-scripts/Main.hs index c6008c9..4811ab5 100644 --- a/agora-scripts/Main.hs +++ b/agora-scripts/Main.hs @@ -59,17 +59,20 @@ builders = & insertBuilder "proposalValidator" ((.proposalValidatorInfo) . agoraScripts) & insertBuilder "treasuryValidator" ((.treasuryValidatorInfo) . agoraScripts) & insertBuilder "authorityTokenPolicy" ((.authorityTokenPolicyInfo) . agoraScripts) - -- Trivial scripts. These are useful for testing, but they likely aren't useful -- to you if you are actually interested in deploying to mainnet. - & insertBuilder "alwaysSucceedsPolicy" - (\() -> mkPolicyInfo $ plam $ \_ _ -> popaque (pconstant ()) ) - & insertBuilder "alwaysSucceedsValidator" - (\() -> mkValidatorInfo $ plam $ \_ _ _ -> popaque (pconstant ()) ) - & insertBuilder "neverSucceedsPolicy" - (\() -> mkPolicyInfo $ plam $ \_ _ -> perror ) - & insertBuilder "neverSucceedsValidator" - (\() -> mkValidatorInfo $ plam $ \_ _ _ -> perror ) + & insertBuilder + "alwaysSucceedsPolicy" + (\() -> mkPolicyInfo $ plam $ \_ _ -> popaque (pconstant ())) + & insertBuilder + "alwaysSucceedsValidator" + (\() -> mkValidatorInfo $ plam $ \_ _ _ -> popaque (pconstant ())) + & insertBuilder + "neverSucceedsPolicy" + (\() -> mkPolicyInfo $ plam $ \_ _ -> perror) + & insertBuilder + "neverSucceedsValidator" + (\() -> mkValidatorInfo $ plam $ \_ _ _ -> perror) {- | Create scripts from params.