File tree 1 file changed +12
-12
lines changed
1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -287,6 +287,18 @@ impl SlotsProcessor<ReqwestTransport> {
287
287
let canonical_block_path =
288
288
canonical_block_path. into_iter ( ) . rev ( ) . collect :: < Vec < _ > > ( ) ;
289
289
290
+ let forwarded_blocks = canonical_block_path
291
+ . iter ( )
292
+ . map ( |block| block. execution_block_hash )
293
+ . collect :: < Vec < _ > > ( ) ;
294
+
295
+ self . context
296
+ . blobscan_client ( )
297
+ . handle_reorg ( rewinded_blocks. clone ( ) , forwarded_blocks. clone ( ) )
298
+ . await ?;
299
+
300
+ info ! ( rewinded_blocks = ?rewinded_blocks, forwarded_blocks = ?forwarded_blocks, "Reorg handled!" ) ;
301
+
290
302
let canonical_block_headers: Vec < BlockHeader > = canonical_block_path
291
303
. iter ( )
292
304
. map ( |block| block. into ( ) )
@@ -302,18 +314,6 @@ impl SlotsProcessor<ReqwestTransport> {
302
314
}
303
315
}
304
316
305
- let forwarded_blocks = canonical_block_path
306
- . iter ( )
307
- . map ( |block| block. execution_block_hash )
308
- . collect :: < Vec < _ > > ( ) ;
309
-
310
- self . context
311
- . blobscan_client ( )
312
- . handle_reorg ( rewinded_blocks. clone ( ) , forwarded_blocks. clone ( ) )
313
- . await ?;
314
-
315
- info ! ( rewinded_blocks = ?rewinded_blocks, forwarded_blocks = ?forwarded_blocks, "Reorg handled!" ) ;
316
-
317
317
return Ok ( ( ) ) ;
318
318
}
319
319
You can’t perform that action at this time.
0 commit comments