Skip to content
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

[Substrate.io / Polkadot WIki Migration] Open Message Passing Channels #15

Closed
wants to merge 2 commits into from

Conversation

CrackTheCode016
Copy link
Collaborator

This page was originally meant to be the one on substrate.io, but the one on the Wiki was much more concise and made more sense to migrate.

description: Learn how to open message passing channels between parachains for cross consensus operations. This is known as horizontal relay routed message passing (HRMP).
---

In order to communicate over HRMP, parachains must establish channels by registering them on the Relay Chain. HRMP is a message transport protocol that passes all messages via the relay chain.
Copy link

Choose a reason for hiding this comment

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

📝 [vale] reported by reviewdog 🐶
[Papermoon.Acronyms] Spell out 'HRMP', if it's unfamiliar to the audience.

description: Learn how to open message passing channels between parachains for cross consensus operations. This is known as horizontal relay routed message passing (HRMP).
---

In order to communicate over HRMP, parachains must establish channels by registering them on the Relay Chain. HRMP is a message transport protocol that passes all messages via the relay chain.
Copy link

Choose a reason for hiding this comment

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

🚫 [vale] reported by reviewdog 🐶
[Vale.Terms] Use 'relay chain' instead of 'Relay Chain'.

description: Learn how to open message passing channels between parachains for cross consensus operations. This is known as horizontal relay routed message passing (HRMP).
---

In order to communicate over HRMP, parachains must establish channels by registering them on the Relay Chain. HRMP is a message transport protocol that passes all messages via the relay chain.
Copy link

Choose a reason for hiding this comment

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

📝 [vale] reported by reviewdog 🐶
[Papermoon.Acronyms] Spell out 'HRMP', if it's unfamiliar to the audience.


In order to communicate over HRMP, parachains must establish channels by registering them on the Relay Chain. HRMP is a message transport protocol that passes all messages via the relay chain.

HRMP channels are uni-directional. Bi-directional communication between two parachains will require
Copy link

Choose a reason for hiding this comment

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

📝 [vale] reported by reviewdog 🐶
[Papermoon.Acronyms] Spell out 'HRMP', if it's unfamiliar to the audience.

HRMP channels are uni-directional. Bi-directional communication between two parachains will require
two channels, one in each direction.

## Opening HRMP Channels
Copy link

Choose a reason for hiding this comment

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

📝 [vale] reported by reviewdog 🐶
[Papermoon.Acronyms] Spell out 'HRMP', if it's unfamiliar to the audience.

[implementation](https://github.com/Polimec/polimec-node/blob/da9d1ee0062ead7a62f815647813ada48e4c2250/pallets/xcm-executor/src/lib.rs#L890){target=_blank}
of the `XcmExecutor`, which handles notifications of channel requests and acceptance.

## Opening HRMP Channels with System Parachains
Copy link

Choose a reason for hiding this comment

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

📝 [vale] reported by reviewdog 🐶
[Papermoon.Acronyms] Spell out 'HRMP', if it's unfamiliar to the audience.

[implementation](https://github.com/Polimec/polimec-node/blob/da9d1ee0062ead7a62f815647813ada48e4c2250/pallets/xcm-executor/src/lib.rs#L890){target=_blank}
of the `XcmExecutor`, which handles notifications of channel requests and acceptance.

## Opening HRMP Channels with System Parachains
Copy link

Choose a reason for hiding this comment

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

🚫 [vale] reported by reviewdog 🐶
[Vale.Terms] Use 'parachains' instead of 'Parachains'.


![asset-hub-hrmp-channel-xcm](../assets/asset-hub/asset-hub-establish-channel-xcm.png)

## Opening HRMP Channels Between Two System Parachains
Copy link

Choose a reason for hiding this comment

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

📝 [vale] reported by reviewdog 🐶
[Papermoon.Acronyms] Spell out 'HRMP', if it's unfamiliar to the audience.


![asset-hub-hrmp-channel-xcm](../assets/asset-hub/asset-hub-establish-channel-xcm.png)

## Opening HRMP Channels Between Two System Parachains
Copy link

Choose a reason for hiding this comment

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

🚫 [vale] reported by reviewdog 🐶
[Vale.Terms] Use 'parachains' instead of 'Parachains'.

## Opening HRMP Channels Between Two System Parachains

As of Polkadot and Kusama runtimes 1,001,000, anyone can call an `establishSystemChannel` extrinsic
with two system parachains as arguments in order to establish a channel from the given sender to
Copy link

Choose a reason for hiding this comment

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

⚠️ [vale] reported by reviewdog 🐶
[Papermoon.WordSwapList] Use 'to' instead of 'in order to'.

@0xLucca
Copy link
Collaborator

0xLucca commented Sep 10, 2024

Hey Bader! We've already kicked off the migration work of this page in our previous repo. We used the Polkadot Wiki as a starting point but expanded on it quite a bit. We added more detailed explanations and fleshed out the content. I think we can definitely merge this with any new work you've got here. This is the PR papermoonio/polkadot-ecosystem-docs-draft#34. After it is reviewed and the fixes are made I will create a new PR in here

@CrackTheCode016
Copy link
Collaborator Author

Closing in favor of another page to be migrated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants