class IbftProtocolSchedule {

  public static ProtocolSchedule create(
      final GenesisConfigOptions config,
      final PrivacyParameters privacyParameters,
      final boolean isRevertReasonEnabled) {

    return new ProtocolScheduleBuilder(
            config,
            DEFAULT_CHAIN_ID,
            builder -> applyIbftChanges(config.getIbft2ConfigOptions(), builder),
            privacyParameters,
            isRevertReasonEnabled)
        .createProtocolSchedule();
  }

}