Repository navigation
fix: fall back to blob_sidecars when the node has no /blobs route - #154
Merged
Merged
Conversation
PabloCastellano
force-pushed
the
fix/blob-route-fallback
branch
from
October 29, 2026 11:52
69622bf to
933c4df
Compare
v0.7.0 reads the raw blobs only from /eth/v1/beacon/blobs. Which routes a beacon node
serves depends on the node and its version, not on the network. Measured on the
RPC endpoints (2026-10-24):
gnosis Lighthouse v8.2.1 /blob_sidecars only (404 on /blobs)
sepolia Lighthouse v8.3.0-rc.0 /blobs only (404 on /blob_sidecars)
mainnet Lighthouse v8.2.3 both
hoodi Lighthouse v8.3.2 both
With v0.7.0 the gnosis indexer cannot index ("Blobs not found", crash loop).
On a 404 the processor now tries the other route at once, and remembers (process wide)
the one that worked, so the next slot asks it first. Only when both answer nothing does
it wait and retry. The sidecars are sorted by index and only their blobs are used: the
commitments come from the block and the proofs are computed, as before.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
PabloCastellano
force-pushed
the
fix/blob-route-fallback
branch
from
October 29, 2026 11:57
933c4df to
7b45c5d
Compare
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.
v0.7.0 reads the raw blobs only from
/eth/v1/beacon/blobs. Which routes a beacon node serves depends on the node and its version, not on the network. Measured on the RPC endpoints (2026-10-24):/blobs/blob_sidecarsWith v0.7.0 the gnosis indexer cannot index:
Blobs not found, 420 restarts, 37 h behind.On a 404 (or an empty answer) the processor now tries the other route at once, and remembers, process wide, the one that worked, so the next slot asks it first. Only when both have nothing does it wait and retry (same 5 attempts as before). Errors other than 404 (400 from PeerDAS, 5xx) still propagate. Commitments still come from the block and the proofs are computed and verified as before; the sidecars only contribute their blobs, sorted by index.
Tests: 7 new (57 in total) for the route choice and the sidecars parsing. Not yet tried against a live gnosis node; I will check it when v0.7.1 is deployed.
🤖 Generated with Claude Code