Skip to content

Commit

Permalink
comment for the issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitrisJim committed Mar 30, 2023
1 parent 92c9d76 commit 5ef8854
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/core/04-channel/keeper/grpc_query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1299,8 +1299,8 @@ func (suite *KeeperTestSuite) TestQueryUnreceivedPackets() {
path.SetChannelOrdered()
suite.coordinator.Setup(path)

// Excersise scenario from issue 1532. NextSequenceRecv is 5, commitments for 2, 7, 9, 10
// are present. 2 is received so 7, 9, 10 should be unreceived.
// Exercise scenario from issue #1532. NextSequenceRecv is 5, packet commitments provided are 2, 7, 9, 10.
// Packet sequence 2 is already received so only sequences 7, 9, 10 should be considered unreceived.
expSeq = []uint64{7, 9, 10}
packetCommitments := []uint64{2, 7, 9, 10}
suite.chainA.App.GetIBCKeeper().ChannelKeeper.SetNextSequenceRecv(suite.chainA.GetContext(), path.EndpointA.ChannelConfig.PortID, path.EndpointA.ChannelID, 5)
Expand Down

0 comments on commit 5ef8854

Please sign in to comment.