Archive legacy status docs and canonicalize genesis entrypoints
This commit is contained in:
@@ -72,13 +72,13 @@ if [ -f "config/genesis.json" ]; then
|
||||
EXTRADATA=$(grep -oE '"extraData"[[:space:]]*:[[:space:]]*"[^"]*"' config/genesis.json | cut -d'"' -f4)
|
||||
if [ "$EXTRADATA" = "0x" ] || [ -z "$EXTRADATA" ]; then
|
||||
log_error "❌ Genesis extraData is empty (no validators configured)"
|
||||
log_warn " Fix: Run ./scripts/generate-genesis.sh to regenerate with validators"
|
||||
log_warn " Fix: Run ./scripts/generate-genesis-proper.sh 4 to regenerate with validators"
|
||||
|
||||
# Check if validator keys exist
|
||||
VALIDATOR_KEY_COUNT=$(find keys/validators -name "key.pub" 2>/dev/null | wc -l)
|
||||
if [ "$VALIDATOR_KEY_COUNT" -gt 0 ]; then
|
||||
log_success " ✅ Validator keys found: ${VALIDATOR_KEY_COUNT}"
|
||||
log_warn " Run: ./scripts/generate-genesis.sh"
|
||||
log_warn " Run: ./scripts/generate-genesis-proper.sh 4"
|
||||
else
|
||||
log_error " ❌ No validator keys found"
|
||||
log_warn " Run: ./scripts/key-management/generate-validator-keys.sh 4"
|
||||
@@ -152,11 +152,10 @@ log_info "=== Summary ==="
|
||||
log_success "Configuration issues checked"
|
||||
log_warn "Critical fixes needed:"
|
||||
echo " 1. Update terraform.tfvars node_count (set sentries=3, rpc=3)"
|
||||
echo " 2. Regenerate genesis.json with validators (./scripts/generate-genesis.sh)"
|
||||
echo " 2. Regenerate genesis.json with validators (./scripts/generate-genesis-proper.sh 4)"
|
||||
echo " 3. Verify Kubernetes version is supported"
|
||||
echo " 4. Configure Terraform backend"
|
||||
log_warn "Security recommendations:"
|
||||
echo " 1. Restrict RPC CORS origins"
|
||||
echo " 2. Restrict RPC host allowlist"
|
||||
echo " 3. Review network security groups"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user