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

chore(nargo): add InputMap and WitnessMap terminology #713

Merged
merged 18 commits into from
Feb 3, 2023

Conversation

kevaundray
Copy link
Contributor

@kevaundray kevaundray commented Jan 30, 2023

Related issue(s)

This is a small refactor that adds AbiMap and WitnessMap it then shows how we convert an AbiMap into a WitnessMap.

Note that if this does not match the way the mapping is done in the evaluator, this will produce errors. This is a separate issue and issues have been opened up for it.

Description

Summary of changes

Dependency additions / changes

Test additions / changes

Checklist

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt with default settings.
  • I have linked this PR to the issue(s) that it resolves.
  • I have reviewed the changes on GitHub, line by line.
  • I have ensured all changes are covered in the description.
  • This PR requires documentation updates when merged.

Additional context

@kevaundray kevaundray requested a review from TomAFrench January 31, 2023 11:08
crates/nargo/src/cli/prove_cmd.rs Outdated Show resolved Hide resolved
crates/nargo/src/cli/prove_cmd.rs Outdated Show resolved Hide resolved
crates/nargo/src/cli/prove_cmd.rs Outdated Show resolved Hide resolved
crates/nargo/src/cli/verify_cmd.rs Outdated Show resolved Hide resolved
crates/nargo/src/cli/verify_cmd.rs Show resolved Hide resolved
@TomAFrench
Copy link
Member

@kevaundray happy if I take over this PR?

@kevaundray
Copy link
Contributor Author

@kevaundray happy if I take over this PR?

Yep, please do

* master:
  Rename methods that use `conditionalize` to be more descriptive (#739)
  feat(noir)!:  Returned values are no longer required by the prover (#731)
  chore: explicit versions for dependencies (#727)
  chore: readability improvements (#726)
  feat(nargo): include short git commit in cli version output (#721)
  Remove print to console for named proofs in `nargo prove` (#718)
  chore: clean up serde-related dependencies (#722)
  Handle out-of-bound errors in CSE (#471) (#673)
  Remove unused dependencies and only use workspace inheritance on shared deps (#671)
  feat(std_lib)!: modulus bits/bytes methods, and to_bits -> to_le_bits (#697)
  Implement numeric generics (#620)
  Review some TODO in SSA (#698)
  Replace `toml_map_to_field` and `toml_remap` with traits to map between `InputValue`s and `TomlTypes` (#677)
  Apply witness visibility on a parameter level rather than witness level (#712)
jfecher
jfecher previously approved these changes Feb 3, 2023
Copy link
Contributor

@jfecher jfecher left a comment

Choose a reason for hiding this comment

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

👍

@TomAFrench TomAFrench changed the title Add AbiMap and WitnessMap terminology to nargo chore(nargo): add AbiMap and WitnessMap terminology Feb 3, 2023
@TomAFrench TomAFrench changed the title chore(nargo): add AbiMap and WitnessMap terminology chore(nargo): add InputMap and WitnessMap terminology Feb 3, 2023
@TomAFrench TomAFrench merged commit 0b0d74c into master Feb 3, 2023
@TomAFrench TomAFrench deleted the kw/ref-nargo-maps branch February 3, 2023 22:44
TomAFrench added a commit that referenced this pull request Feb 3, 2023
* master:
  chore(nargo): add InputMap and WitnessMap terminology (#713)
  chore(ci): Avoid reporting errors if labeler action fails (#746)
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