Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Example Parachain Integration tests #87

Merged
merged 6 commits into from
Oct 4, 2023
Merged

Conversation

AlexD10S
Copy link
Contributor

@AlexD10S AlexD10S commented Sep 27, 2023

Solved the issue [QA] Example Parachain Integration tests #77.

Added the instructions of how to run the integration tests, set up the zombienet file and two tests files:

  • force_hrmp_open_channels: creates an HRMP channel with asset-hub and checks that everything is created propertly.

I decided to create this test, because there currently there is an issue: (draft) Zombienet test with preopen hrmp with zombienet investigation paritytech/polkadot-sdk#1616 that is unable to create the hrmp channels directly with zombienet, so this test can be useful.

  • transact: Test to make a transfer from this parachain sovereign account to asset-hub local network sovereign account via a XCM Transact in the Relay Chain.

Bonus point:
We can create one reserve transfer similar to the one in Trappist once we have this: Minimal AssetHub integration #79

@AlexD10S AlexD10S marked this pull request as ready for review September 28, 2023 17:54
@AlexD10S AlexD10S requested a review from weezy20 September 28, 2023 17:54
@AlexD10S AlexD10S requested a review from weezy20 October 2, 2023 11:39
hrmp_channels:
proposed_max_capacity: &max_capacity 8
proposed_max_message_size: &max_message_size 1048576
channel: &channel {
Copy link
Contributor

@weezy20 weezy20 Oct 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we are using this (&channel) variable binding anywhere. Okay to omit it?

@weezy20 weezy20 requested a review from stiiifff October 4, 2023 06:08
@weezy20
Copy link
Contributor

weezy20 commented Oct 4, 2023

Looks good to me.

@AlexD10S AlexD10S merged commit afb4c44 into main Oct 4, 2023
@AlexD10S AlexD10S deleted the alexd10s-integration-tests branch October 4, 2023 08:36
@AlexD10S AlexD10S restored the alexd10s-integration-tests branch October 4, 2023 08:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants