Skip to content

Commit 6b70ab5

Browse files
committed
remove dbg, fix underflow
1 parent 1518cd8 commit 6b70ab5

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

executors/src/eoa/store/atomic.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,6 @@ impl AtomicEoaExecutorStore {
577577
results: Vec<SubmissionResult>,
578578
webhook_queue: Arc<twmq::Queue<WebhookJobHandler>>,
579579
) -> Result<BorrowedProcessingReport, TransactionStoreError> {
580-
dbg!("getting here", &results);
581580
self.execute_with_watch_and_retry(&ProcessBorrowedTransactions {
582581
results,
583582
keys: &self.keys,

executors/src/eoa/store/submitted.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ impl SafeRedisTransaction for CleanAndGetRecycledNonces<'_> {
462462
chain_id: self.keys.chain_id,
463463
});
464464
};
465-
count - 1
465+
count.saturating_sub(1)
466466
}
467467
};
468468

@@ -475,7 +475,7 @@ impl SafeRedisTransaction for CleanAndGetRecycledNonces<'_> {
475475
.filter(|nonce| *nonce < highest_submitted_nonce)
476476
.collect();
477477

478-
return Ok((highest_submitted_nonce, recycled_nonces));
478+
Ok((highest_submitted_nonce, recycled_nonces))
479479
}
480480

481481
fn operation(

executors/src/eoa/worker/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,8 +398,6 @@ impl<C: Chain> EoaExecutorWorker<C> {
398398
})
399399
.collect();
400400

401-
dbg!(&submission_results);
402-
403401
// TODO: Implement post-processing analysis for balance threshold updates and nonce resets
404402
// Currently we lose the granular error handling that was in the individual atomic operations.
405403
// Consider:

0 commit comments

Comments
 (0)