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

Why is "Balance Distribution" showing shares instead of balances? #1545

Open
lukaw3d opened this issue Sep 16, 2024 · 4 comments
Open

Why is "Balance Distribution" showing shares instead of balances? #1545

lukaw3d opened this issue Sep 16, 2024 · 4 comments

Comments

@lukaw3d
Copy link
Member

lukaw3d commented Sep 16, 2024

https://explorer.dev.oasis.io/testnet/consensus/validators/oasis1qpz97gfrvj5xzx8jx7x9zweeq0rcf2q6jg4a09qz
explorer dev oasis io_testnet_consensus_validators_oasis1qpz97gfrvj5xzx8jx7x9zweeq0rcf2q6jg4a09qz

https://testnet.nexus.prd.oasis.io/v1/consensus/validators/oasis1qpz97gfrvj5xzx8jx7x9zweeq0rcf2q6jg4a09qz

        "active_balance": "11519491447527",
        "active_balance_24": "11643393355099",
        "active_shares": "10186532790671",
        "debonding_balance": "224688870953",
        "debonding_shares": "224688870953",
        "num_delegators": 4,
        "self_delegation_balance": "11308549910208",
        "self_delegation_shares": "10000000000000"
@buberdds
Copy link
Contributor

buberdds commented Sep 17, 2024

UX wise we prob need Don answer here, other than that it was discussed in Figma

@lukaw3d
Copy link
Member Author

lukaw3d commented Sep 17, 2024

@donouwens

@donouwens
Copy link
Collaborator

Based on Andy's input shares are more accurate and actually accumulate to 100%. The initial idea from me was to show shares in a tooltip rather than showing both though.

@lukaw3d
Copy link
Member Author

lukaw3d commented Sep 18, 2024

Balances will still accumulate to 100%. And ratios should still be equally accurate (active_balance = active_shares*inaccurate_value; self_delegation_balance = self_delegation_shares*inaccurate_value).

@Andrew7234 how can balance inaccuracies occur? Is it just: if indexing is 10 days behind, both balances will be approximately 2.5% / 365 * 10 = 0.068% too low?

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

No branches or pull requests

3 participants