mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 01:11:10 +00:00
Bump deps and fix build
This commit is contained in:
+4
-4
@@ -13,14 +13,14 @@ keywords = ["parity", "substrate", "blockchain"]
|
||||
|
||||
[dependencies]
|
||||
async-std = "=1.5.0"
|
||||
futures = { version = "0.3.5", features = ["compat"] }
|
||||
futures = { version = "0.3.5", features = ["compat"], package = "futures" }
|
||||
futures01 = { package = "futures", version = "0.1.29" }
|
||||
jsonrpsee = "0.1.0"
|
||||
log = "0.4.8"
|
||||
sc-network = { version = "0.8.0-rc3", default-features = false }
|
||||
sc-service = { version = "0.8.0-rc3", default-features = false }
|
||||
sc-network = { version = "0.8.0-rc4", default-features = false }
|
||||
sc-service = { version = "0.8.0-rc4", default-features = false }
|
||||
serde_json = "1.0.55"
|
||||
sp-keyring = "2.0.0-rc3"
|
||||
sp-keyring = { version = "2.0.0-rc4", package = "sp-keyring" }
|
||||
thiserror = "1.0.20"
|
||||
|
||||
[dev-dependencies]
|
||||
|
||||
+4
-2
@@ -208,18 +208,20 @@ fn start_subxt_client<C: ChainSpec + 'static, S: AbstractService>(
|
||||
impl_version: config.impl_version,
|
||||
chain_spec: Box::new(config.chain_spec),
|
||||
role: config.role.into(),
|
||||
task_executor: std::sync::Arc::new(move |fut, ty| {
|
||||
task_executor: (move |fut, ty| {
|
||||
match ty {
|
||||
TaskType::Async => task::spawn(fut),
|
||||
TaskType::Blocking => task::spawn_blocking(|| task::block_on(fut)),
|
||||
};
|
||||
}),
|
||||
}).into(),
|
||||
database: config.db,
|
||||
keystore: KeystoreConfig::InMemory,
|
||||
max_runtime_instances: 8,
|
||||
announce_block: true,
|
||||
dev_key_seed: config.role.into(),
|
||||
|
||||
base_path: Default::default(),
|
||||
informant_output_format: Default::default(),
|
||||
telemetry_endpoints: Default::default(),
|
||||
telemetry_external_transport: Default::default(),
|
||||
default_heap_pages: Default::default(),
|
||||
|
||||
Reference in New Issue
Block a user