pub trait ParachainsRelayer: ParachainToRelayHeadersCliBridgewhere
ParachainsSource<Self::ParachainFinality, DefaultClient<Self::SourceRelay>>: SourceClient<ParachainsPipelineAdapter<Self::ParachainFinality>>,
ParachainsTarget<Self::ParachainFinality, DefaultClient<Self::SourceRelay>, DefaultClient<Self::Target>>: TargetClient<ParachainsPipelineAdapter<Self::ParachainFinality>>,
<Self as CliBridgeBase>::Source: Parachain,{
// Provided methods
fn relay_parachains<'async_trait>(
data: RelayParachainsParams,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: Send + 'async_trait { ... }
fn relay_parachain_head<'async_trait>(
data: RelayParachainHeadParams,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: Send + 'async_trait { ... }
}
Expand description
Trait used for relaying parachains finality between 2 chains.
Provided Methods§
sourcefn relay_parachains<'async_trait>(
data: RelayParachainsParams,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: Send + 'async_trait,
fn relay_parachains<'async_trait>(
data: RelayParachainsParams,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: Send + 'async_trait,
Start relaying parachains finality.
sourcefn relay_parachain_head<'async_trait>(
data: RelayParachainHeadParams,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: Send + 'async_trait,
fn relay_parachain_head<'async_trait>(
data: RelayParachainHeadParams,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: Send + 'async_trait,
Relay single parachain head. No checks are made to ensure that transaction will succeed.
Object Safety§
This trait is not object safe.