Skip to content
Closed
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
42 changes: 41 additions & 1 deletion .github/workflows/local-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Integration Test

on:
push:
branches: [ dev, test-ci ]
branches: [ dev, test-ci, test-before-deprecation ]
pull_request:
branches: [ dev, test-ci ]

Expand Down Expand Up @@ -189,6 +189,46 @@ jobs:
echo "Deployment file created successfully"
cat .nodes/avs_deploy.json

- name: Verify BLS key files
run: |
cd eigenlayer-bls-local
echo "=== Checking BLS private key files ==="

for i in 1 2 3; do
keyfile=".nodes/operator_keys/testacc${i}.private.bls.key.json"

if [ ! -f "$keyfile" ]; then
echo "ERROR: Key file not found: $keyfile"
exit 1
fi

echo "Key file $i: $keyfile"
cat "$keyfile"

# Extract the privateKey value and check its length
privkey=$(cat "$keyfile" | jq -r '.privateKey')
keylen=${#privkey}

echo " Private key length: $keylen characters"

# BLS keys on BN254 curve should be ~77 digits
if [ $keylen -lt 70 ]; then
echo " ❌ ERROR: Key is too short! Expected ~77 digits, got $keylen"
echo " This will cause nodes to crash immediately"
echo ""
echo "Full key contents:"
cat "$keyfile"
echo ""
exit 1
else
echo " ✓ Key length looks valid ($keylen digits)"
fi

echo ""
done

echo "✓ All BLS keys are valid"

- name: Start contributors
run: |
cd commonware-avs-node
Expand Down
Loading