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.
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).
Why AA breaks
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?
Hard-break rate
% of 50 recent txs that fail, by contractThe three AA contracts
expand to verify on-chainERC-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
Genuinely breaks
Account Abstraction wallets. Even with 3× the gas they still fail, because the limit is signed inside the request.
Just needs more gas
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.
Create-and-throw-away contracts
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
verify on-chain:0x4de1…7b240x5852…92f60x42e6…5853
Extra gas (worst case)
red = breaks · grey = fixable, just costs moreInvariants relied on
of 115 flagged contracts · red = caused the outright breaksIn 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
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.
Fixed-gas (user-fixable) contracts
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.