Skip to content

Conversation

@michaelsproul
Copy link
Member

@michaelsproul michaelsproul commented Sep 29, 2025

Issue Addressed

Addressing more review comments from:

I've also tweaked a few more things that I think are minor bugs.

Proposed Changes

  • Instrument ensure_state_can_determine_proposers_for_epoch
  • Fix block_root usage in compute_proposer_duties_from_head. This was a regression introduced in 8101 😬 .
  • Update the state_advance_timer to prime the next-epoch proposer cache post-Fulu.

Additional Info

  • Add test for next epoch shuffling case in HTTP duties API. This test is proposer_duties_from_head_fulu and I have confirmed it fails when reverting the usage of proposer_shuffling_decision_root_at_epoch with the correct block root.
  • Add regression test for bug in try_proposer_duties_from_cache. See proposer_duties_with_gossip_tolerance.

@michaelsproul michaelsproul added the v8.0.0 Q4 2025 Fusaka Mainnet Release label Sep 29, 2025
Copy link
Collaborator

@dapplion dapplion left a comment

Choose a reason for hiding this comment

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

LGTM

@michaelsproul michaelsproul added the work-in-progress PR is a work-in-progress label Sep 29, 2025
@jimmygchen jimmygchen mentioned this pull request Oct 10, 2025
2 tasks
@michaelsproul michaelsproul added ready-for-review The code is ready for review and removed work-in-progress PR is a work-in-progress labels Oct 13, 2025
@michaelsproul
Copy link
Member Author

Tests updated and ready for re-review.

I would like to get this in for v8.0.0-rc.2, as it fixes some bugs and should improve performance.

Copy link
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.

Looks good to me, I couldn't spot any issues, just some minor comments in test.

@jimmygchen jimmygchen added waiting-on-author The reviewer has suggested changes and awaits thier implementation. and removed ready-for-review The code is ready for review labels Oct 17, 2025
@michaelsproul michaelsproul added ready-for-review The code is ready for review and removed waiting-on-author The reviewer has suggested changes and awaits thier implementation. labels Oct 19, 2025
@michaelsproul
Copy link
Member Author

I've opened a follow-up PR here, but I don't think it's necessary for correctness, so leaving it out of v8.0.0(-rc.2):

Copy link
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.

LGTM!

@jimmygchen jimmygchen added ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels Oct 20, 2025
@mergify mergify bot added the queued label Oct 20, 2025
mergify bot added a commit that referenced this pull request Oct 20, 2025
mergify bot added a commit that referenced this pull request Oct 20, 2025
@mergify mergify bot merged commit 2f85873 into sigp:unstable Oct 20, 2025
37 checks passed
@mergify mergify bot removed the queued label Oct 20, 2025
jchavarri pushed a commit to jchavarri/lighthouse that referenced this pull request Oct 21, 2025
Addressing more review comments from:

- sigp#8101

I've also tweaked a few more things that I think are minor bugs.


  - Instrument `ensure_state_can_determine_proposers_for_epoch`
- Fix `block_root` usage in `compute_proposer_duties_from_head`. This was a regression introduced in 8101 😬 .
- Update the `state_advance_timer` to prime the next-epoch proposer cache post-Fulu.


Co-Authored-By: Michael Sproul <[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