Function try_runtime_core::common::empty_block::production::produce_next_block
source ยท pub async fn produce_next_block<Block, HostFns: HostFunctions>(
ext_mutex: Arc<Mutex<TestExternalities<HashingFor<Block>>>>,
executor: &WasmExecutor<HostFns>,
parent_header: Block::Header,
chain: ProviderVariant,
previous_block_building_info: Option<(InherentData, Digest)>,
) -> Result<(Block, (InherentData, Digest), Option<ExtrinsicInclusionMode>)>
Expand description
Produces next block containing only inherents.