-
Notifications
You must be signed in to change notification settings - Fork 32
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
feat: improve balances query #130
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's create a separate method for this, not replacing the old one, cause otherwise the change is not backwards compatible
And let's mark it as deprecated, please |
7302435
to
5a58a2c
Compare
5a58a2c
to
a5c2d89
Compare
packages/neutron-sdk/src/interchain_queries/v045/register_queries.rs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please resolve conflicts
…mprove-balances-query
0f396a9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to
- extend ICQ contract's interface to accept a list of denoms for balances query
- add integration tests covering multiple denoms and response with a zero value balance
will handle it myself later
…mprove-balances-query
Co-authored-by: Mike Mozhaev <[email protected]>
this PR:
new_register_balance_query_msg
helpernew_register_balances_query_msg
that accepts a list of denoms to query balances ofBalance
reconstruction for empty valuesrelated PRs: