# Functions
CreateForkDigest creates a fork digest from a genesis time and genesis validators root, utilizing the current slot to determine the active fork version in the node.
Fork given a target epoch, returns the active fork version during this epoch.
ForkDigestFromEpoch retrieves the fork digest from the current schedule determined by the provided epoch.
IsForkNextEpoch checks if an allotted fork is in the following epoch.
LastForkEpoch returns the last valid fork epoch that exists in our fork schedule.
NewOrderedSchedule Converts fork version maps into a list of Version+Epoch+Name values, ordered by Epoch from lowest to highest.
NextForkData retrieves the next fork data according to the provided current epoch.
RetrieveForkDataFromDigest performs the inverse, where it tries to determine the fork version and epoch from a provided digest by looping through our current fork schedule.
SortedForkVersions sorts the provided fork schedule in ascending order by epoch.
# Variables
ErrNoPreviousVersion indicates that a version prior to the given version could not be found, because the given version is the first one in the list.
ErrVersionNotFound indicates the config package couldn't determine the version for an epoch using the fork schedule.
# Structs
ForkScheduleEntry is a Version+Epoch tuple for sorted storage in an OrderedSchedule.
# Type aliases
OrderedSchedule provides a type that can be used to sort the fork schedule and find the Version the chain should be at for a given epoch (via VersionForEpoch) or name (via VersionForName).