Astar icon indicating copy to clipboard operation
Astar copied to clipboard

Add XCM integration tests

Open shaunxw opened this issue 1 year ago • 3 comments

We currently have xcm-simulator-tests, which is not ideal as it's based on a mock runtime duplicating Shiden runtime. Instead, all runtimes including Shibuya/Shiden/Astar should be covered and the tests should be done against real-life relay chain and parachain runtimes.

There are 2 options for us:

  1. Chopsticks
    • Pros: test on live network forks, is able to cover more scenarios like HRMP channels, between runtimes with different XCM/deps version.
    • Cons: tests are written with TS/JS.
  2. XCM emulator
    • Pros: written in Rust.
    • Cons: cannot test HRMP channels; runtimes need to be the same deps version; will introduce extra build overhead for tests, CI.

shaunxw avatar Jun 19 '23 11:06 shaunxw

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Jul 22 '23 02:07 github-actions[bot]

Emulator added via this uplift: https://github.com/AstarNetwork/Astar/pull/978

Dinonard avatar Jul 24 '23 08:07 Dinonard

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Aug 24 '23 01:08 github-actions[bot]

@Dinonard @shaunxw I believe this is already solved

ermalkaleci avatar Jun 19 '24 10:06 ermalkaleci

True!

Dinonard avatar Jun 19 '24 14:06 Dinonard