halo2/src/circuit/gadget/ecc/chip
Jack Grigg 9b41a06363 Migrate to halo2 version with `AssignedCell`
We change `CellValue` into a typedef of `AssignedCell` to simplify the
migration in this commit.

The migration from `CellValue` to `AssignedCell` requires several other
changes:

- `<CellValue as Var>::value()` returned `Option<F>`, whereas
  `AssignedCell::<F, F>::value()` returns `Option<&F>`. This means we
  need to dereference, use `Option::cloned`, or alter functions to take
  `&F` arguments.
- `StateWord` in the Poseidon chip has been changed to a newtype around
  `AssignedCell` (the chip was written before `CellValue` existed).
2021-12-08 01:45:00 +00:00
..
mul Migrate to halo2 version with `AssignedCell` 2021-12-08 01:45:00 +00:00
mul_fixed Migrate to halo2 version with `AssignedCell` 2021-12-08 01:45:00 +00:00
add.rs Migrate to halo2 version with `AssignedCell` 2021-12-08 01:45:00 +00:00
add_incomplete.rs circuit: Use `Field::is_zero_vartime` 2021-12-08 01:44:08 +00:00
mul.rs Migrate to halo2 version with `AssignedCell` 2021-12-08 01:45:00 +00:00
mul_fixed.rs chip::mul_fixed: Move running_sum_config into mul_fixed::Config. 2021-12-04 04:45:06 +00:00
witness_point.rs chip::witness_point: Refactor witness_point::Config. 2021-12-02 14:51:33 -05:00