diff --git a/beacon_chain/beacon_node.nim b/beacon_chain/beacon_node.nim index 07867dc25..622c591a2 100644 --- a/beacon_chain/beacon_node.nim +++ b/beacon_chain/beacon_node.nim @@ -869,6 +869,10 @@ when isMainModule: Json.saveFile(config.outputGenesis.string, initialState, pretty = true) echo "Wrote ", config.outputGenesis.string + let sszGenesis = config.outputGenesis.string.changeFileExt "ssz" + SSZ.saveFile(sszGenesis, initialState) + echo "Wrote ", sszGenesis + var bootstrapAddress = getPersistenBootstrapAddr( config, parseIpAddress(config.bootstrapAddress), Port config.bootstrapPort)