Allow starting from SSZ genesis state

This commit is contained in:
Paul Hauner
2019-09-02 15:07:32 +10:00
parent 6c50758bdf
commit 11a1505784
3 changed files with 27 additions and 1 deletions

View File

@@ -138,6 +138,15 @@ where
);
BeaconChainBuilder::yaml_state(file, spec.clone(), log.clone())?
}
BeaconChainStartMethod::Ssz { file } => {
info!(
log,
"Starting beacon chain";
"file" => format!("{:?}", file),
"method" => "ssz"
);
BeaconChainBuilder::ssz_state(file, spec.clone(), log.clone())?
}
BeaconChainStartMethod::HttpBootstrap { server, port } => {
info!(
log,