Skip to content

Commit

Permalink
Remove manual setting of flush status in ChanUpgradeOpen. (#4064)
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitrisJim authored Jul 12, 2023
1 parent fcd8ded commit af76ade
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions modules/core/04-channel/keeper/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -734,15 +734,6 @@ func (suite *KeeperTestSuite) TestChanUpgradeOpen() {
err = path.EndpointB.ChanUpgradeAck()
suite.Require().NoError(err)

// TODO: Remove setting of FLUSHCOMPLETE once #3928 is completed
channelB := path.EndpointB.GetChannel()
channelB.FlushStatus = types.FLUSHCOMPLETE
path.EndpointB.SetChannel(channelB)

channelA := path.EndpointA.GetChannel()
channelA.FlushStatus = types.FLUSHCOMPLETE
path.EndpointA.SetChannel(channelA)

suite.coordinator.CommitBlock(suite.chainA, suite.chainB)
suite.Require().NoError(path.EndpointA.UpdateClient())

Expand Down

0 comments on commit af76ade

Please sign in to comment.