Skip to content

Commit

Permalink
chore: increase max proof window (#12001)
Browse files Browse the repository at this point in the history
  • Loading branch information
meyer9 authored Oct 23, 2024
1 parent b732619 commit 57a21fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/rpc/rpc-server-types/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ pub const DEFAULT_MAX_SIMULATE_BLOCKS: u64 = 256;
/// The default eth historical proof window.
pub const DEFAULT_ETH_PROOF_WINDOW: u64 = 0;

/// 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;
/// Maximum eth historical proof window. Equivalent to roughly 6 months of data on a 12
/// second block time, and a month on a 2 second block time.
pub const MAX_ETH_PROOF_WINDOW: u64 = 28 * 24 * 60 * 60 / 2;

/// GPO specific constants
pub mod gas_oracle {
Expand Down

0 comments on commit 57a21fc

Please sign in to comment.