chore: increase max proof window (#12001)

This commit is contained in:
Julian Meyer
2024-10-23 09:22:51 -07:00
committed by GitHub
parent b73261936e
commit 57a21fcb9e

View File

@@ -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 {