-
Notifications
You must be signed in to change notification settings - Fork 266
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
feat!: Separate public inputs from proof in acir composer #2618
Closed
Closed
Changes from 1 commit
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
5035024
temporary: add methods to split the proof and take in public inputs s…
kevaundray 2b438db
modify c-binds to use those methods
kevaundray 934a578
modify browser test app to account for separate public inputs
kevaundray 75b9dc7
modify bb binary to account for separate public inputs
kevaundray 65acca8
modify bb.js node binary to account for separate public inputs
kevaundray 902520a
exports.json file was regenerated
kevaundray 8dadcfa
regenerate api file -- unfortunately my linter changed lines in the f…
kevaundray 6376452
formatter
kevaundray 06e2ad7
add code to not read the public inputs file if there are no public in…
kevaundray ab683a1
temporarily switch args
kevaundray adc2357
put publicInputs in serializeProofIntoFields
kevaundray 4a026aa
modify binary to account for new cbind api
kevaundray f6af120
always put public inputs vector first
kevaundray 06ea909
regenerate exports.json
kevaundray 93218e7
conditionally read the public inputs
kevaundray 7aa3855
typo
kevaundray 0c6ca7f
yarn
kevaundray 0df922c
put in separate PR
kevaundray 0e3bfa7
cleanup bb
kevaundray b463a8a
cleanup bb.js binary
kevaundray 23d2067
remove _splitted methods
kevaundray 4461139
modify bb binary; since we removed _splitted methods
kevaundray c2a6773
Update barretenberg/acir_tests/run_acir_tests_browser.sh
kevaundray b4233da
formatting fix
kevaundray 362552a
change outwards facing API to not mention proofWithoutPublicInputs
kevaundray 8576164
using proof instead of proof_without_public_inputs in cbinds
kevaundray 51714c8
redo bindings
kevaundray a811d36
modify binaries
kevaundray 2d07550
linter
kevaundray 0b49345
multi:
kevaundray b669013
bb: -public_inputs -> _public_inputs
kevaundray aeea25e
lint
kevaundray dab3ec3
add get_file_size method
kevaundray 2b60a6c
use get_file_size instead of passing number of public inputs
kevaundray 24d0bc6
do not pass vk to proofAsFields
kevaundray 7f539fe
use methods in container to refactor
kevaundray c62a6cd
change c-style cast and add back comment
kevaundray 21e67bd
tellg returns 0 for empty file, if there was an error reading it, rea…
kevaundray 4a369ab
inline splitVector and remove concatenate vector
kevaundray c7b5102
reduce diff
kevaundray 00a19ba
Merge branch 'master' into kw/separate-public-inputs
kevaundray fc6aefd
better variable name
kevaundray 0cafaa8
Merge remote-tracking branch 'origin/master' into kw/separate-public-…
kevaundray 036d1f3
fix merge
kevaundray fe50733
deduplicate public witness indices
kevaundray File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACIR does have this concept. It calls the first
public_parameters
and the secondreturn_values
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should clarify that this would also be exposed as fields, so we can use it in this file