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

Commit 338af66

Browse files
committed
feat(prover): update unretryable error check (#532)
1 parent 5f570ac commit 338af66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prover/proof_submitter/transaction/sender.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ func (s *Sender) validateProof(ctx context.Context, proofWithHeader *producer.Pr
189189
// isSubmitProofTxErrorRetryable checks whether the error returned by a proof submission transaction
190190
// is retryable.
191191
func isSubmitProofTxErrorRetryable(err error, blockID *big.Int) bool {
192-
if !strings.HasPrefix(err.Error(), "L1_") {
192+
if !strings.HasPrefix(err.Error(), "L1_") && !strings.HasPrefix(err.Error(), "PROVING_FAILED") {
193193
return true
194194
}
195195

0 commit comments

Comments
 (0)