git.delta.rocks / unique-network / refs/commits / 41ba3ece5caf

difftreelog

fix inverted filter direction

Yaroslav Bolyukin2021-09-07parent: #0ee16a2.patch.diff
in: master

1 file changed

modifiedruntime/src/lib.rsdiffbeforeafterboth
45 dispatch::DispatchResult,45 dispatch::DispatchResult,
46 PalletId, parameter_types, StorageValue, ConsensusEngineId,46 PalletId, parameter_types, StorageValue, ConsensusEngineId,
47 traits::{47 traits::{
48 Nothing, Currency, ExistenceRequirement, Get, IsInVec, KeyOwnerProofSystem, LockIdentifier,48 Everything, Currency, ExistenceRequirement, Get, IsInVec, KeyOwnerProofSystem,
49 OnUnbalanced, Randomness, FindAuthor,49 LockIdentifier, OnUnbalanced, Randomness, FindAuthor,
50 },50 },
51 weights::{51 weights::{
299 /// The identifier used to distinguish between accounts.299 /// The identifier used to distinguish between accounts.
300 type AccountId = AccountId;300 type AccountId = AccountId;
301 /// The basic call filter to use in dispatchable.301 /// The basic call filter to use in dispatchable.
302 type BaseCallFilter = ();302 type BaseCallFilter = Everything;
303 /// Maximum number of block number to block hash mappings to keep (oldest pruned first).303 /// Maximum number of block number to block hash mappings to keep (oldest pruned first).
304 type BlockHashCount = BlockHashCount;304 type BlockHashCount = BlockHashCount;
305 /// The maximum length of a block (in bytes).305 /// The maximum length of a block (in bytes).
612612
613pub type Barrier = (613pub type Barrier = (
614 TakeWeightCredit,614 TakeWeightCredit,
615 AllowTopLevelPaidExecutionFrom<Nothing>,615 AllowTopLevelPaidExecutionFrom<Everything>,
616 AllowUnpaidExecutionFrom<ParentOrParentsUnitPlurality>,616 AllowUnpaidExecutionFrom<ParentOrParentsUnitPlurality>,
617 // ^^^ Parent & its unit plurality gets free execution617 // ^^^ Parent & its unit plurality gets free execution
618);618);
625 type AssetTransactor = LocalAssetTransactor;625 type AssetTransactor = LocalAssetTransactor;
626 type OriginConverter = XcmOriginToTransactDispatchOrigin;626 type OriginConverter = XcmOriginToTransactDispatchOrigin;
627 type IsReserve = NativeAsset;627 type IsReserve = NativeAsset;
628 type IsTeleporter = NativeAsset; // <- should be enough to allow teleportation of ROC628 type IsTeleporter = (); // Teleportation is disabled
629 type LocationInverter = LocationInverter<Ancestry>;629 type LocationInverter = LocationInverter<Ancestry>;
630 type Barrier = Barrier;630 type Barrier = Barrier;
631 type Weigher = FixedWeightBounds<UnitWeightCost, Call>;631 type Weigher = FixedWeightBounds<UnitWeightCost, Call>;
658 type SendXcmOrigin = EnsureXcmOrigin<Origin, LocalOriginToLocation>;658 type SendXcmOrigin = EnsureXcmOrigin<Origin, LocalOriginToLocation>;
659 type XcmRouter = XcmRouter;659 type XcmRouter = XcmRouter;
660 type ExecuteXcmOrigin = EnsureXcmOrigin<Origin, LocalOriginToLocation>;660 type ExecuteXcmOrigin = EnsureXcmOrigin<Origin, LocalOriginToLocation>;
661 type XcmExecuteFilter = Nothing;661 type XcmExecuteFilter = Everything;
662 type XcmExecutor = XcmExecutor<XcmConfig>;662 type XcmExecutor = XcmExecutor<XcmConfig>;
663 type XcmTeleportFilter = Nothing;663 type XcmTeleportFilter = Everything;
664 type XcmReserveTransferFilter = ();664 type XcmReserveTransferFilter = ();
665 type Weigher = FixedWeightBounds<UnitWeightCost, Call>;665 type Weigher = FixedWeightBounds<UnitWeightCost, Call>;
666 type LocationInverter = LocationInverter<Ancestry>;666 type LocationInverter = LocationInverter<Ancestry>;