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.
1 parent 20cd6e8 commit 494bc48Copy full SHA for 494bc48
1 file changed
prover/src/lib.rs
@@ -615,6 +615,10 @@ pub fn prove_with_options_and_inputs(
615
#[cfg(feature = "disk-spill")]
616
storage_mode,
617
)?;
618
+ debug_assert_eq!(
619
+ traces.public_output_bytes, result.return_values.memory_values,
620
+ "public output diverged between executor view and trace reconstruction"
621
+ );
622
drop(result);
623
624
#[cfg(feature = "instruments")]
@@ -673,11 +677,6 @@ pub fn prove_with_options_and_inputs(
673
677
.filter(|c| c.is_private_input)
674
678
.count();
675
679
676
- debug_assert_eq!(
- traces.public_output_bytes, result.return_values.memory_values,
- "public output diverged between executor view and trace reconstruction"
- );
680
-
681
Ok(VmProof {
682
proof,
683
runtime_page_ranges,
0 commit comments