public GenesisConfigOptions getConfigOptions() {
    final ObjectNode config = loader.getConfig();
    // are there any overrides to apply?
    if (this.overrides == null) {
      return JsonGenesisConfigOptions.fromJsonObject(config);
    }
    // otherwise apply overrides
    Map<String, String> overridesRef = this.overrides;

    // if baseFeePerGas has been explicitly configured, pass it as an override:
    final var optBaseFee = getBaseFeePerGas();
    if (optBaseFee.isPresent()) {
      // streams and maps cannot handle null values.
      overridesRef = new HashMap<>(this.overrides);
      overridesRef.put("baseFeePerGas", optBaseFee.get().toShortHexString());
    }

    return JsonGenesisConfigOptions.fromJsonObjectWithOverrides(config, overridesRef);
  }
Gets config options, including any overrides.

@return the config options
config/src/main/java/org/hyperledger/besu/config/GenesisConfig.java