mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-10 04:01:51 +00:00
Update Validator RPC and cache building
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use clap::ArgMatches;
|
||||
use bincode;
|
||||
use bls::Keypair;
|
||||
use clap::ArgMatches;
|
||||
use slog::{debug, error, info};
|
||||
use std::fs;
|
||||
use std::fs::File;
|
||||
@@ -67,6 +67,7 @@ impl Config {
|
||||
config.spec = match spec_str {
|
||||
"foundation" => ChainSpec::foundation(),
|
||||
"few_validators" => ChainSpec::few_validators(),
|
||||
"lighthouse_testnet" => ChainSpec::lighthouse_testnet(),
|
||||
// Should be impossible due to clap's `possible_values(..)` function.
|
||||
_ => unreachable!(),
|
||||
};
|
||||
|
||||
@@ -43,8 +43,8 @@ fn main() {
|
||||
.short("s")
|
||||
.help("Configuration of Beacon Chain")
|
||||
.takes_value(true)
|
||||
.possible_values(&["foundation", "few_validators"])
|
||||
.default_value("foundation"),
|
||||
.possible_values(&["foundation", "few_validators", "lighthouse_testnet"])
|
||||
.default_value("lighthouse_testnet"),
|
||||
)
|
||||
.get_matches();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user