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

Fix and cleanup validator status updates #274

Closed
JustinDrake opened this issue Dec 10, 2018 · 0 comments
Closed

Fix and cleanup validator status updates #274

JustinDrake opened this issue Dec 10, 2018 · 0 comments
Assignees
Labels
general:bug Something isn't working general:enhancement New feature or request

Comments

@JustinDrake
Copy link
Collaborator

  1. Replace the code under # Exit validator with a call to exit_validator.
  2. Only remove a validator from the persistent committees and update validator_registry_delta_chain_tip if there's an actual exit event (i.e. EXITED_WITH_PENALTY or EXITED_WITHOUT_PENALTY).
  3. Abstract away the grunt work around status changes (e.g. regarding validator_registry_delta_chain_tip, status, latest_status_change_slot) into an update_validator_status function, and replace the code under # Activate validator with that
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
general:bug Something isn't working general:enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants