solana-labs / solana

Web-Scale Blockchain for fast, secure, scalable, decentralized apps and marketplaces.
https://solanalabs.com
Apache License 2.0
13.3k stars 4.34k forks source link

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

Open danpaul000 opened 4 years ago

danpaul000 commented 4 years ago

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

danpaul000 commented 4 years ago

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

stale[bot] commented 3 years ago

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] commented 3 years ago

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

Maciej93 commented 3 years ago

Maciej93

Nagaprasadvr commented 10 months ago

Can I work on this

kubanemil commented 7 months ago

@danpaul000 should we close this issue?

Tinabates commented 12 hours ago

I have tried to vote but my funds aren’t loading I can see them on blockchain under merkletree trace and referral account but my wallet remains empty and I can’t vote or use the raydium or Jupiter cause I have no funds appearing yet