more goerli fixes

This commit is contained in:
Bryan Stitt 2023-04-14 00:36:46 -07:00
parent 3621d71037
commit 8ed71e1cf1
2 changed files with 7 additions and 2 deletions

View File

@ -95,6 +95,8 @@ impl Web3Rpcs {
let expected_block_time_ms = match chain_id { let expected_block_time_ms = match chain_id {
// ethereum // ethereum
1 => 12_000, 1 => 12_000,
// ethereum-goerli
5 => 12_000,
// polygon // polygon
137 => 2_000, 137 => 2_000,
// fantom // fantom
@ -103,7 +105,10 @@ impl Web3Rpcs {
42161 => 500, 42161 => 500,
// anything else // anything else
_ => { _ => {
warn!("unexpected chain_id. polling every {} seconds", 10); warn!(
"unexpected chain_id ({}). polling every {} seconds",
chain_id, 10
);
10_000 10_000
} }
}; };

View File

@ -706,7 +706,7 @@ impl Web3Rpc {
// this does loop. just only when reconnect is enabled // this does loop. just only when reconnect is enabled
#[allow(clippy::never_loop)] #[allow(clippy::never_loop)]
loop { loop {
debug!("subscription loop started"); trace!("subscription loop started on {}", self);
let mut futures = vec![]; let mut futures = vec![];