This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Add XCM pallet and config to Polkadot runtime#4313
Merged
Conversation
KiChjang
reviewed
Nov 17, 2021
apopiak
reviewed
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>,); |
gavofyork
approved these changes
Nov 22, 2021
apopiak
approved these changes
Nov 22, 2021
xlc
reviewed
Nov 22, 2021
| "beefy-primitives/std", | ||
| "pallet-mmr-primitives/std", | ||
| "frame-election-provider-support/std", | ||
| "pallet-xcm/std", |
Contributor
There was a problem hiding this comment.
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>
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>
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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