You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Update arkworks to latest git versions with GR1CS migration (#228)
* Fix Pedersen circuit with inputs of odd length
* Bump rust version
* Fix performance regression of Pedersen circuit
* Attempt to fix wasm target
* Fix features for `getrandom`
* Fix wasmer stuff
* Fix CI
* Add `CycleFoldCommittedInstanceVar::new_incoming_from_components` to simplify the construction of incoming CF instances
* RLC for ProtoGalaxy can now be computed using a single `CycleFoldCircuit`
* Absorb `pp_hash` when initializing sponge or transcript so we no longer need to absorb it later
* Clarify comments and remove redundant code
* feat: Update arkworks to latest git versions with GR1CS migration
Dependencies Updated:
- arkworks libraries: Updated to latest git versions via patch.crates-io
- Note: Pinning to specific revisions caused version conflicts across the arkworks ecosystem
- ark-r1cs-std: Using fork flyingnobita/r1cs-std_yelhousni (rev: b4bab0c) for GR1CS compatibility
- ark-crypto-primitives: Using fork flyingnobita/crypto-primitives (rev: f559264) for GR1CS compatibility
- wasmer: Updated to 6.1.0-rc.2 with sys feature for ark-circom compatibility
- Rust toolchain: Updated to 1.85.0 (required by transitive dependency base64ct v1.8.0 via acvm/noir)
Major API Changes:
- Migrated from R1CS to GR1CS throughout the codebase
- Changed all R1CSVar imports to GR1CSVar
- Updated ark_relations::r1cs to ark_relations::gr1cs
- Updated constraint enforcement API
- Changed enforce_constraint to enforce_r1cs_constraint in experimental-frontends
- Wrapped linear combinations in closures
- Fixed instance_assignment from field access to method call
Known Issue:
- wasmer 6.1.0-rc.2 has linking issues on macOS ARM64 (undefined libunwind symbols)
- Workarounds:
- Exclude experimental-frontends from tests on macOS
- Run tests in Linux/Intel environment
- Note: wasmer 6.0.1 works but would require forking ark-circom
* feat: Complete GR1CS migration and rebase onto dev branch
- Migrate all constraint systems from R1CS to GR1CS across all folding schemes
* refactor: Fix cargo fmt
* fix: Update examples to use GR1CS instead of R1CS
- Replace R1CSVar with GR1CSVar in test modules
- Update ConstraintSystem imports from r1cs to gr1cs
- Fix formatting in experimental-frontends witness calculator
* chore: Remove unnecessary features from wasmer dependency to be inline with ark-circom dependency
* fix: Update ark-circom dependency to resolve wasm target compilation
Replace custom ark-circom fork with dmpierre's fork to fix compilation
issues when building experimental-frontends for wasm targets.
* ci: trigger
* fix: Fix cargo fmt
---------
Co-authored-by: winderica <[email protected]>
Co-authored-by: dmpierre <[email protected]>
0 commit comments