Files
pezkuwi-subxt/prdoc/1.7.0/pr_1230.prdoc
T
Egor_P b2c81b5800 [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.
2024-02-09 07:41:40 +00:00

21 lines
706 B
Plaintext

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: []