core/vm: remove BlobFeeCap

This commit is contained in:
MariusVanDerWijden 2026-02-02 09:23:13 +01:00
parent 9c55c647a0
commit 22f78b5106
3 changed files with 0 additions and 5 deletions

View file

@ -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
}

View file

@ -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
}

View file

@ -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,