referrerpolicy=no-referrer-when-downgrade

Module source

Source
Expand description

Substrate client as Substrate messages source. The chain we connect to should have runtime that implements <BridgedChainName>HeaderApi to allow bridging with <BridgedName> chain.

Structs§

SubstrateMessagesSource
Substrate client as Substrate messages source.

Functions§

best_finalized_peer_header_at_self
Reads best PeerChain header known to the SelfChain using provided runtime API method.
read_client_state
Read best blocks from given client.
read_client_state_from_both_chains
Does the same stuff as read_client_state, but properly fills the actual_best_finalized_peer_at_best_self field of the result.

Type Aliases§

SubstrateMessagesProof
Intermediate message proof returned by the source Substrate node. Includes everything required to submit to the target node: cumulative dispatch weight of bundled messages and the proof itself.