forked from ChainSafe/lodestar
-
Notifications
You must be signed in to change notification settings - Fork 0
EIP-4844 #1
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
Draft
dgcoffman
wants to merge
55
commits into
unstable
Choose a base branch
from
dgc/eip-4844
base: unstable
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.
Draft
EIP-4844 #1
Changes from 1 commit
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
1cede34
Updates to allow test:spec-min|main work, some edits to contributing …
dgcoffman 6ba5243
Sketch out EIP-4844 types
dgcoffman 1ca3287
Spec-matching configs and presets
dgcoffman 78d7190
Beacon chain types complete
dgcoffman 5852287
Add DOMAIN_BLOBS_SIDECAR
dgcoffman 03649bb
Capella and 4844 state upgrades
dgcoffman ca28429
Add engine_getBlobsBundleV1 Engine API call
dgcoffman 018f80b
When producing a block to propose, assign blobKzgCommitments from Eng…
dgcoffman ee4ab00
Fix state upgrade and patch blocks with missing fields when necessary
dgcoffman 3b37059
Fix: Accidentally removed assigning execution payload to block
dgcoffman 84c8671
Add beacon_block_and_blobs_sidecar gossip type
dgcoffman c066fae
Fix allForks SSZ types
dgcoffman a7c698b
Revert upgradeStateToCapella
dgcoffman 6841f3d
Revert Capella ssz type change
dgcoffman 558ef96
Fix assigning excessDataGas to ExecutionPayload
dgcoffman 66cbf3a
Add chain config constants and validator types
dgcoffman 10e5585
Add a couple more of the polynomial commitment types
dgcoffman 01f49d9
Scaffold block proposing w/ KZG commitments
dgcoffman 2926f11
publishBlockWithBlobs implementation. A lot more moon math scaffoldin…
dgcoffman 85e51a3
Use SSZ object correctly
dgcoffman 594e07f
Drill blobs all the way through
dgcoffman 5e69a50
Use computeAggregateKzgProof from the c-kzg package and delete all th…
dgcoffman 7610968
Bump @types/node
dgcoffman 40e2283
Bump c-kzg to the version that compiles on Linux
dgcoffman 8230d13
Load KZG setup
dgcoffman 20db61b
Fix trusted_setup file path
dgcoffman 0c0546f
Add unit test just to verify the c-kzg library works
dgcoffman 208e062
Bump c-kzg again
dgcoffman 4c27da3
processBlocks for 4844 blocks. Do not compute aggregate proof for emp…
dgcoffman bc88957
Delete unused polynomialCommitments file
dgcoffman 96e6fb6
Update version of c-kzg to one which does not crash for blobs arrays …
dgcoffman 7851d78
Bump c-kzg to version that handles empty array of blobs -- remove app…
dgcoffman f856410
Blind code processBlobKzgCommitments
dgcoffman d73e4a3
Set excessDataGas in latestExecutionPayloadHeader
dgcoffman 91d163f
Block processing state transition
dgcoffman a31b7c8
Add blob repository
dgcoffman 25194ff
stateTransition now needs to do a db read...
dgcoffman 155d601
Awkwardly drill through db.blob.get every that does a state transition
dgcoffman c5509fa
Move some code into util/blobs/
dgcoffman 9e0f3a8
Remove hardcoding that was dealing with EL not having Capella. Add va…
dgcoffman 9a4d3c2
Add blobs_sidecars_by_range ReqResp method
dgcoffman 0378d8f
Start implementing blobsSidecarsByRange
dgcoffman 27674aa
Remove hardcoded withdrawalsRoot assignment
dgcoffman 5e5067c
Maybe this onBlobsSidecarsByRange impl works
dgcoffman 4456b82
Rename BlobRepository -> BlobsSidecarRepository
dgcoffman 17a93e8
stateTransition must be sync. Move processBlobKzgCommitments into a p…
dgcoffman 337164e
Fix blobsBundle parsing. Upgrade c-kzg to a version which does not cr…
dgcoffman 1bd9bb8
Better error message
dgcoffman 2942065
Transform JSON trusted setup
dgcoffman 013d173
stateTransition is not async
dgcoffman c7a6f01
Various fixes to state-transition block processing
dgcoffman 828454d
Temporarily allow verifyAggregateKzgProof to fail during isDataAvailable
dgcoffman 2a3a9a0
Fix versioned hash comparison
dgcoffman 2b59a3c
Blobs bundle does not have aggregated_proof
dgcoffman dec9841
Remove the tolerance for KZG failing
dgcoffman 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 hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
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.
fixed the equality check