Skip to content

Commit

Permalink
Increase waitForGovActionVotes interval from 1 to 2 epochs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimbo4350 committed Sep 9, 2024
1 parent 9757139 commit 348576e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ hprop_constitutional_committee_add_new = integrationWorkspace "constitutional-co

submitTx execConfig cEra voteTxFp

waitForGovActionVotes epochStateView (L.EpochInterval 1)
waitForGovActionVotes epochStateView (L.EpochInterval 2)

govState <- getGovState epochStateView ceo
govActionState <- H.headM $ govState ^. L.cgsProposalsL . L.pPropsL . to toList
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ hprop_gov_no_confidence = integrationWorkspace "no-confidence" $ \tempAbsBasePat
submitTx execConfig cEra voteTxFp

-- Tally votes
waitForGovActionVotes epochStateView (EpochInterval 1)
waitForGovActionVotes epochStateView (EpochInterval 2)

govState <- getGovState epochStateView ceo
govActionState <- H.headM $ govState ^. L.cgsProposalsL . L.pPropsL . to toList
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ hprop_ledger_events_propose_new_constitution = integrationWorkspace "propose-new

submitTx execConfig cEra voteTxFp

waitForGovActionVotes epochStateView (EpochInterval 1)
waitForGovActionVotes epochStateView (EpochInterval 2)

-- Count votes before checking for ratification. It may happen that the proposal gets removed after
-- ratification because of a long waiting time, so we won't be able to access votes.
Expand Down

0 comments on commit 348576e

Please sign in to comment.