mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-11 23:04:26 +00:00
51aef34be7
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.