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

Adds slash_proposer function #3450

Closed
wants to merge 75 commits into from
Closed

Conversation

mkalinin
Copy link
Collaborator

A new function has the following properties:

  • Constant penalty borrowed from Constant penalty for proposer equivocations michaelneuder/consensus-specs#7
    • we might want to redefine proposer reward constants for this new function as the PR reduces the reward by a factor of validator.effective_balance // 4 which is 8 in the worst case today
  • Sets slashed flag to true retaining replay protection and the timeout during which slashing can be accepted even if validator has exited after equivocation
  • Does not reset withdrawable_epoch as regular slashing does
  • Slashed proposer can still be a subject to correlated penalties but only if exit churn is longer than EPOCHS_PER_SLASHINGS_VECTOR // 2 - MIN_VALIDATOR_WITHDRAWABILITY_DELAY (=3,840) epochs. Which is roughly 46,080 validators queued for exit at 786,432 validator set size

michaelneuder and others added 29 commits July 3, 2023 12:39
- Make exits withdraw the full balance instead of whater was available when exit is initiated
- Adjust withdrawal amount to be at most balance - 32
- Adjust withdrawable epoch for partial withdrawal when processed after slashing
Updates of pending withdrawals queue processing
@mkalinin mkalinin closed this Jul 13, 2023
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.

4 participants