-
Notifications
You must be signed in to change notification settings - Fork 351
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
Make xcm config index friendly #3113
Make xcm config index friendly #3113
Conversation
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
@RomarQ @Agusrodri |
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.
+1
We may need to wait for Context: SetTopic does not exist on v2 @Agusrodri @albertov19 do you guys agree? |
I think that issue won't happen, as both Polkadot and Kusama already recognizes V4 as the XCM version for Moonbeam and Moonriver respectively. The issue mentioned there, is due to the fact that the relay chain thinks that the parachain is configured in a lower version than the one it is being used to send the message. You can check this by querying the See this moonbeam forum post for more context. |
Agree with @Agusrodri - Either way it would be good practice to bump safe xcm version. The issue is that this is a root track proposal and it requires a hefty decision deposit. I'm coordinating but this can take 1 month to enact at least. |
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.
@yrong please merge the latest changes from master and fix the tests.
I took a deeper look and indeed it fails when converting to V2 (our
This means we actually need to wait for the proposal that bumps the |
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.
Both moonriver and moonbeam are in the process to update safeXcmVerstion
to 3. The changes look good to me 👍
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.
👍
XCMv2 will no longer be supported.
What does it do?
Always use
TrailingSetTopicAsId
andWithUniqueTopic
to be consistent with system Parachains.What value does it bring to the blockchain users?
Make indexing the Xcm across multiple chains a bit easier. e.g: a transfer from Moonbeam to Ethereum:
https://moonbeam.subscan.io/extrinsic/8501143-6
https://assethub-polkadot.subscan.io/block/7645765?tab=event&event=7645765-10
https://bridgehub-polkadot.subscan.io/block/3961093?tab=event&event=3961093-9
https://etherscan.io/tx/0xf1883bbb761ffff094a0bb513aae1d3f8d38e6c72fe6a1267fd87e3ef97cd44b