This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
The test_sync integration test doesn't call on_block_imported #6033
Labels
I3-bug
The node fails to follow expected behavior.
The documentation of
NetworkWorker::on_block_imported
mentions that it is mandatory to call it after importing a block. However ourtest_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
The text was updated successfully, but these errors were encountered: