difftreelog
fix use XCM barriers - pass SetTopic(ID)
in: master
3 files changed
runtime/opal/src/xcm_barrier.rsdiffbeforeafterboth18use staging_xcm::latest::{Junctions::*, MultiLocation};18use staging_xcm::latest::{Junctions::*, MultiLocation};19use staging_xcm_builder::{19use staging_xcm_builder::{20 AllowExplicitUnpaidExecutionFrom, AllowTopLevelPaidExecutionFrom, TakeWeightCredit,20 AllowExplicitUnpaidExecutionFrom, AllowTopLevelPaidExecutionFrom, TakeWeightCredit,21 TrailingSetTopicAsId,21};22};222323match_types! {24match_types! {26 };27 };27}28}282929pub type Barrier = (30pub type Barrier = TrailingSetTopicAsId<(30 TakeWeightCredit,31 TakeWeightCredit,31 AllowExplicitUnpaidExecutionFrom<ParentOnly>,32 AllowExplicitUnpaidExecutionFrom<ParentOnly>,32 AllowTopLevelPaidExecutionFrom<Everything>,33 AllowTopLevelPaidExecutionFrom<Everything>,33);34)>;3435runtime/quartz/src/xcm_barrier.rsdiffbeforeafterboth18use staging_xcm::latest::{Junctions::*, MultiLocation};18use staging_xcm::latest::{Junctions::*, MultiLocation};19use staging_xcm_builder::{19use staging_xcm_builder::{20 AllowExplicitUnpaidExecutionFrom, AllowKnownQueryResponses, AllowSubscriptionsFrom,20 AllowExplicitUnpaidExecutionFrom, AllowKnownQueryResponses, AllowSubscriptionsFrom,21 AllowTopLevelPaidExecutionFrom, TakeWeightCredit,21 AllowTopLevelPaidExecutionFrom, TakeWeightCredit, TrailingSetTopicAsId,22};22};232324use crate::PolkadotXcm;24use crate::PolkadotXcm;34 };34 };35}35}363637pub type Barrier = (37pub type Barrier = TrailingSetTopicAsId<(38 TakeWeightCredit,38 TakeWeightCredit,39 AllowExplicitUnpaidExecutionFrom<ParentOnly>,39 AllowExplicitUnpaidExecutionFrom<ParentOnly>,40 AllowTopLevelPaidExecutionFrom<Everything>,40 AllowTopLevelPaidExecutionFrom<Everything>,41 // Expected responses are OK.41 // Expected responses are OK.42 AllowKnownQueryResponses<PolkadotXcm>,42 AllowKnownQueryResponses<PolkadotXcm>,43 // Subscriptions for version tracking are OK.43 // Subscriptions for version tracking are OK.44 AllowSubscriptionsFrom<ParentOrSiblings>,44 AllowSubscriptionsFrom<ParentOrSiblings>,45);45)>;4646runtime/unique/src/xcm_barrier.rsdiffbeforeafterboth18use staging_xcm::latest::{Junctions::*, MultiLocation};18use staging_xcm::latest::{Junctions::*, MultiLocation};19use staging_xcm_builder::{19use staging_xcm_builder::{20 AllowExplicitUnpaidExecutionFrom, AllowKnownQueryResponses, AllowSubscriptionsFrom,20 AllowExplicitUnpaidExecutionFrom, AllowKnownQueryResponses, AllowSubscriptionsFrom,21 AllowTopLevelPaidExecutionFrom, TakeWeightCredit,21 AllowTopLevelPaidExecutionFrom, TakeWeightCredit, TrailingSetTopicAsId,22};22};232324use crate::PolkadotXcm;24use crate::PolkadotXcm;34 };34 };35}35}363637pub type Barrier = (37pub type Barrier = TrailingSetTopicAsId<(38 TakeWeightCredit,38 TakeWeightCredit,39 AllowExplicitUnpaidExecutionFrom<ParentOnly>,39 AllowExplicitUnpaidExecutionFrom<ParentOnly>,40 AllowTopLevelPaidExecutionFrom<Everything>,40 AllowTopLevelPaidExecutionFrom<Everything>,41 // Expected responses are OK.41 // Expected responses are OK.42 AllowKnownQueryResponses<PolkadotXcm>,42 AllowKnownQueryResponses<PolkadotXcm>,43 // Subscriptions for version tracking are OK.43 // Subscriptions for version tracking are OK.44 AllowSubscriptionsFrom<ParentOrSiblings>,44 AllowSubscriptionsFrom<ParentOrSiblings>,45);45)>;4646