Skip to content

Commit

Permalink
Fix interchain clippyé
Browse files Browse the repository at this point in the history
gop
  • Loading branch information
Kayanski committed Oct 14, 2024
1 parent dcd2071 commit 4e62a5d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions interchain/interchain-tests/src/bin/setup_funds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ use abstract_interchain_tests::{
interchain_accounts::{create_test_remote_account, set_env},
JUNO, STARGAZE,
};
use abstract_interface::{Abstract, AccountExecFns, AccountI, AccountQueryFns};
use abstract_interface::{Abstract, AccountI, AccountQueryFns};
use abstract_std::IBC_CLIENT;
use abstract_std::{
ans_host::ExecuteMsgFns,
objects::{TruncatedChainId, UncheckedChannelEntry},
Expand Down Expand Up @@ -104,12 +105,15 @@ pub fn test_send_funds() -> AnyResult<()> {
&origin_account.address()?,
vec![coin(test_amount, get_denom(&juno, token_subdenom.as_str()))],
))?;
let send_funds_tx =
origin_account.ibc_action(abstract_std::ibc_client::ExecuteMsg::SendFunds {
let send_funds_tx = origin_account.execute_on_module(
IBC_CLIENT,
abstract_std::ibc_client::ExecuteMsg::SendFunds {
host_chain: TruncatedChainId::from_chain_id(STARGAZE),
funds: coins(test_amount, get_denom(&juno, token_subdenom.as_str())),
memo: Some("sent_some_tokens".to_owned()),
})?;
},
vec![],
)?;

let response = interchain.await_and_check_packets(JUNO, send_funds_tx)?;
let memo = response.event_attr_value("fungible_token_packet", "memo")?;
Expand Down

0 comments on commit 4e62a5d

Please sign in to comment.