mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-22 20:42:13 +00:00
Tentative bugfix: Reset testnet was producing a genesis state without validators
This commit is contained in:
parent
c98426586e
commit
bf037eab5e
@ -740,7 +740,9 @@ when isMainModule:
|
||||
let initialState = get_genesis_beacon_state(
|
||||
deposits,
|
||||
uint64(times.toUnix(times.getTime()) + config.genesisOffset),
|
||||
Eth1Data(), {})
|
||||
Eth1Data(), {skipValidation})
|
||||
|
||||
doAssert initialState.validators.len > 0
|
||||
|
||||
Json.saveFile(config.outputGenesis.string, initialState, pretty = true)
|
||||
echo "Wrote ", config.outputGenesis.string
|
||||
|
Loading…
x
Reference in New Issue
Block a user