-
Notifications
You must be signed in to change notification settings - Fork 167
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
ValidatorName->ValidatorPublicKey #2827
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
cb23746
to
d239f58
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.
This is a breaking change (APIs, schemas, CLI args, etc change). I don't know if we want to add this - potential - integration issues at the eve of release.
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.
needs discussion
@@ -11,7 +11,7 @@ use crate::test::{make_first_block, BlockTestExt}; | |||
fn test_signed_values() { | |||
let key1 = KeyPair::generate(); | |||
let key2 = KeyPair::generate(); | |||
let name1 = ValidatorName(key1.public()); | |||
let name1 = ValidatorPublicKey(key1.public()); |
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.
These renamings are always work work because we forget places like here, the variable.
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.
My bad! Let me do a pass and see if I forgot anywhere else
8640ab0
to
5b738ea
Compare
5b738ea
to
7cfe386
Compare
Motivation
ValidatorName
seems confusing, because we have actual names for validators now (azurenode
,lavanderfive
, etc), and this is not it. It's the public key of the validator.Proposal
Change
ValidatorName
toValidatorPublicKey
.If you disagree with this, speak now or forever hold your peace :)
Fixes #2820
Test Plan
CI
Release Plan