EIP-607 Hard fork meta: Spurious Dragon ("Hardfork Meta: Spurious Dragon")

Final · Other · EIP status Final · created 2017-04-23

A meta document recording which EIPs are included in the hard fork 'Spurious Dragon' and at which block they activate.

Why it is needed

Ethereum upgrades its network by bundling multiple changes (EIPs) together into a hard fork. If there is no single official record of which changes are included and when they turn on, client implementers and users can end up working from different assumptions. This document is a Meta EIP specifying the changes included in the hard fork named Spurious Dragon. The four EIPs bundled here cover replay attack prevention for transactions reused across different chains (EIP-155), a gas cost increase for the EXP opcode (EIP-160), state trie cleanup (EIP-161), and a contract code size limit (EIP-170). As shown by the alias 'State-clearing,' state cleanup is the defining character of this fork.

What changes

Today

After EIP-607

Who is affected

In depth

The role of a hard fork meta document

This document is not an EIP directly proposing a new feature, but a Meta-type EIP specifying the changes included in the hard fork named Spurious Dragon. The original Abstract defines the document's purpose in a single sentence as 'specifying the changes included in the hard fork named Spurious Dragon.' In other words, its entire role is to leave an official record of the fork's components and activation conditions, while the technical specification of each change belongs to the individual included EIPs. The author is Alex Beregszaszi, and it was written on 2017-04-23.

Codename, alias, and activation block

The original Specification concisely lists the fork's identifying information. The codename is Spurious Dragon and the alias is State-clearing. The activation condition is block 2,675,000 or above on mainnet, and block 1,885,000 or above on the Morden testnet. The specification itself shows that activation is based on block number rather than a specific date, and that the testnet is assigned a different block number than mainnet.

The four included EIPs

The source lists four included EIPs. EIP-155 is 'Simple replay attack protection,' EIP-160 is 'EXP cost increase,' EIP-161 is 'State trie clearing,' and EIP-170 is 'Contract code size limit.' Changes spanning different areas, signature security, gas cost, state size, and code size, are bundled into a single fork and activated together at the same block. The specific figures and rules for each change are in the respective EIP source documents.

The requires list and references

The frontmatter's requires field lists EIP-608 in addition to the four included EIPs (155, 160, 161, 170). In other words, this meta document references EIP-608 as a preceding document. The References section carries a single link to an Ethereum Foundation blog post dated November 18, 2016 (hard-fork-no-4-spurious-dragon), showing that this fork was announced at the time as the fourth hard fork on that blog.

Status: Final

This document's status is Final. Since the activation block specified in the specification (mainnet 2,675,000) is fixed and the document is in a finalized state, it should be read not as a proposal whose content might still change, but as the record of an already-finalized past hard fork. There is no separate core developer call decision record related to this explainer.

Original EIP · ← EIPs