From ae45d0f5f6eb0db170af20ad3f669d015d6467b1 Mon Sep 17 00:00:00 2001 From: David Date: Thu, 25 Jan 2024 14:51:53 +0800 Subject: [PATCH] feat(prover): update unretryable error check --- prover/proof_submitter/transaction/sender.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prover/proof_submitter/transaction/sender.go b/prover/proof_submitter/transaction/sender.go index 408960caa..548ee9b70 100644 --- a/prover/proof_submitter/transaction/sender.go +++ b/prover/proof_submitter/transaction/sender.go @@ -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 }