-
Notifications
You must be signed in to change notification settings - Fork 585
feat: msgpack encoding for Program and WitnessStack
#12841
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
Merged
Merged
Changes from 40 commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
5d95bb4
Commands to copy and format generated files
aakoshh c1bdb0d
Set noir to the feature branch
aakoshh f99c869
Change C++ codegen for serde/msgpack
aakoshh aeefaf3
Add Witness lt
aakoshh 07566e7
AVM transpiler Cargo.lock
aakoshh ab9b7ff
Merge branch 'master' into af/msgpack-codegen
aakoshh d356f69
Remove comments about massaging the C++ code
aakoshh 0d9dc22
Try to deserialize as msgpack instead of binpack
aakoshh 16124ce
Patch no longer needed with this branch
aakoshh 0ecd8d4
Use obj.via.map
aakoshh ebf72f5
Check if the data can be parsed as msgpack
aakoshh f764a86
Disable msgpack in bb
aakoshh c8f6157
Fixed codegen
aakoshh ffdeb65
Parse program with fallback
aakoshh d05544d
Parse Program ignoring Brillig
aakoshh 74880c2
Update msgpack git commit to include fix
aakoshh 15c1c71
Deserialize WitnessStack with msgpack
aakoshh 27349bc
Merge remote-tracking branch 'origin/master' into af/msgpack-codegen
aakoshh 24756ff
Fix catch
aakoshh dfd4ee8
Remove rmp-serde from avm-transpiler dependencies
aakoshh c82f1b1
Fix packing newtype is_unit
aakoshh 919ab7a
Don't use visit for unit variants
aakoshh a6ec247
Return optional msgpack::object to avoid double parsing
aakoshh 8c01b30
Merge branch 'master' into af/msgpack-codegen
aakoshh 8387aff
Revert "Return optional msgpack::object to avoid double parsing"
aakoshh 02e3d64
Check the value of the format byte
aakoshh 63254d3
Use lambdas to avoid double parsing
aakoshh 4123f84
Rename to deserialize_program and deserialize_witness_stack
aakoshh 859b4c3
Move docs into the header
aakoshh 4c57694
Typo
aakoshh a095acc
Try without using MSGPACK_FIELDS
aakoshh 0759002
Try copying into a buffer
aakoshh f8f0473
Revert "Try copying into a buffer"
aakoshh aba2338
Print field that can't be decoded
aakoshh 5810e3b
Fix dangling obj pointer
aakoshh 073a9d5
Revert to original msgpack-c commit version
aakoshh d26f4ff
Merge remote-tracking branch 'origin/master' into af/msgpack-codegen
aakoshh 4df2bf7
Merge branch 'master' into af/msgpack-codegen
aakoshh d39ebcf
Add docs to warn about keeping a reference to the object_handle
aakoshh e62c56b
Merge branch 'master' into af/msgpack-codegen
aakoshh 3561f81
Move deserializers into the cpp
aakoshh 44d05fd
Use MSGPACK_FIELDS. Remove Helpers.
aakoshh 7edaf24
Merge branch 'af/msgpack-codegen' of github.com:AztecProtocol/aztec-p…
aakoshh e3df1d1
Merge remote-tracking branch 'origin/master' into af/msgpack-codegen
aakoshh 18efc8b
Merge branch 'master' into af/msgpack-codegen
aakoshh 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 hidden or 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 hidden or 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
192 changes: 135 additions & 57 deletions
192
barretenberg/cpp/src/barretenberg/dsl/acir_format/acir_to_constraint_buf.cpp
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.