Statemint Should Not Recognise DOT Reserves (#1318)

* recognise no reserves

* adjust should_execute

* docs and pass should_execute

* typo
This commit is contained in:
joe petrowski
2022-06-01 13:11:31 +02:00
committed by GitHub
parent e403b268d4
commit 0c4a9f0801
5 changed files with 18 additions and 7 deletions
@@ -158,7 +158,10 @@ impl xcm_executor::Config for XcmConfig {
type XcmSender = XcmRouter;
type AssetTransactor = AssetTransactors;
type OriginConverter = XcmOriginToTransactDispatchOrigin;
type IsReserve = NativeAsset;
// Westmint does not recognize a reserve location for any asset. This does not prevent
// Westmint acting _as_ a reserve location for WND and assets created under `pallet-assets`.
// For WND, users must use teleport where allowed (e.g. with the Relay Chain).
type IsReserve = ();
type IsTeleporter = NativeAsset; // <- should be enough to allow teleportation of WND
type LocationInverter = LocationInverter<Ancestry>;
type Barrier = Barrier;