-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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-new.version
does not update when the identity is changed
#34389
Comments
Hi, I would like to give a try for this issue. First, if I understood correctly, I should send the
here: Line 760 in e858a5a However, when I check the logs, this metric does not seem to appear by searching validator-new .The script I did run for testing the change is multinode-demo/bootstrap-validator.sh, and I added the following line: $program --ledger "$ledger_dir" set-identity "$identity"
here, inside the loop: solana/multinode-demo/bootstrap-validator.sh Line 189 in 6f0133b
I'm not sure if I'm on the right track and if I'm mistaken something in the configuration of the scripts/code. |
Hi, thank you for diving into this issue!
Yes, that's correct, but make sure to check how it's sent in Validator::new(). You can find it by searching for "validator-new" in the entire codebase; it's the only instance.
I think it would be better to place it in the AdminRpc implementation rather than in the CLI wrapper. Just follow the code you've tagged downwards, and you'll find the place where the key pair is updated for gossip. I was thinking that we could put our update there, right after the gossip update. Feel free to ask me if you need further clarification or assistance! |
Problem
After updating the validator identity using
solana-validator set-identity
, thevalidator-new.version
is not sent for the new identity.Proposed Solution
Send it.
The text was updated successfully, but these errors were encountered: