Added AllSiblingSystemParachains matcher to be used at a parachain level (#2422)

As suggested in this thread:
https://github.com/polkadot-fellows/runtimes/pull/87#discussion_r1400237122

We already have the `IsChildSystemParachain`, which may be used at relay
chain, but it can't be used at a parachain level. So let's use
`AllSiblingSystemParachains` for that. I was thinking about
`AllSystemParachains`, but it may cause wrong impression that it can be
used at a relay chain level.

---------

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
This commit is contained in:
Svyatoslav Nikolsky
2023-12-07 00:53:31 +03:00
committed by GitHub
parent 4df313fbc7
commit 0b3d0677f8
12 changed files with 93 additions and 122 deletions
@@ -17,6 +17,7 @@ sp-weights = { path = "../../../../substrate/primitives/weights", default-featur
sp-core = { path = "../../../../substrate/primitives/core", default-features = false }
xcm = { package = "staging-xcm", path = "../../../xcm", default-features = false }
xcm-builder = { package = "staging-xcm-builder", path = "../../../xcm/xcm-builder", default-features = false }
[features]
default = ["std"]
@@ -27,6 +28,7 @@ std = [
"sp-core/std",
"sp-runtime/std",
"sp-weights/std",
"xcm-builder/std",
"xcm/std",
]