-
Notifications
You must be signed in to change notification settings - Fork 36
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
Try loading (ark)zkey into app after the fact #65
Comments
Rough sketchSomething (very rough) like this should work:
Things to check
From what I can tell it should be ok with zkey since it is just data not code. But if they are very strict they might say app doesn't work without external data. I think this is out of scope of current effort, but something to be mindful of in terms of releasing a production app. It might also be arbitrary and require some back and forth with Apple (common when releasing iOS apps). From https://developer.apple.com/app-store/review/guidelines/#software-requirements:
|
This issue can be closed with above PR #75 |
Problem
Currently we are reading in the arkzkey into the mopro-core library directly: https://github.com/oskarth/mopro/blob/main/mopro-core/src/middleware/circom/mod.rs#L68
While this might be faster, it is less than ideal for very big circuits. Ideally we can download these after the fact and load them in.
This would also increase flexibility a bit in terms of other circuits being used.
There might be complications with doing it this way, in terms of performance (load time) and compliance (what exactly can we load in to app after the binary? executable code etc...).
Acceptance criteria
Notes
Max iPhone app size seems to be 500mb https://developer.apple.com/help/app-store-connect/reference/maximum-build-file-sizes/
File size vs constraints:
The text was updated successfully, but these errors were encountered: