orriin

Results 7 comments of orriin

Could be related. Thanks @baonq-me for reporting, will investigate this.

Hey @NoFeeding, can you try build your node from the commit on https://github.com/opentensor/subtensor/pull/561 and let me know if it resolves the issue for you?

Great to hear @NoFeeding. It will be included in the next Docker image release, if you can't wait you can also build the Docker image right from my branch.

## Initial analysis Good news: - Balances `TotalIssuance` amount is consistent with all free + reserved tokens in existence - Subtensor `TotalStaked` amount is consistent with sum of staked amounts...

Confirmed the cause is with subnet registration fees and tx fees. Subnet registration makes up for the overwhelming majority of the 35k discrepancy, only ~7.5 TAO comes from tx fees....

> but tao locked is part of total issuance, so it seems like only the trx fees need to be fixed I think it's still prudent to add a `TotalSubnetLocked`...

It does handle transaction fees: https://github.com/opentensor/subtensor/blob/0b2f65c1f8f5e69fc01d2eae37630e50278dc7ac/runtime/src/lib.rs#L394-L409 This rounding issue is tiny (~20 rao) due to floating point arithmetic issues.