-
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: Add blob schedule to EL config files #9129
Open
lightclient
wants to merge
6
commits into
ethereum:master
Choose a base branch
from
lightclient:blob-config
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
9e4eb1d
add blob config eip
lightclient bd7fc9d
add discussions-to
lightclient 34b23b1
apply eip number 7840
lightclient 16a6427
shorter title
lightclient b8dde8e
shorter title 2
lightclient 30d713d
7840: review comments
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,70 @@ | ||
--- | ||
eip: 7840 | ||
title: Add blob schedule to EL config files | ||
description: Include a per-fork schedule of max and target blob counts in client configuration files | ||
author: lightclient (@lightclient) | ||
discussions-to: https://ethereum-magicians.org/t/add-blob-schedule-to-execution-client-configuration-files/22182 | ||
status: Draft | ||
type: Standards Track | ||
category: Core | ||
created: 2024-12-12 | ||
--- | ||
|
||
|
||
## Abstract | ||
|
||
Add a new object to client configuration files `blobSchedule` which lists the | ||
target blob count per block and max blob count per block for each fork. | ||
|
||
## Motivation | ||
|
||
- ensure there is a way to dynamically adjust the target and max blob counts per | ||
block | ||
- avoid complex handshake over engine API | ||
|
||
## Specification | ||
|
||
Extend the client configuration files with the object `blobSchedule` with the | ||
following shape: | ||
|
||
```json | ||
"blobSchedule": { | ||
"cancun": { | ||
"target": 3, | ||
"max": 6 | ||
}, | ||
"prague": { | ||
"target": 6, | ||
"max": 9 | ||
} | ||
} | ||
``` | ||
|
||
When there is no explicit configuration for the current fork, use the last | ||
specified fork value. If no last value is specified, set both to zero. | ||
|
||
## Rationale | ||
|
||
Although maintaining the target and max blob only in the consensus client is | ||
desirable, we acknowledge the reality that execution clients need these values | ||
for various activities. For example, the `eth_feeHistory` RPC method returns a | ||
field `blobGasUsedRatio` that does require the max, even though the core | ||
protocol doesn't specifically need such value. Passing this value over the | ||
engine API every block seem overkill so we believe a configuration value is a | ||
good middle ground. | ||
|
||
## Backwards Compatibility | ||
|
||
No backward compatibility issues found. | ||
|
||
## Test Cases | ||
|
||
TODO | ||
|
||
## Security Considerations | ||
|
||
Needs discussion. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. <-- TODO --> tag |
||
|
||
## 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.
<-- TODO --> tag for tracking via bot