Skip to content

Scoru: update protocol constants

Valentin Chaboche requested to merge vch9@scoru@update-constants into master

Context

Closes #4445 (closed)

In this merge request:

  • SCORU is enabled on mainnet
  • Challenge windows in blocks is updated to be 2 weeks: 4 * 60 * 24 * 14 = 80640
  • Commitment period is updated to be every 15 minutes (this commitment could be dropped)
  • Max lookahead in blocks becomes a month, see the commit for more details.
  • Max active outbox levels is updated to be 2 weeks (as it follows challenge_window_in_blocks)
  • Timeout period is updated to be 1 week.

The rest is left untouched.

Manually testing the MR

Let's see what the tests say.

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

Merge request reports