This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Description
The documentation of NetworkWorker::on_block_imported mentions that it is mandatory to call it after importing a block. However our test_sync integration test doesn't do that.
This test is extremely intricate and consists in a bunch of components glued together like spaghettis cooked for too long and without oil. I have no idea how to fix that problem, and I'd recommend rewriting the test from scratch.
At the time of opening this issue, I'm about to introduce a performance-degrading hack in the network crate to bypass this problem. Please search for this issue number in the source code after fixing it.
EDIT: #5938