Skip to content

Commit 97ee9f7

Browse files
committed
Marc's PR comments: adjust some comments
1 parent 35a9470 commit 97ee9f7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

saffron/src/proof.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ where
4444
let evaluation = p.evaluate(&evaluation_point);
4545
let opening_proof_sponge = {
4646
let mut sponge = EFqSponge::new(G::other_curve_sponge_params());
47+
// TODO: check and see if we need to also absorb the absorb the poly cm
48+
// see https://github.com/o1-labs/proof-systems/blob/feature/test-data-storage-commitments/data-storage/src/main.rs#L265-L269
4749
sponge.absorb_fr(&[evaluation]);
4850
sponge
4951
};
@@ -58,8 +60,8 @@ where
5860
},
5961
)],
6062
&[evaluation_point],
61-
G::ScalarField::one(), // Single polynomial, so we don't care
62-
G::ScalarField::one(), // Single polynomial, so we don't care
63+
G::ScalarField::one(), // Single evaluation, so we don't care
64+
G::ScalarField::one(), // Single evaluation, so we don't care
6365
opening_proof_sponge,
6466
rng,
6567
);

0 commit comments

Comments
 (0)