File tree Expand file tree Collapse file tree
foreign-chain-health-check/src
foreign-chain-inspector/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,7 +124,6 @@ pub async fn probe_all_providers(config: &ForeignChainsConfig) -> ProbeReport {
124124 ProbeReport { rows : report_rows }
125125}
126126
127- /// The chain marker only types the inspector; `eth_chainId` is the same call for all of them.
128127async fn probe_evm < Chain > ( chain : ForeignChain , config : & ForeignChainConfig ) -> Vec < ProviderHealth >
129128where
130129 Chain : EvmChain + Clone + Send + Sync + ' static ,
Original file line number Diff line number Diff line change @@ -50,9 +50,8 @@ pub(crate) const NO_PARAMS: [(); 0] = [];
5050pub struct NetworkFingerprint ( String ) ;
5151
5252impl NetworkFingerprint {
53- /// The longest fingerprint in use is Bitcoin's genesis hash, at 64 characters. Must stay
54- /// clear of what any chain reports, since fingerprints are compared after the cut and two
55- /// that agree up to it would read as one network.
53+ /// Values are compared after the cut, so this must exceed every fingerprint in use. The
54+ /// longest is Bitcoin's genesis hash at 64 characters.
5655 pub const MAX_CHARS : usize = 96 ;
5756 const CUT_SHORT_MARKER : & str = "_TRUNCATED" ;
5857
You can’t perform that action at this time.
0 commit comments