Vitalik’s In-Depth Analysis: Why Is EIP-8037 the Only Path to Scaling Ethereum Securely?
As a core proposal in the Glamsterdam upgrade, EIP-8037 introduces a state gas reservoir mechanism and substantially reprices the cost of creating new state, decoupling execution scaling from state growth at the protocol level for the first time. Although this breaks assumptions in some legacy applications that hard-code gas amounts, it is the only viable engineering path to scaling Ethereum safely.

Special thanks to Binji, Lukasz Rozmej, and others for their feedback and review of this article.
EIP-8037’s central goal is to decouple Ethereum’s scaling limits: allowing a substantial increase in execution computation, which is relatively easy to scale, while strictly limiting growth in state size, which is much harder to scale. This is the most pragmatic way to balance scaling capacity and system security in the near term.
This article focuses on five topics:
· Explaining the core rationale behind EIP-8037;
· Making the case for why a mechanism like EIP-8037 is essential to scaling Ethereum safely;
· Examining ways to mitigate potential compatibility issues with EIP-8037, including progress to date, potential solutions, and the fundamental constraints behind them;
· Analyzing the communication gap between the core and application layers and why expectations about future EVM rule changes have diverged;
· Providing a survival guide for developers building immutable contracts and applications, explaining how to keep contracts secure as the roadmap evolves.
Background: The limits of Ethereum’s different resource types
Over the past decade, the two most broadly accepted core goals of the Ethereum community can be summarized as maintaining decentralization and security, and scaling to support widespread use.
To scale without sacrificing decentralization, we must first understand the limits of Ethereum’s underlying resources: if we simply raise the gas limit without making any other improvements, where will the system break?
The following shows the current load on the main resources used by the Ethereum network:

Figure: Baseline load across Ethereum’s main resource dimensions today
Under the simplest linear projection, raising the gas limit by 10 times would increase all the figures above by the same factor.
A 10-fold increase in the first metric, average verification time, would still be tolerable, although it would put some pressure on staking nodes running on personal laptops. A 10-fold increase in the other three, however, would be a disaster the network simply could not tolerate. Apart from blobs, any scaling of Ethereum’s execution layer directly affects these three critical limits:
· Scaling execution computation directly increases worst-case block verification time;
· Scaling calldata directly increases worst-case network-wide propagation time;
· Scaling state, especially the creation of new state, directly causes state size to grow explosively. A larger state not only raises disk capacity and performance requirements and greatly lengthens initial full-node sync times, but also weakens the network’s guarantees that full-state synchronization will succeed and slows all state I/O during everyday execution.
Changes brought by other Glamsterdam proposals
Before discussing EIP-8037, let’s examine the improvements brought by several other core proposals in the Glamsterdam upgrade:
· EIP-7976: Raises the calldata floor cost from 40 per nonzero byte and 10 per zero byte to a uniform 64 per byte, effectively reducing the maximum calldata size per block;
· EIP-7928: Introduces block-level access lists (BAL), enabling parallel verification, substantially reducing verification time and improving sync speed;
· EIP-8038: Raises the gas cost of state I/O operations;
· EIP-7732 (ePBS): Uses pipelining to extend the window for securely verifying a single block from approximately 2 seconds to about half a slot, or 6 seconds.
Let’s take these proposals into account and reassess the system’s load with a 10-fold increase in the gas limit:

Figure: Projected load at a 10-fold gas limit after Glamsterdam optimizations
As the figures above show, execution computation is no longer a major bottleneck. Calldata transmission is also close to the target, and EIP-8279 and EIP-8131 in the subsequent Hegota upgrade will further reduce the worst-case size by a factor of about 1.6.
Combined with planned P2P transmission optimizations, the network can easily gain more bandwidth headroom. If further expansion is needed, EIP-8288 will also support separating signatures and proofs from calldata.
Therefore, with the Glamsterdam and Hegota upgrades, Ethereum’s computation and networking layers will be fully capable of supporting a 10-fold or even greater increase in the gas limit.
The only remaining fatal bottleneck in the system is state size.
When resource constraints are asymmetric: The logic of repricing
For nearly a decade, Ethereum has followed a simple, clear rule: the gas price of a resource must accurately reflect the actual physical burden it places on the underlying network. If resource A imposes 10 times the burden of resource B, the gas cost of A or B must be adjusted so that A costs 10 times as much as B.
The classic historical example is the SLOAD instruction: it originally cost just 50 gas, then was progressively repriced to 200, then 800, and finally to the current 2100, reflecting the actual hardware bottlenecks associated with state reads and writes.
Faced with the severe asymmetry in resource capacity described above, EIP-8037 follows the same logic: it substantially raises the cost of creating new state, whether that means adding a storage slot, writing new code, or creating a new account.
The following compares the cost adjustments proposed by EIP-8037, expressed as final total costs:

Figure: EIP-8037’s proposed repricing of state creation operations
Note that state gas is not subject to the 16.7M execution gas limit per transaction, so deploying a full-size 24 KiB contract remains possible.
EIP-8037 also adds new logic to close cost-avoidance loopholes. For example, under current rules, creating an account through an ordinary ETH transfer does not even require paying the 25,000 NEWACCOUNT cost. Once EIP-8037 is implemented, every new account must incur the full 183,600 state gas cost, regardless of how it is created.
More significantly, EIP-8037 is designed to allow these state costs to rise further over time. CPSB, the core parameter determining the cost, starts at 1530 and will be raised alongside the gas limit.
This design reflects a consensus among core developers: computation and data transmission will become increasingly easy to scale, but the physical limits of state storage are difficult to overcome. Until a new state paradigm is introduced, every byte of storage is a real burden, and state cannot easily be sharded because any block producer or node replaying the chain must have the complete state to function.
Trade-offs of the alternatives
In practice, there are only four engineering alternatives to repricing when dealing with state growth:
· Never scale Ethereum;
· Accept node centralization caused by massive state;
· Leave the cost of state creation unchanged and instead substantially reduce the cost of every other operation;
· Introduce a dedicated mechanism that separates the additional gas cost from the execution path, allowing users to pay it in a separate dimension.
The first option clearly runs counter to the wishes of the vast majority of Ethereum community members; the second directly undermines the security commitment on which Ethereum was founded.
The third option was explored in depth but ultimately rejected because it would be far more disruptive than raising prices: the knock-on effects and unknown risks of substantially reducing gas costs across every dimension except state would be difficult to quantify.
Moreover, to achieve more than 3-fold scaling, the cost of basic opcodes such as ADD and PUSH would have to fall below 1 gas, forcing Ethereum to introduce an extremely complex milligas mechanism.
That leaves the fourth option as the only way forward. This is precisely the approach taken by EIP-8037, although it currently resolves only some of the resulting issues.
How the reservoir mechanism is designed and works
EIP-8037 is an important step toward “multidimensional gas” on Ethereum. Under this mechanism, a transaction can specify gas limits across multiple dimensions at once: one portion for execution gas and another for the state gas reservoir.
By default, the portion of a transaction’s gas up to the 16.7M execution limit is allocated to execution gas, while any excess is automatically deposited into the reservoir. Future EIP-8141 frame transactions will allow users to define these two values more explicitly, without having to fund the reservoir by setting an artificially high transaction gas limit.
Any operation involving state creation must first draw its cost from the state gas reservoir; only when the reservoir is depleted does it fall back to ordinary execution gas. Crucially, the state gas reservoir is fully and transparently accessible to subcalls: a parent call can strictly limit the execution gas allocated to a subcall, but cannot cut off the subcall’s access to the state gas reservoir.
This design is very similar to the access list mechanism introduced by EIP-2930. When EIP-2929 raised storage read costs and broke some legacy contracts, EIP-2930 allowed users to declare and pay for reads in advance in the transaction header, making reads cheap again within the execution path.
The reservoir mechanism resolves the following core problems:
· It allows a single large contract deployment to consume far more gas than the 16.7M execution limit;
· It allows certain external calls with hard-coded fixed gas limits to work, provided the entire transaction is wrapped in a higher-gas transaction with a reservoir;
· It allows a parent call to invoke a child contract using an approach such as gasleft - N, ensuring that even if the subcall runs out of gas and fails, the parent retains enough of the N gas to complete necessary post-call state cleanup.
In the long run, the mechanism allows Ethereum to calculate block-wide limits, target capacities, and even dynamic gas prices separately for different resource dimensions—state creation, ordinary execution, and state I/O—providing a minimal-cost engineering solution to the architectural challenges of multidimensional gas.
Edge cases the reservoir does not yet resolve
The reservoir is not a cure-all, however. Several categories of compatibility issues remain:
· Constructing very high-gas transactions is cumbersome: until EIP-8141 is implemented, requiring front ends to construct transactions exceeding 16.7M gas is unwieldy and requires substantial front-end changes by application developers;
· Hard-coded configurations cannot be upgraded: in critical applications such as cross-chain bridges, transaction construction or call parameters may be hard-coded into modules that are difficult to upgrade;
· Funding the reservoir is entirely optional: for example, the OP Stack bridge mechanism includes an underlying hard-coded 40,000 gas limit. An attacker could deliberately send a withdrawal transaction without a reservoir, causing the call to run out of gas and the withdrawal to fail, while the external logic might mistakenly mark it as completed;
· Immediate refunds disrupt gas metering: the proposal switches to immediate refunds instead of settling them at the end of the transaction, which can cause the remaining gas reported by the GAS opcode to jump sharply in unexpected ways;
· EIP-8038 lacks reservoir protection: EIP-8038 raises the SSTORE cost from 5,000 to 12,100 without a reservoir, directly breaking a very small number of legacy applications;
· Account abstraction is hindered: with a reservoir, the GAS opcode can no longer accurately track the total gas consumed by subcalls, making it difficult for ERC-4337 abstract accounts to use reservoir gas smoothly.
To address these issues, the community has discussed a range of protocol-level remedies, such as restoring end-of-transaction refund settlement, removing EIP-8038 at the cost of reducing scaling headroom by a factor of 2.4, and adding a reservoir for state I/O.
Other ideas include introducing the basic EIP-8141 framework early, distinguishing empty storage slots from zero values, requiring the entire frame to revert when a subcall exceeds its allowance, or exempting legacy contracts through EIP-8488.
Objectively, however, each of these remedies requires deep and disruptive changes that could easily introduce further unforeseen vulnerabilities. Even the relatively modest adjustment to immediate refunds would save only a small fraction of affected applications. With the Glamsterdam upgrade now in late-stage testing, any protocol-level change would substantially increase operational and delivery risks.
What should application developers do today?
Ethereum scaling is fundamentally an asymmetric resource challenge. Pure execution computation is the easiest to scale, followed by state I/O and calldata, while growth in state size faces the strictest constraints.
To scale different resources precisely and independently, the system must dynamically reset their relative gas costs. Given current engineering constraints, EIP-8037 and EIP-8038 are compromises that come very close to an optimal solution.
The core developer team’s assessment is that forcing fragile patches into the protocol would not only be extremely expensive to develop, but would also introduce unknown systemic risks and significantly slow the overall pace of quantum-resistant upgrades and mainnet scaling.
A more pragmatic approach, therefore, is to focus efforts on coordination at the application layer: providing extensive support to application developers and ensuring that all applications and smart contracts affected by EIP-8037 and EIP-8038 are adapted and fixed before Glamsterdam goes live on mainnet.
This includes:
· Proactively delaying Glamsterdam’s launch window, which has already been done;
· Explaining these potential technical impacts fully, publicly, and transparently, including through several public workshops and calls already held;
· Committing dedicated ecosystem resources to help identify affected projects and drive remediation, with the work now underway.
Survival rules for immutable contracts in the future
In response to this controversy, many developers have raised a perfectly reasonable and profound question: Ethereum’s core value is to give users decentralized applications with strong guarantees, and immutable contracts without administrator upgrade keys are written to fulfill that promise. If the next hard fork could break old rules at any time, how can developers write smart contracts that remain secure and durable?
In this case, the answer comes down to one sentence: never assume that gas cost rules will remain unchanged forever.
Among Ethereum’s early core developers and security auditors, this was always an implicit foundational consensus. Since 2021, however, it has rarely been formally documented or repeatedly communicated. As a result, many developers who joined in later cycles never realized that this was an underlying assumption shared by the core developer community when advancing EIP-8037.
Looking ahead, we must formalize these implicit rules: build broad agreement across the ecosystem on which protocol features are subject to change, and communicate them widely enough that they become common knowledge throughout the industry. Ethereum’s development roadmap (Strawmap) is now sufficiently clear and mature that we can predict with reasonable precision which features may undergo breaking changes.
Below is a personal preliminary list of Ethereum features expected to change in the future:
Gas mechanisms of any kind
When designing smart contracts, any specific gas limit should be dynamically set by the party that bears the loss if the limit is set incorrectly. In most scenarios, applications already follow this principle naturally: if a transaction runs out of gas, the user sending it bears the loss, so the transaction gas limit is chosen and set entirely by the user’s wallet.
Going forward, dynamic setting should be extended to every stage, abandoning the practice of hard-coding specific gas values in contract code altogether.
Developers are also advised not to assume that subcalls will always be able to run with less than the total available gas. After EIP-8141 is implemented, this mechanism may be removed entirely to simplify the protocol, since its use cases can be handled more elegantly within frames.
State tree and block hash structures
The current state tree will likely be restructured as a Keccak-based binary partition tree, while block structures and transaction receipts will also move entirely to Keccak-based SSZ serialization.
The mathematical finite field used for blob point evaluation
The current system uses the approximately 253-bit BLS-12-381 scalar field and will likely migrate to a 128-bit binary finite field.
Future evolution of the blob data structure
Alongside the change in finite field, the maximum size of a single blob is expected to be standardized at a full 131,072 bytes, with potentially more extensive structural changes thereafter.
The ECRECOVER precompile
To ensure that accounts upgraded to quantum-resistant cryptography are not exposed to replay attacks through historical off-chain pre-authorizations, ECRECOVER is expected to become a stateful operation.
Almost all consensus-layer features
Over the next two years, Ethereum’s consensus-layer algorithms will undergo major upgrades, with significant changes to validator staking requirements, penalties and rewards, distributed validator technology (DVT), light-client verification protocols, and more.
Slot duration
As slot duration is reduced further, approaches that rely directly on block.slot as a proxy for a timestamp will cease to work.
Distributed block building
As mechanisms such as ePBS and FOCIL advance, block building across the network will be fundamentally reshaped.
Transaction serialization formats
Legacy transaction formats may eventually be phased out. In a few years, SSZ-serialized EIP-8141 transactions may well become the only standard transaction format supported on Ethereum mainnet.
It is worth emphasizing that the EVM as a whole is not on the list of features subject to change. Even if Ethereum introduces a new native instruction set, such as RISC-V, a compatibility layer can ensure that existing bytecode continues to execute with exactly the same behavior.
Among these, the only thing that will truly be adjusted dynamically remains the gas charged for individual opcodes.
This list is only a preliminary summary assembled over a few hours. The core developer team should subsequently work together to produce a more detailed evolution allowlist and denylist, clearly distinguishing features subject to change from the foundations of backward compatibility.
The vast majority of standard applications, such as Uniswap-style DEXs, are naturally insulated from most upgrade impacts. But for immutable contracts and complex financial applications, the entire industry still needs to establish protective rules early.











