Skip to content

Commit

Permalink
fix: Changed Rings Wild All to AllCounted
Browse files Browse the repository at this point in the history
  • Loading branch information
arrudagates committed Mar 18, 2024
1 parent 6db87cb commit a708a93
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pallet-rings/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ pub mod pallet {
},
Instruction::RefundSurplus,
Instruction::DepositAsset {
assets: MultiAssetFilter::Wild(WildMultiAsset::All),
assets: MultiAssetFilter::Wild(WildMultiAsset::AllCounted(1)),
beneficiary,
},
]);
Expand Down Expand Up @@ -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,
},
]);
Expand Down Expand Up @@ -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,
},
])
Expand All @@ -419,15 +419,15 @@ pub mod pallet {
weight_limit: WeightLimit::Unlimited,
},
Instruction::DepositAsset {
assets: MultiAssetFilter::Wild(WildMultiAsset::All),
assets: MultiAssetFilter::Wild(WildMultiAsset::AllCounted(1)),
beneficiary,
},
]),
},
// Refund unused fees
Instruction::RefundSurplus,
Instruction::DepositAsset {
assets: MultiAssetFilter::Wild(WildMultiAsset::All),
assets: MultiAssetFilter::Wild(WildMultiAsset::AllCounted(1)),
beneficiary: core_multilocation,
},
])
Expand Down

0 comments on commit a708a93

Please sign in to comment.