mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-20 23:15:42 +00:00
[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:
@@ -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: []
|
||||
Reference in New Issue
Block a user