Skip to content

Conversation

@Kolezhniuk
Copy link
Collaborator

No description provided.

…_32Circuit and related instances. Update witnessBuilder function parameter type for consistency. Clean up jwz tests by removing deprecated tests for AuthV3_8_32. This streamlines the proving methods and enhances code clarity.
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes support for the authV3-8-32 circuit variant from the js-jwz library. The removal includes eliminating the circuit constant, proving method instance, related exports, and test suite. The PR also includes two additional changes to the codebase: narrowing the type parameter of the witnessBuilder function from BufferSource to ArrayBuffer, and updating references to the bn254 curve API.

  • Removes all authV3-8-32 circuit-related code and exports
  • Updates witnessBuilder parameter type from BufferSource to ArrayBuffer
  • Updates bn254 curve API references from bn254.G1.ProjectivePoint to bn254.curves.G1
  • Bumps version from 1.12.2 to 1.13.0

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
test/jwz.test.ts Removes the entire authV3_8_32-Groth16 test suite (64 lines)
src/witness_calculator.ts Narrows function parameter type from BufferSource to ArrayBuffer
src/index.ts Removes authV3_8_32 proving method import, registration, and export
src/common.ts Removes AuthV3_8_32Circuit constant, adds type cast for ArrayBuffer, updates bn254 curve API
src/authV3Groth16.ts Removes AuthV3_8_32Groth16Alg and provingMethodGroth16AuthV3_8_32Instance
package.json Bumps version to 1.13.0
package-lock.json Updates version references to match package.json

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

…nsolidate test cases for dynamicProve and dynamicVerify, and adjust timeout settings for better performance.
…. Refactor dynamic proof tests for improved readability and structure, consolidating test cases for dynamicProve and dynamicVerify.
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

Successfully merging this pull request may close these issues.

1 participant