SCORU/Node: Protocol agnostic rollup node
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:
- The RPC server has to be restarted on protocol change (for now).
- The other protocol specific rollup nodes (and daemons) are untouched and still exist (for now, then will be replaced by symlink and deprecated).
- 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