Unverified Commit 0347e253 authored by Andronik Ordian's avatar Andronik Ordian Committed by GitHub
Browse files

bump a bunch of deps in parity-common (#3402)

* bump a bunch of deps in parity-common

* update Substrate

* fix browser check

Co-authored-by: parity-processbot <>
parent 0236a386
Pipeline #145566 passed with stages
in 32 minutes and 11 seconds
This diff is collapsed.
......@@ -21,7 +21,7 @@ async function start() {
// Build our client.
log('Starting client');
let client = await start_client(chain_spec_text, 'info');
let client = start_client(chain_spec_text, 'info');
log('Client started');
client.rpcSubscribe('{"method":"chain_subscribeNewHead","params":[],"id":1,"jsonrpc":"2.0"}',
......
......@@ -20,17 +20,17 @@ use wasm_bindgen::prelude::*;
/// Starts the client.
#[wasm_bindgen]
pub async fn start_client(chain_spec: String, log_level: String) -> Result<Client, JsValue> {
start_inner(chain_spec, log_level).await.map_err(|err| JsValue::from_str(&err.to_string()))
pub fn start_client(chain_spec: String, log_level: String) -> Result<Client, JsValue> {
start_inner(chain_spec, log_level).map_err(|err| JsValue::from_str(&err.to_string()))
}
async fn start_inner(chain_spec: String, log_directives: String) -> Result<Client, Box<dyn std::error::Error>> {
fn start_inner(chain_spec: String, log_directives: String) -> Result<Client, Box<dyn std::error::Error>> {
set_console_error_panic_hook();
init_logging(&log_directives)?;
let chain_spec =
service::PolkadotChainSpec::from_json_bytes(chain_spec.as_bytes().to_vec()).map_err(|e| format!("{:?}", e))?;
let config = browser_configuration(chain_spec).await?;
let config = browser_configuration(chain_spec)?;
info!("Polkadot browser node");
info!(" version {}", config.impl_version);
......
......@@ -9,7 +9,7 @@ sp-core = { git = "https://github.com/paritytech/substrate", branch = "master",
sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
parity-scale-codec = { version = "2.0.0", default-features = false, features = [ "derive" ] }
parity-util-mem = { version = "0.9.0", default-features = false, optional = true }
parity-util-mem = { version = "0.10.0", default-features = false, optional = true }
[features]
default = [ "std" ]
......
......@@ -13,7 +13,7 @@ bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] }
lru = "0.6"
merlin = "2.0"
schnorrkel = "0.9.1"
kvdb = "0.9.0"
kvdb = "0.10.0"
derive_more = "0.99.14"
polkadot-node-subsystem = { path = "../../subsystem" }
......@@ -41,4 +41,4 @@ sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch =
maplit = "1.0.2"
polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" }
assert_matches = "1.4.0"
kvdb-memorydb = "0.9.0"
kvdb-memorydb = "0.10.0"
......@@ -7,7 +7,7 @@ edition = "2018"
[dependencies]
futures = "0.3.15"
futures-timer = "3.0.2"
kvdb = "0.9.0"
kvdb = "0.10.0"
thiserror = "1.0.23"
tracing = "0.1.26"
bitvec = "0.20.1"
......@@ -24,7 +24,7 @@ polkadot-node-primitives = { path = "../../primitives" }
log = "0.4.13"
env_logger = "0.8.4"
assert_matches = "1.4.0"
kvdb-memorydb = "0.9.0"
kvdb-memorydb = "0.10.0"
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
polkadot-node-subsystem-util = { path = "../../subsystem-util" }
......
......@@ -12,7 +12,7 @@ polkadot-primitives = { path = "../../../primitives" }
polkadot-node-primitives = { path = "../../primitives" }
polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" }
polkadot-node-subsystem-util = { path = "../../subsystem-util" }
kvdb = "0.9.0"
kvdb = "0.10.0"
thiserror = "1.0.23"
parity-scale-codec = "2"
......
......@@ -9,7 +9,7 @@ bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] }
futures = "0.3.12"
tracing = "0.1.26"
parity-scale-codec = "2"
kvdb = "0.9.0"
kvdb = "0.10.0"
derive_more = "0.99.14"
thiserror = "1.0.23"
......@@ -21,7 +21,7 @@ polkadot-node-subsystem-util = { path = "../../subsystem-util" }
sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" }
[dev-dependencies]
kvdb-memorydb = "0.9.0"
kvdb-memorydb = "0.10.0"
polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers"}
sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
......
......@@ -8,7 +8,7 @@ edition = "2018"
futures = "0.3.15"
tracing = "0.1.26"
memory-lru = "0.1.0"
parity-util-mem = { version = "0.9.0", default-features = false }
parity-util-mem = { version = "0.10.0", default-features = false }
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" }
......
......@@ -21,7 +21,7 @@ polkadot-cli = { path = "../../cli", default-features = false, features = [ "cli
polkadot-node-subsystem = { path = "../subsystem" }
polkadot-node-subsystem-util = { path = "../subsystem-util" }
polkadot-node-core-candidate-validation = { path = "../core/candidate-validation" }
parity-util-mem = { version = "*", default-features = false, features = ["jemalloc-global"] }
parity-util-mem = { version = "0.10.0", default-features = false, features = ["jemalloc-global"] }
color-eyre = { version = "0.5.11", default-features = false }
assert_matches = "1.5"
structopt = "0.3.21"
......
......@@ -65,8 +65,8 @@ hex-literal = "0.3.1"
tracing = "0.1.26"
serde = { version = "1.0.123", features = ["derive"] }
thiserror = "1.0.23"
kvdb = "0.9.0"
kvdb-rocksdb = { version = "0.11.1", optional = true }
kvdb = "0.10.0"
kvdb-rocksdb = { version = "0.12.0", optional = true }
async-trait = "0.1.42"
# Polkadot
......
......@@ -10,7 +10,7 @@ edition = "2018"
# this crate for WASM. This is critical to avoid forcing all parachain WASM into implementing
# various unnecessary Substrate-specific endpoints.
parity-scale-codec = { version = "2.0.0", default-features = false, features = [ "derive" ] }
parity-util-mem = { version = "0.9.0", optional = true }
parity-util-mem = { version = "0.10.0", optional = true }
sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
......
......@@ -26,7 +26,7 @@ trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", b
bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] }
frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
hex-literal = "0.3.1"
parity-util-mem = { version = "0.9.0", default-features = false, optional = true }
parity-util-mem = { version = "0.10.0", default-features = false, optional = true }
thiserror = "1.0.23"
[dev-dependencies]
......
......@@ -27,4 +27,4 @@ std = [
"frame-system/std",
"xcm/std",
]
runtime-benchmarks = []
\ No newline at end of file
runtime-benchmarks = []
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment