From a708a93341a6a4d721ba7d329daa7fdb708b73ce Mon Sep 17 00:00:00 2001 From: Gabriel Facco de Arruda Date: Mon, 18 Mar 2024 14:33:41 -0300 Subject: [PATCH] fix: Changed Rings Wild All to AllCounted --- pallet-rings/src/lib.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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, }, ])