@@ -5,46 +5,25 @@ use crate::zkvm_verifier::binding::{
55 ZKVMProofInput , E , F ,
66} ;
77
8- use crate :: basefold_verifier:: query_phase:: QueryPhaseVerifierInput ;
9- use crate :: zkvm_verifier:: verifier:: { verify_gkr_circuit, verify_zkvm_proof} ;
8+ use crate :: zkvm_verifier:: verifier:: verify_zkvm_proof;
109use ceno_mle:: util:: ceil_log2;
11- use ceno_transcript:: BasicTranscript ;
1210use ceno_zkvm:: scheme:: ZKVMProof ;
1311use ceno_zkvm:: structs:: ZKVMVerifyingKey ;
1412use ff_ext:: BabyBearExt4 ;
15- use gkr_iop:: gkr:: {
16- layer:: sumcheck_layer:: { SumcheckLayer , SumcheckLayerProof } ,
17- GKRCircuit ,
18- } ;
19- use itertools:: Itertools ;
2013use mpcs:: { Basefold , BasefoldRSParams } ;
21- use openvm_circuit:: arch:: {
22- instructions:: program:: Program , verify_single, SystemConfig , VirtualMachine , VmExecutor ,
23- } ;
24- use openvm_native_circuit:: { Native , NativeConfig } ;
14+ use openvm_circuit:: arch:: instructions:: program:: Program ;
2515use openvm_native_compiler:: {
2616 asm:: AsmBuilder ,
2717 conversion:: { convert_program, CompilerOptions } ,
2818 prelude:: AsmCompiler ,
2919} ;
3020use openvm_native_recursion:: hints:: Hintable ;
3121use openvm_stark_backend:: config:: StarkGenericConfig ;
32- use openvm_stark_sdk:: {
33- config:: {
34- baby_bear_poseidon2:: { BabyBearPoseidon2Config , BabyBearPoseidon2Engine } ,
35- fri_params:: standard_fri_params_with_100_bits_conjectured_security,
36- setup_tracing_with_log_level, FriParameters ,
37- } ,
38- engine:: StarkFriEngine ,
39- p3_baby_bear:: BabyBear ,
40- } ;
41- use std:: fs:: File ;
22+ use openvm_stark_sdk:: config:: baby_bear_poseidon2:: BabyBearPoseidon2Config ;
4223
4324type SC = BabyBearPoseidon2Config ;
4425type EF = <SC as StarkGenericConfig >:: Challenge ;
4526
46- use ceno_zkvm:: { scheme:: verifier:: ZKVMVerifier , structs:: ComposedConstrainSystem } ;
47-
4827pub fn parse_zkvm_proof_import (
4928 zkvm_proof : ZKVMProof < BabyBearExt4 , Basefold < BabyBearExt4 , BasefoldRSParams > > ,
5029 vk : & ZKVMVerifyingKey < BabyBearExt4 , Basefold < BabyBearExt4 , BasefoldRSParams > > ,
@@ -262,7 +241,7 @@ pub fn parse_zkvm_proof_import(
262241 (
263242 1 ,
264243 SumcheckLayerProofInput {
265- proof : iop_messages,
244+ proof : iop_messages. into ( ) ,
266245 evals,
267246 } ,
268247 )
@@ -290,7 +269,7 @@ pub fn parse_zkvm_proof_import(
290269 }
291270
292271 let main = SumcheckLayerProofInput {
293- proof : iop_messages,
272+ proof : iop_messages. into ( ) ,
294273 evals,
295274 } ;
296275
0 commit comments