Skip to content
Closed
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
81 changes: 81 additions & 0 deletions node/configuration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# Node Configuration

Check warning on line 1 in node/configuration.md

View check run for this annotation

Mintlify / Mintlify Validation (seilabs) - vale-spellcheck

node/configuration.md#L1

Use sentence case for headings: 'Node Configuration'.

Check warning on line 1 in node/configuration.md

View workflow job for this annotation

GitHub Actions / vale

[vale] node/configuration.md#L1

[Sei.Headings] Use sentence case for headings: 'Node Configuration'.
Raw output
{"message": "[Sei.Headings] Use sentence case for headings: 'Node Configuration'.", "location": {"path": "node/configuration.md", "range": {"start": {"line": 1, "column": 3}}}, "severity": "WARNING"}

This page documents configuration options for the `apply` subcommand used to deploy and configure nodes.

<!-- TODO: expand with full apply subcommand reference -->

## `apply` subcommand

The `apply` subcommand provisions a node using a specified preset and configuration flags.

### Presets

Use `--preset` to select the node profile. Available presets include:

- `genesis-chain` — deploy a genesis node with full chain initialization
- `rpc` — deploy an RPC node

<!-- TODO: expand preset list -->

---

## Genesis Overrides (`--genesis-override`)

Check warning on line 22 in node/configuration.md

View check run for this annotation

Mintlify / Mintlify Validation (seilabs) - vale-spellcheck

node/configuration.md#L22

Use sentence case for headings: 'Genesis Overrides ( ****************** )'.

Check warning on line 22 in node/configuration.md

View workflow job for this annotation

GitHub Actions / vale

[vale] node/configuration.md#L22

[Sei.Headings] Use sentence case for headings: 'Genesis Overrides ( ****************** )'.
Raw output
{"message": "[Sei.Headings] Use sentence case for headings: 'Genesis Overrides ( ****************** )'.", "location": {"path": "node/configuration.md", "range": {"start": {"line": 22, "column": 1}}}, "severity": "WARNING"}

When deploying a node with `--preset genesis-chain`, you can use the `--genesis-override` flag to set individual genesis parameters without modifying a full genesis file.

Each override targets a dotted path within `spec.genesis.overrides`, following the structure `<module>.<field>[.<subfield>...]`.

### Syntax

```
--genesis-override <module.field[.field...]>=<value>
```

The key must contain **at least two segments** (a module name and at least one field). Single-segment keys are not accepted.

The flag is **repeatable** — you can supply multiple overrides in a single command:

```bash
appy apply \

Check warning on line 39 in node/configuration.md

View workflow job for this annotation

GitHub Actions / typos

"appy" should be "apply".
--preset genesis-chain \
--genesis-override staking.params.unbonding_time=600s \
--genesis-override gov.params.voting_period=120s
```

### Value parsing

Values are parsed as JSON where possible:

| Input | Stored as |
|---|---|
| `42` | number |
| `true` / `false` | boolean |
| `{"key":"val"}` | object |
| `600s` | string (not valid JSON) |

If the value cannot be parsed as valid JSON, it is stored as a plain string.

To force a numeric-looking value to be stored as a string, wrap it in JSON quotes:

```bash
--genesis-override staking.params.some_field='"42"'
```

### Example

Set the staking unbonding time and the governance voting period when deploying a genesis chain node:

```bash
appy apply \

Check warning on line 69 in node/configuration.md

View workflow job for this annotation

GitHub Actions / typos

"appy" should be "apply".
--preset genesis-chain \
--genesis-override staking.params.unbonding_time=600s \
--genesis-override gov.params.voting_period=86400s
```

### Restriction

`--genesis-override` is **only valid with `--preset genesis-chain`**. Using it with any other preset (such as `rpc`) will produce a validation error:

```
error: --genesis-override is only valid with --preset genesis-chain
```
Loading