What Glamsterdam breaks

Ethereum's next upgrade makes on-chain storage cost more gas. We re-ran real, recent transactions under both today's rules and the new rules. Most apps just need to send a bit more gas, but smart-contract wallets (Account Abstraction) genuinely break, which the professional audits didn't cover.

Every number here is a real transaction you can open on Etherscan. It succeeds today and reverts under the new rules.

What's changing

EIP-8037 and EIP-8038 rework how much gas Ethereum charges for creating and touching storage. Apps built on the old costs can behave differently, or fail, without changing a line of code.

Two kinds of impact

  • ● Hard-break: fails outright, can't just add gas (Account Abstraction).
  • ● Fixable: works, just costs more or needs a higher gas limit (routers).
The finding

Why AA breaks

signed limit

An ERC-4337 UserOperation carries a signed gas budget for verification. The new rules make verification cost more, so it blows that budget and the whole op reverts.

Why can't it just send more?
The budget is signed into the request, so raising it means re-signing. In-flight and pre-signed userOps can't be fixed at all.
34%v0.7 fail
26%v0.6 fail
50%module fail

Hard-break rate

% of 50 recent txs that fail, by contract
verified by replay

The three AA contracts

expand to verify on-chain
ERC-4337 account / module0x4337…f10825 / 50

Reverts with FailedOp "AA26 over verificationGasLimit", up to +411,180 gas.

verify on-chain:0x6383…655f0xb2b4…7b76

ERC-4337 EntryPoint v0.70x0000…a03217 / 50

Reverts with FailedOp "AA26 over verificationGasLimit", up to +145,410 gas.

verify on-chain:0x8a8a…dc5b0xeae6…724b

ERC-4337 EntryPoint v0.60x5ff1…278913 / 50

Reverts with FailedOp "AA40 over verificationGasLimit", up to +390,125 gas.

verify on-chain:0xc571…7d480xbd58…2f0c

Breaks vs fixable

Genuinely breaks

hard

Account Abstraction wallets. Even with 3× the gas they still fail, because the limit is signed inside the request.

Just needs more gas

fixable

Swap routers & aggregators (Uniswap, 1inch, …). They "fail" only because the user's gas limit is now too low. Raising it makes them pass again. Not a contract bug.

Also affected

Create-and-throw-away contracts

~3,456/day

Lots of flows (payment processors, bridge aggregators) spin up a throwaway contract, a one-time deposit address, sweep the funds, and destroy it in the same transaction. Today that's cheap; under Glamsterdam the cost jumps up to 2.8×.

Why it costs more
It's charged the full 183,600 gas for creating an account even though nothing is left behind. Flows with a fixed gas limit simply fail.
~3.5krun per day (mainnet)
2.8×more gas, up to

verify on-chain:0x4de1…7b240x5852…92f60x42e6…5853

How much more gas

Extra gas (worst case)

red = breaks · grey = fixable, just costs more
per contract
Which assumptions break

Invariants relied on

of 115 flagged contracts · red = caused the outright breaks
8 invariants

In plain words

what each one means
  • INV-1A failed inner call no longer fails the whole transaction
  • INV-3A reverted call now hands gas back to the caller
  • INV-6Leftover gas after an out-of-gas call is now enough to keep going
  • INV-7Fixed gas reserves and stipends are now too small
  • INV-2Clearing a slot refunds gas mid-transaction
  • INV-4Hard-coded gas amounts are now too low
  • INV-8A failed EIP-7702 delegation can be replayed
  • INV-5gasleft() can now go up, breaking gas metering
How we checked
STEP 1Scanned the 300 busiest contractsflagged 115 with risky gas patterns
STEP 2Took their real recent transactions50 each, from our archive node
STEP 3Re-ran each under old vs new rulessame state, only the gas rules change
STEP 4Kept only the real breakssucceeds today, fails under Glamsterdam
Technical details

Mechanism

The EntryPoint calls account.validateUserOp{gas: verificationGasLimit}. Validation reads/writes storage (nonce, deposit, account state), repriced upward by EIP-8037/8038, so it exceeds the signed verificationGasLimit and the EntryPoint reverts with FailedOp(…, "AA26/AA40 over verificationGasLimit"), the INV-4 / INV-7 class from glamsterdam-gas-invariants.

Method

Differential replay with revm@glamsterdam-devnet-8 against a Reth archive node: each tx forked at its parent block and executed under OSAKA vs AMSTERDAM. A flip (osaka ok → amsterdam revert) is repricing-attributable, and each is gas-swept at 3× to split fixed-gas from hard-break.

Secondary: out-of-gas breaks (non-AA)

Uniswap V3 Position Manager0xc364…fe883 / 50

Reverts with out-of-gas on state-creating mint paths, up to +118,880 gas.

verify on-chain:0x87c1…9646

Contract 0x442b…51350x442b…51353 / 50

Reverts with out-of-gas.

verify on-chain:0xad7a…6e9b

Contract 0xbdb3…47b60xbdb3…47b62 / 50

Reverts with out-of-gas, up to +430,640 gas.

Candidates confirmed by replay, not a full audit. Replay forks parent-block state and runs the tx first-in-block, so exact gas margins can differ; the osaka-success flip controls for replay error. 8037/8038 are still in flux, re-measured per spec change. Affected teams disclosed privately first.

BlobLens gas-audit pipeline: scanner → differential replay → confirmed breaks.Gas Observatory