Skip to content

Commit

Permalink
Initi genesis set cosmos gas params
Browse files Browse the repository at this point in the history
  • Loading branch information
Kbhat1 committed Apr 18, 2024
1 parent 0128064 commit 880cbcc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/params/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ func (am AppModule) RegisterInvariants(_ sdk.InvariantRegistry) {}
func (am AppModule) InitGenesis(ctx sdk.Context, _ codec.JSONCodec, _ json.RawMessage) []abci.ValidatorUpdate {
defaultGenesis := types.DefaultGenesis()
am.keeper.SetFeesParams(ctx, defaultGenesis.FeesParams)
am.keeper.SetCosmosGasParams(ctx, defaultGenesis.CosmosGasParams)
return []abci.ValidatorUpdate{}
}

Expand Down

0 comments on commit 880cbcc

Please sign in to comment.