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

Runtime API for LocationToAccountId Conversion #4298

Open
joepetrowski opened this issue Apr 25, 2024 · 0 comments
Open

Runtime API for LocationToAccountId Conversion #4298

joepetrowski opened this issue Apr 25, 2024 · 0 comments
Assignees
Labels
T4-runtime_API This PR/Issue is related to runtime APIs. T6-XCM This PR/Issue is related to XCM.

Comments

@joepetrowski
Copy link
Contributor

We use this type to convert locations in the system to local AccountIds on a chain. Quite often we want to do this conversion in applications or just for debugging, so it would be nice to expose an API to query how a chain will convert a location. Examples:

  • Recent case with Phala and sibling vs. Relay sovereign account
  • In this referendum, the beneficiary was specified as (1, PalletInstance(18)) as it is more expressive to show that you are transferring the funds to the control of a pallet in the system and not some random account. But it's difficult to actually find this account now.
@joepetrowski joepetrowski added T6-XCM This PR/Issue is related to XCM. T4-runtime_API This PR/Issue is related to runtime APIs. labels Apr 25, 2024
@bkontur bkontur self-assigned this May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T4-runtime_API This PR/Issue is related to runtime APIs. T6-XCM This PR/Issue is related to XCM.
Projects
None yet
Development

No branches or pull requests

2 participants