From c2ee82a471fad6c7f20476ec64c19bb496e013b8 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Fri, 8 Sep 2023 11:23:36 +0800 Subject: [PATCH] fixup pr --- app/app.go | 8 ++++---- app/upgrades/v3/constants.go | 2 +- app/upgrades/v3/upgrades.go | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/app.go b/app/app.go index e248b321..bf747994 100644 --- a/app/app.go +++ b/app/app.go @@ -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], @@ -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 diff --git a/app/upgrades/v3/constants.go b/app/upgrades/v3/constants.go index 4f3817d1..1eefc8ce 100644 --- a/app/upgrades/v3/constants.go +++ b/app/upgrades/v3/constants.go @@ -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" diff --git a/app/upgrades/v3/upgrades.go b/app/upgrades/v3/upgrades.go index e8ab8fbe..8210dda9 100644 --- a/app/upgrades/v3/upgrades.go +++ b/app/upgrades/v3/upgrades.go @@ -1,4 +1,4 @@ -package v3 //nolint:revive // skip linter for this package name +package v3 import ( sdk "github.com/cosmos/cosmos-sdk/types"