Skip to content

Commit

Permalink
cmd/evm: fix evm basefee (ethereum#30281)
Browse files Browse the repository at this point in the history
fixes ethereum#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 and leeren committed Aug 16, 2024
1 parent ce7a227 commit d763600
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 d763600

Please sign in to comment.