[XCM] add generic location to account converter that also works with external ecosystems#7313
Merged
x3c41a merged 31 commits intoparitytech:masterfrom Mar 5, 2025
Merged
Conversation
Contributor
Author
|
Please review @acatangiu |
acatangiu
reviewed
Jan 27, 2025
Contributor
Author
|
@acatangiu I'm still a bit confused but I tried following your explanation. |
acatangiu
reviewed
Feb 12, 2025
Contributor
acatangiu
left a comment
There was a problem hiding this comment.
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 <adrian@parity.io>
Co-authored-by: Adrian Catangiu <adrian@parity.io>
Co-authored-by: Adrian Catangiu <adrian@parity.io>
Co-authored-by: Adrian Catangiu <adrian@parity.io>
Contributor
Author
|
Can you help review this please @acatangiu |
acatangiu
reviewed
Feb 19, 2025
Contributor
acatangiu
left a comment
There was a problem hiding this comment.
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.
cumulus/parachains/runtimes/assets/asset-hub-westend/src/xcm_config.rs
Outdated
Show resolved
Hide resolved
Co-authored-by: Adrian Catangiu <adrian@parity.io>
Contributor
|
@x3c41a can you please help add the required tests here? |
raymondkfcheung
approved these changes
Mar 5, 2025
Merged
via the queue into
paritytech:master
with commit Mar 5, 2025
1dbaeba
247 of 254 checks passed
ordian
added a commit
that referenced
this pull request
Mar 6, 2025
* master: pallet-scheduler: Put back postponed tasks into the agenda (#7790) ci: update credentials for command-backport (#7798) [XCM] add generic location to account converter that also works with external ecosystems (#7313) [AHM] Make more stuff public (#7802) Support adding extra request-response protocols to the node (#7708) notifications/tests: Fix tests to avoid overflow on adding duration to instant (#7793) pallet revive: rpc build script should not panic (#7786) pallet-bridge-relayers - migrate benchmarks to v2 (#7531)
|
Created backport PR for
Please cherry-pick the changes locally and resolve any conflicts. git fetch origin backport-7313-to-stable2503
git worktree add --checkout .worktree/backport-7313-to-stable2503 backport-7313-to-stable2503
cd .worktree/backport-7313-to-stable2503
git reset --hard HEAD^
git cherry-pick -x 1dbaeba9044ef491847a8204da98cd9e74534cdb
git push --force-with-lease |
acatangiu
added a commit
that referenced
this pull request
Mar 26, 2025
…external ecosystems (#7313) 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` and `EthereumLocationsConverterFor`) while maintaining backward compatibility. Fixes #7129 Polkadot address: 121HJWZtD13GJQPD82oEj3gSeHqsRYm1mFgRALu4L96kfPD1 --------- Co-authored-by: Adrian Catangiu <adrian@parity.io> Co-authored-by: ndk <ndk@parity.io>
EgorPopelyaev
pushed a commit
that referenced
this pull request
Mar 26, 2025
Backport #7313 into `stable2503` from Nathy-bajo. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Nathaniel Bajo <73991674+Nathy-bajo@users.noreply.github.com> Co-authored-by: Adrian Catangiu <adrian@parity.io> Co-authored-by: ndk <ndk@parity.io>
vgeddes
pushed a commit
to vgeddes/polkadot-sdk
that referenced
this pull request
Mar 27, 2025
Backport paritytech#7313 into `stable2503` from Nathy-bajo. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Nathaniel Bajo <73991674+Nathy-bajo@users.noreply.github.com> Co-authored-by: Adrian Catangiu <adrian@parity.io> Co-authored-by: ndk <ndk@parity.io> (cherry picked from commit 16658b1)
7 tasks
This was referenced Jul 16, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I added a new
ExternalConsensusLocationsConverterForstruct to handle external global consensus locations and their child locations.This struct extends the functionality of existing converters (
GlobalConsensusParachainConvertsForandEthereumLocationsConverterFor) while maintaining backward compatibility.Fixes #7129
Polkadot address: 121HJWZtD13GJQPD82oEj3gSeHqsRYm1mFgRALu4L96kfPD1