diff --git a/app/app.go b/app/app.go index 2901703a..70c9785a 100644 --- a/app/app.go +++ b/app/app.go @@ -97,7 +97,7 @@ import ( ibctm "github.com/cosmos/ibc-go/v7/modules/light-clients/07-tendermint" "github.com/spf13/cast" - gmp_middleware "github.com/ojo-network/ojo/app/gmp_middleware" + gmpmiddleware "github.com/ojo-network/ojo/app/gmpmiddleware" ibctransfer "github.com/ojo-network/ojo/app/ibctransfer" "github.com/ojo-network/ojo/util/genmap" @@ -528,9 +528,9 @@ func New( // Create static IBC router, add transfer route, then set and seal it. // We also need to add the axelar GMP middleware here. ibcRouter := ibcporttypes.NewRouter() - ibcStack = gmp_middleware.NewIBCMiddleware( + ibcStack = gmpmiddleware.NewIBCMiddleware( ibcStack, - gmp_middleware.NewGmpHandler(app.GmpKeeper), + gmpmiddleware.NewGmpHandler(app.GmpKeeper), ) ibcRouter.AddRoute(ibctransfertypes.ModuleName, ibcStack) app.IBCKeeper.SetRouter(ibcRouter) diff --git a/app/gmp_middleware/gmp_middleware.go b/app/gmpmiddleware/gmp_middleware.go similarity index 100% rename from app/gmp_middleware/gmp_middleware.go rename to app/gmpmiddleware/gmp_middleware.go diff --git a/app/gmp_middleware/handler.go b/app/gmpmiddleware/handler.go similarity index 100% rename from app/gmp_middleware/handler.go rename to app/gmpmiddleware/handler.go diff --git a/app/gmp_middleware/types.go b/app/gmpmiddleware/types.go similarity index 98% rename from app/gmp_middleware/types.go rename to app/gmpmiddleware/types.go index af514a31..d049ea88 100644 --- a/app/gmp_middleware/types.go +++ b/app/gmpmiddleware/types.go @@ -1,4 +1,4 @@ -package gmp_middleware +package gmpmiddleware import ( sdk "github.com/cosmos/cosmos-sdk/types"