Skip to content

Conversation

cskiraly
Copy link
Contributor

It is better to make it clear that here we do conversion on-the-fly.

@lightclient
Copy link
Member

lightclient commented Sep 10, 2025

Should we be computing the proofs on the fly for GetBlobs? Seems like it will get pretty blocked up around the fork.

@rjl493456442
Copy link
Member

rjl493456442 commented Sep 11, 2025

https://github.com/ethereum/execution-apis/blob/main/src/engine/osaka.md#engine_getblobsv2

Specification

Refer to the specification for engine_getBlobsV1 with changes of the following:

Given an array of blob versioned hashes client software MUST respond with an array of BlobAndProofV2 objects with matching versioned hashes, respecting the order of versioned hashes in the input array.

Client software MUST return null in case of any missing or older version blobs. For instance,

  • if the request is [A_versioned_hash, B_versioned_hash, C_versioned_hash] and client software has data for blobs A and C, but doesn't have data for B, the response MUST be null.
  • if the request is [A_versioned_hash_for_blob_with_blob_proof], the response MUST be null as well.

Client software MUST support request sizes of at least 128 blob versioned hashes. The client MUST return -38004: Too large request error if the number of requested blobs is too large.

Client software MUST return null if syncing or otherwise unable to serve blob pool data.

Callers MUST consider that execution layer clients may prune old blobs from their pool, and will respond with null if a blob has been pruned.

@rjl493456442
Copy link
Member

Spec says we can just return null if any blob with legacy sidecar is requested. Maybe we can get rid of the conversion here?

@fjl
Copy link
Contributor

fjl commented Sep 11, 2025

We discussed this and the conversion should be removed in GetBlobs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants