Skip to content

Commit

Permalink
InitChainer
Browse files Browse the repository at this point in the history
  • Loading branch information
gartnera committed May 9, 2024
1 parent 0262f99 commit ab2be92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,7 @@ func (app *App) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.Res
if err := tmjson.Unmarshal(req.AppStateBytes, &genesisState); err != nil {
panic(err)
}
app.UpgradeKeeper.SetModuleVersionMap(ctx, app.mm.GetVersionMap())
return app.mm.InitGenesis(ctx, app.appCodec, genesisState)
}

Expand Down

0 comments on commit ab2be92

Please sign in to comment.