From e13d082083d9d6f243456d81eda455c7c6d8a598 Mon Sep 17 00:00:00 2001 From: ron Date: Mon, 22 Jul 2024 00:05:16 +0800 Subject: [PATCH] Fix runtime test --- bridges/snowbridge/runtime/test-common/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bridges/snowbridge/runtime/test-common/src/lib.rs b/bridges/snowbridge/runtime/test-common/src/lib.rs index 8f36313e360f..51bf04eb30d1 100644 --- a/bridges/snowbridge/runtime/test-common/src/lib.rs +++ b/bridges/snowbridge/runtime/test-common/src/lib.rs @@ -67,10 +67,12 @@ where }; let assets = vec![asset.clone()]; + let fee_asset = Asset { id: AssetId::from(Location::parent()), fun: Fungible(1000) }; + let inner_xcm = Xcm(vec![ WithdrawAsset(Assets::from(assets.clone())), ClearOrigin, - BuyExecution { fees: asset, weight_limit: Unlimited }, + BuyExecution { fees: fee_asset, weight_limit: Unlimited }, DepositAsset { assets: Wild(All), beneficiary: Location::new(