Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Jan 20, 2025
1 parent 98058d1 commit a1b3e9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions tests/e2e/ibc_fees_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"encoding/base64"
"encoding/hex"
"fmt"
"strings"
"testing"
"time"

Expand All @@ -23,8 +24,6 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/address"

"strings"

"github.com/CosmWasm/wasmd/app"
wasmibctesting "github.com/CosmWasm/wasmd/tests/ibctesting"
wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types"
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/relay_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ func (c *ackReceiverContract) IBCPacketReceive(_ wasmvm.Checksum, _ wasmvmtypes.
}
require.NoError(c.t, src.ValidateBasic())

srcV2 := ibctransfertypes.NewFungibleTokenPacketDataV2([]ibctransfertypes.Token{ibctransfertypes.Token{Denom: ibctransfertypes.NewDenom(src.Denom), Amount: src.Amount}}, src.Sender, src.Receiver, src.Memo, ibctransfertypes.ForwardingPacketData{})
srcV2 := ibctransfertypes.NewFungibleTokenPacketDataV2([]ibctransfertypes.Token{{Denom: ibctransfertypes.NewDenom(src.Denom), Amount: src.Amount}}, src.Sender, src.Receiver, src.Memo, ibctransfertypes.ForwardingPacketData{})

// call original ibctransfer keeper to not copy all code into this
ibcPacket := toIBCPacket(packet)
Expand All @@ -748,7 +748,7 @@ func (c *ackReceiverContract) IBCPacketAck(_ wasmvm.Checksum, _ wasmvmtypes.Env,
if err := ibctransfertypes.ModuleCdc.UnmarshalJSON(msg.OriginalPacket.Data, &data); err != nil {
return nil, 0, err
}
dataV2 := ibctransfertypes.NewFungibleTokenPacketDataV2([]ibctransfertypes.Token{ibctransfertypes.Token{Denom: ibctransfertypes.NewDenom(data.Denom), Amount: data.Amount}}, data.Sender, data.Receiver, data.Memo, ibctransfertypes.ForwardingPacketData{})
dataV2 := ibctransfertypes.NewFungibleTokenPacketDataV2([]ibctransfertypes.Token{{Denom: ibctransfertypes.NewDenom(data.Denom), Amount: data.Amount}}, data.Sender, data.Receiver, data.Memo, ibctransfertypes.ForwardingPacketData{})
// call original ibctransfer keeper to not copy all code into this

var ack channeltypes.Acknowledgement
Expand Down

0 comments on commit a1b3e9a

Please sign in to comment.