Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

feat!: receive public_inputs when verifying as a BTreeMap [DO NOT MERGE] #56

Closed
wants to merge 1 commit into from

Conversation

TomAFrench
Copy link
Member

@TomAFrench TomAFrench commented Feb 17, 2023

Following on from conversation on Slack, this PR updates the backend to make use of the new interface as defined in noir-lang/acvm#96

The major benefit being that it's now semantically explicit that we're passing witness assignments in here and so duplicate values are impossible.

Something I want to flag up is that I haven't updated serialise_public_inputs in aztec_backend_wasm. https://github.com/noir-lang/aztec_backend/blob/cff757dca7971161e4bd25e7a744d910c37c22be/aztec_backend_wasm/src/lib.rs#L94

The reasoning for this is that we also take a vector for the initial witness in compute_witnesses so it seems that we want to avoid maps here.

@TomAFrench TomAFrench changed the title feat: receive public_inputs when verifying as a BTreeMap [DO NOT MERGE] feat!: receive public_inputs when verifying as a BTreeMap [DO NOT MERGE] Feb 21, 2023
@TomAFrench
Copy link
Member Author

Closing in favour of #58

@TomAFrench TomAFrench closed this Feb 23, 2023
@TomAFrench TomAFrench deleted the public-inputs-map branch February 23, 2023 16:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant