{"eip":7840,"title":"Add blob schedule to EL config files","description":"Include per-fork blob parameters in client configuration files","authors":["lightclient (@lightclient)"],"status":"Final","type":"Informational","created":"2024-12-12","discussionsTo":"https://ethereum-magicians.org/t/add-blob-schedule-to-execution-client-configuration-files/22182","repo":"EIPs","label":"EIP-7840","officialUrl":"https://eips.ethereum.org/EIPS/eip-7840","sourceUrl":"https://github.com/ethereum/EIPs/blob/master/EIPS/eip-7840.md","url":"https://eips.huatuo.xyz/eip-7840/","tldr":{"en":"Adds a per-fork blobSchedule (target, max and base-fee update fraction) to execution-client config files, so blob parameters can change between forks without an Engine API handshake.","ja":"実行クライアントの設定ファイルにフォークごとの blobSchedule（ターゲット、最大数、base fee 更新係数）を追加し、Engine API のハンドシェイクなしでフォーク間で blob パラメータを変更できるようにする。","ko":"실행 클라이언트 설정 파일에 포크별 blobSchedule(목표치, 최대치, base fee 갱신 계수)을 추가해, Engine API 핸드셰이크 없이 포크 사이에 blob 파라미터를 바꿀 수 있게 한다.","zh":"在执行客户端配置文件中加入按分叉区分的 blobSchedule（目标值、最大值和基础费用更新系数），使 blob 参数可以在分叉之间变化，而无需 Engine API 握手。"},"tags":["blobs","config","execution-client","informational"],"explainers":{"en":{"lang":"en","tldr":"Adds a per-fork blobSchedule (target, max and base-fee update fraction) to execution-client config files, so blob parameters can change between forks without an Engine API handshake.","tags":["blobs","config","execution-client","informational"],"related":[4844,7691,7742,7892],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-7840/","markdown":"## What problem does it solve?\n\n[EIP-4844](/eip-4844/) hard-coded blob parameters in clients. The community wanted to raise blob throughput fork by fork, which means changing the target and max blobs per block, and also how quickly the blob base fee reacts.\n\nIdeally only the consensus client would know these numbers. In practice execution clients need them too: for example, the `eth_feeHistory` RPC returns `blobGasUsedRatio`, which needs the max. An earlier idea, [EIP-7742](/eip-7742/), would have sent the target over the Engine API every block and added a header field. EIP-7840 takes a simpler route: put the numbers in the client's configuration.\n\n## How it works\n\nExecution-client configuration files (the chain config / genesis file) gain a `blobSchedule` object, keyed by fork name. For each fork it lists:\n\n- `target`: target blobs per block (drives the blob base fee);\n- `max`: maximum blobs per block;\n- `baseFeeUpdateFraction`: the denominator that controls how fast the blob base fee moves.\n\nClients must configure all three for each fork. If an entry is missing or incomplete, behavior is undefined and left to each client.\n\nRationale: passing these values over the Engine API every block was judged overkill, and a static per-fork config is a good middle ground.\n\n## Sample code\n\nThe example from the spec, with Cancun and Prague values:\n\n```json\n{\n  \"config\": {\n    \"chainId\": 1,\n    \"blobSchedule\": {\n      \"cancun\": {\n        \"target\": 3,\n        \"max\": 6,\n        \"baseFeeUpdateFraction\": 3338477\n      },\n      \"prague\": {\n        \"target\": 6,\n        \"max\": 9,\n        \"baseFeeUpdateFraction\": 5007716\n      }\n    }\n  }\n}\n```\n\nReading the active entry in a tool (TypeScript):\n\n```ts\ntype BlobParams = { target: number; max: number; baseFeeUpdateFraction: number };\n\nfunction blobParamsFor(fork: string, cfg: { blobSchedule: Record\u003cstring, BlobParams\u003e }) {\n  const p = cfg.blobSchedule[fork];\n  if (!p) throw new Error(`no blobSchedule entry for ${fork}`);\n  return p;\n}\n```\n\n## Things to know\n\n- **Status: Final** (Informational). It describes a client configuration convention, not a consensus rule.\n- The Prague values above correspond to the blob increase in [EIP-7691](/eip-7691/).\n- Later blob changes can be made through blob-parameter-only forks ([EIP-7892](/eip-7892/)); each such fork gets its own `blobSchedule` entry.\n- If you run a private network or devnet, make sure every fork you activate has a complete entry; clients may refuse to start or behave differently otherwise.\n"},"ja":{"lang":"ja","tldr":"実行クライアントの設定ファイルにフォークごとの blobSchedule（ターゲット、最大数、base fee 更新係数）を追加し、Engine API のハンドシェイクなしでフォーク間で blob パラメータを変更できるようにする。","tags":["blobs","config","execution-client","informational"],"related":[4844,7691,7742,7892],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-7840/","markdown":"## 何を解決するのか\n\n[EIP-4844](/eip-4844/) は blob のパラメータをクライアントにハードコードしました。コミュニティはフォークごとに blob のスループットを引き上げたいと考えており、そのためにはブロックあたりの blob のターゲットと最大数、さらに blob の base fee がどれだけ速く反応するかを変える必要があります。\n\n理想的には、これらの数値を知っているのはコンセンサスクライアントだけであるべきです。実際には実行クライアントも必要とします。たとえば、`eth_feeHistory` RPC は `blobGasUsedRatio` を返しますが、これには最大数が必要です。以前の案である [EIP-7742](/eip-7742/) は、ブロックごとに Engine API でターゲットを送り、ヘッダーフィールドを追加するものでした。EIP-7840 はもっと単純な道を取り、数値をクライアントの設定に置きます。\n\n## 仕組み\n\n実行クライアントの設定ファイル（チェーン設定 / ジェネシスファイル）に、フォーク名をキーとする `blobSchedule` オブジェクトが加わります。各フォークについて、次の項目を列挙します。\n\n- `target`: ブロックあたりの blob のターゲット数（blob の base fee を決定します）\n- `max`: ブロックあたりの blob の最大数\n- `baseFeeUpdateFraction`: blob の base fee がどれだけ速く動くかを制御する分母\n\nクライアントは、各フォークについてこの 3 つすべてを設定しなければなりません。エントリが欠けている、または不完全な場合、動作は未定義で、各クライアントに任されます。\n\n根拠: これらの値をブロックごとに Engine API で渡すのは過剰だと判断され、フォークごとの静的な設定が良い折衷案とされました。\n\n## サンプルコード\n\n仕様の例（Cancun と Prague の値）:\n\n```json\n{\n  \"config\": {\n    \"chainId\": 1,\n    \"blobSchedule\": {\n      \"cancun\": {\n        \"target\": 3,\n        \"max\": 6,\n        \"baseFeeUpdateFraction\": 3338477\n      },\n      \"prague\": {\n        \"target\": 6,\n        \"max\": 9,\n        \"baseFeeUpdateFraction\": 5007716\n      }\n    }\n  }\n}\n```\n\nツールで有効なエントリを読み取る例（TypeScript）:\n\n```ts\ntype BlobParams = { target: number; max: number; baseFeeUpdateFraction: number };\n\nfunction blobParamsFor(fork: string, cfg: { blobSchedule: Record\u003cstring, BlobParams\u003e }) {\n  const p = cfg.blobSchedule[fork];\n  if (!p) throw new Error(`no blobSchedule entry for ${fork}`);\n  return p;\n}\n```\n\n## 知っておくべきこと\n\n- **ステータス: Final**（Informational）。コンセンサスルールではなく、クライアント設定の慣習を記述しています。\n- 上記の Prague の値は、[EIP-7691](/eip-7691/) による blob の増加に対応しています。\n- 以降の blob の変更は、blob パラメータのみを変更するフォーク（[EIP-7892](/eip-7892/)）で行えます。そのようなフォークにはそれぞれ独自の `blobSchedule` エントリが付きます。\n- プライベートネットワークや devnet を運用する場合は、有効化するすべてのフォークに完全なエントリがあることを確認してください。そうでないと、クライアントが起動を拒否したり、異なる動作をしたりすることがあります。\n"},"ko":{"lang":"ko","tldr":"실행 클라이언트 설정 파일에 포크별 blobSchedule(목표치, 최대치, base fee 갱신 계수)을 추가해, Engine API 핸드셰이크 없이 포크 사이에 blob 파라미터를 바꿀 수 있게 한다.","tags":["blobs","config","execution-client","informational"],"related":[4844,7691,7742,7892],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-7840/","markdown":"## 어떤 문제를 해결하나요?\n\n[EIP-4844](/eip-4844/)는 blob 파라미터를 클라이언트에 하드코딩했습니다. 커뮤니티는 포크마다 blob 처리량을 늘리고 싶어 했고, 이는 블록당 blob의 목표치와 최대치, 그리고 blob base fee가 얼마나 빨리 반응하는지를 바꿔야 한다는 뜻입니다.\n\n이상적으로는 합의 클라이언트만 이 숫자를 알면 됩니다. 현실에서는 실행 클라이언트도 필요합니다. 예를 들어 `eth_feeHistory` RPC는 `blobGasUsedRatio`를 반환하는데, 이를 위해 최대치가 필요합니다. 앞선 아이디어인 [EIP-7742](/eip-7742/)는 매 블록 Engine API로 목표치를 보내고 헤더 필드를 추가하는 방식이었습니다. EIP-7840은 더 단순한 길을 택해, 숫자를 클라이언트 설정에 넣습니다.\n\n## 어떻게 동작하나요?\n\n실행 클라이언트 설정 파일(체인 설정 / 제네시스 파일)에 포크 이름을 키로 하는 `blobSchedule` 객체가 추가됩니다. 각 포크마다 다음을 나열합니다.\n\n- `target`: 블록당 blob 목표 개수(blob base fee를 결정)\n- `max`: 블록당 blob 최대 개수\n- `baseFeeUpdateFraction`: blob base fee가 얼마나 빨리 움직일지를 정하는 분모\n\n클라이언트는 각 포크마다 이 세 가지를 모두 설정해야 합니다. 항목이 없거나 불완전하면 동작은 정의되지 않으며 각 클라이언트에 맡겨집니다.\n\n근거: 이 값들을 매 블록 Engine API로 전달하는 것은 과하다고 판단되었고, 포크별 정적 설정이 좋은 절충안이라고 보았습니다.\n\n## 샘플 코드\n\n명세의 예시로, Cancun과 Prague 값입니다.\n\n```json\n{\n  \"config\": {\n    \"chainId\": 1,\n    \"blobSchedule\": {\n      \"cancun\": {\n        \"target\": 3,\n        \"max\": 6,\n        \"baseFeeUpdateFraction\": 3338477\n      },\n      \"prague\": {\n        \"target\": 6,\n        \"max\": 9,\n        \"baseFeeUpdateFraction\": 5007716\n      }\n    }\n  }\n}\n```\n\n도구에서 활성 항목을 읽는 예(TypeScript):\n\n```ts\ntype BlobParams = { target: number; max: number; baseFeeUpdateFraction: number };\n\nfunction blobParamsFor(fork: string, cfg: { blobSchedule: Record\u003cstring, BlobParams\u003e }) {\n  const p = cfg.blobSchedule[fork];\n  if (!p) throw new Error(`no blobSchedule entry for ${fork}`);\n  return p;\n}\n```\n\n## 알아둘 점\n\n- **상태: Final**(Informational). 합의 규칙이 아니라 클라이언트 설정 관례를 설명합니다.\n- 위의 Prague 값은 [EIP-7691](/eip-7691/)의 blob 증가에 해당합니다.\n- 이후의 blob 변경은 blob 파라미터만 바꾸는 포크([EIP-7892](/eip-7892/))로 할 수 있으며, 그런 포크마다 고유한 `blobSchedule` 항목이 생깁니다.\n- 프라이빗 네트워크나 devnet을 운영한다면, 활성화하는 모든 포크에 완전한 항목이 있는지 확인하세요. 그렇지 않으면 클라이언트가 시작을 거부하거나 다르게 동작할 수 있습니다.\n"},"zh":{"lang":"zh","tldr":"在执行客户端配置文件中加入按分叉区分的 blobSchedule（目标值、最大值和基础费用更新系数），使 blob 参数可以在分叉之间变化，而无需 Engine API 握手。","tags":["blobs","config","execution-client","informational"],"related":[4844,7691,7742,7892],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-7840/","markdown":"## 它解决什么问题？\n\n[EIP-4844](/eip-4844/) 把 blob 参数硬编码在客户端中。社区希望逐个分叉地提高 blob 吞吐量，这意味着要修改每个区块的 blob 目标值和最大值，以及 blob 基础费用的响应速度。\n\n理想情况下，只有共识客户端需要知道这些数字。但实际上执行客户端也需要它们：例如 `eth_feeHistory` RPC 会返回 `blobGasUsedRatio`，这需要用到最大值。更早的方案 [EIP-7742](/eip-7742/) 会在每个区块通过 Engine API 发送目标值，并新增一个区块头字段。EIP-7840 采取了更简单的做法：把这些数字放进客户端的配置中。\n\n## 它如何运作\n\n执行客户端的配置文件（链配置 / 创世文件）新增一个以分叉名称为键的 `blobSchedule` 对象。对于每个分叉，它列出：\n\n- `target`：每个区块的 blob 目标数量（决定 blob 基础费用）；\n- `max`：每个区块的 blob 最大数量；\n- `baseFeeUpdateFraction`：控制 blob 基础费用变化速度的分母。\n\n客户端必须为每个分叉配置这三项。如果条目缺失或不完整，行为未定义，由各客户端自行决定。\n\n理由：每个区块都通过 Engine API 传递这些值被认为过度，而按分叉的静态配置是一个不错的折中。\n\n## 示例代码\n\n规范中的示例，包含 Cancun 和 Prague 的取值：\n\n```json\n{\n  \"config\": {\n    \"chainId\": 1,\n    \"blobSchedule\": {\n      \"cancun\": {\n        \"target\": 3,\n        \"max\": 6,\n        \"baseFeeUpdateFraction\": 3338477\n      },\n      \"prague\": {\n        \"target\": 6,\n        \"max\": 9,\n        \"baseFeeUpdateFraction\": 5007716\n      }\n    }\n  }\n}\n```\n\n在工具中读取当前生效的条目（TypeScript）：\n\n```ts\ntype BlobParams = { target: number; max: number; baseFeeUpdateFraction: number };\n\nfunction blobParamsFor(fork: string, cfg: { blobSchedule: Record\u003cstring, BlobParams\u003e }) {\n  const p = cfg.blobSchedule[fork];\n  if (!p) throw new Error(`no blobSchedule entry for ${fork}`);\n  return p;\n}\n```\n\n## 需要注意\n\n- **状态：Final**（Informational）。它描述的是客户端配置约定，而不是共识规则。\n- 上面的 Prague 取值对应 [EIP-7691](/eip-7691/) 中的 blob 增加。\n- 之后的 blob 调整可以通过仅修改 blob 参数的分叉来进行（[EIP-7892](/eip-7892/)）；每个这样的分叉都有自己的 `blobSchedule` 条目。\n- 如果你运行私有网络或 devnet，请确保你激活的每个分叉都有完整的条目；否则客户端可能拒绝启动，或表现不同。\n"}},"requiredBy":[7892,7918,7999]}
