[XCM] Multiple FungiblesAdapters support + WeightTrader::buy_weight more accurate error (#6739)

* Change ParaId->Sibling for `SiblingParachainConvertsVia`

* [XCM] Multiple `FungiblesAdapter`s support + `WeightTrader::buy_weight` more accurate error

* Added test for `ConvertedConcreteId` with `AsPrefixedGeneralIndex`

* Solution 3. - new MatchedConvertedConcreteId with matching capabilities

* Review fixes

* Renamed `AssetNotFound` -> `AssetNotHandled`

---------

Co-authored-by: parity-processbot <>
This commit is contained in:
Branislav Kontur
2023-03-02 16:50:12 +01:00
committed by GitHub
parent 4931eb0a97
commit c5637bda91
5 changed files with 238 additions and 23 deletions
@@ -49,7 +49,7 @@ use xcm_executor::{
};
pub type SovereignAccountOf = (
SiblingParachainConvertsVia<ParaId, AccountId>,
SiblingParachainConvertsVia<Sibling, AccountId>,
AccountId32Aliases<RelayNetwork, AccountId>,
ParentIsPreset<AccountId>,
);