Ethereum gas proposal puts dApp billing and wallets under review
Ethereum developers asked application teams to test eight gas assumptions in the proposed Glamsterdam upgrade after changes raised risks for relayer billing, failed transactions and delegated wallets.
Ethereum core developers have asked application teams to review eight gas assumptions in the proposed Glamsterdam upgrade. EIP-8037 and related changes could affect how decentralized applications bill users, record failed operations and manage delegated accounts.
In a Nov. 6 Ethereum Foundation blog post, Marius van der Wijden asked developers and auditors to report what breaks and whether affected systems can be repaired. Internal teams cannot test every application’s smart contracts and off-chain services. Security firms ChainSecurity and Dedaub are also reviewing the proposed rules.
The framework covers three assumptions about gas prices and five about accounting. The accounting issues include gas refunds, failure handling, billing and account delegation. Project teams have been asked whether a configuration change, software upgrade or migration could fix a problem and how long the work would take.
EIP-8037 would raise the cost of creating persistent blockchain data and track that cost separately from execution. EIP-8038 would change the price of reading and writing existing blockchain state. The proposals are intended to support higher throughput while limiting the data stored by Ethereum nodes.
One issue affects relayers, which execute transactions for users and recover their costs through transaction fees. Under EIP-8037, a transaction with a gas limit above 16,777,216 could receive a separate state-gas reservoir. State creation would use that reservoir before execution gas, but Solidity’s `gasleft()` function would not include the reservoir balance.
A relayer that measures costs by subtracting two `gasleft()` readings could therefore miss part of the gas it paid. Checked subtraction could cause the transaction to revert if the later reading is higher. Unchecked subtraction could produce an incorrect amount and lead to excessive reimbursement, depending on the contract’s payment checks. Users could also be charged too little, leaving relayers to cover the difference.
Suggested safeguards include using a user-signed fee based on an estimate under the proposed rules. Where gas measurements remain necessary, applications could limit the subtraction to zero and cap reimbursement at a user-approved maximum. Pull request No. 12581 would prevent gas readings from increasing, but would not include state charges outside `gasleft()`.
Under the proposed schedule, creating a cold storage slot would cost 110,020 gas, compared with 22,100 gas under the Osaka upgrade. The proposed total includes 12,100 execution gas and 97,920 state gas. The reservoir balance would determine which balance pays the state portion.
Another issue concerns EIP-7702, which lets an account authorize delegated contract code. If a transaction runs out of gas during pre-execution, it could be included in a block while the delegation and related nonce update are rolled back. An authorization that still meets its validity checks could then be reused.
The risk is greater when delegated code lets the first caller select an owner during initialization. Suggested wallet safeguards include linking initialization to the account’s signature or a self-call and invalidating exposed authorizations. Charging the full authorization cost before execution has also been proposed but not adopted.
ChainSecurity reported on Oct. 13 that changed gas costs and refunds could let a contract permanently mark an underfunded operation as failed. If the contract removes the retry option, a valid operation could become unusable. The review is examining whether applications can preserve retries and pass failures to the correct part of their systems.
The Hoodi testnet activation planned for Oct. 26 was postponed on Oct. 22, along with a proposed 200 million increase to the network’s gas limit. The postponement remains in place, and no mainnet activation date has been set.








