Date
Views
0
Reading time
2 min.

Ethereum Gas Proposal Could Force dApps to Revise Billing

Ethereum Gas Proposal Could Force dApps to Revise Billing

Ethereum core developers have asked application teams and auditors to test eight gas assumptions in the proposed Glamsterdam upgrade. The review focuses on whether EIP-8037 and related changes could disrupt decentralized applications, relayers and wallets.

Marius van der Wijden of the Ethereum Foundation made the request in a Nov. 6 blog post. Internal reviews and investigations by security firms ChainSecurity and Dedaub cannot cover every project’s smart contracts and off-chain services, according to the post.

The review covers three pricing assumptions and five accounting assumptions. The accounting questions involve gas refunds, failed transactions, billing and EIP-7702 delegation. Affected projects are being asked to report what breaks, whether a setting, upgrade or migration could fix the problem, and how long the work would take.

EIP-8037 would create a separate state-gas reservoir when a transaction’s gas limit exceeds 16,777,216. State creation would use that reservoir before execution gas. The proposal would charge separately for adding persistent data to the blockchain, which Ethereum nodes must store. EIP-8038 would change the cost of accessing and writing existing state.

The proposed accounting could affect relayers that execute transactions for users and recover their costs. Solidity’s gasleft() function does not include gas held in the state-gas reservoir. A relayer that calculates payment by subtracting two gas readings could therefore miss costs paid from the reservoir.

If the later gas reading is higher than the earlier one, checked subtraction could cause a transaction to revert. Unchecked subtraction could produce a very large value and lead to excessive reimbursement, depending on the contract’s payment checks. Relayers could also pay costs that users do not cover.

The review recommends using a user-signed fee based on an estimate under the proposed rules. Where contracts must measure gas directly, developers could limit the subtraction and cap payment at a maximum signed by the user. Pull request No. 12581 would prevent gas readings from increasing, but it would not remove the billing gap created by the separate reservoir.

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’s balance would determine whether the state charge comes from the reservoir, the execution balance or both.

The rules could also affect wallets that use EIP-7702, which lets an account authorize contract code. If a transaction runs out of gas during pre-execution, it could remain in a block while the delegation and a related nonce update are rolled back. An authorization that still meets its validity checks could then be reused.

If the delegated contract lets its first caller choose an owner, an attacker could use the exposed authorization to take control during initialization. Suggested safeguards include linking initialization to the account’s signature or a self-call and invalidating exposed authorizations. A proposal to charge the maximum authorization cost in advance has not been adopted.

ChainSecurity reported on Oct. 13 that changed gas costs and refunds could cause a contract to record an underfunded operation as permanently failed. If the record removes the retry option, a valid operation may not be repeatable. Developers are considering revised budgets, failure propagation and preserved retry paths.

The Glamsterdam review remains open. The Hoodi testnet activation, planned for Oct. 26 with a 200 million gas-limit increase, was postponed on Oct. 22. The Ethereum Foundation’s Nov. 6 notice said the delay was continuing, and no mainnet activation date had been set.

Ethereum developers are also preparing longer-term changes to the network’s security architecture. Earlier in November, an Ethereum Foundation researcher outlined a 2028 post-quantum target, covering the execution, consensus and data layers.

Share to

Published by

Todo el mundo de las criptomonedas en tu bolsillo

Siempre al alcance de tu mano

Recent Articles