Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asset Conversion Roadmap #33

Open
joepetrowski opened this issue Jun 25, 2023 · 2 comments
Open

Asset Conversion Roadmap #33

joepetrowski opened this issue Jun 25, 2023 · 2 comments

Comments

@joepetrowski
Copy link

joepetrowski commented Jun 25, 2023

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

@muharem
Copy link

muharem commented Feb 13, 2024

Asset Conversion LPFee Should Use a Per{Something} Instead of u32

no plans so far

Add Benchmarking/Weights for Signed Extensions

no plans so far

ChargeAssetTxPayment should accept multiple instances of Fungibles (may actually be sorted with LocalAndForeignAssets).

already done

ChargeAssetTxPayment Should Handle Fee Withdrawal Better When an Account Does Not Exist in System

this now should be possible with swap credit implementation, but not planned.

ChargeWeightInFungibles Should Use Asset Conversion Instead of Default BalanceToAssetBalance

implementation is ready - paritytech/polkadot-sdk#1845
needs to be integrated into runtimes (planned with the next release)

Configure Polkadot <> Kusama Bridge to Use Asset Conversion to Buy Execution #104

should be done, when the item above is done

Allow Asset Conversion Subscriptions

We aim to have a merged (into polkadot-sdk) solution in 24Q2

[Asset Conversion] Incentives Extension

We aim to have a merged (into polkadot-sdk) solution in 24Q2

@joepetrowski
Copy link
Author

Can we update the issues?

Add Benchmarking/Weights for Signed Extensions

no plans so far

Should become possible with paritytech/polkadot-sdk#2415

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Open
Development

No branches or pull requests

2 participants