From d5d5861a86c96f5b5296a6617a6f1b04286f9722 Mon Sep 17 00:00:00 2001 From: Shawn Marshall-Spitzbart <44221603+smarshall-spitzbart@users.noreply.github.com> Date: Mon, 8 Aug 2022 12:54:13 -0700 Subject: [PATCH] two different chain ids --- x/ccv/provider/keeper/proposal_test.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/x/ccv/provider/keeper/proposal_test.go b/x/ccv/provider/keeper/proposal_test.go index 3949a67dc9..e9b381b379 100644 --- a/x/ccv/provider/keeper/proposal_test.go +++ b/x/ccv/provider/keeper/proposal_test.go @@ -148,18 +148,16 @@ func (suite *KeeperTestSuite) TestIteratePendingStopProposal() { func (suite *KeeperTestSuite) TestIteratePendingClientInfo() { - chainID := suite.consumerChain.ChainID - testCases := []struct { types.CreateConsumerChainProposal ExpDeleted bool }{ { - CreateConsumerChainProposal: types.CreateConsumerChainProposal{ChainId: chainID, SpawnTime: time.Now().UTC()}, + CreateConsumerChainProposal: types.CreateConsumerChainProposal{ChainId: "0", SpawnTime: time.Now().UTC()}, ExpDeleted: true, }, { - CreateConsumerChainProposal: types.CreateConsumerChainProposal{ChainId: chainID, SpawnTime: time.Now().UTC().Add(time.Hour)}, + CreateConsumerChainProposal: types.CreateConsumerChainProposal{ChainId: "1", SpawnTime: time.Now().UTC().Add(time.Hour)}, ExpDeleted: false, }, }