Glamsterdam Hard Fork: Out of gas, still running
2026-11-04 –, Jasmine Stage 4

EIP-8037, part of Ethereum's Glamsterdam hard fork, changes the gas accounting mechanism. Attendees will learn how this breaks common out-of-gas detection patterns in smart contracts and what to check in their own code before the fork.


Smart contracts often guess why a call failed by checking how much gas is left afterwards: if very little remains, they assume it ran out of gas. That works today because gas only ever goes down. Glamsterdam changes this. Creating new storage becomes more expensive, and that cost can be given back later, for example when a failed call's changes are undone. As a result, a contract can end up with more gas than expected and draw the wrong conclusion about what went wrong. Drawing on ChainSecurity's audit work, we walk through simple examples of how this can break existing contracts, and share a checklist developers and auditors can use before the upgrade.

I've been working as a security researcher for the past 4 years, having reviewed some of the most popular smart contracts including, Sky, Lido, and Curve. Since 2025, I am the vCISO of Compound. I'm very interested in helping developers build secure smart contracts by developing automated code analysis methods.