Skip to content

Commit

Permalink
fix: missing gov router
Browse files Browse the repository at this point in the history
  • Loading branch information
trungnt1811 committed Jun 8, 2024
1 parent 0854369 commit 1d3645d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ func New(
oracletypes.StoreKey,
ugov.StoreKey,
uibc.StoreKey,
feeabstypes.StoreKey,
}
// if Experimental {}

Expand Down Expand Up @@ -680,7 +681,8 @@ func New(
AddRoute(govtypes.RouterKey, govv1beta1.ProposalHandler).
AddRoute(paramproposal.RouterKey, params.NewParamChangeProposalHandler(app.ParamsKeeper)).
AddRoute(upgradetypes.RouterKey, upgrade.NewSoftwareUpgradeProposalHandler(app.UpgradeKeeper)).
AddRoute(ibcclienttypes.RouterKey, ibcclient.NewClientProposalHandler(app.IBCKeeper.ClientKeeper))
AddRoute(ibcclienttypes.RouterKey, ibcclient.NewClientProposalHandler(app.IBCKeeper.ClientKeeper)).
AddRoute(feeabstypes.RouterKey, feeabsmodule.NewHostZoneProposal(app.FeeabsKeeper))

govConfig := govtypes.DefaultConfig()
govConfig.MaxMetadataLen = 800
Expand Down Expand Up @@ -875,6 +877,7 @@ func New(
incentive.ModuleName,
metoken.ModuleName,
auction.ModuleName,
feeabstypes.ModuleName,
}
// if Experimental {}

Expand Down

0 comments on commit 1d3645d

Please sign in to comment.