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

Update docs and enable DOT-over-XCM #4809

Merged
merged 9 commits into from
Mar 23, 2022

Conversation

gavofyork
Copy link
Member

@gavofyork gavofyork commented Jan 30, 2022

A few docs were outdated - they have been brought up to date.

This basically just enables the four transactions for doing a reserve asset transfer or teleportation of DOT to a parachain.

It disables sending XCM for now since it's useless without the destination chain supporting DescendOrigin. Expect for it to be re-enabled along with XCM v3 which will enable support for receiving messages beginning with DescendOrigin.

@github-actions github-actions bot added the A0-please_review Pull request needs code review. label Jan 30, 2022
@gavofyork gavofyork 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 Jan 31, 2022
@gavofyork gavofyork modified the milestones: v0.9.17, v0.9.18 Jan 31, 2022
type ExecuteXcmOrigin = xcm_builder::EnsureXcmOrigin<Origin, LocalOriginToLocation>;
// ...but they must match our filter, which rejects all.
type XcmExecuteFilter = Nothing;
type XcmExecuteFilter = Everything;
Copy link
Contributor

Choose a reason for hiding this comment

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

Setting this to Everything means that anyone can call execute on the XCM pallet and provide an arbitrary XCM as an extrinsic to be executed. If we're 100% confident that XCM is good to go at its current form, then there shouldn't be any issues setting it to Everything, but just making sure we're on the same page.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah, I see, this is for Kusama, definitely not a huge problem then.

@joepetrowski
Copy link
Contributor

This should also activate the UmpSink to handle messages? Otherwise assets on paras will be dropped when they think they've sent them back.

type UmpSink = ();

@joepetrowski joepetrowski mentioned this pull request Mar 4, 2022
runtime/polkadot/src/xcm_config.rs Outdated Show resolved Hide resolved
@rphmeier rphmeier merged commit a828771 into master Mar 23, 2022
@rphmeier rphmeier deleted the gav-update-docs-and-enable-dot-out branch March 23, 2022 17:42
ordian added a commit that referenced this pull request Mar 24, 2022
* master:
  Try to fix out of view statements (#5177)
  Companion for Substrate#11107 (#5197)
  paras: `include_pvf_check_statement` rt bench (#4938)
  [ci] Run short benchmarks only in PR pipelines (#5200)
  Companion for paritytech/substrate#10242 (#4862)
  [ci] Add short benchmarks to the pipeline (#5188)
  upgrade coarsetime to 0.1.22 to fix a potential panic (#5193)
  Update docs and enable DOT-over-XCM (#4809)
  enable disputes on all chains (#5182)
  companion for validator self-vote in bags (#5088)
  Extract MAX_FINALITY_LAG constant from relay_chain_selection (#5159)
@coderobe coderobe mentioned this pull request Apr 8, 2022
16 tasks
@louismerlin louismerlin 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 Oct 17, 2022
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants