--- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -45,8 +45,8 @@ dispatch::DispatchResult, PalletId, parameter_types, StorageValue, ConsensusEngineId, traits::{ - Nothing, Currency, ExistenceRequirement, Get, IsInVec, KeyOwnerProofSystem, LockIdentifier, - OnUnbalanced, Randomness, FindAuthor, + Everything, Currency, ExistenceRequirement, Get, IsInVec, KeyOwnerProofSystem, + LockIdentifier, OnUnbalanced, Randomness, FindAuthor, }, weights::{ constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND}, @@ -299,7 +299,7 @@ /// The identifier used to distinguish between accounts. type AccountId = AccountId; /// The basic call filter to use in dispatchable. - type BaseCallFilter = (); + type BaseCallFilter = Everything; /// Maximum number of block number to block hash mappings to keep (oldest pruned first). type BlockHashCount = BlockHashCount; /// The maximum length of a block (in bytes). @@ -612,7 +612,7 @@ pub type Barrier = ( TakeWeightCredit, - AllowTopLevelPaidExecutionFrom, + AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, // ^^^ Parent & its unit plurality gets free execution ); @@ -625,7 +625,7 @@ type AssetTransactor = LocalAssetTransactor; type OriginConverter = XcmOriginToTransactDispatchOrigin; type IsReserve = NativeAsset; - type IsTeleporter = NativeAsset; // <- should be enough to allow teleportation of ROC + type IsTeleporter = (); // Teleportation is disabled type LocationInverter = LocationInverter; type Barrier = Barrier; type Weigher = FixedWeightBounds; @@ -658,9 +658,9 @@ type SendXcmOrigin = EnsureXcmOrigin; type XcmRouter = XcmRouter; type ExecuteXcmOrigin = EnsureXcmOrigin; - type XcmExecuteFilter = Nothing; + type XcmExecuteFilter = Everything; type XcmExecutor = XcmExecutor; - type XcmTeleportFilter = Nothing; + type XcmTeleportFilter = Everything; type XcmReserveTransferFilter = (); type Weigher = FixedWeightBounds; type LocationInverter = LocationInverter;