EIPs Explained

EIP-8096 · Draft · Core · 2025-12-02

EIP-8096: Increase Gas Cost of Point Evaluation

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.

What problem does it solve?

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.

Its 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.

How it works

The change is a single number:

Before After
Point evaluation precompile (0x0A) 50,000 gas 100,000 gas

Inputs, outputs and the verification logic stay exactly the same. Only the gas charged per call changes, starting at the fork where the EIP activates.

This 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 and the broader compute analysis in EIP-7904.

Sample code

A rollup-style contract that calls the precompile. The gas forwarded must cover the new price:

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

library PointEvaluation {
    address constant PRECOMPILE = address(0x0A);
    uint256 constant GAS_COST = 100_000; // was 50_000 before EIP-8096

    /// input = versionedHash (32) | z (32) | y (32) | commitment (48) | proof (48)
    function verify(bytes memory input) internal view returns (bool ok) {
        require(input.length == 192, "bad input");
        (ok, ) = PRECOMPILE.staticcall{gas: GAS_COST}(input);
    }
}

Estimating the effect in an off-chain gas budget:

const POINT_EVAL_GAS_OLD = 50_000n;
const POINT_EVAL_GAS_NEW = 100_000n;
const proofsPerBatch = 6n;
console.log("extra gas per batch:", (POINT_EVAL_GAS_NEW - POINT_EVAL_GAS_OLD) * proofsPerBatch);

Things to know

  • Status: Draft. The new cost and the fork it would ship in are not final.
  • 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.
  • Rollups that verify many point evaluations per batch will see higher L1 verification costs; the change does not touch blob gas itself.
  • 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.

#gas #precompile #kzg #repricing #core

Details

Authors
Marcin Sobczak (@marcindsobczak), Kamil Chodoła (@kamilchodola), Marek Moraczyński (@MarekM25)
Status
Draft
Type
Standards Track / Core
Created
2025-12-02
Requires

Machine-readable: Markdown · JSON