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

@@ -405,7 +405,7 @@ impl<T: TendermintValidator> Network for TendermintAuthority<T> {
let mut queue_write = self.import.queue.write().await;
*self.import.importing_block.write().unwrap() = Some(hash);
queue_write.as_mut().unwrap().import_blocks(
queue_write.as_mut().unwrap().service_ref().import_blocks(
BlockOrigin::ConsensusBroadcast, // TODO: Use BlockOrigin::Own when it's our block
vec![IncomingBlock {
hash,

View File

@@ -97,7 +97,7 @@ impl<T: TendermintValidator> TendermintImport<T> {
.create_inherent_data_providers(parent, ())
.await
{
Ok(providers) => match providers.create_inherent_data() {
Ok(providers) => match providers.create_inherent_data().await {
Ok(data) => Some(data),
Err(err) => {
warn!(target: "tendermint", "Failed to create inherent data: {}", err);

View File

@@ -18,7 +18,7 @@ parity-scale-codec = { version = "3.2", features = ["derive"] }
futures = "0.3"
tokio = { version = "1", features = ["macros", "sync", "time", "rt"] }
sp-runtime = { git = "https://github.com/serai-dex/substrate", version = "6.0.0", optional = true }
sp-runtime = { git = "https://github.com/serai-dex/substrate", version = "7.0.0", optional = true }
[features]
substrate = ["sp-runtime"]