Ethereum Upgrade Testing Exposes Hidden Risks: Transactions Show Success, but Payments May Fail
Ethereum's proposed Glamsterdam upgrade has exposed compatibility risks in smart contracts during testing on the Sepolia testnet. Simulations of Juicebox payment contracts showed that some transactions confirm successfully at the outer level while internal payments silently fail, causing fund distributions or fee payments to be skipped. The issue stems from changes to the underlying execution gas accounting logic, which affects existing contracts that rely on traditional exception handling.
In NFT purchase tests, buyers received NFTs even when the internal payment failed due to gas exhaustion, leaving funds stranded in the payment project. In token distribution tests, cross-project payments were interrupted, so beneficiaries received the project's original tokens instead of the intended cross-project settlement. Cash redemption tests revealed that within a gas range of 679,622 to 817,622, users could redeem funds while the internal 2.5% protocol fee was not charged, effectively waiving the fee.
Juicebox developer mejango linked the problem to tiered changes in opcode gas costs and contract error-handling mechanisms, specifically EIP-8037, which sharply raises the gas cost of state creation and new storage writes. Because internal payment subcalls exhaust gas before outer logic, and developers commonly use try/catch structures that isolate errors, the failed payments do not trigger a transaction rollback. On mainnet simulations, the same gas range produced only full transaction failures or complete payments, never silent internal skips.
This contrast highlights the impact of gas pricing changes on already-deployed, non-upgradeable contracts, where gas reserves and error catching designed under the old model can turn into fund-leakage risks. The Ethereum Foundation has added the Juicebox report and PoC materials to its agenda and scheduled a special meeting on November 19 to discuss the scope of impact and possible responses. No final decision on adjusting proposal parameters has been made yet.
marsbit16m ago