backend: Reproduce locally with decode_signed_extensions_from_blocks

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
This commit is contained in:
Alexandru Vasile
2024-01-10 12:54:53 +02:00
parent d9169e2404
commit 2f2c29d563
+3 -3
View File
@@ -599,9 +599,9 @@ impl<T: Config + Send + Sync + 'static> Backend<T> for UnstableBackend<T> {
}
SeenBlock::Finalized(block_refs) => {
for block_ref in block_refs {
// if !seen_blocks.contains_key(&block_ref.hash()) {
// panic!("Finalized before new Finalized {:#?}\n initBlock {:#?} \nMEMLOG{:#?}\n SeenBlocks{:#?} \n Other{:#?}", block_ref.hash(), unsafe { &FIN_BLOCK }, mem_log, seen_blocks, seen_other);
// }
if !seen_blocks.contains_key(&block_ref.hash()) {
panic!("Finalized before new Finalized {:#?}\n initBlock {:#?} \nMEMLOG{:#?}\n SeenBlocks{:#?} \n Other{:#?}", block_ref.hash(), unsafe { &FIN_BLOCK }, mem_log, seen_blocks, seen_other);
}
let entry =
seen_blocks.entry(block_ref.hash()).or_insert((