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

Query balance returns duplicate results when giving IbcToken and an owner #2125

Closed
yito88 opened this issue Nov 7, 2023 · 0 comments · Fixed by #2126
Closed

Query balance returns duplicate results when giving IbcToken and an owner #2125

yito88 opened this issue Nov 7, 2023 · 0 comments · Fixed by #2126
Labels
bug Something isn't working

Comments

@yito88
Copy link
Member

yito88 commented Nov 7, 2023

namadac --base-dir data/namada balance --token transfer/channel-0/samoleans --owner relayer --node 127.0.0.1:27657
2023-11-07T18:49:23.464382Z  INFO namada_apps::cli::context: Default chain ID: namada-test.ff08622be6686f1-0
atest1d93xxw36xgmkzd3n8y6xxvmx89nxvwtr89jxxe34v3nxvctyvcukyc34vejnjcfnxa3nwefe6325dv: 50
transfer/channel-0/samoleans: 50

In this case, atest1d93xxw36xgmkzd3n8y6xxvmx89nxvwtr89jxxe34v3nxvctyvcukyc34vejnjcfnxa3nwefe6325dv is the raw address of IbcToken transfer/channel-0/samoleans.
It should return one balance for the token address.

transfer/channel-0/samoleans: 50
@yito88 yito88 added the bug Something isn't working label Nov 7, 2023
@yito88 yito88 changed the title Query balance returns duplicate results when specify IbcToken and an owner Query balance returns duplicate results when giving IbcToken and an owner Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant