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

XCM issue on Kusama #2238

Closed
2 of 8 tasks
xlc opened this issue Nov 9, 2023 · 9 comments
Closed
2 of 8 tasks

XCM issue on Kusama #2238

xlc opened this issue Nov 9, 2023 · 9 comments
Labels
T6-XCM This PR/Issue is related to XCM. T10-tests This PR/Issue is related to tests.

Comments

@xlc
Copy link
Contributor

xlc commented Nov 9, 2023

https://kusama.subscan.io/extrinsic/20471678-2?event=20471678-36 failed to deliver the message

Issues identified:

Tasks

@KiChjang
Copy link
Contributor

KiChjang commented Nov 9, 2023

It does have enough logs actually, the actual error itself helps a lot in determining where the problem was, so we really only need to remove the map_error: #2239

@KiChjang
Copy link
Contributor

KiChjang commented Nov 9, 2023

Root cause is that SetTopic does not exist on v2, and since new runtimes now contain the WithUniqueTopic router which appends SetTopic, converting a v3 XCM to v2 fails.

@xlc
Copy link
Contributor Author

xlc commented Nov 9, 2023

One of the root cause is that version notification mechanism doesn't work between Kusama and Karura. The Kusama Asset Hub have v3 for Karura. Polkadot and Polkadot Asset Hub both have v3 for Acala.

@dzmitry-lahoda
Copy link
Contributor

Hello, please share messages to send if any to handle setting version correctly. We have issue too.

@xlc
Copy link
Contributor Author

xlc commented Nov 9, 2023

https://github.com/xlc/chopsticks-ksm-xcm is the issue reproduced using Chopsticks

@albertov19
Copy link

@dzmitry-lahoda you have to check what is the request ID for your parachain on Kusama:

image

Or just put the Parachain ID in the query at the top.

Next, in your parachain, build a simple XCM message like https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fwss.api.moonriver.moonbeam.network#/extrinsics/decode/0x670003010003040379290303000000000000

Note that in this case, the Query ID for Moonriver is 2,654 - Then send this message through ROOT origin, it can be via democracy, opengov, sudo, fast tracking, whatever mechanism the parachain uses. In Moonriver, this was whitelisted and put to vote via a Whitelist track (OpenGov).

@dzmitry-lahoda
Copy link
Contributor

@albertov19 yeah, thanks you. after some tinkering we found query id for our chain. so it was not so self evident.

@ggwpez ggwpez added the T10-tests This PR/Issue is related to tests. label Mar 13, 2024
@franciscoaguirre franciscoaguirre added the T6-XCM This PR/Issue is related to XCM. label Mar 25, 2024
@acatangiu
Copy link
Contributor

This was an observability and debuggability problem, closing in favor of #6119

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T6-XCM This PR/Issue is related to XCM. T10-tests This PR/Issue is related to tests.
Projects
None yet
Development

No branches or pull requests

7 participants