Skip to content

Commit

Permalink
Fix test after #6586
Browse files Browse the repository at this point in the history
  • Loading branch information
gjermundgaraba committed Jun 19, 2024
1 parent 0d2bed4 commit 9e9c52a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/apps/transfer/keeper/relay_forwarding_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -501,8 +501,7 @@ func (suite *KeeperTestSuite) TestAcknowledgementFailureScenario1Forwarding() {
err = path1.EndpointB.AcknowledgePacket(packetFromBtoA, errorAckOnA.Acknowledgement())
suite.Require().NoError(err)

// TODO: Change to new error after #6586 is finished
errorAckOnB := channeltypes.NewErrorAcknowledgement(errors.New("forwarded packet failed"))
errorAckOnB := channeltypes.NewErrorAcknowledgement(types.ErrForwardedPacketFailed)
errorAckCommitmentOnB := channeltypes.CommitAcknowledgement(errorAckOnB.Acknowledgement())
ackOnB := suite.chainB.GetAcknowledgement(packetFromCtoB)
suite.Require().Equal(errorAckCommitmentOnB, ackOnB)
Expand Down

0 comments on commit 9e9c52a

Please sign in to comment.