Skip to content

feat: whitelist for vanilla staking#698

Merged
shaspitz merged 5 commits intomainfrom
vanilla-whitelist
Jun 16, 2025
Merged

feat: whitelist for vanilla staking#698
shaspitz merged 5 commits intomainfrom
vanilla-whitelist

Conversation

@shaspitz
Copy link
Copy Markdown
Contributor

@shaspitz shaspitz commented Jun 13, 2025

Describe your changes

The vanilla registry now requires stakers to be whitelisted by the owner account. This prevents a subset of edge case attack scenarios introduced by the rewards manager.

Corresponding backport PR following our contract upgrade process is here: #699

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 marked this pull request as ready for review June 13, 2025 04:59
@shaspitz shaspitz requested review from aloknerurkar and chrmatt June 13, 2025 05:23
Copy link
Copy Markdown
Contributor

@chrmatt chrmatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good to me. Note that the overall contract is quite big and I'm not able to verify whether this has some side effects on other parts.

@shaspitz shaspitz mentioned this pull request Jun 13, 2025
2 tasks
@shaspitz shaspitz force-pushed the vanilla-whitelist branch from 32cc241 to 8579035 Compare June 16, 2025 19:43
@shaspitz shaspitz merged commit 36c7e27 into main Jun 16, 2025
5 checks passed
@shaspitz shaspitz deleted the vanilla-whitelist branch June 16, 2025 21:02
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.

3 participants