Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
AurevoirXavier committed Jul 11, 2023
1 parent 23b7c0c commit 02aa9b8
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
5 changes: 4 additions & 1 deletion runtime/crab/src/pallets/polkadot_xcm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<frame_support::traits::Everything>,
// 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,
>,
Expand Down
5 changes: 4 additions & 1 deletion runtime/darwinia/src/pallets/polkadot_xcm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<frame_support::traits::Everything>,
// 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,
>,
Expand Down
5 changes: 4 additions & 1 deletion runtime/pangolin/src/pallets/polkadot_xcm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<frame_support::traits::Everything>,
// 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,
>,
Expand Down
5 changes: 4 additions & 1 deletion runtime/pangoro/src/pallets/polkadot_xcm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<frame_support::traits::Everything>,
// 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,
>,
Expand Down

0 comments on commit 02aa9b8

Please sign in to comment.