Replies: 2 comments
-
可以用range check检查0, 1。见https://github.com/zcash/halo2/blob/f9838c127ec9c14f6f323e0cfdc0c1392594d37f/halo2_gadgets/src/utilities.rs#L133 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Halo2 如何表示带约束的Boolean 类型? 比如在arkworks中有Boolean 来表示带约束的bool 类型, 而halo2中似乎没有。
Beta Was this translation helpful? Give feedback.
All reactions