feat(forks,specs,fixtures): Add Blob Schedule #1040
Draft
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.
🗒️ Description
Adds blob schedule as described in this PR: ethereum/EIPs#9129
Transition Tool Interface Changes
targetBlobsPerBlock
andmaxBlobsPerBlock
to theEnvironment
(env.json
) structure that is passed with each requestTransition tool normally receives the active fork either as a parameter (
--state.fork
for Geth for example) or as part of thestate
structure when the transition tool operates in server mode.Another alternative would be to pass the blob schedule within this structure:
State Test Fixture Format Changes
Adds
targetBlobsPerBlock
andmaxBlobsPerBlock
to theenv
field in every fixture:This includes adding this to
Cancun
fork, but it could be removed and only included from Prague onwards.Another option could be to add the
blobSchedule
structure to the root of the fixture:Blockchain Test Fixture Format Changes
The
blobSchedule
structure is added as a new field to the fixture format:🔗 Related Issues
✅ Checklist
mkdocs serve
locally and verified the auto-generated docs for new tests in the Test Case Reference are correctly formatted.