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

"Staking" and "Others" are wrong in the explorer #44

Open
2 tasks done
ioogle opened this issue Feb 12, 2023 · 1 comment
Open
2 tasks done

"Staking" and "Others" are wrong in the explorer #44

ioogle opened this issue Feb 12, 2023 · 1 comment
Assignees
Labels
not bug It's not a bug, it's a feature

Comments

@ioogle
Copy link

ioogle commented Feb 12, 2023

Confirmation

  • My issue isn't already found on the issue tracker.
  • I have read the Subscan API documentation (if it seemed to be an API bug).

Affected Network(s)

Acala

Steps to reproduce

  1. click https://acala.subscan.io/account/21jkGnZrSdvbSj6z6FNcgouLinfQjdLbyuRm6qSJDTpZQxab
  2. Check the ACA distribution
  3. "Staking" is 0, "Others" is 1.324K

Expected output

"Staking" is 1.324K(Vesting), "Others" is 0.6(Reserved)

Actual output

"Staking" is 0, "Others" is 1.324K

Additional factoids or references

As for this doc https://wiki.polkadot.network/docs/learn-accounts, total balance = transferable + locked + reserved

@ioogle ioogle added the kind/bug Something isn't working label Feb 12, 2023
@freehere107
Copy link
Contributor

Hi, @ioogle
Sorry for the late reply. It seems that this account currently doesn't have any vesting data. I found another account with vesting lock data, for example:

https://acala.subscan.io/account/23LJwdNkWQWmuiiyKQ55WkXkgct7w8GiD4JeXH1BAp1MRHVZ?tab=transfer

You can see from the pie chart:

Vesting is 199.286
Reserved is 0.2
Other is 199.486 = 199.286 + 0.2, which is consistent with vesting + reserved.
Since Subscan is not clear about Acala's staking logic, we currently show staking as 0, and the others as vesting + reserved + other locks.

@freehere107 freehere107 added not bug It's not a bug, it's a feature and removed kind/bug Something isn't working labels Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not bug It's not a bug, it's a feature
Projects
None yet
Development

No branches or pull requests

2 participants