Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

use PolkadotXcm for XcmRouter WrapVersion #674

Closed
wants to merge 1 commit into from

Conversation

xlc
Copy link
Contributor

@xlc xlc commented Oct 17, 2021

Any reason why this isn't used?

@@ -595,7 +595,7 @@ pub type LocalOriginToLocation = ();
/// queues.
pub type XcmRouter = (
// Two routers - use UMP to communicate with the relay chain:
cumulus_primitives_utility::ParentAsUmp<ParachainSystem, ()>,
cumulus_primitives_utility::ParentAsUmp<ParachainSystem, PolkadotXcm>,
Copy link
Contributor

Choose a reason for hiding this comment

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

I suspect it's because the relay chain hasn't been upgraded to a version that supported version negotiation before, and neither did statemine include the XCM pallet. Now if those two conditions are fulfilled, there's no reason not to use it.

Deferring to @gavofyork for final approval.

@apopiak apopiak self-requested a review October 20, 2021 12:40
@apopiak apopiak mentioned this pull request Oct 20, 2021
Copy link
Contributor

@apopiak apopiak left a comment

Choose a reason for hiding this comment

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

This makes sense to me, let's also add it to the other runtimes.
@xlc

@xlc xlc closed this Oct 20, 2021
@xlc xlc deleted the use-pallet-xcm branch October 20, 2021 21:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants