From 4292ce5b87d708d9d664bc157816f808ea7c9d2c Mon Sep 17 00:00:00 2001 From: Keith Yeung Date: Thu, 9 Dec 2021 15:51:12 -0800 Subject: [PATCH] Disable asset transfers on Statemint (against Statemint release branch v6.0.1) (#837) * Disable asset transfers on Statemint * Fixup --- polkadot-parachains/statemint/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polkadot-parachains/statemint/src/lib.rs b/polkadot-parachains/statemint/src/lib.rs index 6a1735ecd7..c57f62dd62 100644 --- a/polkadot-parachains/statemint/src/lib.rs +++ b/polkadot-parachains/statemint/src/lib.rs @@ -596,8 +596,8 @@ impl pallet_xcm::Config for Runtime { // ... but disallow generic XCM execution. As a result only teleports and reserve transfers are allowed. type XcmExecuteFilter = Nothing; type XcmExecutor = XcmExecutor; - type XcmTeleportFilter = Everything; - type XcmReserveTransferFilter = Everything; + type XcmTeleportFilter = Nothing; + type XcmReserveTransferFilter = Nothing; type Weigher = FixedWeightBounds; type LocationInverter = LocationInverter; type Origin = Origin;