consensus/misc/eip4844: update comment

This commit is contained in:
Felix Lange 2025-06-09 16:16:17 +02:00
parent 9d40d522ab
commit 023d27f050

View file

@ -82,7 +82,8 @@ func CalcExcessBlobGas(config *params.ChainConfig, parent *types.Header, headTim
if !config.IsOsaka(config.LondonBlock, headTimestamp) { if !config.IsOsaka(config.LondonBlock, headTimestamp) {
return excessBlobGas - targetGas return excessBlobGas - targetGas
} }
// EIP-7918.
// EIP-7918 (post-Osaka).
var ( var (
reservePrice = new(big.Int).Mul(parent.BaseFee, big.NewInt(params.BlobBaseCost)) reservePrice = new(big.Int).Mul(parent.BaseFee, big.NewInt(params.BlobBaseCost))
blobPrice = calcBlobPrice(config, parent) blobPrice = calcBlobPrice(config, parent)