-
Notifications
You must be signed in to change notification settings - Fork 337
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
chore: Add deprecation mark #2247
Conversation
eca7348
to
463996c
Compare
packages/std/src/query/bank.rs
Outdated
@@ -25,6 +25,7 @@ pub enum BankQuery { | |||
/// 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] |
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.
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."
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.
Done
eb67818
to
6cf95e4
Compare
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.
LGTM
No description provided.