mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-05 23:33:07 +00:00
Update plonky2/src/fri/validate_shape.rs
Co-authored-by: wborgeaud <williamborgeaud@gmail.com>
This commit is contained in:
parent
dbce356818
commit
786826487c
@ -40,7 +40,15 @@ where
|
||||
.iter()
|
||||
.zip(&instance.oracles)
|
||||
{
|
||||
ensure!(leaf.len() == oracle.num_polys); // TODO: Account for blinding if ZK?
|
||||
ensure!(
|
||||
leaf.len()
|
||||
== oracle.num_polys
|
||||
+ if oracle.blinding && params.hiding {
|
||||
SALT_SIZE
|
||||
} else {
|
||||
0
|
||||
}
|
||||
);
|
||||
ensure!(merkle_proof.len() + cap_height == params.lde_bits());
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user