arkworks-rs / r1cs-std

R1CS constraints for bits, fields, and elliptic curves
https://www.arkworks.rs
Apache License 2.0
137 stars 59 forks source link

Sync with ark-algebra: change the location of `BitIteratorBE` #107

Closed onewayfunc closed 2 years ago

onewayfunc commented 2 years ago

Description

To avoid confusion, ark-algebra reverts is_zero to is_identity for group elements. This PR fixes so.


Before we can merge this PR, please make sure that all the following items have been checked off. If any of the checklist items are not applicable, please leave them but write a little note why.

N/A:

weikengchen commented 2 years ago

The test did not pass but seems to be due to reasons other than this PR. Let me fix the curve side first.

weikengchen commented 2 years ago

I need to check more carefully as I forgot a "cargo update"...

weikengchen commented 2 years ago

Ok, actually we are already using is_zero. The issue is about BitIteratorBE.