[cumulus] parachains-common testnet constants cleaning (#3134)

The `parachains-common` contains a lots of constants and type
definitions which are used for `polkadot-sdk`'s testnet runtimes and
also for `polkadot-fellows`'s production [SP
runtimes](https://github.com/polkadot-fellows/runtimes/tree/main/system-parachains/constants).
This PR cleans `parachains-common` module to contain only common and
generic functionality.

Testnet-specific constants have been moved to the separate module
dedicated just for testnets:
`polkadot-sdk/cumulus/parachains/runtimes/constants/`


Part of: https://github.com/paritytech/polkadot-sdk/issues/3054

---------

Co-authored-by: georgepisaltu <george.pisaltu@parity.io>
This commit is contained in:
Branislav Kontur
2024-01-31 01:08:52 +01:00
committed by GitHub
parent 5b7f24fca1
commit 4450b61571
76 changed files with 246 additions and 219 deletions
Generated
+37 -4
View File
@@ -813,6 +813,7 @@ dependencies = [
"parachains-common",
"rococo-emulated-chain",
"sp-core",
"testnet-parachains-constants",
]
[[package]]
@@ -836,6 +837,7 @@ dependencies = [
"sp-runtime",
"staging-xcm",
"staging-xcm-executor",
"testnet-parachains-constants",
]
[[package]]
@@ -915,6 +917,7 @@ dependencies = [
"staging-xcm-builder",
"staging-xcm-executor",
"substrate-wasm-builder",
"testnet-parachains-constants",
]
[[package]]
@@ -927,6 +930,7 @@ dependencies = [
"frame-support",
"parachains-common",
"sp-core",
"testnet-parachains-constants",
"westend-emulated-chain",
]
@@ -953,6 +957,7 @@ dependencies = [
"sp-runtime",
"staging-xcm",
"staging-xcm-executor",
"testnet-parachains-constants",
"westend-runtime",
"westend-system-emulated-network",
]
@@ -1029,6 +1034,7 @@ dependencies = [
"staging-xcm-builder",
"staging-xcm-executor",
"substrate-wasm-builder",
"testnet-parachains-constants",
"westend-runtime-constants",
]
@@ -1922,6 +1928,7 @@ dependencies = [
"frame-support",
"parachains-common",
"sp-core",
"testnet-parachains-constants",
]
[[package]]
@@ -1956,6 +1963,7 @@ dependencies = [
"sp-runtime",
"staging-xcm",
"staging-xcm-executor",
"testnet-parachains-constants",
]
[[package]]
@@ -2052,6 +2060,7 @@ dependencies = [
"staging-xcm-executor",
"static_assertions",
"substrate-wasm-builder",
"testnet-parachains-constants",
]
[[package]]
@@ -2102,6 +2111,7 @@ dependencies = [
"frame-support",
"parachains-common",
"sp-core",
"testnet-parachains-constants",
]
[[package]]
@@ -2206,6 +2216,7 @@ dependencies = [
"staging-xcm-executor",
"static_assertions",
"substrate-wasm-builder",
"testnet-parachains-constants",
"westend-runtime-constants",
]
@@ -2694,6 +2705,7 @@ dependencies = [
"frame-support",
"parachains-common",
"sp-core",
"testnet-parachains-constants",
]
[[package]]
@@ -2765,6 +2777,7 @@ dependencies = [
"staging-xcm-builder",
"staging-xcm-executor",
"substrate-wasm-builder",
"testnet-parachains-constants",
"westend-runtime-constants",
]
@@ -3008,6 +3021,7 @@ dependencies = [
"staging-xcm-builder",
"staging-xcm-executor",
"substrate-wasm-builder",
"testnet-parachains-constants",
]
[[package]]
@@ -3102,6 +3116,7 @@ dependencies = [
"staging-xcm-builder",
"staging-xcm-executor",
"substrate-wasm-builder",
"testnet-parachains-constants",
]
[[package]]
@@ -3163,6 +3178,7 @@ dependencies = [
"staging-xcm-builder",
"staging-xcm-executor",
"substrate-wasm-builder",
"testnet-parachains-constants",
"westend-runtime-constants",
]
@@ -6131,6 +6147,7 @@ dependencies = [
"staging-xcm-builder",
"staging-xcm-executor",
"substrate-wasm-builder",
"testnet-parachains-constants",
]
[[package]]
@@ -11283,11 +11300,8 @@ dependencies = [
"pallet-message-queue",
"pallet-xcm",
"parity-scale-codec",
"polkadot-core-primitives",
"polkadot-primitives",
"rococo-runtime-constants",
"scale-info",
"smallvec",
"sp-consensus-aura",
"sp-core",
"sp-io",
@@ -11297,7 +11311,6 @@ dependencies = [
"staging-xcm",
"staging-xcm-executor",
"substrate-wasm-builder",
"westend-runtime-constants",
]
[[package]]
@@ -11596,6 +11609,7 @@ dependencies = [
"staging-xcm-builder",
"staging-xcm-executor",
"substrate-wasm-builder",
"testnet-parachains-constants",
]
[[package]]
@@ -11608,6 +11622,7 @@ dependencies = [
"parachains-common",
"people-rococo-runtime",
"sp-core",
"testnet-parachains-constants",
]
[[package]]
@@ -11692,6 +11707,7 @@ dependencies = [
"staging-xcm-builder",
"staging-xcm-executor",
"substrate-wasm-builder",
"testnet-parachains-constants",
]
[[package]]
@@ -11704,6 +11720,7 @@ dependencies = [
"parachains-common",
"people-westend-runtime",
"sp-core",
"testnet-parachains-constants",
]
[[package]]
@@ -11787,6 +11804,7 @@ dependencies = [
"staging-xcm-builder",
"staging-xcm-executor",
"substrate-wasm-builder",
"testnet-parachains-constants",
"westend-runtime-constants",
]
@@ -13005,6 +13023,7 @@ dependencies = [
"substrate-prometheus-endpoint",
"substrate-state-trie-migration-rpc",
"tempfile",
"testnet-parachains-constants",
"tokio",
"wait-timeout",
]
@@ -14765,6 +14784,7 @@ dependencies = [
"staging-xcm-builder",
"staging-xcm-executor",
"substrate-wasm-builder",
"testnet-parachains-constants",
]
[[package]]
@@ -19970,6 +19990,19 @@ dependencies = [
"sp-weights",
]
[[package]]
name = "testnet-parachains-constants"
version = "1.0.0"
dependencies = [
"frame-support",
"polkadot-core-primitives",
"rococo-runtime-constants",
"smallvec",
"sp-runtime",
"staging-xcm",
"westend-runtime-constants",
]
[[package]]
name = "textwrap"
version = "0.16.0"