From a275e2dee4d5bffb1c4c4ea4e060df4826033fc1 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Sun, 28 May 2023 22:59:28 -0700 Subject: [PATCH] add blocktime for binance --- web3_proxy/src/config.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web3_proxy/src/config.rs b/web3_proxy/src/config.rs index df3ad199..7a0779a2 100644 --- a/web3_proxy/src/config.rs +++ b/web3_proxy/src/config.rs @@ -297,6 +297,8 @@ impl Web3RpcConfig { 1 => Duration::from_secs(12), // ethereum-goerli 5 => Duration::from_secs(12), + // binance + 56 => Duration::from_secs(3), // polygon 137 => Duration::from_secs(2), // fantom @@ -307,7 +309,7 @@ impl Web3RpcConfig { _ => { let default = 10; warn!( - "unexpected chain_id ({}). polling every {} seconds", + "unknown chain_id ({}). defaulting polling every {} seconds", chain_id, default ); Duration::from_secs(default)