Skip to content

Commit

Permalink
fix: use a legacy router on gov keeper
Browse files Browse the repository at this point in the history
  • Loading branch information
omarsy committed Sep 1, 2024
1 parent 7e50c2f commit a156093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ func NewTeritoriApp(
govRouter.AddRoute(wasmtypes.RouterKey, wasmkeeper.NewWasmProposalHandler(app.WasmKeeper, enabledProposals)) //nolint:staticcheck
}
// Set legacy router for backwards compatibility with gov v1beta1
app.GovKeeper.SetLegacyRouter(govRouter)
govKeeper.SetLegacyRouter(govRouter)

var wasmStack ibcporttypes.IBCModule
wasmStack = wasm.NewIBCHandler(app.WasmKeeper, app.IBCKeeper.ChannelKeeper, app.IBCFeeKeeper)
Expand Down

0 comments on commit a156093

Please sign in to comment.