Skip to content

Commit

Permalink
Use NewTransferPath.
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitrisJim committed Jul 25, 2023
1 parent 6d3c70f commit 67b00bd
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -333,12 +333,7 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() {
{
"Msg fails its ValidateBasic: MsgTransfer has an empty receiver",
func(encoding string) {
transferPath := ibctesting.NewPath(suite.chainB, suite.chainC)
transferPath.EndpointA.ChannelConfig.PortID = ibctesting.TransferPort
transferPath.EndpointB.ChannelConfig.PortID = ibctesting.TransferPort
transferPath.EndpointA.ChannelConfig.Version = transfertypes.Version
transferPath.EndpointB.ChannelConfig.Version = transfertypes.Version

transferPath := ibctesting.NewTransferPath(suite.chainB, suite.chainC)
suite.coordinator.Setup(transferPath)

interchainAccountAddr, found := suite.chainB.GetSimApp().ICAHostKeeper.GetInterchainAccountAddress(suite.chainB.GetContext(), ibctesting.FirstConnectionID, path.EndpointA.ChannelConfig.PortID)
Expand Down

0 comments on commit 67b00bd

Please sign in to comment.