EIP-1872 Network upgrade scheduling window (Ethereum Network Upgrade Windows)

No call decision · Other · EIP status Stagnant · created 2018-03-25

A proposal to schedule and execute hard forks (network upgrades) not at arbitrary times, but within a few fixed periods (windows) set each year.

Why it is needed

Ethereum hard forks have traditionally been scheduled ad hoc whenever an issue arose. Businesses that depend on the network, such as exchanges and node operators, had a hard time knowing in advance when an upgrade would or would not happen, making it difficult to plan internal work or vacation schedules. Another problem was that planned roadmap upgrades, more urgent but not immediately dangerous changes, and emergency changes threatening the entire protocol were all handled without any distinction. This EIP tries to increase predictability by splitting upgrades into three types and locking planned upgrades to four fixed windows per year.

What changes

Today

After EIP-1872

Who is affected

In depth

Three upgrade types

This EIP splits network upgrades into three types. Roadmap upgrades are planned, carefully prepared protocol improvements, like Homestead, Byzantium, and Constantinople. Priority upgrades are used when there is a technical reason to move faster than a roadmap upgrade, even though it does not threaten the entire system (for example, resolving the difficulty bomb). Critical upgrades respond to a structural risk to the protocol or ecosystem, with the DAO Fork, Tangerine Whistle, and Spurious Dragon cited as past examples.

Roadmap upgrade windows

Roadmap upgrades are proposed to run in the week containing the third Wednesday of January, April, July, or October. Implementation teams prepare their software by 2 to 4 weeks before the window, and to do so, the activation block number is finalized 4 to 6 weeks before the window. It specifies that upgrade cycles should also be set in multiples of 3 months (3, 6, 9 months, etc.) to match the 3-month spacing between windows. If a plan is delayed, it is generally recommended to reschedule to the next window (3 months later).

Priority upgrades

Priority upgrades are used when there is an urgent technical reason, even though it is not a systemic risk. The source text notes there had not yet been an actual case, citing something like postponing the difficulty bomb as a possible example. An empty roadmap window (the third week of January, April, July, or October) should be used if possible, and the third week of another month can be used if truly necessary, though this is not recommended. To give major clients time to include the block number in a release, the announcement and block number finalization must be completed 2 to 4 weeks before the window, and no later than one week before.

Critical upgrades

Critical upgrades respond to a structural risk to the protocol or ecosystem, and this EIP places no constraints on their window or schedule. It explains that once client implementation teams agree on a fix, it is typically rolled out immediately. It recommends including only the minimal changes needed to resolve the risk, deferring anything else desired to a later Priority or Roadmap upgrade.

Marking network tier by block number

It proposes that production-grade networks storing real value, like mainnet, choose an activation block number whose decimal representation ends in at least three zeros (explaining that every past mainnet upgrade has followed this pattern). Test and development networks, by contrast, are recommended to use a block number that is a palindrome in decimal. It notes that Ropsten and Kovan initially used the three-zeros pattern before switching to palindromes, while Rinkeby has used palindromes from the start. Block numbers for Roadmap and Priority upgrades should be chosen so they are produced around 12:00 UTC (Monday through Friday) on the Wednesday of that week.

If applied to past upgrades

The source text explains that if this policy had been applied in the past, Homestead, Byzantium, and Constantinople would have been classified as Roadmap upgrades, and the DAO Fork as a Critical upgrade. Tangerine Whistle and Spurious Dragon were Critical upgrades responding to the Shanghai spam attacks, and while there was no past case that would qualify as a Priority upgrade, it adds that Spurious Dragon would have been a good candidate. It also explains that under this policy, the initial Constantinople launch would likely have been pushed to the next window following the Ropsten testnet consensus failure, and that the response to the EIP-1283 security issue would likely have been handled outside a window because of the difficulty bomb.

Current status

This EIP is of type Meta, written in 2018, with status Stagnant. It is no longer progressing through the official process, and Ethereum's actual network upgrade schedule has not formally adopted the rules in this EIP. The Implementation section in the source text presents an example table applying the window schedule starting after the Istanbul upgrade (planned for 2019-10-16), but this is only an example from the time of the proposal.

Original EIP · ← EIPs