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(contract): prevent validator resignation below min validators #766

Merged
merged 11 commits into from
Nov 18, 2024

Conversation

sebastijankuzner
Copy link
Contributor

Summary

  • prevent resignation bellow min validators
  • min validators are set on calculateActiveValidators
  • fill activeValidatorsArray up to desired value with duplicates if bellow minValidators

Checklist

  • Tests (if necessary)
  • Ready to be merged

@sebastijankuzner sebastijankuzner changed the title feat(contract): prevent validator resignation bellow min validators feat(contract): prevent validator resignation below min validators Nov 18, 2024
@sebastijankuzner sebastijankuzner merged commit fa5bff4 into develop Nov 18, 2024
8 checks passed
@sebastijankuzner sebastijankuzner deleted the contracts/feat/min-validators branch November 18, 2024 13:56
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.

1 participant