---
eip: 7915
label: EIP-7915
title: Adaptive mean reversion blob pricing
status: Stagnant
type: Standards Track
category: Core
created: 2025-03-23
requires: 4844
official: https://eips.ethereum.org/EIPS/eip-7915
source: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-7915.md
canonical: https://eips.huatuo.xyz/eip-7915/
lang: en
tldr: A stagnant proposal to make the blob base fee rise faster than it falls whenever it sits below its long-run average, so blob pricing snaps back to equilibrium instead of lingering at 1 wei.
tags: [blobs, fees, core, 4844, economics]
---

# EIP-7915: Adaptive mean reversion blob pricing

> Fee schedule accounting for the long-run average to quickly restore equilibrium under inelastic demand

**TL;DR:** A stagnant proposal to make the blob base fee rise faster than it falls whenever it sits below its long-run average, so blob pricing snaps back to equilibrium instead of lingering at 1 wei.

## What problem does it solve?

[EIP-4844](/eip-4844/) prices blobs with an [EIP-1559](/eip-1559/)-style base fee: above-target blob use pushes the fee up, below-target use pushes it down, with a floor of 1 wei. Demand for blobs turned out to be very fee-inelastic. After a quiet stretch the fee can collapse to the economically meaningless 1 wei, and when demand returns the protocol needs a long run of near-full blocks to climb back. Meanwhile users fall back to bidding priority fees, a first-price auction with worse UX, and resource usage becomes spiky.

A fixed minimum fee (as in [EIP-7762](/eip-7762/)) would help, but any hard-coded number goes stale as the ETH price and throughput change. EIP-7915 instead anchors the behaviour to the **long-run average** blob fee, so the mechanism stays neutral over time.

## How it works

1. **Track an average.** A new header field `base_fee_per_blob_gas_ema` stores an exponential moving average of the blob base fee. Each block it moves `1 / EMA_DECAY` (with `EMA_DECAY = 2**18`, a half-life of roughly a month) toward the current fee. For the first post-fork block it starts at 4 gwei.
2. **Compute a mean-reversion weight `w`.** If the current fee is at or above the average, `w = 1` and the normal EIP-4844 update applies. If it is below, `w` grows smoothly with the ratio average / current fee, using an eighth root (three integer square roots) and a deadband constant of 64. The ratio is capped at `10**6` to avoid extreme responses and overflow.
3. **Bend the excess-gas update.** Instead of `excess += used - target`, the update becomes `excess += used·w − target/w`. Blob usage counts for more and the target for less, so the fee rises quickly and falls slowly while it is cheap relative to history.

The schedule stays smooth at every ratio, so there is no particular blob count that block producers would want to game.

## Sample code

The modified update, adapted from the spec's Python:

```python
EMA_DECAY = 2**18
MEAN_REVERSION_DEADBAND = 64
MEAN_REVERSION_FULLBAND = 10**6

def calc_excess_blob_gas(parent) -> int:
    if parent.excess_blob_gas + parent.blob_gas_used < TARGET_BLOB_GAS_PER_BLOCK:
        return 0
    Up = 2**16
    fee, ema = get_base_fee_per_blob_gas(parent), parent.base_fee_per_blob_gas_ema
    if fee > ema:
        w = Up
    else:
        if ema // fee > MEAN_REVERSION_FULLBAND:
            ratio = Up * MEAN_REVERSION_FULLBAND      # cap extreme ratios
        else:
            ratio = Up * ema // fee
        w = (ratio + Up * MEAN_REVERSION_DEADBAND) // (MEAN_REVERSION_DEADBAND + 1)
        for _ in range(3):
            w = integer_squareroot(w * Up)      # eighth root, upsampled
    return parent.excess_blob_gas + parent.blob_gas_used * w // Up \
           - TARGET_BLOB_GAS_PER_BLOCK * Up // w

def calc_base_fee_per_blob_gas_ema(parent) -> int:
    return (parent.base_fee_per_blob_gas_ema
            + get_base_fee_per_blob_gas(parent) // EMA_DECAY
            - parent.base_fee_per_blob_gas_ema // EMA_DECAY)
```

## Things to know

- Status is **Stagnant**: it has not been scheduled for any upgrade.
- The problem it targets was addressed differently by [EIP-7918](/eip-7918/), which bounds the blob base fee by the execution-layer cost of a blob.
- It would add a new header field and require `integer_squareroot()` on the execution layer.
- Security note from the spec: when the fee is far below average, full blocks can double the blob fee each block, so a one-block delay can cost twice as much.


---

This is an unofficial plain-language summary. Read the full specification: https://eips.ethereum.org/EIPS/eip-7915
