-
Notifications
You must be signed in to change notification settings - Fork 45
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
Enhance Mopro for Generic Workflows #306
Comments
Thank you for the suggestion 🙏🏻 Simply summarize this issue's solution and the current implementation:
Procedural macros
Reference: https://github.com/zkonduit/ezkl/blob/main/src/bindings/universal.rs |
I think this is an inevitable issue for improving the developer experience. Currently, whenever a proof generation function is declared, modifying the UDL file is required, which is not good experiences. In the comments, Vivi describes two options:
The first approach aligns with the current implementation: Lines 14 to 15 in 0a3d5a0
However, the second option may not be suitable when using both the |
Problem
Mopro's current design assumes packages are primarily used for Zero-Knowledge Proofs (ZKP), enforcing default
prove
andverify
functions. While useful for ZKP-specific tasks, this limits its utility for projects requiring generic or fully custom workflows.Details
To address these issues, the following solutions are proposed:
Support for Custom Workflows:
prove
andverify
functions optional.#[uniffi::export]
or a custom equivalent.Move Beyond UDL Files:
Acceptance Criteria
prove
andverify
functions are optional, and developers can define fully custom workflows.The text was updated successfully, but these errors were encountered: