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

Allow importing of historical blobs via HTTP API #6656

Open
wants to merge 2 commits into
base: unstable
Choose a base branch
from

Conversation

macladson
Copy link
Member

@macladson macladson commented Dec 4, 2024

Issue Addressed

#5391

Proposed Changes

Allows importing historical blobs into the blobs-db via the /lighthouse/database/import_blobs endpoint.
Supports SSZ through /lighthouse/database/import_blobs_ssz.

In both cases, the required format must deserialize to Vec<BlobSidecarList<E>>

Performs the following checks:

  • Checks that block_root is consistent across each BlobSidecarList.
  • Checks that block_root exists in the database.
  • Checks if a BlobSidecarList is already stored for that block_root. If it is, ensure it matches the BlobSidecarList we are attempting to store.

@macladson macladson added work-in-progress PR is a work-in-progress database labels Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
database work-in-progress PR is a work-in-progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants