Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First Relay Validator Registration #1361

Open
olegshmuelov opened this issue Apr 1, 2024 · 0 comments
Open

First Relay Validator Registration #1361

olegshmuelov opened this issue Apr 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@olegshmuelov
Copy link
Contributor

olegshmuelov commented Apr 1, 2024

Describe the bug
The bug discovered after implementing this PR
There is an issue in the validator registration process that could lead to registration delays. Specifically, the current logic, which uses the validator's BeaconMetadata.Index in conjunction with registrationSlotInterval for scheduling registration duties, has the unintended potential to postpone a validator’s registration by up to 10 epochs. This delay stems from the way these values are calculated and compared to determine a validator's eligibility for registration at any given slot.

Expected behavior
Register validator to relay in first epoch the node starts

Additional context
Thisi s a regression bug
see commit that removed the first registration logic
the PR the logic was removed from
In addition write tests to validator registration scheduler, covering all scenarios

@olegshmuelov olegshmuelov added the bug Something isn't working label Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant