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:
Adrian Catangiu <adrian@parity.io>
parent
09d37543
Showing
- Cargo.lock 1 addition, 0 deletionsCargo.lock
- cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-westend/Cargo.toml 1 addition, 0 deletions...ests/emulated/tests/bridges/bridge-hub-westend/Cargo.toml
- cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-westend/src/lib.rs 7 additions, 4 deletions...ests/emulated/tests/bridges/bridge-hub-westend/src/lib.rs
- cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-westend/src/tests/asset_transfers.rs 664 additions, 2 deletions...s/bridges/bridge-hub-westend/src/tests/asset_transfers.rs
Please register or sign in to comment