Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions operator/launch-operator-service.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,15 @@ The Operator Service can be installed as a binary, via Docker, or built from sou
Pull Official Image

```bash
docker pull europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v5.1.1
docker pull europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v5.1.2
```

Alternatively, build the Docker image locally:

```bash
git clone https://github.com/stakewise/v3-operator.git
cd v3-operator
docker build --pull -t europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v5.1.1 .
docker build --pull -t europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v5.1.2 .
```

Run commands using this format:
Expand All @@ -117,7 +117,7 @@ The Operator Service can be installed as a binary, via Docker, or built from sou
docker run --rm -ti \
-u $(id -u):$(id -g) \
-v ~/.stakewise/:/data \
europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v5.1.1 \
europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v5.1.2 \
src/main.py COMMAND \
--flagA=123 \
--flagB=xyz
Expand Down
2 changes: 1 addition & 1 deletion operator/manage-validators/recover-validators.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ The command prompts for anything it needs, so all flags are optional.
| <nobr>`--mnemonic`</nobr> | Mnemonic used to generate the validator keys. Prompted if omitted |
| <nobr>`--vault`</nobr> | Address of the Vault to recover keystores for. Prompted if omitted |
| <nobr>`--per-keystore-password`</nobr> | Creates a separate password file for each keystore instead of one shared `password.txt` |
| <nobr>`--vault-first-block`</nobr> | Block the Vault was created at. Without it, `recover` scans from the Keeper's genesis block, which can take a long time |
| <nobr>`--vault-first-block`</nobr> | Block the Vault was created at. If passed, it is used as the starting point for the event scan. If not passed, the network-wide checkpoint block is used |
| <nobr>`--no-confirm`</nobr> | Skips confirmation prompts |
| <nobr>`--execution-endpoints`</nobr> | Comma-separated API endpoints for execution nodes. Prompted if omitted |
| <nobr>`--consensus-endpoints`</nobr> | Comma-separated API endpoints for consensus nodes. Prompted if omitted |
Expand Down
6 changes: 3 additions & 3 deletions operator/staking-nodes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ Your execution node must be fully synced and running. Any client that supports t

The Operator Service reads event logs from the execution client. How much history your node must keep depends on which of two modes you run it in:

- **Pruned mode** — keeps event logs from a recent network checkpoint onward. Core Operator Service functionality works in this mode.
- **Full mode** — keeps event logs from the Keeper contract genesis block onward. Required for the secondary commands that scan the full event history: [`recover`](/operator/manage-validators/recover-validators), [`validators-exit`](/operator/manage-validators/manually-exit-validators), and [`consolidate`](/operator/manage-validators/consolidate-validators).
- **Pruned mode** — keeps event logs from a recent network checkpoint onward. All Operator Service functionality works in this mode.
- **Full mode** — keeps event logs from the Keeper contract genesis block onward. Required for Operator Service versions earlier than v5.1.2.

Retain receipts and logs from at least the following blocks:

Expand All @@ -42,7 +42,7 @@ Retain receipts and logs from at least the following blocks:
Any block at or below the value in the table works. The pruned-mode values are rounded down from the actual checkpoint to leave a safety margin.

:::custom-warning[Operator Service version]
Pruned mode requires Operator Service v5.1.1 or later. Earlier versions need full mode.
Pruned mode requires Operator Service v5.1.2 or later. Earlier versions need full mode.
:::

### Configure pruning
Expand Down
2 changes: 1 addition & 1 deletion operator/start-operator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Choose the format matching your installation method:
<CommandSnippet template={`docker run --restart on-failure:10 \\
-u $(id -u):$(id -g) \\
-v ~/.stakewise/:/data \\
europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v5.1.1 \\
europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v5.1.2 \\
src/main.py start \\
--vault={{0x834F27bC8670491b75af512d943f01D5383F87Cf}} \\
--data-dir=/data \\
Expand Down
Loading