You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// These constants are derived from the above variables.
165
140
// These are the ones we will want to use in the code, based on
166
141
// any overrides above
@@ -306,7 +281,6 @@ func NewWasmApp(
306
281
db dbm.DB,
307
282
traceStore io.Writer,
308
283
loadLatestbool,
309
-
enabledProposals []wasmtypes.ProposalType,
310
284
appOpts servertypes.AppOptions,
311
285
wasmOpts []wasmkeeper.Option,
312
286
baseAppOptions...func(*baseapp.BaseApp),
@@ -605,10 +579,13 @@ func NewWasmApp(
605
579
wasmOpts...,
606
580
)
607
581
582
+
// DEPRECATED: DO NOT USE
583
+
//
608
584
// The gov proposal types can be individually enabled
609
-
iflen(enabledProposals) !=0 {
610
-
govRouter.AddRoute(wasmtypes.RouterKey, wasmkeeper.NewWasmProposalHandler(app.WasmKeeper, enabledProposals)) //nolint:staticcheck // we still need this despite the deprecation of the gov handler
0 commit comments