-
Notifications
You must be signed in to change notification settings - Fork 57
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
Do not reward whitelisted validators #795
Conversation
WASM runtime size check:Compared to target branchdancebox runtime: 1420 KB (no changes) ✅ flashbox runtime: 824 KB (no changes) ✅ dancelight runtime: 2160 KB (no changes) ✅ container chain template simple runtime: 1124 KB (no changes) ✅ container chain template frontier runtime: 1400 KB (no changes) ✅ |
Coverage Report@@ Coverage Diff @@
## master tomasz-whitelisted-not-rewarded +/- ##
==================================================================
Coverage 65.59% 65.59% 0.00%
Files 331 331
+ Lines 57998 58048 +50
==================================================================
+ Hits 38041 38071 +30
+ Misses 19957 19977 +20
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good @tmpolaczyk , a few nitpicks on naming &/ a bit more unitest, but other than that looks good
Whitelisted validators are set by root and they do not exist in the ethereum world. Dancelight rewards are minted in ethereum. Therefore, it does not make sense to reward whitelisted validators, as they won't be able to claim that reward.