Skip to content

EIP-4844 tracker #4970

@dapplion

Description

@dapplion

Implementation

  • Add params, config and types Add capella hardfork and types #4568
  • Make c-kzg library available for Lodestar. Add native bindings for ethereum/c-kzg-eip4844 NodeJS bindings dankrad/c-kzg#3
  • Block proposing
    • Add new engine API engine_getBlobsV1
    • Cache returned blobs in beacon to not modify validator cycle code
    • Publish to gossip topic, depending on fork
  • Block processing / import
    • Update chain processBlock to take block + (maybe) blobs pair
    • Validate blobs is_data_available, running KZG crypto
    • Store blobs to database + migrate from hot to cold on finalization + prune old blobs < MIN_EPOCHS_FOR_BLOBS_SIDECARS_REQUESTS
  • Add p2p ResResp methods BeaconBlockAndBlobsSidecarByRoot + BlobsSidecarsByRange
    • Update register / unregister logic to active those topics only post-eip4844
  • Add p2p gossip topic beacon_block_and_blobs_sidecar

Final PR

Devnet items

CC: @g11tech

Pending spec PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions