From c72db731bd8fbbcf51dd193ed54796c945f5e5c9 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Mon, 18 Sep 2023 10:54:55 -0700 Subject: [PATCH] add block times for optimism and base --- web3_proxy/src/config.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web3_proxy/src/config.rs b/web3_proxy/src/config.rs index 67c704a2..3f26abc2 100644 --- a/web3_proxy/src/config.rs +++ b/web3_proxy/src/config.rs @@ -258,12 +258,16 @@ pub fn average_block_interval(chain_id: u64) -> Duration { 1 => Duration::from_secs(12), // ethereum-goerli 5 => Duration::from_secs(12), + // optimism + 10 => Duration::from_secs(2), // binance 56 => Duration::from_secs(3), // polygon 137 => Duration::from_secs(2), // fantom 250 => Duration::from_secs(1), + // base + 8453 => Duration::from_secs(2), // arbitrum 42161 => Duration::from_millis(500), // anything else