Ignore file-exists error.
This commit is contained in:
parent
cce88c9923
commit
efd56ebe37
@ -17,7 +17,7 @@ use validator_harness::ValidatorHarness;
|
|||||||
fn main() {
|
fn main() {
|
||||||
let validator_file_path = keypairs_path();
|
let validator_file_path = keypairs_path();
|
||||||
|
|
||||||
fs::create_dir(validator_file_path.parent().unwrap()).unwrap();
|
let _ = fs::create_dir(validator_file_path.parent().unwrap());
|
||||||
|
|
||||||
let matches = App::new("Lighthouse Test Harness Runner")
|
let matches = App::new("Lighthouse Test Harness Runner")
|
||||||
.version("0.0.1")
|
.version("0.0.1")
|
||||||
|
@ -25,10 +25,10 @@ pub struct TestingBeaconStateBuilder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl TestingBeaconStateBuilder {
|
impl TestingBeaconStateBuilder {
|
||||||
/// Attempts to load validators from a file in the `CARGO_MANIFEST_DIR`. If the file is
|
/// Attempts to load validators from a file in `$HOME/.lighthouse/keypairs.raw_keypairs`. If
|
||||||
/// unavailable, it generates the keys at runtime.
|
/// the file is unavailable, it generates the keys at runtime.
|
||||||
///
|
///
|
||||||
/// If the `CARGO_MANIFEST_DIR` environment variable is not set, the local directory is used.
|
/// If the `$HOME` environment variable is not set, the local directory is used.
|
||||||
///
|
///
|
||||||
/// See the `Self::from_keypairs_file` method for more info.
|
/// See the `Self::from_keypairs_file` method for more info.
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user