Module substrate_relay_helper::messages
source · Expand description
Tools for supporting message lanes between two Substrate-based chains.
Modules§
- Tools for supporting message lanes between two Substrate-based chains.
- Substrate client as Substrate messages source. The chain we connect to should have runtime that implements
<BridgedChainName>HeaderApi
to allow bridging with<BridgedName>
chain. - Substrate client as Substrate messages target. The chain we connect to should have runtime that implements
<BridgedChainName>HeaderApi
to allow bridging with<BridgedName>
chain.
Structs§
- Batch transaction that brings headers + and messages delivery/receiving confirmations to the source node.
- Building
receive_messages_delivery_proof
call when you have direct access to the source chain runtime. - Building
receive_messages_proof
call when you have direct access to the target chain runtime. - Adapter that allows all
SubstrateMessageLane
to act asMessageLane
. - Delivery transaction limits.
- Substrate <-> Substrate messages relay parameters.
Traits§
- Different ways of building
receive_messages_delivery_proof
calls. - Different ways of building
receive_messages_proof
calls. - Substrate -> Substrate messages synchronization pipeline.
Functions§
- Relay messages delivery confirmation of Substrate-to-Substrate messages. No checks are made to ensure that transaction will succeed.
- Deliver range of Substrate-to-Substrate messages. No checks are made to ensure that transaction will succeed.
- Run Substrate-to-Substrate messages sync loop.