Skip to content

Commit 5df128f

Browse files
authored
chore(docs): applies publisher count fixes to versioned docs (#19260)
Applies #19257 to versioned docs
2 parents a719c0d + 6c1f644 commit 5df128f

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

docs/network_versioned_docs/version-v2.1.4/setup/sequencer_management.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ aztec validator-keys new \
127127
- Example: `--count 5` generates 5 validator identities with sequential addresses
128128
- All identities are derived from the same mnemonic using different derivation paths
129129
- Useful for operators running multiple sequencer identities or delegated staking providers
130+
`--publisher-count` Number of publisher accounts per validator (default 1)
130131

131132

132133
**This command creates two JSON files:**
@@ -139,7 +140,7 @@ Where `N` is an auto-incrementing number (e.g., `key1.json`, `key2.json`, etc.)
139140
- Automatically generates a mnemonic for key derivation (or provide your own with `--mnemonic`)
140141
- Creates an ETH key (for your sequencer identifier) and BLS key (for signing)
141142
- Computes BLS public keys (G1 and G2) and proof of possession
142-
- Outputs your attester address and BLS public key to the console
143+
- Outputs your attester address, publisher address and BLS public keys to the console
143144

144145
**Example output (single validator):**
145146
```
@@ -256,9 +257,9 @@ Your sequencer needs ETH to pay for gas when submitting blocks to L1. Fund the a
256257

257258
```bash
258259
# Get your attester address (this will be your publisher if no separate publisher is configured)
259-
jq -r '.validators[0].attester.eth' aztec-sequencer/keys/keystore.json
260+
jq -r '.[0].attester' ~/.aztec/keystore/keyN_staker_output.json
260261

261-
# If you have a separate publisher configured:
262+
# If you have a separate publisher configured: (Note this returns the publisher private key)
262263
jq -r '.validators[0].publisher[0]' aztec-sequencer/keys/keystore.json
263264
```
264265

docs/network_versioned_docs/version-v2.1.9-ignition/setup/sequencer_management.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ id: sequencer_management
33
sidebar_position: 1
44
title: Running a Sequencer
55
description: Learn how to manage your sequencer on the Aztec network, including registration, keystore configuration, stake management, and status monitoring.
6-
references: ["yarn-project/node-keystore/src/config.ts"]
76
---
87

98
## Overview
@@ -121,13 +120,14 @@ aztec validator-keys new \
121120
- `--fee-recipient`: Set to all zeros (not currently used by the protocol)
122121
- `--staker-output`: Generate the public keystore for the staking dashboard
123122
- `--gse-address`: The GSE (Governance Staking Escrow) contract address (`0xa92ecFD0E70c9cd5E5cd76c50Af0F7Da93567a4f` for mainnet)
124-
- `--l1-rpc-urls`: Your Ethereum L1 RPC endpoint
125-
- Set `ETH_RPC` environment variable, or replace `$ETH_RPC` with your RPC URL (e.g., `https://mainnet.infura.io/v3/YOUR_API_KEY`)
123+
- `--l1-rpc-urls`: Your Ethereum mainnet RPC endpoint
124+
- Set `ETH_RPC` environment variable, or replace `$ETH_RPC` with your Ethereum mainnet RPC URL (e.g., `https://mainnet.infura.io/v3/YOUR_API_KEY`)
126125
- `--count`: Number of validator identities to generate (default: 1)
127126
- Use this to generate multiple attester identities in a single keystore
128127
- Example: `--count 5` generates 5 validator identities with sequential addresses
129128
- All identities are derived from the same mnemonic using different derivation paths
130129
- Useful for operators running multiple sequencer identities or delegated staking providers
130+
- `--publisher-count` Number of publisher accounts per validator (default 0)
131131

132132

133133
**This command creates two JSON files:**
@@ -140,7 +140,7 @@ Where `N` is an auto-incrementing number (e.g., `key1.json`, `key2.json`, etc.)
140140
- Automatically generates a mnemonic for key derivation (or provide your own with `--mnemonic`)
141141
- Creates an ETH key (for your sequencer identifier) and BLS key (for signing)
142142
- Computes BLS public keys (G1 and G2) and proof of possession
143-
- Outputs your attester address and BLS public key to the console
143+
- Outputs your attester address, publisher address and BLS public keys to the console
144144

145145
**Example output (single validator):**
146146
```
@@ -257,9 +257,9 @@ Your sequencer needs ETH to pay for gas when submitting blocks to L1. Fund the a
257257

258258
```bash
259259
# Get your attester address (this will be your publisher if no separate publisher is configured)
260-
jq -r '.validators[0].attester.eth' aztec-sequencer/keys/keystore.json
260+
jq -r '.[0].attester' ~/.aztec/keystore/keyN_staker_output.json
261261

262-
# If you have a separate publisher configured:
262+
# If you have a separate publisher configured: (Note this returns the publisher private key)
263263
jq -r '.validators[0].publisher[0]' aztec-sequencer/keys/keystore.json
264264
```
265265

@@ -285,8 +285,8 @@ Add the following to your `.env` file:
285285
DATA_DIRECTORY=./data
286286
KEY_STORE_DIRECTORY=./keys
287287
LOG_LEVEL=info
288-
ETHEREUM_HOSTS=[your L1 execution endpoint, or a comma separated list if you have multiple]
289-
L1_CONSENSUS_HOST_URLS=[your L1 consensus endpoint, or a comma separated list if you have multiple]
288+
ETHEREUM_HOSTS=[your Ethereum mainnet execution endpoint, or a comma separated list if you have multiple]
289+
L1_CONSENSUS_HOST_URLS=[your Ethereum mainnet consensus endpoint, or a comma separated list if you have multiple]
290290
P2P_IP=[your external IP address]
291291
P2P_PORT=40400
292292
AZTEC_PORT=8080

0 commit comments

Comments
 (0)