Hotfix: disable the bootstrap node connectivity check
This used to behave properly before the rebase, but currently it forces the bootstrap node to exit, because it ends up being launched with an ENR list telling it to connect to itself. The root cause will be investigated in a follow-up PR.
This commit is contained in:
parent
48c2c5df38
commit
052a6ac3bc
|
@ -231,9 +231,10 @@ when networkBackend in [libp2p, libp2pDaemon]:
|
||||||
node.addKnownPeer bootstrapNode
|
node.addKnownPeer bootstrapNode
|
||||||
await node.start()
|
await node.start()
|
||||||
|
|
||||||
|
when false:
|
||||||
await sleepAsync(10.seconds)
|
await sleepAsync(10.seconds)
|
||||||
if bootstrapEnrs.len > 0 and libp2p_successful_dials.value == 0:
|
if libp2p_successful_dials.value == 0:
|
||||||
fatal "Failed to connect to any bootstrap node. Quitting"
|
fatal "Failed to connect to any bootstrap node. Quitting", bootstrapEnrs
|
||||||
quit 1
|
quit 1
|
||||||
|
|
||||||
proc saveConnectionAddressFile*(node: Eth2Node, filename: string) =
|
proc saveConnectionAddressFile*(node: Eth2Node, filename: string) =
|
||||||
|
|
Loading…
Reference in New Issue