Skip to content

Commit

Permalink
cmd/evm: fix evm basefee (#30281)
Browse files Browse the repository at this point in the history
fixes #30279 -- previously we did not use the basefee from the genesis, and instead the defaults were used from `runtime.go/setDefaults`-function
  • Loading branch information
holiman authored Aug 8, 2024
1 parent ebe31df commit 83e70aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/evm/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ func runCmd(ctx *cli.Context) error {
Time: genesisConfig.Timestamp,
Coinbase: genesisConfig.Coinbase,
BlockNumber: new(big.Int).SetUint64(genesisConfig.Number),
BaseFee: genesisConfig.BaseFee,
BlobHashes: blobHashes,
BlobBaseFee: blobBaseFee,
EVMConfig: vm.Config{
Expand Down

0 comments on commit 83e70aa

Please sign in to comment.