Skip to content

Fix proposer to use advanced state for sync committee position calculation#15905

Merged
prestonvanloon merged 2 commits intodevelopfrom
sync-committee-head-st
Oct 21, 2025
Merged

Fix proposer to use advanced state for sync committee position calculation#15905
prestonvanloon merged 2 commits intodevelopfrom
sync-committee-head-st

Conversation

@terencechain
Copy link
Collaborator

Fixes a bug in #15608

At sync committee boundary we see:

could not process block: process_sync_aggregate failed: could not verify sync committee signature: invalid sync committee signature

Instead of using head state, I think it should use head state advanced to the proposal slot

Copy link
Contributor

@potuz potuz left a comment

Choose a reason for hiding this comment

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

LGTM, is it possible to add a regression test, trying to set the head at the pre-epoch and checking that the sync committee will be the wrong one?

@rkapka
Copy link
Contributor

rkapka commented Oct 21, 2025

It makes sense to me, thanks for finding this

james-prysm
james-prysm previously approved these changes Oct 21, 2025
@prestonvanloon prestonvanloon added this pull request to the merge queue Oct 21, 2025
Merged via the queue into develop with commit 7c3e456 Oct 21, 2025
17 checks passed
@prestonvanloon prestonvanloon deleted the sync-committee-head-st branch October 21, 2025 15:54
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.

5 participants