Files
pezkuwi-subxt/prdoc/pr_2253.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

25 lines
832 B
Plaintext

# Schema: Parity PR Documentation Schema (prdoc)
# See doc at https://github.com/paritytech/prdoc
title: Different builder pattern constructors for XCM
doc:
- audience: Runtime Dev
description: |
The `builder()` constructor for XCM programs now only allows building messages that pay for fees,
i.e. messages that would pass the `AllowTopLevelPaidExecutionFrom` barrier.
Another constructor, `builder_unpaid()` requires an explicit `UnpaidExecution` instruction before
anything else.
For building messages without any restriction, `builder_unsafe` can be used.
This has been named like that since in general the other two should be used instead, but it's okay
to use it for teaching purposes or for experimenting.
migrations:
db: []
runtime: []
crates: []
host_functions: []