Skip to content

Commit

Permalink
chore: deprecate old method
Browse files Browse the repository at this point in the history
  • Loading branch information
ratik committed Feb 22, 2024
1 parent f8b167f commit a5c2d89
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/neutron-sdk/src/interchain_queries/v045/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ pub mod queries;
pub mod register_queries;
pub mod types;

#[allow(deprecated)]
pub use register_queries::{
new_register_balances_query_msg, new_register_bank_total_supply_query_msg,
new_register_delegator_delegations_query_msg, new_register_distribution_fee_pool_query_msg,
new_register_gov_proposal_query_msg, new_register_staking_validators_query_msg,
new_register_transfers_query_msg,
new_register_balance_query_msg, new_register_balances_query_msg,
new_register_bank_total_supply_query_msg, new_register_delegator_delegations_query_msg,
new_register_distribution_fee_pool_query_msg, new_register_gov_proposal_query_msg,
new_register_staking_validators_query_msg, new_register_transfers_query_msg,
};

#[cfg(test)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ pub fn new_register_balances_query_msg(
/// * **addr** address of an account on remote chain for which you want to get balances;
/// * **denom** denomination of the coin for which you want to get balance;
/// * **update_period** is used to say how often the query must be updated.
#[deprecated(note = "Please use new_register_balances_query_msg instead")]
pub fn new_register_balance_query_msg(
connection_id: String,
addr: String,
Expand Down

0 comments on commit a5c2d89

Please # to comment.