-
Notifications
You must be signed in to change notification settings - Fork 378
Conversation
|
…nstances (#2187) * AssetsApi with MultiLocation for Westmint + assets-common * AssetsApi with MultiLocation for Statemine/t * typo
There's definitely overlap with #2148 . I think 2148 should simplify some of this when it lands, but I don't think I have any objections to this PR as it stands. All roads seem to lead to AssetId being a multilocation. |
Is it possible that |
yes, agree, but maybe these two should be merged before #2148: at least at #2167 - I have tests and working AssetTransactor with multiple instance:
because there is a issue with |
yes, it is not possible: https://github.com/paritytech/polkadot/blob/master/xcm/xcm-executor/src/traits/conversion.rs#L32-L47, |
bot rebase |
Rebased |
bot rebase |
Rebased |
Some context: Actual status of this companion:
@kianenigma suggested here that it should be new api, xcm-based, and should be able to collect all MultiAssets from runtime (actually this new @shawntabrizi mentioned here some "XCM Query RPC", so if we just move this yes, it is missing:
@KiChjang mentioned that there will be "XCM fungibles retreat ", so this is pretty good topic for that @joepetrowski @kianenigma @shawntabrizi
|
I have discussed a bit with @kianenigma - the tentative plan now is that we merge these runtime RPCs as a short-term solution for better UI/UX development. But there will be someone joining soon who can work full time on a more holistic runtime interface for the long term. So I think we can proceed with this PR (but still need to address the above comment about making this part of Polkadot-XCM). |
ok, cool, thank you, |
Please keep the runtime api here in this repository. It makes no sense to have them in Polkadot, especially if this will be some intermediate solution. People are also completely free to just copy this code, this isn't really complicated and there is also not that much code attached to this. |
thank you, makes sense, if we get one more approve here, I can close that polkadot/xcm PR (unless anybody really wants to put it to the polkadot/xcm) |
Waiting for commit status. |
This pull request has been mentioned on Polkadot Forum. There might be relevant details there: https://forum.polkadot.network/t/polkadot-release-analysis-v0-9-40/2468/1 |
paritytech/substrate#13352