Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: shard circuits + aggregation #1

Closed
chiefbiiko opened this issue Jul 18, 2024 · 1 comment
Closed

refactor: shard circuits + aggregation #1

chiefbiiko opened this issue Jul 18, 2024 · 1 comment
Assignees

Comments

@chiefbiiko
Copy link
Owner

chiefbiiko commented Jul 18, 2024

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

  • split circuit into two halves each verifying one of account and storage proof
  • aggregate both sub circuits in a recursive proof

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
Copy link
Owner Author

Can't do it in WASM rite now since the circuits are too big: aragonzkresearch/noir-trie-proofs#29 (comment)
Still, doing the aggregation so we can parallelize the two shards WIP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant