-
Notifications
You must be signed in to change notification settings - Fork 998
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
Include recently slashed churn in exit churn queue #785
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
specs/core/0_beacon-chain.md
Outdated
balance_churn += get_effective_balance(state, index) | ||
if balance_churn > max_balance_churn: | ||
break | ||
if state.current_epoch < state.validator_registry_update_epoch + LATEST_SLASHED_EXIT_LENGTH: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are you blocking exits if there have been LATEST_SLASHED_EXIT_LENGTH
epochs since last registry update?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See discussing here. It's a simplification to avoid caching a slashed_balance
.
Addresses #527 in combination with #784.
These changes were made to keep a tighter bound on validator churn to ensure adequate safety margins when changing v-sets