Skip to content

proto/zk_reveal: add new partial reveal proof constructor to the SCORU reveal_proof type

Context

We add a new constructor to Sc_rollup_proof_repr.reveal_proof to hold the partial reveal proofs and we verify these proofs in the arith PVM. Resolves #5525.

Manually testing the MR

dune exec src/proto_alpha/lib_protocol/test/integration/operations/main.exe -- --file test_sc_rollup.ml --title "alpha: sc rollup (Invalid partial reveal proof can be refuted)"

dune exec src/proto_alpha/lib_protocol/test/integration/operations/main.exe -- --file test_sc_rollup.ml --title "alpha: sc rollup (Invalid partial reveal proof index can be refuted)"

Checklist

  • Document the interface of any function added or modified (see the coding guidelines)
  • Document any change to the user interface, including configuration parameters (see node configuration)
  • Provide automatic testing (see the testing guide).
  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR
Edited by Julien Coolen

Merge request reports