cargo update

This commit is contained in:
Luke Parker
2023-01-04 03:17:36 -05:00
parent eeca440fa7
commit bf09b5cc7e
7 changed files with 344 additions and 427 deletions

View File

@@ -88,8 +88,10 @@ pub fn create_benchmark_extrinsic(
pub fn inherent_benchmark_data() -> Result<InherentData> {
let mut inherent_data = InherentData::new();
sp_timestamp::InherentDataProvider::new(Duration::from_millis(0).into())
.provide_inherent_data(&mut inherent_data)
.map_err(|e| format!("creating inherent data: {e:?}"))?;
futures::executor::block_on(
sp_timestamp::InherentDataProvider::new(Duration::from_millis(0).into())
.provide_inherent_data(&mut inherent_data),
)
.map_err(|e| format!("creating inherent data: {e:?}"))?;
Ok(inherent_data)
}