Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
reset a couple of versions down from v2.0 (#4572)
Browse files Browse the repository at this point in the history
* reset a couple of versions down from v0.2.0

* Unstablise browser-utils (very new) and grafana-data-source (going to be replaced with prometheus sometime)

* unmark a bunch more client crates for stabilization

* fix versions in Cargo.tomls

* Downgrade network-test

* Set frame-metadata version to `10.0.0`

* Hide and documented storage generator as internal api

* Downgrade `sp-externalities`

* Downgrade `sc-cli`

* Downgrade sc-executor et al to 0.8.0

* Downgrade sp-state-machine to 0.8.0

* Downgrade pallet-contracts et al to 0.8.0

* Downgrade sp-sandbox to 0.8.0

* downgrade pallet-evm to 0.8.0

* Downgrade pallet-staking to 0.8.0

2.0 should be implementation of lazy payout alongside all the fixes of
current module

* Downgrade node-transaction-factory to 0.8.0

* frame pallets are 2.0.0

Co-authored-by: Ashley <ashley.ruglys@gmail.com>
Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com>
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
Co-authored-by: Sergei Pepyakin <s.pepyakin@gmail.com>
Co-authored-by: Wei Tang <accounts@that.world>
Co-authored-by: thiolliere <gui.thiolliere@gmail.com>
Co-authored-by: Marcio Diaz <marcio@parity.io>
  • Loading branch information
8 people authored Jan 15, 2020
1 parent 33b3c23 commit c2b0c0f
Show file tree
Hide file tree
Showing 61 changed files with 276 additions and 273 deletions.
274 changes: 137 additions & 137 deletions Cargo.lock

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions bin/node-template/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@ parking_lot = "0.9.0"
codec = { package = "parity-scale-codec", version = "1.0.0" }
trie-root = "0.15.2"
sp-io = { version = "2.0.0", path = "../../primitives/io" }
sc-cli = { version = "2.0.0", path = "../../client/cli" }
sc-cli = { version = "0.8.0", path = "../../client/cli" }
sp-core = { version = "2.0.0", path = "../../primitives/core" }
sc-executor = { version = "2.0.0", path = "../../client/executor" }
sc-service = { version = "2.0.0", path = "../../client/service" }
sc-executor = { version = "0.8", path = "../../client/executor" }
sc-service = { version = "0.8", path = "../../client/service" }
sp-inherents = { version = "2.0.0", path = "../../primitives/inherents" }
sc-transaction-pool = { version = "2.0.0", path = "../../client/transaction-pool" }
sp-transaction-pool = { version = "2.0.0", path = "../../primitives/transaction-pool" }
sc-network = { version = "0.8", path = "../../client/network" }
sc-consensus-aura = { version = "0.8", path = "../../client/consensus/aura" }
sp-consensus-aura = { version = "0.8", path = "../../primitives/consensus/aura" }
sp-consensus = { version = "0.8", path = "../../primitives/consensus/common" }
grandpa = { version = "2.0.0", package = "sc-finality-grandpa", path = "../../client/finality-grandpa" }
grandpa = { version = "0.8", package = "sc-finality-grandpa", path = "../../client/finality-grandpa" }
grandpa-primitives = { version = "2.0.0", package = "sp-finality-grandpa", path = "../../primitives/finality-grandpa" }
sc-client = { version = "2.0.0", path = "../../client/" }
sc-client = { version = "0.8", path = "../../client/" }
node-template-runtime = { version = "2.0.0", path = "runtime" }
sp-runtime = { version = "2.0.0", path = "../../primitives/runtime" }
sc-basic-authority = { path = "../../client/basic-authorship" }
Expand Down
18 changes: 9 additions & 9 deletions bin/node/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,20 @@ sp-consensus = { version = "0.8", path = "../../../primitives/consensus/common"

# client dependencies
sc-client-api = { version = "2.0.0", path = "../../../client/api" }
sc-client = { version = "2.0.0", path = "../../../client/" }
sc-client = { version = "0.8", path = "../../../client/" }
sc-chain-spec = { version = "2.0.0", path = "../../../client/chain-spec" }
sc-transaction-pool = { version = "2.0.0", path = "../../../client/transaction-pool" }
sp-transaction-pool = { version = "2.0.0", path = "../../../primitives/transaction-pool" }
sc-network = { version = "0.8", path = "../../../client/network" }
sc-consensus-babe = { version = "0.8", path = "../../../client/consensus/babe" }
grandpa = { version = "2.0.0", package = "sc-finality-grandpa", path = "../../../client/finality-grandpa" }
sc-client-db = { version = "2.0.0", default-features = false, path = "../../../client/db" }
grandpa = { version = "0.8", package = "sc-finality-grandpa", path = "../../../client/finality-grandpa" }
sc-client-db = { version = "0.8", default-features = false, path = "../../../client/db" }
sc-offchain = { version = "2.0.0", path = "../../../client/offchain" }
sc-rpc = { version = "2.0.0", path = "../../../client/rpc" }
sc-basic-authority = { version = "2.0.0", path = "../../../client/basic-authorship" }
sc-service = { version = "2.0.0", default-features = false, path = "../../../client/service" }
sc-basic-authority = { version = "0.8", path = "../../../client/basic-authorship" }
sc-service = { version = "0.8", default-features = false, path = "../../../client/service" }
sc-telemetry = { version = "2.0.0", path = "../../../client/telemetry" }
sc-authority-discovery = { version = "2.0.0", path = "../../../client/authority-discovery" }
sc-authority-discovery = { version = "0.8", path = "../../../client/authority-discovery" }

# frame dependencies
pallet-indices = { version = "2.0.0", path = "../../../frame/indices" }
Expand All @@ -81,9 +81,9 @@ node-executor = { version = "2.0.0", path = "../executor" }

# CLI-specific dependencies
tokio = { version = "0.2", features = ["rt-threaded"], optional = true }
sc-cli = { version = "2.0.0", optional = true, path = "../../../client/cli" }
sc-cli = { version = "0.8.0", optional = true, path = "../../../client/cli" }
ctrlc = { version = "3.1.3", features = ["termination"], optional = true }
node-transaction-factory = { version = "2.0.0", optional = true, path = "../transaction-factory" }
node-transaction-factory = { version = "0.8.0", optional = true, path = "../transaction-factory" }

# WASM-specific dependencies
wasm-bindgen = { version = "0.2.57", optional = true }
Expand All @@ -98,7 +98,7 @@ futures = "0.3.1"
tempfile = "3.1.0"

[build-dependencies]
sc-cli = { version = "2.0.0", package = "sc-cli", path = "../../../client/cli" }
sc-cli = { version = "0.8.0", package = "sc-cli", path = "../../../client/cli" }
build-script-utils = { version = "2.0.0", package = "substrate-build-script-utils", path = "../../../utils/build-script-utils" }
structopt = "=0.3.7"
vergen = "3.0.4"
Expand Down
4 changes: 2 additions & 2 deletions bin/node/executor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ edition = "2018"
codec = { package = "parity-scale-codec", version = "1.0.0" }
node-primitives = { version = "2.0.0", path = "../primitives" }
node-runtime = { version = "2.0.0", path = "../runtime" }
sc-executor = { version = "2.0.0", path = "../../../client/executor" }
sc-executor = { version = "0.8", path = "../../../client/executor" }
sp-core = { version = "2.0.0", path = "../../../primitives/core" }
sp-io = { version = "2.0.0", path = "../../../primitives/io" }
sp-state-machine = { version = "2.0.0", path = "../../../primitives/state-machine" }
sp-state-machine = { version = "0.8", path = "../../../primitives/state-machine" }
sp-trie = { version = "2.0.0", path = "../../../primitives/trie" }
trie-root = "0.15.2"

Expand Down
4 changes: 2 additions & 2 deletions bin/node/rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

[dependencies]
sc-client = { version = "2.0.0", path = "../../../client/" }
sc-client = { version = "0.8", path = "../../../client/" }
jsonrpc-core = "14.0.3"
node-primitives = { version = "2.0.0", path = "../primitives" }
node-runtime = { version = "2.0.0", path = "../runtime" }
sp-runtime = { version = "2.0.0", path = "../../../primitives/runtime" }
sp-api = { version = "2.0.0", path = "../../../primitives/api" }
pallet-contracts-rpc = { version = "2.0.0", path = "../../../frame/contracts/rpc/" }
pallet-contracts-rpc = { version = "0.8.0", path = "../../../frame/contracts/rpc/" }
pallet-transaction-payment-rpc = { version = "2.0.0", path = "../../../frame/transaction-payment/rpc/" }
substrate-frame-rpc-system = { version = "2.0.0", path = "../../../utils/frame/rpc/system" }
sp-transaction-pool = { version = "2.0.0", path = "../../../primitives/transaction-pool" }
2 changes: 1 addition & 1 deletion bin/node/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pallet-babe = { version = "2.0.0", default-features = false, path = "../../../fr
pallet-balances = { version = "2.0.0", default-features = false, path = "../../../frame/balances" }
pallet-collective = { version = "2.0.0", default-features = false, path = "../../../frame/collective" }
pallet-contracts = { version = "2.0.0", default-features = false, path = "../../../frame/contracts" }
pallet-contracts-rpc-runtime-api = { version = "2.0.0", default-features = false, path = "../../../frame/contracts/rpc/runtime-api/" }
pallet-contracts-rpc-runtime-api = { version = "0.8.0", default-features = false, path = "../../../frame/contracts/rpc/runtime-api/" }
pallet-democracy = { version = "2.0.0", default-features = false, path = "../../../frame/democracy" }
pallet-elections-phragmen = { version = "2.0.0", default-features = false, path = "../../../frame/elections-phragmen" }
pallet-finality-tracker = { version = "2.0.0", default-features = false, path = "../../../frame/finality-tracker" }
Expand Down
4 changes: 2 additions & 2 deletions bin/node/testing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2018"

[dependencies]
pallet-balances = { version = "2.0.0", path = "../../../frame/balances" }
sc-client = { version = "2.0.0", path = "../../../client/" }
sc-client = { version = "0.8", path = "../../../client/" }
codec = { package = "parity-scale-codec", version = "1.0.0" }
pallet-contracts = { version = "2.0.0", path = "../../../frame/contracts" }
pallet-grandpa = { version = "2.0.0", path = "../../../frame/grandpa" }
Expand All @@ -22,7 +22,7 @@ frame-support = { version = "2.0.0", path = "../../../frame/support" }
pallet-session = { version = "2.0.0", path = "../../../frame/session" }
sp-runtime = { version = "2.0.0", path = "../../../primitives/runtime" }
pallet-staking = { version = "2.0.0", path = "../../../frame/staking" }
sc-executor = { version = "2.0.0", path = "../../../client/executor" }
sc-executor = { version = "0.8", path = "../../../client/executor" }
frame-system = { version = "2.0.0", path = "../../../frame/system" }
substrate-test-client = { version = "2.0.0", path = "../../../test-utils/client" }
pallet-timestamp = { version = "2.0.0", path = "../../../frame/timestamp" }
Expand Down
8 changes: 4 additions & 4 deletions bin/node/transaction-factory/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
[package]
name = "node-transaction-factory"
version = "2.0.0"
version = "0.8.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

[dependencies]
sp-block-builder = { version = "2.0.0", path = "../../../primitives/block-builder" }
sc-cli = { version = "2.0.0", path = "../../../client/cli" }
sc-cli = { version = "0.8.0", path = "../../../client/cli" }
sc-client-api = { version = "2.0.0", path = "../../../client/api" }
sc-client = { version = "2.0.0", path = "../../../client" }
sc-client = { version = "0.8", path = "../../../client" }
codec = { package = "parity-scale-codec", version = "1.0.0", features = ["derive"] }
sp-consensus = { version = "0.8", path = "../../../primitives/consensus/common" }
log = "0.4.8"
sp-core = { version = "2.0.0", path = "../../../primitives/core" }
sp-api = { version = "2.0.0", path = "../../../primitives/api" }
sp-runtime = { version = "2.0.0", path = "../../../primitives/runtime" }
sc-service = { version = "2.0.0", path = "../../../client/service" }
sc-service = { version = "0.8", path = "../../../client/service" }
sp-blockchain = { version = "2.0.0", path = "../../../primitives/blockchain" }
10 changes: 5 additions & 5 deletions client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[package]
name = "sc-client"
version = "2.0.0"
version = "0.8.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

[dependencies]
sc-block-builder = { version = "2.0.0", path = "block-builder" }
sc-block-builder = { version = "0.8", path = "block-builder" }
sc-client-api = { version = "2.0.0", path = "api" }
codec = { package = "parity-scale-codec", version = "1.0.0", features = ["derive"] }
sp-consensus = { version = "0.8", path = "../primitives/consensus/common" }
derive_more = { version = "0.99.2" }
sc-executor = { version = "2.0.0", path = "executor" }
sp-externalities = { version = "2.0.0", path = "../primitives/externalities" }
sc-executor = { version = "0.8", path = "executor" }
sp-externalities = { version = "0.8.0", path = "../primitives/externalities" }
fnv = { version = "1.0.6" }
futures = { version = "0.3.1", features = ["compat"] }
hash-db = { version = "0.15.2" }
Expand All @@ -27,7 +27,7 @@ sp-version = { version = "2.0.0", path = "../primitives/version" }
sp-api = { version = "2.0.0", path = "../primitives/api" }
sp-runtime = { version = "2.0.0", path = "../primitives/runtime" }
sp-blockchain = { version = "2.0.0", path = "../primitives/blockchain" }
sp-state-machine = { version = "2.0.0", path = "../primitives/state-machine" }
sp-state-machine = { version = "0.8", path = "../primitives/state-machine" }
sc-telemetry = { version = "2.0.0", path = "telemetry" }
sp-trie = { version = "2.0.0", path = "../primitives/trie" }
tracing = "0.1.10"
Expand Down
6 changes: 3 additions & 3 deletions client/api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ edition = "2018"
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
sp-consensus = { version = "0.8", path = "../../primitives/consensus/common" }
derive_more = { version = "0.99.2" }
sc-executor = { version = "2.0.0", path = "../executor" }
sp-externalities = { version = "2.0.0", path = "../../primitives/externalities" }
sc-executor = { version = "0.8", path = "../executor" }
sp-externalities = { version = "0.8.0", path = "../../primitives/externalities" }
fnv = { version = "1.0.6" }
futures = { version = "0.3.1" }
hash-db = { version = "0.15.2", default-features = false }
Expand All @@ -25,7 +25,7 @@ sp-std = { version = "2.0.0", default-features = false, path = "../../primitives
sp-version = { version = "2.0.0", default-features = false, path = "../../primitives/version" }
sp-api = { version = "2.0.0", path = "../../primitives/api" }
sp-runtime = { version = "2.0.0", default-features = false, path = "../../primitives/runtime" }
sp-state-machine = { version = "2.0.0", path = "../../primitives/state-machine" }
sp-state-machine = { version = "0.8", path = "../../primitives/state-machine" }
sc-telemetry = { version = "2.0.0", path = "../telemetry" }
sp-trie = { version = "2.0.0", path = "../../primitives/trie" }
sp-transaction-pool = { version = "2.0.0", path = "../../primitives/transaction-pool" }
Expand Down
2 changes: 1 addition & 1 deletion client/authority-discovery/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sc-authority-discovery"
version = "2.0.0"
version = "0.8.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
build = "build.rs"
Expand Down
6 changes: 3 additions & 3 deletions client/basic-authorship/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sc-basic-authority"
version = "2.0.0"
version = "0.8.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

Expand All @@ -12,13 +12,13 @@ sp-api = { version = "2.0.0", path = "../../primitives/api" }
sp-runtime = { version = "2.0.0", path = "../../primitives/runtime" }
sp-core = { version = "2.0.0", path = "../../primitives/core" }
sp-blockchain = { version = "2.0.0", path = "../../primitives/blockchain" }
sc-client = { version = "2.0.0", path = "../" }
sc-client = { version = "0.8", path = "../" }
sc-client-api = { version = "2.0.0", path = "../api" }
sp-consensus = { version = "0.8", path = "../../primitives/consensus/common" }
sp-inherents = { version = "2.0.0", path = "../../primitives/inherents" }
sc-telemetry = { version = "2.0.0", path = "../telemetry" }
sp-transaction-pool = { version = "2.0.0", path = "../../primitives/transaction-pool" }
sc-block-builder = { version = "2.0.0", path = "../block-builder" }
sc-block-builder = { version = "0.8", path = "../block-builder" }
tokio-executor = { version = "0.2.0-alpha.6", features = ["blocking"] }

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions client/block-builder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "sc-block-builder"
version = "2.0.0"
version = "0.8.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

[dependencies]
sp-state-machine = { version = "2.0.0", path = "../../primitives/state-machine" }
sp-state-machine = { version = "0.8", path = "../../primitives/state-machine" }
sp-runtime = { version = "2.0.0", path = "../../primitives/runtime" }
sp-api = { version = "2.0.0", path = "../../primitives/api" }
sp-consensus = { version = "0.8.0", path = "../../primitives/consensus/common" }
Expand Down
6 changes: 3 additions & 3 deletions client/cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sc-cli"
version = "2.0.0"
version = "0.8.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Substrate CLI interface."
edition = "2018"
Expand All @@ -26,8 +26,8 @@ sp-blockchain = { version = "2.0.0", path = "../../primitives/blockchain" }
sc-network = { version = "0.8", path = "../network" }
sp-runtime = { version = "2.0.0", path = "../../primitives/runtime" }
sp-core = { version = "2.0.0", path = "../../primitives/core" }
sc-service = { version = "2.0.0", default-features = false, path = "../service" }
sp-state-machine = { version = "2.0.0", path = "../../primitives/state-machine" }
sc-service = { version = "0.8", default-features = false, path = "../service" }
sp-state-machine = { version = "0.8", path = "../../primitives/state-machine" }
sc-telemetry = { version = "2.0.0", path = "../telemetry" }
sp-keyring = { version = "2.0.0", path = "../../primitives/keyring" }
names = "0.11.0"
Expand Down
8 changes: 4 additions & 4 deletions client/consensus/aura/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition = "2018"
sp-application-crypto = { version = "2.0.0", path = "../../../primitives/application-crypto" }
sp-consensus-aura = { version = "0.8", path = "../../../primitives/consensus/aura" }
sp-block-builder = { version = "2.0.0", path = "../../../primitives/block-builder" }
sc-client = { version = "2.0.0", path = "../../" }
sc-client = { version = "0.8", path = "../../" }
sc-client-api = { version = "2.0.0", path = "../../api" }
codec = { package = "parity-scale-codec", version = "1.0.0" }
sp-consensus = { version = "0.8", path = "../../../primitives/consensus/common" }
Expand All @@ -32,10 +32,10 @@ sc-telemetry = { version = "2.0.0", path = "../../telemetry" }

[dev-dependencies]
sp-keyring = { version = "2.0.0", path = "../../../primitives/keyring" }
sc-executor = { version = "2.0.0", path = "../../executor" }
sc-executor = { version = "0.8", path = "../../executor" }
sc-network = { version = "0.8", path = "../../network" }
sc-network-test = { version = "2.0.0", path = "../../network/test" }
sc-service = { version = "2.0.0", path = "../../service" }
sc-network-test = { version = "0.8.0", path = "../../network/test" }
sc-service = { version = "0.8", path = "../../service" }
substrate-test-runtime-client = { version = "2.0.0", path = "../../../test-utils/runtime/client" }
tokio = "0.1.22"
env_logger = "0.7.0"
Expand Down
10 changes: 5 additions & 5 deletions client/consensus/babe/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ sp-timestamp = { version = "2.0.0", path = "../../../primitives/timestamp" }
sc-telemetry = { version = "2.0.0", path = "../../telemetry" }
sc-keystore = { version = "2.0.0", path = "../../keystore" }
sc-client-api = { version = "2.0.0", path = "../../api" }
sc-client = { version = "2.0.0", path = "../../" }
sc-client = { version = "0.8", path = "../../" }
sp-api = { version = "2.0.0", path = "../../../primitives/api" }
sp-block-builder = { version = "2.0.0", path = "../../../primitives/block-builder" }
sp-blockchain = { version = "2.0.0", path = "../../../primitives/blockchain" }
Expand All @@ -41,12 +41,12 @@ derive_more = "0.99.2"

[dev-dependencies]
sp-keyring = { version = "2.0.0", path = "../../../primitives/keyring" }
sc-executor = { version = "2.0.0", path = "../../executor" }
sc-executor = { version = "0.8", path = "../../executor" }
sc-network = { version = "0.8", path = "../../network" }
sc-network-test = { version = "2.0.0", path = "../../network/test" }
sc-service = { version = "2.0.0", path = "../../service" }
sc-network-test = { version = "0.8.0", path = "../../network/test" }
sc-service = { version = "0.8", path = "../../service" }
substrate-test-runtime-client = { version = "2.0.0", path = "../../../test-utils/runtime/client" }
sc-block-builder = { version = "2.0.0", path = "../../block-builder" }
sc-block-builder = { version = "0.8", path = "../../block-builder" }
tokio = "0.1.22"
env_logger = "0.7.0"
tempfile = "3.1.0"
Expand Down
2 changes: 1 addition & 1 deletion client/consensus/slots/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ sc-client-api = { version = "2.0.0", path = "../../api" }
sp-core = { version = "2.0.0", path = "../../../primitives/core" }
sp-blockchain = { version = "2.0.0", path = "../../../primitives/blockchain" }
sp-runtime = { version = "2.0.0", path = "../../../primitives/runtime" }
sp-state-machine = { version = "2.0.0", path = "../../../primitives/state-machine" }
sp-state-machine = { version = "0.8.0", path = "../../../primitives/state-machine" }
sp-api = { version = "2.0.0", path = "../../../primitives/api" }
sc-telemetry = { version = "2.0.0", path = "../../telemetry" }
sp-consensus = { version = "0.8", path = "../../../primitives/consensus/common" }
Expand Down
Loading

0 comments on commit c2b0c0f

Please sign in to comment.