domain_client_operator

Function fetch_domain_bootstrap_info

source
pub async fn fetch_domain_bootstrap_info<Block, CBlock, CClient>(
    consensus_client: &CClient,
    self_domain_id: DomainId,
) -> Result<BootstrapResult<CBlock>, Box<dyn Error>>
where Block: BlockT, CBlock: BlockT, CClient: HeaderBackend<CBlock> + ProvideRuntimeApi<CBlock> + BlockchainEvents<CBlock>, CClient::Api: DomainsApi<CBlock, Block::Header>,