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

Remove fork-choice weight of slashed validators #3173

Closed
wants to merge 1 commit into from

Conversation

fradamt
Copy link
Contributor

@fradamt fradamt commented Dec 22, 2022

Changing active_indices to unslashed_and_active indices. Presently, we give fork-choice weight to slashed but active validators, unless they are included in equivocating_indices, and also say: "on_attester_slashing should be called while syncing and a client MUST maintain the equivocation set of AttesterSlashings from at least the latest finalized checkpoint." Some validator might have been slashed prior to the latest finalized checkpoint, but not yet exited, due to the exit queue being full, in which case some validators might count their fork-choice weight and others might not. If instead we use unslashed_and_active_indices, no one would count their fork-choice weight.

Changing active_indices to unslashed_and_active indices.
Presently, we give fork-choice weight to slashed but active validators, unless they are included in equivocating_indices, and also say:
"`on_attester_slashing` should be called while syncing and a client MUST maintain the equivocation set of `AttesterSlashing`s from at least the latest finalized checkpoint."
Some validator might have been slashed prior to the latest finalized checkpoint, but not yet exited, due to the exit queue being full, in which case some validators might count their fork-choice weight and others might not. If instead we use unslashed_and_active_indices, no one would count their fork-choice weight.
@hwwhww hwwhww closed this Dec 27, 2022
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.

None yet

2 participants