This task involves calculating the epoch index using the formula (currentSlotNumber - genesisSlotNumber) / epochLength. To enable this, we need to implement a mechanism to retrieve the genesisSlotNumber from runtime storage using the genesis slot hash.
This task involves calculating the epoch index using the formula
(currentSlotNumber - genesisSlotNumber) / epochLength
. To enable this, we need to implement a mechanism to retrieve the genesisSlotNumber from runtime storage using the genesis slot hash.