Skip to content

fix: correct vote weight display units in ValidatorData card#890

Open
molty365 wants to merge 1 commit intotelosnetwork:masterfrom
molty365:fix/vote-weight-display
Open

fix: correct vote weight display units in ValidatorData card#890
molty365 wants to merge 1 commit intotelosnetwork:masterfrom
molty365:fix/vote-weight-display

Conversation

@molty365
Copy link

The 'Current Vote Weight' card displays last_vote_weight from the voters table without dividing by 10000, inflating the displayed number by 10,000x.

Example (TelosIndiaBP):

  • Shows: 822,059.37 TLOS
  • Actual: 82.2 TLOS vote weight

This also caused visual confusion with the self-stake boost chip, which correctly divides by 10000 — making the boost appear 1000x smaller than the displayed vote weight.

Fix: Add / 10000 to the balance computation in ValidatorData.

The 'Current Vote Weight' card was displaying the raw last_vote_weight
value from the voters table without dividing by 10000, inflating the
displayed number by 10,000x. This caused a visual mismatch where the
vote weight showed e.g. '822,059.37 TLOS' when the actual weight is
~82.2 TLOS, while the boost chip correctly divided by 10000 showing
'+822.0594 Boosted'.

Reported by Prem (TelosIndiaBP) — boost appeared ~1000x smaller than
expected relative to displayed vote weight.
@netlify
Copy link

netlify bot commented Feb 23, 2026

Deploy Preview for open-block-explorer ready!

Name Link
🔨 Latest commit 174dd6f
🔍 Latest deploy log https://app.netlify.com/projects/open-block-explorer/deploys/699c40f82fc8f80008ad70ce
😎 Deploy Preview https://deploy-preview-890--open-block-explorer.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Feb 23, 2026

Deploy Preview for obe-testnet ready!

Name Link
🔨 Latest commit 174dd6f
🔍 Latest deploy log https://app.netlify.com/projects/obe-testnet/deploys/699c40f80ff4650008fb8788
😎 Deploy Preview https://deploy-preview-890--obe-testnet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant