mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 10:31:04 +00:00
[xcm-emulator] Chains generic over Network & Integration tests restructure (#2092)
Closes: - #1383 - Declared chains can be now be imported and reused in a different crate. - Chain declaration are now generic over a generic type `N` (the Network) - #1389 - Solved #1383, chains and networks declarations can be restructure to avoid having to compile all chains when running integrations tests where are not needed. - Chains are now declared on its own crate (removed from `integration-tests-common`) - Networks are now declared on its own crate (removed from `integration-tests-common`) - Integration tests will import only the relevant Network crate - `integration-tests-common` is renamed to `emulated-integration-tests-common` All this is necessary to be able to implement what is described here: https://github.com/paritytech/roadmap/issues/56#issuecomment-1777010553 --------- Co-authored-by: command-bot <>
This commit is contained in:
Generated
+250
-82
@@ -874,6 +874,21 @@ dependencies = [
|
||||
"substrate-wasm-builder",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "asset-hub-rococo-emulated-chain"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"asset-hub-rococo-runtime",
|
||||
"cumulus-primitives-core",
|
||||
"emulated-integration-tests-common",
|
||||
"frame-support",
|
||||
"parachains-common",
|
||||
"rococo-emulated-chain",
|
||||
"serde_json",
|
||||
"sp-core",
|
||||
"sp-runtime",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "asset-hub-rococo-integration-tests"
|
||||
version = "1.0.0"
|
||||
@@ -881,23 +896,19 @@ dependencies = [
|
||||
"assert_matches",
|
||||
"asset-hub-rococo-runtime",
|
||||
"asset-test-utils",
|
||||
"emulated-integration-tests-common",
|
||||
"frame-support",
|
||||
"frame-system",
|
||||
"integration-tests-common",
|
||||
"pallet-asset-conversion",
|
||||
"pallet-assets",
|
||||
"pallet-balances",
|
||||
"pallet-xcm",
|
||||
"parachains-common",
|
||||
"parity-scale-codec",
|
||||
"polkadot-core-primitives",
|
||||
"polkadot-parachain-primitives",
|
||||
"polkadot-runtime-parachains",
|
||||
"rococo-runtime",
|
||||
"rococo-system-emulated-network",
|
||||
"sp-runtime",
|
||||
"staging-xcm",
|
||||
"staging-xcm-executor",
|
||||
"xcm-emulator",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -982,6 +993,21 @@ dependencies = [
|
||||
"substrate-wasm-builder",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "asset-hub-westend-emulated-chain"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"asset-hub-westend-runtime",
|
||||
"cumulus-primitives-core",
|
||||
"emulated-integration-tests-common",
|
||||
"frame-support",
|
||||
"parachains-common",
|
||||
"serde_json",
|
||||
"sp-core",
|
||||
"sp-runtime",
|
||||
"westend-emulated-chain",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "asset-hub-westend-integration-tests"
|
||||
version = "1.0.0"
|
||||
@@ -991,9 +1017,9 @@ dependencies = [
|
||||
"asset-test-utils",
|
||||
"cumulus-pallet-dmp-queue",
|
||||
"cumulus-pallet-parachain-system",
|
||||
"emulated-integration-tests-common",
|
||||
"frame-support",
|
||||
"frame-system",
|
||||
"integration-tests-common",
|
||||
"pallet-asset-conversion",
|
||||
"pallet-asset-rate",
|
||||
"pallet-assets",
|
||||
@@ -1003,17 +1029,14 @@ dependencies = [
|
||||
"pallet-xcm",
|
||||
"parachains-common",
|
||||
"parity-scale-codec",
|
||||
"polkadot-core-primitives",
|
||||
"polkadot-parachain-primitives",
|
||||
"polkadot-runtime-common",
|
||||
"polkadot-runtime-parachains",
|
||||
"sp-runtime",
|
||||
"staging-xcm",
|
||||
"staging-xcm-builder",
|
||||
"staging-xcm-executor",
|
||||
"westend-runtime",
|
||||
"westend-runtime-constants",
|
||||
"xcm-emulator",
|
||||
"westend-system-emulated-network",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -1094,6 +1117,22 @@ dependencies = [
|
||||
"westend-runtime-constants",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "asset-hub-wococo-emulated-chain"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"asset-hub-rococo-emulated-chain",
|
||||
"asset-hub-rococo-runtime",
|
||||
"cumulus-primitives-core",
|
||||
"emulated-integration-tests-common",
|
||||
"frame-support",
|
||||
"parachains-common",
|
||||
"serde_json",
|
||||
"sp-core",
|
||||
"sp-runtime",
|
||||
"wococo-emulated-chain",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "asset-test-utils"
|
||||
version = "1.0.0"
|
||||
@@ -2136,6 +2175,20 @@ dependencies = [
|
||||
"substrate-wasm-builder",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "bridge-hub-rococo-emulated-chain"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"bridge-hub-rococo-runtime",
|
||||
"cumulus-primitives-core",
|
||||
"emulated-integration-tests-common",
|
||||
"frame-support",
|
||||
"parachains-common",
|
||||
"serde_json",
|
||||
"sp-core",
|
||||
"sp-runtime",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "bridge-hub-rococo-integration-tests"
|
||||
version = "1.0.0"
|
||||
@@ -2145,24 +2198,16 @@ dependencies = [
|
||||
"bridge-hub-rococo-runtime",
|
||||
"cumulus-pallet-dmp-queue",
|
||||
"cumulus-pallet-xcmp-queue",
|
||||
"emulated-integration-tests-common",
|
||||
"frame-support",
|
||||
"frame-system",
|
||||
"integration-tests-common",
|
||||
"pallet-assets",
|
||||
"pallet-balances",
|
||||
"pallet-bridge-messages",
|
||||
"pallet-message-queue",
|
||||
"pallet-xcm",
|
||||
"parachains-common",
|
||||
"parity-scale-codec",
|
||||
"polkadot-core-primitives",
|
||||
"polkadot-parachain-primitives",
|
||||
"polkadot-runtime-parachains",
|
||||
"sp-core",
|
||||
"sp-weights",
|
||||
"rococo-wococo-system-emulated-network",
|
||||
"staging-xcm",
|
||||
"staging-xcm-executor",
|
||||
"xcm-emulator",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -2298,6 +2343,20 @@ dependencies = [
|
||||
"staging-xcm-executor",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "bridge-hub-westend-emulated-chain"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"bridge-hub-westend-runtime",
|
||||
"cumulus-primitives-core",
|
||||
"emulated-integration-tests-common",
|
||||
"frame-support",
|
||||
"parachains-common",
|
||||
"serde_json",
|
||||
"sp-core",
|
||||
"sp-runtime",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "bridge-hub-westend-integration-tests"
|
||||
version = "1.0.0"
|
||||
@@ -2307,24 +2366,16 @@ dependencies = [
|
||||
"bridge-hub-westend-runtime",
|
||||
"cumulus-pallet-dmp-queue",
|
||||
"cumulus-pallet-xcmp-queue",
|
||||
"emulated-integration-tests-common",
|
||||
"frame-support",
|
||||
"frame-system",
|
||||
"integration-tests-common",
|
||||
"pallet-assets",
|
||||
"pallet-balances",
|
||||
"pallet-bridge-messages",
|
||||
"pallet-message-queue",
|
||||
"pallet-xcm",
|
||||
"parachains-common",
|
||||
"parity-scale-codec",
|
||||
"polkadot-core-primitives",
|
||||
"polkadot-parachain-primitives",
|
||||
"polkadot-runtime-parachains",
|
||||
"sp-core",
|
||||
"sp-weights",
|
||||
"staging-xcm",
|
||||
"staging-xcm-executor",
|
||||
"xcm-emulator",
|
||||
"westend-system-emulated-network",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -2410,6 +2461,21 @@ dependencies = [
|
||||
"westend-runtime-constants",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "bridge-hub-wococo-emulated-chain"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"bridge-hub-rococo-emulated-chain",
|
||||
"bridge-hub-rococo-runtime",
|
||||
"cumulus-primitives-core",
|
||||
"emulated-integration-tests-common",
|
||||
"frame-support",
|
||||
"parachains-common",
|
||||
"serde_json",
|
||||
"sp-core",
|
||||
"sp-runtime",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "bridge-runtime-common"
|
||||
version = "0.1.0"
|
||||
@@ -4988,6 +5054,40 @@ dependencies = [
|
||||
"zeroize",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "emulated-integration-tests-common"
|
||||
version = "1.0.0"
|
||||
dependencies = [
|
||||
"asset-test-utils",
|
||||
"bp-messages",
|
||||
"bridge-runtime-common",
|
||||
"cumulus-pallet-parachain-system",
|
||||
"cumulus-pallet-xcmp-queue",
|
||||
"cumulus-primitives-core",
|
||||
"frame-support",
|
||||
"pallet-assets",
|
||||
"pallet-balances",
|
||||
"pallet-bridge-messages",
|
||||
"pallet-im-online",
|
||||
"pallet-message-queue",
|
||||
"pallet-xcm",
|
||||
"parachains-common",
|
||||
"parity-scale-codec",
|
||||
"paste",
|
||||
"polkadot-primitives",
|
||||
"polkadot-runtime-parachains",
|
||||
"polkadot-service",
|
||||
"sc-consensus-grandpa",
|
||||
"serde_json",
|
||||
"sp-authority-discovery",
|
||||
"sp-consensus-babe",
|
||||
"sp-consensus-beefy",
|
||||
"sp-core",
|
||||
"sp-runtime",
|
||||
"staging-xcm",
|
||||
"xcm-emulator",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "encode_unicode"
|
||||
version = "0.3.6"
|
||||
@@ -6735,57 +6835,6 @@ dependencies = [
|
||||
"num-traits",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "integration-tests-common"
|
||||
version = "1.0.0"
|
||||
dependencies = [
|
||||
"asset-hub-kusama-runtime",
|
||||
"asset-hub-polkadot-runtime",
|
||||
"asset-hub-rococo-runtime",
|
||||
"asset-hub-westend-runtime",
|
||||
"bp-messages",
|
||||
"bridge-hub-kusama-runtime",
|
||||
"bridge-hub-polkadot-runtime",
|
||||
"bridge-hub-rococo-runtime",
|
||||
"bridge-hub-westend-runtime",
|
||||
"bridge-runtime-common",
|
||||
"collectives-polkadot-runtime",
|
||||
"cumulus-pallet-parachain-system",
|
||||
"cumulus-pallet-xcmp-queue",
|
||||
"cumulus-primitives-core",
|
||||
"frame-support",
|
||||
"pallet-assets",
|
||||
"pallet-balances",
|
||||
"pallet-bridge-messages",
|
||||
"pallet-im-online",
|
||||
"pallet-message-queue",
|
||||
"pallet-staking",
|
||||
"pallet-xcm",
|
||||
"parachains-common",
|
||||
"parity-scale-codec",
|
||||
"paste",
|
||||
"penpal-runtime",
|
||||
"polkadot-core-primitives",
|
||||
"polkadot-parachain-primitives",
|
||||
"polkadot-primitives",
|
||||
"polkadot-runtime-parachains",
|
||||
"polkadot-service",
|
||||
"rococo-runtime",
|
||||
"rococo-runtime-constants",
|
||||
"sc-chain-spec",
|
||||
"sc-consensus-grandpa",
|
||||
"serde_json",
|
||||
"sp-authority-discovery",
|
||||
"sp-consensus-babe",
|
||||
"sp-consensus-beefy",
|
||||
"sp-core",
|
||||
"sp-runtime",
|
||||
"staging-xcm",
|
||||
"westend-runtime",
|
||||
"westend-runtime-constants",
|
||||
"xcm-emulator",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "interceptor"
|
||||
version = "0.8.2"
|
||||
@@ -11547,6 +11596,20 @@ dependencies = [
|
||||
"base64ct",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "penpal-emulated-chain"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"cumulus-primitives-core",
|
||||
"emulated-integration-tests-common",
|
||||
"frame-support",
|
||||
"parachains-common",
|
||||
"penpal-runtime",
|
||||
"serde_json",
|
||||
"sp-core",
|
||||
"sp-runtime",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "penpal-runtime"
|
||||
version = "0.9.27"
|
||||
@@ -14288,6 +14351,25 @@ dependencies = [
|
||||
"librocksdb-sys",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rococo-emulated-chain"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"emulated-integration-tests-common",
|
||||
"pallet-im-online",
|
||||
"parachains-common",
|
||||
"polkadot-primitives",
|
||||
"rococo-runtime",
|
||||
"rococo-runtime-constants",
|
||||
"sc-consensus-grandpa",
|
||||
"serde_json",
|
||||
"sp-authority-discovery",
|
||||
"sp-consensus-babe",
|
||||
"sp-consensus-beefy",
|
||||
"sp-core",
|
||||
"sp-runtime",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rococo-parachain-runtime"
|
||||
version = "0.1.0"
|
||||
@@ -14455,6 +14537,30 @@ dependencies = [
|
||||
"staging-xcm",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rococo-system-emulated-network"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"asset-hub-rococo-emulated-chain",
|
||||
"bridge-hub-rococo-emulated-chain",
|
||||
"emulated-integration-tests-common",
|
||||
"penpal-emulated-chain",
|
||||
"rococo-emulated-chain",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rococo-wococo-system-emulated-network"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"asset-hub-rococo-emulated-chain",
|
||||
"asset-hub-wococo-emulated-chain",
|
||||
"bridge-hub-rococo-emulated-chain",
|
||||
"bridge-hub-wococo-emulated-chain",
|
||||
"emulated-integration-tests-common",
|
||||
"rococo-emulated-chain",
|
||||
"wococo-emulated-chain",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rpassword"
|
||||
version = "7.2.0"
|
||||
@@ -20682,6 +20788,26 @@ dependencies = [
|
||||
"winapi",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "westend-emulated-chain"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"emulated-integration-tests-common",
|
||||
"pallet-im-online",
|
||||
"pallet-staking",
|
||||
"parachains-common",
|
||||
"polkadot-primitives",
|
||||
"sc-consensus-grandpa",
|
||||
"serde_json",
|
||||
"sp-authority-discovery",
|
||||
"sp-consensus-babe",
|
||||
"sp-consensus-beefy",
|
||||
"sp-core",
|
||||
"sp-runtime",
|
||||
"westend-runtime",
|
||||
"westend-runtime-constants",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "westend-runtime"
|
||||
version = "1.0.0"
|
||||
@@ -20807,6 +20933,17 @@ dependencies = [
|
||||
"staging-xcm",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "westend-system-emulated-network"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"asset-hub-westend-emulated-chain",
|
||||
"bridge-hub-westend-emulated-chain",
|
||||
"emulated-integration-tests-common",
|
||||
"penpal-emulated-chain",
|
||||
"westend-emulated-chain",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "which"
|
||||
version = "4.4.0"
|
||||
@@ -21068,6 +21205,37 @@ dependencies = [
|
||||
"windows-sys 0.48.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "wococo-emulated-chain"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"emulated-integration-tests-common",
|
||||
"pallet-im-online",
|
||||
"parachains-common",
|
||||
"polkadot-primitives",
|
||||
"rococo-emulated-chain",
|
||||
"rococo-runtime",
|
||||
"rococo-runtime-constants",
|
||||
"sc-consensus-grandpa",
|
||||
"serde_json",
|
||||
"sp-authority-discovery",
|
||||
"sp-consensus-babe",
|
||||
"sp-consensus-beefy",
|
||||
"sp-core",
|
||||
"sp-runtime",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "wococo-system-emulated-network"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"asset-hub-wococo-emulated-chain",
|
||||
"bridge-hub-wococo-emulated-chain",
|
||||
"emulated-integration-tests-common",
|
||||
"penpal-emulated-chain",
|
||||
"wococo-emulated-chain",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "wyz"
|
||||
version = "0.5.1"
|
||||
|
||||
Reference in New Issue
Block a user