---
eip: 8296
label: EIP-8296
title: Fixed-Cutoff State Tiering
status: Draft
type: Standards Track
category: Core
created: 2026-06-10
requires: 2929, 7702, 7825, 8037, 8038, 8188
official: https://eips.ethereum.org/EIPS/eip-8296
source: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-8296.md
canonical: https://eips.huatuo.xyz/eip-8296/
lang: en
tldr: Picks one cutoff block and charges extra gas for writing to any account or storage slot not modified since then, so long-dormant state can live in cheap cold storage without being deleted or needing a resurrection mechanism.
tags: [core, gas, state, state-expiry, pricing]
---

# EIP-8296: Fixed-Cutoff State Tiering

> Surcharges writes to state unmutated since a fixed cutoff block

**TL;DR:** Picks one cutoff block and charges extra gas for writing to any account or storage slot not modified since then, so long-dormant state can live in cheap cold storage without being deleted or needing a resurrection mechanism.

## What problem does it solve?

Most of Ethereum's state is cold: written once and never touched again. Yet nodes keep it in the same working database as busy state, and writing to a long-dormant slot costs exactly the same as writing to one updated a moment ago. Full "state expiry" schemes would delete old state, but they bring hard problems: witnesses to revive expired data and conflicts when it is resurrected.

EIP-8296 takes a simpler path. It never removes anything from the state trie; it just makes reviving old state for writing cost more. That lets clients move the dormant set out of their hot database (for example into shared, immutable files) while keeping it fully provable.

## How it works

- **One cutoff.** Social consensus picks a `CUTOFF_BLOCK`. Using the `last_written_block` field from [EIP-8188](/eip-8188/), any account or slot last written before the cutoff is **Inactive**; everything else is **Active**.
- **Write surcharge.** Each time an operation modifies an existing Inactive leaf, it pays `INACTIVE_ACCOUNT_WRITE_SURCHARGE` or `INACTIVE_STORAGE_WRITE_SURCHARGE` on top of normal gas (from [EIP-8038](/eip-8038/) / [EIP-8037](/eip-8037/)). The write then marks the leaf Active, so it is charged at most once per block and never again under this EIP.
- **What counts.** Changing an existing slot surcharges the slot and its account (because `storageRoot` changes). Value transfers surcharge sender and receiver; nonce bumps, `CREATE` (the creator) and [EIP-7702](/eip-7702/) authorizations surcharge the affected account. Brand-new accounts, slots and code are never surcharged. Reads are never surcharged.
- **Regular gas, not state gas.** The surcharge is I/O cost: it is not refunded, it stays consumed even if the frame reverts, and it counts toward the [EIP-7825](/eip-7825/) per-transaction cap.
- **Separate from warm/cold.** [EIP-2929](/eip-2929/)'s warm/cold access pricing still applies as before; the Active/Inactive tier is an extra, write-only dimension.
- **Recommended, not consensus:** clients should agree on a shared, self-verifying file format for the Inactive set, distributed like era files for block history.

## Sample code

Pricing an `SSTORE` that changes an existing slot (Python-style pseudocode; surcharge values are still TBD):

```python
def inactive(leaf, CUTOFF_BLOCK):
    return leaf.last_written_block < CUTOFF_BLOCK   # tier read *before* the write

def sstore_surcharge(account, slot, new_value, block_number):
    extra = 0
    slot_exists = slot.value != 0
    changed = slot.value != new_value
    if changed:
        if slot_exists and new_value != 0 and inactive(slot, CUTOFF_BLOCK):
            extra += INACTIVE_STORAGE_WRITE_SURCHARGE     # existing slot modified
        if inactive(account, CUTOFF_BLOCK):
            extra += INACTIVE_ACCOUNT_WRITE_SURCHARGE     # storageRoot cascade
        # EIP-8188 then sets last_written_block = block_number on both
    return extra   # added to normal SSTORE gas, non-refundable
```

## Things to know

- Status: **Draft**. The cutoff block and both surcharge amounts are TBD, and test cases are not yet written.
- Depends on EIP-8188 and must activate at or after it, with the cutoff above EIP-8188's activation block.
- A fixed cutoff never re-ages state: once something is written it stays Active until a future fork moves the cutoff forward. The spec flags this monotonic growth as the main weakness compared with a rolling-period design.
- "Inactive" means not *written* recently; it can still be read every block. Clients that move Inactive data to slow storage must consider read frequency to avoid DoS.
- Wallets and `eth_estimateGas` would need to include the surcharge when a transaction touches Inactive state.


---

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