-
Notifications
You must be signed in to change notification settings - Fork 296
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
chore: using debug() in builder when failure happens. #11205
base: master
Are you sure you want to change the base?
Conversation
@@ -1314,8 +1314,7 @@ int main(int argc, char* argv[]) | |||
{ | |||
try { | |||
std::vector<std::string> args(argv + 1, argv + argc); | |||
debug_logging = flag_present(args, "-d") || flag_present(args, "--debug_logging"); |
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.
deleted because it was not being used anywhere. Instead use NDEBUG env var.
@@ -18,6 +18,7 @@ template <typename FF_> class CircuitBuilderBase { | |||
using EmbeddedCurve = std::conditional_t<std::same_as<FF, bb::g1::coordinate_field>, curve::BN254, curve::Grumpkin>; | |||
|
|||
size_t num_gates = 0; | |||
bool has_dummy_witnesses; |
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.
add comment and set to false
@@ -359,7 +359,7 @@ class UltraCircuitBuilder_ : public CircuitBuilderBase<typename ExecutionTrace_: | |||
const std::vector<uint32_t>& public_inputs, | |||
size_t varnum, | |||
bool recursive = false) | |||
: CircuitBuilderBase<FF>(size_hint) | |||
: CircuitBuilderBase<FF>(size_hint, witness_values.empty()) |
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.
both mega and ultra circuit builders will call this, so it should account for all write_vk flows
Changes to circuit sizes
🧾 Summary (100% most significant diffs)
Full diff report 👇
|
Please read contributing guidelines and remove this line.