Skip to content

Commit

Permalink
fix: longer PollForProposalStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
Reecepbcups committed Aug 7, 2024
1 parent 1604e2e commit c6a8a51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/cosmos/chain_param_change_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func CosmosChainParamChangeTest(t *testing.T, name, version string) {

height, _ := chain.Height(ctx)

_, err = cosmos.PollForProposalStatus(ctx, chain, height, height+10, propId, govv1beta1.StatusPassed)
_, err = cosmos.PollForProposalStatus(ctx, chain, height, height+25, propId, govv1beta1.StatusPassed)
require.NoError(t, err, "proposal status did not change to passed in expected number of blocks")

param, _ = chain.QueryParam(ctx, "staking", "MaxValidators")
Expand Down
2 changes: 1 addition & 1 deletion examples/cosmos/chain_upgrade_ibc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
)

const (
haltHeightDelta = 10 // will propose upgrade this many blocks in the future
haltHeightDelta = 25 // will propose upgrade this many blocks in the future
blocksAfterUpgrade = 10
votingPeriod = "10s"
maxDepositPeriod = "10s"
Expand Down

0 comments on commit c6a8a51

Please sign in to comment.