Skip to content

Commit 349c2d1

Browse files
committed
fix: proving system id type
1 parent ec97096 commit 349c2d1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

aggregation_mode/batcher/src/db.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ impl Db {
9999
pub async fn insert_task(
100100
&self,
101101
address: &str,
102-
proving_system_id: i64,
102+
proving_system_id: i32,
103103
proof: &[u8],
104104
program_commitment: &[u8],
105105
merkle_path: Option<&[u8]>,

aggregation_mode/batcher/src/server/http.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ impl BatcherServer {
177177
.db
178178
.insert_task(
179179
&recovered_address,
180-
AggregationModeProvingSystem::SP1.as_u16() as i64,
180+
AggregationModeProvingSystem::SP1.as_u16() as i32,
181181
&proof_content,
182182
&vk_content,
183183
None,

aggregation_mode/db/src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub enum TaskStatus {
1616
pub struct Task {
1717
pub task_id: Uuid,
1818
pub address: String,
19-
pub proving_system_id: i64,
19+
pub proving_system_id: i32,
2020
pub proof: Vec<u8>,
2121
pub program_commitment: Vec<u8>,
2222
pub merkle_path: Option<Vec<u8>>,

0 commit comments

Comments
 (0)