Skip to content

SCORU/Node: Protocol agnostic rollup node

Alain Mebsout requested to merge alain@functori@single-rollup-node-j into master

Context

This is the first version of the protocol agnostic rollup node. It can survive protocol migrations (and catch up on them).

This MR introduces a notion of "protocol plugin" for the rollup node, and moves the daemon outside the protocol directories.

Caveats:

  1. The RPC server has to be restarted on protocol change (for now).
  2. The other protocol specific rollup nodes (and daemons) are untouched and still exist (for now, then will be replaced by symlink and deprecated).
  3. The rollup client has not been moved yet.

Fixes #4552 (closed).

Manually testing the MR

One can ensure that the rollup node can catch up on protocol migrations with

dune exec tezt/tests/main.exe -- -f sc_rollup.ml migration catchup
Edited by Alain Mebsout

Merge request reports