Jack Grigg
6145b1417c
halo2_gadgets: Move `primitives::*` to `*::primitives`
2022-05-09 05:43:34 +00:00
Jack Grigg
03697e2a7d
book: Rewrite Sinsemilla gadget page
...
The book now has enough detail for it to be obvious why there are
factors of 2 present in several equations.
2022-05-08 02:38:01 +00:00
Jack Grigg
dc2ec0308d
halo2_gadgets: Deduplicate some Sinsemilla chip expressions
2022-05-08 02:38:01 +00:00
Jack Grigg
e3f1bf68db
halo2_gadgets: Remove usage of `array::IntoIter::new`
...
Rust 2021 implements `IntoIterator` for arrays directly, instead of only
references to arrays.
https://doc.rust-lang.org/edition-guide/rust-2021/IntoIterator-for-arrays.html
2022-04-27 12:56:54 +00:00
Jack Grigg
b02800466a
halo2_gadgets: Migrate chip gates to `Constraints::with_selector`
...
Only one gate couldn't be migrated without altering the Orchard circuit.
2022-04-24 22:13:38 +00:00
Jack Grigg
9a12beee73
halo2_gadgets: Rename `halo2` to `halo2_proofs`
...
The previous commit renamed `halo2_proofs` back to `halo2` temporarily
to keep the commit size down. This commit performs the rename in a
single pass.
2022-01-27 23:32:04 +00:00
Jack Grigg
a2367abcaf
Migrate to `halo2_gadgets` crate in subdir
...
- The crate module structure from `orchard` has been flattened.
- The book pages we want to include in `halo2` have been moved to their
target location, to avoid any conflicts during the merge.
- Common files that already exist in zcash/halo2 have been removed.
2022-01-27 23:08:01 +00:00