#!/usr/bin/env bash

set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$SCRIPT_DIR/../lib/init.sh"
PROJECT_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"

log_warn "scripts/deployment/generate-genesis-with-validators.sh is now a compatibility wrapper."
log_warn "Forwarding to the canonical QBFT generator: ./scripts/generate-genesis-proper.sh ${1:-4}"

exec "$PROJECT_ROOT/scripts/generate-genesis-proper.sh" "$@"
