feat: add Groth16 zk-SNARK Prover with Web Worker offloading and integrity verification - #147
Merged
Merged
Conversation
- Adds MockProvider to intercept network requests and return dummy data. - Ensures MockProvider strictly validates the JSON-RPC schema. - Fixes duplicate properties in WhiteChainConfig and corrects client.ts syntax. - Bumps tsconfig.json target to ES2022 to resolve ox/core library errors.
…grity verification
Contributor
|
This PR cannot be merged automatically because it has merge conflicts. Please update the branch with the latest base branch and resolve the conflicts. After the conflicts are resolved and checks pass, the automation can review it again. |
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #69
Summary
Implements a highly optimized ZK Prover module that abstracts all SnarkJS complexity for Groth16 proof generation in Whitechain's privacy-preserving governance voting system.
Changes
New files in src/zk/
Updated files
New tests in ests/zk/ (25 new tests)
Usage
Test Results
148/148 tests passing (21 test files).