Skip to content

Commit 39d6771

Browse files
perf: set default num_children_internal=3 (#1573)
The total proving time of `num_children_internal=4` vs 3 is about the same, but 4 leads to the `internal.0` verifier circuit's size being larger than the leaf verifier, so for the sake of having smaller circuits, we switch to `3` as the default. This is configurable via CLI and SDK, so it's just a default for convenience.
1 parent 24c2cf3 commit 39d6771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/sdk/src/config/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pub const DEFAULT_ROOT_LOG_BLOWUP: usize = 3;
1818

1919
// Aggregation Tree Defaults
2020
const DEFAULT_NUM_CHILDREN_LEAF: usize = 1;
21-
const DEFAULT_NUM_CHILDREN_INTERNAL: usize = 4;
21+
const DEFAULT_NUM_CHILDREN_INTERNAL: usize = 3;
2222
const DEFAULT_MAX_INTERNAL_WRAPPER_LAYERS: usize = 4;
2323

2424
#[derive(Clone, Debug, Serialize, Deserialize)]

0 commit comments

Comments
 (0)