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?
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.