Block gap assumes there is a warp sync even when there isn't any #4607
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
When node starts and there is a block gap, warp sync phase is set to
DownloadingBlocks
:polkadot-sdk/substrate/client/network/sync/src/strategy/chain_sync.rs
Lines 440 to 443 in 2d3a693
The funny thing is, this happens even if there is no warp sync params configured, meaning warp sync is not present/possible at all.
Steps to reproduce
Happens after inserting a block with higher number using
apply_block
and restarting node afterwardsThe text was updated successfully, but these errors were encountered: