Remove classic, kotti, mordor, expanse (#52)

This commit is contained in:
adria0.eth
2020-09-22 13:45:38 +02:00
committed by GitHub
parent ae312bcb01
commit 698fa6e8f6
11 changed files with 13 additions and 28311 deletions

View File

@@ -248,7 +248,7 @@ usage! {
ARG arg_chain: (String) = "foundation", or |c: &Config| c.parity.as_ref()?.chain.clone(),
"--chain=[CHAIN]",
"Specify the blockchain type. CHAIN may be either a JSON chain specification file or ethereum, classic, poacore, xdai, volta, ewc, musicoin, ellaism, mix, callisto, morden, mordor, ropsten, kovan, rinkeby, goerli, kotti, poasokol, testnet, or dev.",
"Specify the blockchain type. CHAIN may be either a JSON chain specification file or ethereum, poacore, xdai, volta, ewc, musicoin, ellaism, mix, callisto, morden, ropsten, kovan, rinkeby, goerli, poasokol, testnet, or dev.",
ARG arg_keys_path: (String) = "$BASE/keys", or |c: &Config| c.parity.as_ref()?.keys_path.clone(),
"--keys-path=[PATH]",
@@ -1160,14 +1160,14 @@ mod tests {
// given
let mut config = Config::default();
let mut operating = Operating::default();
operating.chain = Some("mordor".into());
operating.chain = Some("goerli".into());
config.parity = Some(operating);
// when
let args = Args::parse_with_config(&["parity"], config).unwrap();
// then
assert_eq!(args.arg_chain, "mordor".to_owned());
assert_eq!(args.arg_chain, "goerli".to_owned());
}
#[test]
@@ -1175,7 +1175,7 @@ mod tests {
// given
let mut config = Config::default();
let mut operating = Operating::default();
operating.chain = Some("mordor".into());
operating.chain = Some("goerli".into());
config.parity = Some(operating);
// when