Import blocks with bad justification (#1977)
* init version * chore: improve code * fix test * fix: log error resulting of bad justification * fix: add test to check for disconnected peer
Showing
- substrate/core/consensus/common/src/block_import.rs 3 additions, 0 deletionssubstrate/core/consensus/common/src/block_import.rs
- substrate/core/consensus/common/src/import_queue.rs 24 additions, 10 deletionssubstrate/core/consensus/common/src/import_queue.rs
- substrate/core/finality-grandpa/src/import.rs 6 additions, 2 deletionssubstrate/core/finality-grandpa/src/import.rs
- substrate/core/finality-grandpa/src/tests.rs 44 additions, 1 deletionsubstrate/core/finality-grandpa/src/tests.rs
- substrate/core/network/src/test/block_import.rs 1 addition, 1 deletionsubstrate/core/network/src/test/block_import.rs
Please register or sign in to comment