From 449d63d980daf08c70c98d8d614b6b08c7ea3161 Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 2 Sep 2024 16:47:29 +0200 Subject: [PATCH] chore: increase max proof window (#10654) --- crates/rpc/rpc-server-types/src/constants.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/rpc/rpc-server-types/src/constants.rs b/crates/rpc/rpc-server-types/src/constants.rs index e433bda0d4..1fad38a758 100644 --- a/crates/rpc/rpc-server-types/src/constants.rs +++ b/crates/rpc/rpc-server-types/src/constants.rs @@ -48,8 +48,9 @@ pub const DEFAULT_ENGINE_API_IPC_ENDPOINT: &str = "/tmp/reth_engine_api.ipc"; /// The default eth historical proof window. pub const DEFAULT_ETH_PROOF_WINDOW: u64 = 0; -/// Maximum eth historical proof window. Equivalent to roughly one month of data. -pub const MAX_ETH_PROOF_WINDOW: u64 = 216_000; +/// Maximum eth historical proof window. Equivalent to roughly one and a half months of data on a 12 +/// second block time, and a week on a 2 second block time. +pub const MAX_ETH_PROOF_WINDOW: u64 = 7 * 24 * 60 * 60 / 2; /// GPO specific constants pub mod gas_oracle {