EIPs Explained

EIP-2458 · Withdrawn · Informational · 2020-01-06

EIP-2458: Updates and Updated-by Header

A withdrawn process proposal to add `updates` and `updated-by` headers so changes to Active EIPs would go through their own reviewed EIP.

What problem does it solve?

Every EIP starts with a block of header fields ("front matter"). When this proposal was written, EIP-1 offered replaces and superseded-by to say that one EIP fully replaces another, and an updated date for EIPs that are edited in place.

Final EIPs are effectively frozen: to change them you write a new EIP that replaces them. Active EIPs (living process documents such as EIP-1 itself) are different: they get edited directly. That means an important change to a process document could land with less visibility and review than a brand-new EIP would get.

EIP-2458 proposed that an update to an Active EIP be written as its own small EIP, vetted through the normal process, and linked from both sides with two new headers.

How it works

Two optional headers:

  • updates goes on the new EIP and lists the Active EIP(s) it modifies. Listing an EIP under updates implies it is also a requires dependency, so you do not list it twice. The updated EIP is not obliged to link back.
  • updated-by goes on the Active EIP. When that EIP's updated field gets a new entry, the EIP that caused the change should be listed here, and that EIP must have reached Final.

Multiple numbers are comma-separated, the same syntax as other EIP headers.

The headers apply only to Active EIPs. Final EIPs keep using replaces / superseded-by, because they are not edited after finalization.

Sample code

Illustrative front matter for an Active EIP and the EIP that updates it (EIP numbers here are placeholders):

# On the Active process EIP being changed
---
eip: 1
title: EIP Purpose and Guidelines
status: Active
updated: 2020-02-01
updated-by: 9999
---
# On the new EIP that carries the change
---
eip: 9999
title: Clarify editor responsibilities
status: Final
type: Meta
updates: 1
---

Things to know

  • Status is Withdrawn. These headers were never adopted into the EIP process, and current EIP tooling does not use them.
  • The motivation (more visibility for changes to process documents) is still handled informally: significant changes to EIP-1 are discussed and reviewed as pull requests in the EIPs repository.
  • The proposal was purely about document metadata; it had no effect on the protocol or on any smart contracts.

#meta #process #headers #withdrawn

Details

Authors
Edson Ayllon (@edsonayllon)
Status
Withdrawn
Type
Informational
Created
2020-01-06

Machine-readable: Markdown · JSON