From 02aa9b824caf9904acf842ca0560514da4dde576 Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Tue, 11 Jul 2023 11:45:05 +0800 Subject: [PATCH] Companion of paritytech/cumulus#2449 --- runtime/crab/src/pallets/polkadot_xcm.rs | 5 ++++- runtime/darwinia/src/pallets/polkadot_xcm.rs | 5 ++++- runtime/pangolin/src/pallets/polkadot_xcm.rs | 5 ++++- runtime/pangoro/src/pallets/polkadot_xcm.rs | 5 ++++- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/runtime/crab/src/pallets/polkadot_xcm.rs b/runtime/crab/src/pallets/polkadot_xcm.rs index 0074da5c7..04d744708 100644 --- a/runtime/crab/src/pallets/polkadot_xcm.rs +++ b/runtime/crab/src/pallets/polkadot_xcm.rs @@ -81,8 +81,11 @@ pub type Barrier = darwinia_common_runtime::xcm_configs::DenyThenTry< xcm_builder::TakeWeightCredit, xcm_builder::WithComputedOrigin< ( + // If the message is one that immediately attemps to pay for execution, then allow + // it. xcm_builder::AllowTopLevelPaidExecutionFrom, - // Parent and its exec plurality get free execution + // Parent, its pluralities (i.e. governance bodies), and the Fellows plurality get + // free execution. xcm_builder::AllowUnpaidExecutionFrom< darwinia_common_runtime::xcm_configs::ParentOrParentsExecutivePlurality, >, diff --git a/runtime/darwinia/src/pallets/polkadot_xcm.rs b/runtime/darwinia/src/pallets/polkadot_xcm.rs index 70d515b7b..b7ddef4aa 100644 --- a/runtime/darwinia/src/pallets/polkadot_xcm.rs +++ b/runtime/darwinia/src/pallets/polkadot_xcm.rs @@ -81,8 +81,11 @@ pub type Barrier = darwinia_common_runtime::xcm_configs::DenyThenTry< xcm_builder::TakeWeightCredit, xcm_builder::WithComputedOrigin< ( + // If the message is one that immediately attemps to pay for execution, then allow + // it. xcm_builder::AllowTopLevelPaidExecutionFrom, - // Parent and its exec plurality get free execution + // Parent, its pluralities (i.e. governance bodies), and the Fellows plurality get + // free execution. xcm_builder::AllowUnpaidExecutionFrom< darwinia_common_runtime::xcm_configs::ParentOrParentsExecutivePlurality, >, diff --git a/runtime/pangolin/src/pallets/polkadot_xcm.rs b/runtime/pangolin/src/pallets/polkadot_xcm.rs index 16eb21688..0624d67e5 100644 --- a/runtime/pangolin/src/pallets/polkadot_xcm.rs +++ b/runtime/pangolin/src/pallets/polkadot_xcm.rs @@ -81,8 +81,11 @@ pub type Barrier = darwinia_common_runtime::xcm_configs::DenyThenTry< xcm_builder::TakeWeightCredit, xcm_builder::WithComputedOrigin< ( + // If the message is one that immediately attemps to pay for execution, then allow + // it. xcm_builder::AllowTopLevelPaidExecutionFrom, - // Parent and its exec plurality get free execution + // Parent, its pluralities (i.e. governance bodies), and the Fellows plurality get + // free execution. xcm_builder::AllowUnpaidExecutionFrom< darwinia_common_runtime::xcm_configs::ParentOrParentsExecutivePlurality, >, diff --git a/runtime/pangoro/src/pallets/polkadot_xcm.rs b/runtime/pangoro/src/pallets/polkadot_xcm.rs index 87ee03bb3..6cd1778f8 100644 --- a/runtime/pangoro/src/pallets/polkadot_xcm.rs +++ b/runtime/pangoro/src/pallets/polkadot_xcm.rs @@ -81,8 +81,11 @@ pub type Barrier = darwinia_common_runtime::xcm_configs::DenyThenTry< xcm_builder::TakeWeightCredit, xcm_builder::WithComputedOrigin< ( + // If the message is one that immediately attemps to pay for execution, then allow + // it. xcm_builder::AllowTopLevelPaidExecutionFrom, - // Parent and its exec plurality get free execution + // Parent, its pluralities (i.e. governance bodies), and the Fellows plurality get + // free execution. xcm_builder::AllowUnpaidExecutionFrom< darwinia_common_runtime::xcm_configs::ParentOrParentsExecutivePlurality, >,