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
Messages Source - Substrate client as Substrate messages source.
Functions§
- best_
finalized_ peer_ header_ at_ self - Reads best
PeerChain
header known to theSelfChain
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 theactual_best_finalized_peer_at_best_self
field of the result.
Type Aliases§
- Substrate
Messages Proof - 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.