#!/usr/bin/env bash

set -euo pipefail

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

TARGET_SCRIPT="$SCRIPT_DIR/generate-genesis-proper.sh"

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

exec "$TARGET_SCRIPT" "$@"
