Wave: PrivacyLayer ZK Wave 1
Issue Key: ZK-062
Area: testing
Priority: Medium
Drips Complexity: High
Summary
Complement fixed fixtures with fuzz and property tests over the most failure-prone encoding and tree-handling code.
Relevant Code
- sdk/src/note.ts
- sdk/src/proof.ts
- sdk/src/merkle.ts
Scope
- Fuzz note import/export, witness serialization, and Merkle path generation with seeded randomness.
- Promote minimal reproductions from failing fuzz cases into fixed regressions.
- Focus on deterministic coverage that can run in CI.
Acceptance Criteria
- Fuzz or property tests cover note parsing, witness encoding, and Merkle path logic.
- Failures are reproducible from saved seeds or reduced cases.
- The suite is stable enough for automated runs.
Out of Scope
- Soroban contract changes
- Frontend and wallet UI work
Dependencies
References
- sdk/src/note.ts
- sdk/src/proof.ts
- sdk/src/merkle.ts
Wave: PrivacyLayer ZK Wave 1
Issue Key: ZK-062
Area: testing
Priority: Medium
Drips Complexity: High
Summary
Complement fixed fixtures with fuzz and property tests over the most failure-prone encoding and tree-handling code.
Relevant Code
Scope
Acceptance Criteria
Out of Scope
Dependencies
References