mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
cargo update
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user