mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-22 02:11:01 +00:00
Add new RPC method to get the chain type (#5576)
* Add new RPC method to get the chain type This adds a new RPC method to get the chain type of the running chain. The chain type needs to be specified in the chain spec. This should make it easier for tools/UI to display extra information without needing to rely on parsing the chain name. * Update client/rpc-api/src/system/mod.rs Co-Authored-By: Tomasz Drwięga <tomusdrw@users.noreply.github.com> * Primitive crate * Feedback Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
This commit is contained in:
@@ -27,6 +27,7 @@ sp-runtime = { version = "2.0.0-alpha.5", path = "../../primitives/runtime" }
|
||||
sp-utils = { version = "2.0.0-alpha.5", path = "../../primitives/utils" }
|
||||
sp-rpc = { version = "2.0.0-alpha.5", path = "../../primitives/rpc" }
|
||||
sp-state-machine = { version = "0.8.0-alpha.5", path = "../../primitives/state-machine" }
|
||||
sp-chain-spec = { version = "2.0.0-alpha.5", path = "../../primitives/chain-spec" }
|
||||
sc-executor = { version = "0.8.0-alpha.5", path = "../executor" }
|
||||
sc-block-builder = { version = "0.8.0-alpha.5", path = "../../client/block-builder" }
|
||||
sc-keystore = { version = "2.0.0-alpha.5", path = "../keystore" }
|
||||
|
||||
Reference in New Issue
Block a user