This PR adds the function QueryBlockRangeBabylonFinalized(queryBlocks []*L2Block) that returns uint64 representing the last finalized block in the block range.
This API will be used by the tryFinalize() in the OP finalizer. We found it doesn't call on each L2 block b/c onPendingSafeUpdate only triggered upon a new L1 block.
This PR adds the function
QueryBlockRangeBabylonFinalized(queryBlocks []*L2Block)
that returnsuint64
representing the last finalized block in the block range.This API will be used by the
tryFinalize()
in the OP finalizer. We found it doesn't call on each L2 block b/conPendingSafeUpdate
only triggered upon a new L1 block.