smoldot
smoldot copied to clipboard
GrandPa warp sync robustness to empty responses
It is possible right now for a node to send a response that looks like { fragments: Vec::new(), is_finished: false }.
Smoldot will process it, then ask for the rest of the proof.
A node can therefore indefinitely delay the warp syncing by continuously sending empty proofs.
Seems to have been fixed a while ago in https://github.com/paritytech/smoldot/pull/820, but needs a test.