Function try_runtime_core::common::empty_block::production::mine_block

source ยท
pub async fn mine_block<Block, HostFns: HostFunctions>(
    ext_mutex: Arc<Mutex<TestExternalities<HashingFor<Block>>>>,
    executor: &WasmExecutor<HostFns>,
    previous_block_building_info: Option<(InherentData, Digest)>,
    parent_header: Block::Header,
    provider_variant: ProviderVariant,
    try_state: TryStateSelect,
) -> Result<((InherentData, Digest), Block::Header, Option<ExtrinsicInclusionMode>)>
where Block: BlockT<Hash = H256> + DeserializeOwned, Block::Header: DeserializeOwned, <Block::Hash as FromStr>::Err: Debug, NumberFor<Block>: FromStr, <NumberFor<Block> as FromStr>::Err: Debug,