pub fn inherent_benchmark_data() -> Result<InherentData> {
	let mut inherent_data = InherentData::new();
	let d = Duration::from_millis(0);
	let timestamp = sp_timestamp::InherentDataProvider::new(d.into());

	timestamp
		.provide_inherent_data(&mut inherent_data)
		.map_err(|e| format!("creating inherent data: {:?}", e))?;
	Ok(inherent_data)
}
/// Generates inherent data for the `benchmark overhead` command.
Generates inherent data for the `benchmark overhead` command.
Generates inherent data for the ` benchmark overhead ` command .
pub fn inherent_benchmark_data() -> Result<InherentData> {
	let mut inherent_data = InherentData::new();
	let d = Duration::from_millis(0);
	let timestamp = sp_timestamp::InherentDataProvider::new(d.into());
	timestamp
		.provide_inherent_data(&mut inherent_data)
		.map_err(|e| format!("creating inherent data: {:?}", e))?;
	Ok(inherent_data)
}
pub fn inherent_benchmark_data ( ) -> Result < InherentData > { let mut inherent_data = InherentData :: new ( ) ; let d = Duration :: from_millis ( 0 ) ; let timestamp = sp_timestamp :: InherentDataProvider :: new ( d . into ( ) ) ; timestamp . provide_inherent_data ( & mut inherent_data ) . map_err ( | e | format ! ( " " e ) ) ? ; Ok ( inherent_data ) }
Generates inherent data for the `benchmark overhead` command.
Generates inherent data for the ` benchmark overhead ` command .