From 589efb2a4e728276073f6f2690c4f013487e3661 Mon Sep 17 00:00:00 2001 From: Aniket Deshpande Date: Fri, 18 Aug 2023 14:11:52 +0530 Subject: [PATCH] Fix cardano-ledger-test failure --- eras/conway/impl/src/Cardano/Ledger/Conway/Rules/Gov.hs | 1 - .../src/Test/Cardano/Ledger/Examples/ConwayFeatures.hs | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/eras/conway/impl/src/Cardano/Ledger/Conway/Rules/Gov.hs b/eras/conway/impl/src/Cardano/Ledger/Conway/Rules/Gov.hs index eb6eaa0f237..f1c21a97687 100644 --- a/eras/conway/impl/src/Cardano/Ledger/Conway/Rules/Gov.hs +++ b/eras/conway/impl/src/Cardano/Ledger/Conway/Rules/Gov.hs @@ -181,7 +181,6 @@ govTransition :: ConwayEraPParams era => TransitionRule (ConwayGOV era) govTransition = do - -- TODO Check the signatures TRC (GovEnv txid epoch, st, gp) <- judgmentContext let applyProps st' Empty = pure st' diff --git a/libs/cardano-ledger-test/src/Test/Cardano/Ledger/Examples/ConwayFeatures.hs b/libs/cardano-ledger-test/src/Test/Cardano/Ledger/Examples/ConwayFeatures.hs index 1133b17ac43..ad7a56616be 100644 --- a/libs/cardano-ledger-test/src/Test/Cardano/Ledger/Examples/ConwayFeatures.hs +++ b/libs/cardano-ledger-test/src/Test/Cardano/Ledger/Examples/ConwayFeatures.hs @@ -145,7 +145,7 @@ newConstitutionProposal :: forall era. Scriptic era => Proof era -> ProposalProc newConstitutionProposal pf = ProposalProcedure (Coin proposalDeposit) - (RewardAcnt Mainnet (KeyHashObj (stakeKeyHash pf))) + (RewardAcnt Testnet (KeyHashObj (stakeKeyHash pf))) (NewConstitution SNothing (proposedConstitution @era)) (Anchor (fromJust $ textToUrl "new.constitution.com") (SLE.mkDummySafeHash Proxy 1)) @@ -158,7 +158,7 @@ anotherConstitutionProposal :: anotherConstitutionProposal pf prevGovActionId = ProposalProcedure (Coin proposalDeposit) - (RewardAcnt Mainnet (KeyHashObj (stakeKeyHash pf))) + (RewardAcnt Testnet (KeyHashObj (stakeKeyHash pf))) ( NewConstitution (SJust (PrevGovActionId prevGovActionId)) (Constitution (SLE.mkDummyAnchor 2) SNothing)