diff --git a/core/evm.go b/core/evm.go index 18d940fdd228..0f376878ad09 100644 --- a/core/evm.go +++ b/core/evm.go @@ -83,9 +83,7 @@ func NewEVMTxContext(msg *Message) vm.TxContext { GasPrice: new(big.Int).Set(msg.GasPrice), BlobHashes: msg.BlobHashes, } - if msg.BlobGasFeeCap != nil { - ctx.BlobFeeCap = new(big.Int).Set(msg.BlobGasFeeCap) - } + return ctx } diff --git a/core/vm/evm.go b/core/vm/evm.go index 25a3318c0228..055422e2fc91 100644 --- a/core/vm/evm.go +++ b/core/vm/evm.go @@ -75,7 +75,6 @@ type TxContext struct { Origin common.Address // Provides information for ORIGIN GasPrice *big.Int // Provides information for GASPRICE (and is used to zero the basefee if NoBaseFee is set) BlobHashes []common.Hash // Provides information for BLOBHASH - BlobFeeCap *big.Int // Is used to zero the blobbasefee if NoBaseFee is set AccessEvents *state.AccessEvents // Capture all state accesses for this tx } diff --git a/core/vm/runtime/env.go b/core/vm/runtime/env.go index e54041f7e277..22cda889ae7a 100644 --- a/core/vm/runtime/env.go +++ b/core/vm/runtime/env.go @@ -26,7 +26,6 @@ func NewEnv(cfg *Config) *vm.EVM { Origin: cfg.Origin, GasPrice: cfg.GasPrice, BlobHashes: cfg.BlobHashes, - BlobFeeCap: cfg.BlobFeeCap, } blockContext := vm.BlockContext{ CanTransfer: core.CanTransfer,