Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly sum Penumbra-minted values returned in total supply API (#4836)
## Describe your changes This fixes an issue in the `TotalSupply` API where tokens minted on Penumbra and received from different counterparties weren't correctly summing together. It should be noted that this API returns two subtly different values depending on the asset: * For a Penumbra-minted token, it's really the "Total Outstanding IBC Supply" API rather than the "Total Supply" API -- it will return the amount of the token that has been sent to and remains on other chains * For an externally-originating token, it indicates the total supply of the token transferred into and remaining on the Penumbra chain ## Checklist before requesting a review - [ ] If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason: > no consensus changes
- Loading branch information