chore: rm custom chainspec parser (#8998)

This commit is contained in:
Matthias Seitz
2024-06-20 20:44:31 +02:00
committed by GitHub
parent d213c1eadf
commit 27d26ac10d
2 changed files with 2 additions and 32 deletions

View File

@ -3,7 +3,7 @@
use crate::{
args::{
get_secret_key,
utils::{chain_help, chain_spec_value_parser, hash_or_num_value_parser, SUPPORTED_CHAINS},
utils::{chain_help, genesis_value_parser, hash_or_num_value_parser, SUPPORTED_CHAINS},
DatabaseArgs, DiscoveryArgs, NetworkArgs,
},
utils::get_single_header,
@ -40,7 +40,7 @@ pub struct Command {
value_name = "CHAIN_OR_PATH",
long_help = chain_help(),
default_value = SUPPORTED_CHAINS[0],
value_parser = chain_spec_value_parser
value_parser = genesis_value_parser
)]
chain: Arc<ChainSpec>,