-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add EIP: Cease serving history before PoS #8266
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
eaed3bc
wip
lightclient d601d45
add eip for pre-merge data
lightclient f2983dc
add discussions to link
lightclient 3ab94a0
7639 nits
lightclient bb77d47
7639: fix filename (again)
lightclient 787c248
7639: rm header accumulator
lightclient File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
--- | ||
eip: 7639 | ||
title: Cease serving history before PoS | ||
description: Execution layer clients will no longer serve block data before Paris over p2p. | ||
author: lightclient (@lightclient) | ||
discussions-to: https://ethereum-magicians.org/t/cease-serving-history-before-pos/18991 | ||
status: Draft | ||
type: Standards Track | ||
category: Networking | ||
created: 2024-02-13 | ||
--- | ||
|
||
## Abstract | ||
|
||
Execution layer clients will no longer request or respond to p2p queries about | ||
block data before the Paris upgrade. | ||
|
||
## Motivation | ||
|
||
As of 2024, historical data in clients has grown to around 500 GB. Nearly 400 GB | ||
of that is from block data before PoS was activated in the Paris upgrade. Long | ||
term, Ethereum plans to bound the amount of data nodes must store. This EIP | ||
proposes the first steps to achieve such goal. | ||
|
||
## Specification | ||
|
||
Clients must not make or respond to p2p queries about blocks before block 15537393. | ||
|
||
## Rationale | ||
|
||
### Only Pre-PoS data | ||
|
||
One might ask why the distinction between pre and post PoS data is made in this | ||
EIP. The simple answer is that the at the moment of the merge, the block | ||
structure changed substantially. Although execution layer client software today | ||
continues on with block data on disk which remains similar to per-PoS data, the | ||
beacon chain is now the canoncial chain definition. Therefore, a beacon block | ||
can be used to both record historical data for execution layer and beacon layer. | ||
|
||
Over the long term, the distinctions of "execution layer" and "consensus layer" | ||
may matter less. This EIP tries to be agnostic to client architecture and | ||
instead focuses on the shape of the data. | ||
|
||
## Backwards Compatibility | ||
|
||
After this EIP is activated, nodes will no longer be able to full sync from the | ||
devp2p network. To continue doing so, they must retrieve the data out-of-band. | ||
|
||
## Security Considerations | ||
|
||
TODO | ||
|
||
## Copyright | ||
|
||
Copyright and related rights waived via [CC0](../LICENSE.md). |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.