Skip to content

Rollup node: archive and full history modes

Alain Mebsout requested to merge alain@functori@rn-history-modes into master

Context

This MR introduces the "archive" history mode for the rollup node (the default being "full"). In archive mode, all data about the rollup is kept, the GC is never triggered. In full, only data starting at the LCC is kept.

It is possible to change an archive rollup node into a full node but not the other way around.

Depends on !10452 (merged).

Manually testing the MR

dune exec tezt/tests/main.exe -- -f sc_rollup.ml gc

Merge request reports