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

feat: 🔧 prevent jailing high stake validators #963

Conversation

byte-bandit
Copy link
Contributor

@byte-bandit byte-bandit commented Aug 31, 2023

Related Github tickets

Background

The only security measurement in place during jailing so far was a check to see that Paloma would not run with less than 1 validator.

This change adds a new safeguard, making sure that a validator will not be jailed if they're holding 25% or more of the entire network stake.

Testing completed

  • test coverage exists or has been added/updated
  • tested in a private testnet

Breaking changes

  • I have checked my code for breaking changes
  • If there are breaking changes, there is a supporting migration.

@byte-bandit byte-bandit force-pushed the feature/708-consensus-power-aware-jailing branch from 0f9ae72 to f64893a Compare August 31, 2023 13:56
@byte-bandit byte-bandit enabled auto-merge (squash) August 31, 2023 13:56
@byte-bandit byte-bandit merged commit 43fa07f into palomachain:master Aug 31, 2023
1 check passed
@byte-bandit byte-bandit deleted the feature/708-consensus-power-aware-jailing branch August 31, 2023 13:57
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.

2 participants