-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Conversation
This doesn't look like the right place for this. You should implement such a thing here: https://github.com/paritytech/polkadot/tree/master/xcm With a more specific struct name saying how it should be used, and generic usage of the xcm executor. |
I thought this place is only for fundamental XCM definitions that could be used across relay chain and parachain impl. The XCM sender defined in this PR is only for relay chain's use, as it only do DMP. That's why I put it in common runtime lib. IMHO the relay chain XCM sender might be in a place where less chance developers would use a wrong sender, and I guess this is also the reason the XCM sender which do UMP and HRMP is defined in cumulus, instead of here.
Will update the naming and documentation. |
Another thing I forgot to mention is that this sender depends on |
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 think this is fine for now then, but long term, I suspect this will be refactored somewhere else.
I don't have a great immediate suggestion.
Looks like this PR needs more approvals as @bkchr added A0-pleasereview label. Please help to add reviewers. Thanks! |
@shawntabrizi @bkchr Could you please help to add reviewers? |
bot merge |
Missing process info; check that the PR belongs to a project column. Merge can be attempted if:
|
Fixes #2405