pendulum-chain / pendulum-chain/pendulum

Improve XCM integration tests

Open
#293 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

priority:low type:chore
Dominant language
Rust
Stars
45
Forks
13
Avg merge
5d 15h
Merged PRs (30d)
4

Description

This is a follow-up task to PR #290.

We identified that the integration tests for testing relay-chain transfers via XCM can be improved. We originally adopted these integration tests from Acala, but they added some improvements in the meantime, for example, more flexible fee calculations for asset-hub transfers, see this file, that would make us a little less dependent on hard-coded values.

TODO

We should have another look at Acala's integration tests for relay-chain transfers and try to adopt the latest best-practices.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing Acala's relay-chain integration tests, especially runtime/integration-tests/src/relaychain/statemine.rs and the surrounding relaychain directory linked in the issue. Compare them with the tests introduced by PR #290, focusing on flexible asset-hub fee calculations and reducing hard-coded values; done means the Pendulum tests adopt the relevant improvements.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
distributed-systems, testing-qa
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.