-
Notifications
You must be signed in to change notification settings - Fork 78
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
feat(xcm): add xcm topic id wrappers to router and barrier #961
base: master
Are you sure you want to change the base?
Conversation
We need rebench here and we can merge. @XY-Wang can you send your wallet address? |
@XY-Wang Please adjust the failing test and bump the necessary versions, then we are good to go. |
Merged from master and fixed the failing test. You can use the address 152n2TXMkYa2oLgNyDK1H7X7D3WFjoShVCSUBceATccjTzza. Thanks and happy new year! |
Hi @dmoka, I fixed the formatting and bumped the versions that were causing the pipeline to fail. Please try to run it again, sorry for the inconvenience. |
This PR adds the
WithUniqueTopic
andTrailingSetTopicAsId
wrappers, introduced in paritytech/polkadot#7234, to the XCM Router and Barrier respectively.This will allow for easier tracking of XCM, especially in the case of multi-hop messages where the message hash differs on each leg.
More detailed explanation: https://substrate.stackexchange.com/questions/1893/is-there-an-id-for-xcm-message/1906#1906
The implementation mirrors that of the system parachains:
https://github.com/polkadot-fellows/runtimes/blob/7b096c14c2b16cc81ca4e2188eea9103f120b7a4/system-parachains/asset-hubs/asset-hub-polkadot/src/xcm_config.rs#L295
https://github.com/polkadot-fellows/runtimes/blob/7b096c14c2b16cc81ca4e2188eea9103f120b7a4/system-parachains/asset-hubs/asset-hub-polkadot/src/xcm_config.rs#L477