Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
claravanstaden authored and claravanstaden committed Oct 25, 2023
1 parent fd805ec commit 9c1251c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions smoketest/tests/create_channel.rs
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
use snowbridge_smoketest::contracts::i_gateway::ChannelCreatedFilter;
use snowbridge_smoketest::helper::*;
use snowbridge_smoketest::parachains::bridgehub::api::ethereum_control::events::CreateChannel;
use snowbridge_smoketest::xcm::construct_xcm_message;
use snowbridge_smoketest::xcm::construct_xcm_message_with_fee;

#[tokio::test]
async fn create_channel() {
let test_clients = initial_clients().await.expect("initialize clients");

let message = construct_xcm_message(
construct_create_channel_call(&test_clients.bridge_hub_client)
.await
.expect("construct innner call."),
);
let encoded_call = construct_create_channel_call(&test_clients.bridge_hub_client)
.await
.expect("construct innner call.");

let message = construct_xcm_message_with_fee(encoded_call).await;

let result = send_xcm_transact(&test_clients.template_client, message)
.await
Expand Down
4 changes: 2 additions & 2 deletions smoketest/tests/register_token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ use snowbridge_smoketest::{
contracts::{i_gateway, weth9},
parachains::assethub::api::{
foreign_assets::events::Created,
runtime_types::staging_xcm::v3::{
runtime_types::staging_xcm::v3::multilocation::MultiLocation,
runtime_types::xcm::v3::{
junction::{
Junction::{AccountKey20, GlobalConsensus},
NetworkId,
},
junctions::Junctions::X3,
multilocation::MultiLocation,
},
},
};
Expand Down

0 comments on commit 9c1251c

Please sign in to comment.