pub async fn read_client_state_from_both_chains<SelfChain, PeerChain>(
self_client: &impl Client<SelfChain>,
peer_client: &impl Client<PeerChain>,
) -> Result<ClientState<HeaderIdOf<SelfChain>, HeaderIdOf<PeerChain>>, SubstrateError>
Expand description
Does the same stuff as read_client_state
, but properly fills the
actual_best_finalized_peer_at_best_self
field of the result.