Skip to content
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

Display issue with support on Referendum 763 #10568

Open
laboon opened this issue May 13, 2024 · 2 comments
Open

Display issue with support on Referendum 763 #10568

laboon opened this issue May 13, 2024 · 2 comments

Comments

@laboon
Copy link
Contributor

laboon commented May 13, 2024

The "Support" is showing as -6.1% (it is impossible to have negative support) for Referendum 763 on Polkadot. It is only occurring on this particular Referendum (or at least I don't see it on any other Referendum).

Polkassembly shows the correct support of 0.15% - https://polkadot.polkassembly.io/referenda/763

Screenshot 2024-05-13 at 11 37 32
@TarikGul
Copy link
Member

Yea this is odd, it seems to be the only one where the calculation is off (By a large margin since it's negative...)

@TarikGul
Copy link
Member

As a reference, this is where the results are calculated for the Charts: https://github.com/polkadot-js/apps/blob/master/packages/page-referenda/src/Referenda/Referendum.tsx#L101-L178

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants