-
Notifications
You must be signed in to change notification settings - Fork 35
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
feat: ashlang spartan proving #244
Conversation
Deploying mopro with Cloudflare Pages
|
this doesn't add android tests because i don't have JNA stuff installed on my current computer. I also have not run this code on device |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think if each circuit only depends on ar1cs
, we don't need the macro to setup circuits.
we can just replace prove
with generate_ashlang_spartan_proof
?
and it works well for my iPhone 👍🏻
@chancehudson can you also include CI tests? Thank you |
add tests here: #246 |
… for when ashlang is not enabled
No, uniffi needs the app to define the functions which is what the macro does. Without it app developers will need to write a function with the correct name themselves. |
This PR is partially blocked by microsoft/Spartan#75. This pr uses a fork of spartan that is more friendly to proof serialization. As a result it cannot use a crates.io version of ashlang (git dependencies are not allowed in public packages).
done: generate params for ar1cs dynamically and compare to provided proof