Skip to content

Commit

Permalink
docs: fix dead link for oracle config (#763)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Johnson authored Sep 19, 2024
1 parent b3832ae commit cf71615
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/validators/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Connect can be configured by both flags and environment variables.

The following values are read via environment variables:

| Key | Default | Description |
|-------------------------------------------------|------------------|----------------------------------------------------------------------------------------------------------------------------------------------------|
| Key | Default | Description |
|--------------------------------------------------|------------------|----------------------------------------------------------------------------------------------------------------------------------------------------|
| `CONNECT_CONFIG_HOST` | `"0.0.0.0"` | The address Connect will serve requests from. WARNING: changing this value requires updating the `oracle_address` in the `app.toml` configuration. |
| `CONNECT_CONFIG_PORT` | `"8080"` | The port Connect will serve requests from. WARNING: changing this value requires updating the `oracle_address` in the `app.toml` configuration. |
| `CONNECT_CONFIG_METRICS_ENABLED` | `"true"` | Enables prometheus metrics. |
Expand Down
2 changes: 1 addition & 1 deletion oracle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Responsibilities of the Oracle:

## Configuration

At a high level the oracle is configured with a `oracle.json` file that contains all providers that need to be instantiated. To read more about the configuration of `oracle.json`, please refer to the [oracle configuration documentation](config/README.md).
At a high level the oracle is configured with a `oracle.json` file that contains all providers that need to be instantiated. To read more about the configuration of `oracle.json`, please refer to the [oracle configuration documentation](../docs/validators/configuration.mdx).

Each provider is instantiated using the `PriceAPIQueryHandlerFactory`, `PriceWebSocketQueryHandlerFactory`, and `MarketMapFactory` factory functions. Think of these as the constructors for the providers.

Expand Down

0 comments on commit cf71615

Please sign in to comment.