Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nova Forward ports (easy) #329

Merged
merged 5 commits into from
Feb 20, 2024
Merged

Conversation

huitseeker
Copy link
Member

@huitseeker huitseeker commented Feb 17, 2024

Sources:

Overall:

  • QoL improvements in naming,
  • stricter testing of R1CS shape during Nova's public parameters setup

Note

Companion PR at lurk-lab/lurk-rs#1145

huitseeker added a commit to huitseeker/lurk-rs that referenced this pull request Feb 17, 2024
huitseeker added a commit to huitseeker/lurk-rs that referenced this pull request Feb 17, 2024
Copy link
Member

@storojs72 storojs72 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine with merging this, when CI passes

src/bellpepper/test_shape_cs.rs Outdated Show resolved Hide resolved
@@ -1115,36 +1120,36 @@ mod tests {
test_pp_digest_with::<PallasEngine, _, _, EE<_>, EE<_>>(
&TrivialCircuit::default(),
&TrivialCircuit::default(),
&expect!["582db42439c0dcfc60d24b023ab83d81d97382ac2efa883c6f23147345efeb01"],
&expect!["e5a6a85b77f3fb958b69722a5a21bf656fd21a6b5a012708a4b086b6be6d2b03"],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we have changed test vectors?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes to the R1CS coefficient matrix in src/bellpepper/r1cs.rs change the R1CSWithArity (ex-R1CSShape), and therefore the public parameters, and therefore their hash.

@huitseeker
Copy link
Member Author

@storojs72 As the note in the PR description indicates, the failure in CI is expected, normal, and fixed by the companion PR.

srinathsetty and others added 5 commits February 19, 2024 17:51
* move KZG engine to provider module; update paths everywhere

* add a sparse matrix entry only if the coefficient is non-zero; update digests

* move test code to place where it is used

* move asm to default and add a note

* update constants

* update link

* simplify test_pp_digest
* rename and introduce checks about length

* introduce a test about public IO
@storojs72 storojs72 self-requested a review February 20, 2024 13:33
@huitseeker huitseeker added this pull request to the merge queue Feb 20, 2024
Merged via the queue into lurk-lab:dev with commit 07d9b1e Feb 20, 2024
8 of 9 checks passed
@huitseeker huitseeker deleted the forward_ports branch February 20, 2024 14:01
github-merge-queue bot pushed a commit to lurk-lab/lurk-rs that referenced this pull request Feb 20, 2024
* chore: Adapt to Arecibo changes

- Companion PR of lurk-lab/arecibo#329

* chore: point the repo back to dev
winston-h-zhang pushed a commit to lurk-lab/lurk-rs that referenced this pull request Feb 27, 2024
* chore: Adapt to Arecibo changes

- Companion PR of lurk-lab/arecibo#329

* chore: point the repo back to dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants