initial integration of hyperplonk snark(#39)

This commit is contained in:
zhenfei
2022-08-01 13:16:55 -04:00
committed by GitHub
parent 229148eb5a
commit a6ea6ac26b
38 changed files with 1946 additions and 444 deletions

View File

@@ -87,8 +87,7 @@ impl<F: PrimeField> IOPTranscript<F> {
let mut buf = [0u8; 64];
self.transcript.challenge_bytes(label, &mut buf);
let challenge = F::from_le_bytes_mod_order(&buf);
self.transcript
.append_message(label, &to_bytes!(&challenge)?);
self.append_serializable_element(label, &challenge)?;
Ok(challenge)
}