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

Make witness generation work for iOS release #109

Open
oskarth opened this issue Mar 13, 2024 · 1 comment
Open

Make witness generation work for iOS release #109

oskarth opened this issue Mar 13, 2024 · 1 comment

Comments

@oskarth
Copy link
Collaborator

oskarth commented Mar 13, 2024

Problem

We currently don't have witness generation that works for App Store release. This is due to an unexpected blocker with dylib for app store submission.

Three potential paths:

  1. Dylib/Framework - we thought this would work but getting upload issues for obscure reasons, we tried pretty much everything we can think of. See Dylib Framework not accepted by App Store #107
  2. Rust native witness gen - we tried to implement this experimental lib but turns out some gnarly bugs; long term very interesting but short term bugs too complex. See Improve native witness generation performance with circom-witness-rs #32
  3. C++ witness gen - this is from iden3 ppl, it seems to work but it is a different stack. See Experimentally integrate C++ Witness Generator #110
  4. There might be other C++/Rust hybrid approaches, but probably nothing that we can integrate <2w for showcase app

Right now, it seems worthwhile to go for 3 and at least do a timeboxed attempt to see if it can be integrated. Unknowns (a) how well it integrates with existing stack and how big changes are required (b) C++ so can expect some linking/distribution issues here, but other team seems to have been working OK with this (though no app store release afaik).

Acceptance criteria

Some witness generation integrated that works for app store release.

@oskarth
Copy link
Collaborator Author

oskarth commented May 22, 2024

Another contender that seems promising: Tachyon. Vivian has done some benchmarking and experimental work on this. Can setup separate issue for this one.

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

No branches or pull requests

1 participant