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

Commit

Permalink
feat(prover): update unretryable error check (#532)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha committed Jan 25, 2024
1 parent 5f570ac commit 338af66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prover/proof_submitter/transaction/sender.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func (s *Sender) validateProof(ctx context.Context, proofWithHeader *producer.Pr
// isSubmitProofTxErrorRetryable checks whether the error returned by a proof submission transaction
// is retryable.
func isSubmitProofTxErrorRetryable(err error, blockID *big.Int) bool {
if !strings.HasPrefix(err.Error(), "L1_") {
if !strings.HasPrefix(err.Error(), "L1_") && !strings.HasPrefix(err.Error(), "PROVING_FAILED") {
return true
}

Expand Down

0 comments on commit 338af66

Please sign in to comment.