Files
pezkuwi-subxt/prdoc/pr_2107.prdoc
T
Chevdor 5dd6a4ba47 Fix PRdoc that have been previously drafted with older schema (#2623)
Several PRs started introducing `prdoc` files before the schema was
final.
This PR fixes those former prdoc to ensure that pass the check and
comply with the current prdoc schema.

---------

Co-authored-by: command-bot <>
2023-12-05 18:29:13 +02:00

27 lines
521 B
Plaintext

# Schema: Parity PR Documentation Schema (prdoc)
# See doc at https://github.com/paritytech/prdoc
title: Add a builder pattern to create XCM programs
doc:
- audience: Runtime Dev
description: |
XCMs can now be built using a builder pattern like so:
```
Xcm::builder()
.withdraw_asset(assets)
.buy_execution(fees, weight_limit)
.deposit_asset(assets, beneficiary)
.build();
```
migrations:
db: []
runtime: []
crates:
- name: xcm
host_functions: []