Skip to content

Conversation

@frisitano
Copy link
Collaborator

Overview

Previously, we would wait for an L1 block finalization event before triggering batches to be processed by the derivation pipeline. This resulted in an issue with historical sync as it accumulates a large number of batch commits in the database and then emits them all at once, resulting in a large memory footprint. This PR modifies the logic to emit batches to the derivation pipeline upon a batch finalization event if the batch finalizaton event is already finalized.

@frisitano frisitano merged commit 325202e into main Sep 8, 2025
15 of 16 checks passed
@frisitano frisitano deleted the feat/check-finalized-block-number-for-batches branch September 8, 2025 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants