Skip to content

Commit 8935ed9

Browse files
committed
Added AllowHrmpNotificationsFromRelayChain to the testnet SPs
1 parent 71834c6 commit 8935ed9

File tree

12 files changed

+111
-84
lines changed

12 files changed

+111
-84
lines changed

cumulus/parachains/runtimes/assets/asset-hub-rococo/src/xcm_config.rs

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,17 @@ use testnet_parachains_constants::rococo::snowbridge::{
4949
};
5050
use xcm::latest::prelude::*;
5151
use xcm_builder::{
52-
AccountId32Aliases, AllowExplicitUnpaidExecutionFrom, AllowKnownQueryResponses,
53-
AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, DenyReserveTransferToRelayChain,
54-
DenyThenTry, DescribeAllTerminal, DescribeFamily, EnsureXcmOrigin, FrameTransactionalProcessor,
55-
FungibleAdapter, FungiblesAdapter, GlobalConsensusParachainConvertsFor, HashedDescription,
56-
IsConcrete, LocalMint, NetworkExportTableItem, NoChecking, NonFungiblesAdapter,
57-
ParentAsSuperuser, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative,
58-
SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32,
59-
SovereignPaidRemoteExporter, SovereignSignedViaLocation, StartsWith,
60-
StartsWithExplicitGlobalConsensus, TakeWeightCredit, TrailingSetTopicAsId, UsingComponents,
61-
WeightInfoBounds, WithComputedOrigin, WithUniqueTopic, XcmFeeManagerFromComponents,
62-
XcmFeeToAccount,
52+
AccountId32Aliases, AllowExplicitUnpaidExecutionFrom, AllowHrmpNotificationsFromRelayChain,
53+
AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom,
54+
DenyReserveTransferToRelayChain, DenyThenTry, DescribeAllTerminal, DescribeFamily,
55+
EnsureXcmOrigin, FrameTransactionalProcessor, FungibleAdapter, FungiblesAdapter,
56+
GlobalConsensusParachainConvertsFor, HashedDescription, IsConcrete, LocalMint,
57+
NetworkExportTableItem, NoChecking, NonFungiblesAdapter, ParentAsSuperuser, ParentIsPreset,
58+
RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,
59+
SignedAccountId32AsNative, SignedToAccountId32, SovereignPaidRemoteExporter,
60+
SovereignSignedViaLocation, StartsWith, StartsWithExplicitGlobalConsensus, TakeWeightCredit,
61+
TrailingSetTopicAsId, UsingComponents, WeightInfoBounds, WithComputedOrigin, WithUniqueTopic,
62+
XcmFeeManagerFromComponents, XcmFeeToAccount,
6363
};
6464
use xcm_executor::{traits::WithOriginFilter, XcmExecutor};
6565

@@ -502,6 +502,8 @@ pub type Barrier = TrailingSetTopicAsId<
502502
)>,
503503
// Subscriptions for version tracking are OK.
504504
AllowSubscriptionsFrom<ParentRelayOrSiblingParachains>,
505+
// HRMP notifications from the relay chain are OK.
506+
AllowHrmpNotificationsFromRelayChain,
505507
),
506508
UniversalLocation,
507509
ConstU32<8>,

cumulus/parachains/runtimes/assets/asset-hub-westend/src/xcm_config.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ use polkadot_runtime_common::xcm_sender::ExponentialPrice;
4545
use sp_runtime::traits::{AccountIdConversion, ConvertInto};
4646
use xcm::latest::prelude::*;
4747
use xcm_builder::{
48-
AccountId32Aliases, AllowExplicitUnpaidExecutionFrom, AllowKnownQueryResponses,
49-
AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, DenyReserveTransferToRelayChain,
50-
DenyThenTry, DescribeFamily, DescribePalletTerminal, EnsureXcmOrigin,
51-
FrameTransactionalProcessor, FungibleAdapter, FungiblesAdapter,
48+
AccountId32Aliases, AllowExplicitUnpaidExecutionFrom, AllowHrmpNotificationsFromRelayChain,
49+
AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom,
50+
DenyReserveTransferToRelayChain, DenyThenTry, DescribeFamily, DescribePalletTerminal,
51+
EnsureXcmOrigin, FrameTransactionalProcessor, FungibleAdapter, FungiblesAdapter,
5252
GlobalConsensusParachainConvertsFor, HashedDescription, IsConcrete, LocalMint,
5353
NetworkExportTableItem, NoChecking, NonFungiblesAdapter, ParentAsSuperuser, ParentIsPreset,
5454
RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,
@@ -521,6 +521,8 @@ pub type Barrier = TrailingSetTopicAsId<
521521
)>,
522522
// Subscriptions for version tracking are OK.
523523
AllowSubscriptionsFrom<Everything>,
524+
// HRMP notifications from the relay chain are OK.
525+
AllowHrmpNotificationsFromRelayChain,
524526
),
525527
UniversalLocation,
526528
ConstU32<8>,

cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/xcm_config.rs

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,13 @@ use testnet_parachains_constants::rococo::snowbridge::EthereumNetwork;
5656
use xcm::latest::prelude::*;
5757
use xcm_builder::{
5858
deposit_or_burn_fee, AccountId32Aliases, AllowExplicitUnpaidExecutionFrom,
59-
AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom,
60-
DenyReserveTransferToRelayChain, DenyThenTry, EnsureXcmOrigin, FrameTransactionalProcessor,
61-
FungibleAdapter, HandleFee, IsConcrete, ParentAsSuperuser, ParentIsPreset, RelayChainAsNative,
62-
SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative,
63-
SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, TrailingSetTopicAsId,
64-
UsingComponents, WeightInfoBounds, WithComputedOrigin, WithUniqueTopic, XcmFeeToAccount,
59+
AllowHrmpNotificationsFromRelayChain, AllowKnownQueryResponses, AllowSubscriptionsFrom,
60+
AllowTopLevelPaidExecutionFrom, DenyReserveTransferToRelayChain, DenyThenTry, EnsureXcmOrigin,
61+
FrameTransactionalProcessor, FungibleAdapter, HandleFee, IsConcrete, ParentAsSuperuser,
62+
ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,
63+
SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,
64+
TrailingSetTopicAsId, UsingComponents, WeightInfoBounds, WithComputedOrigin, WithUniqueTopic,
65+
XcmFeeToAccount,
6566
};
6667
use xcm_executor::{
6768
traits::{FeeManager, FeeReason, FeeReason::Export, TransactAsset, WithOriginFilter},
@@ -258,6 +259,8 @@ pub type Barrier = TrailingSetTopicAsId<
258259
)>,
259260
// Subscriptions for version tracking are OK.
260261
AllowSubscriptionsFrom<ParentRelayOrSiblingParachains>,
262+
// HRMP notifications from the relay chain are OK.
263+
AllowHrmpNotificationsFromRelayChain,
261264
),
262265
UniversalLocation,
263266
ConstU32<8>,

cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/src/xcm_config.rs

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ use polkadot_runtime_common::xcm_sender::ExponentialPrice;
3939
use sp_runtime::traits::AccountIdConversion;
4040
use xcm::latest::prelude::*;
4141
use xcm_builder::{
42-
AccountId32Aliases, AllowExplicitUnpaidExecutionFrom, AllowKnownQueryResponses,
43-
AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, DenyReserveTransferToRelayChain,
44-
DenyThenTry, EnsureXcmOrigin, FrameTransactionalProcessor, FungibleAdapter, IsConcrete,
45-
ParentAsSuperuser, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative,
46-
SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32,
47-
SovereignSignedViaLocation, TakeWeightCredit, TrailingSetTopicAsId, UsingComponents,
48-
WeightInfoBounds, WithComputedOrigin, WithUniqueTopic, XcmFeeManagerFromComponents,
49-
XcmFeeToAccount,
42+
AccountId32Aliases, AllowExplicitUnpaidExecutionFrom, AllowHrmpNotificationsFromRelayChain,
43+
AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom,
44+
DenyReserveTransferToRelayChain, DenyThenTry, EnsureXcmOrigin, FrameTransactionalProcessor,
45+
FungibleAdapter, IsConcrete, ParentAsSuperuser, ParentIsPreset, RelayChainAsNative,
46+
SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative,
47+
SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, TrailingSetTopicAsId,
48+
UsingComponents, WeightInfoBounds, WithComputedOrigin, WithUniqueTopic,
49+
XcmFeeManagerFromComponents, XcmFeeToAccount,
5050
};
5151
use xcm_executor::{traits::WithOriginFilter, XcmExecutor};
5252

@@ -207,6 +207,8 @@ pub type Barrier = TrailingSetTopicAsId<
207207
)>,
208208
// Subscriptions for version tracking are OK.
209209
AllowSubscriptionsFrom<ParentRelayOrSiblingParachains>,
210+
// HRMP notifications from the relay chain are OK.
211+
AllowHrmpNotificationsFromRelayChain,
210212
),
211213
UniversalLocation,
212214
ConstU32<8>,

cumulus/parachains/runtimes/collectives/collectives-westend/src/xcm_config.rs

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,15 @@ use polkadot_runtime_common::xcm_sender::ExponentialPrice;
3535
use westend_runtime_constants::xcm as xcm_constants;
3636
use xcm::latest::prelude::*;
3737
use xcm_builder::{
38-
AccountId32Aliases, AllowExplicitUnpaidExecutionFrom, AllowKnownQueryResponses,
39-
AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, DenyReserveTransferToRelayChain,
40-
DenyThenTry, EnsureXcmOrigin, FixedWeightBounds, FrameTransactionalProcessor, FungibleAdapter,
41-
IsConcrete, LocatableAssetId, OriginToPluralityVoice, ParentAsSuperuser, ParentIsPreset,
42-
RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,
43-
SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,
44-
TrailingSetTopicAsId, UsingComponents, WithComputedOrigin, WithUniqueTopic,
45-
XcmFeeManagerFromComponents, XcmFeeToAccount,
38+
AccountId32Aliases, AllowExplicitUnpaidExecutionFrom, AllowHrmpNotificationsFromRelayChain,
39+
AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom,
40+
DenyReserveTransferToRelayChain, DenyThenTry, EnsureXcmOrigin, FixedWeightBounds,
41+
FrameTransactionalProcessor, FungibleAdapter, IsConcrete, LocatableAssetId,
42+
OriginToPluralityVoice, ParentAsSuperuser, ParentIsPreset, RelayChainAsNative,
43+
SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative,
44+
SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, TrailingSetTopicAsId,
45+
UsingComponents, WithComputedOrigin, WithUniqueTopic, XcmFeeManagerFromComponents,
46+
XcmFeeToAccount,
4647
};
4748
use xcm_executor::{traits::WithOriginFilter, XcmExecutor};
4849

@@ -233,6 +234,8 @@ pub type Barrier = TrailingSetTopicAsId<
233234
AllowExplicitUnpaidExecutionFrom<ParentOrParentsPlurality>,
234235
// Subscriptions for version tracking are OK.
235236
AllowSubscriptionsFrom<ParentRelayOrSiblingParachains>,
237+
// HRMP notifications from the relay chain are OK.
238+
AllowHrmpNotificationsFromRelayChain,
236239
),
237240
UniversalLocation,
238241
ConstU32<8>,

cumulus/parachains/runtimes/contracts/contracts-rococo/src/xcm_config.rs

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ use sp_runtime::traits::AccountIdConversion;
3838
use testnet_parachains_constants::rococo::currency::CENTS;
3939
use xcm::latest::prelude::*;
4040
use xcm_builder::{
41-
AccountId32Aliases, AllowExplicitUnpaidExecutionFrom, AllowKnownQueryResponses,
42-
AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, DenyReserveTransferToRelayChain,
43-
DenyThenTry, EnsureXcmOrigin, FixedWeightBounds, FrameTransactionalProcessor, FungibleAdapter,
44-
IsConcrete, NativeAsset, ParentAsSuperuser, ParentIsPreset, RelayChainAsNative,
45-
SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative,
46-
SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, TrailingSetTopicAsId,
47-
UsingComponents, WithComputedOrigin, WithUniqueTopic, XcmFeeManagerFromComponents,
48-
XcmFeeToAccount,
41+
AccountId32Aliases, AllowExplicitUnpaidExecutionFrom, AllowHrmpNotificationsFromRelayChain,
42+
AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom,
43+
DenyReserveTransferToRelayChain, DenyThenTry, EnsureXcmOrigin, FixedWeightBounds,
44+
FrameTransactionalProcessor, FungibleAdapter, IsConcrete, NativeAsset, ParentAsSuperuser,
45+
ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,
46+
SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,
47+
TrailingSetTopicAsId, UsingComponents, WithComputedOrigin, WithUniqueTopic,
48+
XcmFeeManagerFromComponents, XcmFeeToAccount,
4949
};
5050
use xcm_executor::XcmExecutor;
5151

@@ -149,6 +149,8 @@ pub type Barrier = TrailingSetTopicAsId<
149149
)>,
150150
// Subscriptions for version tracking are OK.
151151
AllowSubscriptionsFrom<ParentRelayOrSiblingParachains>,
152+
// HRMP notifications from the relay chain are OK.
153+
AllowHrmpNotificationsFromRelayChain,
152154
),
153155
UniversalLocation,
154156
ConstU32<8>,

cumulus/parachains/runtimes/coretime/coretime-rococo/src/xcm_config.rs

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ use polkadot_runtime_common::xcm_sender::ExponentialPrice;
3939
use sp_runtime::traits::AccountIdConversion;
4040
use xcm::latest::prelude::*;
4141
use xcm_builder::{
42-
AccountId32Aliases, AllowExplicitUnpaidExecutionFrom, AllowKnownQueryResponses,
43-
AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, DenyReserveTransferToRelayChain,
44-
DenyThenTry, EnsureXcmOrigin, FrameTransactionalProcessor, FungibleAdapter, IsConcrete,
45-
NonFungibleAdapter, ParentAsSuperuser, ParentIsPreset, RelayChainAsNative,
46-
SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative,
47-
SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, TrailingSetTopicAsId,
48-
UsingComponents, WeightInfoBounds, WithComputedOrigin, WithUniqueTopic,
42+
AccountId32Aliases, AllowExplicitUnpaidExecutionFrom, AllowHrmpNotificationsFromRelayChain,
43+
AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom,
44+
DenyReserveTransferToRelayChain, DenyThenTry, EnsureXcmOrigin, FrameTransactionalProcessor,
45+
FungibleAdapter, IsConcrete, NonFungibleAdapter, ParentAsSuperuser, ParentIsPreset,
46+
RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,
47+
SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,
48+
TrailingSetTopicAsId, UsingComponents, WeightInfoBounds, WithComputedOrigin, WithUniqueTopic,
4949
XcmFeeManagerFromComponents, XcmFeeToAccount,
5050
};
5151
use xcm_executor::{traits::WithOriginFilter, XcmExecutor};
@@ -199,6 +199,8 @@ pub type Barrier = TrailingSetTopicAsId<
199199
AllowExplicitUnpaidExecutionFrom<ParentOrParentsPlurality>,
200200
// Subscriptions for version tracking are OK.
201201
AllowSubscriptionsFrom<ParentRelayOrSiblingParachains>,
202+
// HRMP notifications from the relay chain are OK.
203+
AllowHrmpNotificationsFromRelayChain,
202204
),
203205
UniversalLocation,
204206
ConstU32<8>,

cumulus/parachains/runtimes/coretime/coretime-westend/src/xcm_config.rs

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ use polkadot_runtime_common::xcm_sender::ExponentialPrice;
3939
use sp_runtime::traits::AccountIdConversion;
4040
use xcm::latest::prelude::*;
4141
use xcm_builder::{
42-
AccountId32Aliases, AllowExplicitUnpaidExecutionFrom, AllowKnownQueryResponses,
43-
AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, DenyReserveTransferToRelayChain,
44-
DenyThenTry, EnsureXcmOrigin, FrameTransactionalProcessor, FungibleAdapter, IsConcrete,
45-
NonFungibleAdapter, ParentAsSuperuser, ParentIsPreset, RelayChainAsNative,
46-
SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative,
47-
SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, TrailingSetTopicAsId,
48-
UsingComponents, WeightInfoBounds, WithComputedOrigin, WithUniqueTopic,
42+
AccountId32Aliases, AllowExplicitUnpaidExecutionFrom, AllowHrmpNotificationsFromRelayChain,
43+
AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom,
44+
DenyReserveTransferToRelayChain, DenyThenTry, EnsureXcmOrigin, FrameTransactionalProcessor,
45+
FungibleAdapter, IsConcrete, NonFungibleAdapter, ParentAsSuperuser, ParentIsPreset,
46+
RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,
47+
SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,
48+
TrailingSetTopicAsId, UsingComponents, WeightInfoBounds, WithComputedOrigin, WithUniqueTopic,
4949
XcmFeeManagerFromComponents, XcmFeeToAccount,
5050
};
5151
use xcm_executor::{traits::WithOriginFilter, XcmExecutor};
@@ -206,6 +206,8 @@ pub type Barrier = TrailingSetTopicAsId<
206206
AllowExplicitUnpaidExecutionFrom<(ParentOrParentsPlurality, FellowsPlurality)>,
207207
// Subscriptions for version tracking are OK.
208208
AllowSubscriptionsFrom<ParentRelayOrSiblingParachains>,
209+
// HRMP notifications from the relay chain are OK.
210+
AllowHrmpNotificationsFromRelayChain,
209211
),
210212
UniversalLocation,
211213
ConstU32<8>,

cumulus/parachains/runtimes/people/people-rococo/src/xcm_config.rs

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ use polkadot_parachain_primitives::primitives::Sibling;
3636
use sp_runtime::traits::AccountIdConversion;
3737
use xcm::latest::prelude::*;
3838
use xcm_builder::{
39-
AccountId32Aliases, AllowExplicitUnpaidExecutionFrom, AllowKnownQueryResponses,
40-
AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, DenyReserveTransferToRelayChain,
41-
DenyThenTry, DescribeTerminus, EnsureXcmOrigin, FrameTransactionalProcessor, FungibleAdapter,
42-
HashedDescription, IsConcrete, ParentAsSuperuser, ParentIsPreset, RelayChainAsNative,
43-
SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative,
44-
SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, TrailingSetTopicAsId,
45-
UsingComponents, WeightInfoBounds, WithComputedOrigin, WithUniqueTopic,
39+
AccountId32Aliases, AllowExplicitUnpaidExecutionFrom, AllowHrmpNotificationsFromRelayChain,
40+
AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom,
41+
DenyReserveTransferToRelayChain, DenyThenTry, DescribeTerminus, EnsureXcmOrigin,
42+
FrameTransactionalProcessor, FungibleAdapter, HashedDescription, IsConcrete, ParentAsSuperuser,
43+
ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,
44+
SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,
45+
TrailingSetTopicAsId, UsingComponents, WeightInfoBounds, WithComputedOrigin, WithUniqueTopic,
4646
XcmFeeManagerFromComponents, XcmFeeToAccount,
4747
};
4848
use xcm_executor::{traits::WithOriginFilter, XcmExecutor};
@@ -214,6 +214,8 @@ pub type Barrier = TrailingSetTopicAsId<
214214
AllowExplicitUnpaidExecutionFrom<ParentOrParentsPlurality>,
215215
// Subscriptions for version tracking are OK.
216216
AllowSubscriptionsFrom<ParentRelayOrSiblingParachains>,
217+
// HRMP notifications from the relay chain are OK.
218+
AllowHrmpNotificationsFromRelayChain,
217219
),
218220
UniversalLocation,
219221
ConstU32<8>,

cumulus/parachains/runtimes/people/people-westend/src/xcm_config.rs

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ use polkadot_parachain_primitives::primitives::Sibling;
3636
use sp_runtime::traits::AccountIdConversion;
3737
use xcm::latest::prelude::*;
3838
use xcm_builder::{
39-
AccountId32Aliases, AllowExplicitUnpaidExecutionFrom, AllowKnownQueryResponses,
40-
AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, DenyReserveTransferToRelayChain,
41-
DenyThenTry, DescribeTerminus, EnsureXcmOrigin, FrameTransactionalProcessor, FungibleAdapter,
42-
HashedDescription, IsConcrete, ParentAsSuperuser, ParentIsPreset, RelayChainAsNative,
43-
SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative,
44-
SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, TrailingSetTopicAsId,
45-
UsingComponents, WeightInfoBounds, WithComputedOrigin, WithUniqueTopic,
39+
AccountId32Aliases, AllowExplicitUnpaidExecutionFrom, AllowHrmpNotificationsFromRelayChain,
40+
AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom,
41+
DenyReserveTransferToRelayChain, DenyThenTry, DescribeTerminus, EnsureXcmOrigin,
42+
FrameTransactionalProcessor, FungibleAdapter, HashedDescription, IsConcrete, ParentAsSuperuser,
43+
ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,
44+
SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,
45+
TrailingSetTopicAsId, UsingComponents, WeightInfoBounds, WithComputedOrigin, WithUniqueTopic,
4646
XcmFeeManagerFromComponents, XcmFeeToAccount,
4747
};
4848
use xcm_executor::{traits::WithOriginFilter, XcmExecutor};
@@ -222,6 +222,8 @@ pub type Barrier = TrailingSetTopicAsId<
222222
AllowExplicitUnpaidExecutionFrom<(ParentOrParentsPlurality, FellowsPlurality)>,
223223
// Subscriptions for version tracking are OK.
224224
AllowSubscriptionsFrom<ParentRelayOrSiblingParachains>,
225+
// HRMP notifications from the relay chain are OK.
226+
AllowHrmpNotificationsFromRelayChain,
225227
),
226228
UniversalLocation,
227229
ConstU32<8>,

0 commit comments

Comments
 (0)