Warp sync doesn't work if the target block is the genesis #1930
Labels
I2-bug
The node fails to follow expected behavior.
I10-unconfirmed
Issue might be valid, but it's not yet known.
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
It is not possible to bootstrap a chain when all the collators are using
--sync warp
. This seems to be because warp sync doesn't work when the target block is the genesis. I found this bug when trying to sync to a parachain, but it also affects the relaychain.I see these logs in a loop: "Waiting for 3 peers to be connected" but there are 5 peers already.
Steps to reproduce
You can add more nodes (I had 6), but it doesn't seem to fix it. But if alice and bob are set to
--sync full
, the other nodes will eventually sync using warp sync, when the target block is greater than 0.The text was updated successfully, but these errors were encountered: