mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
consensus/misc/eip4844: update comment
This commit is contained in:
parent
9d40d522ab
commit
023d27f050
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue