smoldot icon indicating copy to clipboard operation
smoldot copied to clipboard

GrandPa warp sync robustness to empty responses

Open tomaka opened this issue 4 years ago • 1 comments

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.

tomaka avatar Apr 06 '21 17:04 tomaka

Seems to have been fixed a while ago in https://github.com/paritytech/smoldot/pull/820, but needs a test.

tomaka avatar Jan 26 '22 16:01 tomaka