From 8e9cf43f5e8415f2f43dd97b13bcdf85ee97c032 Mon Sep 17 00:00:00 2001 From: Keith Yeung <kungfukeith11@gmail.com> Date: Mon, 6 Dec 2021 13:30:29 -0800 Subject: [PATCH] Disable asset transfers on Polkadot (#4475) --- polkadot/runtime/polkadot/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polkadot/runtime/polkadot/src/lib.rs b/polkadot/runtime/polkadot/src/lib.rs index 4b883ddb2e7..d90e2efcc82 100644 --- a/polkadot/runtime/polkadot/src/lib.rs +++ b/polkadot/runtime/polkadot/src/lib.rs @@ -1418,8 +1418,8 @@ impl pallet_xcm::Config for Runtime { // ...but they must match our filter, which rejects all. type XcmExecuteFilter = Nothing; type XcmExecutor = XcmExecutor<XcmConfig>; - type XcmTeleportFilter = Everything; - type XcmReserveTransferFilter = Everything; + type XcmTeleportFilter = Nothing; + type XcmReserveTransferFilter = Nothing; type Weigher = FixedWeightBounds<BaseXcmWeight, Call, MaxInstructions>; type LocationInverter = LocationInverter<Ancestry>; type Origin = Origin; -- GitLab