cmd/evm/internal/t8ntool: update for blobfee -> blob base fee name change

This commit is contained in:
lightclient 2023-09-25 16:15:22 -06:00
parent 816794f37c
commit 3b58b64683
No known key found for this signature in database
GPG key ID: 75C916AFEE20183E

View file

@ -179,7 +179,7 @@ func (pre *Prestate) Apply(vmConfig vm.Config, chainConfig *params.ChainConfig,
} }
} }
if vmContext.ExcessBlobGas != nil { if vmContext.ExcessBlobGas != nil {
vmContext.BlobFee = eip4844.CalcBlobFee(*vmContext.ExcessBlobGas) vmContext.BlobBaseFee = eip4844.CalcBlobFee(*vmContext.ExcessBlobGas)
} }
// If DAO is supported/enabled, we need to handle it here. In geth 'proper', it's // If DAO is supported/enabled, we need to handle it here. In geth 'proper', it's
// done in StateProcessor.Process(block, ...), right before transactions are applied. // done in StateProcessor.Process(block, ...), right before transactions are applied.