Skip to content

Conversation

@kulikthebird
Copy link
Contributor

No description provided.

@kulikthebird kulikthebird force-pushed the tkulik/deprecate_variants branch 4 times, most recently from eca7348 to 463996c Compare September 10, 2024 15:25
/// This calls into the native bank module for all denominations.
/// Note that this may be much more expensive than Balance and should be avoided if possible.
/// Return value is AllBalanceResponse.
#[deprecated]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also add an explanatory text here? Similar to the other one: "Returns a potentially unbound number of results, which is inherently vulnerable to attacks. If you think you have a valid usecase, please open an issue."

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@kulikthebird kulikthebird force-pushed the tkulik/deprecate_variants branch from eb67818 to 6cf95e4 Compare September 12, 2024 09:28
@kulikthebird kulikthebird marked this pull request as ready for review September 12, 2024 09:28
Copy link
Contributor

@chipshort chipshort left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kulikthebird kulikthebird merged commit 66c3370 into main Sep 12, 2024
@kulikthebird kulikthebird deleted the tkulik/deprecate_variants branch September 12, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecate query BankQuery::AllBalances Deprecate IbcQuery::ListChannels

3 participants