Skip to content

Conversation

@jimmygchen
Copy link
Member

Issue Addressed

This recent PR below changes the max reconstruction delay to be a function of slot time. However it uses seconds_from_slot_start when comparing (and dropping nano), so it might delay reconstruction on networks where the slot time isn’t a multiple of 4, e.g. on gnosis this only happens at 2s instead of 1.25s.:

Proposed Changes

Use millis_from_slot_start when comparing against reconstruction deadline

Also added some tests for reconstruction delay.

@jimmygchen jimmygchen added ready-for-review The code is ready for review v8.0.0 Q4 2025 Fusaka Mainnet Release labels Oct 20, 2025
Copy link
Member

@eserilev eserilev left a comment

Choose a reason for hiding this comment

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

nice catch, lgtm!

Copy link
Member

@michaelsproul michaelsproul left a comment

Choose a reason for hiding this comment

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

Nice catch, and tests look good 👌

@michaelsproul michaelsproul added ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels Oct 21, 2025
@mergify mergify bot added the queued label Oct 21, 2025
mergify bot added a commit that referenced this pull request Oct 21, 2025
@mergify mergify bot merged commit 66f88f6 into sigp:unstable Oct 21, 2025
37 checks passed
@mergify mergify bot removed the queued label Oct 21, 2025
jchavarri pushed a commit to jchavarri/lighthouse that referenced this pull request Oct 21, 2025
…adline (sigp#8246)

This recent PR below changes the max reconstruction delay to be a function of slot time. However it uses `seconds_from_slot_start` when comparing (and dropping `nano`), so it might delay reconstruction on networks where the slot time isn’t a multiple of 4, e.g. on gnosis this only happens at 2s instead of 1.25s.:
- sigp#8067 (comment)


  Use `millis_from_slot_start` when comparing against reconstruction deadline

Also added some tests for reconstruction delay.


Co-Authored-By: Jimmy Chen <[email protected]>
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. v8.0.0 Q4 2025 Fusaka Mainnet Release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants