mirror of https://github.com/zcash/halo2.git
Previously, `ChallengeScalar` could use the operator traits defined on the `F: Field` type it wrapped, due to its `impl Deref<Target = F>`. This was technically ambiguous, and Rust 1.49.0 makes that ambiguity an error. We could fix this by adding operator impls with `ChallengeScalar` on the RHS, but that would conflict with zcash/halo2#111. Instead we manually dereference every challenge scalar when used in an arithmetic operation. |
||
---|---|---|
.. | ||
lookup | ||
permutation | ||
vanishing | ||
circuit.rs | ||
keygen.rs | ||
lookup.rs | ||
permutation.rs | ||
prover.rs | ||
vanishing.rs | ||
verifier.rs |