mirror of
https://github.com/logos-storage/logos-storage-proofs.git
synced 2026-01-08 16:33:08 +00:00
proper test component instantiation
This commit is contained in:
parent
8560db1ee5
commit
3896fddaa2
@ -38,9 +38,9 @@ function roundUpDiv(x, n) {
|
|||||||
|
|
||||||
if (last > 0) {
|
if (last > 0) {
|
||||||
return div + 1;
|
return div + 1;
|
||||||
} else {
|
|
||||||
return div;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return div;
|
||||||
}
|
}
|
||||||
|
|
||||||
template parallel HashCheck(BLOCK_SIZE, CHUNK_SIZE) {
|
template parallel HashCheck(BLOCK_SIZE, CHUNK_SIZE) {
|
||||||
|
|||||||
@ -2,5 +2,4 @@ pragma circom 2.1.0;
|
|||||||
|
|
||||||
include "../../circuits/storer.circom";
|
include "../../circuits/storer.circom";
|
||||||
|
|
||||||
// component main { public [root, salt] } = StorageProver(32, 4, 2, 4);
|
component main { public [root, salt] } = StorageProver(32, 4, 2, 5);
|
||||||
component main { public [root, salt] } = StorageProver(32, 4, 2, 2);
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user