Skip to content

SCORU: Add refutation game logic in rollup node

Context

This MR introduces the refutation logic in the rollup node.

It also includes:

  • several bugfixes and minor improvements found along the way ;
  • a loser mode in the rollup node to introduce intended failures at strategic points ;
  • an end-to-end scenario to check that refutation game punishes dishonest nodes.

Fixes #2115 (closed)

Manually testing the MR

dune exec tezt/tests/main.exe -- --file sc_rollup.ml refutation

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 Yann Regis-Gianas

Merge request reports