[Backport] Version bumps from 1.7.0 release (#3254)

This PR backports version bumps from `1.7.0` release branch and moves
related prdoc files to the appropriate folder.
This commit is contained in:
Egor_P
2024-02-09 14:41:40 +07:00
committed by GitHub
parent e53ebd8cd4
commit b2c81b5800
45 changed files with 16 additions and 16 deletions
+20
View File
@@ -0,0 +1,20 @@
title: XCMv4
doc:
- audience: Runtime Dev
description: |
A new version of the XCM format.
The main changes are:
- Removed `Multi` prefix from types
- Removed `Abstract` asset id
- `Outcome` is now a named fields struct
- Added `Reanchorable` trait, implemented for both `Location` and `Asset`
- New syntax for building `Location`s and `Junction`s using slices.
You build them like `let location = Location::new(1, [Parachain(1000), PalletInstance(50), GeneralIndex(1984)]);`
and match on them like `match location.unpack() {
(1, [Parachain(id)]) => ...
(0, Here) => ...,
(1, [_]) => ...,
}`
crates: []