chiefbiiko / noir-safe

0 stars 0 forks source link

refactor: shard circuits + aggregation #1

Closed chiefbiiko closed 3 weeks ago

chiefbiiko commented 1 month ago

On a M3 Pro verifying both storage and account proof within a single circuit yields a backend error, probably OOM.

The general idea (credit @pmuens) is to run storage and state proof verification in parallel within two separate instances, then run a final prover for aggregation. The last aggregation step should be fast.

chiefbiiko commented 1 month ago

Can't do it in WASM rite now since the circuits are too big: https://github.com/aragonzkresearch/noir-trie-proofs/issues/29#issuecomment-2007419544 Still, doing the aggregation so we can parallelize the two shards WIP