Scoru: harden the levels processed in a commitment
If you post a commitment at level x, you must not execute the inputs at level x, you need to stop at the last input of x - 1. At least its what is enforced in the proto.
The rollup-node apparently does not respect this behavior. Next actions:
- Modify
Sc_rollup_proof_repr.cut_at_levelto include the inputs at levelx - Test in an proto integration test that a honest players wins the game if the opponent process
x-1orx+1levels - Test in the rollup-node that the commitment includes the correct level (e.g., by looking inside the arith pvm state of a commitment state)