Skip to content
EthNews

News from across Ethereum

Ethereum drafts split over Glamsterdam contract compatibility

Two draft EIPs offer competing ways to preserve legacy contract execution as Glamsterdam reprices state creation and access, but neither has a target date.

The EthNews Desk3 min read

Ethereum drafts split over Glamsterdam contract compatibility

Before Glamsterdam, contracts ran under one gas schedule. Two rival draft EIPs filed on Nov. 8 propose ways to preserve deployed contracts as the upgrade changes the cost of state operations, according to CoinDesk’s report on the proposals.

The proposals address a compatibility risk in EIP-8037 and EIP-8038, which are scheduled for Glamsterdam. The first reprices state creation, including new accounts, storage slots and deployed bytecode. The second raises the cost of state access, including SLOAD, SSTORE and cold account access. The Ethereum Foundation said historical transaction replays showed some contracts could break or degrade because they rely on fixed gas assumptions.

Under EIP-8037, the base cost of creating a contract would rise from 32,000 gas to 183,600, before code storage and execution costs. A contract that forwards a fixed gas amount to another contract, for example, could fail if the callee’s operation becomes more expensive. The Foundation said many flagged issues could be addressed by increasing gas limits, while some contracts may require code changes.

Opcode versions or separate gas meters

Leo Glisic’s draft, EIP-8488, would divide the instruction set into legacy and V2 opcodes. Existing contracts would keep the old gas schedule; new contracts would use V2 opcodes priced under EIP-8037 and EIP-8038. The draft also requires DELEGATECALL_V2 targets to use V2, and omits GAS and GASLIMIT from the V2 set.

Giulio Rebuffo’s alternative keeps the new schedule for billing but separates it from execution accounting. Each transaction would run two gas meters: one tracks execution under the old rules, while the other uses the new schedule to determine the fee. In direct comparison, Glisic’s approach versions the opcodes contracts use; Rebuffo’s leaves the execution model in place and separates how work is measured from how it is billed.

Rebuffo’s draft says no execution-client implementation or consensus tests have been run for its design. Both proposals remain drafts, and neither specifies a target date, CoinDesk reported. The next private Glamsterdam test had been estimated for Nov. 16 to 20 at the earliest, before either draft was filed.

Gas repricing remains in the upgrade plan

The repricing is intended to align gas costs with the work of storing and accessing Ethereum state. In August, the Ethereum Foundation’s impact assessment said the changes would help support higher gas limits as the network scales. Its replay analysis found that most transactions were unaffected; vulnerable patterns included fixed gas stipends, hardcoded call values, logic that branches on GAS or gasleft(), and presigned transactions with fixed gas limits.

That assessment also said developers could check affected contracts and test fixes on a Glamsterdam devnet. CoinDesk reported that a planned Oct. 26 testnet rehearsal was postponed after researchers raised security concerns about the repricing. The two new drafts therefore offer competing protocol-level responses while developers continue testing the planned changes.

Neither draft has been adopted. For now, Glamsterdam’s scheduled repricing and the proposed compatibility mechanisms are separate tracks: the gas changes are in the upgrade plan, while the drafts still need review, implementation work and testing before developers can establish whether either approach will be used.

Source material