-
Notifications
You must be signed in to change notification settings - Fork 233
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(acvm): Execute multiple circuits #5380
Merged
Merged
Changes from 175 commits
Commits
Show all changes
208 commits
Select commit
Hold shift + click to select a range
71998b8
call opcode and serialization
vezenovm d081ecc
uncomment serde in test:
vezenovm a70156e
Merge branch 'master' into mv/acir-call-opcode
vezenovm dcb6d9e
pass noir fmt and clippy
vezenovm d822483
Merge branch 'master' into mv/acir-call-opcode
vezenovm 2376e16
fixup call comments
vezenovm 10195f3
resovle merge conflcits w/ master'
vezenovm 0792a08
cargo fmt
vezenovm 9be6881
Merge branch 'master' into mv/acir-call-opcode
vezenovm 4c7f82e
Merge branch 'master' into mv/acir-call-opcode
vezenovm 96a719c
program and witness stack structure and respective serialization
vezenovm 288a7ec
a little cleanup
vezenovm 1f65f18
cargo fmt
vezenovm 0dc8b38
fmt and clippy
vezenovm e602ecd
update avm-transpiler to handle new program structure
vezenovm c3d825d
import correct witness hpp file
vezenovm cd27e74
Merge branch 'master' into mv/acir-call-opcode
vezenovm 695d85e
Merge branch 'mv/acir-call-opcode' into mv/program-wit-stack-serialize
vezenovm e1757fd
serialize Program in acvm_js
vezenovm ba1369e
Merge remote-tracking branch 'origin/mv/program-wit-stack-serialize' …
vezenovm 4c357ac
Merge branch 'master' into mv/acir-call-opcode
vezenovm ad8129b
update public witness methods in acvm_js
vezenovm 1dac703
add necessary clone
vezenovm 14cea93
remove unused import
vezenovm fc7c8b7
updated serialization
vezenovm e45f50d
Merge branch 'mv/acir-call-opcode' into mv/program-wit-stack-serialize
TomAFrench 3ac2c53
Merge branch 'master' into mv/acir-call-opcode
TomAFrench 299d0dd
Merge branch 'mv/acir-call-opcode' into mv/program-wit-stack-serialize
TomAFrench 9ceee33
compress wit correctly in noir js
vezenovm 6d08e8a
change back to pinned bb.js
vezenovm d3b5032
update witness compression test
vezenovm 94b4739
update Dockerfiles
vezenovm c01aa62
switch order of noir tests
vezenovm 2023556
bb js before noir in the config file
vezenovm 3a31504
specify bb.js dep
vezenovm 0b5ab14
remove unnecessary prints
vezenovm babb483
uncomment one e2e test
vezenovm 127e03f
remove old comment and try bootstrap_packages
vezenovm 111089e
yarn inside bb ts
vezenovm 4e361fe
appropriately serialize program for smart contract
vezenovm 6905b96
disable simple_verifier_codegen in aztec_packages native CI
vezenovm 6ddfd30
bring back install playwright for CI
vezenovm 2b1639a
fix simple_verifier_codegen nextest expr
vezenovm a755f8a
and not or
vezenovm 3b2a7e4
passing hardcoded contracts
vezenovm 24749d9
skip recursion in acir tests
vezenovm 5ce2b3e
Merge branch 'master' into mv/acir-call-opcode
vezenovm c6cc631
merge conflicts w/ master
vezenovm d6707ca
Revert "merge conflicts w/ master"
vezenovm 7748098
Reapply "merge conflicts w/ master"
vezenovm a2c7297
rearrange config
vezenovm de216d6
clippy
vezenovm fdae079
remove old import in transpiler
vezenovm 0d6ed9d
add packages dep
vezenovm 45040e4
bootstrap packages in packages-test
vezenovm 441942e
upate circuits.js and protocol-contracts artifacts
vezenovm 20d58ac
increase timeout
vezenovm a5b7d09
more timeout increase
vezenovm 6ec4afd
dont bootstrap in packages tests
vezenovm a8ccd5c
remove noir-packages dep
vezenovm 0c78c33
need packages dep in packages.test
vezenovm 27359e8
test inrease counter timeout
vezenovm 1d04bdb
switch order of config
vezenovm 8ac7d2c
move acir tests after bberg in config
vezenovm a7ce531
bring back test
vezenovm 576f092
Merge branch 'master' into mv/acir-call-opcode
vezenovm ac72a93
fix native acvm cli interface
vezenovm 9217b4a
Merge branch 'master' into mv/acir-call-opcode
vezenovm 1407de4
empty
vezenovm 671cb93
yarn formatting
vezenovm b7f6609
acvm cli error update
vezenovm 352c335
Merge branch 'master' into mv/acir-call-opcode
vezenovm 9624796
merge conflcits w/ parent
vezenovm 9350526
yarn lock
vezenovm 52b3773
update yarn lock
vezenovm 88ad6cd
Merge branch 'master' into mv/acir-call-opcode
vezenovm 6177b62
update noir-pacakges to be dependent
vezenovm 0ffc638
merge conflcits
vezenovm 4bb76b6
update snapshots
vezenovm 1200597
try pinned bb.js-dev
vezenovm 42485d5
try linked bb.js
vezenovm 25b3f4f
update bb.js path
vezenovm e02a4bc
move nargo backend path env set
vezenovm 9180274
echo path
vezenovm 914af07
use main.js and some of DSL readme
vezenovm c351300
update gitignore
vezenovm a418cb4
updated readme
vezenovm b665ff7
remove commitment to contracts
vezenovm a094e24
Merge branch 'master' into mv/acir-call-opcode
vezenovm 90cd0cf
cleanup
vezenovm a4d7ace
clippy
vezenovm 210569f
Merge branch 'master' into mv/acir-call-opcode
vezenovm dbfdb07
merge conflicts new snaps
vezenovm accc62a
empty
vezenovm db9eac3
Merge branch 'master' into mv/acir-call-opcode
vezenovm 15d7622
Merge branch 'mv/acir-call-opcode' into mv/program-wit-stack
vezenovm c9d5fa6
empty
vezenovm c786c7d
build all bb in config before noir-packages
vezenovm bc13ebe
fix yml indent
vezenovm 1e59a4c
update snapshots in yarn project
vezenovm 204ec20
change back to original timeouts
vezenovm 0be14a1
more readme updates
vezenovm 4ee6462
Merge branch 'master' into mv/acir-call-opcode
vezenovm cf7cb11
Merge branch 'master' into mv/acir-call-opcode
vezenovm f3a3533
initial fold attribute and inline type on SSA func
vezenovm 99bee54
Update noir/noir-repo/acvm-repo/acvm_js/src/compression.rs
vezenovm 9a57443
Update noir/noir-repo/acvm-repo/acvm_js/src/execute.rs
vezenovm f5327b7
Update noir/noir-repo/acvm-repo/acvm_js/src/public_witness.rs
vezenovm 8612d41
Update noir/noir-repo/acvm-repo/acvm_js/src/public_witness.rs
vezenovm 246adb2
rename remaining vars to
vezenovm 61387df
Merge branch 'master' into mv/acir-call-opcode
vezenovm 5bc6d2f
add comment to witness_compression
vezenovm fc84eb6
merge conflcits w/ snapshots
vezenovm 8c4fcde
update snapshots'
vezenovm 9818d7e
fixup readme
vezenovm b515cf5
Merge branch 'master' into mv/acir-call-opcode
vezenovm cf91d52
Merge branch 'mv/acir-call-opcode' into mv/program-wit-stack
vezenovm fc4a158
re-run serde for acir after bad merge
vezenovm 722b7dc
Merge remote-tracking branch 'origin/mv/program-wit-stack' into mv/pr…
vezenovm 9ebf404
chore: add dependency on bb.js job to noir-packages jobs
TomAFrench aa6c430
chore: fix job name
TomAFrench d1c4bee
chore: `noir-packages-tests` depends on `noir-packages`
TomAFrench 301f4b8
chore: modified wrong job
TomAFrench 39b5068
Merge branch 'mv/program-wit-stack' into mv/non-inlined-acir-comptime
vezenovm 8b17313
initial compilation of non-inlined acir functions working for basic c…
vezenovm c070c64
merge conflicts
vezenovm b7111cc
fix acir cpp after merge conflicts
vezenovm 6dd0f09
do not acir gen non-brillig main funcs as they can contain references
vezenovm 2ed634a
clippy and other fixups
vezenovm f3a210f
remove noir test with fold
vezenovm 3dfb16f
Merge branch 'master' into mv/non-inlined-acir-comptime
vezenovm 5dedc1d
cargo fmt
vezenovm d7c9dbb
cargo clippy
vezenovm 5394619
fmt and resulting clippy
vezenovm 84f5495
remove unused label
vezenovm 4cd1a7d
remove unused inline_type funcs
vezenovm 34ad9e2
remove create_circuit for create_program
vezenovm 0d0f02b
Merge branch 'master' into mv/non-inlined-acir-comptime
vezenovm 5e5285f
empty commit cause earthly is wokring locally
vezenovm 2e54f20
Merge branch 'master' into mv/non-inlined-acir-comptime
vezenovm 36a9ec1
a bunch of cleanup
vezenovm a550de2
Merge remote-tracking branch 'origin/mv/non-inlined-acir-comptime' in…
vezenovm 4b05cff
handle func_sigs correctly
vezenovm c938901
cleanup
vezenovm b882eb9
Merge branch 'master' into mv/non-inlined-acir-comptime
vezenovm 6c4222d
comment improvement
vezenovm f1a52bc
Merge branch 'master' into mv/non-inlined-acir-comptime
vezenovm c2571b7
minor cleanup
vezenovm 06aaae5
Merge branch 'master' into mv/non-inlined-acir-comptime
vezenovm 60b84d3
Merge branch 'master' into mv/non-inlined-acir-comptime
vezenovm ec3fd6b
Merge branch 'master' into mv/non-inlined-acir-comptime
vezenovm 8e077d0
basic acir calls working in the ACVM:
vezenovm 1702856
add bb-js for dep for flaky test in config and todo in acir mod
vezenovm 0a76262
Merge branch 'master' into mv/non-inlined-acir-comptime
vezenovm e97b152
nested calls working
vezenovm b913175
resolve merge conflicts w/ parent
vezenovm 6ea3ba9
move WitnessStack returned from execute cmd
vezenovm 7d7026a
Cargo fmt
vezenovm a512df1
cargo clippy
vezenovm 1ad8b60
merge conflcits
vezenovm 924e502
merge conflicts w/ master
vezenovm ff76db0
Merge branch 'master' into mv/non-inlined-acir-comptime
vezenovm 89452ba
cargo clippy
vezenovm 8ef8408
cleanup
vezenovm 7b504cc
Merge branch 'mv/non-inlined-acir-comptime' into mv/execute-multiple-…
vezenovm 905f830
test ultra_honk_program and use last witness stack item for existing …
vezenovm 94f9188
Merge remote-tracking branch 'origin/mv/execute-multiple-circuits-com…
vezenovm 4cc59d0
delete old comment
vezenovm f04e04a
some comments cleanup
vezenovm ae88590
Merge branch 'master' into mv/non-inlined-acir-comptime
vezenovm 29bd522
cleanup errors in acvm and reuse methods in acir_to_constraint_buf
vezenovm e8d3a9c
remove import from acir_to_constraint_buf and use real error in nargo…
vezenovm 0c7113f
remove old dbg
vezenovm bef3d55
rename acir_call to call_info
vezenovm 07ba82d
Merge branch 'mv/non-inlined-acir-comptime' into mv/execute-multiple-…
vezenovm 60c3294
Update noir/noir-repo/compiler/noirc_evaluator/src/ssa/acir_gen/acir_…
vezenovm ff50bae
include foldable in type check
vezenovm a75a8f6
use mut ref in test
vezenovm 5ad3e93
Merge branch 'master' into mv/non-inlined-acir-comptime
vezenovm ea28bad
Merge branch 'mv/non-inlined-acir-comptime' into mv/execute-multiple-…
vezenovm e0a975e
Merge branch 'master' into mv/non-inlined-acir-comptime
vezenovm c1d6254
move bb solver and foreign call executor to ProgramExecutor
vezenovm 608c61c
Merge branch 'master' into mv/non-inlined-acir-comptime
vezenovm 321d87d
Merge branch 'master' into mv/non-inlined-acir-comptime
vezenovm 14d8623
Merge branch 'mv/non-inlined-acir-comptime' into mv/execute-multiple-…
vezenovm 9ebb786
remove bit shifts on all funcs
vezenovm cfed014
flatten more than just main
vezenovm 35e39cf
Merge branch 'master' into mv/non-inlined-acir-comptime
vezenovm dac9961
Merge branch 'mv/non-inlined-acir-comptime' into mv/execute-multiple-…
vezenovm 37bd830
Merge branch 'master' into mv/non-inlined-acir-comptime
vezenovm 61a0d5a
Merge branch 'mv/non-inlined-acir-comptime' into mv/execute-multiple-…
vezenovm 999ef7a
Update noir/noir-repo/tooling/debugger/src/context.rs
vezenovm eb0dc2b
Merge branch 'master' into mv/non-inlined-acir-comptime
vezenovm 5e084e5
add links in TODOs
vezenovm aceb1ca
update stale comment
vezenovm 69ce76c
update stale comment
vezenovm 2af705a
another stale comment
vezenovm cce5a78
remove runtime arg from FunctionBuilder::new
vezenovm 381cf35
add is_entry_point on RunTimeType
vezenovm 67c4a90
Update noir/noir-repo/compiler/noirc_frontend/src/hir/type_check/mod.rs
vezenovm 778e8d9
remove unnecessary field in type_check tests
vezenovm d51f128
Merge remote-tracking branch 'origin/mv/non-inlined-acir-comptime' in…
vezenovm 56e9eb9
Merge branch 'master' into mv/non-inlined-acir-comptime
vezenovm b1eff93
Merge branch 'master' into mv/non-inlined-acir-comptime
vezenovm 9a5d8de
Merge branch 'mv/non-inlined-acir-comptime' into mv/execute-multiple-…
vezenovm 5cd9a93
missing set_runtime usage in brillig tests
vezenovm 5edd4c0
Merge branch 'mv/non-inlined-acir-comptime' into mv/execute-multiple-…
vezenovm 65810a1
Merge branch 'master' into mv/execute-multiple-circuits-comptime
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
6 changes: 6 additions & 0 deletions
6
barretenberg/acir_tests/flows/prove_and_verify_ultra_honk_program.sh
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/sh | ||
set -eu | ||
|
||
VFLAG=${VERBOSE:+-v} | ||
|
||
$BIN prove_and_verify_ultra_honk_program $VFLAG -c $CRS_PATH -b ./target/acir.gz |
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
Oops, something went wrong.
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.
Btw @ledwards2225 this is the one change I made in bberg for now. Just wanted to test that we could also prove the full stack that we generated during execution.