From 190f43ecb8470e200ecdf56df47a2db315049896 Mon Sep 17 00:00:00 2001 From: beer-1 Date: Wed, 29 Jan 2025 04:14:06 +0900 Subject: [PATCH] increase filter max block range --- jsonrpc/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonrpc/config/config.go b/jsonrpc/config/config.go index e45314f..af436c0 100644 --- a/jsonrpc/config/config.go +++ b/jsonrpc/config/config.go @@ -41,7 +41,7 @@ const ( // DefaultFilterTimeout is the default filter timeout, how long filters stay active. DefaultFilterTimeout = 5 * time.Minute // DefaultFilterMaxBlockRange is the default maximum number of blocks that can be queried in a filter. - DefaultFilterMaxBlockRange = 500 + DefaultFilterMaxBlockRange = 1_000_000 // DefaultLogCacheSize is the maximum number of cached blocks. DefaultLogCacheSize = 32 // DefaultGasMultiplier is the default gas multiplier for the EVM state transition.