-
Notifications
You must be signed in to change notification settings - Fork 584
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] runtime api for LocationToAccount conversions #4857
Conversation
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!
should we merge xcm-runtime-api and xcm-fee-payment-runtime-api to the one module xcm-runtime-api ?
that sounds good hygiene to me, makes sense to have a structure like:
xcm-runtime-api
| mod conversions
| mod dry_run
| mod fees
Co-authored-by: Bastian Köcher <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
cumulus/parachains/runtimes/collectives/collectives-westend/src/lib.rs
Outdated
Show resolved
Hide resolved
…c/lib.rs Co-authored-by: Bastian Köcher <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
The CI pipeline was cancelled due to failure one of the required jobs. |
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.
🚀
Closes: #4298
This PR also merges
xcm-fee-payment-runtime-api
module to thexcm-runtime-api
.TODO
convert
toconvert_location
and add new oneconvert_account
(opposite direction)LocationToAccountApi::convert_location
runtime API polkadot-js/api#5917Open questions
xcm-runtime-api
andxcm-fee-payment-runtime-api
to the one modulexcm-runtime-api
?Usage
Input:
location: VersionedLocation
Output: