Skip to content

Commit

Permalink
Add block wait in propose-new-constitution test to increase robustness
Browse files Browse the repository at this point in the history
  • Loading branch information
neilmayhew committed Jan 25, 2025
1 parent febed93 commit 83aa2de
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 83aa2de

Please sign in to comment.