Skip to content

Commit

Permalink
fixed merge errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sampocs committed Dec 7, 2023
1 parent 4d98b92 commit 913b4d7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions x/stakeibc/keeper/reward_converter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ func (s *KeeperTestSuite) TestTransferConvertedTokensTradeToHost() {
transferAmount := sdkmath.NewInt(1000)

// Register a trade ICA account for the transfer
channelId, portId := s.CreateICAChannel(types.FormatICAAccountOwner(HostChainId, types.ICAAccountType_CONVERTER_TRADE))
owner := types.FormatTradeRouteICAOwner(HostChainId, RewardDenom, HostDenom, types.ICAAccountType_CONVERTER_TRADE)
channelId, portId := s.CreateICAChannel(owner)

// Create trade route with fields needed for transfer
route := types.TradeRoute{
Expand All @@ -163,7 +164,7 @@ func (s *KeeperTestSuite) TestTransferConvertedTokensTradeToHost() {
s.App.StakeibcKeeper.SetTradeRoute(s.Ctx, route)

// Create epoch tracker to dictate timeout
s.CreateStrideEpochForICATimeout(time.Second * 10)
s.CreateEpochForICATimeout(epochtypes.STRIDE_EPOCH, time.Second*10)

// Confirm the sequence number was incremented after a successful send
startSequence := s.MustGetNextSequenceNumber(portId, channelId)
Expand Down

0 comments on commit 913b4d7

Please sign in to comment.