File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -270,12 +270,17 @@ where
270
270
271
271
println ! ( "cycle-tracker-report-start: block-execution" ) ;
272
272
let mut block_executor = executor. new_executor ( cursor. l2_safe_head_header ( ) . clone ( ) ) ;
273
- let header = match block_executor. execute_payload ( attributes. clone ( ) ) {
273
+
274
+ println ! ( "cycle-tracker-report-start: block-execution" ) ;
275
+ let res = block_executor. execute_payload ( attributes. clone ( ) ) ;
276
+ println ! ( "cycle-tracker-report-end: block-execution" ) ;
277
+ let header = match res {
274
278
Ok ( header) => header,
275
279
Err ( e) => {
276
280
error ! ( target: "client" , "Failed to execute L2 block: {}" , e) ;
277
281
278
282
if cfg. is_holocene_active ( attributes. payload_attributes . timestamp ) {
283
+ println ! ( "cycle-tracker-report-start: block-execution" ) ;
279
284
// Retry with a deposit-only block.
280
285
warn ! ( target: "client" , "Flushing current channel and retrying deposit only block" ) ;
281
286
@@ -294,7 +299,9 @@ where
294
299
295
300
// Retry the execution.
296
301
block_executor = executor. new_executor ( cursor. l2_safe_head_header ( ) . clone ( ) ) ;
297
- match block_executor. execute_payload ( attributes. clone ( ) ) {
302
+ let res = block_executor. execute_payload ( attributes. clone ( ) ) ;
303
+ println ! ( "cycle-tracker-report-end: block-execution" ) ;
304
+ match res {
298
305
Ok ( header) => header,
299
306
Err ( e) => {
300
307
error ! (
@@ -310,7 +317,6 @@ where
310
317
}
311
318
}
312
319
} ;
313
- println ! ( "cycle-tracker-report-end: block-execution" ) ;
314
320
315
321
// Construct the block.
316
322
let block = OpBlock {
You can’t perform that action at this time.
0 commit comments