Allow starting testnet from JSON state

This commit is contained in:
Paul Hauner
2019-09-02 15:58:53 +10:00
parent ba22d28026
commit 70f4052b2e
6 changed files with 25 additions and 2 deletions

View File

@@ -186,6 +186,7 @@ fn process_testnet_subcommand(
let start_method = match format {
"yaml" => BeaconChainStartMethod::Yaml { file },
"ssz" => BeaconChainStartMethod::Ssz { file },
"json" => BeaconChainStartMethod::Json { file },
other => return Err(format!("Unknown genesis file format: {}", other)),
};