Skip to content

Commit e763ee6

Browse files
committed
fix: proving system id i32 in get_pending_tasks_and_mark_them_as_processing
1 parent d087c55 commit e763ee6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

aggregation_mode/proof_aggregator/src/backend/db.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ impl Db {
2525

2626
pub async fn get_pending_tasks_and_mark_them_as_processing(
2727
&self,
28-
proving_system_id: i64,
28+
proving_system_id: i32,
2929
limit: i64,
3030
) -> Result<Vec<Task>, DbError> {
3131
sqlx::query_as::<_, Task>(

aggregation_mode/proof_aggregator/src/backend/fetcher.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ impl ProofsFetcher {
3030
) -> Result<(Vec<AlignedProof>, Vec<Uuid>), ProofsFetcherError> {
3131
let tasks = self
3232
.db
33-
.get_pending_tasks_and_mark_them_as_processing(engine.proving_system_id() as i64, limit)
33+
.get_pending_tasks_and_mark_them_as_processing(engine.proving_system_id() as i32, limit)
3434
.await
3535
.map_err(ProofsFetcherError::Query)?;
3636

0 commit comments

Comments
 (0)