Skip to content

feat: beacon API support for blob fetching #11797

@sam-iamm

Description

@sam-iamm

Component

Anvil

Describe the feature you would like

Anvil supports anvil_getBlobsByTransactionHash and anvil_getBlobByHash to fetch blobs, but it does not support the beacon API method to fetch blobs: /eth/v1/beacon/blob_sidecars/{block_id}

By supporting this beacon API method, we can test with anvil using code that expects access to a beacon API endpoint to fetch blobs.

Additional context

This is useful for testing an L2 that sends blob transactions to Anvil and then needs a beacon API endpoint to fetch blobs and perform derivation. Our CL binary, for example, is unaware of the anvil methods and currently expects to use the beacon api to fetch blobs.

Metadata

Metadata

Assignees

Labels

C-anvilCommand: anvilT-featureType: featurefirst issueA good way to start contributing

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions