Skip to content

Commit 37dce71

Browse files
committed
refactor: fetch proofs function name
1 parent d4c454a commit 37dce71

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

aggregation_mode/proof_aggregator/src/backend/fetcher.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ impl ProofsFetcher {
2323
Self { db }
2424
}
2525

26-
pub async fn query(
26+
pub async fn fetch_pending_proofs(
2727
&self,
2828
engine: ZKVMEngine,
2929
limit: i64,

aggregation_mode/proof_aggregator/src/backend/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ impl ProofAggregator {
136136
) -> Result<(), AggregatedProofSubmissionError> {
137137
let (proofs, tasks_id) = self
138138
.fetcher
139-
.query(self.engine.clone(), self.config.total_proofs_limit as i64)
139+
.fetch_pending_proofs(self.engine.clone(), self.config.total_proofs_limit as i64)
140140
.await
141141
.map_err(AggregatedProofSubmissionError::FetchingProofs)?;
142142

0 commit comments

Comments
 (0)