mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-07 00:03:10 +00:00
Include degree in circuit digest
This commit is contained in:
parent
54862cb71c
commit
748496442b
@ -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