Skip to content

Commit 8141a21

Browse files
Merge branch '4003-probe-aptos-chain-id' into 4003-probe-sui-genesis-digest
2 parents 976d0ad + b83c5df commit 8141a21

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • crates/foreign-chain-health-check/src

crates/foreign-chain-health-check/src/probe.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ impl ProbeReport {
9494
/// Each provider is tried up to `max_retries` times, `timeout_sec` per try, and only for as long as
9595
/// the failures stay transient. This returns within the largest configured `timeout_sec *
9696
/// max_retries`, plus the [`foreign_chain_inspector::RETRY_BACKOFF`] between tries.
97+
// TODO(#4043): take the inspectors as a dependency instead, so that choosing a client per chain,
98+
// and the deadline it is built with, happens outside the probe.
9799
pub async fn probe_all_providers(config: &ForeignChainsConfig) -> ProbeReport {
98100
let probe_attempts = config
99101
.iter_chains()
@@ -156,8 +158,6 @@ where
156158
.await
157159
}
158160

159-
// TODO(#4043): take the inspectors as a dependency instead, so that building a client from
160-
// config, and the deadline it is built with, live outside the probe.
161161
async fn probe_chain<I>(
162162
chain: ForeignChain,
163163
config: &ForeignChainConfig,

0 commit comments

Comments
 (0)