Skip to content

Commit

Permalink
wait for transaction to be mined
Browse files Browse the repository at this point in the history
  • Loading branch information
yuetloo committed Dec 22, 2023
1 parent b80aec1 commit 88efb4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contracts/tasks/simulateVoting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ task('simulate-voting', 'Simulate voting for the current round')
contributorKeypair.pubKey.asContractParam(),
contributionAmount
)
await contributionTx.wait(5)
const stateIndex = await getEventArg(
contributionTx,
maciContract,
Expand Down

0 comments on commit 88efb4a

Please sign in to comment.