Function domain_block_preprocessor::inherents::get_inherent_data

source ยท
pub async fn get_inherent_data<CClient, CBlock, Block>(
    consensus_client: Arc<CClient>,
    consensus_block_hash: CBlock::Hash,
    parent_hash: Block::Hash,
    domain_id: DomainId,
) -> Result<InherentData, Error>
where CBlock: BlockT, Block: BlockT, CClient: ProvideRuntimeApi<CBlock> + HeaderBackend<CBlock>, CClient::Api: DomainsApi<CBlock, Block::Header> + MessengerApi<CBlock, NumberFor<CBlock>, CBlock::Hash>,