SCORU,Node: Generic processing of L1 operations
Context
This MR introduces a generic way for the SCORU node to react to operations on L1 (depending on if they are included or finalized). This simplifies the code in other parts where we do not need to make these specific actions.
This also fixes the issue #3302 (closed) where one would do actions right after injection without waiting for inclusion.
This MR follows !5681 (merged) and !5690 (merged) and is a prerequisite for !5250 (merged).
Manually testing the MR
dune exec tezt/tests/main.exe -- -f sc_rollup.ml
Checklist
-
Document any change to the user interface, including configuration parameters (see node configuration) -
Provide automatic testing (see the testing guide). -
Select suitable reviewers using the Reviewersfield below. -
Select as Assigneethe next person who should take action on that MR
Edited by Alain Mebsout