Skip to content

Commit

Permalink
Fix solution_data not included in submission.
Browse files Browse the repository at this point in the history
  • Loading branch information
FiveMovesAhead committed Apr 23, 2024
1 parent fc24b3b commit c723f7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tig-protocol/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ pub trait Context {
settings: &BenchmarkSettings,
details: &BenchmarkDetails,
solutions_metadata: &Vec<SolutionMetaData>,
solution_data: &SolutionData,
) -> ContextResult<String>;
async fn add_proof_to_mempool(
&mut self,
Expand Down
1 change: 1 addition & 0 deletions tig-protocol/src/submit_benchmark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ pub(crate) async fn execute<T: Context>(
num_solutions: solutions_meta_data.len() as u32,
},
solutions_meta_data,
solution_data,
)
.await
.unwrap_or_else(|e| panic!("add_benchmark_to_mempool error: {:?}", e));
Expand Down

0 comments on commit c723f7d

Please sign in to comment.