referrerpolicy=no-referrer-when-downgrade
pub trait ParachainToRelayHeadersCliBridge: CliBridgeBase
where Self::Source: Parachain,
{ type SourceRelay: Chain<BlockNumber = RelayBlockNumber, Hash = RelayBlockHash, Hasher = RelayBlockHasher> + ChainWithRuntimeVersion + RelayChain; type ParachainFinality: SubstrateParachainsPipeline<SourceRelayChain = Self::SourceRelay, SourceParachain = Self::Source, TargetChain = Self::Target>; type RelayFinality: SubstrateFinalitySyncPipeline<SourceChain = Self::SourceRelay, TargetChain = Self::Target>; }
Expand description

Bridge representation that can be used from the CLI for relaying headers from a parachain to a relay chain.

Required Associated Types§

source

type SourceRelay: Chain<BlockNumber = RelayBlockNumber, Hash = RelayBlockHash, Hasher = RelayBlockHasher> + ChainWithRuntimeVersion + RelayChain

The CliBridgeBase type represents the parachain in this situation. We need to add an extra type for the relay chain.

source

type ParachainFinality: SubstrateParachainsPipeline<SourceRelayChain = Self::SourceRelay, SourceParachain = Self::Source, TargetChain = Self::Target>

Finality proofs synchronization pipeline (source parachain -> target).

source

type RelayFinality: SubstrateFinalitySyncPipeline<SourceChain = Self::SourceRelay, TargetChain = Self::Target>

Finality proofs synchronization pipeline (source relay chain -> target).

Object Safety§

This trait is not object safe.

Implementors§