Skip to content

Commit

Permalink
fix(ethconfig): bake in minimum base gas price (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
limengformal authored Nov 16, 2024
1 parent 2f62953 commit a13a9ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/utils/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -1876,6 +1876,7 @@ func SetEthConfig(ctx *cli.Context, stack *node.Node, cfg *ethconfig.Config) {
}
cfg.Genesis = core.DefaultOdysseyGenesisBlock()
SetDNSDiscoveryDefaults(cfg, params.OdysseyGenesisHash)
cfg.Miner.GasPrice = big.NewInt(params.GWei * 16)
case ctx.Bool(LocalFlag.Name):
if !ctx.IsSet(NetworkIdFlag.Name) {
cfg.NetworkId = 1511
Expand Down

0 comments on commit a13a9ed

Please sign in to comment.