-
Notifications
You must be signed in to change notification settings - Fork 260
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: Integrate new proving systems in e2e #6971
Merged
+1,856
−827
Merged
Changes from 190 commits
Commits
Show all changes
246 commits
Select commit
Hold shift + click to select a range
be738f9
Start
codygunton 77fd1d3
More TODOs
codygunton c051062
Merge branch 'master' into cg-lde/integrate-client-ivc
ledwards2225 d6e34c9
luke: some LONDONTODO comments
ledwards2225 4d823cb
More thinking
codygunton 11bc182
added new flow
lucasxia01 c0edfae
More
codygunton 070abed
some comments and fix build
ledwards2225 f308681
write full.test circuit data to a fixtures file
ledwards2225 bb0cc2b
Try to do real proving; no executionResult;
codygunton eba2b37
I want to merge
maramihali 46e2f1d
Merge remote-tracking branch 'origin/master' into mm/rollup-tube
maramihali baaa716
hacking towards getting a folding ivc proof
ludamad f7f2414
flow work
maramihali 653c67b
introduce libdeflate, turned off for wasm
ludamad 52053ac
fix wasm build
ludamad df3dcb8
needs shared transcript
maramihali f3aa95b
stash
ludamad da714fe
support disabling aztec vm in non-wasm builds
ludamad 8715cbd
Change sumcheck, tests pass
codygunton cd048ea
almost working ivc
ludamad 95cdb6e
Merge remote-tracking branch 'origin/master' into cg-lde-ad/integrate…
ludamad b14723f
Fix problem ultra_honk_tests
codygunton b038df5
added fake write_vk_honk and prove_honk_output_all commands
lucasxia01 dd50460
pad ZM
ledwards2225 2daabbd
use local for MAX_LOG so everything builds
ledwards2225 20b3184
updates to make transcrpt tests pass (eccvm hack)
ledwards2225 5c54954
Add and use DISABLE_AZTEC_VM
codygunton 5aa6e11
attempt to fix program stacks
ludamad 5bb2145
Merge github.com:AztecProtocol/aztec-packages into cg-lde-ad/integrat…
ludamad 729c7fc
serialisation and deserialisation work
maramihali a6bb02c
verifying!
ludamad 0db641c
Merge remote-tracking branch 'origin/master' into mm/rollup-tube
maramihali 844cfd9
Merge branch 'master' into cg-lde-ad/integrate-client-ivc
ludamad 92d3475
Merge remote-tracking branch 'origin/mm/rollup-tube' into cg-lde-ad/i…
ludamad 2f016d9
lots of hacking towards client ivc proving
ludamad 5c762de
prove_then_verify flow acir test passes
codygunton 2b3634c
fix bad merge
ludamad 95267a7
Merge remote-tracking branch 'origin/cg/constant-honk-proof-size' int…
lucasxia01 8dd3b82
hacking and changing constants to use honk in rollup circuits
lucasxia01 128197e
bump arithmetic
ludamad fea3b18
replace tail proof with ivc, get verifier failure
ludamad 9414601
add prove tube script for testing the tube related flows
maramihali 6985494
Merge remote-tracking branch 'origin/master' into cg-lde-ad/integrate…
codygunton 6dad5ad
stuff
maramihali c7c759f
Merge remote-tracking branch 'origin/master' into mm/tube-typescript
maramihali 30c10e9
fix bad merge
ludamad 93ec8df
fix errors
maramihali 4c73e3a
removed aggregation obj and got the base rollup test passing
lucasxia01 8bcf0d1
Toward client ivc proof size
codygunton dfec90d
Merge remote-tracking branch 'origin/master' into lx/honk-in-rollup
codygunton f6df506
client ivc proof hacking
ludamad b193e7a
Merge remote-tracking branch 'origin/master' into cg-lde-ad/integrate…
ludamad 5494185
tube works, need to add proof as json
maramihali ec09910
Merge remote-tracking branch 'origin/master' into mm/tube-typescript
maramihali 1051138
Hacking
ludamad 45be902
Merge remote-tracking branch 'origin/master' into mm/tube-typescript
maramihali 7490944
cleanup
maramihali 1fb8657
fix comment
maramihali 2d55f5d
add tube test
maramihali 1c9506d
remove vk hacks
maramihali c3674f9
Step toward adding new constants
codygunton af0a9e7
Kernel data uses tube proof length
codygunton 4ceb5d4
Create PaddingProcessedTxFromTube and change constants; fail at mapRe…
codygunton 5777f0d
Introduce tube proof length
codygunton 40d25f2
add notes
codygunton fb8ab2c
squash; prove_then_verify flow acir test passes
codygunton 8039b6b
add serialization for hacky ivc proofs
ludamad 6e62157
Merge branch 'cg/constant-honk-proof-size' into lx/honk-in-rollup
codygunton d658799
Merge remote-tracking branch 'origin/master' into mm/tube-typescript
maramihali f6fe71e
serialization for clientivcproof
ludamad 2b5518a
Fix merge
codygunton ad41ab5
Merge remote-tracking branch 'origin/lx/honk-in-rollup' into mm-lx/li…
maramihali 305b534
bb changes
ludamad 92eab29
Merge remote-tracking branch 'origin/mm/tube-typescript' into cg-lde-…
ludamad 6f671b6
Merge branch 'master' into cg-lde-ad/integrate-client-ivc
ludamad 3da2f66
post merge
ludamad da5c7e2
Merge remote-tracking branch 'origin/cg-lde-ad/integrate-client-ivc' …
ludamad a69b11d
working tube
ludamad d200329
pain after merging
ludamad 19b5464
WIP
codygunton 22574b6
proof
ludamad 17372c3
refactoring, _2 suffix to _msgpack, extra file writing methods
ludamad 99b9b7e
Merge branch 'master' into cg/constant-honk-proof-size
codygunton 3bec7b1
things run, a path is wrong
maramihali be4412f
fix wrong path
maramihali 6b050fa
bb_prover_base_rollup passed with creating tube
maramihali 8e6d43f
summer time cleaning: add some comments, remove unnecessary stuff tha…
maramihali c251b9a
Fix tube (for me)
codygunton 2a53d79
Reinstate public part of full test; it passes but...
codygunton 7ff8124
Reinstate public part of full test; it passes but...
codygunton 0fb7ef9
Merge branch 'cg-lde-ad/integrate-client-ivc' of github.com:AztecProt…
ludamad c427376
proof cache fix to not reprove
ludamad 4becd59
ability for proofs to be sent out
ludamad 861f2a1
use dir
ludamad 15de17c
Merge remote-tracking branch 'origin/mm-lx/linking-work' into cg-lde-…
ludamad 69d3505
Merge
ludamad e748edd
use test circuit verifier for now
ludamad a9745fa
disable cleanup for now
ludamad 6fa276b
Remove recursive verifications; passes tube verification (+caching bu…
codygunton fd23590
try to implement tube caching
ludamad f3a11a1
wire TubeInputs
ludamad 1b58393
Patch from Adam
codygunton 84ebc99
WIP try to bring verifiers back for public (proof construction makes …
codygunton 2edb0e8
Make stdlib Zm verifier test; it fails.
codygunton 3e6e746
Trying to debug
codygunton 8ffeda0
It passes
codygunton 15beef5
WIP including sumcheck (need more stuff from lx/)
codygunton c22a8e7
getting it to build (with hacks)
lucasxia01 63dd3bc
modified dummy rounds to be end of sumcheck, native ultra_honk tests …
lucasxia01 7afccfe
passed dummy_round to univariate_eval - recursive verifier test passes
lucasxia01 0dd7530
cherrypicked - Implement vk hash and check
codygunton d6e1efb
moved recursive verifier changes to this branch from honk-in-rollup
lucasxia01 fe85e03
updating acir/prover.toml of test programs - prove_then_verify flow p…
lucasxia01 25d0a15
don't pass the witness to the write_vk_honk flow
lucasxia01 ebe4115
Detect rec ver vk changes in test
codygunton 0036183
Note bad values
codygunton 5db6800
check outer circuit vk not inner
ledwards2225 cc9962a
Try running public stuff
codygunton 302945a
Merge branch 'master' into cg/constant-honk-proof-size
ledwards2225 ff23a57
missed test suite updates
ledwards2225 ad22a00
add back in PCS round missed in merge
ledwards2225 3e881e3
Merge branch 'master' into cg/constant-honk-proof-size
ledwards2225 d138cbc
fix wrapping size_t exponent in ZM
ledwards2225 41e8e50
update Prover.toml and disable tube acir test for now
ledwards2225 48605a7
Merge branch 'cg/constant-honk-proof-size' into cg-lde-ad/integrate-c…
codygunton 6f1767a
Fix AcirHonkRecursionConstraint.TestFullRecursiveComposition
codygunton dcd01e3
updating proof size and prover toml
ledwards2225 e4c553b
moving changes to honk_recursion_constraint over from other branch
lucasxia01 503adcc
revert rebuild script changes
ledwards2225 d23f83d
Fix typescript IVC. Tube
codygunton d520d8f
Build AVM
codygunton 87c9984
Adjust logging
codygunton fd378aa
vk hash agrees for verify_honk_proof thru sumcheck
ledwards2225 84ba6fa
infinite llopy?
ledwards2225 5fe6080
Build avm
codygunton 61b6744
No infinite llopy
codygunton 4ede58a
Pow in Zm uses witness
codygunton 6d460c0
Skip it
codygunton 5ca1060
prove_then_verify passes!
codygunton 08d7f98
Merge branch 'cg/constant-honk-proof-size' into cg-lde-ad/integrate-c…
codygunton 97d7112
Fix bootstrap
codygunton 5e4ea9d
Merge branch 'master' into cg/constant-honk-proof-size
ledwards2225 41677b7
revert rebuild changes
ledwards2225 60006b3
Fix build bb-prover and prover-client
codygunton ecf2cec
delete recusion kernel pinning and fix build
ledwards2225 938c39e
Merge remote-tracking branch 'origin/cg/constant-honk-proof-size' int…
codygunton a6831b4
Update constants
codygunton 137ab4e
fix gcc
ledwards2225 6fe0cc1
AVM fails to verify
codygunton 82810ff
SkipAVM verification; Tube verifies; PUBLIC_KERNEL_NON_TAIL does not
codygunton b1fbd1e
remove lookup delta, maybe fix build?
ledwards2225 8c48c76
Merge branch 'master' into cg/constant-honk-proof-size
lucasxia01 97f736b
Trying to cut out tube proving from public side; one base parity does…
codygunton 3d871a7
Merge remote-tracking branch 'origin/cg/constant-honk-proof-size' int…
lucasxia01 1732337
passes base rollup test, different error in full test (actually 1 out…
lucasxia01 20ea9aa
runInDirectory
ludamad 4ac928d
Merge remote-tracking branch 'origin/lx/ultrahonk-in-rollup' into cg-…
codygunton cc6e1a6
Post-merge fix
codygunton aeb461a
Merge remote-tracking branch 'origin/master' into cg-lde-ad/integrate…
codygunton 2aaf7f5
Fix build
codygunton 25f161f
Revert this that demonstrates base & full rollup tests pass
codygunton 81eb07c
Revert "Revert this that demonstrates base & full rollup tests pass"
codygunton a0b1150
pxe/kernel_prover.ts: conditional artifact fofor PrivateKernelTailToP…
ludamad 70008b8
Merge github.com:AztecProtocol/aztec-packages into cg-lde-ad/integrat…
ludamad 1623459
Merge remote-tracking branch 'origin/cg-lde-ad/integrate-client-ivc' …
ludamad 8040b0e
Change to mirror change in base rollup!
codygunton 3972408
cleanup and trying to get tube proof in
ludamad 026d7c6
fix compile
ludamad e96145d
log
ludamad 9d1802e
log
ludamad a7c184d
Fix kernel
codygunton 2e224f7
Cleanup and note // PUBLIC KERNEl
codygunton 6776c26
debug adjustment
ludamad e8f0657
We get to the public kernel tail
codygunton 6bd6dc8
It passed
codygunton c6a1495
It passed a second time
codygunton e5a7944
Delete logs to get better sense of PR size
codygunton b46e174
Remove huge log
codygunton 704c756
Merge remote-tracking branch 'origin/master' into cg-lde-ad/integrate…
codygunton 8d0d6f1
Fix Bb build from "accept all incoming changes"
codygunton 1f4dbf3
Perhaps I was overzealous checking out all of Bb
codygunton 7fa4f0a
It fails
codygunton 204235c
Passes again!--TODO: handle agg object.
codygunton 25149e9
Remove log
codygunton 0a7671f
Some cleanup
codygunton 419acbf
Clean up logs, comments, todos. It passes
codygunton 28c2f4c
Remove log
codygunton c74c41f
Merge branch 'master' into cg-lde-ad/integrate-client-ivc
ledwards2225 1acb679
formatting in nr protocol circuits
ledwards2225 b047ada
max block size tracker
ledwards2225 94e7677
increment poseidon external size
ledwards2225 d272c74
honk recursion constraint test fix
lucasxia01 bb2b0b3
decrease fixed block sizes where possible
ledwards2225 fd506b7
bump srs sizes in fold and verify
ledwards2225 abfc338
Merge branch 'master' into cg-lde-ad/integrate-client-ivc
ledwards2225 cfcf053
verify honk proof test program inputs/circuit fixed
lucasxia01 b2887db
Merge remote-tracking branch 'origin/master' into cg-lde-ad/integrate…
lucasxia01 1ddce94
try skip
ludamad 23f3dba
try fix runner
ludamad efb0389
adding some bberg issues, fxing some LONDONTODOS, cleaning up
ledwards2225 824e867
add aggregation obj todos
lucasxia01 0a6f120
ci
ludamad f96b69c
Revert "try fix runner"
ludamad e87a4f6
redo earthly-ci fix
ludamad 1cceac5
feat(ivc): make private kernels only prove thru IVC flow (#7348)
ludamad 32f44ba
fixes for public_processor.test.ts
ludamad 555c2dd
fix gates_report script to use honk
lucasxia01 de800b0
fix: revert bad invalidation
ludamad 0059685
Merge remote-tracking branch 'origin/cg-lde-ad/integrate-client-ivc' …
ludamad 51adb5d
fix kernel_prover.test.ts
ludamad 165cb85
Increase tester ttl
ludamad 6a69fe0
try proving test fix
ludamad f32a3a3
some cleanup (yarn formatting and console.errors)
lucasxia01 bd01afc
p2p fixes
ludamad 6a4274b
Undo STACK call
ludamad 650636e
Proof yarn format fix
ludamad fd23db5
ci
ludamad a8538b8
try delay 2 pxes e2e to avoid race condition
ludamad a860ce2
Merge remote-tracking branch 'origin/master' into cg-lde-ad/integrate…
ludamad 7984a0b
merge conflict fixing
ludamad 64b2032
try write_vk_ultra_honk
ludamad 335ac76
its building
ludamad 926e1e8
remake constants
ludamad f6be505
building again
ludamad 2beb482
Ultrahonk
ludamad 5458ea6
bb hash
ludamad 865e7c4
bb hash
ludamad e75f148
disabled
ludamad f5b675c
Merge remote-tracking branch 'origin/master' into cg-lde-ad/integrate…
ludamad 29003ff
fixes
ludamad 8ef64b5
fixes
ludamad 12dc35c
Revert "try write_vk_ultra_honk"
ludamad 57c7b9c
fix vk mismerge
ludamad 2bf44ff
fix
ludamad 2b984af
honking
ludamad e86bd9b
Merge branch 'fixes' into cg-lde-ad/integrate-client-ivc
ludamad bbfb6e3
nargo fmt
ludamad 7aded71
try to change vk hash?
ludamad f5e7f68
full test rever t master
ludamad 79eac15
yarn formatting:fix
ludamad 4e8d769
fix expect-error
ludamad b3c91a0
yarn formatting:fix
ludamad 26174fd
yarn formatting:fix
ludamad 549ecb4
ci
ludamad b3e0a21
Merge remote-tracking branch 'origin/master' into cg-lde-ad/integrate…
ludamad 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "LLDB: Prove Ultra Honk Output All", | ||
"type": "lldb", | ||
"request": "launch", | ||
"program": "/mnt/user-data/adam/aztec-packages/barretenberg/cpp/build-debug/bin/bb", | ||
"args": [ | ||
"prove_ultra_honk_output_all", | ||
"-o", "/tmp/bb-095XQV/tmp-PPXk0y", | ||
"-b", "/tmp/bb-095XQV/tmp-PPXk0y/PrivateKernelInitArtifact-bytecode", | ||
"-w", "/tmp/bb-095XQV/tmp-PPXk0y/witness.gz", | ||
"-v" | ||
], | ||
"cwd": "${workspaceFolder}", | ||
"stopOnEntry": false | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
include(FetchContent) | ||
|
||
FetchContent_Declare( | ||
libdeflate | ||
GIT_REPOSITORY https://github.com/ebiggers/libdeflate.git | ||
GIT_TAG b03254d978d7af21a7512dee8fdc3367bc15c656 | ||
) | ||
|
||
# Download and populate libdeflate | ||
FetchContent_MakeAvailable(libdeflate) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
#include <cstdint> | ||
|
||
namespace bb { | ||
// The log of the max circuit size assumed in order to achieve constant sized proofs | ||
// The log of the max circuit size assumed in order to achieve constant sized Honk proofs | ||
// LONDONTODO(CONSTANT SIEZ): This shoudl go away. In the short term, will this be a problem for the AVM? | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ledwards2225 is there anything to do here? |
||
static constexpr uint32_t CONST_PROOF_SIZE_LOG_N = 28; | ||
} // namespace bb |
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.
typo?