Skip to content

Commit f829b8d

Browse files
committed
cardano-testnet: Add block wait in propose-new-constitution test to increase robustness
1 parent 999e5a7 commit f829b8d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/ProposeNewConstitution.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,9 @@ hprop_ledger_events_propose_new_constitution = integrationWorkspace "propose-new
157157
, "--tx-file", stakeCertTxSignedFp
158158
]
159159

160+
-- make sure that stake registration cert gets into a block
161+
H.noteShowM_ $ waitForBlocks epochStateView 1
162+
160163
-- Create constitution proposal
161164
guardRailScriptFp <- H.note $ work </> "guard-rail-script.plutusV3"
162165
H.writeFile guardRailScriptFp $ Text.unpack plutusV3Script

0 commit comments

Comments
 (0)