Skip to content

fix: Use correct slot for validator registration signature message#659

Merged
mergify[bot] merged 2 commits intosigp:release-v1.0.0from
dknopik:fix-message-slot-for-registration
Oct 9, 2025
Merged

fix: Use correct slot for validator registration signature message#659
mergify[bot] merged 2 commits intosigp:release-v1.0.0from
dknopik:fix-message-slot-for-registration

Conversation

@dknopik
Copy link
Member

@dknopik dknopik commented Oct 7, 2025

Issue Addressed

Proposed Changes

Separately track duty_slot and epoch_start_slot and extend the comment to explain.

@dknopik dknopik added ready-for-review This PR is ready to be reviewed v1.0.0 First Mainnet-release labels Oct 7, 2025
@dknopik dknopik requested a review from petarjuki7 October 8, 2025 14:17
@dknopik dknopik added ready-for-merge and removed ready-for-review This PR is ready to be reviewed labels Oct 9, 2025
@mergify mergify bot added the queued label Oct 9, 2025
mergify bot added a commit that referenced this pull request Oct 9, 2025
@mergify mergify bot merged commit 38b70c6 into sigp:release-v1.0.0 Oct 9, 2025
17 checks passed
@mergify mergify bot removed the queued label Oct 9, 2025
petarjuki7 pushed a commit to petarjuki7/anchor that referenced this pull request Oct 16, 2025
…igp#659)

- sigp#634 did not fix registrations correctly: while `sign_validator_registration_data` needs to use the beginning of the epoch for the timestamp, for the signature collection slot, we need to use the actual slot passed in via `validator_registration_data`.


  Separately track `duty_slot` and `epoch_start_slot` and extend the comment to explain.


Co-Authored-By: Daniel Knopik <daniel@dknopik.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-merge v1.0.0 First Mainnet-release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants