Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit f2941c6

Browse files
committed
disallow XCM execute on statemint
1 parent e632c5f commit f2941c6

File tree

1 file changed

+2
-2
lines changed
  • polkadot-parachains/statemint/src

1 file changed

+2
-2
lines changed

polkadot-parachains/statemint/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ use codec::{Decode, Encode, MaxEncodedLen};
4343
use constants::{currency::*, fee::WeightToFee};
4444
use frame_support::{
4545
construct_runtime, match_type, parameter_types,
46-
traits::{Everything, InstanceFilter},
46+
traits::{Everything, InstanceFilter, Nothing},
4747
weights::{
4848
constants::{BlockExecutionWeight, ExtrinsicBaseWeight},
4949
DispatchClass, IdentityFee, Weight,
@@ -569,7 +569,7 @@ impl pallet_xcm::Config for Runtime {
569569
type SendXcmOrigin = EnsureXcmOrigin<Origin, LocalOriginToLocation>;
570570
type XcmRouter = XcmRouter;
571571
type ExecuteXcmOrigin = EnsureXcmOrigin<Origin, LocalOriginToLocation>;
572-
type XcmExecuteFilter = Everything;
572+
type XcmExecuteFilter = Nothing;
573573
type XcmExecutor = XcmExecutor<XcmConfig>;
574574
type XcmTeleportFilter = Everything;
575575
type XcmReserveTransferFilter = Everything;

0 commit comments

Comments
 (0)