Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
8dcb587
Tests to verify what msgpack does
aakoshh Mar 14, 2025
305e04b
Generate code to serialize with msgpack
aakoshh Mar 14, 2025
9f6810e
Unpack newtypes
aakoshh Mar 14, 2025
87a3842
Unpack enum
aakoshh Mar 14, 2025
1d71bbd
include msgpack.hpp
aakoshh Mar 14, 2025
efbc91e
Throw if variant is unknown
aakoshh Mar 14, 2025
baff280
Add NOIR_CODEGEN_OVERWRITE
aakoshh Mar 14, 2025
cea2c8a
Fix clippy
aakoshh Mar 14, 2025
eaf30e5
Generate empty pack and unpack for enum variants
aakoshh Mar 14, 2025
9199ae8
Include the enum name in error messages
aakoshh Mar 14, 2025
cdfd50c
Factor out common codegen
aakoshh Mar 17, 2025
6440535
Replace throw with throw_or_abort
aakoshh Mar 17, 2025
772e3fe
Fix clippy
aakoshh Mar 17, 2025
941c50a
Fix some C++ compilation issues
aakoshh Mar 17, 2025
a5c19a8
Fix the msgpack::object stuff to compile
aakoshh Mar 18, 2025
2362625
Try to just use packer.pack and object.convert
aakoshh Mar 18, 2025
a55706b
Change the namespace names to avoid ambiguity
aakoshh Mar 18, 2025
9873e54
Add Witness lt
aakoshh Mar 18, 2025
90186d3
Add serialization::Format and deserialize_any_format
aakoshh Mar 19, 2025
bca8444
Add serialize_with_format
aakoshh Mar 19, 2025
ce6e208
Fix hash check
aakoshh Mar 19, 2025
2866902
Add Format::from_env and serialize_with_format_from_env
aakoshh Mar 19, 2025
6385875
Call prove_and_verify/test.sh from anywhere
aakoshh Mar 19, 2025
b938e2c
Ignore package.tgz
aakoshh Mar 19, 2025
dcceea1
Use o.via.map
aakoshh Mar 19, 2025
7f08a7d
Try with auto o
aakoshh Mar 21, 2025
8df5948
Go back to const& o
aakoshh Mar 21, 2025
60d37ae
Test for mixed enums
aakoshh Mar 21, 2025
2e62512
Handle strings or maps in enums
aakoshh Mar 21, 2025
1639375
Remove the debug lines
aakoshh Mar 21, 2025
b60ea0a
Add ProgramWithoutBrillig
aakoshh Mar 21, 2025
61de9a7
Fix clippy
aakoshh Mar 21, 2025
db340e9
Remove WitnessMap to/from Vec
aakoshh Mar 21, 2025
2476763
Remove WitnessStack to/from Vec
aakoshh Mar 21, 2025
be6e27f
Fix name in error description
aakoshh Mar 21, 2025
eb74165
Fix comments
aakoshh Mar 21, 2025
dac6500
Fix packing is_unit
aakoshh Mar 21, 2025
3755725
Unindent newtype body
aakoshh Mar 21, 2025
c129395
Add GITHUB_TOKEN to formatting
aakoshh Mar 21, 2025
17d85a8
Don't use visitor for unit enums
aakoshh Mar 21, 2025
3c60031
Generate code for structs
aakoshh Mar 25, 2025
e81cb5e
Print field that can't be deserialized
aakoshh Mar 25, 2025
835de54
Comment about MSGPACK_FIELDS vs Helpers
aakoshh Mar 25, 2025
48e25d5
Use string references in Helpers
aakoshh Mar 27, 2025
d20a203
Use MSGPACK_FIELDS. Remove Helpers
aakoshh Mar 27, 2025
619ba02
Restore Helpers
aakoshh Mar 28, 2025
d17e8c0
Do not throw error if an optional field is missing
aakoshh Mar 28, 2025
3d59c68
Test to show that empty predicate is present in the data as NIL
aakoshh Mar 28, 2025
3ba5c7b
Update acvm-repo/acir/src/lib.rs
aakoshh Apr 15, 2025
75c5a09
Update acvm-repo/acir/src/lib.rs
aakoshh Apr 15, 2025
d028b28
Merge branch 'master' into af/msgpack-codegen
aakoshh Apr 15, 2025
a66d0ef
Fix the merge
aakoshh Apr 15, 2025
2427314
Merge branch 'master' into af/msgpack-codegen
guipublic Apr 16, 2025
f63b7bb
Merge branch 'master' into af/msgpack-codegen
TomAFrench May 13, 2025
4f8ee67
Merge branch 'master' into af/msgpack-codegen
guipublic May 15, 2025
a4d013a
Update Cargo.lock
aakoshh May 15, 2025
3e44754
Add Adam's shared_ptr hack
aakoshh May 15, 2025
4c9116b
Merge branch 'master' into af/msgpack-codegen
guipublic May 15, 2025
2d7e01a
update cargo.lock
guipublic May 15, 2025
33cfbc8
Merge branch 'af/msgpack-codegen' of github.com:noir-lang/noir into a…
aakoshh May 15, 2025
91271d1
update acir.cpp
guipublic May 15, 2025
7f79f12
Update acvm-repo/acir/src/lib.rs
aakoshh May 16, 2025
7e88d2d
Merge branch 'master' into af/msgpack-codegen
guipublic May 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,6 @@ codegen

mutants.out
mutants.out.old

# Artifacts created by `noir/bootstrap.sh build_packages` in aztec-packages
**/package.tgz
34 changes: 34 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ protoc-prebuilt = "0.3"
# MessagePack
rmp = "0.8.14"
rmp-serde = "1.3.0"
rmpv = "1.3.0"

arbitrary = "1.4.1"
arbtest = "0.3.2"
Expand All @@ -176,6 +177,7 @@ lazy_static = "1.4"
libfuzzer-sys = "0.4"
num-bigint = "0.4"
num-traits = "0.2"
num_enum = "0.7.3"
num-integer = "0.1"
regex = "1.11"
similar = "2.7.0"
Expand Down
3 changes: 3 additions & 0 deletions acvm-repo/acir/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ thiserror.workspace = true
flate2.workspace = true
bincode.workspace = true
base64.workspace = true
num_enum.workspace = true
prost.workspace = true
rmp-serde.workspace = true
serde-big-array = "0.5.1"
Expand All @@ -47,6 +48,8 @@ fxhash.workspace = true
criterion.workspace = true
pprof.workspace = true
num-bigint.workspace = true
regex.workspace = true
rmpv.workspace = true
insta.workspace = true

acir = { path = ".", features = ["arb"] } # Self to turn on `arb`.
Expand Down
Loading
Loading