Skip to content
Unverified Commit 50cd5023 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

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: default avatarTomasz Drwięga <[email protected]>

* Primitive crate

* Feedback

Co-authored-by: default avatarTomasz Drwięga <[email protected]>
parent 25bdec1b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment