Back to overview
EIP-8007DraftOthers

Glamsterdam Gas Repricings

Directory of EIPs introducing changes to the gas pricing model for the Glamsterdam fork

Authors
Maria Silva, Ansgar Dietrichs
Created
Aug 21, 2025
Type
Meta
Category
—

Abstract

This Meta EIP documents all the proposals for Glamsterdam related to the gas repricing effort. The goal of this effort is to harmonize gas costs across the EVM, thereby reducing the impact of specific bottlenecks on scaling. Proposals include changes to the cost of single EVM operations, as well as bigger changes to the gas model. This Meta EIP is purely informational and does not aim to have an active role in the governance process for the Glamsterdam fork. Instead, it serves as a directory for all repricing-related proposals, helping to organize the work and keeping the community informed about the status of each EIP.

Motivation

The main objective of the Glamsterdam fork is to improve L1 scalability. A crucial aspect of this initiative is to create a better alignment between gas costs and actual resource usage. Currently, the gas model often prices operations incorrectly, resulting in inefficiencies and unintended incentives. For instance, within the pure compute operations, there is a high variance in execution time per gas unit, which indicates that a single unit of computation is not priced equally across the various opcodes.

By standardizing gas costs across EVM operations and other resources, we can reduce bottlenecks and enhance the utilization of EVM resources, which will subsequently enable further scalability. The EIPs listed below constitute a significant first step in that direction. We expect that further iteration will be necessary in future hardforks.

Specification

The following table lists all EIPs related to repricings that are being discussed in the scope of the Glamsterdam fork. There are three types of EIPs in this list:

  1. Broad harmonization. These EIPs reprice a class of operations with the goal of harmonizing them and removing single bottlenecks.
  2. Pricing extension. These EIPs make targeted changes to a specific opcode or component of the gas model, usually coupled with a new mechanism.
  3. Supporting. These EIPs are not directly doing a repricing, but instead introduce a change that support other repricing EIPs or enhance the scalability potential of repricings.

Considered for Inclusion

EIPDescriptionTypeResource classGas change overview
EIP-2780Decompose the flat intrinsic transaction cost into explicit primitives priced to match the resources a transaction actually consumes.Broad harmonizationMulti-resourceDecompose flat 21,000 into TX_BASE_COST (12,000) + COLD_ACCOUNT_ACCESS (3,000) + TX_VALUE_COST (6,000); split the primitives into state-independent intrinsic gas (the sole validity input) and state-dependent runtime gas, charging STATE_BYTES_PER_NEW_ACCOUNT × CPSB (183,600) state gas at runtime for value transfers that create an account
EIP-7778Prevent Block Gas Limit Circumvention by Excluding Refunds from Block Gas Accounting.Pricing extensionGeneral AccountingNo opcode repricing; excludes gas refunds (e.g. SSTORE clearing) from block gas accounting. Combined with EIP-8037, the exclusion applies to the execution-gas dimension only: state-gas refills reverse charges for state that was never durably created and stay netted out
EIP-7904Empirical analysis of EVM compute operation run times (Informational); concludes no compute gas cost needs repricing at the target throughput.Broad harmonizationComputeNo changes: with EIP-7928 optimizations in place, all examined compute opcodes and precompiles already meet the 100 Mgas/s target at their current cost
EIP-7976Increase the calldata floor cost to 64/64 gas per byte to reduce maximum block size.Pricing extensionDataIncrease calldata floor cost (10/40 → 64/64 per byte)
EIP-7981Price access lists for data to reduce maximum block size.Pricing extensionDataIncrease: new flat surcharge of 64 gas per access list byte (1,280 per address, 2,048 per storage key), charged outside the calldata floor max
EIP-8037Harmonization, increase and separate metering of state creation gas costs to mitigate state growth and unblock scaling.Broad harmonizationStateAll increase via a fixed CPSB (1,530 gas/byte), metered in a separate state-gas dimension: GAS_CREATE, GAS_CODE_DEPOSIT, GAS_NEW_ACCOUNT, GAS_STORAGE_SET, PER_AUTH_BASE_COST, PER_EMPTY_ACCOUNT_COST
EIP-8038Increases the gas cost of state-access operations to reflect Ethereum's larger state.Broad harmonizationStateIncrease: STORAGE_WRITE, COLD_ACCOUNT_ACCESS, ACCOUNT_WRITE, CREATE_ACCESS, access list costs; EXTCODESIZE/EXTCODECOPY extra warm read; COLD_STORAGE_ACCESS, WARM_ACCESS unchanged

Declined for Inclusion

EIPDescriptionTypeResource class
EIP-2926Introduce code-chunking in an MPT context.Pricing extensionState
EIP-7686Adjust memory limits and gas limits of sub-calls to create a clear linear bound on how much total memory an EVM execution can consume.Pricing extensionMemory
EIP-7923Make memory costing linear, replacing the current quadratic formula with a page-based cost model.Pricing extensionMemory
EIP-7971Decrease costs for TLOAD and TSTORE with a transaction-global limit.Pricing extensionMemory
EIP-7973Introduce warm account writes, decreasing the cost of writing to an account after the first write.Pricing extensionState
EIP-8011Gas accounting by EVM resource, increasing throughput and improving resource usage controls, with minimal changes to the protocol and UX.SupportingN/A
EIP-8032Makes SSTORE gas cost scale with a contract's storage size to discourage state bloat.Pricing extensionState
EIP-8053Adds milli-gas as the EVM's internal gas accounting unit, reducing rounding errors without impacting UX.SupportingN/A
EIP-8057Multi‑block temporal locality discounts for state and account access.Pricing extensionState
EIP-8058Reduces gas costs for deploying duplicate contract bytecode via access-list based mechanism.Pricing extensionState
EIP-8059Gas parameters and variables are increased to a factor of REBASE_FACTOR to reduce rounding errors without major changes to the EVM.SupportingN/A

Rationale

Gas cost changes by operation

The following tables summarize the preliminary gas cost changes. Numbers are not yet finalized and will be subject to change.

Compute Opcodes and Precompiles — EIP-7904 (no changes)

EIP-7904 is now Informational and recommends no repricing. Earlier revisions proposed raising the cost of a set of compute opcodes and precompiles, but re-running the benchmark and estimation pipeline against clients that include the parallel-execution optimizations unlocked by EIP-7928 (Block-Level Access Lists) shows those operations now clear the 100 Mgas/s throughput target at their current gas costs. Every compute opcode and precompile examined is therefore left unchanged.

State Access — EIP-8038

Opcode(s)ComponentCurrentNewDirection
SSTORESTORAGE_WRITE (first-time write surcharge)2,80010,000increase
SSTORE, SLOADCOLD_STORAGE_ACCESS2,1002,100unchanged
*CALL, BALANCE, EXT*, SELFDESTRUCTCOLD_ACCOUNT_ACCESS2,6003,000increase
*CALL, SELFDESTRUCT, ETH transfersACCOUNT_WRITE (first-time account-leaf write surcharge)6,7009,000increase
All state ops (warm)WARM_ACCESS100100unchanged
CREATE, CREATE2CREATE_ACCESS7,00012,000increase
EXTCODESIZEExtra warm read for 2nd DB lookup0+WARM_ACCESSincrease (new)
EXTCODECOPYExtra warm read for 2nd DB lookup0+WARM_ACCESSincrease (new)
SSTORE, SLOAD (access list)ACCESS_LIST_STORAGE_KEY_COST1,9002,000increase
*CALL etc. (access list)ACCESS_LIST_ADDRESS_COST2,4002,900increase
SSTORESTORAGE_CLEAR_REFUND4,80011,616increase (refund)

State Creation — EIP-8037 (all increase)

EIP-8037 introduces a fixed cost per state byte, CPSB = 1,530 (derived from a 150M reference block gas limit), and meters state creation in a separate state-gas dimension. The new-state byte counts are 120 per account, 64 per storage slot, and 23 per EIP-7702 authorization indicator. The "New state gas" column is charged to the state-gas dimension; the "New execution gas" column accompanies it in execution gas.

OperationOpcodes AffectedCurrentNew state gasNew execution gasDirection
GAS_CREATECREATE, CREATE2, create txs32,000120 × CPSB (183,600)CREATE_ACCESSincrease
GAS_CODE_DEPOSITCREATE, CREATE2, create txs200/byteCPSB/byte (1,530/byte)6 × ceil(len/32) (hash)increase
GAS_NEW_ACCOUNTCALL* to new accounts, SELFDESTRUCT25,000120 × CPSB (183,600)0increase
GAS_STORAGE_SETSSTORE (0 → non-zero)20,00064 × CPSB (97,920)0increase
PER_EMPTY_ACCOUNT_COSTEIP-7702 auth25,000120 × CPSB (183,600)ACCOUNT_WRITEincrease
PER_AUTH_BASE_COSTEIP-7702 auth12,50023 × CPSB (35,190)EXECUTION_PER_AUTH_BASE_COSTincrease

Transaction-Level Costs

ParameterCurrentNewDirectionEIP
Intrinsic base (plain transfer to existing account)21,00021,000, decomposed into TX_BASE_COST (12,000) + COLD_ACCOUNT_ACCESS (3,000) + TX_VALUE_COST (6,000)unchanged (decomposed)2780
Intrinsic base (zero-value transaction)21,000TX_BASE_COST + COLD_ACCOUNT_ACCESS = 15,000 (12,000 for a self-transaction)decrease2780
Intrinsic base (contract-creation transaction)53,000 (21,000 + TX_CREATE_COST 32,000)TX_BASE_COST + CREATE_ACCESS = 24,000 execution gasdecrease (execution gas)2780, 8038
New-account charge (value transfer or contract creation that creates an account)0 for value transfers; folded into TX_CREATE_COST for creationsSTATE_BYTES_PER_NEW_ACCOUNT × CPSB = 183,600 state gas, charged at runtimeincrease2780, 8037
Per-EIP-7702 authorizationPER_EMPTY_ACCOUNT_COST (25,000) intrinsic, refunded down to PER_AUTH_BASE_COST (12,500) when the authority already existsEXECUTION_PER_AUTH_BASE_COST (7,816) intrinsic; state-dependent charges at runtime: ACCOUNT_WRITE on first write to the authority, 183,600 state gas for a non-existent authority, 35,190 state gas for net-new delegation bytesincrease2780, 8037
Calldata floor cost10/40 per byte64/64 per byteincrease7976
Access list data cost0flat 64 gas per access list byte (1,280 per address, 2,048 per storage key)increase (new)7981
Access list entry costACCESS_LIST_ADDRESS_COST 2,400, ACCESS_LIST_STORAGE_KEY_COST 1,900ACCESS_LIST_ADDRESS_COST 2,900, ACCESS_LIST_STORAGE_KEY_COST 2,000, stacking with the data cost aboveincrease8038

Two further transaction-level changes come from EIP-8037's separate state-gas dimension. EIP-7825's TX_MAX_GAS_LIMIT applies to execution gas only, with state gas bounded by tx.gas alone, so large contract deployments are no longer capped by the per-transaction gas limit. The system-call gas limit is raised from 30,000,000 to 30,000,000 + STATE_BYTES_PER_STORAGE_SET × CPSB × SYSTEM_MAX_SSTORES_PER_CALL, preserving the existing execution margin for system contracts under the higher state creation costs.

Security Considerations

Discussed in the individual EIPs.

Copyright and related rights waived via CC0.