public RoundChange createRoundChange(
      final ConsensusRoundIdentifier roundIdentifier,
      final Optional<PreparedRoundArtifacts> preparedRoundArtifacts) {

    final RoundChangePayload payload =
        new RoundChangePayload(
            roundIdentifier,
            preparedRoundArtifacts.map(PreparedRoundArtifacts::getPreparedCertificate));
    return new RoundChange(
        createSignedMessage(payload), preparedRoundArtifacts.map(PreparedRoundArtifacts::getBlock));
  }
Create round change.

@param roundIdentifier the round identifier
@param preparedRoundArtifacts the prepared round artifacts
@return the round change
consensus/ibft/src/main/java/org/hyperledger/besu/consensus/ibft/payload/MessageFactory.java