@Override
  protected ProtocolSchedule createProtocolSchedule() {
    final NavigableSet<ForkSpec<ProtocolSchedule>> protocolScheduleSpecs =
        besuControllerBuilderSchedule.entrySet().stream()
            .map(e -> new ForkSpec<>(e.getKey(), e.getValue().createProtocolSchedule()))
            .collect(Collectors.toCollection(() -> new TreeSet<>(ForkSpec.COMPARATOR)));
    final Optional<BigInteger> chainId = genesisConfigOptions.getChainId();
    return combinedProtocolScheduleFactory.apply(protocolScheduleSpecs, chainId);
  }
Instantiates a new Consensus schedule besu controller builder. Visible for testing.

@param besuControllerBuilderSchedule the besu controller builder schedule
@param combinedProtocolScheduleFactory the combined protocol schedule factory
app/src/main/java/org/hyperledger/besu/controller/ConsensusScheduleBesuControllerBuilder.java