From 0cfd9a8f1cb72bf6ce0db3966ead052159aad17b Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Sun, 18 Oct 2020 19:49:11 +0200 Subject: [PATCH] fix client wss issue by upgrading api-client --- Cargo.lock | 24 +++++++++--------------- client/Cargo.toml | 5 +++-- node/Cargo.toml | 3 ++- runtime/Cargo.toml | 3 ++- 4 files changed, 16 insertions(+), 19 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b83a64c7..5f65cc97 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1185,7 +1185,7 @@ checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" [[package]] name = "encointer-client-notee" -version = "0.3.5" +version = "0.3.6" dependencies = [ "base58", "clap", @@ -1220,7 +1220,7 @@ dependencies = [ [[package]] name = "encointer-node-notee" -version = "0.3.5" +version = "0.3.6" dependencies = [ "encointer-node-notee-runtime", "frame-benchmarking", @@ -6087,12 +6087,6 @@ dependencies = [ "opaque-debug 0.3.0", ] -[[package]] -name = "sha1" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2579985fda508104f7587689507983eadd6a6e84dd35d6d115361f530916fa0d" - [[package]] name = "sha2" version = "0.8.2" @@ -6959,8 +6953,8 @@ dependencies = [ [[package]] name = "substrate-api-client" -version = "0.4.9-sub2.0.0" -source = "git+https://github.com/scs/substrate-api-client.git?tag=v0.4.9-sub2.0.0#62afbac0be1928681d8c70565fa0cc39a92cf4c8" +version = "0.4.10-sub2.0.0" +source = "git+https://github.com/scs/substrate-api-client.git?tag=v0.4.10-sub2.0.0#359e7769486479b77c8f9df198eeea36d5995825" dependencies = [ "env_logger", "frame-metadata", @@ -8243,9 +8237,9 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "ws" -version = "0.7.9" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "329d3e6dd450a9c5c73024e1047f0be7e24121a68484eb0b5368977bee3cf8c3" +checksum = "c51a2c47b5798ccc774ffb93ff536aec7c4275d722fd9c740c83cdd1af1f2d94" dependencies = [ "byteorder 1.3.4", "bytes 0.4.12", @@ -8254,10 +8248,10 @@ dependencies = [ "mio", "mio-extras", "openssl", - "rand 0.4.6", - "sha1", + "rand 0.7.3", + "sha-1 0.8.2", "slab", - "url 1.7.2", + "url 2.1.1", ] [[package]] diff --git a/client/Cargo.toml b/client/Cargo.toml index 4a3d296b..bd142b78 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -1,11 +1,12 @@ [package] name = "encointer-client-notee" -version = "0.3.5" +#keep with node version +version = "0.3.6" authors = ["encointer.org "] edition = "2018" [dependencies] -substrate-api-client = { git = "https://github.com/scs/substrate-api-client.git", tag="v0.4.9-sub2.0.0"} +substrate-api-client = { git = "https://github.com/scs/substrate-api-client.git", tag="v0.4.10-sub2.0.0"} log = "0.4" env_logger = "0.7" hex = "0.4" diff --git a/node/Cargo.toml b/node/Cargo.toml index 72dc6a57..327ae764 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -7,7 +7,8 @@ homepage = 'https://encointer.org' license = "GPL-3.0" name = 'encointer-node-notee' repository = 'https://github.com/encointer/encointer-node' -version = '0.3.5' +#keep with client version +version = '0.3.6' [[bin]] name = 'encointer-node-notee' diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 942446bc..f51ab446 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -5,7 +5,8 @@ homepage = 'https://encointer.org' license = "GPL-3.0" name = 'encointer-node-notee-runtime' repository = 'https://github.com/encointer/encointer-node/' -# minor revision must always match runtime spec_version +# minor revision must match node/client +# patch revision must match runtime spec_version version = '0.3.5' [dependencies.encointer-scheduler]