diff --git a/system-parachains/asset-hub-paseo/src/xcm_config.rs b/system-parachains/asset-hub-paseo/src/xcm_config.rs index a5481d1..4d2efcf 100644 --- a/system-parachains/asset-hub-paseo/src/xcm_config.rs +++ b/system-parachains/asset-hub-paseo/src/xcm_config.rs @@ -228,64 +228,6 @@ parameter_types! { pub XcmAssetFeesReceiver: Option = Authorship::author(); } -pub struct FellowshipEntities; -impl Contains for FellowshipEntities { - fn contains(location: &Location) -> bool { - matches!( - location.unpack(), - ( - 1, - [ - Parachain(system_parachain::COLLECTIVES_ID), - Plurality { id: BodyId::Technical, .. } - ] - ) | ( - 1, - [ - Parachain(system_parachain::COLLECTIVES_ID), - PalletInstance( - collectives_polkadot_runtime_constants::FELLOWSHIP_SALARY_PALLET_INDEX - ) - ] - ) | ( - 1, - [ - Parachain(system_parachain::COLLECTIVES_ID), - PalletInstance( - collectives_polkadot_runtime_constants::FELLOWSHIP_TREASURY_PALLET_INDEX - ) - ] - ) - ) - } -} - -pub struct AmbassadorEntities; -impl Contains for AmbassadorEntities { - fn contains(location: &Location) -> bool { - matches!( - location.unpack(), - ( - 1, - [ - Parachain(system_parachain::COLLECTIVES_ID), - PalletInstance( - collectives_polkadot_runtime_constants::AMBASSADOR_SALARY_PALLET_INDEX - ) - ] - ) | ( - 1, - [ - Parachain(system_parachain::COLLECTIVES_ID), - PalletInstance( - collectives_polkadot_runtime_constants::AMBASSADOR_TREASURY_PALLET_INDEX - ) - ] - ) - ) - } -} - pub struct ParentOrParentsPlurality; impl Contains for ParentOrParentsPlurality { fn contains(location: &Location) -> bool { @@ -311,10 +253,8 @@ pub type Barrier = TrailingSetTopicAsId< // sibling bridge hub get free execution. AllowExplicitUnpaidExecutionFrom<( ParentOrParentsPlurality, - FellowshipEntities, Equals, Equals, - AmbassadorEntities, )>, // Subscriptions for version tracking are OK. AllowSubscriptionsFrom, @@ -338,9 +278,7 @@ pub type AssetFeeAsExistentialDepositMultiplierFeeCharger = AssetFeeAsExistentia /// We only waive fees for system functions, which these locations represent. pub type WaivedLocations = ( RelayOrOtherSystemParachains, - Equals, - FellowshipEntities, - AmbassadorEntities, + Equals ); /// Cases where a remote origin is accepted as trusted Teleporter for a given asset: