pub trait SubstrateParachainsPipeline: 'static + Clone + Debug + Send + Sync {
type SourceParachain: Parachain;
type SourceRelayChain: RelayChain;
type TargetChain: ChainWithTransactions;
type SubmitParachainHeadsCallBuilder: SubmitParachainHeadsCallBuilder<Self>;
}
Expand description
Substrate -> Substrate parachain finality proofs synchronization pipeline.
This is currently restricted to the single parachain, because it is how it will be used (at least) initially.
Required Associated Types§
sourcetype SourceParachain: Parachain
type SourceParachain: Parachain
Headers of this parachain are submitted to the Self::TargetChain
.
sourcetype SourceRelayChain: RelayChain
type SourceRelayChain: RelayChain
Relay chain that is storing headers of Self::SourceParachain
.
sourcetype TargetChain: ChainWithTransactions
type TargetChain: ChainWithTransactions
Target chain where Self::SourceParachain
headers are submitted.
sourcetype SubmitParachainHeadsCallBuilder: SubmitParachainHeadsCallBuilder<Self>
type SubmitParachainHeadsCallBuilder: SubmitParachainHeadsCallBuilder<Self>
How submit parachains heads call is built?
Object Safety§
This trait is not object safe.