Skip to content

Commit

Permalink
fix log
Browse files Browse the repository at this point in the history
  • Loading branch information
ceyonur committed Jul 24, 2023
1 parent 62721ab commit 74f81db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/evm/vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,9 @@ func (vm *VM) Initialize(
vm.syntacticBlockValidator = NewBlockValidator()

if g.Config.FeeConfig == commontype.EmptyFeeConfig {
log.Info("No fee config given in genesis, setting default fee config", "DefaultFeeConfig", params.DefaultFeeConfig)
g.Config.FeeConfig = params.DefaultFeeConfig
g.Config.FeeConfig.GasLimit = new(big.Int).SetUint64(g.GasLimit)
log.Info("No fee config given in genesis, setting default fee config", "DefaultConfig", g.Config.FeeConfig)
}

if err := g.Verify(); err != nil {
Expand Down

0 comments on commit 74f81db

Please sign in to comment.