Skip to content

total stake is not equal to sum of stakes #443

@botnumberseven

Description

@botnumberseven

Hi,
I've noticed some difference between othub.io numbers and staking page numbers. Specifically in total stake. So I'm trying to understand the source of the discrepancy. I'm using Neuro mainnet as an example here.

getTotalStake() from stakingStorage returns - 40252854488121289609688010. So 40,252,854.
I'm assuming that this value should be equal to the sum of stakes of all nodes on chain.
We have 216 identity_ids created. I ran getNodeStake() for all of them and it gave me this dictionary - stakes.txt

But if I just sum all the values here i get 40051209697591400000000000, which is 40,051,209. It's ~200k less than a total stake.

Is it a correct expectation to see totalStake being equal to sum of all nodes' stakes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions