-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor Develop -> Interoperabiity -> Testing and Debugging #339
Conversation
@@ -9,22 +9,36 @@ description: Learn how to test and debug cross-chain communication via the XCM S | |||
|
|||
Cross-Consensus Messaging (XCM) is a core feature of the Polkadot ecosystem, enabling communication between parachains, relay chains, and system chains. To ensure the reliability of XCM-powered blockchains, thorough testing and debugging are essential before production deployment. | |||
|
|||
This article explores two indispensable tools for XCM testing, the [XCM Simulator](#xcm-simulator) and the [XCM Emulator](#xcm-emulator), to help developers onboard and test their solutions effectively. | |||
This guide focuses on the XCM Emulator, a tool designed to help developers onboard and test their solutions effectively. For additional XCM testing capabilities, you can also use [Chopsticks](/tutorials/polkadot-sdk/testing/fork-live-chains/#xcm-testing){target=\_blank}. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would point them first to chopsticks for testing and debugging and tell them how to do both.
I would mention how to use setupNetworks
from @acala-network/chopsticks-testing
to write automatic tests like in https://github.com/franciscoaguirre/dot-reserve-change/blob/2b678660aa9c5c10c51ec7c58cd872dd224d067b/setup.ts#L31.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is really useful and the way to go. For the context of this PR, it is better to update the XCM emulator docs and create an issue to add chopsticks xcm testing docs later. We already have some documentation on Chopsticks, so we need to reorganize the informational architecture to include these changes seamlessly.
Once we have the IA done, we can iterate over this again
Co-authored-by: Nicolás Hussein <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sweet. From a formatting standpoint, it looks good, just one minor thing!
Co-authored-by: Erin Shaben <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Refactor XCM Testing and Debugging page and remove XCM Simulator