Skip to content

Commit

Permalink
tests: fix broken integration test consumer registration
Browse files Browse the repository at this point in the history
  • Loading branch information
MSalopek committed Nov 27, 2023
1 parent efc3f95 commit 29528b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/integration/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import (
testutil "github.com/cosmos/interchain-security/v3/testutil/integration"
"github.com/cosmos/interchain-security/v3/testutil/simibc"
consumertypes "github.com/cosmos/interchain-security/v3/x/ccv/consumer/types"
"github.com/cosmos/interchain-security/v3/x/ccv/provider/types"
ccv "github.com/cosmos/interchain-security/v3/x/ccv/types"
)

Expand Down Expand Up @@ -129,6 +130,9 @@ func (suite *CCVTestSuite) SetupTest() {
providerKeeper := suite.providerApp.GetProviderKeeper()

// re-assign all validator keys for the first consumer chain
providerKeeper.SetPendingConsumerAdditionProp(suite.providerCtx(), &types.ConsumerAdditionProposal{
ChainId: icstestingutils.FirstConsumerChainID,
})
preProposalKeyAssignment(suite, icstestingutils.FirstConsumerChainID)

// start consumer chains
Expand Down

0 comments on commit 29528b2

Please sign in to comment.