Go to file
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
.github/workflows
benches Migrate to halo2 version with `AssignedCell` 2021-12-08 01:45:00 +00:00
book book: Introduce RangeCheck macro. 2021-11-30 09:30:43 -05:00
proptest-regressions/constants
src Migrate to halo2 version with `AssignedCell` 2021-12-08 01:45:00 +00:00
.gitignore
CHANGELOG.md
COPYING Update COPYING with latest license text 2021-09-22 21:42:19 +01:00
Cargo.toml Migrate to halo2 version with `AssignedCell` 2021-12-08 01:45:00 +00:00
LICENSE-BOSL
README.md Update README 2021-09-22 21:43:08 +01:00
katex-header.html
rust-toolchain

README.md

orchard Crates.io

IMPORTANT: This library is being actively developed and should not be used in production software.

Requires Rust 1.51+.

Documentation

License

Copyright 2020-2021 The Electric Coin Company.

You may use this package under the Bootstrap Open Source Licence, version 1.0, or at your option, any later version. See the file COPYING for more details, and LICENSE-BOSL for the terms of the Bootstrap Open Source Licence, version 1.0.

The purpose of the BOSL is to allow commercial improvements to the package while ensuring that all improvements are open source. See here for why the BOSL exists.