Skip to content
Snippets Groups Projects
Unverified Commit 430a016c authored by Adrian Catangiu's avatar Adrian Catangiu Committed by GitHub
Browse files

integration tests: add more emulated bridge tests (#7576)


Add emulated e2e tests for following scenarios:

Exporting native asset to another ecosystem:
- Sending WNDs from Penpal Westend to Penpal Rococo: PPW->AHW->AHR->PPR
- Sending WNDs from Westend Relay to Penpal Rococo: W->AHW->AHR->PPR
   Example: Westend Treasury funds something on Rococo Parachain.

Importing native asset from another ecosystem to its native ecosystem:
- Sending ROCs from Penpal Westend to Penpal Rococo: PPW->AHW->AHR->PPR
- Sending ROCs from Penpal Westend to Rococo Relay: PPW->AHW->AHR->R
   Example: Westend Parachain returns some funds to Rococo Treasury.

Signed-off-by: default avatarAdrian Catangiu <adrian@parity.io>
parent 09d37543
Branches
No related merge requests found
Pipeline #515715 waiting for manual action with stages
in 30 minutes and 4 seconds
......@@ -2868,6 +2868,7 @@ version = "1.0.0"
dependencies = [
"asset-hub-westend-runtime",
"bridge-hub-westend-runtime",
"cumulus-pallet-parachain-system 0.7.0",
"cumulus-pallet-xcmp-queue 0.7.0",
"emulated-integration-tests-common",
"frame-support 28.0.0",
......
......@@ -37,6 +37,7 @@ pallet-bridge-messages = { workspace = true }
# Cumulus
asset-hub-westend-runtime = { workspace = true }
bridge-hub-westend-runtime = { workspace = true }
cumulus-pallet-parachain-system = { workspace = true }
cumulus-pallet-xcmp-queue = { workspace = true }
emulated-integration-tests-common = { workspace = true }
parachains-common = { workspace = true, default-features = true }
......
......@@ -61,8 +61,10 @@ mod imports {
LocalTeleportableToAssetHub as PenpalLocalTeleportableToAssetHub,
UniversalLocation as PenpalUniversalLocation,
},
PenpalAssetOwner, PenpalBParaPallet as PenpalBPallet,
PenpalAParaPallet as PenpalAPallet, PenpalAssetOwner,
PenpalBParaPallet as PenpalBPallet,
},
rococo_emulated_chain::RococoRelayPallet as RococoPallet,
westend_emulated_chain::{
genesis::ED as WESTEND_ED, westend_runtime::xcm_config::XcmConfig as WestendXcmConfig,
WestendRelayPallet as WestendPallet,
......@@ -73,10 +75,11 @@ mod imports {
AssetHubWestendParaSender as AssetHubWestendSender, BridgeHubRococoPara as BridgeHubRococo,
BridgeHubWestendPara as BridgeHubWestend,
BridgeHubWestendParaReceiver as BridgeHubWestendReceiver,
BridgeHubWestendParaSender as BridgeHubWestendSender, PenpalBPara as PenpalB,
BridgeHubWestendParaSender as BridgeHubWestendSender, PenpalAPara as PenpalA,
PenpalAParaReceiver as PenpalAReceiver, PenpalBPara as PenpalB,
PenpalBParaReceiver as PenpalBReceiver, PenpalBParaSender as PenpalBSender,
WestendRelay as Westend, WestendRelayReceiver as WestendReceiver,
WestendRelaySender as WestendSender,
RococoRelay as Rococo, RococoRelayReceiver as RococoReceiver, WestendRelay as Westend,
WestendRelayReceiver as WestendReceiver, WestendRelaySender as WestendSender,
};
pub const ASSET_ID: u32 = 1;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment