Skip to content

Commit

Permalink
fix upgrade gateway test
Browse files Browse the repository at this point in the history
  • Loading branch information
claravanstaden authored and claravanstaden committed Oct 26, 2023
1 parent ff9fe2f commit 81369d3
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions smoketest/tests/upgrade_gateway.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ use snowbridge_smoketest::{
},
},
};
use sp_core::{blake2_256, sr25519::Pair, Pair as PairT};
use sp_core::{sr25519::Pair, Pair as PairT};
use subxt::{
tx::{PairSigner, TxPayload},
OnlineClient, PolkadotConfig,
Expand Down Expand Up @@ -75,7 +75,6 @@ async fn upgrade_gateway() {
let d_0 = 99;
let d_1 = 66;
let params = ethers::abi::encode(&[Token::Uint(d_0.into()), Token::Uint(d_1.into())]);
let params_hash = blake2_256(&params);

let code = ethereum_client
.get_code(
Expand Down Expand Up @@ -109,10 +108,7 @@ async fn upgrade_gateway() {
}));
let message = Box::new(VersionedXcm::V3(Xcm(vec![
Instruction::UnpaidExecution {
weight_limit: WeightLimit::Limited(Weight {
ref_time: weight,
proof_size,
}),
weight_limit: WeightLimit::Unlimited,
check_origin: None,
},
Instruction::Transact {
Expand Down

0 comments on commit 81369d3

Please sign in to comment.