A commitment can be cemented only after sc_rollup_challenge_window_in_block
levels have passed since when the commitment was originally published.
In order for the rollup node to determine whether a commitment can be cemented, it will need to know the level when
the commitment was originally published. This MR tweaks the Sc_rollup_publish
manager operation to return this information when a commitment is published by the rollup node (This is fine as we require a rollup node to publish a commitment before cementing it, since the staker of the rollup node will need to be staked on the commitment to be cemented).
Related: #2878 (closed)
Unit tests:
dune exec src/proto_alpha/lib_protocol/test/unit/main.exe \
-- test "^\[Unit\] Sc_rollup_storage.ml$"
docs/protocols/alpha.rst
for the protocol and the environment, CHANGES.rst
at the root of the repository for everything else).Reviewers
field below.Assignee
the next person who should take action on that MR