Skip to content

Commit 15dfe0d

Browse files
authored
chore: remove orphan --archiver flag usages from start invocations (#23186)
## Motivation The top-level `--archiver` flag was removed from `aztec start`, but several scripts, Helm/Terraform values, and docs still pass it. Leaving these in place would break node and prover startup once they pick up the new CLI. ## Approach Grepped the repo for bare `--archiver` (excluding nested `--archiver.<option>` flags, which are still valid) and removed every occurrence from start commands, docs, and the bot CLI handler. Also dropped the now-stale check for an `archiver` option in `start_bot.ts` and a stray comment in `aztec_start_options.ts`. ## Changes - **docker-compose.yml**: drop `--archiver` from the node entrypoint - **spartan (helm + terraform values)**: remove `--archiver` from `aztec-node`, `aztec-validator`, `aztec-prover-stack`, and the `full-node`, `rpc`, `archive`, `blob-sink` terraform values; update `aztec-node/README.md` examples and options table - **yarn-project/aztec**: drop `archiver` from the unsupported-flags check in `start_bot.ts`; remove stale comment in `aztec_start_options.ts` - **docs/docs-operate**: drop `--archiver` from the node/prover/sequencer setup, troubleshooting, and CLI reference pages; reword the reference prose to use `--archiver.blobSinkUrl` as the example Versioned snapshots under `docs/network_versioned_docs/version-v4.2.0/` are intentionally left untouched.
1 parent f0b537d commit 15dfe0d

16 files changed

Lines changed: 7 additions & 29 deletions

File tree

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ services:
5454
fi;
5555
done;
5656
57-
node /usr/src/yarn-project/aztec/dest/bin/index.js start --node --archiver
57+
node /usr/src/yarn-project/aztec/dest/bin/index.js start --node
5858
'
5959
volumes:
6060
- aztec:/var/lib/aztec

docs/docs-operate/operators/monitoring/troubleshooting.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ services:
3535
/usr/src/yarn-project/aztec/dest/bin/index.js
3636
start
3737
--node
38-
--archiver
3938
--network #release_network
4039
networks:
4140
- aztec

docs/docs-operate/operators/reference/cli-reference.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ tags:
2626
**Configuration notes:**
2727

2828
- The environment variable name corresponding to each flag is shown as $ENV_VAR on the right hand side.
29-
- If two subsystems can contain the same configuration option, only one needs to be provided. For example, `--archiver.blobSinkUrl` and `--sequencer.blobSinkUrl` point to the same value if the node is started with both the `--archiver` and `--sequencer` options.
29+
- If two subsystems can contain the same configuration option, only one needs to be provided. For example, `--archiver.blobSinkUrl` and `--sequencer.blobSinkUrl` point to the same value.
3030

3131
```bash
3232
MISC
@@ -119,9 +119,6 @@ tags:
119119

120120
ARCHIVER
121121

122-
--archiver
123-
Starts Aztec Archiver with options
124-
125122
--archiver.blobSinkUrl <value> ($BLOB_SINK_URL)
126123
The URL of the blob sink
127124

docs/docs-operate/operators/setup/running-a-node.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ services:
9696
/usr/src/yarn-project/aztec/dest/bin/index.js
9797
start
9898
--node
99-
--archiver
10099
--network #release_network
101100
networks:
102101
- aztec

docs/docs-operate/operators/setup/running-a-prover.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ services:
155155
/usr/src/yarn-project/aztec/dest/bin/index.js
156156
start
157157
--prover-node
158-
--archiver
159158
--network #release_network
160159
depends_on:
161160
prover-broker:

docs/docs-operate/operators/setup/sequencer-setup.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,6 @@ services:
410410
/usr/src/yarn-project/aztec/dest/bin/index.js
411411
start
412412
--node
413-
--archiver
414413
--sequencer
415414
--network #release_network
416415
networks:

spartan/aztec-node/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ node:
4040

4141
startCmd:
4242
- --node
43-
- --archiver
4443

4544
startupProbe:
4645
# -- Period seconds
@@ -91,7 +90,6 @@ node:
9190

9291
startCmd:
9392
- --node
94-
- --archiver
9593
- --sequencer
9694

9795
startupProbe:
@@ -144,7 +142,7 @@ service:
144142
| node.l1ConsensusUrls | [] | L1 consensus host URLs (comma-separated list) |
145143
| node.l1ConsensusHostApiKeys | [] | API keys for L1 consensus hosts |
146144
| node.l1ConsensusHostApiKeyHeaders | [] | API key headers for L1 consensus hosts |
147-
| node.startCmd | ["--node", "--archiver"] | Startup command for the node |
145+
| node.startCmd | ["--node"] | Startup command for the node |
148146
| node.remoteUrl.archiver | - | Remote URL for archiver |
149147
| node.remoteUrl.proverBroker | - | Remote URL for prover broker |
150148
| node.remoteUrl.proverCoordinationNodes | [] | Remote URLs for prover coordination nodes |

spartan/aztec-node/values.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ node:
7878

7979
startCmd:
8080
- --node
81-
- --archiver
8281

8382
image:
8483
repository: ""

spartan/aztec-prover-stack/values.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ node:
3939
4040
startCmd:
4141
- --prover-node
42-
- --archiver
4342

4443
configMap:
4544
envEnabled: true

spartan/aztec-validator/values.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ validator:
4040

4141
startCmd:
4242
- --node
43-
- --archiver
4443
- --sequencer
4544

4645
web3signerUrl: ""

0 commit comments

Comments
 (0)