diff --git a/pallet-rings/src/lib.rs b/pallet-rings/src/lib.rs index de0e1d20..1c3a1b50 100644 --- a/pallet-rings/src/lib.rs +++ b/pallet-rings/src/lib.rs @@ -176,7 +176,7 @@ pub mod pallet { }, Instruction::RefundSurplus, Instruction::DepositAsset { - assets: MultiAssetFilter::Wild(WildMultiAsset::All), + assets: MultiAssetFilter::Wild(WildMultiAsset::AllCounted(1)), beneficiary, }, ]); @@ -264,7 +264,7 @@ pub mod pallet { // Refund unused fees Instruction::RefundSurplus, Instruction::DepositAsset { - assets: MultiAssetFilter::Wild(WildMultiAsset::All), + assets: MultiAssetFilter::Wild(WildMultiAsset::AllCounted(1)), beneficiary: core_multilocation, }, ]); @@ -385,19 +385,19 @@ pub mod pallet { weight_limit: WeightLimit::Unlimited, }, Instruction::DepositAsset { - assets: All.into(), + assets: AllCounted(1).into(), beneficiary, }, Instruction::RefundSurplus, Instruction::DepositAsset { - assets: All.into(), + assets: AllCounted(1).into(), beneficiary, }, ]), }, Instruction::RefundSurplus, Instruction::DepositAsset { - assets: All.into(), + assets: AllCounted(1).into(), beneficiary: core_multilocation, }, ]) @@ -419,7 +419,7 @@ pub mod pallet { weight_limit: WeightLimit::Unlimited, }, Instruction::DepositAsset { - assets: MultiAssetFilter::Wild(WildMultiAsset::All), + assets: MultiAssetFilter::Wild(WildMultiAsset::AllCounted(1)), beneficiary, }, ]), @@ -427,7 +427,7 @@ pub mod pallet { // Refund unused fees Instruction::RefundSurplus, Instruction::DepositAsset { - assets: MultiAssetFilter::Wild(WildMultiAsset::All), + assets: MultiAssetFilter::Wild(WildMultiAsset::AllCounted(1)), beneficiary: core_multilocation, }, ])