File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
bin/prover-perf/src/programs Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ use strata_asm_spec::StrataAsmSpec;
1919use strata_asm_stf:: compute_asm_transition;
2020use strata_predicate:: PredicateKey ;
2121use zkaleido:: { PerformanceReport , ProofReceiptWithMetadata , ZkVmProgram , ZkVmProgramPerf } ;
22+ use zkaleido_sp1_groth16_verifier:: VK_HASH_PREFIX_LENGTH ;
2223use zkaleido_sp1_host:: SP1Host ;
2324
2425use crate :: programs:: { asm_stf:: asm_predicate_key, compute_sp1_predicate_key} ;
@@ -82,7 +83,7 @@ pub(crate) fn create_moho_recursive_input() -> MohoRecursiveInput {
8283 . unwrap ( ) ;
8384 assert_eq ! ( expected_moho_transition, proven_moho_transition) ;
8485
85- let proof = asm_stf_proof. receipt ( ) . proof ( ) . as_bytes ( ) ;
86+ let proof = & asm_stf_proof. receipt ( ) . proof ( ) . as_bytes ( ) [ VK_HASH_PREFIX_LENGTH .. ] ;
8687 let incremental_step_proof =
8788 MohoTransitionWithProof :: new ( expected_moho_transition, proof. to_vec ( ) ) ;
8889
You can’t perform that action at this time.
0 commit comments