vac:qa:anoncomms:2026q1-anoncomms-testing

Description

Expand QA coverage for Zerokit RLN and hashgraph-like consensus by adding negative-path, error-handling, and regression tests, and by reviewing existing coverage for gaps.

Baseline test suites and file entry points for onboarding:

Task List

Zerokit RLN negative-path hardening

  • fully qualified name: vac:qa:anoncomms:2026q1-anoncomms-testing:rln-negative-paths
  • owner: TBD
  • status: not started
  • start-date: 2026/01/01
  • end-date: 2026/02/15

Description

  • Review existing RLN coverage and document gaps.
  • Add proof verification failure cases by mutating external_nullifier, message_id, x, and single path_element for verify_rln_proof and verify_with_roots.
  • Add rate-limit validation tests for RLNWitnessInput (reject message_id >= user_message_limit and limit = 0).
  • Add resource error tests for missing or wrong rln_final.arkzkey and graph.bin, plus mismatched tree depth.
  • Add Merkle tree invalid proof tests (old root after update, wrong leaf index).
  • Add tests for PM tree feature coverage.
  • Baseline references:

Deliverables

  • PR(s) with new RLN negative-path and resource error tests.
  • Test report listing covered gaps and remaining risks.

Zerokit serialization and FFI error handling

  • fully qualified name: vac:qa:anoncomms:2026q1-anoncomms-testing:serialization-ffi-errors
  • owner: TBD
  • status: not started
  • start-date: 2026/02/01
  • end-date: 2026/03/15

Description

Deliverables

  • PR(s) with serialization and FFI error-path tests.
  • Test report describing validation behavior and coverage.

Hashgraph-like consensus negative tests

  • fully qualified name: vac:qa:anoncomms:2026q1-anoncomms-testing:hashgraph-negative-tests
  • owner: TBD
  • status: not started
  • start-date: 2026/02/15
  • end-date: 2026/03/31

Description

  • Add negative tests for proposal/vote lifecycle and timeout behavior.
  • Validate consensus result calculations for both p2p and gossipsub networks.
  • Expand invalid vote/proposal cases beyond happy-path coverage.
  • Baseline references:

Deliverables

  • PR(s) with new negative-path consensus tests.
  • Test report summarizing outcomes and open issues.