@@ -93,7 +93,7 @@ fn generate_verifier<F: FieldElement, W: std::io::Write>(
9393 Ok ( ( ) )
9494}
9595
96- pub fn zkvm_evm_execute_and_prove ( task : & str , suite_json : String , output_path : & str ) -> Result < ( ) > {
96+ pub fn zkvm_execute_and_prove ( task : & str , suite_json : String , output_path : & str ) -> Result < ( ) > {
9797 log:: debug!( "Compiling Rust..." ) ;
9898 let force_overwrite = true ;
9999 let with_bootloader = true ;
@@ -156,7 +156,7 @@ pub fn zkvm_evm_execute_and_prove(task: &str, suite_json: String, output_path: &
156156 Ok ( ( ) )
157157}
158158
159- pub fn zkvm_evm_generate_chunks (
159+ pub fn zkvm_generate_chunks (
160160 workspace : & str ,
161161 suite_json : & String ,
162162 output_path : & str ,
@@ -208,7 +208,7 @@ pub fn zkvm_evm_generate_chunks(
208208 Ok ( bootloader_inputs)
209209}
210210
211- pub fn zkvm_evm_prove_only (
211+ pub fn zkvm_prove_only (
212212 task : & str ,
213213 suite_json : & String ,
214214 bootloader_input : Vec < GoldilocksField > ,
@@ -283,16 +283,16 @@ mod tests {
283283 use num_traits:: identities:: Zero ;
284284 use std:: io:: { Read , Write } ;
285285
286- // RUST_MIN_STACK=2073741821 RUST_LOG=debug proxychains nohup cargo test --release test_zkvm_evm_prove -- --nocapture &
286+ // RUST_MIN_STACK=2073741821 RUST_LOG=debug proxychains nohup cargo test --release test_zkvm_prove -- --nocapture &
287287 #[ test]
288288 #[ ignore]
289- fn test_zkvm_evm_prove ( ) {
289+ fn test_zkvm_prove ( ) {
290290 env_logger:: try_init ( ) . unwrap_or_default ( ) ;
291291 //let test_file = "test-vectors/blockInfo.json";
292292 let test_file = "test-vectors/solidityExample.json" ;
293293 let suite_json = fs:: read_to_string ( test_file) . unwrap ( ) ;
294294
295- zkvm_evm_execute_and_prove ( "evm" , suite_json, "/tmp/test_evm" ) . unwrap ( ) ;
295+ zkvm_execute_and_prove ( "evm" , suite_json, "/tmp/test_evm" ) . unwrap ( ) ;
296296 }
297297
298298 #[ test]
@@ -303,7 +303,7 @@ mod tests {
303303 let test_file = "test-vectors/solidityExample.json" ;
304304 let suite_json = fs:: read_to_string ( test_file) . unwrap ( ) ;
305305
306- zkvm_evm_execute_and_prove ( "lr" , suite_json, "/tmp/test_lr" ) . unwrap ( ) ;
306+ zkvm_execute_and_prove ( "lr" , suite_json, "/tmp/test_lr" ) . unwrap ( ) ;
307307 }
308308
309309 #[ test]
@@ -318,7 +318,7 @@ mod tests {
318318 let task = "lr" ;
319319 let workspace = format ! ( "program/{}" , task) ;
320320 let bootloader_inputs =
321- zkvm_evm_generate_chunks ( workspace. as_str ( ) , & suite_json, output_path) . unwrap ( ) ;
321+ zkvm_generate_chunks ( workspace. as_str ( ) , & suite_json, output_path) . unwrap ( ) ;
322322 // save the chunks
323323 let bi_files: Vec < _ > = ( 0 ..bootloader_inputs. len ( ) )
324324 . map ( |i| Path :: new ( output_path) . join ( format ! ( "{task}_chunks_{i}.data" ) ) )
@@ -346,7 +346,7 @@ mod tests {
346346 * out = GoldilocksField :: from_bytes_le ( bin) ;
347347 } ) ;
348348
349- zkvm_evm_prove_only ( task, & suite_json, bi, i, output_path) . unwrap ( ) ;
349+ zkvm_prove_only ( task, & suite_json, bi, i, output_path) . unwrap ( ) ;
350350 } ) ;
351351 }
352352}
0 commit comments