From b132ad0cb33fde39f089640acc2130a883f8fa99 Mon Sep 17 00:00:00 2001 From: James Browning Date: Mon, 19 Dec 2022 15:13:15 +0000 Subject: [PATCH] fix cardano-testnet Babbage genesis.json so that Plutus scripts are evaluated without MalformedScriptWitnesses error --- cardano-testnet/src/Testnet/Babbage.hs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cardano-testnet/src/Testnet/Babbage.hs b/cardano-testnet/src/Testnet/Babbage.hs index 4bc830c454d..d074d205747 100644 --- a/cardano-testnet/src/Testnet/Babbage.hs +++ b/cardano-testnet/src/Testnet/Babbage.hs @@ -186,7 +186,12 @@ babbageTestnet testnetOptions H.Conf {..} = do . HM.insert "minFeeB" (toJSON @Int 155381) . HM.insert "minUTxOValue" (toJSON @Int 1000000) . HM.insert "decentralisationParam" (toJSON @Double 0.7) - . HM.insert "major" (toJSON @Int 7) + . flip HM.adjust "protocolParams" + ( J.rewriteObject + ( flip HM.adjust "protocolVersion" + ( J.rewriteObject ( HM.insert "major" (toJSON @Int 8))) + ) + ) . HM.insert "rho" (toJSON @Double 0.1) . HM.insert "tau" (toJSON @Double 0.1) . HM.insert "updateQuorum" (toJSON @Int 2)