xcm-emulator: add Rococo<>Westend bridge and add tests for assets transfers over the bridge (#2251)

- switch from Rococo<>Wococo to Rococo<>Westend bridge
- add bidirectional simple tests
- remove Wococo chains from xcm-emulator
- added tests for assets transfers over Rococo<>Westend bridge 

fixes https://github.com/paritytech/parity-bridges-common/issues/2405
This commit is contained in:
Adrian Catangiu
2023-11-14 14:47:04 +02:00
committed by GitHub
parent a393cfcb28
commit 39cc95740a
30 changed files with 711 additions and 469 deletions
Generated
+10 -68
View File
@@ -1119,22 +1119,6 @@ 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"
@@ -2202,12 +2186,14 @@ dependencies = [
"cumulus-pallet-xcmp-queue",
"emulated-integration-tests-common",
"frame-support",
"pallet-assets",
"pallet-balances",
"pallet-bridge-messages",
"pallet-message-queue",
"pallet-xcm",
"parachains-common",
"parity-scale-codec",
"rococo-wococo-system-emulated-network",
"rococo-westend-system-emulated-network",
"staging-xcm",
"staging-xcm-executor",
]
@@ -2370,14 +2356,16 @@ dependencies = [
"cumulus-pallet-xcmp-queue",
"emulated-integration-tests-common",
"frame-support",
"pallet-assets",
"pallet-balances",
"pallet-bridge-messages",
"pallet-message-queue",
"pallet-xcm",
"parachains-common",
"parity-scale-codec",
"rococo-westend-system-emulated-network",
"staging-xcm",
"staging-xcm-executor",
"westend-system-emulated-network",
]
[[package]]
@@ -2463,21 +2451,6 @@ 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"
@@ -14578,16 +14551,16 @@ dependencies = [
]
[[package]]
name = "rococo-wococo-system-emulated-network"
name = "rococo-westend-system-emulated-network"
version = "0.0.0"
dependencies = [
"asset-hub-rococo-emulated-chain",
"asset-hub-wococo-emulated-chain",
"asset-hub-westend-emulated-chain",
"bridge-hub-rococo-emulated-chain",
"bridge-hub-wococo-emulated-chain",
"bridge-hub-westend-emulated-chain",
"emulated-integration-tests-common",
"rococo-emulated-chain",
"wococo-emulated-chain",
"westend-emulated-chain",
]
[[package]]
@@ -21236,37 +21209,6 @@ 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"