On Monday’s testing call, ACDT #103, Ethereum Foundation developer Marius van der Wijden said the gas changes in EIP-8037 and EIP-8038 could break roughly 10,000 to 15,000 of Ethereum’s 90 million or so smart contracts, according to the call summary posted on Ethereum Magicians. Outside audits turned up about 200 issues. The call ended without a decision, and the question goes to Thursday’s execution-layer call, ACDE #249.
The rundown
- What changed: The damage now has a number. EIP-8037 charges separately for creating new state, the permanent data every node must store, and prices it at 1,530 gas per byte. That takes the account-creation charge on a contract deployment from 32,000 gas to 183,600, and a write to a new storage slot from 20,000 to 97,920.
- Why it matters: Gas is Ethereum’s fee unit for computation. Some contracts assume those costs stay fixed or pass a set allowance of gas to the contracts they call. Raise the price and those assumptions, which developers call invariants, can fail. ChainSecurity reported 152 findings, 76 of them also found by the Foundation, for about 200 in total, most of them traced to the higher costs, the summary says.
- Where it breaks: Many affected contracts are immutable and cannot be patched, only replaced. Dedaub screened about 25,000 contracts with unusual gas use and flagged 70 medium- or high-risk findings, 22 of them missed by the Foundation, CoinDesk reported. The Juicebox protocol’s developer told the call that breaking invariants hurts confidence in building permanent code on Ethereum.
- By the numbers: Van der Wijden put the value at risk at a few hundred thousand dollars, against a roughly $300 billion ecosystem, according to the summary. The Foundation’s own outreach to app teams found three high-severity and at least 25 medium-severity issues, most being fixed.
The test network was set to receive Glamsterdam on 26 Oct until developers called it off, as we reported in why the Hoodi test was called off. CoinDesk says the Foundation will keep Hoodi on hold until the bugs are resolved, so there is still no mainnet date. For the upgrade after it, see last week’s Hegotá call.
Read the agenda and call summary on Ethereum Magicians.
This article is for information only and is not investment advice.
