From 4e62a5d5bcb18541939b855916f1eb31e59d2996 Mon Sep 17 00:00:00 2001 From: Kayanski Date: Mon, 14 Oct 2024 15:30:57 +0000 Subject: [PATCH] =?UTF-8?q?Fix=20interchain=20clippy=C3=A9=20gop?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- interchain/interchain-tests/src/bin/setup_funds.rs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/interchain/interchain-tests/src/bin/setup_funds.rs b/interchain/interchain-tests/src/bin/setup_funds.rs index 540d998da..7df0fba53 100644 --- a/interchain/interchain-tests/src/bin/setup_funds.rs +++ b/interchain/interchain-tests/src/bin/setup_funds.rs @@ -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}, @@ -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")?;