mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 12:17:58 +00:00
Add RPC Builder to Substrate Node Template (#6808)
* Pulled RPC from node and populated the node-template's RPC builder with one example implementation * surpress build errror * dead_code * Fixed module usage, removed copyright, removed rpc builder for light client + some comments * added a comment for rpc extension * Update bin/node-template/node/src/rpc.rs Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com> * Update rpc.rs * fix spacing * more space to tabs * more space to tabs * Documenation nitpick * Documentation nitpick * Documentation nitpick * Documentation nitpick * Documentation nitpick * pre-format * Updated transaction payment API implemented for node template * fix space and commented code * fix long line Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com> Co-authored-by: Dan Forbes <dan@danforbes.dev>
This commit is contained in:
@@ -33,7 +33,17 @@ sc-finality-grandpa = { version = "0.8.0-rc5", path = "../../../client/finality-
|
||||
sp-finality-grandpa = { version = "2.0.0-rc5", path = "../../../primitives/finality-grandpa" }
|
||||
sc-client-api = { version = "2.0.0-rc5", path = "../../../client/api" }
|
||||
sp-runtime = { version = "2.0.0-rc5", path = "../../../primitives/runtime" }
|
||||
sc-basic-authorship = { path = "../../../client/basic-authorship", version = "0.8.0-rc5"}
|
||||
|
||||
# These dependencies are used for the node template's RPCs
|
||||
jsonrpc-core = "14.0.3"
|
||||
sc-rpc = { version = "2.0.0-rc5", path = "../../../client/rpc" }
|
||||
sp-api = { version = "2.0.0-rc5", path = "../../../primitives/api" }
|
||||
sc-rpc-api = { version = "0.8.0-rc5", path = "../../../client/rpc-api" }
|
||||
sp-blockchain = { version = "2.0.0-rc5", path = "../../../primitives/blockchain" }
|
||||
sp-block-builder = { version = "2.0.0-rc5", path = "../../../primitives/block-builder" }
|
||||
sc-basic-authorship = { version = "0.8.0-rc5", path = "../../../client/basic-authorship" }
|
||||
substrate-frame-rpc-system = { version = "2.0.0-rc5", path = "../../../utils/frame/rpc/system" }
|
||||
pallet-transaction-payment-rpc = { version = "2.0.0-rc5", path = "../../../frame/transaction-payment/rpc/" }
|
||||
|
||||
node-template-runtime = { version = "2.0.0-rc5", path = "../runtime" }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user