From 7ca47255c547b6bf034f397a98426c9319706010 Mon Sep 17 00:00:00 2001 From: Francisco Aguirre Date: Thu, 23 Nov 2023 16:40:29 +0100 Subject: [PATCH] Fix ParentOrSiblings --- system-parachains/asset-hubs/asset-hub-kusama/src/xcm_config.rs | 2 +- .../asset-hubs/asset-hub-polkadot/src/xcm_config.rs | 2 +- .../bridge-hubs/bridge-hub-kusama/src/xcm_config.rs | 2 +- .../bridge-hubs/bridge-hub-polkadot/src/xcm_config.rs | 2 +- .../collectives/collectives-polkadot/src/xcm_config.rs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/system-parachains/asset-hubs/asset-hub-kusama/src/xcm_config.rs b/system-parachains/asset-hubs/asset-hub-kusama/src/xcm_config.rs index 0c197598f8..e86a3e6553 100644 --- a/system-parachains/asset-hubs/asset-hub-kusama/src/xcm_config.rs +++ b/system-parachains/asset-hubs/asset-hub-kusama/src/xcm_config.rs @@ -228,7 +228,7 @@ match_types! { }; pub type ParentOrSiblings: impl Contains = { MultiLocation { parents: 1, interior: Here } | - MultiLocation { parents: 1, interior: X1(_) } + MultiLocation { parents: 1, interior: X1(Parachain(_)) } }; } diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/xcm_config.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/xcm_config.rs index d59507e4bd..509bd79dab 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/src/xcm_config.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/xcm_config.rs @@ -178,7 +178,7 @@ match_types! { }; pub type ParentOrSiblings: impl Contains = { MultiLocation { parents: 1, interior: Here } | - MultiLocation { parents: 1, interior: X1(_) } + MultiLocation { parents: 1, interior: X1(Parachain(_)) } }; pub type FellowsPlurality: impl Contains = { MultiLocation { parents: 1, interior: X2(Parachain(1001), Plurality { id: BodyId::Technical, ..}) } diff --git a/system-parachains/bridge-hubs/bridge-hub-kusama/src/xcm_config.rs b/system-parachains/bridge-hubs/bridge-hub-kusama/src/xcm_config.rs index 696462be9c..d44276edb1 100644 --- a/system-parachains/bridge-hubs/bridge-hub-kusama/src/xcm_config.rs +++ b/system-parachains/bridge-hubs/bridge-hub-kusama/src/xcm_config.rs @@ -106,7 +106,7 @@ match_types! { }; pub type ParentOrSiblings: impl Contains = { MultiLocation { parents: 1, interior: Here } | - MultiLocation { parents: 1, interior: X1(_) } + MultiLocation { parents: 1, interior: X1(Parachain(_)) } }; } /// A call filter for the XCM Transact instruction. This is a temporary measure until we properly diff --git a/system-parachains/bridge-hubs/bridge-hub-polkadot/src/xcm_config.rs b/system-parachains/bridge-hubs/bridge-hub-polkadot/src/xcm_config.rs index 0965600c24..87938d9782 100644 --- a/system-parachains/bridge-hubs/bridge-hub-polkadot/src/xcm_config.rs +++ b/system-parachains/bridge-hubs/bridge-hub-polkadot/src/xcm_config.rs @@ -106,7 +106,7 @@ match_types! { }; pub type ParentOrSiblings: impl Contains = { MultiLocation { parents: 1, interior: Here } | - MultiLocation { parents: 1, interior: X1(_) } + MultiLocation { parents: 1, interior: X1(Parachain(_)) } }; pub type FellowsPlurality: impl Contains = { MultiLocation { parents: 1, interior: X2(Parachain(1001), Plurality { id: BodyId::Technical, ..}) } diff --git a/system-parachains/collectives/collectives-polkadot/src/xcm_config.rs b/system-parachains/collectives/collectives-polkadot/src/xcm_config.rs index b4db73e3ab..fdddc20575 100644 --- a/system-parachains/collectives/collectives-polkadot/src/xcm_config.rs +++ b/system-parachains/collectives/collectives-polkadot/src/xcm_config.rs @@ -117,7 +117,7 @@ match_types! { }; pub type ParentOrSiblings: impl Contains = { MultiLocation { parents: 1, interior: Here } | - MultiLocation { parents: 1, interior: X1(_) } + MultiLocation { parents: 1, interior: X1(Parachain(_)) } }; }