mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 03:10:48 +00:00
core/vm: remove BlobFeeCap
This commit is contained in:
parent
9c55c647a0
commit
22f78b5106
3 changed files with 0 additions and 5 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue