Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions docs/how-to/configure/use-config-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,37 @@
# logging
log-include-validator-duties-enabled: true
```

## Stable and experimental options

Teku has two kinds of options: stable and experimental.
The same rules apply whether you set an option on the command line, as an environment variable, or in the configuration file.

### Stable options

Stable options are the options listed in the [command line reference](../../reference/cli/index.md).
They don't change or get removed without a deprecation notice:

1. A release announces the upcoming change as a breaking change in the [release notes](https://github.com/Consensys-Incorporated/teku/releases).
1. The change happens no earlier than the next release.
Sometimes Teku keeps a deprecated option for longer.

Check the release notes before you upgrade so you can update your configuration in time.

### Experimental options

Experimental options start with `--X` on the command line (for example, `--Xexample-option`), or with `X` in the configuration file.
They enable features that are still in development or are meant for testing and debugging.

:::warning

Don't use experimental options unless you know exactly what they do and accept the risk.

Check warning on line 94 in docs/how-to/configure/use-config-file.md

View workflow job for this annotation

GitHub Actions / Spelling

[vale] reported by reviewdog 🐶 [write-good.Adverbs] 'exactly' can weaken meaning Raw Output: {"message": "[write-good.Adverbs] 'exactly' can weaken meaning", "location": {"path": "docs/how-to/configure/use-config-file.md", "range": {"start": {"line": 94, "column": 48}}}, "severity": "WARNING"}

- They aren't documented in the command line reference.
- They can change, change behavior, or be removed in any release, without a deprecation notice.
- Teku can't start if your configuration includes an experimental option that a later release removed.

:::

When an experimental feature is ready, Teku promotes it to a stable option and documents it in the command line reference.
If you use experimental options, review your configuration against the release notes on every upgrade.
Loading