Rollup node: Cement Commitments
Goal: the rollup node should be equipped with the following functionalities:
-
1. Being able to fetch the last cemented commitment level for a node (MR: !5070 (merged)) -
2. Avoid publishing commitments if they are are at a level below or equal to the last cemented commitment (MR: !5186 (merged)) -
3. Fetch protocol constants to establish when to build and when to cement commitments (MR: !5212 (merged)) -
4. Check whether it has a commitment that should be cemented (enough levels passed + no dispute) check on dispute not strictly necessary, the cementation can fail in case of a disputed commitment (MRs: !5305 (merged) and !5314 (merged)) -
5. Send the operation to cement a commitment to the layer 1 node. (MR: !5314 (merged))
- Depends on: #2109 (closed)
- Relates to: #2869 (closed)
- Required for: #2115 (closed)
Edited by Andrea Cerone