mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 15:11:03 +00:00
bump a bunch of deps in parity-common (#9263)
* bump a bunch of deps in parity-common * primitive-types 0.10.0 * update Cargo.lock * downgrade a few more * this is unlikely to help * try something * Checkmate, Atheists!
This commit is contained in:
@@ -21,8 +21,8 @@ serde = "1.0.101"
|
||||
serde_json = "1.0.41"
|
||||
structopt = "0.3"
|
||||
derive_more = "0.99.2"
|
||||
kvdb = "0.9.0"
|
||||
kvdb-rocksdb = "0.11.0"
|
||||
kvdb = "0.10.0"
|
||||
kvdb-rocksdb = "0.12.0"
|
||||
sp-trie = { version = "3.0.0", path = "../../../primitives/trie" }
|
||||
sp-core = { version = "3.0.0", path = "../../../primitives/core" }
|
||||
sp-consensus = { version = "0.9.0", path = "../../../primitives/consensus/common" }
|
||||
@@ -37,7 +37,7 @@ fs_extra = "1"
|
||||
hex = "0.4.0"
|
||||
rand = { version = "0.7.2", features = ["small_rng"] }
|
||||
lazy_static = "1.4.0"
|
||||
parity-util-mem = { version = "0.9.0", default-features = false, features = ["primitive-types"] }
|
||||
parity-util-mem = { version = "0.10.0", default-features = false, features = ["primitive-types"] }
|
||||
parity-db = { version = "0.2.4" }
|
||||
sc-transaction-pool = { version = "3.0.0", path = "../../../client/transaction-pool" }
|
||||
futures = { version = "0.3.4", features = ["thread-pool"] }
|
||||
|
||||
@@ -19,3 +19,7 @@ futures = "0.3.9"
|
||||
|
||||
node-cli = { path = "../cli", default-features = false, features = ["browser"], version = "2.0.0"}
|
||||
sc-rpc-api = { path = "../../../client/rpc-api", version = "0.9.0"}
|
||||
|
||||
# This is a HACK to make browser tests pass.
|
||||
# enables [`instant/wasm_bindgen`]
|
||||
parking_lot = { version = "0.11.1", features = ["wasm-bindgen"] }
|
||||
|
||||
@@ -56,7 +56,6 @@ fn deserialize_rpc_result<T: DeserializeOwned>(js_value: JsValue) -> T {
|
||||
#[wasm_bindgen_test]
|
||||
async fn runs() {
|
||||
let mut client = node_cli::start_client(None, "info".into())
|
||||
.await
|
||||
.unwrap();
|
||||
|
||||
// Check that the node handles rpc calls.
|
||||
|
||||
@@ -26,13 +26,12 @@ use browser_utils::{
|
||||
|
||||
/// Starts the client.
|
||||
#[wasm_bindgen]
|
||||
pub async fn start_client(chain_spec: Option<String>, log_level: String) -> Result<Client, JsValue> {
|
||||
pub fn start_client(chain_spec: Option<String>, log_level: String) -> Result<Client, JsValue> {
|
||||
start_inner(chain_spec, log_level)
|
||||
.await
|
||||
.map_err(|err| JsValue::from_str(&err.to_string()))
|
||||
}
|
||||
|
||||
async fn start_inner(
|
||||
fn start_inner(
|
||||
chain_spec: Option<String>,
|
||||
log_directives: String,
|
||||
) -> Result<Client, Box<dyn std::error::Error>> {
|
||||
@@ -44,7 +43,7 @@ async fn start_inner(
|
||||
None => crate::chain_spec::development_config(),
|
||||
};
|
||||
|
||||
let config = browser_configuration(chain_spec).await?;
|
||||
let config = browser_configuration(chain_spec)?;
|
||||
|
||||
info!("Substrate browser node");
|
||||
info!("✌️ version {}", config.impl_version);
|
||||
|
||||
Reference in New Issue
Block a user