mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-12 22:46:59 +00:00
The sync committee period used to be a plain `uint64`. With the light client sync relying more heavily on them, it makes sense to introduce a proper type for them, similar to how they are already used for `Slot` and `Epoch`. This introduces such a `SyncCommitteePeriod` type. Furthermore, some usage code dealing with those periods is cleaned up.
Tests based on scenarios generated from the consensus spec.