Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Conversation

@tomusdrw
Copy link
Contributor

This PR introduces a meta call to list all available RPC methods. This will allow the UI to display only the calls that are actually available.
While this wasn't really an issue before, now that we allow for runtime-specific RPCs (#3563, #3109), the supported set may vary.

CC @jacogr

@tomusdrw tomusdrw added A0-please_review Pull request needs code review. M6-rpcapi labels Sep 13, 2019
@tomusdrw
Copy link
Contributor Author

After speaking with @jacogr we've decided to update the format to have at least some simplistic versioning, so that we can easily update it in the future.
One of the ideas would be to support versioned RPC methods, so then the meta call would return method versions as well.

@gavofyork gavofyork merged commit 6d48cce into master Sep 13, 2019
@gavofyork gavofyork deleted the td-rpc-methods branch September 13, 2019 19:19
svyatonik pushed a commit that referenced this pull request Sep 17, 2019
* Add meta rpc_methods call.

* Sort methods.

* Bump runtime.

* Change format a bit to support versioning.
Demi-Marie pushed a commit to Demi-Marie/substrate that referenced this pull request Sep 17, 2019
* Add meta rpc_methods call.

* Sort methods.

* Bump runtime.

* Change format a bit to support versioning.
en pushed a commit to en/substrate that referenced this pull request Sep 24, 2019
* Add meta rpc_methods call.

* Sort methods.

* Bump runtime.

* Change format a bit to support versioning.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A0-please_review Pull request needs code review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants