Add networks and extend timeout to 120s

This commit is contained in:
Tornado Contrib 2024-03-26 23:36:19 +00:00
parent f4a71ee0b6
commit 608cef7a6a
Signed by: tornadocontrib
GPG Key ID: 60B4DF1A076C64B1
2 changed files with 7 additions and 1 deletions

@ -317,6 +317,12 @@ pub fn average_block_interval(chain_id: u64) -> Duration {
31337 => Duration::from_secs(10),
// arbitrum
42161 => Duration::from_millis(500),
// gnosis
100 => Duration::from_secs(5),
// avalanche
43114 => Duration::from_secs(2),
// sepolia
11155111 => Duration::from_secs(12),
// web3-proxy tests
999_001_999 => Duration::from_secs(10),
// anything else

@ -386,7 +386,7 @@ impl ValidatedRequest {
} else if authorization.active_premium().await {
Duration::from_secs(295)
} else {
Duration::from_secs(60)
Duration::from_secs(120)
}
.max(connect_timeout);