Skip to content

Commit

Permalink
chore(taiko-client): improve proofBuffer logs (#18669)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha authored Dec 30, 2024
1 parent e1af55a commit 3b0d786
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,12 @@ func (s *ProofSubmitter) RequestProof(ctx context.Context, meta metadata.TaikoBl
}
// Check if the proof buffer is full.
if s.proofBuffer.Enabled() && uint64(s.proofBuffer.Len()) >= s.proofBuffer.MaxLength {
log.Warn("Proof buffer is full now", "blockID", meta.GetBlockID())
log.Warn(
"Proof buffer is full now",
"blockID", meta.GetBlockID(),
"tier", meta.GetMinTier(),
"size", s.proofBuffer.Len(),
)
return errBufferOverflow
}
// Check if there is a need to generate proof
Expand Down

0 comments on commit 3b0d786

Please sign in to comment.