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
24 changes: 24 additions & 0 deletions node/apply-command.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## `--genesis-override`

**Flag:** `--genesis-override <module.field[.field...]>=<value>`
**Type:** string (repeatable)
**Valid with:** `--preset genesis-chain` only

Overrides genesis parameters when deploying a node with `--preset genesis-chain`. Keys use dotted Cosmos module paths; values are parsed as JSON when valid (numbers, booleans, objects, arrays, quoted strings), or stored as raw strings otherwise.

```bash
seid apply \
--preset genesis-chain \
--genesis-override staking.params.unbonding_time=600s \
--genesis-override gov.params.voting_period=300s
```

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

```bash
--genesis-override foo.bar='"42"'
```

> **Note:** Using `--genesis-override` with any preset other than `genesis-chain` returns an error.

<!-- TODO: expand with full list of supported module paths and link to genesis config reference -->
Loading