Skip to content

Commit 8cfbeff

Browse files
James Browningnewhoggy
James Browning
authored andcommitted
fix cardano-testnet Babbage genesis.json so that Plutus scripts
are evaluated without MalformedScriptWitnesses error
1 parent 02c9788 commit 8cfbeff

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Diff for: cardano-testnet/src/Testnet/Babbage.hs

+6-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,12 @@ babbageTestnet testnetOptions H.Conf {..} = do
186186
. HM.insert "minFeeB" (toJSON @Int 155381)
187187
. HM.insert "minUTxOValue" (toJSON @Int 1000000)
188188
. HM.insert "decentralisationParam" (toJSON @Double 0.7)
189-
. HM.insert "major" (toJSON @Int 7)
189+
. flip HM.adjust "protocolParams"
190+
( J.rewriteObject
191+
( flip HM.adjust "protocolVersion"
192+
( J.rewriteObject ( HM.insert "major" (toJSON @Int 8)))
193+
)
194+
)
190195
. HM.insert "rho" (toJSON @Double 0.1)
191196
. HM.insert "tau" (toJSON @Double 0.1)
192197
. HM.insert "updateQuorum" (toJSON @Int 2)

0 commit comments

Comments
 (0)