Skip to content

Commit

Permalink
fix: unallocated signals
Browse files Browse the repository at this point in the history
`HTTPParseAndLockStartLine` had unused signals. I set these properly now.
  • Loading branch information
Autoparallel committed Oct 20, 2024
1 parent 81937bc commit 0e98a0d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions circuits/http/nivc/parse_and_lock_start_line.circom
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ template ParseAndLockStartLine(DATA_BYTES, MAX_STACK_HEIGHT, BEGINNING_LENGTH, M
signal startLineMask[DATA_BYTES];
signal middleMask[DATA_BYTES];
signal finalMask[DATA_BYTES];
startLineMask[0] <== inStartLine()(State[0].parsing_start);
middleMask[0] <== inStartMiddle()(State[0].parsing_start);
finalMask[0] <== inStartEnd()(State[0].parsing_start);


var middle_start_counter = 1;
var middle_end_counter = 1;
Expand Down Expand Up @@ -133,5 +137,3 @@ template ParseAndLockStartLine(DATA_BYTES, MAX_STACK_HEIGHT, BEGINNING_LENGTH, M
step_out[i] <== 0;
}
}

// component main { public [step_in] } = LockStartLine(320, 8, 3, 2);

0 comments on commit 0e98a0d

Please sign in to comment.