{"eip":8096,"title":"Increase Gas Cost of Point Evaluation","description":"Increases cost of point evaluation precompile","authors":["Marcin Sobczak (@marcindsobczak)","Kamil Chodoła (@kamilchodola)","Marek Moraczyński (@MarekM25)"],"status":"Draft","type":"Standards Track","category":"Core","created":"2025-12-02","requires":[4844],"discussionsTo":"https://ethereum-magicians.org/t/eip-8096-point-evaluation-precompile-gas-cost-increase/26867","repo":"EIPs","label":"EIP-8096","officialUrl":"https://eips.ethereum.org/EIPS/eip-8096","sourceUrl":"https://github.com/ethereum/EIPs/blob/master/EIPS/eip-8096.md","url":"https://eips.huatuo.xyz/eip-8096/","tldr":{"en":"Doubles the gas cost of the EIP-4844 KZG point evaluation precompile from 50,000 to 100,000, because benchmarks show it is underpriced and it would otherwise hold back block gas limit increases.","ja":"EIP-4844 の KZG ポイント評価プリコンパイルのガスコストを 50,000 から 100,000 へ倍増する。ベンチマークで価格が低すぎることが示されており、放置するとブロックの gas limit 引き上げの足かせになるため。","ko":"EIP-4844 KZG 포인트 평가 프리컴파일의 가스 비용을 50,000에서 100,000으로 두 배로 올린다. 벤치마크 결과 가격이 너무 낮고, 그대로 두면 블록 gas limit 증가의 발목을 잡기 때문이다.","zh":"将 EIP-4844 KZG 点求值预编译的 gas 成本从 50,000 翻倍到 100,000，因为基准测试表明它定价偏低，否则会拖累区块 gas limit 的提升。"},"tags":["gas","precompile","kzg","repricing","core"],"explainers":{"en":{"lang":"en","tldr":"Doubles the gas cost of the EIP-4844 KZG point evaluation precompile from 50,000 to 100,000, because benchmarks show it is underpriced and it would otherwise hold back block gas limit increases.","tags":["gas","precompile","kzg","repricing","core"],"related":[4844,7883,7904],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-8096/","markdown":"## What problem does it solve?\n\n[EIP-4844](/eip-4844/) (proto-danksharding) added a precompile at address `0x0A` that verifies a KZG proof: given a blob's versioned hash, a point `z`, a claimed value `y` and a proof, it checks that the committed polynomial really evaluates to `y` at `z`. Rollups use it to prove things about blob data from inside the EVM.\n\nIts price was fixed at 50,000 gas. Client teams benchmarking the precompile found that this is too cheap for the actual work involved. That matters for scaling: the block gas limit can only be raised safely if *every* operation's worst case fits in the time budget of a block. A block filled with underpriced point evaluations would become one of the slowest possible blocks, which caps how far the gas limit can go.\n\n## How it works\n\nThe change is a single number:\n\n| | Before | After |\n| --- | --- | --- |\n| Point evaluation precompile (`0x0A`) | 50,000 gas | 100,000 gas |\n\nInputs, outputs and the verification logic stay exactly the same. Only the gas charged per call changes, starting at the fork where the EIP activates.\n\nThis is part of a wider effort to reprice operations whose cost no longer matches real resource usage, in the same spirit as the ModExp increase in [EIP-7883](/eip-7883/) and the broader compute analysis in [EIP-7904](/eip-7904/).\n\n## Sample code\n\nA rollup-style contract that calls the precompile. The gas forwarded must cover the new price:\n\n```solidity\n// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nlibrary PointEvaluation {\n    address constant PRECOMPILE = address(0x0A);\n    uint256 constant GAS_COST = 100_000; // was 50_000 before EIP-8096\n\n    /// input = versionedHash (32) | z (32) | y (32) | commitment (48) | proof (48)\n    function verify(bytes memory input) internal view returns (bool ok) {\n        require(input.length == 192, \"bad input\");\n        (ok, ) = PRECOMPILE.staticcall{gas: GAS_COST}(input);\n    }\n}\n```\n\nEstimating the effect in an off-chain gas budget:\n\n```ts\nconst POINT_EVAL_GAS_OLD = 50_000n;\nconst POINT_EVAL_GAS_NEW = 100_000n;\nconst proofsPerBatch = 6n;\nconsole.log(\"extra gas per batch:\", (POINT_EVAL_GAS_NEW - POINT_EVAL_GAS_OLD) * proofsPerBatch);\n```\n\n## Things to know\n\n- **Status: Draft.** The new cost and the fork it would ship in are not final.\n- It is backwards-incompatible for contracts that hard-code a gas stipend of around 50,000 for the call: those calls will run out of gas after activation. Forward enough gas, or avoid hard-coded stipends.\n- Rollups that verify many point evaluations per batch will see higher L1 verification costs; the change does not touch blob gas itself.\n- Nothing becomes cheaper, so the EIP introduces no new attack surface; the motivation is to remove a worst-case block that limits gas limit increases.\n"},"ja":{"lang":"ja","tldr":"EIP-4844 の KZG ポイント評価プリコンパイルのガスコストを 50,000 から 100,000 へ倍増する。ベンチマークで価格が低すぎることが示されており、放置するとブロックの gas limit 引き上げの足かせになるため。","tags":["gas","precompile","kzg","repricing","core"],"related":[4844,7883,7904],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-8096/","markdown":"## 何を解決するのか\n\n[EIP-4844](/eip-4844/)（proto-danksharding）はアドレス `0x0A` に、KZG 証明を検証するプリコンパイルを追加しました。blob のバージョン付きハッシュ、点 `z`、主張される値 `y`、証明が与えられたとき、コミットされた多項式が `z` で実際に `y` に評価されることを確認します。ロールアップは、EVM 内から blob データについて証明するためにこれを使います。\n\n価格は 50,000 gas に固定されていました。クライアントチームがこのプリコンパイルをベンチマークしたところ、実際の処理に対して安すぎることが分かりました。これはスケーリングにとって重要です。ブロックの gas limit は、*すべての*オペレーションの最悪ケースがブロックの時間予算に収まる場合にのみ、安全に引き上げられます。価格が低すぎるポイント評価でブロックを埋めると、可能な限り最も遅いブロックの 1 つになり、gas limit をどこまで上げられるかに上限をかけてしまいます。\n\n## 仕組み\n\n変更は数値 1 つだけです。\n\n| | 変更前 | 変更後 |\n| --- | --- | --- |\n| ポイント評価プリコンパイル（`0x0A`） | 50,000 gas | 100,000 gas |\n\n入力、出力、検証ロジックはまったく同じままです。この EIP が有効になるフォークから、呼び出しごとに課される gas だけが変わります。\n\nこれは、コストが実際のリソース使用量と合わなくなったオペレーションを再価格付けする、より広い取り組みの一部であり、[EIP-7883](/eip-7883/) の ModExp 引き上げや [EIP-7904](/eip-7904/) のより広範な計算分析と同じ精神に基づいています。\n\n## サンプルコード\n\nプリコンパイルを呼び出すロールアップ風のコントラクト。転送する gas は新しい価格をカバーしている必要があります。\n\n```solidity\n// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nlibrary PointEvaluation {\n    address constant PRECOMPILE = address(0x0A);\n    uint256 constant GAS_COST = 100_000; // was 50_000 before EIP-8096\n\n    /// input = versionedHash (32) | z (32) | y (32) | commitment (48) | proof (48)\n    function verify(bytes memory input) internal view returns (bool ok) {\n        require(input.length == 192, \"bad input\");\n        (ok, ) = PRECOMPILE.staticcall{gas: GAS_COST}(input);\n    }\n}\n```\n\nオフチェーンの gas 予算で影響を見積もる:\n\n```ts\nconst POINT_EVAL_GAS_OLD = 50_000n;\nconst POINT_EVAL_GAS_NEW = 100_000n;\nconst proofsPerBatch = 6n;\nconsole.log(\"extra gas per batch:\", (POINT_EVAL_GAS_NEW - POINT_EVAL_GAS_OLD) * proofsPerBatch);\n```\n\n## 知っておくべきこと\n\n- **ステータス: Draft。** 新しいコストと、それが含まれるフォークは確定していません。\n- この呼び出しに約 50,000 の gas スタイペンドをハードコードしているコントラクトには後方互換性がありません。有効化後、そうした呼び出しは gas 切れになります。十分な gas を転送するか、ハードコードされたスタイペンドを避けてください。\n- バッチごとに多数のポイント評価を検証するロールアップは、L1 での検証コストが上がります。この変更は blob gas 自体には影響しません。\n- 安くなるものはないため、この EIP は新たな攻撃面を生みません。動機は、gas limit の引き上げを制限している最悪ケースのブロックを取り除くことです。\n"},"ko":{"lang":"ko","tldr":"EIP-4844 KZG 포인트 평가 프리컴파일의 가스 비용을 50,000에서 100,000으로 두 배로 올린다. 벤치마크 결과 가격이 너무 낮고, 그대로 두면 블록 gas limit 증가의 발목을 잡기 때문이다.","tags":["gas","precompile","kzg","repricing","core"],"related":[4844,7883,7904],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-8096/","markdown":"## 어떤 문제를 해결하나요?\n\n[EIP-4844](/eip-4844/)(proto-danksharding)는 주소 `0x0A`에 KZG 증명을 검증하는 프리컴파일을 추가했습니다. blob의 버전이 붙은 해시, 점 `z`, 주장하는 값 `y`, 증명이 주어지면 커밋된 다항식이 `z`에서 실제로 `y`로 평가되는지 확인합니다. 롤업은 EVM 안에서 blob 데이터에 대해 증명하기 위해 이를 사용합니다.\n\n가격은 50,000 gas로 고정되어 있었습니다. 클라이언트 팀들이 이 프리컴파일을 벤치마크해 보니, 실제 작업량에 비해 너무 싸다는 것을 알게 되었습니다. 이는 확장성에 중요합니다. 블록 gas limit은 *모든* 작업의 최악의 경우가 블록의 시간 예산 안에 들어올 때만 안전하게 올릴 수 있습니다. 가격이 낮게 책정된 포인트 평가로 가득 찬 블록은 가능한 가장 느린 블록 중 하나가 되어, gas limit을 얼마나 올릴 수 있는지에 한계를 두게 됩니다.\n\n## 어떻게 동작하나요?\n\n변경은 숫자 하나입니다.\n\n| | 이전 | 이후 |\n| --- | --- | --- |\n| 포인트 평가 프리컴파일(`0x0A`) | 50,000 gas | 100,000 gas |\n\n입력, 출력, 검증 로직은 완전히 그대로입니다. 이 EIP가 활성화되는 포크부터 호출당 부과되는 gas만 바뀝니다.\n\n이는 비용이 실제 자원 사용량과 더 이상 맞지 않는 작업의 가격을 다시 매기려는 더 넓은 노력의 일부이며, [EIP-7883](/eip-7883/)의 ModExp 인상과 [EIP-7904](/eip-7904/)의 더 폭넓은 연산 분석과 같은 취지입니다.\n\n## 샘플 코드\n\n프리컴파일을 호출하는 롤업 스타일 컨트랙트. 전달하는 gas는 새 가격을 감당해야 합니다.\n\n```solidity\n// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nlibrary PointEvaluation {\n    address constant PRECOMPILE = address(0x0A);\n    uint256 constant GAS_COST = 100_000; // was 50_000 before EIP-8096\n\n    /// input = versionedHash (32) | z (32) | y (32) | commitment (48) | proof (48)\n    function verify(bytes memory input) internal view returns (bool ok) {\n        require(input.length == 192, \"bad input\");\n        (ok, ) = PRECOMPILE.staticcall{gas: GAS_COST}(input);\n    }\n}\n```\n\n오프체인 gas 예산에서 영향을 추정하기:\n\n```ts\nconst POINT_EVAL_GAS_OLD = 50_000n;\nconst POINT_EVAL_GAS_NEW = 100_000n;\nconst proofsPerBatch = 6n;\nconsole.log(\"extra gas per batch:\", (POINT_EVAL_GAS_NEW - POINT_EVAL_GAS_OLD) * proofsPerBatch);\n```\n\n## 알아둘 점\n\n- **상태: Draft.** 새 비용과 이것이 포함될 포크는 확정되지 않았습니다.\n- 이 호출에 약 50,000의 gas 스타이펜드를 하드코딩한 컨트랙트에는 하위 호환되지 않습니다. 활성화 후 해당 호출은 gas가 부족해집니다. 충분한 gas를 전달하거나 하드코딩된 스타이펜드를 피하세요.\n- 배치마다 많은 포인트 평가를 검증하는 롤업은 L1 검증 비용이 높아집니다. 이 변경은 blob gas 자체에는 영향을 주지 않습니다.\n- 더 저렴해지는 것은 없으므로 이 EIP는 새로운 공격 표면을 만들지 않습니다. 동기는 gas limit 증가를 제한하는 최악의 경우 블록을 없애는 것입니다.\n"},"zh":{"lang":"zh","tldr":"将 EIP-4844 KZG 点求值预编译的 gas 成本从 50,000 翻倍到 100,000，因为基准测试表明它定价偏低，否则会拖累区块 gas limit 的提升。","tags":["gas","precompile","kzg","repricing","core"],"related":[4844,7883,7904],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-8096/","markdown":"## 它解决什么问题？\n\n[EIP-4844](/eip-4844/)（proto-danksharding）在地址 `0x0A` 添加了一个验证 KZG 证明的预编译：给定 blob 的带版本哈希、一个点 `z`、声称的值 `y` 和一个证明，它检查所承诺的多项式在 `z` 处的取值确实是 `y`。Rollup 用它在 EVM 内部证明关于 blob 数据的事实。\n\n它的价格固定为 50,000 gas。各客户端团队对这个预编译做基准测试后发现，相对于实际工作量，这个价格太低了。这对扩容很重要：只有当*每一个*操作的最坏情况都能装进一个区块的时间预算时，区块 gas limit 才能被安全提高。一个塞满了定价偏低的点求值的区块，会成为可能出现的最慢区块之一，从而限制了 gas limit 能提高到多少。\n\n## 它如何运作\n\n这项改动只是一个数字：\n\n| | 之前 | 之后 |\n| --- | --- | --- |\n| 点求值预编译（`0x0A`） | 50,000 gas | 100,000 gas |\n\n输入、输出和验证逻辑完全不变。只有每次调用收取的 gas 会变化，从该 EIP 激活的分叉开始生效。\n\n这是一项更大范围工作的一部分，目的是为成本已与实际资源消耗不符的操作重新定价，与 [EIP-7883](/eip-7883/) 中对 ModExp 的提价以及 [EIP-7904](/eip-7904/) 中更广泛的计算分析本着同样的精神。\n\n## 示例代码\n\n一个调用该预编译的 rollup 风格合约。转发的 gas 必须覆盖新价格：\n\n```solidity\n// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nlibrary PointEvaluation {\n    address constant PRECOMPILE = address(0x0A);\n    uint256 constant GAS_COST = 100_000; // was 50_000 before EIP-8096\n\n    /// input = versionedHash (32) | z (32) | y (32) | commitment (48) | proof (48)\n    function verify(bytes memory input) internal view returns (bool ok) {\n        require(input.length == 192, \"bad input\");\n        (ok, ) = PRECOMPILE.staticcall{gas: GAS_COST}(input);\n    }\n}\n```\n\n在链下 gas 预算中估算其影响：\n\n```ts\nconst POINT_EVAL_GAS_OLD = 50_000n;\nconst POINT_EVAL_GAS_NEW = 100_000n;\nconst proofsPerBatch = 6n;\nconsole.log(\"extra gas per batch:\", (POINT_EVAL_GAS_NEW - POINT_EVAL_GAS_OLD) * proofsPerBatch);\n```\n\n## 需要注意\n\n- **状态：Draft。** 新的成本以及它将随哪个分叉发布尚未最终确定。\n- 对于在该调用上硬编码了约 50,000 gas 补贴额度的合约，这是向后不兼容的：激活后这些调用会耗尽 gas。请转发足够的 gas，或避免硬编码补贴额度。\n- 每个批次验证大量点求值的 rollup 会看到更高的 L1 验证成本；这项改动不涉及 blob gas 本身。\n- 没有任何东西变得更便宜，因此该 EIP 不会引入新的攻击面；其动机是消除一个限制 gas limit 提升的最坏情况区块。\n"}}}
