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: consolidate slashAmount and minStake for vanillaRegistry #406

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

shaspitz
Copy link
Contributor

Describe your changes

VanillaRegistry has a minStake parameter (stake defining a validator as opted-in) that's different from the slashAmount of ETH that can be slashed by the oracle. These two parameters should always be the same. In that we don't need validators to lock up eth that isn't slashable, and slashing the same validator twice wouldn't make sense.

Checklist before requesting a review

  • I have added tests that prove my fix is effective or that my feature works
  • I have made corresponding changes to the documentation

@shaspitz shaspitz requested review from Mikelle and ckartik September 19, 2024 22:20
@shaspitz shaspitz merged commit 5fe2843 into main Sep 20, 2024
5 checks passed
@shaspitz shaspitz deleted the consolidate-vanilla-reg branch September 20, 2024 06:59
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