Press Enter to search · ESC to close

Crypto

Ethereum’s Glamsterdam Upgrade Tests Reveal Gas Bug That Skips Internal Payments

Testing of Ethereum's Glamsterdam upgrade on Sepolia revealed a gas-related bug where internal payments can be skipped even when the main transaction succeeds. Developers identified four paths using the Juicebox V6 contract, raising concerns about atomicity and DeFi security.

Ethereum’s Glamsterdam Upgrade Tests Reveal Gas Bug That Skips Internal Payments

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.

View original

Share
Risk notice This site provides news and information on the crypto, blockchain and Web3 industry for reference only and does not constitute investment advice or any promise of returns. Virtual currency-related activities are illegal financial activities in mainland China; digital asset prices are highly volatile; use at your own risk. This site does not provide trading, token issuance or related referral services.

Related Reading

Latest News

TREE NEWS share card
Long-press image above → Save to Photos / Share
Pitch us Feedback