Function substrate_relay_helper::messages::run
source · pub async fn run<P, SourceClnt, TargetClnt>(
params: MessagesRelayParams<P, SourceClnt, TargetClnt>,
) -> Result<()>where
P: SubstrateMessageLane,
SourceClnt: Client<P::SourceChain>,
TargetClnt: Client<P::TargetChain>,
AccountIdOf<P::SourceChain>: From<<AccountKeyPairOf<P::SourceChain> as Pair>::Public>,
AccountIdOf<P::TargetChain>: From<<AccountKeyPairOf<P::TargetChain> as Pair>::Public>,
BalanceOf<P::SourceChain>: TryFrom<BalanceOf<P::TargetChain>>,
Expand description
Run Substrate-to-Substrate messages sync loop.