From 247515421383c22b797b9ec114fbc90cd333a7b2 Mon Sep 17 00:00:00 2001 From: tre Date: Thu, 14 Nov 2024 15:15:02 -0800 Subject: [PATCH] fix: log relayer failures as errors --- interop/relayer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interop/relayer.go b/interop/relayer.go index bd820d14..f3939d1d 100644 --- a/interop/relayer.go +++ b/interop/relayer.go @@ -92,8 +92,8 @@ func (r *L2ToL2MessageRelayer) Start(indexer *L2ToL2MessageIndexer, clients map[ close(sentMessageCh) return nil case sentMessage := <-sentMessageCh: - if err := r.relayMessageWithRetry(l2tol2CDM, transactor, sentMessage, 5); err != nil { - r.logger.Debug("failed to relay message after retries", "err", err) + if err := r.relayMessageWithRetry(l2tol2CDM, transactor, sentMessage, 1); err != nil { + r.logger.Error("failed to relay message after retries", "err", err) return err } }