The current XCM configuration, derived from the Substrate parachain template, assumes that the chain is using the relay chain’s token as its own token, and allows teleport but disallow reserve-based transfer operations. This configuration is not a sane default for parachain templates (this has been previously reported on the Cumulus repo). The XCM configuration should assume that the chain uses its own native token, and that XCM teleports are disabled.
[ ] The LocalAssetTransactor should use a SelfReserve instead of the RelayLocation (see example in Trappist).
[ ] In pallet_xcm Config, XcmTeleportFilter should be set to Nothing, and XcmReserveTransferFilter set to Evreything.
The current XCM configuration, derived from the Substrate parachain template, assumes that the chain is using the relay chain’s token as its own token, and allows teleport but disallow reserve-based transfer operations. This configuration is not a sane default for parachain templates (this has been previously reported on the Cumulus repo). The XCM configuration should assume that the chain uses its own native token, and that XCM teleports are disabled.
LocalAssetTransactor
should use aSelfReserve
instead of theRelayLocation
(see example in Trappist).XcmTeleportFilter
should be set toNothing
, andXcmReserveTransferFilter
set toEvreything
.