Skip to content

Add an AT for getBlobs api with download feature enabled #10252

@tbenr

Description

@tbenr

The new AT could look like:

  1. spin up a full custody node, producing blocks (fix number of produced blobs like we do in DasCheckpointSyncAcceptanceTest)
  2. spin up a non-validating node (with minimal custody requirements) with --rest-api-get-blobs-sidecars-download-enabled on*.
  3. spin up a non-validating node (with minimal custody requirements) with --rest-api-get-blobs-sidecars-download-enabled off.
  • at first we can check \v1/debug/beacon/data_column_sidecars/ presence on the second node and third node
  • then we hit /v1/beacon/blobs/ on the second node to see that we will be able to reconstruct the blobs, while on the third node it will return 404.
  • we can compare the result with blobs coming from /v1/beacon/blobs/ on the full custody node. They must match.
  • we can finally check that /v1/debug/beacon/data_column_sidecars/ on secondary node now returns more sidecars.

We could even just enhance DasCheckpointSyncAcceptanceTest and just add all the checks in the same AT.

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