Skip to content

chore: Upstream changes to fix proving key serialization in turbo_proofs#204

Merged
phated merged 7 commits into
phated/acir-formatfrom
mv/fix-pk-write
Mar 7, 2023
Merged

chore: Upstream changes to fix proving key serialization in turbo_proofs#204
phated merged 7 commits into
phated/acir-formatfrom
mv/fix-pk-write

Conversation

@vezenovm

@vezenovm vezenovm commented Mar 6, 2023

Copy link
Copy Markdown

Description

Context can be found here: noir-lang/aztec-connect#26

This PR basically is just making sure to upstream changes being made to noir-lang/aztec-connect to reduce divergence.

Checklist:

  • I have reviewed my diff in github, line by line.
  • Every change is related to the PR description.
  • I have linked this pull request to the issue(s) that it resolves.
  • There are no unexpected formatting changes, superfluous debug logs, or commented-out code.
  • There are no circuit changes, OR specifications in /markdown/specs have been updated.
  • There are no circuit changes, OR a cryptographer has been assigned for review.
  • I've updated any terraform that needs updating (e.g. environment variables) for deployment.
  • The branch has been rebased against the head of its merge target.
  • I'm happy for the PR to be merged at the reviewer's next convenience.
  • New functions, classes, etc. have been documented according to the doxygen comment format. Classes and structs must have @brief describing the intended functionality.
  • If existing code has been modified, such documentation has been added or updated.

@vezenovm vezenovm requested a review from phated March 6, 2023 22:17
@vezenovm vezenovm changed the title Upstream changes to fix proving key serialization in turbo_proofs chore: Upstream changes to fix proving key serialization in turbo_proofs Mar 6, 2023
pub_key_x_fq.assert_is_in_field();
pub_key_y_fq.assert_is_in_field();

// TODO: crypto-dev to fix calculation and constraining of the signature result is correct

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Since this has nothing to do with with the PR title -- I think this should be brought up as an issue on the original PR and we can resolve it there

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@kevaundray this PR is targeting my branch, so we can merge it in now and get it resolved as part of #198

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Ok will bring up as an issue.
Originally these comments were just this line:
auto pub_key = secp256k1_ct::g1_ct(pub_key_x_fq, pub_key_y_fq);
Which was giving unused variable errors, so I did these changes for now.

@phated phated merged commit f7f0cd1 into phated/acir-format Mar 7, 2023
@phated phated deleted the mv/fix-pk-write branch March 7, 2023 19:36
kevaundray added a commit that referenced this pull request Mar 8, 2023
* feat: Add Noir DSL with acir_format and turbo_proofs namespaces

* chore: Upstream changes to fix proving key serialization in turbo_proofs (#204)
---------

Co-authored-by: kevaundray <kevtheappdev@gmail.com>
Co-authored-by: Maxim Vezenov <mvezenov@gmail.com>
ludamad pushed a commit to AztecProtocol/aztec-packages that referenced this pull request Jul 22, 2023
…cProtocol/barretenberg#198)

* feat: Add Noir DSL with acir_format and turbo_proofs namespaces

* chore: Upstream changes to fix proving key serialization in turbo_proofs (AztecProtocol/barretenberg#204)
---------

Co-authored-by: kevaundray <kevtheappdev@gmail.com>
Co-authored-by: Maxim Vezenov <mvezenov@gmail.com>
ludamad pushed a commit to AztecProtocol/aztec-packages that referenced this pull request Jul 24, 2023
…cProtocol/barretenberg#198)

* feat: Add Noir DSL with acir_format and turbo_proofs namespaces

* chore: Upstream changes to fix proving key serialization in turbo_proofs (AztecProtocol/barretenberg#204)
---------

Co-authored-by: kevaundray <kevtheappdev@gmail.com>
Co-authored-by: Maxim Vezenov <mvezenov@gmail.com>
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.

3 participants