The Vision
Introduced in Statemint Update.
The primary goal of Asset Conversion is to close some vulnerabilities discovered by SR Labs that relate to using fixed balance conversion between DOT and other assets, even when they are sufficient. The number one priority for this feature is to enable fee payment in any asset such that the fee handler (i.e. the thing that sends fees to collators/treasury/burn/etc.) only receives the native asset (DOT).
Much of the initial work on this was done in paritytech/substrate#12984 and paritytech/substrate#14340. However, there are still many things to address.
The Plan
Related
The Vision
Introduced in Statemint Update.
The primary goal of Asset Conversion is to close some vulnerabilities discovered by SR Labs that relate to using fixed balance conversion between DOT and other assets, even when they are
sufficient. The number one priority for this feature is to enable fee payment in any asset such that the fee handler (i.e. the thing that sends fees to collators/treasury/burn/etc.) only receives the native asset (DOT).Much of the initial work on this was done in paritytech/substrate#12984 and paritytech/substrate#14340. However, there are still many things to address.
The Plan
LPFeeShould Use aPer{Something}Instead ofu32polkadot-sdk#88ChargeAssetTxPaymentshould accept multiple instances ofFungibles(may actually be sorted with LocalAndForeignAssets).ChargeAssetTxPaymentShould Handle Fee Withdrawal Better When an Account Does Not Exist inSystempolkadot-sdk#86ChargeWeightInFungiblesShould Use Asset Conversion Instead of DefaultBalanceToAssetBalancepolkadot-sdk#105Related