Skip to content

Use correct slot in custody request#9380

Merged
mergify[bot] merged 1 commit into
sigp:unstablefrom
dapplion:custody-request-correct-slot
Jun 1, 2026
Merged

Use correct slot in custody request#9380
mergify[bot] merged 1 commit into
sigp:unstablefrom
dapplion:custody-request-correct-slot

Conversation

@dapplion
Copy link
Copy Markdown
Collaborator

@dapplion dapplion commented Jun 1, 2026

Pass the block's slot directly into custody_lookup_request instead of resolving it via a fork-choice lookup (which can fail or return a stale slot for a block not yet in fork choice).

This is probably some legacy code from Fulu development, and can lead to incorrect CGC computation and a broken DB. Found this while working on #9155 but we should fix this independently

@dapplion dapplion requested a review from jxs as a code owner June 1, 2026 05:30
@dapplion dapplion added ready-for-review The code is ready for review syncing labels Jun 1, 2026
Copy link
Copy Markdown
Member

@jimmygchen jimmygchen left a comment

Choose a reason for hiding this comment

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

Good catch!

@jimmygchen jimmygchen added ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels Jun 1, 2026
@mergify mergify Bot added the queued label Jun 1, 2026
@mergify
Copy link
Copy Markdown

mergify Bot commented Jun 1, 2026

Merge Queue Status

This pull request spent 31 minutes 3 seconds in the queue, including 28 minutes 48 seconds running CI.

Required conditions to merge

mergify Bot added a commit that referenced this pull request Jun 1, 2026
@mergify mergify Bot merged commit f0aaf65 into sigp:unstable Jun 1, 2026
38 checks passed
@mergify mergify Bot removed the queued label Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-merge This PR is ready to merge. syncing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants