Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
aurexav committed Dec 17, 2024
1 parent bc4d286 commit 3ef19e6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 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 @@ -92,7 +92,7 @@ pub type Barrier = xcm_builder::TrailingSetTopicAsId<
xcm_builder::TakeWeightCredit,
xcm_builder::WithComputedOrigin<
(
// If the message is one that immediately attemps to pay for execution, then
// If the message is one that immediately attempts to pay for execution, then
// allow it.
xcm_builder::AllowTopLevelPaidExecutionFrom<frame_support::traits::Everything>,
// Parent, its pluralities (i.e. governance bodies), and the Fellows plurality
Expand Down Expand Up @@ -135,6 +135,9 @@ impl xcm_executor::Config for XcmExecutorConfig {
type Barrier = Barrier;
type CallDispatcher = RuntimeCall;
type FeeManager = ();
type HrmpChannelAcceptedHandler = ();
type HrmpChannelClosingHandler = ();
type HrmpNewChannelOpenRequestHandler = ();
type IsReserve = xcm_builder::NativeAsset;
type IsTeleporter = ();
type MaxAssetsIntoHolding = MaxAssetsIntoHolding;
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 @@ -116,7 +116,7 @@ pub type Barrier = xcm_builder::TrailingSetTopicAsId<(
xcm_builder::TakeWeightCredit,
xcm_builder::WithComputedOrigin<
(
// If the message is one that immediately attemps to pay for execution, then
// If the message is one that immediately attempts to pay for execution, then
// allow it.
xcm_builder::AllowTopLevelPaidExecutionFrom<frame_support::traits::Everything>,
// Parent, its pluralities (i.e. governance bodies), and the Fellows plurality
Expand Down Expand Up @@ -173,6 +173,9 @@ impl xcm_executor::Config for XcmExecutorConfig {
type Barrier = Barrier;
type CallDispatcher = RuntimeCall;
type FeeManager = ();
type HrmpChannelAcceptedHandler = ();
type HrmpChannelClosingHandler = ();
type HrmpNewChannelOpenRequestHandler = ();
type IsReserve = orml_xcm_support::MultiNativeAsset<
xcm_primitives::AbsoluteAndRelativeReserve<SelfLocationAbsolute>,
>;
Expand Down
5 changes: 4 additions & 1 deletion runtime/koi/src/pallets/polkadot_xcm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ pub type Barrier = xcm_builder::TrailingSetTopicAsId<(
xcm_builder::TakeWeightCredit,
xcm_builder::WithComputedOrigin<
(
// If the message is one that immediately attemps to pay for execution, then
// If the message is one that immediately attempts to pay for execution, then
// allow it.
xcm_builder::AllowTopLevelPaidExecutionFrom<frame_support::traits::Everything>,
// Parent, its pluralities (i.e. governance bodies), and the Fellows plurality
Expand Down Expand Up @@ -174,6 +174,9 @@ impl xcm_executor::Config for XcmExecutorConfig {
type Barrier = Barrier;
type CallDispatcher = RuntimeCall;
type FeeManager = ();
type HrmpChannelAcceptedHandler = ();
type HrmpChannelClosingHandler = ();
type HrmpNewChannelOpenRequestHandler = ();
type IsReserve = orml_xcm_support::MultiNativeAsset<
xcm_primitives::AbsoluteAndRelativeReserve<SelfLocationAbsolute>,
>;
Expand Down

0 comments on commit 3ef19e6

Please sign in to comment.