{"eip":8075,"title":"Adaptive state cost to cap growth \u0026 scale L1","description":"Track state bytes and target 250 MiB/day by dynamically adjusting the state gas cost. Exempt state from the gas limit to facilitate scaling.","authors":["Anders Elowsson (@anderselowsson)","Francesco D'Amato (@fradamt)","Maria Silva (@misilva73)"],"status":"Draft","type":"Standards Track","category":"Core","created":"2025-10-02","requires":[1559,4844,8037],"discussionsTo":"https://ethereum-magicians.org/t/eip-8075-adaptive-state-cost-to-cap-growth-scale-l1/26450","repo":"EIPs","label":"EIP-8075","officialUrl":"https://eips.ethereum.org/EIPS/eip-8075","sourceUrl":"https://github.com/ethereum/EIPs/blob/master/EIPS/eip-8075.md","url":"https://eips.huatuo.xyz/eip-8075/","tldr":{"en":"Prices state creation with its own EIP-4844-style controller targeting about 250 MiB of new state per day, and takes state gas out of the block gas limit so higher state prices do not crowd out compute.","ja":"ステート作成に、EIP-4844 方式の専用コントローラーで価格を付け、1 日あたり約 250 MiB の新規ステートを目標にする。さらに state gas をブロックの gas limit から切り離し、ステート価格が上がっても計算処理が圧迫されないようにする。","ko":"상태 생성에 EIP-4844 방식의 전용 컨트롤러로 가격을 매겨 하루 약 250 MiB의 신규 상태를 목표로 하고, state gas를 블록 gas limit에서 분리해 상태 가격이 올라도 연산을 밀어내지 않게 한다.","zh":"为状态创建定价，使用自带的 EIP-4844 风格控制器，目标是每天约 250 MiB 的新增状态，并把 state gas 从区块 gas limit 中剥离，使更高的状态价格不会挤占计算资源。"},"tags":["gas","state-growth","fee-market","scaling","core"],"explainers":{"en":{"lang":"en","tldr":"Prices state creation with its own EIP-4844-style controller targeting about 250 MiB of new state per day, and takes state gas out of the block gas limit so higher state prices do not crowd out compute.","tags":["gas","state-growth","fee-market","scaling","core"],"related":[8037,4844,1559,7999,8011],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-8075/","markdown":"## What problem does it solve?\n\nAs Ethereum raises the block gas limit, more gas also means more room to create new accounts, contracts and storage slots, so the state database grows faster and clients slow down. [EIP-8037](/eip-8037/) answers this by pricing state creation per byte and raising it roughly 3x to 9.5x per operation. But that is a **fixed** price, and nobody knows how sensitive users are to it:\n\n- If demand barely changes, state still grows faster than desired.\n- State gas still counts against the block gas limit, so expensive state operations can eat most of each block. The spec's example estimates that after a 5x gas-limit increase, state could take about 65–79 % of all gas and real throughput for other operations would grow only about 1.5x to 2.5x.\n\nEIP-8075 targets a state growth rate directly and separates state from the regular gas limit.\n\n## How it works\n\n**A self-adjusting price per state byte.** Each block header gets three new fields: `state_bytes_created`, `state_bytes_cleared` and `excess_state_bytes`. Like blob gas in [EIP-4844](/eip-4844/), excess accumulates when net creation exceeds the target, and the price follows an exponential:\n\n| Constant | Value |\n| --- | --- |\n| `TARGET_STATE_BYTES_PER_BLOCK` | 36,400 (about 250 MiB/day) |\n| `MAX_STATE_BYTES_PER_BLOCK` | 72,800 |\n| `MIN_STATE_GAS_PER_BYTE` | 380 |\n| `STATE_GAS_UPDATE_FRACTION` | 36,418,000 (at most +0.1 % per block) |\n\nPer-operation costs are `bytes × state_gas_per_byte`, using EIP-8037's byte counts (for example 112 for a new account, 32 for a new storage slot, 1 per byte of deployed code).\n\n**Separate limits, shared base fee.** Execution tracks `regular_gas` and `state_gas` separately. Only regular gas counts against the block gas limit (header field `gas_used` renamed to `regular_gas_used`); net state bytes are capped at `MAX_STATE_BYTES_PER_BLOCK`. The [EIP-1559](/eip-1559/) base fee still reacts to both, using regular gas plus state usage normalized so that a full state budget counts like a full block.\n\nTransactions keep their format: state is still paid in gas, so users' `gas_limit` must cover state at the current per-byte price.\n\n## Sample code\n\nThe controller, from the spec (Python):\n\n```python\ndef calc_excess_state_bytes(parent) -\u003e int:\n    excess = parent.excess_state_bytes + parent.state_bytes_created\n    deficit = TARGET_STATE_BYTES_PER_BLOCK + parent.state_bytes_cleared\n    return 0 if excess \u003c deficit else excess - deficit\n\ndef get_state_gas_per_byte(header) -\u003e int:\n    return fake_exponential(MIN_STATE_GAS_PER_BYTE,\n                            header.excess_state_bytes,\n                            STATE_GAS_UPDATE_FRACTION)\n\n# Wallet-side gas limit with a safety margin m for price drift\ngas_limit = regular_gas_estimate + state_bytes * state_gas_per_byte * m\n```\n\n## Things to know\n\n- Status: **Draft**. Constants, header layout and even the overall design (vs. alternatives) are still open.\n- Because the price per state byte can drift between signing and inclusion, a transaction with a tight `gas_limit` that creates state can run out of gas. Wallets need to read `excess_state_bytes`, compute the current price and add a margin, much as they do for blob fees.\n- The spec discusses alternatives: a transaction format with separate regular-gas and state-byte limits, multidimensional metering in [EIP-8011](/eip-8011/), and aggregate-gas fee markets in [EIP-7999](/eip-7999/).\n- It builds on EIP-8037's per-byte accounting rather than replacing it.\n"},"ja":{"lang":"ja","tldr":"ステート作成に、EIP-4844 方式の専用コントローラーで価格を付け、1 日あたり約 250 MiB の新規ステートを目標にする。さらに state gas をブロックの gas limit から切り離し、ステート価格が上がっても計算処理が圧迫されないようにする。","tags":["gas","state-growth","fee-market","scaling","core"],"related":[8037,4844,1559,7999,8011],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-8075/","markdown":"## 何を解決するのか\n\nEthereum がブロックの gas limit を引き上げると、gas が増えるぶん、新しいアカウント、コントラクト、ストレージスロットを作れる余地も増えるため、ステートデータベースの成長が速まり、クライアントが遅くなります。[EIP-8037](/eip-8037/) は、ステート作成にバイト単位で価格を付け、1 オペレーションあたりおよそ 3 倍から 9.5 倍に引き上げることでこれに対処しました。しかし、それは**固定**価格であり、ユーザーがその価格にどれだけ敏感なのかは誰にも分かりません。\n\n- 需要がほとんど変わらなければ、ステートは望ましい速度より速く成長し続けます。\n- state gas は依然としてブロックの gas limit にカウントされるため、高価なステート操作が各ブロックの大半を占めてしまう可能性があります。仕様の例では、gas limit が 5 倍になった後、ステートが全 gas の約 65～79 % を占め、他のオペレーションの実効スループットは約 1.5 倍から 2.5 倍にしか伸びないと見積もっています。\n\nEIP-8075 はステートの成長率を直接の目標とし、ステートを通常の gas limit から分離します。\n\n## 仕組み\n\n**自己調整するステートバイトあたりの価格。** 各ブロックヘッダーに `state_bytes_created`、`state_bytes_cleared`、`excess_state_bytes` の 3 つのフィールドが追加されます。[EIP-4844](/eip-4844/) の blob gas と同様に、純作成量が目標を上回ると超過分が累積し、価格は指数関数に従います。\n\n| 定数 | 値 |\n| --- | --- |\n| `TARGET_STATE_BYTES_PER_BLOCK` | 36,400（約 250 MiB/日） |\n| `MAX_STATE_BYTES_PER_BLOCK` | 72,800 |\n| `MIN_STATE_GAS_PER_BYTE` | 380 |\n| `STATE_GAS_UPDATE_FRACTION` | 36,418,000（1 ブロックあたり最大 +0.1 %） |\n\nオペレーションごとのコストは `bytes × state_gas_per_byte` で、EIP-8037 のバイト数（例: 新規アカウントは 112、新規ストレージスロットは 32、デプロイされるコード 1 バイトあたり 1）を使います。\n\n**独立した上限と共有のベースフィー。** 実行時には `regular_gas` と `state_gas` を別々に追跡します。ブロックの gas limit にカウントされるのは通常の gas のみ（ヘッダーフィールド `gas_used` は `regular_gas_used` に名称変更）で、純ステートバイト数は `MAX_STATE_BYTES_PER_BLOCK` で上限が設けられます。[EIP-1559](/eip-1559/) のベースフィーは引き続き両方に反応し、通常の gas と、ステート予算を使い切ることがブロックを満杯にするのと同じ扱いになるよう正規化したステート使用量を使います。\n\nトランザクションの形式は変わりません。ステートは依然として gas で支払うので、ユーザーの `gas_limit` は現在のバイト単価でのステート分をカバーしなければなりません。\n\n## サンプルコード\n\n仕様に基づくコントローラー（Python）:\n\n```python\ndef calc_excess_state_bytes(parent) -\u003e int:\n    excess = parent.excess_state_bytes + parent.state_bytes_created\n    deficit = TARGET_STATE_BYTES_PER_BLOCK + parent.state_bytes_cleared\n    return 0 if excess \u003c deficit else excess - deficit\n\ndef get_state_gas_per_byte(header) -\u003e int:\n    return fake_exponential(MIN_STATE_GAS_PER_BYTE,\n                            header.excess_state_bytes,\n                            STATE_GAS_UPDATE_FRACTION)\n\n# Wallet-side gas limit with a safety margin m for price drift\ngas_limit = regular_gas_estimate + state_bytes * state_gas_per_byte * m\n```\n\n## 知っておくべきこと\n\n- ステータス: **Draft**。定数、ヘッダーのレイアウト、さらには（代替案との比較を含む）設計全体がまだ決まっていません。\n- ステートバイトあたりの価格は、署名から取り込みまでの間に変動し得るため、ステートを作成する `gas_limit` がぎりぎりのトランザクションは gas 切れになる可能性があります。ウォレットは blob 手数料と同様に、`excess_state_bytes` を読み取って現在の価格を計算し、マージンを加える必要があります。\n- 仕様は代替案を議論しています。通常の gas とステートバイトの上限を別々に持つトランザクション形式、[EIP-8011](/eip-8011/) の多次元メータリング、[EIP-7999](/eip-7999/) の集約 gas 手数料市場などです。\n- EIP-8037 のバイト単位の会計を置き換えるのではなく、その上に構築されます。\n"},"ko":{"lang":"ko","tldr":"상태 생성에 EIP-4844 방식의 전용 컨트롤러로 가격을 매겨 하루 약 250 MiB의 신규 상태를 목표로 하고, state gas를 블록 gas limit에서 분리해 상태 가격이 올라도 연산을 밀어내지 않게 한다.","tags":["gas","state-growth","fee-market","scaling","core"],"related":[8037,4844,1559,7999,8011],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-8075/","markdown":"## 어떤 문제를 해결하나요?\n\n이더리움이 블록 gas limit을 올리면 gas가 늘어난 만큼 새 계정, 컨트랙트, 스토리지 슬롯을 만들 여지도 커지므로 상태 데이터베이스가 더 빨리 커지고 클라이언트가 느려집니다. [EIP-8037](/eip-8037/)은 상태 생성에 바이트 단위로 가격을 매기고 작업당 대략 3배에서 9.5배로 올려 이에 대응합니다. 하지만 이는 **고정** 가격이며, 사용자가 그 가격에 얼마나 민감한지는 아무도 모릅니다.\n\n- 수요가 거의 변하지 않으면 상태는 여전히 원하는 것보다 빠르게 늘어납니다.\n- state gas는 여전히 블록 gas limit에 포함되므로, 비싼 상태 작업이 각 블록의 대부분을 차지할 수 있습니다. 명세의 예시는 gas limit이 5배 늘어난 뒤 상태가 전체 gas의 약 65–79 %를 차지할 수 있고, 다른 작업의 실질 처리량은 약 1.5배에서 2.5배만 늘어난다고 추정합니다.\n\nEIP-8075는 상태 증가율을 직접 목표로 삼고 상태를 일반 gas limit에서 분리합니다.\n\n## 어떻게 동작하나요?\n\n**스스로 조정되는 상태 바이트당 가격.** 각 블록 헤더에 `state_bytes_created`, `state_bytes_cleared`, `excess_state_bytes` 세 개의 필드가 추가됩니다. [EIP-4844](/eip-4844/)의 blob gas처럼 순 생성량이 목표를 넘으면 초과분이 누적되고, 가격은 지수 함수를 따릅니다.\n\n| 상수 | 값 |\n| --- | --- |\n| `TARGET_STATE_BYTES_PER_BLOCK` | 36,400(약 250 MiB/일) |\n| `MAX_STATE_BYTES_PER_BLOCK` | 72,800 |\n| `MIN_STATE_GAS_PER_BYTE` | 380 |\n| `STATE_GAS_UPDATE_FRACTION` | 36,418,000(블록당 최대 +0.1 %) |\n\n작업별 비용은 `bytes × state_gas_per_byte`이며, EIP-8037의 바이트 수(예: 새 계정 112, 새 스토리지 슬롯 32, 배포된 코드 바이트당 1)를 사용합니다.\n\n**분리된 한도, 공유되는 기본 수수료.** 실행은 `regular_gas`와 `state_gas`를 따로 추적합니다. 블록 gas limit에는 일반 gas만 포함되며(헤더 필드 `gas_used`는 `regular_gas_used`로 이름이 바뀝니다), 순 상태 바이트는 `MAX_STATE_BYTES_PER_BLOCK`으로 상한이 정해집니다. [EIP-1559](/eip-1559/)의 기본 수수료는 여전히 둘 모두에 반응하며, 일반 gas와, 상태 예산을 가득 채우는 것이 블록을 가득 채우는 것과 같게 계산되도록 정규화한 상태 사용량을 함께 사용합니다.\n\n트랜잭션 형식은 그대로입니다. 상태는 여전히 gas로 지불하므로, 사용자의 `gas_limit`은 현재 바이트당 가격으로 계산한 상태 비용을 감당해야 합니다.\n\n## 샘플 코드\n\n명세의 컨트롤러(Python):\n\n```python\ndef calc_excess_state_bytes(parent) -\u003e int:\n    excess = parent.excess_state_bytes + parent.state_bytes_created\n    deficit = TARGET_STATE_BYTES_PER_BLOCK + parent.state_bytes_cleared\n    return 0 if excess \u003c deficit else excess - deficit\n\ndef get_state_gas_per_byte(header) -\u003e int:\n    return fake_exponential(MIN_STATE_GAS_PER_BYTE,\n                            header.excess_state_bytes,\n                            STATE_GAS_UPDATE_FRACTION)\n\n# Wallet-side gas limit with a safety margin m for price drift\ngas_limit = regular_gas_estimate + state_bytes * state_gas_per_byte * m\n```\n\n## 알아둘 점\n\n- 상태: **Draft**. 상수, 헤더 구조, 심지어 (대안과 비교한) 전체 설계도 아직 열려 있습니다.\n- 상태 바이트당 가격은 서명 시점과 포함 시점 사이에 변동할 수 있으므로, 상태를 만드는 `gas_limit`이 빠듯한 트랜잭션은 gas가 부족해질 수 있습니다. 지갑은 blob 수수료처럼 `excess_state_bytes`를 읽어 현재 가격을 계산하고 여유분을 더해야 합니다.\n- 명세는 대안을 논의합니다. 일반 gas와 상태 바이트 한도를 따로 두는 트랜잭션 형식, [EIP-8011](/eip-8011/)의 다차원 계량, [EIP-7999](/eip-7999/)의 통합 gas 수수료 시장 등입니다.\n- EIP-8037의 바이트 단위 회계를 대체하는 것이 아니라 그 위에 구축됩니다.\n"},"zh":{"lang":"zh","tldr":"为状态创建定价，使用自带的 EIP-4844 风格控制器，目标是每天约 250 MiB 的新增状态，并把 state gas 从区块 gas limit 中剥离，使更高的状态价格不会挤占计算资源。","tags":["gas","state-growth","fee-market","scaling","core"],"related":[8037,4844,1559,7999,8011],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-8075/","markdown":"## 它解决什么问题？\n\n随着以太坊提高区块 gas limit，更多的 gas 也意味着有更多空间创建新账户、合约和存储槽，于是状态数据库增长更快，客户端变慢。[EIP-8037](/eip-8037/) 对此的回应是按字节为状态创建定价，并把每个操作的价格提高大约 3 倍到 9.5 倍。但那是一个**固定**价格，没有人知道用户对它有多敏感：\n\n- 如果需求几乎不变，状态的增长仍然快于期望。\n- state gas 仍然计入区块 gas limit，所以昂贵的状态操作会吃掉每个区块的大部分空间。规范中的例子估计，在 gas limit 提高 5 倍之后，状态可能占用全部 gas 的约 65–79 %，其他操作的实际吞吐量只会增长约 1.5 倍到 2.5 倍。\n\nEIP-8075 直接以状态增长率为目标，并把状态与常规 gas limit 分离。\n\n## 它如何运作\n\n**自我调节的每状态字节价格。** 每个区块头新增三个字段：`state_bytes_created`、`state_bytes_cleared` 和 `excess_state_bytes`。与 [EIP-4844](/eip-4844/) 中的 blob gas 类似，当净创建量超过目标时，超额部分会累积，价格按指数规律变化：\n\n| 常量 | 值 |\n| --- | --- |\n| `TARGET_STATE_BYTES_PER_BLOCK` | 36,400（约 250 MiB/天） |\n| `MAX_STATE_BYTES_PER_BLOCK` | 72,800 |\n| `MIN_STATE_GAS_PER_BYTE` | 380 |\n| `STATE_GAS_UPDATE_FRACTION` | 36,418,000（每个区块最多 +0.1 %） |\n\n每个操作的成本是 `bytes × state_gas_per_byte`，使用 EIP-8037 的字节数（例如新账户为 112，新存储槽为 32，部署的代码每字节为 1）。\n\n**独立的限制，共用的基础费用。** 执行时分别跟踪 `regular_gas` 和 `state_gas`。只有常规 gas 计入区块 gas limit（区块头字段 `gas_used` 更名为 `regular_gas_used`）；净状态字节数以 `MAX_STATE_BYTES_PER_BLOCK` 为上限。[EIP-1559](/eip-1559/) 的基础费用仍然对两者都有反应，使用常规 gas 加上经过归一化的状态用量，归一化使得用满状态预算相当于区块被填满。\n\n交易格式保持不变：状态仍然用 gas 支付，所以用户的 `gas_limit` 必须覆盖当前每字节价格下的状态成本。\n\n## 示例代码\n\n来自规范的控制器（Python）：\n\n```python\ndef calc_excess_state_bytes(parent) -\u003e int:\n    excess = parent.excess_state_bytes + parent.state_bytes_created\n    deficit = TARGET_STATE_BYTES_PER_BLOCK + parent.state_bytes_cleared\n    return 0 if excess \u003c deficit else excess - deficit\n\ndef get_state_gas_per_byte(header) -\u003e int:\n    return fake_exponential(MIN_STATE_GAS_PER_BYTE,\n                            header.excess_state_bytes,\n                            STATE_GAS_UPDATE_FRACTION)\n\n# Wallet-side gas limit with a safety margin m for price drift\ngas_limit = regular_gas_estimate + state_bytes * state_gas_per_byte * m\n```\n\n## 需要注意\n\n- 状态：**Draft**。常量、区块头布局，乃至整体设计（相对于其他方案）都仍未确定。\n- 由于每状态字节的价格在签名和打包之间可能漂移，创建状态且 `gas_limit` 很紧的交易可能会耗尽 gas。钱包需要读取 `excess_state_bytes`，计算当前价格并加上余量，就像处理 blob 费用那样。\n- 规范讨论了其他方案：带有独立常规 gas 和状态字节限制的交易格式、[EIP-8011](/eip-8011/) 中的多维计量，以及 [EIP-7999](/eip-7999/) 中的聚合 gas 费用市场。\n- 它建立在 EIP-8037 按字节计量的基础上，而不是取代它。\n"}}}
