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

Fetch blobs from EL via engine_getBlobsV1: #79

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

Tumas
Copy link
Member

@Tumas Tumas commented Jan 7, 2025

  • Add 'engine_exchangeCapabilities' request to be able to tell if EL serves blobs.
  • Fetch capabilities on startup and on every epoch start.
  • Rewrite eth1_api::Endpoints not to use mutexes.

Comment on lines +529 to 534
self.request_blobs_from_execution_engine(
pending_block.block.clone_arc(),
missing_blob_indices.clone(),
);

let blob_ids = missing_blob_indices
Copy link
Contributor

@hangleang hangleang Jan 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so in the case if a node missed some blobs, it fetches those blobs from local EL while at the same time, request from peer through RPC as well. why don't implement fallback instead?

Copy link
Member Author

@Tumas Tumas Jan 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe the idea here is to have blobs available as soon as possible so that block could be processed with minimal delay

@SifraiTeam SifraiTeam force-pushed the feature/get-blobs-from-el branch from 90c710d to 4c39571 Compare January 10, 2025 12:30
Copy link
Collaborator

@povi povi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

- Add 'engine_exchangeCapabilities' request to be able to tell if EL serves blobs.
- Fetch capabilities on startup and on every epoch start.
- Rewrite `eth1_api::Endpoints` not to use mutexes.
@SifraiTeam SifraiTeam force-pushed the feature/get-blobs-from-el branch from 4c39571 to 047520e Compare January 14, 2025 14:35
@SifraiTeam SifraiTeam merged commit 047520e into develop Jan 14, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants