Skip to content
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

WIP: EIP4844 (shard blob txs) Support #10315

Closed
wants to merge 309 commits into from
Closed

WIP: EIP4844 (shard blob txs) Support #10315

wants to merge 309 commits into from

Conversation

terencechain
Copy link
Member

@terencechain terencechain commented Mar 7, 2022

This PR adds the consensus layer changes to support https://eips.ethereum.org/EIPS/eip-4844
To run a local interop chain with geth or any execution layer client, check out the following interop instructions: https://hackmd.io/DXlqhjt-TEqM3GEZy1eYGw?view

Todos
Containers

  • Add blob_kzgs to BeaconBlockBody. New BeaconBlock and SignedBeaconBlock
  • Add BlobSidecar container
  • Add SignedBlobTransaction, BlobTransaction... etc

Runtime

  • New RPC endpoint for the validator to retrieve beacon blocks with blob_kzgs
  • Validator client can sign over blocks with blob_kzgs

Validations

  • Add verify_kzgs_against_transactions
  • Add blob_to_kzg
  • Use validations across state transition, p2p and validator rpcs

Validator

  • Can request and sign Sidecar

Storages

  • Add data methods for BlobSidecar
  • Add pruning of blobs after N amount of time expires

API

  • Add engine_getBlobV1 rpc end point

Networking

  • Add broadcasting BlobsSidecar on a new topic blobs_sidecar
  • Add BlobsSidecar req/resp
  • Add essential blobs validations for dos. (e.g. at most MAX_BLOBS_PER_BLOCK commitments in a valid block)

terencechain and others added 30 commits October 6, 2021 17:22
@stale
Copy link

stale bot commented Apr 28, 2022

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale There hasn't been any activity here in some time... label Apr 28, 2022
@terencechain
Copy link
Member Author

Continue in terencechain#1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale There hasn't been any activity here in some time...
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants