Function reth::args::utils::chain_value_parser

pub fn chain_value_parser(s: &str) -> Result<Arc<ChainSpec>, Report>
Expand description

Clap value parser for [ChainSpec]s.

The value parser matches either a known chain, the path to a json file, or a json formatted string in-memory. The json needs to be a Genesis struct.