Ethereum’s Glamsterdam Upgrade Tests Reveal Gas Bug That Skips Internal Payments
TREE NEWS reports: Testing of Ethereum’s upcoming Glamsterdam upgrade has uncovered a critical flaw: a transaction can succeed overall while its internal payment operations fail. Developers simulated the issue on the Sepolia testnet using the Juicebox V6 contract and identified four distinct paths where this occurs. For example, a buyer successfully retains an NFT, but funds that should have been paid to another project are skipped; or a user successfully withdraws funds, but the 2.5% fee is not deducted.
Developers explained that the issue is related to gas consumption during code execution. Under Glamsterdam’s new rules, internal payments that write to new storage may exhaust gas before the main external transaction, causing them to revert silently while the outer transaction still succeeds.
Industry Analysis and Implications
This discovery highlights the complexity of Ethereum’s upgrade process and the importance of rigorous testing. Glamsterdam, which combines the Gloom and Amsterdam upgrades, aims to improve scalability and efficiency, but such bugs could undermine trust in smart contract execution. The fact that internal payments can be skipped without failing the entire transaction poses a significant risk for DeFi protocols, NFT marketplaces, and any application relying on atomicity—the guarantee that all parts of a transaction execute or none do.
If left unaddressed, this could lead to financial losses and exploits where users or protocols receive assets without paying fees or making required payments. The Ethereum developer community is known for its thoroughness, and this early detection is a positive sign. However, it underscores the need for extensive audits and testnet trials before mainnet deployment.
Forward-Looking Perspective
Developers are likely to adjust gas accounting rules or introduce new opcodes to ensure internal payments are properly handled. The incident also serves as a reminder that upgrades, while beneficial, carry risks. As Ethereum continues to evolve, such findings will be crucial in shaping a robust and secure network. The community will closely monitor further test results and any proposed fixes, which may delay the upgrade timeline but ultimately strengthen the ecosystem.




