Skip to content

[Pipeline] Clear pipeline on commit revert events #166

Open
@greged93

Description

@greged93

In case a batch can not be derived into ScrollPayloadAttributes for a reason that excludes network or database issues, and the batch gets reverted on the L1, the node needs to clear the batch from the pipeline, or we risk blocking the pipeline by constantly repushing the batch in the pipeline.

// retry polling the same batch.
this.batch_queue.push_front(batch_info);
let fut = this.handle_next_batch().expect("Pushed batch info into queue");
this.pipeline_futures.push_front(fut);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions