Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.02 KB

File metadata and controls

31 lines (21 loc) · 1.02 KB

discovery-core

Core discovery logic for the privacy pool, including storage slot computation and a simple RPC backend for testing and benchmarking.

Test Vectors

Test vectors are generated from the Cairo contract. To regenerate:

cd sdk
npm run generate:cairo-refs
cp tests/fixtures/cairo-reference-data.json ../crates/discovery-core/tests/fixtures/cairo-reference-data.json

Devnet State Fixture

The devnet state fixture contains real storage slots produced by the e2e dump script. To regenerate:

cd e2e && npm run generate-dump

This writes tests/fixtures/devnet-state.json (among other crate fixtures). Run cargo test -p discovery-core afterwards to verify.

See also