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

Handle xcm version for xc assets more generically. #274

Open
TarikGul opened this issue Sep 11, 2023 · 0 comments
Open

Handle xcm version for xc assets more generically. #274

TarikGul opened this issue Sep 11, 2023 · 0 comments
Labels
enhancement New feature or request P2 - Medium Medium Priority

Comments

@TarikGul
Copy link
Member

TarikGul commented Sep 11, 2023

For example we currently call the xcAssets xcm field with v1 directly as that is the only field available within the registry.

Ex: https://github.com/paritytech/asset-transfer-api/blob/main/src/createXcmTypes/ParaToSystem.ts#L507

We should generalize this so we don't have to hardcode anything and when v2 is added we wont need to update it everytime.

@TarikGul TarikGul added enhancement New feature or request P2 - Medium Medium Priority labels Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P2 - Medium Medium Priority
Projects
None yet
Development

No branches or pull requests

1 participant