-
Notifications
You must be signed in to change notification settings - Fork 825
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 that also works with external ecosystems #7313
base: master
Are you sure you want to change the base?
Conversation
Please review @acatangiu |
@acatangiu I'm still a bit confused but I tried following your explanation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, you are on the right track
cumulus/parachains/runtimes/assets/asset-hub-westend/src/xcm_config.rs
Outdated
Show resolved
Hide resolved
…onfig.rs Co-authored-by: Adrian Catangiu <[email protected]>
Co-authored-by: Adrian Catangiu <[email protected]>
Co-authored-by: Adrian Catangiu <[email protected]>
Co-authored-by: Adrian Catangiu <[email protected]>
Can you help review this please @acatangiu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Now you need to add tests.
You can extend this test with more conversions.
Please also add explicit checks to the test that verify the new ExternalConsensusLocationsConverterFor
converts locations previously covered by GlobalConsensusParachainConvertsFor
and EthereumLocationsConverterFor
with the same results.
Co-authored-by: Adrian Catangiu <[email protected]>
Attempts to resolve #7129 (comment)
I added a new
ExternalConsensusLocationsConverterFor
struct to handle external global consensus locations and their child locations.This struct extends the functionality of existing converters (
GlobalConsensusParachainConvertsFor
andEthereumLocationsConverterFor
) while maintaining backward compatibility.Polkadot address: 121HJWZtD13GJQPD82oEj3gSeHqsRYm1mFgRALu4L96kfPD1