mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 20:59:23 +00:00
Update Cargo.tomls for substrate packages
This commit is contained in:
@@ -15,35 +15,27 @@ rustdoc-args = ["--cfg", "docsrs"]
|
||||
[dependencies]
|
||||
async-trait = "0.1"
|
||||
|
||||
tokio = "1"
|
||||
|
||||
sp-core = { git = "https://github.com/serai-dex/substrate" }
|
||||
sp-application-crypto = { git = "https://github.com/serai-dex/substrate" }
|
||||
sp-inherents = { git = "https://github.com/serai-dex/substrate" }
|
||||
sp-runtime = { git = "https://github.com/serai-dex/substrate" }
|
||||
sp-blockchain = { git = "https://github.com/serai-dex/substrate" }
|
||||
sp-api = { git = "https://github.com/serai-dex/substrate" }
|
||||
|
||||
sp-consensus = { git = "https://github.com/serai-dex/substrate" }
|
||||
sc-consensus = { git = "https://github.com/serai-dex/substrate" }
|
||||
|
||||
tendermint-machine = { path = "../tendermint", features = ["substrate"] }
|
||||
|
||||
# --
|
||||
|
||||
sp-trie = { git = "https://github.com/serai-dex/substrate" }
|
||||
sp-timestamp = { git = "https://github.com/serai-dex/substrate" }
|
||||
sp-blockchain = { git = "https://github.com/serai-dex/substrate" }
|
||||
sp-runtime = { git = "https://github.com/serai-dex/substrate" }
|
||||
sp-api = { git = "https://github.com/serai-dex/substrate" }
|
||||
sp-consensus = { git = "https://github.com/serai-dex/substrate" }
|
||||
|
||||
sc-transaction-pool = { git = "https://github.com/serai-dex/substrate" }
|
||||
sc-basic-authorship = { git = "https://github.com/serai-dex/substrate" }
|
||||
sc-consensus-pow = { git = "https://github.com/serai-dex/substrate" }
|
||||
sp-consensus-pow = { git = "https://github.com/serai-dex/substrate" }
|
||||
|
||||
sc-executor = { git = "https://github.com/serai-dex/substrate" }
|
||||
sc-network = { git = "https://github.com/serai-dex/substrate" }
|
||||
sc-service = { git = "https://github.com/serai-dex/substrate", features = ["wasmtime"] }
|
||||
sc-executor = { git = "https://github.com/serai-dex/substrate", features = ["wasmtime"] }
|
||||
sc-service = { git = "https://github.com/serai-dex/substrate" }
|
||||
sc-client-api = { git = "https://github.com/serai-dex/substrate" }
|
||||
sc-consensus = { git = "https://github.com/serai-dex/substrate" }
|
||||
|
||||
substrate-prometheus-endpoint = { git = "https://github.com/serai-dex/substrate" }
|
||||
|
||||
sc-client-api = { git = "https://github.com/serai-dex/substrate" }
|
||||
tendermint-machine = { path = "../tendermint", features = ["substrate"] }
|
||||
|
||||
serai-runtime = { path = "../runtime" }
|
||||
|
||||
tokio = "1"
|
||||
|
||||
@@ -42,7 +42,7 @@ pub fn import_queue(
|
||||
Ok(import_queue::import_queue(
|
||||
client.clone(),
|
||||
client,
|
||||
Arc::new(|_, _| async { Ok(()) }),
|
||||
Arc::new(|_, _| async { Ok(sp_timestamp::InherentDataProvider::from_system_time()) }),
|
||||
&task_manager.spawn_essential_handle(),
|
||||
registry,
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user