more goerli fixes
This commit is contained in:
parent
3621d71037
commit
8ed71e1cf1
@ -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
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -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![];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user