mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 04:07:57 +00:00
5dd6a4ba47
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 <>
25 lines
832 B
Plaintext
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: []
|