message: Introducing new variant VoteError::RoundExpLengthChangedWithinRound
diff: @@ -62,6 +62,8 @@ pub(crate) enum VoteError {
  InstanceId,
  #[error("The signature is invalid.")]
  Signature,
  + #[error("The round length exponent has somehow changed within a round.")]
  + RoundExpLengthChangedWithinRound,
  #[error("The round length exponent is less than the minimum allowed by the chain-spec.")]
  RoundExpLengthLessThanMinimum,
  #[error("The round length exponent is greater than the maximum allowed by the chain-spec.")]
  @@ -533,7 +535,7 @@ impl<C: Context> State<C> {
  // greater of the two exponents, a round boundary must be between the votes.
  let max_re = prev_vote.round_exp.max(wvote.round_exp);
  if prev_vote.timestamp >> max_re == timestamp >> max_re {
  - return Err(VoteError::RoundExpLengthLessThanMinimum);
  + return Err(VoteError::RoundExpLengthChangedWithinRound);
  }
  }
  // There can be at most two votes per round: proposal/confirmation and witness.
  