diff --git a/templates/config.toml.j2 b/templates/config.toml.j2 index aec8846..0d8d914 100644 --- a/templates/config.toml.j2 +++ b/templates/config.toml.j2 @@ -16,11 +16,12 @@ required-blocks=[{{besu_required_blocks|map('to_json')|join(',')}}] target-gas-limit="{{ besu_target_gas_limit }}" {% endif %} -{% if besu_network.lower() in ["mainnet", "rinkeby", "goerli", "ropsten", "classic", "mordor", "kotti", "dev"] %} -network="{{besu_network}}" -{% else %} +{% if besu_genesis_path is defined and besu_genesis_path != "" %} genesis-file="{{ besu_genesis_path }}" +{% else %} +network="{{besu_network}}" {% endif %} + min-gas-price={{ besu_min_gas }} sync-mode="{{besu_sync_mode}}" host-whitelist=[{{besu_host_whitelist|map('to_json')|join(',')}}]