pub fn epoch_number(slot: Slot, slots_per_epoch: u32) -> ScEpochNumber
Returns the epoch number for slot given slots_per_epoch
slot
slots_per_epoch