From 0df68a350c36fc8974830cba3aecce9793ebbcc7 Mon Sep 17 00:00:00 2001 From: "seidroid[bot]" <257742136+seidroid[bot]@users.noreply.github.com> Date: Mon, 1 Jun 2026 01:19:18 +0000 Subject: [PATCH] docs: A new `--genesis-override` CLI flag was added to the `apply` command, allowing developers to set genesis parameters (e.g. staking unbonding time, gov voting period) when deploying a node with `--preset genesis-chain`. (sei-protocol/seictl#184) --- node/apply-command.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 node/apply-command.md diff --git a/node/apply-command.md b/node/apply-command.md new file mode 100644 index 0000000..2b54192 --- /dev/null +++ b/node/apply-command.md @@ -0,0 +1,24 @@ +## `--genesis-override` + +**Flag:** `--genesis-override =` +**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. + + \ No newline at end of file