Skip to content

op-service/sources: detect duplicate blob hashes#18492

Merged
ajsutton merged 3 commits intodevelopfrom
seb/fix-l1-blob-source
Dec 4, 2025
Merged

op-service/sources: detect duplicate blob hashes#18492
ajsutton merged 3 commits intodevelopfrom
seb/fix-l1-blob-source

Conversation

@sebastianst
Copy link
Copy Markdown
Member

@sebastianst sebastianst commented Dec 4, 2025

Description

Update blob fetching logic to handle the case where multiple blobs with the same content (but different indices in the block) are requested. When reordering the blob responses matching was done purely on blob hash which meant some output blobs were written twice and some not set at all. This resulted in an error about nil blobs. The fix is to assign to a blob hash request that hasn't previously been set.

Tests

Added unit test.

@sebastianst sebastianst requested review from a team and serpixel December 4, 2025 02:00
Comment thread op-service/sources/l1_beacon_client.go Outdated
Copy link
Copy Markdown
Member Author

@sebastianst sebastianst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ajsutton fixes and tests look good to me!

@ajsutton ajsutton enabled auto-merge December 4, 2025 03:01
@ajsutton ajsutton disabled auto-merge December 4, 2025 03:11
@ajsutton ajsutton force-pushed the seb/fix-l1-blob-source branch from 2b2689c to e3df253 Compare December 4, 2025 03:11
@ajsutton ajsutton enabled auto-merge December 4, 2025 03:11
@ajsutton ajsutton added this pull request to the merge queue Dec 4, 2025
Merged via the queue into develop with commit 478b8bd Dec 4, 2025
81 checks passed
@ajsutton ajsutton deleted the seb/fix-l1-blob-source branch December 4, 2025 03:49
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.

2 participants