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

Expose the rpc client in Client #267

Merged
merged 2 commits into from May 21, 2021

Conversation

liuchengxu
Copy link
Contributor

This makes the life of the downstream user easier.

With Client, we can only access the public methods exposed in it
but that does not cover all the RPC interfaces provided by the chain.
Therefore, the user of this library has to build another RpcClient for
the uncovered RPC interfaces, which can be unnecessary.

When we build a `Client` for a substrate chain, we can only access the
methods exposed in `Client` which does not cover all the RPC interfaces
in the chain, it's not feasible to request the methods like `chain_getKeys`
with `Client` only. The downstream user of this library has to build another
`RpcClient` for the uncovered RPC interfaces, which can be unneccessary.
@cla-bot-2021
Copy link

cla-bot-2021 bot commented May 11, 2021

User @liuchengxu, please sign the CLA here.

@liuchengxu
Copy link
Contributor Author

Ping @ascjones

@ascjones ascjones merged commit cef6d69 into paritytech:master May 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants