feat(x/consensus): Add env bundler to x/consensus module (#19488)
This commit is contained in:
+1
-1
@@ -280,7 +280,7 @@ func NewSimApp(
|
||||
}
|
||||
|
||||
// set the BaseApp's parameter store
|
||||
app.ConsensusParamsKeeper = consensusparamkeeper.NewKeeper(appCodec, runtime.NewKVStoreService(keys[consensusparamtypes.StoreKey]), authtypes.NewModuleAddress(govtypes.ModuleName).String(), runtime.EventService{})
|
||||
app.ConsensusParamsKeeper = consensusparamkeeper.NewKeeper(appCodec, runtime.NewEnvironment(runtime.NewKVStoreService(keys[consensusparamtypes.StoreKey]), logger), authtypes.NewModuleAddress(govtypes.ModuleName).String())
|
||||
bApp.SetParamStore(app.ConsensusParamsKeeper.ParamsStore)
|
||||
|
||||
addressCodec := authcodec.NewBech32Codec(sdk.Bech32MainPrefix)
|
||||
|
||||
Reference in New Issue
Block a user