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

backport: exclude IBC assets from TotalSupply #4529

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

conorsch
Copy link
Contributor

@conorsch conorsch commented Jun 3, 2024

Describe your changes

This PR backports #4518 for prep as 0.77.1 point release, to unblock the Skip team, working on IBC integrations.

(cherry picked from commit 785ac6a)

Issue ticket number and link

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:

    Changes RPC output only

…stent (#4518)

## Describe your changes

This changes the `TotalSupply` query to skip including assets when there
is no denom metadata available, for example liquidity position NFTs.
This is okay since these are mostly of interest to a single user rather
than the market as a whole.

I validated that the error when querying on the current v0.77.0 testnet
goes away.

```
$ grpcurl -plaintext -vv localhost:8080 cosmos.bank.v1beta1.Query/TotalSupply
```

## Issue ticket number and link

## Checklist before requesting a review

- [x] 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:

  > Changes RPC output only

(cherry picked from commit 785ac6a)
@conorsch conorsch requested a review from zbuc June 3, 2024 18:56
@conorsch conorsch requested a review from erwanor June 3, 2024 18:59
@conorsch conorsch merged commit 56cb225 into release/v0.77.x Jun 3, 2024
11 checks passed
@conorsch conorsch deleted the backport-ibc-exclusion-for branch June 3, 2024 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants