Skip to content

Find verified unfinalized blocks on seq-only cache lookups - #504

Closed
samliok wants to merge 1 commit into
mainfrom
cached-storage-seq-lookup
Closed

Find verified unfinalized blocks on seq-only cache lookups#504
samliok wants to merge 1 commit into
mainfrom
cached-storage-seq-lookup

Conversation

@samliok

@samliok samliok commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Split out of the cleanup-instance branch.

CachedStorage.Retrieve only looked the cache up by digest, so seq-only lookups (which pass a zero digest) missed blocks that were verified but not yet finalized. Scan the cache by seq for those lookups.

Related to the upcoming auxiliary info dissemination work: the aux history traversal retrieves blocks by seq with a zero digest, so this should merge before or alongside that stack.

@samliok

samliok commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator Author

Duplicate of #497, which carries the same fix plus a unit test.

@samliok samliok closed this Aug 13, 2026
@samliok
samliok deleted the cached-storage-seq-lookup branch August 13, 2026 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant