Skip to content

Fix inconsistency in the voting period starting position

Context

Addresses #1151 (closed).

When loading from Genesis, start voting periods one level earlier so that they have the same starting point relative to a cycle as when loading from Edo, namely the last block of a cycle.

Checklist

  • N/A Document the interface of any function added or modified
  • Document any change to the user interface
  • Provide automatic testing: a new Tezt is provided
  • N/A For new features and bug fixes, add an item in the appropriate changelog
  • Select suitable reviewers using the Reviewers field below.

Merge request reports