mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 16:55:46 +00:00
Use schlesi as default testnet (#1108)
* Use schlesi as default testnet * Add schlesi dir to gitignore
This commit is contained in:
@@ -23,3 +23,4 @@ futures = "0.1.25"
|
||||
validator_client = { "path" = "../validator_client" }
|
||||
account_manager = { "path" = "../account_manager" }
|
||||
clap_utils = { path = "../eth2/utils/clap_utils" }
|
||||
eth2_testnet_config = { path = "../eth2/utils/eth2_testnet_config" }
|
||||
|
||||
@@ -6,6 +6,7 @@ use clap::{App, Arg, ArgMatches};
|
||||
use clap_utils;
|
||||
use env_logger::{Builder, Env};
|
||||
use environment::EnvironmentBuilder;
|
||||
use eth2_testnet_config::HARDCODED_TESTNET;
|
||||
use slog::{crit, info, warn};
|
||||
use std::path::PathBuf;
|
||||
use std::process::exit;
|
||||
@@ -156,6 +157,14 @@ fn run<E: EthSpec>(
|
||||
"Ethereum 2.0 is pre-release. This software is experimental."
|
||||
);
|
||||
|
||||
if !matches.is_present("testnet-dir") {
|
||||
info!(
|
||||
log,
|
||||
"Using default testnet";
|
||||
"default" => HARDCODED_TESTNET
|
||||
)
|
||||
}
|
||||
|
||||
// Note: the current code technically allows for starting a beacon node _and_ a validator
|
||||
// client at the same time.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user