pub fn compute_epoch(slot: u64, slots_per_epoch: u64) -> u64
Compute epoch in which a slot is contained.