-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[ICS20] Balance endpoint returns null for empty balance account #4259
Comments
@alexanderbez FYI, same issue for this endpoint: |
@alexanderbez Found another one, https://stargate.cosmos.network/auth/accounts/cosmos1dnhwaj8x8hqn3y8k5yp57e7nljd5l34q3erlpt returns |
|
@kolya182 yeah, the fix isn't released yet. That's why I stated "I'll include this in the next point release" 😄 I'll be sure to have this in for 0.34.4 |
@alexanderbez 0.34.4 https://github.com/cosmos/cosmos-sdk/releases/tag/v0.34.4 is out but no fix for this ? |
@kolya182 no, v0.34.4 doesn't include any "fix" for this. We saw no need to change the custom serialization of coins (ie. coins are |
@alexanderbez RPC returns inconsistent balance for address https://www.mintscan.io/account/cosmos1rwh0cxa72d3yle3r4l8gd7vyphrmjy2kydpnje, here is a video https://drive.google.com/file/d/1jqyGXRLF2Dla2k4fIyCrbVapGuJ9KS0s/view?usp=sharing . Should i create another issue or this is related ?. |
https://cosmosapi-mainnet.tokenlon.im/auth/accounts/cosmos1633n6ga6zee5nz2uhtsn5urug8qzxthmz85ne9 https://stargate.cosmos.network/auth/accounts/cosmos1633n6ga6zee5nz2uhtsn5urug8qzxthmz85ne9 {
"type": "auth/Account",
"value": {
"address": "",
"coins": null,
"public_key": null,
"account_number": "0",
"sequence": "0"
}
} |
@kolya182 -- I'll have a PR up soon :) |
Two different REST client providers. |
Summary of Bug
Current endpoint: https://stargate.cosmos.network/bank/balances/cosmos1nk2aalgqtr2tjraqzygtwq5t4dan2rtwvs5fhg
returns
null
response if the current address does not have any atoms on the accountExpect JSON result:
or
Version
Latest running node on
https://stargate.cosmos.network
Steps to Reproduce
curl https://stargate.cosmos.network/bank/balances/cosmos1nk2aalgqtr2tjraqzygtwq5t4dan2rtwvs5fhg
For Admin Use
The text was updated successfully, but these errors were encountered: