Geth Draft Would Fix Ethereum Gas Estimates for Failed Calls
A Nov. 8 Geth draft from Spencer Taylor-Brown would make eth_estimateGas account for failed internal calls, fixing 64 of 67 shortfalls in a 432-transaction replay.

Outputs
A Nov. 8 draft Geth proposal from Spencer Taylor-Brown would count failed internal calls during gas estimation.
A replay of 432 mainnet transactions corrected 64 of 67 identified gas shortfalls; the median recommended limit rose 4% in corrected cases.
254 of the replayed estimates were unchanged; the 3 missed cases involved contracts skipping work after gas checks.
The Ethereum Foundation delayed Glamsterdam's Hoodi activation over risks tied to EIP-8037 and EIP-8038.
As of Nov. 10, the Geth change and a companion Execution API draft remain proposals with no rollout date.
A draft Geth change dated Nov. 8 would revise Ethereum's gas estimation so it accounts for failed internal contract calls, correcting 64 of 67 identified gas shortfalls in a replay of 432 mainnet transactions. The proposal remains a draft with no rollout date, according to its repository status as of Nov. 10.
Spencer Taylor-Brown authored the change. Ethereum's eth_estimateGas method estimates how much gas a transaction needs to complete, but the test can miss a failed step inside a smart contract when the contract catches the failure and lets the transaction finish anyway. A wallet user can then see a confirmed transaction while receiving a different outcome from the one intended.
How would the fix work?
The draft would count failed internal calls and contract creations while the client searches for a suitable gas limit. For each candidate limit, Geth would compare execution against a reference run given more gas and reject any candidate that produces more internal failures.
A call that fails in both runs would not, by itself, force the estimate higher. That guard keeps the change focused on cases where extra gas would actually change the outcome.
Contracts have several ways to absorb a failed internal call. A contract could record the failed call, issue a refund or skip an item — leaving the sender with a completed transaction but not the result they requested.
What did the replay show?
Taylor-Brown replayed 432 Ethereum mainnet transactions under the proposed Amsterdam rules. The results:
- 67 estimates left a nested call short of gas; the change corrected 64 of them.
- The median recommended gas limit rose 4% among corrected cases.
- 254 estimates were unchanged.
- The three missed cases involved contracts that skipped work after checking remaining gas, without an internal call failing.
The 4% figure measures a change in recommended gas limits for corrected cases, not a change in transaction fees. A gas limit caps consumption; the fee paid in Ether (ETH) depends on gas actually used and the price per unit.
Does this interact with Glamsterdam?
The problem can occur under existing Ethereum rules, but the upcoming upgrade could amplify it. EIP-8037 would meter gas for execution and state creation separately, and Taylor-Brown said its refund behavior could make internal-call shortfalls more common.
The Ethereum Foundation delayed Glamsterdam's Hoodi activation while developers examine contract risks involving EIP-8037 and EIP-8038. Gary Rong, a Geth maintainer, responded to the proposal: "Good catch! Will bring it to team triage session."
At 4:22 a.m. ET (09:22 UTC) on Nov. 10, the Geth change and a companion draft for the Ethereum Execution API specification remained proposals. Developers have announced no rollout date, and the fix's path to mainnet likely runs through the same triage and testing cycle now holding up Hoodi.
via tokenpost.com (Source)
More from Tom Whitfield
Show full bio
News editor covering technology and product news in crypto and web3 industry at Mempool Brief.
1,745 articles