cmd/evm: fix evm basefee (#30281)

fixes #30279 -- previously we did not use the basefee from the genesis, and instead the defaults were used from `runtime.go/setDefaults`-function
pull/30284/head
Martin HS 3 months ago committed by GitHub
parent ebe31dfd5c
commit 83e70aa3d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      cmd/evm/runner.go

@ -221,6 +221,7 @@ func runCmd(ctx *cli.Context) error {
Time: genesisConfig.Timestamp, Time: genesisConfig.Timestamp,
Coinbase: genesisConfig.Coinbase, Coinbase: genesisConfig.Coinbase,
BlockNumber: new(big.Int).SetUint64(genesisConfig.Number), BlockNumber: new(big.Int).SetUint64(genesisConfig.Number),
BaseFee: genesisConfig.BaseFee,
BlobHashes: blobHashes, BlobHashes: blobHashes,
BlobBaseFee: blobBaseFee, BlobBaseFee: blobBaseFee,
EVMConfig: vm.Config{ EVMConfig: vm.Config{

Loading…
Cancel
Save