solana icon indicating copy to clipboard operation
solana copied to clipboard

`solana vote-account` authorized-voter display is not clear

Open danpaul000 opened this issue 4 years ago • 6 comments

Problem

We currently display a vote account info on the CLI as follows:

$ solana vote-account vote.json
Account Balance: 0.02685864 SOL
Validator Identity: 7hguFUbg1pbkSppuwfZ1i9n9Wrqs22J4nLRepGnjvniW
Vote Authority: {2: "7hguFUbg1pbkSppuwfZ1i9n9Wrqs22J4nLRepGnjvniW"}
Withdraw Authority: 7hguFUbg1pbkSppuwfZ1i9n9Wrqs22J4nLRepGnjvniW
Credits: 0
Commission: 100%
Root Slot: ~
Recent Timestamp: BlockTimestamp { slot: 0, timestamp: 0 }

The line Vote Authority: {2: "7hguFUbg1pbkSppuwfZ1i9n9Wrqs22J4nLRepGnjvniW"} is not clear what the two values represents, which is: epoch: authorized_voter. So if you authorize a new voter, it should be reported there, keyed to the epoch it changed.

Proposed Solution

  • Change Vote Authority line to just display the pubkey of the vote auth, same format as withdraw auth.
  • Add a separate line for the epoch change data, like: Vote Authority last changed during Epoch: [epoch]

danpaul000 avatar Jul 29 '20 19:07 danpaul000

cc @CriesofCarrots @t-nelson not sure whose camp this might fall in.

danpaul000 avatar Jul 29 '20 19:07 danpaul000

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] avatar Sep 06 '21 19:09 stale[bot]

This stale issue has been automatically closed. Thank you for your contributions.

stale[bot] avatar Sep 21 '21 20:09 stale[bot]

Maciej93

Maciej93 avatar Nov 03 '21 15:11 Maciej93

Can I work on this

Nagaprasadvr avatar Jan 27 '24 13:01 Nagaprasadvr

@danpaul000 should we close this issue?

kubanemil avatar Apr 14 '24 08:04 kubanemil