Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Commit

Permalink
fix(prover): fix maxRetry configuration when submitting proofs (#364)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha committed Aug 16, 2023
1 parent 8af69ad commit 473537c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions prover/proof_submitter/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ func sendTxWithBackoff(

return nil
}, backOffPolicy); err != nil {
if maxRetry != nil {
log.Error("Failed to send TaikoL1.proveBlock transaction", "error", err, "maxRetry", *maxRetry)
return errUnretryable
}
return fmt.Errorf("failed to send TaikoL1.proveBlock transaction: %w", err)
}

Expand Down

0 comments on commit 473537c

Please sign in to comment.