Skip to content

Commit

Permalink
chore: fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chatton committed May 23, 2024
1 parent bb69698 commit f19a145
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/apps/transfer/keeper/relay_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -996,15 +996,15 @@ func (suite *KeeperTestSuite) TestPacketForwardsCompatibility() {
func() {
packetData = []byte("invalid packet data")
},
ibcerrors.ErrUnknownRequest,
ibcerrors.ErrInvalidType,
},
{
"failure: missing field",
func() {
jsonString := fmt.Sprintf(`{"amount":"100","sender":%s","receiver":"%s"}`, suite.chainB.SenderAccount.GetAddress().String(), suite.chainA.SenderAccount.GetAddress().String())
packetData = []byte(jsonString)
},
ibcerrors.ErrUnknownRequest,
ibcerrors.ErrInvalidType,
},
}

Expand All @@ -1015,6 +1015,8 @@ func (suite *KeeperTestSuite) TestPacketForwardsCompatibility() {
packetData = nil

path := ibctesting.NewTransferPath(suite.chainA, suite.chainB)
path.EndpointA.ChannelConfig.Version = types.V1
path.EndpointB.ChannelConfig.Version = types.V1
path.Setup()

tc.malleate()
Expand Down

0 comments on commit f19a145

Please sign in to comment.