feat(slots): block + blob download modal on the slot detail page#437
Merged
Conversation
Add a Download modal to the slot detail page with a Block tab (JSON/SSZ) and a Blobs tab (one row per blob, download by versioned hash). Downloads go through the lab-backend download proxy via a same-origin fetch+save hook that surfaces archive 404s inline. Blob list currently sources versioned hashes from dim_block_blob_submitter; to be repointed at fct_block_blob_head (head-timely) once that CBT table is deployed.
The Blobs tab now self-fetches the slot's versioned hashes from the head table fct_block_blob_head (real-time) instead of dim_block_blob_submitter (which lags the chain head and was empty for recent slots). Queried by slot_start_date_time since the cbt-api slot projection filter does not match.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a Download modal to the slot deep-dive page with a Block tab (download the beacon block as JSON or SSZ) and a Blobs tab (download each blob sidecar by versioned hash). Downloads go through the lab-backend download proxy (ethpandaops/lab-backend#65) via a same-origin fetch-and-save hook that surfaces archive 404s inline (e.g. a not-yet-archived recent slot). Depends on lab-backend#65 for the
/api/v1/download/...endpoint.The Blobs tab currently sources versioned hashes from
dim_block_blob_submitter(execution submitter, lags until the EL block is processed, so recent slots show no blobs); a follow-up will repoint it at the head-timelyfct_block_blob_head(ethpandaops/xatu-cbt#285) once that table is deployed and the API types are regenerated.