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

Commit

Permalink
Releasing 3.0 (#8098)
Browse files Browse the repository at this point in the history
* bumping version for next release
* add changelog
* add guide
  • Loading branch information
gnunicorn committed Feb 10, 2021
1 parent 12562bb commit 49a4103
Show file tree
Hide file tree
Showing 200 changed files with 3,140 additions and 1,879 deletions.
308 changes: 154 additions & 154 deletions Cargo.lock

Large diffs are not rendered by default.

56 changes: 28 additions & 28 deletions bin/node-template/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,43 +18,43 @@ name = "node-template"
[dependencies]
structopt = "0.3.8"

sc-cli = { version = "0.8.0", path = "../../../client/cli", features = ["wasmtime"] }
sp-core = { version = "2.0.0", path = "../../../primitives/core" }
sc-executor = { version = "0.8.0", path = "../../../client/executor", features = ["wasmtime"] }
sc-service = { version = "0.8.0", path = "../../../client/service", features = ["wasmtime"] }
sc-telemetry = { version = "2.0.0", path = "../../../client/telemetry" }
sc-keystore = { version = "2.0.0", path = "../../../client/keystore" }
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-consensus-aura = { version = "0.8.0", path = "../../../client/consensus/aura" }
sp-consensus-aura = { version = "0.8.0", path = "../../../primitives/consensus/aura" }
sp-consensus = { version = "0.8.0", path = "../../../primitives/consensus/common" }
sc-consensus = { version = "0.8.0", path = "../../../client/consensus/common" }
sc-finality-grandpa = { version = "0.8.0", path = "../../../client/finality-grandpa" }
sp-finality-grandpa = { version = "2.0.0", path = "../../../primitives/finality-grandpa" }
sc-client-api = { version = "2.0.0", path = "../../../client/api" }
sp-runtime = { version = "2.0.0", path = "../../../primitives/runtime" }
sc-cli = { version = "0.9.0", path = "../../../client/cli", features = ["wasmtime"] }
sp-core = { version = "3.0.0", path = "../../../primitives/core" }
sc-executor = { version = "0.9.0", path = "../../../client/executor", features = ["wasmtime"] }
sc-service = { version = "0.9.0", path = "../../../client/service", features = ["wasmtime"] }
sc-telemetry = { version = "3.0.0", path = "../../../client/telemetry" }
sc-keystore = { version = "3.0.0", path = "../../../client/keystore" }
sp-inherents = { version = "3.0.0", path = "../../../primitives/inherents" }
sc-transaction-pool = { version = "3.0.0", path = "../../../client/transaction-pool" }
sp-transaction-pool = { version = "3.0.0", path = "../../../primitives/transaction-pool" }
sc-consensus-aura = { version = "0.9.0", path = "../../../client/consensus/aura" }
sp-consensus-aura = { version = "0.9.0", path = "../../../primitives/consensus/aura" }
sp-consensus = { version = "0.9.0", path = "../../../primitives/consensus/common" }
sc-consensus = { version = "0.9.0", path = "../../../client/consensus/common" }
sc-finality-grandpa = { version = "0.9.0", path = "../../../client/finality-grandpa" }
sp-finality-grandpa = { version = "3.0.0", path = "../../../primitives/finality-grandpa" }
sc-client-api = { version = "3.0.0", path = "../../../client/api" }
sp-runtime = { version = "3.0.0", path = "../../../primitives/runtime" }

# These dependencies are used for the node template's RPCs
jsonrpc-core = "15.1.0"
sc-rpc = { version = "2.0.0", path = "../../../client/rpc" }
sp-api = { version = "2.0.0", path = "../../../primitives/api" }
sc-rpc-api = { version = "0.8.0", path = "../../../client/rpc-api" }
sp-blockchain = { version = "2.0.0", path = "../../../primitives/blockchain" }
sp-block-builder = { version = "2.0.0", path = "../../../primitives/block-builder" }
sc-basic-authorship = { version = "0.8.0", path = "../../../client/basic-authorship" }
substrate-frame-rpc-system = { version = "2.0.0", path = "../../../utils/frame/rpc/system" }
pallet-transaction-payment-rpc = { version = "2.0.0", path = "../../../frame/transaction-payment/rpc/" }
sc-rpc = { version = "3.0.0", path = "../../../client/rpc" }
sp-api = { version = "3.0.0", path = "../../../primitives/api" }
sc-rpc-api = { version = "0.9.0", path = "../../../client/rpc-api" }
sp-blockchain = { version = "3.0.0", path = "../../../primitives/blockchain" }
sp-block-builder = { version = "3.0.0", path = "../../../primitives/block-builder" }
sc-basic-authorship = { version = "0.9.0", path = "../../../client/basic-authorship" }
substrate-frame-rpc-system = { version = "3.0.0", path = "../../../utils/frame/rpc/system" }
pallet-transaction-payment-rpc = { version = "3.0.0", path = "../../../frame/transaction-payment/rpc/" }

# These dependencies are used for runtime benchmarking
frame-benchmarking = { version = "2.0.0", path = "../../../frame/benchmarking" }
frame-benchmarking-cli = { version = "2.0.0", path = "../../../utils/frame/benchmarking-cli" }
frame-benchmarking = { version = "3.0.0", path = "../../../frame/benchmarking" }
frame-benchmarking-cli = { version = "3.0.0", path = "../../../utils/frame/benchmarking-cli" }

node-template-runtime = { version = "2.0.0", path = "../runtime" }

[build-dependencies]
substrate-build-script-utils = { version = "2.0.0", path = "../../../utils/build-script-utils" }
substrate-build-script-utils = { version = "3.0.0", path = "../../../utils/build-script-utils" }

[features]
default = []
Expand Down
16 changes: 8 additions & 8 deletions bin/node-template/pallets/template/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,32 +15,32 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] }

[dev-dependencies]
serde = { version = "1.0.101" }

[dependencies.frame-support]
default-features = false
version = "2.0.0"
version = "3.0.0"
path = "../../../../frame/support"

[dependencies.frame-system]
default-features = false
version = "2.0.0"
version = "3.0.0"
path = "../../../../frame/system"

[dev-dependencies]
serde = { version = "1.0.101" }

[dev-dependencies.sp-core]
default-features = false
version = "2.0.0"
version = "3.0.0"
path = "../../../../primitives/core"

[dev-dependencies.sp-io]
default-features = false
version = "2.0.0"
version = "3.0.0"
path = "../../../../primitives/io"

[dev-dependencies.sp-runtime]
default-features = false
version = "2.0.0"
version = "3.0.0"
path = "../../../../primitives/runtime"


Expand Down
52 changes: 26 additions & 26 deletions bin/node-template/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,42 +13,42 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] }

pallet-aura = { version = "2.0.0", default-features = false, path = "../../../frame/aura" }
pallet-balances = { version = "2.0.0", default-features = false, path = "../../../frame/balances" }
frame-support = { version = "2.0.0", default-features = false, path = "../../../frame/support" }
pallet-grandpa = { version = "2.0.0", default-features = false, path = "../../../frame/grandpa" }
pallet-randomness-collective-flip = { version = "2.0.0", default-features = false, path = "../../../frame/randomness-collective-flip" }
pallet-sudo = { version = "2.0.0", default-features = false, path = "../../../frame/sudo" }
frame-system = { version = "2.0.0", default-features = false, path = "../../../frame/system" }
pallet-timestamp = { version = "2.0.0", default-features = false, path = "../../../frame/timestamp" }
pallet-transaction-payment = { version = "2.0.0", default-features = false, path = "../../../frame/transaction-payment" }
frame-executive = { version = "2.0.0", default-features = false, path = "../../../frame/executive" }
pallet-aura = { version = "3.0.0", default-features = false, path = "../../../frame/aura" }
pallet-balances = { version = "3.0.0", default-features = false, path = "../../../frame/balances" }
frame-support = { version = "3.0.0", default-features = false, path = "../../../frame/support" }
pallet-grandpa = { version = "3.0.0", default-features = false, path = "../../../frame/grandpa" }
pallet-randomness-collective-flip = { version = "3.0.0", default-features = false, path = "../../../frame/randomness-collective-flip" }
pallet-sudo = { version = "3.0.0", default-features = false, path = "../../../frame/sudo" }
frame-system = { version = "3.0.0", default-features = false, path = "../../../frame/system" }
pallet-timestamp = { version = "3.0.0", default-features = false, path = "../../../frame/timestamp" }
pallet-transaction-payment = { version = "3.0.0", default-features = false, path = "../../../frame/transaction-payment" }
frame-executive = { version = "3.0.0", default-features = false, path = "../../../frame/executive" }
serde = { version = "1.0.101", optional = true, features = ["derive"] }
sp-api = { version = "2.0.0", default-features = false, path = "../../../primitives/api" }
sp-block-builder = { path = "../../../primitives/block-builder", default-features = false, version = "2.0.0"}
sp-consensus-aura = { version = "0.8.0", default-features = false, path = "../../../primitives/consensus/aura" }
sp-core = { version = "2.0.0", default-features = false, path = "../../../primitives/core" }
sp-inherents = { path = "../../../primitives/inherents", default-features = false, version = "2.0.0"}
sp-offchain = { version = "2.0.0", default-features = false, path = "../../../primitives/offchain" }
sp-runtime = { version = "2.0.0", default-features = false, path = "../../../primitives/runtime" }
sp-session = { version = "2.0.0", default-features = false, path = "../../../primitives/session" }
sp-std = { version = "2.0.0", default-features = false, path = "../../../primitives/std" }
sp-transaction-pool = { version = "2.0.0", default-features = false, path = "../../../primitives/transaction-pool" }
sp-version = { version = "2.0.0", default-features = false, path = "../../../primitives/version" }
sp-api = { version = "3.0.0", default-features = false, path = "../../../primitives/api" }
sp-block-builder = { path = "../../../primitives/block-builder", default-features = false, version = "3.0.0"}
sp-consensus-aura = { version = "0.9.0", default-features = false, path = "../../../primitives/consensus/aura" }
sp-core = { version = "3.0.0", default-features = false, path = "../../../primitives/core" }
sp-inherents = { path = "../../../primitives/inherents", default-features = false, version = "3.0.0"}
sp-offchain = { version = "3.0.0", default-features = false, path = "../../../primitives/offchain" }
sp-runtime = { version = "3.0.0", default-features = false, path = "../../../primitives/runtime" }
sp-session = { version = "3.0.0", default-features = false, path = "../../../primitives/session" }
sp-std = { version = "3.0.0", default-features = false, path = "../../../primitives/std" }
sp-transaction-pool = { version = "3.0.0", default-features = false, path = "../../../primitives/transaction-pool" }
sp-version = { version = "3.0.0", default-features = false, path = "../../../primitives/version" }

# Used for the node template's RPCs
frame-system-rpc-runtime-api = { version = "2.0.0", default-features = false, path = "../../../frame/system/rpc/runtime-api/" }
pallet-transaction-payment-rpc-runtime-api = { version = "2.0.0", default-features = false, path = "../../../frame/transaction-payment/rpc/runtime-api/" }
frame-system-rpc-runtime-api = { version = "3.0.0", default-features = false, path = "../../../frame/system/rpc/runtime-api/" }
pallet-transaction-payment-rpc-runtime-api = { version = "3.0.0", default-features = false, path = "../../../frame/transaction-payment/rpc/runtime-api/" }

# Used for runtime benchmarking
frame-benchmarking = { version = "2.0.0", default-features = false, path = "../../../frame/benchmarking", optional = true }
frame-system-benchmarking = { version = "2.0.0", default-features = false, path = "../../../frame/system/benchmarking", optional = true }
frame-benchmarking = { version = "3.0.0", default-features = false, path = "../../../frame/benchmarking", optional = true }
frame-system-benchmarking = { version = "3.0.0", default-features = false, path = "../../../frame/system/benchmarking", optional = true }
hex-literal = { version = "0.3.1", optional = true }

template = { version = "2.0.0", default-features = false, path = "../pallets/template", package = "pallet-template" }

[build-dependencies]
substrate-wasm-builder = { version = "3.0.0", path = "../../../utils/wasm-builder" }
substrate-wasm-builder = { version = "4.0.0", path = "../../../utils/wasm-builder" }

[features]
default = ["std"]
Expand Down
26 changes: 13 additions & 13 deletions bin/node/bench/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,24 @@ log = "0.4.8"
node-primitives = { version = "2.0.0", path = "../primitives" }
node-testing = { version = "2.0.0", path = "../testing" }
node-runtime = { version = "2.0.0", path = "../runtime" }
sc-cli = { version = "0.8.0", path = "../../../client/cli" }
sc-client-api = { version = "2.0.0", path = "../../../client/api/" }
sp-runtime = { version = "2.0.0", path = "../../../primitives/runtime" }
sp-state-machine = { version = "0.8.0", path = "../../../primitives/state-machine" }
sc-cli = { version = "0.9.0", path = "../../../client/cli" }
sc-client-api = { version = "3.0.0", path = "../../../client/api/" }
sp-runtime = { version = "3.0.0", path = "../../../primitives/runtime" }
sp-state-machine = { version = "0.9.0", path = "../../../primitives/state-machine" }
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"
sp-trie = { version = "2.0.0", path = "../../../primitives/trie" }
sp-core = { version = "2.0.0", path = "../../../primitives/core" }
sp-consensus = { version = "0.8.0", path = "../../../primitives/consensus/common" }
sp-transaction-pool = { version = "2.0.0", path = "../../../primitives/transaction-pool" }
sc-basic-authorship = { version = "0.8.0", path = "../../../client/basic-authorship" }
sp-inherents = { version = "2.0.0", path = "../../../primitives/inherents" }
sp-timestamp = { version = "2.0.0", default-features = false, path = "../../../primitives/timestamp" }
sp-tracing = { version = "2.0.0", path = "../../../primitives/tracing" }
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" }
sp-transaction-pool = { version = "3.0.0", path = "../../../primitives/transaction-pool" }
sc-basic-authorship = { version = "0.9.0", path = "../../../client/basic-authorship" }
sp-inherents = { version = "3.0.0", path = "../../../primitives/inherents" }
sp-timestamp = { version = "3.0.0", default-features = false, path = "../../../primitives/timestamp" }
sp-tracing = { version = "3.0.0", path = "../../../primitives/tracing" }
hash-db = "0.15.2"
tempfile = "3.1.0"
fs_extra = "1"
Expand All @@ -39,5 +39,5 @@ 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-db = { version = "0.2.2" }
sc-transaction-pool = { version = "2.0.0", path = "../../../client/transaction-pool" }
sc-transaction-pool = { version = "3.0.0", path = "../../../client/transaction-pool" }
futures = { version = "0.3.4", features = ["thread-pool"] }
2 changes: 1 addition & 1 deletion bin/node/browser-testing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ wasm-bindgen-test = "0.3.18"
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.8.0"}
sc-rpc-api = { path = "../../../client/rpc-api" , version = "0.9.0"}

0 comments on commit 49a4103

Please sign in to comment.