mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-09 12:58:05 +00:00
* Allow Sufficient Assets for XCM Fee Payment on Statemint #1884 * Revert of removed payment.clone().into() * Fixes * Bring AssetFeeAsExistentialDepositMultiplier to test_asset_xcm_trader * Fixes
This commit is contained in:
committed by
EgorPopelyaev
parent
7aaaf45330
commit
5b3c32ace1
@@ -71,7 +71,7 @@ struct AssetTraderRefunder {
|
||||
outstanding_concrete_asset: MultiAsset,
|
||||
}
|
||||
|
||||
/// Charges for exercution in the first multiasset of those selected for fee payment
|
||||
/// Charges for execution in the first multiasset of those selected for fee payment
|
||||
/// Only succeeds for Concrete Fungible Assets
|
||||
/// First tries to convert the this MultiAsset into a local assetId
|
||||
/// Then charges for this assetId as described by FeeCharger
|
||||
@@ -121,6 +121,7 @@ impl<
|
||||
let weight = Weight::from_ref_time(weight);
|
||||
|
||||
// We take the very first multiasset from payment
|
||||
// (assets are sorted by fungibility/amount after this conversion)
|
||||
let multiassets: MultiAssets = payment.clone().into();
|
||||
|
||||
// Take the first multiasset from the selected MultiAssets
|
||||
|
||||
Reference in New Issue
Block a user