Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
yrong committed Sep 1, 2024
1 parent cf596f3 commit 6efc7a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions smoketest/tests/transfer_polkadot_token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::{
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 6efc7a1

Please sign in to comment.