--- a/runtime/opal/src/xcm_barrier.rs +++ b/runtime/opal/src/xcm_barrier.rs @@ -18,6 +18,7 @@ use staging_xcm::latest::{Junctions::*, MultiLocation}; use staging_xcm_builder::{ AllowExplicitUnpaidExecutionFrom, AllowTopLevelPaidExecutionFrom, TakeWeightCredit, + TrailingSetTopicAsId, }; match_types! { @@ -26,8 +27,8 @@ }; } -pub type Barrier = ( +pub type Barrier = TrailingSetTopicAsId<( TakeWeightCredit, AllowExplicitUnpaidExecutionFrom, AllowTopLevelPaidExecutionFrom, -); +)>; --- a/runtime/quartz/src/xcm_barrier.rs +++ b/runtime/quartz/src/xcm_barrier.rs @@ -18,7 +18,7 @@ use staging_xcm::latest::{Junctions::*, MultiLocation}; use staging_xcm_builder::{ AllowExplicitUnpaidExecutionFrom, AllowKnownQueryResponses, AllowSubscriptionsFrom, - AllowTopLevelPaidExecutionFrom, TakeWeightCredit, + AllowTopLevelPaidExecutionFrom, TakeWeightCredit, TrailingSetTopicAsId, }; use crate::PolkadotXcm; @@ -34,7 +34,7 @@ }; } -pub type Barrier = ( +pub type Barrier = TrailingSetTopicAsId<( TakeWeightCredit, AllowExplicitUnpaidExecutionFrom, AllowTopLevelPaidExecutionFrom, @@ -42,4 +42,4 @@ AllowKnownQueryResponses, // Subscriptions for version tracking are OK. AllowSubscriptionsFrom, -); +)>; --- a/runtime/unique/src/xcm_barrier.rs +++ b/runtime/unique/src/xcm_barrier.rs @@ -18,7 +18,7 @@ use staging_xcm::latest::{Junctions::*, MultiLocation}; use staging_xcm_builder::{ AllowExplicitUnpaidExecutionFrom, AllowKnownQueryResponses, AllowSubscriptionsFrom, - AllowTopLevelPaidExecutionFrom, TakeWeightCredit, + AllowTopLevelPaidExecutionFrom, TakeWeightCredit, TrailingSetTopicAsId, }; use crate::PolkadotXcm; @@ -34,7 +34,7 @@ }; } -pub type Barrier = ( +pub type Barrier = TrailingSetTopicAsId<( TakeWeightCredit, AllowExplicitUnpaidExecutionFrom, AllowTopLevelPaidExecutionFrom, @@ -42,4 +42,4 @@ AllowKnownQueryResponses, // Subscriptions for version tracking are OK. AllowSubscriptionsFrom, -); +)>;