mirror of https://github.com/zcash/halo2.git
9b41a06363
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). |
||
---|---|---|
.. | ||
bundle | ||
circuit | ||
constants | ||
note | ||
primitives | ||
spec | ||
test_vectors | ||
address.rs | ||
builder.rs | ||
bundle.rs | ||
circuit.rs | ||
circuit_description | ||
constants.rs | ||
keys.rs | ||
lib.rs | ||
note.rs | ||
note_encryption.rs | ||
primitives.rs | ||
spec.rs | ||
test_vectors.rs | ||
tree.rs | ||
value.rs | ||
zip32.rs |