EIPs Explained

EIP-7918 · Final · Core · 2025-03-25

EIP-7918: Blob base fee bounded by execution cost

Sets a floor on the blob base fee tied to the execution base fee, so the blob fee market keeps working instead of collapsing to 1 wei when execution costs dominate.

What problem does it solve?

EIP-4844 gave blobs their own fee market: if blocks use more blob gas than the target, the blob base fee rises; if less, it falls. That only works if the blob fee is a meaningful part of what rollups actually pay.

In practice a rollup's cost of posting blobs is dominated by the execution gas of the blob-carrying transaction (plus proof verification and tips). When blob demand was below target, the blob base fee kept dropping until it sat at 1 wei, where a 10 % change in the fee changes the rollup's total cost by almost nothing. When demand returned, it took a long run of near-full blocks to climb back to a market-clearing price, and in the meantime users fell back to bidding via tips, a worse experience.

There is also a cost argument: nodes must verify KZG proofs for every blob, which is real compute. A blob costing effectively zero underpays for that work.

How it works

EIP-7918 adds one if clause to calc_excess_blob_gas() and one constant, BLOB_BASE_COST = 2**13 (8192).

  • If one blob's price (GAS_PER_BLOB * blob_base_fee) is below the price of BLOB_BASE_COST units of execution gas, the protocol stops subtracting the target when updating excess_blob_gas. The blob base fee can then only rise, at the same maximum rate as before.
  • Otherwise the normal EIP-4844 update applies.

The effect is a reserve price: the blob base fee will not settle below BLOB_BASE_COST * base_fee_per_gas / GAS_PER_BLOB, which is 1/16 of the execution base fee per unit of blob gas. Because the floor tracks the execution base fee, it falls automatically when execution gets cheaper, rather than being a fixed number that would need retuning as Ethereum scales.

It uses the per-fork blobSchedule (target, max, update fraction) introduced by EIP-7840.

Sample code

The modified function from the spec:

BLOB_BASE_COST = 2**13

def calc_excess_blob_gas(parent: Header) -> int:
    target_blob_gas = GAS_PER_BLOB * blobSchedule.target
    if parent.excess_blob_gas + parent.blob_gas_used < target_blob_gas:
        return 0

    if BLOB_BASE_COST * parent.base_fee_per_gas > GAS_PER_BLOB * get_base_fee_per_blob_gas(parent):
        # execution-fee-led regime: only allow the blob fee to rise
        return parent.excess_blob_gas + parent.blob_gas_used * (blobSchedule.max - blobSchedule.target) // blobSchedule.max
    else:
        return parent.excess_blob_gas + parent.blob_gas_used - target_blob_gas

Checking whether the floor is binding, with ethers v6:

const block = await provider.send("eth_getBlockByNumber", ["latest", false]);
const blobBaseFee = BigInt(await provider.send("eth_blobBaseFee", []));
const reserve = (8192n * BigInt(block.baseFeePerGas)) / 131072n; // GAS_PER_BLOB = 2**17
console.log(blobBaseFee <= reserve ? "at/below reserve" : "market-led");

Things to know

  • Status: Final. It is listed in the Fusaka upgrade (EIP-7607), alongside PeerDAS (EIP-7594).
  • Rollups pay a little more in quiet periods, but blob fees become far less spiky when demand returns.
  • When execution fees jump quickly, the blob fee catches up over a few blocks rather than instantly; the authors consider this smoothing acceptable.
  • Wallet and rollup fee estimators that assumed a near-zero blob fee should read the actual blobBaseFee rather than hard-coding 1 wei.

#blobs #fees #rollups #core #fusaka

Details

Authors
Anders Elowsson (@anderselowsson), Ben Adams (@benaadams), Francesco D'Amato (@fradamt)
Status
Final
Type
Standards Track / Core
Created
2025-03-25
Requires
Required by

Machine-readable: Markdown · JSON