Skip to content

Commit

Permalink
circuit2 update #84
Browse files Browse the repository at this point in the history
  • Loading branch information
vo-nil committed Nov 8, 2023
1 parent 55f4c2a commit 843616d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions contracts/zkllvm/circuit2/commitment.sol
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,11 @@ library modular_commitment_scheme_circuit2 {
}


bytes calldata proof_of_work = blob[blob.length - 4:];
transcript.update_transcript(tr_state, proof_of_work);
uint256 p_o_w = transcript.get_integral_challenge_be(tr_state, 4);
if (p_o_w & 4294901760 != 0) return false;


unchecked{
offset += 0x8 + r;
Expand Down

0 comments on commit 843616d

Please sign in to comment.