Skip to content

Commit

Permalink
imp(e2e): upgraded wasmd version v0.41.0
Browse files Browse the repository at this point in the history
  • Loading branch information
srdtrk committed Aug 18, 2023
1 parent 04fdb16 commit 5a844ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion e2e/interchaintest/chain_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var chainSpecs = []*interchaintest.ChainSpec{
Images: []ibc.DockerImage{
{
Repository: "cosmwasm/wasmd", // FOR LOCAL IMAGE USE: Docker Image Name
Version: "v0.40.2", // FOR LOCAL IMAGE USE: Docker Image Tag
Version: "v0.41.0", // FOR LOCAL IMAGE USE: Docker Image Tag
},
},
Bin: "wasmd",
Expand Down
5 changes: 3 additions & 2 deletions e2e/interchaintest/testsuite/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,16 @@ func (s *TestSuite) SetupSuite(ctx context.Context, chainSpecs []*interchaintest
// Query for the newly created connection in wasmd
connections, err := s.Relayer.GetConnections(ctx, s.ExecRep, s.ChainA.Config().ChainID)
s.Require().NoError(err)
s.Require().Equal(1, len(connections))
// localhost is always a connection since ibc-go v7.1+
s.Require().Equal(2, len(connections))
wasmdConnection := connections[0]
s.Require().NotEqual("connection-localhost", wasmdConnection.ID)
s.ChainAConnID = wasmdConnection.ID

// Query for the newly created connection in simd
connections, err = s.Relayer.GetConnections(ctx, s.ExecRep, s.ChainB.Config().ChainID)
s.Require().NoError(err)
// localhost is always a connection in main (next) version of ibc-go
// localhost is always a connection since ibc-go v7.1+
s.Require().Equal(2, len(connections))
simdConnection := connections[0]
s.Require().NotEqual("connection-localhost", simdConnection.ID)
Expand Down

0 comments on commit 5a844ab

Please sign in to comment.