-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Include runtime API defs into metadata #11648
Comments
cc @ascjones This should be added to the |
Given that we're pushing more people to use state Call on the grounds that runtime api calls are on-chain upgradable (unlike rpc calls), we really do need to include them in the metadata. It's currently not a great dev experience that people code them up and then don't see them in the polkadot-js when they run it against their new chain. |
I agree. However, the same is true for RPCs. So it doesn't make it worse at least. |
Yeah, you also only see available rpc calls, but that is all. You don't see parameters that you need to pass and that you get back. |
No but RPCs were never on chain upgradable so this is very much an
awesomeness unlock.
…On Thu, 21 Jul 2022 at 16:29, Alexander Theißen ***@***.***> wrote:
I agree. However, the same is true for RPCs. So it doesn't make it worse
at least.
—
Reply to this email directly, view it on GitHub
<#11648 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGEJCFUAT7G5XMKYMD6753VVFUELANCNFSM5YRS5S6Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
addressed in #13302 |
The PR which added RuntimeAPI support for the metadata Stabilization PR for the Metadata V15 (features added to the V15 included in the PR description for more details): |
Context: polkadot-js/api#4930
This will help client to query the available runtime APIs and able to invoke them with correct data.
The text was updated successfully, but these errors were encountered: