-
Notifications
You must be signed in to change notification settings - Fork 192
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
Only active validator signs stats #1508
Only active validator signs stats #1508
Conversation
Co-authored-by: Or Neeman <or@clabs.co>
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 to me! I made a suggested change in one of the error messages, and edited the "backwards compatibility" section to call out the breaking change also described in "Other changes".
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.
Description A proxy with two validators (one active) that send a stat to be signed by the validator, was receiving 2 signed messages for the same (one per validator) Only the active validator will sign those stats. Other changes The validators MUST have the celostats flag too (as we have it in the docs) Tested Manually Backwards compatibility Breaking change in that proxied validators need to specify the celostats flag in order to report to celostats. However, this new behavior agrees with our documentation, so this is really more of a bugfix.
Description
A proxy with two validators (one active) that send a stat to be signed by the validator, was receiving 2 signed messages for the same (one per validator)
Only the active validator will sign those stats.
Other changes
The validators MUST have the celostats flag too (as we have it in the docs)
Tested
Manually
Backwards compatibility
Breaking change in that proxied validators need to specify the celostats flag in order to report to celostats. However, this new behavior agrees with our documentation, so this is really more of a bugfix.