Module substrate_relay_helper::messages::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§
- Substrate client as Substrate messages source.
Functions§
- Reads best
PeerChain
header known to theSelfChain
using provided runtime API method. - Read best blocks from given client.
- Does the same stuff as
read_client_state
, but properly fills theactual_best_finalized_peer_at_best_self
field of the result.
Type Aliases§
- 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.