Simplifications in Nova's RO (#98)

* rename methods for better clarity

* rename

* Bump version
This commit is contained in:
Srinath Setty
2022-07-25 12:22:41 -07:00
committed by GitHub
parent c6fa4d44eb
commit 3dc26fd7e4
15 changed files with 172 additions and 219 deletions

View File

@@ -289,7 +289,7 @@ where
)
}
fn compute(&self, z: &F) -> F {
fn output(&self, z: &F) -> F {
let z_hash = Poseidon::<F, U8>::new_with_preimage(
&[
self.z_r.x,

View File

@@ -148,7 +148,7 @@ where
z_out
}
fn compute(&self, z: &F) -> F {
fn output(&self, z: &F) -> F {
// sanity check
let z_hash =
Poseidon::<F, U2>::new_with_preimage(&[self.seq[0].x_i, self.seq[0].y_i], &self.pc).hash();