From c6a8a51a079582746dbc37136cb8024c58a13485 Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Wed, 7 Aug 2024 16:49:48 -0500 Subject: [PATCH] fix: longer PollForProposalStatus --- examples/cosmos/chain_param_change_test.go | 2 +- examples/cosmos/chain_upgrade_ibc_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/cosmos/chain_param_change_test.go b/examples/cosmos/chain_param_change_test.go index 65a6c9222..976e5a526 100644 --- a/examples/cosmos/chain_param_change_test.go +++ b/examples/cosmos/chain_param_change_test.go @@ -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") diff --git a/examples/cosmos/chain_upgrade_ibc_test.go b/examples/cosmos/chain_upgrade_ibc_test.go index ebcc62c7e..1b19a3922 100644 --- a/examples/cosmos/chain_upgrade_ibc_test.go +++ b/examples/cosmos/chain_upgrade_ibc_test.go @@ -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"