Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Fix runtime test
Browse files Browse the repository at this point in the history
  • Loading branch information
yrong committed Jul 21, 2024
1 parent 62c0868 commit e13d082
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bridges/snowbridge/runtime/test-common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit e13d082

Please sign in to comment.