# Functions
CanProcessEpoch checks the eligibility to process epoch.
CanUpgradeToAltair returns true if the input `slot` can upgrade to Altair.
CanUpgradeToBellatrix returns true if the input `slot` can upgrade to Bellatrix fork.
CanUpgradeToCapella returns true if the input `slot` can upgrade to Capella.
CanUpgradeToDeneb returns true if the input `slot` can upgrade to Deneb.
CanUpgradeToElectra returns true if the input `slot` can upgrade to Electra.
CurrentEpoch returns the current epoch number calculated from the slot number stored in beacon state.
HigherEqualThanAltairVersionAndEpoch returns if the input state `s` has a higher version number than Altair state and input epoch `e` is higher equal than fork epoch.
NextEpoch returns the next epoch number calculated from the slot number stored in beacon state.
PrevEpoch returns the previous epoch number calculated from the slot number stored in beacon state.