From 83aa2de48552cc85d66760d29dc01f1b4fa7074f Mon Sep 17 00:00:00 2001 From: Neil Mayhew Date: Fri, 24 Jan 2025 17:29:13 -0700 Subject: [PATCH] Add block wait in propose-new-constitution test to increase robustness --- .../Cardano/Testnet/Test/Gov/ProposeNewConstitution.hs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/ProposeNewConstitution.hs b/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/ProposeNewConstitution.hs index 716c46c8ba9..9d677970c8c 100644 --- a/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/ProposeNewConstitution.hs +++ b/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/ProposeNewConstitution.hs @@ -157,6 +157,9 @@ hprop_ledger_events_propose_new_constitution = integrationWorkspace "propose-new , "--tx-file", stakeCertTxSignedFp ] + -- make sure that stake registration cert gets into a block + H.noteShowM_ $ waitForBlocks epochStateView 1 + -- Create constitution proposal guardRailScriptFp <- H.note $ work "guard-rail-script.plutusV3" H.writeFile guardRailScriptFp $ Text.unpack plutusV3Script