We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
aggregate_leaf_proofs
1 parent 9601125 commit 62fe88aCopy full SHA for 62fe88a
crates/sdk/src/prover/agg.rs
@@ -108,7 +108,9 @@ impl<E: StarkFriEngine<SC>> AggStarkProver<E> {
108
let mut internal_node_idx = -1;
109
let mut internal_node_height = 0;
110
let mut proofs = leaf_proofs;
111
- while proofs.len() > 1 {
+ // We will always generate at least one internal proof, even if there is only one leaf
112
+ // proof, in order to shrink the proof size
113
+ while proofs.len() > 1 || internal_node_height == 0 {
114
let internal_inputs = InternalVmVerifierInput::chunk_leaf_or_internal_proofs(
115
self.internal_prover
116
.committed_exe
0 commit comments