mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-08 08:43:06 +00:00
Merge pull request #690 from mir-protocol/include_degree_in_circuit_digest
Include degree in circuit digest
This commit is contained in:
commit
7144b1e08c
@ -794,7 +794,10 @@ impl<F: RichField + Extendable<D>, const D: usize> CircuitBuilder<F, D> {
|
||||
// TODO: This should also include an encoding of gate constraints.
|
||||
let circuit_digest_parts = [
|
||||
constants_sigmas_cap.flatten(),
|
||||
vec![/* Add other circuit data here */],
|
||||
vec![
|
||||
F::from_canonical_usize(degree_bits),
|
||||
/* Add other circuit data here */
|
||||
],
|
||||
];
|
||||
let circuit_digest = C::Hasher::hash_no_pad(&circuit_digest_parts.concat());
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user