Skip to content

Commit

Permalink
fix(x/evm): update genesis params to use FX denom
Browse files Browse the repository at this point in the history
  • Loading branch information
fx0x55 committed Nov 19, 2024
1 parent 6612629 commit e3b46da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion x/evm/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ type AppModuleBasic struct {
// DefaultGenesis returns default genesis state as raw bytes for the evm
// module.
func (b AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage {
return b.AppModuleBasic.DefaultGenesis(cdc)
state := evmtypes.DefaultGenesisState()
state.Params.EvmDenom = fxtypes.DefaultDenom
return cdc.MustMarshalJSON(state)
}

// ValidateGenesis is the validation check of the Genesis
Expand Down

0 comments on commit e3b46da

Please sign in to comment.