pub async fn delete_l2_blocks(
        &mut self,
        last_l2_block_to_keep: L2BlockNumber,
    ) -> DalResult<()> {
        self.delete_l2_blocks_inner(Some(last_l2_block_to_keep))
            .await
    }
Deletes all L2 blocks from the storage so that the specified L2 block number is the last one left.
core/lib/dal/src/blocks_dal.rs