You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add real BLS12-381 drand verification test and set GitHub secrets
Contract tests (21 total):
- Add test_real_bls_verification: full pairing check with real drand
round 27448023 data, dev_mode=false — verifies the entire BLS12-381
pipeline works with authentic cryptographic data
- Add test_real_bls_rejects_invalid_signature: confirms invalid
signatures are rejected with dev_mode=false
Infrastructure:
- Set TESTNET_SECRET_KEY and TESTNET_CONTRACT_ID GitHub secrets
- Auto-fix 3 lint warnings (unused eslint-disable directives)
- Install @vitest/coverage-v8 for coverage reporting
-**BLS12-381**: Real drand signature verification with dev_mode=false (round 27448023), invalid signature rejection
28
29
-**TTL**: extend_ttl permissionless call
29
30
-**Constructor**: rejects wrong pubkey length
30
31
31
-
Tests use `dev_mode=true` to skip BLS verification. Full BLS verification is tested via `scripts/testBLS12381.sh` with live drand data against a deployed contract.
32
-
33
32
### Frontend Tests — 33 tests across 5 files
34
33
35
34
-`src/services/entropyRelayer.test.ts` (19 tests) — hex conversion, G1 decompression, drand API fetching with timeouts
0 commit comments