2025-12-18 17:26:02 +01:00
|
|
|
# Environment Variables Reference
|
|
|
|
|
|
|
|
|
|
Complete reference of environment variables used by the testing framework, organized by category.
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## Runner Selection & Topology
|
|
|
|
|
|
|
|
|
|
Control which runner to use and the test topology:
|
|
|
|
|
|
|
|
|
|
| Variable | Default | Effect |
|
|
|
|
|
|----------|---------|--------|
|
2026-01-26 16:36:51 +01:00
|
|
|
| `LOGOS_BLOCKCHAIN_DEMO_NODES` | 1 | Number of nodes (all runners) |
|
|
|
|
|
| `LOGOS_BLOCKCHAIN_DEMO_RUN_SECS` | 60 | Run duration in seconds (all runners) |
|
|
|
|
|
| `LOCAL_DEMO_NODES` | — | Legacy: Number of nodes (host runner only) |
|
2025-12-18 17:26:02 +01:00
|
|
|
| `LOCAL_DEMO_RUN_SECS` | — | Legacy: Run duration (host runner only) |
|
2026-01-26 16:36:51 +01:00
|
|
|
| `COMPOSE_NODE_PAIRS` | — | Compose-specific topology format: "nodes" (e.g., `3`) |
|
2025-12-18 17:26:02 +01:00
|
|
|
|
|
|
|
|
**Example:**
|
|
|
|
|
|
|
|
|
|
```bash
|
2026-01-26 16:36:51 +01:00
|
|
|
# Run with 5 nodes, for 120 seconds
|
|
|
|
|
LOGOS_BLOCKCHAIN_DEMO_NODES=5 \
|
|
|
|
|
LOGOS_BLOCKCHAIN_DEMO_RUN_SECS=120 \
|
|
|
|
|
scripts/run/run-examples.sh -t 120 -n 5 host
|
2025-12-18 17:26:02 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## Node Binaries (Host Runner)
|
|
|
|
|
|
|
|
|
|
Required for host runner when not using helper scripts:
|
|
|
|
|
|
|
|
|
|
| Variable | Required | Default | Effect |
|
|
|
|
|
|----------|----------|---------|--------|
|
2026-01-26 16:36:51 +01:00
|
|
|
| `LOGOS_BLOCKCHAIN_NODE_BIN` | Yes (host) | — | Path to `logos-blockchain-node` binary |
|
|
|
|
|
| `LOGOS_BLOCKCHAIN_NODE_PATH` | No | — | Path to logos-blockchain-node git checkout (dev workflow) |
|
2025-12-18 17:26:02 +01:00
|
|
|
|
|
|
|
|
**Example:**
|
|
|
|
|
|
|
|
|
|
```bash
|
2026-01-26 16:36:51 +01:00
|
|
|
export LOGOS_BLOCKCHAIN_NODE_BIN=/path/to/logos-blockchain-node/target/release/logos-blockchain-node
|
2025-12-18 17:26:02 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## Docker Images (Compose / K8s)
|
|
|
|
|
|
|
|
|
|
Required for compose and k8s runners:
|
|
|
|
|
|
|
|
|
|
| Variable | Required | Default | Effect |
|
|
|
|
|
|----------|----------|---------|--------|
|
2026-01-26 16:36:51 +01:00
|
|
|
| `LOGOS_BLOCKCHAIN_TESTNET_IMAGE` | Yes (compose/k8s) | `logos-blockchain-testing:local` | Docker image tag for node containers |
|
|
|
|
|
| `LOGOS_BLOCKCHAIN_TESTNET_IMAGE_PULL_POLICY` | No | `IfNotPresent` (local) / `Always` (ECR) | K8s `imagePullPolicy` used by the runner |
|
|
|
|
|
| `LOGOS_BLOCKCHAIN_BINARIES_TAR` | No | — | Path to prebuilt bundle (`.tar.gz`) for image build |
|
|
|
|
|
| `LOGOS_BLOCKCHAIN_SKIP_IMAGE_BUILD` | No | 0 | Skip image rebuild (compose/k8s); assumes image already exists |
|
|
|
|
|
| `LOGOS_BLOCKCHAIN_FORCE_IMAGE_BUILD` | No | 0 | Force rebuilding the image even when the script would normally skip it (e.g. non-local k8s) |
|
2025-12-18 17:26:02 +01:00
|
|
|
|
|
|
|
|
**Example:**
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
# Using prebuilt bundle
|
2026-01-26 16:36:51 +01:00
|
|
|
export LOGOS_BLOCKCHAIN_BINARIES_TAR=.tmp/nomos-binaries-linux-v0.3.1.tar.gz
|
|
|
|
|
export LOGOS_BLOCKCHAIN_TESTNET_IMAGE=logos-blockchain-testing:local
|
2025-12-18 17:26:02 +01:00
|
|
|
scripts/build/build_test_image.sh
|
|
|
|
|
|
|
|
|
|
# Using pre-existing image (skip build)
|
2026-01-26 16:36:51 +01:00
|
|
|
export LOGOS_BLOCKCHAIN_SKIP_IMAGE_BUILD=1
|
|
|
|
|
scripts/run/run-examples.sh -t 60 -n 3 compose
|
2025-12-18 17:26:02 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-01-26 16:36:51 +01:00
|
|
|
## Circuit Assets
|
2025-12-18 17:26:02 +01:00
|
|
|
|
2026-01-26 16:36:51 +01:00
|
|
|
Circuit asset configuration used by local runs and image builds:
|
2025-12-18 17:26:02 +01:00
|
|
|
|
|
|
|
|
| Variable | Default | Effect |
|
|
|
|
|
|----------|---------|--------|
|
2026-01-26 16:36:51 +01:00
|
|
|
| `LOGOS_BLOCKCHAIN_CIRCUITS` | `~/.logos-blockchain-circuits` | Directory containing circuit assets |
|
2025-12-18 17:26:02 +01:00
|
|
|
| `VERSION` | From `versions.env` | Circuit release tag (used by helper scripts) |
|
2026-01-26 16:36:51 +01:00
|
|
|
| `LOGOS_BLOCKCHAIN_CIRCUITS_VERSION` | — | Legacy alias for `VERSION` (supported by some build scripts) |
|
|
|
|
|
| `LOGOS_BLOCKCHAIN_CIRCUITS_PLATFORM` | Auto-detected | Override circuits platform (e.g. `linux-x86_64`, `macos-aarch64`) |
|
|
|
|
|
| `LOGOS_BLOCKCHAIN_CIRCUITS_HOST_DIR_REL` | `.tmp/logos-blockchain-circuits-host` | Output dir for host circuit bundle (relative to repo root) |
|
|
|
|
|
| `LOGOS_BLOCKCHAIN_CIRCUITS_LINUX_DIR_REL` | `.tmp/logos-blockchain-circuits-linux` | Output dir for linux circuit bundle (relative to repo root) |
|
|
|
|
|
| `LOGOS_BLOCKCHAIN_CIRCUITS_NONINTERACTIVE` | 0 | Set to `1` to overwrite outputs without prompting in setup scripts |
|
|
|
|
|
| `LOGOS_BLOCKCHAIN_CIRCUITS_REBUILD_RAPIDSNARK` | 0 | Set to `1` to force rebuilding rapidsnark (host bundle only) |
|
2025-12-18 17:26:02 +01:00
|
|
|
|
|
|
|
|
**Example:**
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
# Use custom circuit assets
|
2026-01-26 16:36:51 +01:00
|
|
|
LOGOS_BLOCKCHAIN_CIRCUITS=/custom/path/to/circuits \
|
2025-12-18 17:26:02 +01:00
|
|
|
cargo run -p runner-examples --bin local_runner
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## Node Logging
|
|
|
|
|
|
|
|
|
|
Control node log output (not framework runner logs):
|
|
|
|
|
|
|
|
|
|
| Variable | Default | Effect |
|
|
|
|
|
|----------|---------|--------|
|
2026-01-26 16:36:51 +01:00
|
|
|
| `LOGOS_BLOCKCHAIN_LOG_LEVEL` | `info` | Global log level: `error`, `warn`, `info`, `debug`, `trace` |
|
|
|
|
|
| `LOGOS_BLOCKCHAIN_LOG_FILTER` | — | Fine-grained module filtering (e.g., `cryptarchia=trace`) |
|
|
|
|
|
| `LOGOS_BLOCKCHAIN_LOG_DIR` | — | Host runner: directory for per-node log files (persistent). Compose/k8s: use `cfgsync.yaml` for file logging. |
|
|
|
|
|
| `LOGOS_BLOCKCHAIN_TESTS_KEEP_LOGS` | 0 | Keep per-run temporary directories (useful for debugging/CI artifacts) |
|
|
|
|
|
| `LOGOS_BLOCKCHAIN_TESTS_TRACING` | false | Enable debug tracing preset (combine with `LOGOS_BLOCKCHAIN_LOG_DIR` unless external tracing backends configured) |
|
2025-12-18 17:26:02 +01:00
|
|
|
|
2026-01-26 16:36:51 +01:00
|
|
|
**Important:** Node logging ignores `RUST_LOG`; use `LOGOS_BLOCKCHAIN_LOG_LEVEL` and `LOGOS_BLOCKCHAIN_LOG_FILTER` for node logs.
|
2025-12-18 17:26:02 +01:00
|
|
|
|
|
|
|
|
**Example:**
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
# Debug logging to files
|
2026-01-26 16:36:51 +01:00
|
|
|
LOGOS_BLOCKCHAIN_LOG_DIR=/tmp/test-logs \
|
|
|
|
|
LOGOS_BLOCKCHAIN_LOG_LEVEL=debug \
|
|
|
|
|
LOGOS_BLOCKCHAIN_LOG_FILTER="cryptarchia=trace" \
|
2025-12-18 17:26:02 +01:00
|
|
|
cargo run -p runner-examples --bin local_runner
|
|
|
|
|
|
|
|
|
|
# Inspect logs
|
|
|
|
|
ls /tmp/test-logs/
|
2026-01-26 16:36:51 +01:00
|
|
|
# logos-blockchain-node-0.2024-12-18T14-30-00.log
|
|
|
|
|
# logos-blockchain-node-1.2024-12-18T14-30-00.log
|
2025-12-18 17:26:02 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Common filter targets:**
|
|
|
|
|
|
2026-02-09 10:28:15 +02:00
|
|
|
| Target Prefix | Subsystem |
|
|
|
|
|
|---------------------------|-----------|
|
|
|
|
|
| `lb_cryptarchia` | Consensus (Cryptarchia) |
|
|
|
|
|
| `lb_blend` | Mix network/privacy layer |
|
|
|
|
|
| `lb_chain_service` | Chain service (node APIs/state) |
|
|
|
|
|
| `lb_chain_network` | P2P networking |
|
|
|
|
|
| `lb_chain_leader_service` | Leader election |
|
2025-12-18 17:26:02 +01:00
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## Observability & Metrics
|
|
|
|
|
|
|
|
|
|
Optional observability integration:
|
|
|
|
|
|
|
|
|
|
| Variable | Default | Effect |
|
|
|
|
|
|----------|---------|--------|
|
2026-01-26 16:36:51 +01:00
|
|
|
| `LOGOS_BLOCKCHAIN_METRICS_QUERY_URL` | — | Prometheus-compatible base URL for runner to query (e.g., `http://localhost:9090`) |
|
|
|
|
|
| `LOGOS_BLOCKCHAIN_METRICS_OTLP_INGEST_URL` | — | Full OTLP HTTP ingest URL for node metrics export (e.g., `http://localhost:9090/api/v1/otlp/v1/metrics`) |
|
|
|
|
|
| `LOGOS_BLOCKCHAIN_GRAFANA_URL` | — | Grafana base URL for printing/logging (e.g., `http://localhost:3000`) |
|
|
|
|
|
| `LOGOS_BLOCKCHAIN_OTLP_ENDPOINT` | — | OTLP trace endpoint (optional) |
|
|
|
|
|
| `LOGOS_BLOCKCHAIN_OTLP_METRICS_ENDPOINT` | — | OTLP metrics endpoint (optional) |
|
2025-12-18 17:26:02 +01:00
|
|
|
|
|
|
|
|
**Example:**
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
# Enable Prometheus querying
|
2026-01-26 16:36:51 +01:00
|
|
|
export LOGOS_BLOCKCHAIN_METRICS_QUERY_URL=http://localhost:9090
|
|
|
|
|
export LOGOS_BLOCKCHAIN_METRICS_OTLP_INGEST_URL=http://localhost:9090/api/v1/otlp/v1/metrics
|
|
|
|
|
export LOGOS_BLOCKCHAIN_GRAFANA_URL=http://localhost:3000
|
2025-12-18 17:26:02 +01:00
|
|
|
|
2026-01-26 16:36:51 +01:00
|
|
|
scripts/run/run-examples.sh -t 60 -n 3 compose
|
2025-12-18 17:26:02 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## Compose Runner Specific
|
|
|
|
|
|
|
|
|
|
Variables specific to Docker Compose deployment:
|
|
|
|
|
|
|
|
|
|
| Variable | Default | Effect |
|
|
|
|
|
|----------|---------|--------|
|
|
|
|
|
| `COMPOSE_RUNNER_HOST` | `127.0.0.1` | Host address for port mappings |
|
|
|
|
|
| `COMPOSE_RUNNER_PRESERVE` | 0 | Keep containers running after test (for debugging) |
|
|
|
|
|
| `COMPOSE_RUNNER_HTTP_TIMEOUT_SECS` | — | Override HTTP readiness timeout (seconds) |
|
|
|
|
|
| `COMPOSE_RUNNER_HOST_GATEWAY` | `host.docker.internal:host-gateway` | Controls `extra_hosts` entry injected into compose (set to `disable` to omit) |
|
|
|
|
|
| `TESTNET_RUNNER_PRESERVE` | — | Alias for `COMPOSE_RUNNER_PRESERVE` |
|
|
|
|
|
|
|
|
|
|
**Example:**
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
# Keep containers after test for debugging
|
|
|
|
|
COMPOSE_RUNNER_PRESERVE=1 \
|
2026-01-26 16:36:51 +01:00
|
|
|
scripts/run/run-examples.sh -t 60 -n 3 compose
|
2025-12-18 17:26:02 +01:00
|
|
|
|
|
|
|
|
# Containers remain running
|
|
|
|
|
docker ps --filter "name=nomos-compose-"
|
|
|
|
|
docker logs <container-id>
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## K8s Runner Specific
|
|
|
|
|
|
|
|
|
|
Variables specific to Kubernetes deployment:
|
|
|
|
|
|
|
|
|
|
| Variable | Default | Effect |
|
|
|
|
|
|----------|---------|--------|
|
|
|
|
|
| `K8S_RUNNER_NAMESPACE` | Random UUID | Kubernetes namespace (pin for debugging) |
|
|
|
|
|
| `K8S_RUNNER_RELEASE` | Random UUID | Helm release name (pin for debugging) |
|
|
|
|
|
| `K8S_RUNNER_NODE_HOST` | — | NodePort host resolution for non-local clusters |
|
|
|
|
|
| `K8S_RUNNER_DEBUG` | 0 | Log Helm stdout/stderr for install commands |
|
|
|
|
|
| `K8S_RUNNER_PRESERVE` | 0 | Keep namespace/release after run (for debugging) |
|
|
|
|
|
| `K8S_RUNNER_DEPLOYMENT_TIMEOUT_SECS` | — | Override deployment readiness timeout |
|
|
|
|
|
| `K8S_RUNNER_HTTP_TIMEOUT_SECS` | — | Override HTTP readiness timeout (port-forwards) |
|
|
|
|
|
| `K8S_RUNNER_HTTP_PROBE_TIMEOUT_SECS` | — | Override HTTP readiness timeout (NodePort probes) |
|
|
|
|
|
| `K8S_RUNNER_PROMETHEUS_HTTP_TIMEOUT_SECS` | — | Override Prometheus readiness timeout |
|
|
|
|
|
| `K8S_RUNNER_PROMETHEUS_HTTP_PROBE_TIMEOUT_SECS` | — | Override Prometheus NodePort probe timeout |
|
|
|
|
|
|
|
|
|
|
**Example:**
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
# Pin namespace for debugging
|
|
|
|
|
K8S_RUNNER_NAMESPACE=nomos-test-debug \
|
|
|
|
|
K8S_RUNNER_PRESERVE=1 \
|
|
|
|
|
K8S_RUNNER_DEBUG=1 \
|
2026-01-26 16:36:51 +01:00
|
|
|
scripts/run/run-examples.sh -t 60 -n 3 k8s
|
2025-12-18 17:26:02 +01:00
|
|
|
|
|
|
|
|
# Inspect resources
|
|
|
|
|
kubectl get pods -n nomos-test-debug
|
2026-01-26 16:36:51 +01:00
|
|
|
kubectl logs -n nomos-test-debug -l nomos/logical-role=node
|
2025-12-18 17:26:02 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## Platform & Build Configuration
|
|
|
|
|
|
|
|
|
|
Platform-specific build configuration:
|
|
|
|
|
|
|
|
|
|
| Variable | Default | Effect |
|
|
|
|
|
|----------|---------|--------|
|
2026-01-26 16:36:51 +01:00
|
|
|
| `LOGOS_BLOCKCHAIN_BUNDLE_DOCKER_PLATFORM` | Host arch | Docker platform for bundle builds: `linux/arm64` or `linux/amd64` (macOS/Windows hosts) |
|
|
|
|
|
| `LOGOS_BLOCKCHAIN_BIN_PLATFORM` | — | Legacy alias for `LOGOS_BLOCKCHAIN_BUNDLE_DOCKER_PLATFORM` |
|
2025-12-18 17:26:02 +01:00
|
|
|
| `COMPOSE_CIRCUITS_PLATFORM` | Host arch | Circuits platform for image builds: `linux-aarch64` or `linux-x86_64` |
|
2026-01-26 16:36:51 +01:00
|
|
|
| `LOGOS_BLOCKCHAIN_EXTRA_FEATURES` | — | Extra cargo features to enable when building bundles (used by `scripts/build/build-bundle.sh`) |
|
2025-12-18 17:26:02 +01:00
|
|
|
|
|
|
|
|
**macOS / Apple Silicon:**
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
# Native performance (recommended for local testing)
|
2026-01-26 16:36:51 +01:00
|
|
|
export LOGOS_BLOCKCHAIN_BUNDLE_DOCKER_PLATFORM=linux/arm64
|
2025-12-18 17:26:02 +01:00
|
|
|
|
|
|
|
|
# Or target amd64 (slower via emulation)
|
2026-01-26 16:36:51 +01:00
|
|
|
export LOGOS_BLOCKCHAIN_BUNDLE_DOCKER_PLATFORM=linux/amd64
|
2025-12-18 17:26:02 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## Timeouts & Performance
|
|
|
|
|
|
|
|
|
|
Timeout and performance tuning:
|
|
|
|
|
|
|
|
|
|
| Variable | Default | Effect |
|
|
|
|
|
|----------|---------|--------|
|
|
|
|
|
| `SLOW_TEST_ENV` | false | Doubles built-in readiness timeouts (useful in CI / constrained laptops) |
|
|
|
|
|
| `TESTNET_PRINT_ENDPOINTS` | 0 | Print `TESTNET_ENDPOINTS` / `TESTNET_PPROF` lines during deploy (set automatically by `scripts/run/run-examples.sh`) |
|
|
|
|
|
|
|
|
|
|
**Example:**
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
# Increase timeouts for slow environments
|
|
|
|
|
SLOW_TEST_ENV=true \
|
2026-01-26 16:36:51 +01:00
|
|
|
scripts/run/run-examples.sh -t 120 -n 5 compose
|
2025-12-18 17:26:02 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## Node Configuration (Advanced)
|
|
|
|
|
|
2026-01-26 16:36:51 +01:00
|
|
|
Node-level configuration passed through to logos-blockchain-node:
|
2025-12-18 17:26:02 +01:00
|
|
|
|
|
|
|
|
| Variable | Default | Effect |
|
|
|
|
|
|----------|---------|--------|
|
|
|
|
|
| `CONSENSUS_SLOT_TIME` | — | Consensus slot time (seconds) |
|
|
|
|
|
| `CONSENSUS_ACTIVE_SLOT_COEFF` | — | Active slot coefficient (0.0-1.0) |
|
2026-01-26 16:36:51 +01:00
|
|
|
| `LOGOS_BLOCKCHAIN_USE_AUTONAT` | Unset | If set, use AutoNAT instead of a static loopback address for libp2p NAT settings |
|
|
|
|
|
| `LOGOS_BLOCKCHAIN_CFGSYNC_PORT` | 4400 | Port used for cfgsync service inside the stack |
|
|
|
|
|
| `LOGOS_BLOCKCHAIN_TIME_BACKEND` | `monotonic` | Select time backend (used by compose/k8s stack scripts and deployers) |
|
2025-12-18 17:26:02 +01:00
|
|
|
|
|
|
|
|
**Example:**
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
# Faster block production
|
|
|
|
|
CONSENSUS_SLOT_TIME=5 \
|
|
|
|
|
CONSENSUS_ACTIVE_SLOT_COEFF=0.9 \
|
|
|
|
|
cargo run -p runner-examples --bin local_runner
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## Framework Runner Logging (Not Node Logs)
|
|
|
|
|
|
|
|
|
|
Control framework runner process logs (uses `RUST_LOG`, not `NOMOS_*`):
|
|
|
|
|
|
|
|
|
|
| Variable | Default | Effect |
|
|
|
|
|
|----------|---------|--------|
|
|
|
|
|
| `RUST_LOG` | — | Framework runner log level (e.g., `debug`, `info`) |
|
|
|
|
|
| `RUST_BACKTRACE` | — | Enable Rust backtraces on panic (`1` or `full`) |
|
|
|
|
|
| `CARGO_TERM_COLOR` | — | Cargo output color (`always`, `never`, `auto`) |
|
|
|
|
|
|
|
|
|
|
**Example:**
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
# Debug framework runner (not nodes)
|
|
|
|
|
RUST_LOG=debug \
|
|
|
|
|
RUST_BACKTRACE=1 \
|
|
|
|
|
cargo run -p runner-examples --bin local_runner
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## Helper Script Variables
|
|
|
|
|
|
|
|
|
|
Variables used by helper scripts (`scripts/run/run-examples.sh`, etc.):
|
|
|
|
|
|
|
|
|
|
| Variable | Default | Effect |
|
|
|
|
|
|----------|---------|--------|
|
2026-01-26 16:36:51 +01:00
|
|
|
| `LOGOS_BLOCKCHAIN_NODE_REV` | From `versions.env` | logos-blockchain-node git revision to build/fetch |
|
|
|
|
|
| `LOGOS_BLOCKCHAIN_BUNDLE_VERSION` | From `versions.env` | Bundle schema version |
|
|
|
|
|
| `LOGOS_BLOCKCHAIN_IMAGE_SELECTION` | — | Internal: image selection mode set by `run-examples.sh` (`local`/`ecr`/`auto`) |
|
|
|
|
|
| `LOGOS_BLOCKCHAIN_NODE_APPLY_PATCHES` | 1 | Set to `0` to disable applying local patches when building bundles |
|
|
|
|
|
| `LOGOS_BLOCKCHAIN_NODE_PATCH_DIR` | `patches/logos-blockchain-node` | Patch directory applied to logos-blockchain-node checkout during bundle builds |
|
|
|
|
|
| `LOGOS_BLOCKCHAIN_NODE_PATCH_LEVEL` | — | Patch application level (`all` or an integer) for bundle builds |
|
2025-12-18 17:26:02 +01:00
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## Quick Reference Examples
|
|
|
|
|
|
|
|
|
|
### Minimal Host Run
|
|
|
|
|
|
|
|
|
|
```bash
|
2026-01-26 16:36:51 +01:00
|
|
|
scripts/run/run-examples.sh -t 60 -n 3 host
|
2025-12-18 17:26:02 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Debug Logging (Host)
|
|
|
|
|
|
|
|
|
|
```bash
|
2026-01-26 16:36:51 +01:00
|
|
|
LOGOS_BLOCKCHAIN_LOG_DIR=/tmp/logs \
|
|
|
|
|
LOGOS_BLOCKCHAIN_LOG_LEVEL=debug \
|
|
|
|
|
LOGOS_BLOCKCHAIN_LOG_FILTER="cryptarchia=trace" \
|
|
|
|
|
scripts/run/run-examples.sh -t 60 -n 3 host
|
2025-12-18 17:26:02 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Compose with Observability
|
|
|
|
|
|
|
|
|
|
```bash
|
2026-01-26 16:36:51 +01:00
|
|
|
LOGOS_BLOCKCHAIN_METRICS_QUERY_URL=http://localhost:9090 \
|
|
|
|
|
LOGOS_BLOCKCHAIN_GRAFANA_URL=http://localhost:3000 \
|
|
|
|
|
scripts/run/run-examples.sh -t 60 -n 3 compose
|
2025-12-18 17:26:02 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### K8s with Debug
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
K8S_RUNNER_NAMESPACE=nomos-debug \
|
|
|
|
|
K8S_RUNNER_DEBUG=1 \
|
|
|
|
|
K8S_RUNNER_PRESERVE=1 \
|
2026-01-26 16:36:51 +01:00
|
|
|
scripts/run/run-examples.sh -t 60 -n 3 k8s
|
2025-12-18 17:26:02 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### CI Environment
|
|
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
|
env:
|
|
|
|
|
RUST_BACKTRACE: 1
|
2026-01-26 16:36:51 +01:00
|
|
|
LOGOS_BLOCKCHAIN_TESTS_KEEP_LOGS: 1
|
2025-12-18 17:26:02 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## See Also
|
|
|
|
|
|
|
|
|
|
- [Prerequisites & Setup](prerequisites.md) — Required files and setup
|
|
|
|
|
- [Running Examples](running-examples.md) — How to run scenarios
|
|
|
|
|
- [Logging & Observability](logging-observability.md) — Log collection details
|
|
|
|
|
- [CI Integration](ci-integration.md) — CI-specific variables
|
|
|
|
|
- [Troubleshooting](troubleshooting.md) — Common issues with variables
|