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

17 lines
804 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
title: "XCM WeightTrader: Swap Fee Asset for Native Asset"
doc:
- audience: Runtime Dev
description: |
Implements an XCM executor `WeightTrader`, facilitating fee payments in any asset that can be exchanged for a native asset.
A few constraints need to be observed:
- `buy_weight` and `refund` operations must be atomic, as another weight trader implementation might be attempted in case of failure.
- swap credit must be utilized since there isnt an account to which an asset of some class can be deposited with a guarantee to meet the existential deposit requirement.
crates:
- name: cumulus-primitives-utility