You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of the CLI11 introduction work, in noir-protocol-circuits bootstrap and in noir-bb-bench generate_artifacts.sh, I replaced a call to write_vk + a call to vk_as_fields by two calls to write_vk with different output types. This is inefficient because it constructs the circuit twice. Should fix by using the bytes_and_fields option and using the disk, or doing a command line conversion as in (head -c $((32*10)) /dev/urandom | od -t x1 -An | tr -d ' \n' | sed 's/\(.\{64\}\)/0x\1\n/g' | jq -R -s 'split("\n") | map(select(. != ""))')
The text was updated successfully, but these errors were encountered:
Overhaul the Barretenberg binary and its API.
- Breaks up bb main into different files organized by proving system /
IVC scheme.
- Make UltraHonk conform to the new API interface introduced earlier for
Client IVC.
- Refines the API a bit.
- Introduces [CLI11](https://github.com/CLIUtils/CLI11) to: provide help
/ documentation; validate opts (options can be required, exlusive of
each other, validated against predicates like "path exists" or "string
is in list"); also allows for easy environment variable aliasing.
This could definitely use some more a help.
- Lots of documentation needed
- Defaults are set in a weird and inconsistent way and that information
isn't included in the documentation.
- The help menus are perhaps too verbose. Subcommands can't inherit
options or flags so we end up repeating.
- Empty string cannot be passed and parsed to a "nothing argument" which
can lead to frustrating debugging...
- Little option validation is actually implemented.
- Deprecated options aren't noted but they could be.
It was requested that the default change from UltraPlonk to UltraHonk,
but we get rid of a default set of commands altogether. As a workaround,
we can have users set `BB_SCHEME=ultra_honk`.
Newly created issues:
#1252,
#1253,
#1254,
#1255,
#1256,
#1257,
#1258,
#1259Resolves#1260
NB the line count is large because 1) CLI11 is a single 11k-line header;
2) I moved a lot of functions and some git mvs didn't show up as such.
Main new code is api_ultra_honk.hpp.
---------
Co-authored-by: ludamad <adam.domurad@gmail.com>
As part of the CLI11 introduction work, in noir-protocol-circuits bootstrap and in noir-bb-bench generate_artifacts.sh, I replaced a call to write_vk + a call to vk_as_fields by two calls to write_vk with different output types. This is inefficient because it constructs the circuit twice. Should fix by using the bytes_and_fields option and using the disk, or doing a command line conversion as in (
head -c $((32*10)) /dev/urandom | od -t x1 -An | tr -d ' \n' | sed 's/\(.\{64\}\)/0x\1\n/g' | jq -R -s 'split("\n") | map(select(. != ""))'
)The text was updated successfully, but these errors were encountered: