aligned_layer
aligned_layer copied to clipboard
feat: avoid flush queue, removing only failed batch
when flushing queue, instead of flush_queue, we could call
self.remove_proofs_from_queue(finalized_batch.clone()).await;
The effect of this is removing from the queue the proofs of the failed batch, instead of flushing the whole queue.
Note here we should also send a message to the clients whos proofs where removed.