EIP-2458 Proposal to add an EIP update header (Updates and Updated-by Header)
No call decision · Other · EIP status Withdrawn · created 2020-01-06
An informational proposal to add updates and updated-by headers to the EIP document template so that when one EIP updates another EIP that is in active status, this can be tracked.
Why it is needed
When an EIP reaches final status, the replaces and superseded-by headers clearly record which EIP replaces which. But EIPs in active (continuously maintained) status are different. Even when their content changes, only the date is recorded in the updated header, with no official field indicating who proposed the change or under which EIP. This makes it hard for stakeholders to know in advance when an active EIP is being modified, and hard to track the change history at a glance. This proposal keeps the existing procedure of opening a new EIP to propose a change, while explicitly recording that relationship in the document headers.
What changes
Today
- EIPs in active status show only the update date via the updated header
- There is no official header linking which EIP caused an update
- The tracking structure that final status has, such as replaces and superseded-by, does not exist for active status
After EIP-2458
- A new EIP specifies, via the updates header, the active EIP it updates
- The target active EIP specifies, via the updated-by header, the list of EIPs that have updated it
- If updates is written, the requires header does not need to be written separately
Who is affected
- EIP authors and editors: Modifying an EIP in active status was set to add a documentation step requiring new headers to be filled in.
- Developers and researchers who reference EIPs: Under the proposal, the change history and related EIPs of an active EIP could be tracked just by looking at the headers.
In depth
Background: the gap in tracking updates to active EIPs
EIP-1 defines the updated, replaces, and superseded-by headers. replaces and superseded-by are used when an entire EIP is replaced by another EIP, that is, when the EIP becomes a historical document and a new standard takes its place. The updated header, on the other hand, only records the date when a draft or active status EIP was modified. Unlike final, an active EIP does not produce an immutable record; it is updated modularly through the process of opening a new EIP and going through standard discussion and review. This proposal introduces the updates and updated-by headers to sufficiently notify stakeholders before such a change and to record which EIP was responsible for it.
updated-by header specification
updated-by is a header reserved only for EIPs in active status. When an active EIP receives a new date in its updated header, if the EIP responsible for that change has reached final status, it must also be listed in the updated-by list. When listing multiple EIPs, separate them with commas. An example follows. --- updated-by: 9999, 9998, 9997 ---
updates header specification
updates is a header reserved for EIPs that update an EIP in active status. An EIP listed in updates implicitly includes a requires relationship as well, so requires does not need to be written separately. The fact that an EIP has an updates entry does not mean the target EIP must necessarily list it back in updated-by. When listing multiple EIPs, separate them with commas. An example follows. --- updates: 1 ---
Scope limited to active status
updates and updated-by apply only to EIPs in active status. This is because updates to final status EIPs are already handled through the superseded-by and replaces headers. Also, this proposal does not change the existing syntax of EIP headers but adds header options, so it specifies that the syntax matches the existing EIP header syntax.
Backwards compatibility and security
updates and updated-by are optional headers and do not cause compatibility issues with existing EIP documents. Implementation requires simply adding the header options. This proposal is an Informational standard and does not change protocol behavior, so it states there are no technical security considerations.
Current status: Withdrawn
This EIP is in Withdrawn status; the proposal was withdrawn, and the updates and updated-by headers were not actually reflected in the real EIP frontmatter template. In other words, the header scheme described here is not actually in use.