This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Add XCM pallet and config to Polkadot runtime #4313
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KiChjang
reviewed
Nov 17, 2021
apopiak
reviewed
Nov 19, 2021
apopiak
added
B7-runtimenoteworthy
C1-low
PR touches the given topic and has a low impact on builders.
D9-needsaudit 👮
PR contains changes to fund-managing logic that should be properly reviewed and externally audited.
labels
Nov 19, 2021
apopiak
reviewed
Nov 22, 2021
pub const Polkadot: MultiAssetFilter = Wild(AllOf { fun: WildFungible, id: Concrete(DotLocation::get()) }); | ||
pub const PolkadotForStatemint: (MultiAssetFilter, MultiLocation) = (Polkadot::get(), Parachain(1000).into()); | ||
} | ||
pub type TrustedTeleporters = (xcm_builder::Case<PolkadotForStatemint>,); |
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.
@joepetrowski this addresses #4289
gavofyork
approved these changes
Nov 22, 2021
apopiak
approved these changes
Nov 22, 2021
xlc
reviewed
Nov 22, 2021
@@ -158,6 +163,10 @@ std = [ | |||
"beefy-primitives/std", | |||
"pallet-mmr-primitives/std", | |||
"frame-election-provider-support/std", | |||
"pallet-xcm/std", |
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.
tab or spaces, this is the question
drahnr
pushed a commit
that referenced
this pull request
Nov 24, 2021
* xcm added * xcm pallet & config added Polkadot * set advertise XCM version to 2 for Polkadot * remove ChildSystemParachainAsSuperuser from Polkadot XCM config * remove unpaid execution for system parachains * remove unused imports Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
viniul
added
D1-audited 👍
PR contains changes to critical logic that has been properly reviewed and externally audited.
and removed
D9-needsaudit 👮
PR contains changes to fund-managing logic that should be properly reviewed and externally audited.
labels
Nov 25, 2021
bkchr
pushed a commit
that referenced
this pull request
Dec 1, 2021
* xcm added * xcm pallet & config added Polkadot * set advertise XCM version to 2 for Polkadot * remove ChildSystemParachainAsSuperuser from Polkadot XCM config * remove unpaid execution for system parachains * remove unused imports Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
bkchr
added a commit
that referenced
this pull request
Dec 2, 2021
* Update Substrate branch * add disputes to Kusama runtime (#4356) * add disputes to Kusama runtime * Update DisputesHandler * fmt * add the benchmarks * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_parachains::disputes --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_parachains_disputes.rs Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com> Co-authored-by: Parity Bot <admin@parity.io> * Add XCM pallet and config to Polkadot runtime (#4313) * xcm added * xcm pallet & config added Polkadot * set advertise XCM version to 2 for Polkadot * remove ChildSystemParachainAsSuperuser from Polkadot XCM config * remove unpaid execution for system parachains * remove unused imports Co-authored-by: Alexander Popiak <alexander.popiak@parity.io> * Pin changelogerator to the latest compatible version for the current flow (#4392) (#4436) * add missing feature (#4355) * add pallet-babe/std (#4438) * Apply v0.9.13 weights (#4444) * Update weights for Westend * Update weights for kusama * Update weights for polkadot * bump tx versions (#4447) (#4450) Co-authored-by: Robert Habermeier <rphmeier@gmail.com> Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com> Co-authored-by: Parity Bot <admin@parity.io> Co-authored-by: Ignacio Palacios <ignacio.palacios.santos@gmail.com> Co-authored-by: Alexander Popiak <alexander.popiak@parity.io> Co-authored-by: Chevdor <chevdor@users.noreply.github.com> Co-authored-by: Xiliang Chen <xlchen1291@gmail.com> Co-authored-by: zjb0807 <zjb0807@qq.com> Co-authored-by: Martin Pugh <martin@parity.io>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
A0-please_review
Pull request needs code review.
C1-low
PR touches the given topic and has a low impact on builders.
D1-audited 👍
PR contains changes to critical logic that has been properly reviewed and externally audited.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds support for sending XCMs in the Polkadot runtime by adding
pallet-xcm
.The configuration is mostly similar to Kusama with these differences:
This PR also adds Statemint as a trusted teleporter for DOTs.
closes #4289
closes #4309