Skip to content

Commit

Permalink
Funds in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Kayanski committed Oct 14, 2024
1 parent 4e62a5d commit ee82171
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions interchain/interchain-tests/src/bin/setup_funds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,15 @@ pub fn test_send_funds() -> AnyResult<()> {
&origin_account.address()?,
vec![coin(test_amount, get_denom(&juno, token_subdenom.as_str()))],
))?;
let funds = coins(test_amount, get_denom(&juno, token_subdenom.as_str()));
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())),
funds: funds.clone(),
memo: Some("sent_some_tokens".to_owned()),
},
vec![],
funds,
)?;

let response = interchain.await_and_check_packets(JUNO, send_funds_tx)?;
Expand Down

0 comments on commit ee82171

Please sign in to comment.