public static RoundChangePayload readFrom(final RLPInput rlpInput) {
    rlpInput.enterList();
    final ConsensusRoundIdentifier roundIdentifier = ConsensusRoundIdentifier.readFrom(rlpInput);

    final Optional<PreparedCertificate> preparedCertificate;

    if (rlpInput.nextIsNull()) {
      rlpInput.skipNext();
      preparedCertificate = Optional.empty();
    } else {
      preparedCertificate = Optional.of(PreparedCertificate.readFrom(rlpInput));
    }
    rlpInput.leaveList();

    return new RoundChangePayload(roundIdentifier, preparedCertificate);
  }
Read from rlp input and return round change payload.

@param rlpInput the rlp input
@return the round change payload
consensus/ibft/src/main/java/org/hyperledger/besu/consensus/ibft/payload/RoundChangePayload.java