pub(crate) fn epoch_matches_height<T: NodeType>( proposal: &Proposal<T>, epoch_height: u64, ) -> Result<(), MalformedProposal>
The proposal’s epoch must be the one its block number falls in.