File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
crates/apollo_l1_provider/src Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -327,10 +327,16 @@ impl L1Provider {
327327 ) ;
328328 } else {
329329 info ! (
330- "Provider received a block_height ({height}) that is higher than the \
330+ "Provider received a block_height ({height}) that is different than the \
331331 current height ({}), starting catch-up process.",
332332 self . current_height
333333 ) ;
334+ // TODO(guyn): in case block_height is lower than current_height, should we
335+ // still go to catchup? Perhaps it is better to return an
336+ // error and let the batcher keep going without the Provider?
337+ // Do we need to check that the blocks getting committed are consistent with the
338+ // provider records? Can we just accept the block without an
339+ // error if we do that check?
334340 self . start_catching_up ( height) ;
335341 }
336342 Err ( err)
You can’t perform that action at this time.
0 commit comments