-
Notifications
You must be signed in to change notification settings - Fork 1
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
Validator groups #22
Validator groups #22
Conversation
Happy for a first review when you can. I need to implement the validator set calculation logic, but all the basics should be wired together |
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.
I noticed in passing that, according to RegisterValidatorKey
comments, No two operators may have the same consensus_key
. That is not currently being enforced in execute_register_validator_key
AFAIK.
Very good point, I will add that check - duplicates there could cause issues (attack vectors) in other code. Also, when you can review the last 2 commits, please do so, I am sure you can find some issues there as well. Then I will do a push with all the suggested improvements. Very helpful review. |
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.
Still reviewing calculate_diff
.
80e7f55
to
20c4f61
Compare
dabea5e
to
07b52ca
Compare
07b52ca
to
8000e64
Compare
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.
lgtm. Some tests are missing, but I agree we can add them in another iteration.
Closes #5