Skip to content

Commit

Permalink
fixup pr
Browse files Browse the repository at this point in the history
  • Loading branch information
faddat committed Sep 8, 2023
1 parent 36d1bcb commit c2ee82a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -541,10 +541,6 @@ func NewMigalooApp(
app.Ics20WasmHooks,
)

// Hooks Middleware
hooksTransferStack := ibchooks.NewIBCMiddleware(&transferIBCModule, &app.HooksICS4Wrapper)
app.TransferStack = &hooksTransferStack

// IBC Fee Module keeper
app.IBCFeeKeeper = ibcfeekeeper.NewKeeper(
appCodec, keys[ibcfeetypes.StoreKey],
Expand Down Expand Up @@ -637,6 +633,10 @@ func NewMigalooApp(
transferStack = transfer.NewIBCModule(app.TransferKeeper)
transferStack = ibcfee.NewIBCMiddleware(transferStack, app.IBCFeeKeeper)

// Hooks Middleware
hooksTransferStack := ibchooks.NewIBCMiddleware(transferStack, &app.HooksICS4Wrapper)
app.TransferStack = &hooksTransferStack

// Create Interchain Accounts Stack
// SendPacket, since it is originating from the application to core IBC:
// icaAuthModuleKeeper.SendTx -> icaController.SendPacket -> fee.SendPacket -> channel.SendPacket
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/v3/constants.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package v3 //nolint:revive // skip linter for this package name
package v3

import (
"github.com/White-Whale-Defi-Platform/migaloo-chain/v3/app/upgrades"
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/v3/upgrades.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package v3 //nolint:revive // skip linter for this package name
package v3

import (
sdk "github.com/cosmos/cosmos-sdk/types"
Expand Down

0 comments on commit c2ee82a

Please sign in to comment.