Function substrate_relay_helper::finality::run
source · pub async fn run<P: SubstrateFinalitySyncPipeline>(
source_client: impl Client<P::SourceChain>,
target_client: impl Client<P::TargetChain>,
headers_to_relay: HeadersToRelay,
transaction_params: TransactionParams<AccountKeyPairOf<P::TargetChain>>,
metrics_params: MetricsParams,
) -> Result<()>
Expand description
Run Substrate-to-Substrate finality sync loop.