From 6175cb70b9c1f66afb8534eef64415d49b178941 Mon Sep 17 00:00:00 2001 From: Andrew Jones Date: Thu, 14 Jan 2021 16:47:01 +0000 Subject: [PATCH] Upgrade dependencies, bumps substrate to 2.0.1 (#219) * Upgrade dependencies, bumps substrate to 2.0.1 * Upgrade test-node dependencies * Upgrade client dependencies * Upgrade proc-macro dependencies * Revert futures01 dependency * Upgrade futures * Remove redundant package specifiers --- Cargo.toml | 50 +++++++++++++++++++++---------------------- client/Cargo.toml | 20 ++++++++--------- proc-macro/Cargo.toml | 18 ++++++++-------- test-node/Cargo.toml | 44 ++++++++++++++++++------------------- 4 files changed, 66 insertions(+), 66 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index bbf4508748..d35802bd37 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,39 +24,39 @@ client = ["substrate-subxt-client"] integration-tests = [] [dependencies] -log = "0.4.11" -thiserror = "1.0.20" -futures = "0.3.5" +log = "0.4.13" +thiserror = "1.0.23" +futures = "0.3.10" jsonrpsee = { version = "0.1.0", features = ["ws"] } -num-traits = { version = "0.2.12", default-features = false } -serde = { version = "1.0.115", features = ["derive"] } -serde_json = "1.0.57" -url = "2.1.1" -codec = { package = "parity-scale-codec", version = "1.3.5", default-features = false, features = ["derive", "full"] } - -frame-metadata = { version = "12", package = "frame-metadata" } -frame-support = { version = "2.0.0", package = "frame-support" } -sp-runtime = { version = "2.0.0", package = "sp-runtime" } -sp-version = { version = "2.0.0", package = "sp-version" } -pallet-indices = { version = "2.0.0", package = "pallet-indices" } +num-traits = { version = "0.2.14", default-features = false } +serde = { version = "1.0.119", features = ["derive"] } +serde_json = "1.0.61" +url = "2.2.0" +codec = { package = "parity-scale-codec", version = "1.3.6", default-features = false, features = ["derive", "full"] } + +frame-metadata = "12.0.1" +frame-support = "2.0.1" +sp-runtime = "2.0.1" +sp-version = "2.0.1" +pallet-indices = "2.0.1" hex = "0.4.2" -sp-std = "2.0.0" -application-crypto = { version = "2.0.0", package = "sp-application-crypto" } -pallet-staking = "2.0.0" +sp-std = "2.0.1" +application-crypto = { version = "2.0.1", package = "sp-application-crypto" } +pallet-staking = "2.0.1" -sp-rpc = { version = "2.0.0", package = "sp-rpc" } -sp-core = { version = "2.0.0", package = "sp-core" } +sp-rpc = { version = "2.0.1", package = "sp-rpc" } +sp-core = { version = "2.0.1", package = "sp-core" } substrate-subxt-client = { version = "0.5.0", path = "client", optional = true } substrate-subxt-proc-macro = { version = "0.13.0", path = "proc-macro" } [dev-dependencies] -async-std = { version = "1.6.4", features = ["attributes"] } -env_logger = "0.7.1" -frame-system = { version = "2.0.0", package = "frame-system" } -pallet-balances = { version = "2.0.0", package = "pallet-balances" } -sp-keyring = { version = "2.0.0", package = "sp-keyring" } +async-std = { version = "1.8.0", features = ["attributes"] } +env_logger = "0.8.2" +frame-system = "2.0.1" +pallet-balances = "2.0.1" +sp-keyring = "2.0.1" substrate-subxt-client = { version = "0.5.0", path = "client" } tempdir = "0.3.7" test-node = { path = "test-node" } wabt = "0.10.0" -assert_matches = "1.3" +assert_matches = "1.4.0" diff --git a/client/Cargo.toml b/client/Cargo.toml index ad62fc805a..a0407a477e 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -12,20 +12,20 @@ description = "Embed a substrate node into your subxt application." keywords = ["parity", "substrate", "blockchain"] [dependencies] -async-std = "1.6.4" -futures = { version = "0.3.5", features = ["compat"] } +async-std = "1.8.0" +futures = { version = "0.3.9", features = ["compat"], package = "futures" } futures01 = { package = "futures", version = "0.1.29" } jsonrpsee = "0.1.0" -log = "0.4.11" -sc-network = { version = "0.8.0", default-features = false } -sc-service = { version = "0.8.0", default-features = false } -serde_json = "1.0.57" -sp-keyring = "2.0.0" -thiserror = "1.0.20" +log = "0.4.13" +sc-network = { version = "0.8.1", default-features = false } +sc-service = { version = "0.8.1", default-features = false } +serde_json = "1.0.61" +sp-keyring = "2.0.1" +thiserror = "1.0.23" [dev-dependencies] -async-std = { version = "1.6.4", features = ["attributes"] } -env_logger = "0.7.1" +async-std = { version = "1.8.0", features = ["attributes"] } +env_logger = "0.8.2" substrate-subxt = { path = ".." } tempdir = "0.3.7" test-node = { path = "../test-node" } diff --git a/proc-macro/Cargo.toml b/proc-macro/Cargo.toml index 21bdcc2fd2..864e70a4f4 100644 --- a/proc-macro/Cargo.toml +++ b/proc-macro/Cargo.toml @@ -15,22 +15,22 @@ description = "Derive calls, events, storage and tests for interacting Substrate proc-macro = true [dependencies] -heck = "0.3.1" -proc-macro2 = "1.0.19" +heck = "0.3.2" +proc-macro2 = "1.0.24" proc-macro-crate = "0.1.5" proc-macro-error = "1.0.4" -quote = "1.0.7" -syn = "1.0.38" +quote = "1.0.8" +syn = "1.0.58" synstructure = "0.12.4" [dev-dependencies] -async-std = { version = "1.6.4", features = ["attributes"] } -codec = { package = "parity-scale-codec", version = "1.3.5", features = ["derive"] } -env_logger = "0.7.1" +async-std = { version = "1.8.0", features = ["attributes"] } +codec = { package = "parity-scale-codec", version = "1.3.6", features = ["derive"] } +env_logger = "0.8.2" pretty_assertions = "0.6.1" -sp-keyring = "2.0.0" +sp-keyring = "2.0.1" substrate-subxt = { path = ".." } -trybuild = "1.0.32" +trybuild = "1.0.38" [[test]] name = "balances" diff --git a/test-node/Cargo.toml b/test-node/Cargo.toml index 3ad5623242..b40b2bff5d 100644 --- a/test-node/Cargo.toml +++ b/test-node/Cargo.toml @@ -13,30 +13,30 @@ repository = "https://github.com/paritytech/substrate/" targets = ["x86_64-unknown-linux-gnu"] [dependencies] -futures = "0.3.5" -log = "0.4.11" -structopt = "0.3.17" -parking_lot = "0.11.0" +futures = "0.3.9" +log = "0.4.13" +structopt = "0.3.21" +parking_lot = "0.11.1" -sc-cli = { version = "0.8.0", features = ["wasmtime"] } -sp-core = "2.0.0" -sc-executor = { version = "0.8.0", features = ["wasmtime"] } -sc-service = { version = "0.8.0", features = ["wasmtime"] } -sp-inherents = "2.0.0" -sc-transaction-pool = "2.0.0" -sp-transaction-pool = "2.0.0" -sc-network = "0.8.0" -sc-consensus-aura = "0.8.0" -sp-consensus-aura = "0.8.0" -sp-consensus = "0.8.0" -sc-consensus = "0.8.0" -sc-finality-grandpa = "0.8.0" -sp-finality-grandpa = "2.0.0" -sc-client-api = "2.0.0" -sp-runtime = "2.0.0" -sc-basic-authorship = "0.8.0" +sc-cli = { version = "0.8.1", features = ["wasmtime"] } +sp-core = "2.0.1" +sc-executor = { version = "0.8.1", features = ["wasmtime"] } +sc-service = { version = "0.8.1", features = ["wasmtime"] } +sp-inherents = "2.0.1" +sc-transaction-pool = "2.0.1" +sp-transaction-pool = "2.0.1" +sc-network = "0.8.1" +sc-consensus-aura = "0.8.1" +sp-consensus-aura = "0.8.1" +sp-consensus = "0.8.1" +sc-consensus = "0.8.1" +sc-finality-grandpa = "0.8.1" +sp-finality-grandpa = "2.0.1" +sc-client-api = "2.0.1" +sp-runtime = "2.0.1" +sc-basic-authorship = "0.8.1" test-node-runtime = { path = "runtime" } [build-dependencies] -substrate-build-script-utils = "2.0.0" +substrate-build-script-utils = "2.0.1"