Skip to content

Add XCM integration tests #960

@shaunxw

Description

@shaunxw

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.

Metadata

Metadata

Labels

enhancementNew feature or requestprojectIssue is part of an ongoing projecttestsIf the PR/issue is related to tests, like xcm-simulator tests, rpc-tests etc.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions