@@ -357,7 +357,7 @@ impl CompileTimeKnowledge {
357357}
358358
359359#[ derive( Serialize , Deserialize ) ]
360- struct RunTimeKnowledge < S : SpartanExtensionField > {
360+ struct RunTimeKnowledge < S : SpartanExtensionField + Send + Sync > {
361361 block_max_num_proofs : usize ,
362362 block_num_proofs : Vec < usize > ,
363363 consis_num_proofs : usize ,
@@ -382,7 +382,7 @@ struct RunTimeKnowledge<S: SpartanExtensionField> {
382382 output_exec_num : usize ,
383383}
384384
385- impl < S : SpartanExtensionField > RunTimeKnowledge < S > {
385+ impl < S : SpartanExtensionField + Send + Sync > RunTimeKnowledge < S > {
386386 fn serialize_to_file ( & self , benchmark_name : String , max_file_size : usize ) -> std:: io:: Result < ( ) > {
387387 let content = bincode:: serialize ( & self ) . unwrap ( ) ;
388388 println ! ( "RTK SIZE: {}" , content. len( ) ) ;
@@ -842,7 +842,7 @@ fn get_compile_time_knowledge<const VERBOSE: bool>(
842842// --
843843// Generate witnesses and others
844844// --
845- fn get_run_time_knowledge < const VERBOSE : bool , S : SpartanExtensionField > (
845+ fn get_run_time_knowledge < const VERBOSE : bool , S : SpartanExtensionField + Send + Sync > (
846846 path : PathBuf ,
847847 options : & Options ,
848848 entry_regs : Vec < Integer > ,
@@ -1277,7 +1277,7 @@ fn get_run_time_knowledge<const VERBOSE: bool, S: SpartanExtensionField>(
12771277 }
12781278}
12791279
1280- fn run_spartan_proof < S : SpartanExtensionField > (
1280+ fn run_spartan_proof < S : SpartanExtensionField + Send + Sync > (
12811281 ctk : CompileTimeKnowledge ,
12821282 rtk : RunTimeKnowledge < S > ,
12831283) {
0 commit comments