diff --git a/core/evm.go b/core/evm.go index 3ca4c41e2f..2e7e138b59 100644 --- a/core/evm.go +++ b/core/evm.go @@ -83,9 +83,6 @@ func NewEVMTxContext(msg *Message) vm.TxContext { GasPrice: uint256.MustFromBig(msg.GasPrice), BlobHashes: msg.BlobHashes, } - if msg.BlobGasFeeCap != nil { - ctx.BlobFeeCap = uint256.MustFromBig(msg.BlobGasFeeCap) - } return ctx } diff --git a/core/vm/evm.go b/core/vm/evm.go index a7721bc076..875fdb5ed6 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 *uint256.Int // Provides information for GASPRICE (and is used to zero the basefee if NoBaseFee is set) BlobHashes []common.Hash // Provides information for BLOBHASH - BlobFeeCap *uint256.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 5ea67b2e91..4181e08ee8 100644 --- a/core/vm/runtime/env.go +++ b/core/vm/runtime/env.go @@ -27,7 +27,6 @@ func NewEnv(cfg *Config) *vm.EVM { Origin: cfg.Origin, GasPrice: uint256.MustFromBig(cfg.GasPrice), BlobHashes: cfg.BlobHashes, - BlobFeeCap: uint256.MustFromBig(cfg.BlobFeeCap), } blockContext := vm.BlockContext{ CanTransfer: core.CanTransfer,