Gas Cost Changes Pose Retriability Threat
Ethereum developers announced on Monday that the planned Glamsterdam fork for the Hoodi testnet has been cancelled after security firm ChainSecurity uncovered serious gas‑related flaws. The audit revealed that the new gas parameters could allow certain smart contracts to permanently record failed operations, undermining the retry logic that many d Apps rely on.
Breaking news
Injective Seeks SEC Approval for Onchain Trading of Tokenized Stocks
Bitcoin Hits $61,000 as Short Sellers Face $117 Million in Liquidations
Bitcoin’s Dormant Supply Hits 68.5% as Price Stalls Near $60,000
Bitcoin ETFs Bleed $3.05B in Seven Days as November Outflows Hit $5.39BChainSecurity’s review identified a single critical issue that could cause contracts to lock in a failed state. The vulnerability stems from changes to the gas cost model that were intended to improve network efficiency. However, the altered costs create a scenario where a transaction that should revert instead leaves the contract in an unusable state, preventing future interactions. The firm warned that this could lead to permanent loss of functionality for affected contracts.
The core of the problem lies in the way the new gas schedule treats certain opcodes. By reducing the gas penalty for specific operations, the network inadvertently allows a contract to consume all available gas without triggering a revert. When this happens, the contract’s state is altered to reflect a failed operation, but the error is not propagated back to the caller. As a result, the contract becomes effectively frozen, and subsequent calls cannot recover from the failure. ChainSecurity’s analysis showed that this scenario could affect a wide range of existing contracts, especially those that perform complex computations or interact with multiple external calls.
Will the Mainnet Upgrade Be Delayed?
The audit team also highlighted that the issue is not limited to the testnet. If the changes were deployed to the mainnet, the same vulnerability could surface, potentially affecting millions of users and thousands of d Apps. The Ethereum Foundation has therefore decided to postpone the Glamsterdam upgrade until the gas model can be revised to eliminate this risk.
Ethereum’s core developers have stated that the mainnet upgrade will remain on schedule, but the testnet fork will be rescheduled to allow for a thorough review. „We are taking the necessary steps to ensure that the gas changes do not introduce new attack vectors,” said a spokesperson. The team plans to collaborate closely with ChainSecurity and other auditors to patch the flaw before the next testnet deployment. The delay is expected to be brief, but it underscores the importance of rigorous testing in a network that handles billions of dollars in value.
The postponement also highlights the growing complexity of Ethereum’s upgrade process. As the network evolves, developers must balance performance gains with security guarantees. The Glamsterdam fork was intended to introduce several optimizations, including improved transaction throughput and reduced gas costs for common operations. However, the recent findings demonstrate that even minor adjustments can have far-reaching consequences.
Frequently Asked Questions
What is the Glamsterdam upgrade? The Glamsterdam upgrade is a planned update to the Ethereum protocol that aims to improve transaction efficiency by adjusting the gas cost schedule and introducing new opcode optimizations.
How does the gas flaw affect smart contracts? The flaw can cause contracts to permanently record failed operations, locking them into a state where they cannot process future transactions, effectively rendering them unusable.
Will users on the mainnet be impacted? The mainnet upgrade is currently on schedule, but the issue has been identified on the testnet. If not addressed, the same vulnerability could appear on mainnet, potentially affecting many d Apps and users.


