Ethereum Protocol Fellowship (EPF) Cohort 7 — Applications open until May 13
All EIPs
EIP-7686 Stagnant EL

Linear EVM memory limits

Authors:

Canonical data: /latest/eips/7686.json

Adjust memory limits and gas limits of sub-calls to create a clear linear bound on how much total memory an EVM execution can consume

Timeline

Glamsterdam
Carl Beekhuizen
Declined
Dec 18, 2025 · ACDE #226
Proposed
EIP Created Apr 15, 2024

Key Benefits

  • Provides a clear linear upper bound on total memory a transaction can consume.
  • Simplifies EVM memory pricing by removing the quadratic term from the cost function.
  • Makes worst-case resource usage easier to estimate for EVM executions and client operators.
  • Aligns call-gas limits with memory usage, avoiding unbounded memory growth across nested sub-calls.

Trade-offs & Considerations

No trade-offs documented yet.

Stakeholder Impact

End Users

For ordinary users this change is largely invisible, mainly constraining unusually memory-heavy transactions that approach gas and resource limits.

Application Developers

Contract developers may review patterns that access high memory with little gas, though typical applications fit within the new limits.

Wallet Developers

Wallets that implement their own gas estimation must update memory-cost logic; others inherit the behavior change from underlying nodes.

Tooling / Infrastructure

Gas analyzers, simulators, and tracing tools must update their memory cost and call-gas models to match the new linear rules.

Layer 2s

EVM-compatible rollups mirroring mainnet gas rules would implement the new memory limit and pricing to maintain behavior compatibility.

Stakers & Node Operators

Node operators benefit from a linear bound on per-transaction memory usage, simplifying capacity planning and reducing worst-case memory exhaustion risk.

CL Client Developers

Consensus-layer clients see minimal direct impact; they mainly ensure testing and fork configuration align with updated execution-layer behavior.

EL Client Developers

Execution-layer clients must update EVM memory-cost calculation, enforce the new per-context memory cap, and adjust call-gas logic accordingly.