This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
jsonrpsee proc macros #9673
Merged
niklasad1
merged 24 commits into
dp-jsonrpsee-integration-2
from
na-jsonrpsee-proc-macros
Sep 3, 2021
Merged
jsonrpsee proc macros #9673
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
ee7f7e6
port error types to `JsonRpseeError`
niklasad1 289888f
migrate chain module to proc macro api
niklasad1 f24c30b
make it compile with proc macros
niklasad1 abb72a3
update branch
niklasad1 9017419
update branch
niklasad1 bad4062
update to jsonrpsee master
niklasad1 c3e1a07
Merge remote-tracking branch 'origin/dp-jsonrpsee-integration-2' into…
niklasad1 93372de
port system rpc
niklasad1 f54b3bb
port state rpc
niklasad1 48fa5d7
port childstate & offchain
niklasad1 e0fcdd5
frame system rpc
niklasad1 c6dcc27
frame transaction payment
niklasad1 8721729
bring back CORS hack to work with polkadot UI
niklasad1 ded670b
port babe rpc
niklasad1 549f881
port manual seal rpc
niklasad1 bbb9a11
port frame mmr rpc
niklasad1 8afce22
port frame contracts rpc
niklasad1 29482db
port finality grandpa rpc
niklasad1 75286ed
port sync state rpc
niklasad1 4471cb7
resolve a few TODO + no jsonrpc deps
niklasad1 868424c
Update bin/node/rpc-client/src/main.rs
niklasad1 03e1b20
Update bin/node/rpc-client/src/main.rs
niklasad1 e4813a1
Update bin/node/rpc-client/src/main.rs
niklasad1 ada03c0
Update bin/node/rpc-client/src/main.rs
niklasad1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
migrate chain module to proc macro api
- Loading branch information
commit 289888fedc057671329cc09b683655d39c0efb3e
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Why both client and server?
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.
It is used to mimic https://github.com/paritytech/substrate/blob/master/client/rpc-api/src/child_state/mod.rs#L25
So, these can used to generate a client or have the trait automatically implemented, such as https://github.com/paritytech/substrate/blob/master/bin/node/rpc-client/src/main.rs