-
Notifications
You must be signed in to change notification settings - Fork 282
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: Use BrilligCall for unconstrained main and update AVM transpiler #5795
Closed
Closed
Changes from all commits
Commits
Show all changes
94 commits
Select commit
Hold shift + click to select a range
5f1963f
initial BrilligPointer opcode without any implementation
vezenovm d9dd70f
initial codegen work for brillig pointer and execution in the acvm
vezenovm 7fc4f1f
update circuit serialization and instance deployer constant
vezenovm 4f86a7a
revert commented hash check
vezenovm e9aee0e
update todo comment
vezenovm 58d89c4
handle brillig pointer in acvm js and cargo fmt
vezenovm 16cec3e
cleanup BrilligSolver new methods
vezenovm 67fc7e4
some cleanup
vezenovm 2a89006
cargo fmt
vezenovm 4620100
use Vec inside of map for generated brilligs
vezenovm 5680453
cargo fmt
vezenovm 69ecc49
fix to use generated index when setting brillig pointer
vezenovm 68cf9a5
cargo mft
vezenovm 900a056
update instance deployer address
vezenovm ec54177
some improvements, store GeneratedBrilligs during SSA as a Vec
vezenovm cab8dcb
make both brillig func info a mutable reference on an AcirContext
vezenovm 3a80890
Apply suggestions from code review
TomAFrench 710a0fd
Update noir/noir-repo/tooling/nargo_cli/src/cli/info_cmd.rs
TomAFrench 24ffc02
change serde to BrilligCall and no inner struct
vezenovm c71a577
undo comment in serde test
vezenovm 61c3459
Update noir/noir-repo/acvm-repo/acir/src/circuit/opcodes.rs
vezenovm 3f6c1a0
brillig call display
vezenovm 54db2ba
fix mem op serde
vezenovm bea4aba
working again after merge conflicts
vezenovm 8dd73d3
move to shraed context in acir gen
vezenovm 0058ca8
cleanup
vezenovm 5f51430
cleanup comment in test
vezenovm 48e60ec
update serde
vezenovm dee3512
update instance delployer address
vezenovm f64643f
Update noir/noir-repo/acvm-repo/acvm/src/pwg/mod.rs
vezenovm 1787865
Update noir/noir-repo/compiler/noirc_evaluator/src/ssa.rs
vezenovm 11adc38
Update noir/noir-repo/compiler/noirc_evaluator/src/ssa/acir_gen/acir_…
vezenovm 878e926
Update noir/noir-repo/compiler/noirc_evaluator/src/ssa/acir_gen/acir_…
vezenovm b6da739
Update noir/noir-repo/compiler/noirc_evaluator/src/ssa/acir_gen/acir_…
vezenovm f8958b3
Update noir/noir-repo/compiler/noirc_evaluator/src/ssa/acir_gen/acir_…
vezenovm 7630efa
Update noir/noir-repo/compiler/noirc_evaluator/src/ssa/acir_gen/acir_…
vezenovm 8db4105
Update noir/noir-repo/compiler/noirc_evaluator/src/ssa/acir_gen/acir_…
vezenovm 4d599e7
Update noir/noir-repo/cspell.json
vezenovm 04533fd
rename generated_brilligs
vezenovm 7142582
back to loop for brillig array input
vezenovm 6fd19fb
missed name
vezenovm 641698a
label the entry point indices
vezenovm 064085b
add unit test for brilligcall gen and delete brillig_acir_loop
vezenovm 7db3fba
avm-transpiler needs to handle switch to brillig call opcode
vezenovm 161f8c6
update codegen for brillig main to use brillig call
vezenovm dd31e5b
cleanup
vezenovm 6d36d29
update instance deployer
vezenovm 8c0a2c0
initial BrilligPointer opcode without any implementation
vezenovm 6c6d3e6
initial codegen work for brillig pointer and execution in the acvm
vezenovm 1df4cb0
update circuit serialization and instance deployer constant
vezenovm 8416d0d
revert commented hash check
vezenovm 4964bb1
update todo comment
vezenovm bbb501d
handle brillig pointer in acvm js and cargo fmt
vezenovm 89344ce
cleanup BrilligSolver new methods
vezenovm f4c071e
some cleanup
vezenovm a43d98f
cargo fmt
vezenovm a25fb4c
use Vec inside of map for generated brilligs
vezenovm f3a9323
cargo fmt
vezenovm f8ce276
fix to use generated index when setting brillig pointer
vezenovm b8fd9b6
cargo mft
vezenovm f3c0350
update instance deployer address
vezenovm c31321d
some improvements, store GeneratedBrilligs during SSA as a Vec
vezenovm 8f3c21b
make both brillig func info a mutable reference on an AcirContext
vezenovm 80bb7cd
Apply suggestions from code review
TomAFrench 9a9b4bd
Update noir/noir-repo/tooling/nargo_cli/src/cli/info_cmd.rs
TomAFrench fdd1120
change serde to BrilligCall and no inner struct
vezenovm 9c90564
undo comment in serde test
vezenovm 1a0dc03
Update noir/noir-repo/acvm-repo/acir/src/circuit/opcodes.rs
vezenovm d9accbc
brillig call display
vezenovm 351c051
fix mem op serde
vezenovm 610420f
working again after merge conflicts
vezenovm 8ba13fc
move to shraed context in acir gen
vezenovm 45f5fb0
cleanup
vezenovm 3633518
cleanup comment in test
vezenovm 30e7048
update serde
vezenovm f7b2a06
update instance delployer address
vezenovm c9b9325
Update noir/noir-repo/acvm-repo/acvm/src/pwg/mod.rs
vezenovm 0be2c53
Update noir/noir-repo/compiler/noirc_evaluator/src/ssa.rs
vezenovm 346be31
Update noir/noir-repo/compiler/noirc_evaluator/src/ssa/acir_gen/acir_…
vezenovm 2278ae7
Update noir/noir-repo/compiler/noirc_evaluator/src/ssa/acir_gen/acir_…
vezenovm 183ccd8
Update noir/noir-repo/compiler/noirc_evaluator/src/ssa/acir_gen/acir_…
vezenovm 1611ef0
Update noir/noir-repo/compiler/noirc_evaluator/src/ssa/acir_gen/acir_…
vezenovm 2fd561b
Update noir/noir-repo/compiler/noirc_evaluator/src/ssa/acir_gen/acir_…
vezenovm 969e410
Update noir/noir-repo/compiler/noirc_evaluator/src/ssa/acir_gen/acir_…
vezenovm c6e648c
Update noir/noir-repo/cspell.json
vezenovm 5a276d5
rename generated_brilligs
vezenovm 523d51e
back to loop for brillig array input
vezenovm d45a8a9
missed name
vezenovm db2985f
label the entry point indices
vezenovm 579a57c
add unit test for brilligcall gen and delete brillig_acir_loop
vezenovm 94f6a26
avm-transpiler needs to handle switch to brillig call opcode
vezenovm e36f8ff
update codegen for brillig main to use brillig call
vezenovm 1b2f035
cleanup
vezenovm 14b9ae8
update instance deployer
vezenovm 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
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
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
24 changes: 12 additions & 12 deletions
24
noir/noir-repo/acvm-repo/acvm_js/test/shared/schnorr_verify.ts
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
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
Oops, something went wrong.
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.
I figuredi t would be fine to just print the bytecode as the AVM transpiler doesn't look to touch the inputs/outputs at all, we only print instructions for the AVM program, and you can get the Brillig inputs/outputs by printing the ACIR.