From 6efc7a11f9d5fc4ad0dba2cfb9f2ed8596eaeaea Mon Sep 17 00:00:00 2001 From: ron Date: Mon, 2 Sep 2024 07:44:56 +0800 Subject: [PATCH] Fix test --- smoketest/tests/transfer_polkadot_token.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smoketest/tests/transfer_polkadot_token.rs b/smoketest/tests/transfer_polkadot_token.rs index f9c3b5a763..277ec2666c 100644 --- a/smoketest/tests/transfer_polkadot_token.rs +++ b/smoketest/tests/transfer_polkadot_token.rs @@ -7,7 +7,7 @@ use ethers::{ use futures::StreamExt; use snowbridge_smoketest::{ constants::*, - contracts::{erc20, erc20::TransferFilter}, + contracts::{token, token::TransferFilter}, helper::AssetHubConfig, parachains::assethub::{ api::runtime_types::{ @@ -73,7 +73,7 @@ async fn transfer_polkadot_token() { .expect("call success"); let erc20_dot_address: Address = ERC20_DOT_CONTRACT.into(); - let erc20_dot = erc20::ERC20::new(erc20_dot_address, ethereum_client.clone()); + let erc20_dot = token::Token::new(erc20_dot_address, ethereum_client.clone()); let wait_for_blocks = 500; let mut stream = ethereum_client.subscribe_blocks().await.unwrap().take(wait_for_blocks);