11use schnorr_sig_verify:: { SchnorrSigInput , SchnorrSigProver } ;
2- use strata_zkvm:: { ProofReceipt , ProofReport , ZkVmHost , ZkVmHostPerf , ZkVmProver , ZkVmProverPerf } ;
2+ use strata_zkvm:: { ProofReport , ZkVmHostPerf , ZkVmProverPerf } ;
33
44fn perf_report ( host : & impl ZkVmHostPerf ) -> ProofReport {
55 let input = SchnorrSigInput :: new_random ( ) ;
@@ -11,24 +11,25 @@ fn perf_report(host: &impl ZkVmHostPerf) -> ProofReport {
1111pub fn sp1_schnorr_sig_verify_report ( ) -> ProofReport {
1212 use strata_sp1_adapter:: SP1Host ;
1313 use strata_sp1_artifacts:: SCHNORR_SIG_VERIFY_ELF ;
14- let host = SP1Host :: init ( & SCHNORR_SIG_VERIFY_ELF ) ;
14+ let host = SP1Host :: init ( SCHNORR_SIG_VERIFY_ELF ) ;
1515 perf_report ( & host)
1616}
1717
1818#[ cfg( feature = "risc0" ) ]
1919pub fn risc0_schnorr_sig_verify_report ( ) -> ProofReport {
2020 use strata_risc0_adapter:: Risc0Host ;
2121 use strata_risc0_artifacts:: GUEST_RISC0_SCHNORR_SIG_VERIFY_ELF ;
22- let host = Risc0Host :: init ( & GUEST_RISC0_SCHNORR_SIG_VERIFY_ELF ) ;
22+ let host = Risc0Host :: init ( GUEST_RISC0_SCHNORR_SIG_VERIFY_ELF ) ;
2323 perf_report ( & host)
2424}
2525
26+ #[ allow( dead_code) ]
2627pub fn make_proofs ( ) {
2728 #[ cfg( feature = "sp1" ) ]
28- let report = sp1_proof_report ( ) ;
29+ let report = sp1_schnorr_sig_verify_report ( ) ;
2930 println ! ( "{}" , report. cycles) ;
3031
3132 #[ cfg( feature = "risc0" ) ]
32- let report = risc0_proof_report ( ) ;
33+ let report = risc0_schnorr_sig_verify_report ( ) ;
3334 println ! ( "{}" , report. cycles) ;
3435}
0 commit comments