Commit 1872323
committed
fix: feed a valid sha-truncated inHash in bb_prover_parity test
ParityPublicInputs requires inHash to be a 31-byte (top-byte-zero) sha frontier
root; the InboxParity circuit passes in_hash through unconstrained, so a raw
Fr.random() input reappears in the output and fails the constructor check.
Compute inHash from the messages instead.1 parent 1aa6f24 commit 1872323
1 file changed
Lines changed: 4 additions & 2 deletions
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| |||
0 commit comments