Skip to content

Commit

Permalink
demo changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ap0calypse644 committed Dec 17, 2024
1 parent 7e18e65 commit 7bf9ad0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/ibc.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
servertypes "github.com/cosmos/cosmos-sdk/server/types"
"github.com/cosmos/cosmos-sdk/types/module"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/cosmos/cosmos-sdk/x/gov"
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
Expand Down Expand Up @@ -162,6 +163,10 @@ func (app *App) registerIBCModules(appOpts servertypes.AppOptions) error {

// this line is used by starport scaffolding # ibc/app/module

// Add gov module to IBC Router
govIBCModule := ibcfee.NewIBCMiddleware(gov.NewIBCModule(app.GovKeeper), app.IBCFeeKeeper)
ibcRouter.AddRoute(govtypes.ModuleName, govIBCModule)

app.IBCKeeper.SetRouter(ibcRouter)

app.ScopedIBCKeeper = scopedIBCKeeper
Expand Down

0 comments on commit 7bf9ad0

Please sign in to comment.