Attach all local validators before starting the networking
This commit is contained in:
parent
6c31b3f01c
commit
302cef5e90
|
@ -245,7 +245,7 @@ proc init*(T: type BeaconNode, conf: BeaconNodeConf): Future[BeaconNode] {.async
|
||||||
onBeaconBlock(res, signedBlock)
|
onBeaconBlock(res, signedBlock)
|
||||||
)
|
)
|
||||||
|
|
||||||
traceAsyncErrors res.addLocalValidators()
|
await res.addLocalValidators()
|
||||||
|
|
||||||
# This merely configures the BeaconSync
|
# This merely configures the BeaconSync
|
||||||
# The traffic will be started when we join the network.
|
# The traffic will be started when we join the network.
|
||||||
|
|
|
@ -137,7 +137,7 @@ if [ ! -f "${SNAPSHOT_FILE}" ]; then
|
||||||
--output-bootstrap-file="${NETWORK_BOOTSTRAP_FILE}" \
|
--output-bootstrap-file="${NETWORK_BOOTSTRAP_FILE}" \
|
||||||
--bootstrap-address=127.0.0.1 \
|
--bootstrap-address=127.0.0.1 \
|
||||||
--bootstrap-port=$(( BASE_P2P_PORT + BOOTSTRAP_NODE )) \
|
--bootstrap-port=$(( BASE_P2P_PORT + BOOTSTRAP_NODE )) \
|
||||||
--genesis-offset=15 # Delay in seconds
|
--genesis-offset=30 # Delay in seconds
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue