Skip to content

Commit 83e70aa

Browse files
authored
cmd/evm: fix evm basefee (ethereum#30281)
fixes ethereum#30279 -- previously we did not use the basefee from the genesis, and instead the defaults were used from `runtime.go/setDefaults`-function
1 parent ebe31df commit 83e70aa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/evm/runner.go

+1
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ func runCmd(ctx *cli.Context) error {
221221
Time: genesisConfig.Timestamp,
222222
Coinbase: genesisConfig.Coinbase,
223223
BlockNumber: new(big.Int).SetUint64(genesisConfig.Number),
224+
BaseFee: genesisConfig.BaseFee,
224225
BlobHashes: blobHashes,
225226
BlobBaseFee: blobBaseFee,
226227
EVMConfig: vm.Config{

0 commit comments

Comments
 (0)