feat(x/consensus): Add env bundler to x/consensus module (#19488)

This commit is contained in:
Likhita Polavarapu
2024-02-20 10:08:56 +00:00
committed by GitHub
parent 8acade49db
commit b0db3ea299
6 changed files with 18 additions and 21 deletions
+1 -1
View File
@@ -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)