From e7bf1d5995f8c4b77617d791531d7bc6ef16fd4c Mon Sep 17 00:00:00 2001 From: Lee Bousfield Date: Wed, 27 Sep 2023 17:26:18 -0600 Subject: [PATCH] Don't poll for reverts on L3 chains --- arbnode/batch_poster.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arbnode/batch_poster.go b/arbnode/batch_poster.go index 4f50831e67..8d331ed344 100644 --- a/arbnode/batch_poster.go +++ b/arbnode/batch_poster.go @@ -955,7 +955,9 @@ func (b *BatchPoster) Start(ctxIn context.Context) { b.dataPoster.Start(ctxIn) b.redisLock.Start(ctxIn) b.StopWaiter.Start(ctxIn, b) - b.LaunchThread(b.pollForReverts) + if !b.l1Reader.IsParentChainArbitrum() { + b.LaunchThread(b.pollForReverts) + } b.CallIteratively(func(ctx context.Context) time.Duration { var err error if common.HexToAddress(b.config().GasRefunderAddress) != (common.Address{}) {