diff --git a/benchmarks/src/utils.rs b/benchmarks/src/utils.rs index e4b659be3..d3f233518 100644 --- a/benchmarks/src/utils.rs +++ b/benchmarks/src/utils.rs @@ -16,7 +16,9 @@ use openvm_sdk::{ DEFAULT_INTERNAL_LOG_BLOWUP, DEFAULT_LEAF_LOG_BLOWUP, DEFAULT_ROOT_LOG_BLOWUP, }, keygen::{leaf_keygen, AppProvingKey}, - prover::{vm::local::VmLocalProver, AppProver, LeafProvingController}, + prover::{ + vm::local::VmLocalProver, AppProver, LeafProvingController, DEFAULT_NUM_CHILDREN_LEAF, + }, StdIn, }; use openvm_stark_backend::utils::metrics_span; @@ -238,7 +240,9 @@ where leaf_vm_pk, app_pk.leaf_committed_exe, ); - let leaf_controller = LeafProvingController { num_children: 1 }; + let leaf_controller = LeafProvingController { + num_children: DEFAULT_NUM_CHILDREN_LEAF, + }; leaf_controller.generate_proof(&leaf_prover, &app_proof); } Ok(()) diff --git a/crates/sdk/src/prover/agg.rs b/crates/sdk/src/prover/agg.rs index 862847e6f..69944a8be 100644 --- a/crates/sdk/src/prover/agg.rs +++ b/crates/sdk/src/prover/agg.rs @@ -21,7 +21,7 @@ use crate::{ NonRootCommittedExe, RootSC, F, SC, }; -const DEFAULT_NUM_CHILDREN_LEAF: usize = 1; +pub const DEFAULT_NUM_CHILDREN_LEAF: usize = 1; const DEFAULT_NUM_CHILDREN_INTERNAL: usize = 2; const DEFAULT_MAX_INTERNAL_WRAPPER_LAYERS: usize = 4;