From e61a60128d05fad6d916e52240dcb650bff38f34 Mon Sep 17 00:00:00 2001 From: Peter Kieltyka Date: Fri, 15 Mar 2024 21:27:51 -0400 Subject: [PATCH] ethreceipts: update min block retention setting --- ethreceipts/ethreceipts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethreceipts/ethreceipts.go b/ethreceipts/ethreceipts.go index bb5fc0f..c8f19ca 100644 --- a/ethreceipts/ethreceipts.go +++ b/ethreceipts/ethreceipts.go @@ -116,7 +116,7 @@ func NewReceiptsListener(log logger.Logger, provider ethrpc.Interface, monitor * return nil, fmt.Errorf("ethreceipts: ReceiptsListener needs a monitor with WithLogs enabled to function") } - minBlockRetentionLimit := 400 + minBlockRetentionLimit := 50 if monitor.Options().BlockRetentionLimit < minBlockRetentionLimit { return nil, fmt.Errorf("ethreceipts: monitor options BlockRetentionLimit must be at least %d", minBlockRetentionLimit) }