revert(consensus): revert proto breaking change (#15627)

This commit is contained in:
Julien Robert
2023-03-30 17:59:14 +02:00
committed by GitHub
parent 9a09f8656b
commit d9e04c56c6
10 changed files with 84 additions and 84 deletions
+1 -1
View File
@@ -286,7 +286,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{})
bApp.SetParamStore(app.ConsensusParamsKeeper.Params)
bApp.SetParamStore(app.ConsensusParamsKeeper.ParamsStore)
// add keepers
app.AccountKeeper = authkeeper.NewAccountKeeper(appCodec, runtime.NewKVStoreService(keys[authtypes.StoreKey]), authtypes.ProtoBaseAccount, maccPerms, sdk.Bech32MainPrefix, authtypes.NewModuleAddress(govtypes.ModuleName).String())