Skip to content

Commit

Permalink
feat(taiko-client): optimize aggregation loggingain (#18643)
Browse files Browse the repository at this point in the history
  • Loading branch information
YoGhurt111 authored Dec 25, 2024
1 parent 98a98fd commit 688a426
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion packages/taiko-client/prover/proof_submitter/proof_submitter.go
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,16 @@ func (s *ProofSubmitter) AggregateProofs(ctx context.Context) error {
startTime,
)
if err != nil {
log.Error("Failed to request proof aggregation", "err", err)
if errors.Is(err, proofProducer.ErrProofInProgress) ||
errors.Is(err, proofProducer.ErrRetry) {
log.Info("Aggregating proofs",
"status", err,
"length", len(buffer),
"tier", s.Tier(),
)
} else {
log.Error("Failed to request proof aggregation", "err", err)
}
return err
}
s.batchResultCh <- result
Expand Down

0 comments on commit 688a426

Please sign in to comment.