Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

feat: Add support for constraint usage within ark_bn254 #187

Closed
wants to merge 5 commits into from
Closed

feat: Add support for constraint usage within ark_bn254 #187

wants to merge 5 commits into from

Conversation

CPerezz
Copy link
Contributor

@CPerezz CPerezz commented Dec 18, 2023

Description

This modifies the Cargo.toml with the following changes:

  • Add ark-r1cs-std as an optional dependency.
  • Add ark-curve-constraint-tests an a dev-dependency.
  • Add r1cs feature which activates ark-r1cs-std depencendy.

It also adds all the necessary module files witin the constraints folder to make it work in 8cb2eae

closes: arkworks-rs/algebra#719

cc: @arnaucube

This modifies the `Cargo.toml` with the following changes:
- Add `ark-r1cs-std` as an optional dependency.
- Add `ark-curve-constraint-tests` an a dev-dependency.
- Add `r1cs` feature which activates `ark-r1cs-std` depencendy.

(cherry picked from commit 4868735)
@CPerezz CPerezz marked this pull request as draft December 18, 2023 12:03
@CPerezz
Copy link
Contributor Author

CPerezz commented Dec 18, 2023

Fixing the tests issues. Did not run --all-features locally 🙏

@CPerezz CPerezz marked this pull request as ready for review December 18, 2023 14:43
@Pratyush
Copy link
Member

Pratyush commented Dec 18, 2023

Sorry for the trouble, but could you make this PR against the curves folder in arkworks-rs/algebra? We've migrated our specific curve implementations there.

@Pratyush Pratyush closed this Dec 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for constraints module for bn254
2 participants