|
7 | 7 |
|
8 | 8 | sdk "github.com/cosmos/cosmos-sdk/types"
|
9 | 9 | "github.com/strangelove-ventures/ibctest/v6/ibc"
|
10 |
| - "github.com/strangelove-ventures/ibctest/v6/test" |
| 10 | + test "github.com/strangelove-ventures/ibctest/v6/testutil" |
11 | 11 | "github.com/stretchr/testify/suite"
|
12 | 12 |
|
13 | 13 | "github.com/cosmos/ibc-go/e2e/testvalues"
|
@@ -73,7 +73,7 @@ func (s *IncentivizedTransferTestSuite) TestMsgPayPacketFee_AsyncSingleSender_Su
|
73 | 73 | }
|
74 | 74 |
|
75 | 75 | t.Run("send IBC transfer", func(t *testing.T) {
|
76 |
| - chainATx, err = chainA.SendIBCTransfer(ctx, channelA.ChannelID, chainAWallet.KeyName, walletAmount, nil) |
| 76 | + chainATx, err = chainA.SendIBCTransfer(ctx, channelA.ChannelID, chainAWallet.KeyName, walletAmount, ibc.TransferOptions{}) |
77 | 77 | s.Require().NoError(err)
|
78 | 78 | s.Require().NoError(chainATx.Validate(), "chain-a ibc transfer tx is invalid")
|
79 | 79 | })
|
@@ -417,7 +417,7 @@ func (s *IncentivizedTransferTestSuite) TestMsgPayPacketFee_SingleSender_TimesOu
|
417 | 417 | }
|
418 | 418 |
|
419 | 419 | t.Run("Send IBC transfer", func(t *testing.T) {
|
420 |
| - chainATx, err = chainA.SendIBCTransfer(ctx, channelA.ChannelID, chainAWallet.KeyName, chainBWalletAmount, testvalues.ImmediatelyTimeout()) |
| 420 | + chainATx, err = chainA.SendIBCTransfer(ctx, channelA.ChannelID, chainAWallet.KeyName, chainBWalletAmount, ibc.TransferOptions{Timeout: testvalues.ImmediatelyTimeout()}) |
421 | 421 | s.Require().NoError(err)
|
422 | 422 | s.Require().NoError(chainATx.Validate(), "source ibc transfer tx is invalid")
|
423 | 423 | time.Sleep(time.Nanosecond * 1) // want it to timeout immediately
|
@@ -516,7 +516,7 @@ func (s *IncentivizedTransferTestSuite) TestPayPacketFeeAsync_SingleSender_NoCou
|
516 | 516 |
|
517 | 517 | t.Run("send IBC transfer", func(t *testing.T) {
|
518 | 518 | var err error
|
519 |
| - chainATx, err = chainA.SendIBCTransfer(ctx, channelA.ChannelID, chainAWallet.KeyName, chainBWalletAmount, nil) |
| 519 | + chainATx, err = chainA.SendIBCTransfer(ctx, channelA.ChannelID, chainAWallet.KeyName, chainBWalletAmount, ibc.TransferOptions{}) |
520 | 520 | s.Require().NoError(err)
|
521 | 521 | s.Require().NoError(chainATx.Validate(), "source ibc transfer tx is invalid")
|
522 | 522 | })
|
@@ -636,7 +636,7 @@ func (s *IncentivizedTransferTestSuite) TestMsgPayPacketFee_AsyncMultipleSenders
|
636 | 636 | }
|
637 | 637 |
|
638 | 638 | t.Run("send IBC transfer", func(t *testing.T) {
|
639 |
| - chainATx, err = chainA.SendIBCTransfer(ctx, channelA.ChannelID, chainAWallet1.KeyName, walletAmount1, nil) |
| 639 | + chainATx, err = chainA.SendIBCTransfer(ctx, channelA.ChannelID, chainAWallet1.KeyName, walletAmount1, ibc.TransferOptions{}) |
640 | 640 | s.Require().NoError(err)
|
641 | 641 | s.Require().NoError(chainATx.Validate(), "chain-a ibc transfer tx is invalid")
|
642 | 642 | })
|
|
0 commit comments