Update Total Votes Calculation on Block Explorer Vote Page to Reflect Voting Power
Description
The current implementation of the vote page on the Block Explorer is displaying the total votes incorrectly. Instead of showing the actual voting power, which is what matters for the election, it's displaying the raw vote count. This discrepancy can lead to misunderstanding of the actual influence each voter has in the election process.
This issue aims to improve the accuracy and clarity of the voting information displayed in the Block Explorer, providing users with a more accurate representation of the election process.
Current Behavior
The total votes shown on the vote page represent the raw number of votes cast.
This doesn't accurately reflect the voting power of each voter, as it doesn't account for the increased power when voting for multiple Block Producers.
Expected Behavior
The total votes displayed should represent the actual voting power.
The calculation should take into account the increase in voting power when a user votes for multiple Block Producers.
Technical Details
The voting power increases when a user votes for more Block Producers.
The exact formula for calculating voting power needs to be confirmed with the blockchain development team to ensure it matches the consensus rules.
Acceptance Criteria
The total votes displayed on the vote page accurately reflects the voting power, not the raw vote count.
The calculation method used matches the blockchain consensus rules for determining voting power.
The UI clearly indicates that the number shown represents voting power, not raw votes.
A tooltip or info icon is added to explain the concept of voting power vs. raw votes.
The change is consistently applied across all relevant pages and components in the Block Explorer.
Unit tests are updated or added to verify the correct calculation of voting power.
Additional Tasks
[ ] Consult with the blockchain team @poplexity / @jbuice to confirm the exact formula for calculating voting power.
[ ] Update the backend API if necessary to provide the correct voting power data.
[ ] Update frontend components to use and display the new voting power data.
[ ] Add or update documentation to explain the voting power concept to users.
Update Total Votes Calculation on Block Explorer Vote Page to Reflect Voting Power
Description
The current implementation of the vote page on the Block Explorer is displaying the total votes incorrectly. Instead of showing the actual voting power, which is what matters for the election, it's displaying the raw vote count. This discrepancy can lead to misunderstanding of the actual influence each voter has in the election process. This issue aims to improve the accuracy and clarity of the voting information displayed in the Block Explorer, providing users with a more accurate representation of the election process.
Current Behavior
Expected Behavior
Technical Details
Acceptance Criteria
Additional Tasks