Skip to content
Open
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 ansible/roles/zeam/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@
{{ zeam_docker_image }}
{{ zeam_global_flags }}
node
--custom_genesis /config
--validator_config /config
--custom-genesis /config
--validator-config /config
--data-dir /data
--node-id {{ node_name }}
--node-key /config/{{ node_name }}.key
--metrics_enable
--metrics-enable
--api-port {{ zeam_api_port }}
--metrics-port {{ zeam_metrics_port }}
{{ '--is-aggregator' if (zeam_is_aggregator | default('false')) == 'true' else '' }}
Expand Down
10 changes: 5 additions & 5 deletions client-cmds/zeam-cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# setup where lean-quickstart is a submodule folder in zeam repo
# update the path to your binary here if you want to use binary
# Metrics enabled by default
metrics_flag="--metrics_enable"
metrics_flag="--metrics-enable"

# Optional global zeam CLI flags before `node` (e.g. --console-log-level debug).
# Default empty: blockblaz/zeam:devnet3 and older binaries do not support top-level log flags.
Expand All @@ -30,8 +30,8 @@ if [ -n "${checkpoint_sync_url:-}" ]; then
fi

node_binary="$scriptDir/../zig-out/bin/zeam $zeam_global_flags node \
--custom_genesis $configDir \
--validator_config $validatorConfig \
--custom-genesis $configDir \
--validator-config $validatorConfig \
--data-dir $dataDir/$item \
--node-id $item --node-key $configDir/$item.key \
$metrics_flag \
Expand All @@ -42,8 +42,8 @@ node_binary="$scriptDir/../zig-out/bin/zeam $zeam_global_flags node \
$checkpoint_sync_flag"

node_docker="--security-opt seccomp=unconfined blockblaz/zeam:devnet3 $zeam_global_flags node \
--custom_genesis /config \
--validator_config $validatorConfig \
--custom-genesis /config \
--validator-config $validatorConfig \
--data-dir /data \
--node-id $item --node-key /config/$item.key \
$metrics_flag \
Expand Down
2 changes: 1 addition & 1 deletion docs/adding-a-new-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ node_setup="docker"
|---|---|
| `--node-id <name>` | Identifies the node in logs and config lookups |
| `--node-key <path>` | Path to the P2P libp2p private key file |
| `--genesis` / `--custom_genesis` / `--network` | Path to `config.yaml` (or directory containing it) |
| `--genesis` / `--custom-genesis` / `--network` | Path to `config.yaml` (or directory containing it) |
| `--validators` / `--validator-registry-path` | Path to `validators.yaml` (index assignments) |
| `--bootnodes` | Path to `nodes.yaml` (ENRs for peer discovery) |
| `--metrics-port <port>` | Prometheus metrics endpoint |
Expand Down