Skip to content

Commit

Permalink
Update XCM filter (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiguantong authored Dec 7, 2022
1 parent 509bf6a commit 4d167f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion runtime/crab/src/pallets/polkadot_xcm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ impl pallet_xcm::Config for Runtime {
type RuntimeOrigin = RuntimeOrigin;
type SendXcmOrigin = xcm_builder::EnsureXcmOrigin<RuntimeOrigin, LocalOriginToLocation>;
type Weigher = xcm_builder::FixedWeightBounds<UnitWeightCost, RuntimeCall, MaxInstructions>;
type XcmExecuteFilter = frame_support::traits::Nothing;
type XcmExecuteFilter = frame_support::traits::Everything;
// ^ Disable dispatchable execute on the XCM pallet.
// Needs to be `Everything` for local testing.
type XcmExecutor = xcm_executor::XcmExecutor<XcmExecutorConfig>;
Expand Down
2 changes: 1 addition & 1 deletion runtime/darwinia/src/pallets/polkadot_xcm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ impl pallet_xcm::Config for Runtime {
type RuntimeOrigin = RuntimeOrigin;
type SendXcmOrigin = xcm_builder::EnsureXcmOrigin<RuntimeOrigin, LocalOriginToLocation>;
type Weigher = xcm_builder::FixedWeightBounds<UnitWeightCost, RuntimeCall, MaxInstructions>;
type XcmExecuteFilter = frame_support::traits::Nothing;
type XcmExecuteFilter = frame_support::traits::Everything;
// ^ Disable dispatchable execute on the XCM pallet.
// Needs to be `Everything` for local testing.
type XcmExecutor = xcm_executor::XcmExecutor<XcmExecutorConfig>;
Expand Down
2 changes: 1 addition & 1 deletion runtime/pangolin/src/pallets/polkadot_xcm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ impl pallet_xcm::Config for Runtime {
type RuntimeOrigin = RuntimeOrigin;
type SendXcmOrigin = xcm_builder::EnsureXcmOrigin<RuntimeOrigin, LocalOriginToLocation>;
type Weigher = xcm_builder::FixedWeightBounds<UnitWeightCost, RuntimeCall, MaxInstructions>;
type XcmExecuteFilter = frame_support::traits::Nothing;
type XcmExecuteFilter = frame_support::traits::Everything;
// ^ Disable dispatchable execute on the XCM pallet.
// Needs to be `Everything` for local testing.
type XcmExecutor = xcm_executor::XcmExecutor<XcmExecutorConfig>;
Expand Down

0 comments on commit 4d167f0

Please sign in to comment.