DescriptioncreateSortitionHash returns $H(round||iteration||step||seed)$, but the specification states it should be $H(seed||round||step||iteration)$.
Logically speaking, the concatenation order should follow round->step->iteration, like in the specification.
Technically speaking, this does not affect correctness/security, as long as all nodes calculate the same hash.
Solutions
There are two options:
Leave the code unchanged and update the specifications accordingly
Description
createSortitionHash
returns $H(round||iteration||step||seed)$, but the specification states it should be $H(seed||round||step||iteration)$.Logically speaking, the concatenation order should follow round->step->iteration, like in the specification. Technically speaking, this does not affect correctness/security, as long as all nodes calculate the same hash.
Solutions There are two options: