-
Notifications
You must be signed in to change notification settings - Fork 800
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
[XCM] add generic location to account converter for locations in external ecosystems #7129
Comments
Working on this @acatangiu |
Ok, let me know if you need any help 👍 |
Hi @acatangiu I tried attempting this. |
Ideally we want a single new convertor that can replace these 3 convertors in a fully backwards compatible way. Meaning any AccountId->Location conversion currently covered by these 3 will also be covered by the new one and provide the exact same output/conversion. Example tests here that can be enhanced to ensure backwards compatibility. On top of covering the existing set of Locations as the 3 convertors mentioned above, it should also cover external global consensus locations. For example, One way is to create a new tuple that starts with existing converters and ends with a new one for the new set of covered locations:
(also because |
We need a location to account converter that can be used by any parachain in Polkadot/Kusama and it can convert any location from an external
GlobalConsensus
.We basically want a converter that encompasses GlobalConsensusConvertsFor and GlobalConsensusParachainConvertsFor, but also enhances them with DescribeFamily-like support.
The implementation is simply a concatenation of them.
The text was updated successfully, but these errors were encountered: