private String parseConfigToLog(final QbftConfigOptions configOptions) {
    if (configOptions.getValidatorContractAddress().isPresent()) {
      return String.format(
          "contract (address: %s)", configOptions.getValidatorContractAddress().get());
    } else {
      return "blockheader";
    }
  }
Log transition change.

@param parentHeader the parent header
consensus/qbft/src/main/java/org/hyperledger/besu/consensus/qbft/validator/ValidatorModeTransitionLogger.java