self.epoch is Uint8 and underlying type is u8. Subtract 1 will underflow.
Probably need to check other places too because our typescript ssz doesn't check for underflow and typescript doesn't have concept of unsigned int
Originally posted by @ensi321 in #17 (comment)