From becbe0a339a22eb4f4acbe0ae98693884e653d7f Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Wed, 18 Mar 2020 15:47:34 +0100 Subject: [PATCH] alpha.4 release fixes (#5303) * Adding missing metadata for benchmark-pallet * Missed to bump a few * release on roling tag * Wasm executors were missed --- substrate/.gitlab-ci.yml | 2 +- substrate/Cargo.lock | 12 ++++++------ substrate/client/executor/Cargo.toml | 6 +++--- substrate/client/executor/common/Cargo.toml | 2 +- substrate/client/executor/wasmi/Cargo.toml | 6 +++--- substrate/client/executor/wasmtime/Cargo.toml | 4 ++-- substrate/frame/benchmark/Cargo.toml | 3 +++ substrate/frame/elections-phragmen/Cargo.toml | 2 +- substrate/frame/example-offchain-worker/Cargo.toml | 2 +- substrate/frame/example/Cargo.toml | 2 +- substrate/frame/staking/Cargo.toml | 2 +- substrate/primitives/allocator/Cargo.toml | 2 +- substrate/primitives/io/Cargo.toml | 2 +- substrate/primitives/phragmen/Cargo.toml | 2 +- substrate/primitives/runtime-interface/Cargo.toml | 2 +- substrate/primitives/sandbox/Cargo.toml | 2 +- substrate/primitives/wasm-interface/Cargo.toml | 2 +- substrate/test-utils/Cargo.toml | 2 +- 18 files changed, 30 insertions(+), 27 deletions(-) diff --git a/substrate/.gitlab-ci.yml b/substrate/.gitlab-ci.yml index 98cf4dd1d8..8791690d89 100644 --- a/substrate/.gitlab-ci.yml +++ b/substrate/.gitlab-ci.yml @@ -578,7 +578,7 @@ publish-to-crates-io: <<: *docker-env only: - tags - - /^v[0-9]+\.[0-9]+\.[0-9]+.*$/ + - ci-release script: - cargo install cargo-unleash ${CARGO_UNLEASH_INSTALL_PARAMS} - cargo unleash em-dragons --no-check ${CARGO_UNLEASH_PKG_DEF} diff --git a/substrate/Cargo.lock b/substrate/Cargo.lock index aa0212c0b2..70610b770b 100644 --- a/substrate/Cargo.lock +++ b/substrate/Cargo.lock @@ -4158,7 +4158,7 @@ dependencies = [ [[package]] name = "pallet-example" -version = "2.0.0-alpha.3" +version = "2.0.0-alpha.4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4174,7 +4174,7 @@ dependencies = [ [[package]] name = "pallet-example-offchain-worker" -version = "2.0.0-alpha.3" +version = "2.0.0-alpha.4" dependencies = [ "frame-support", "frame-system", @@ -6101,7 +6101,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" -version = "0.8.0-alpha.3" +version = "0.8.0-alpha.4" dependencies = [ "log 0.4.8", "parity-scale-codec", @@ -6116,7 +6116,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" -version = "0.8.0-alpha.3" +version = "0.8.0-alpha.4" dependencies = [ "assert_matches", "log 0.4.8", @@ -7544,7 +7544,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" -version = "2.0.0-alpha.3" +version = "2.0.0-alpha.4" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -7866,7 +7866,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" -version = "2.0.0-alpha.3" +version = "2.0.0-alpha.4" [[package]] name = "substrate-wasm-builder" diff --git a/substrate/client/executor/Cargo.toml b/substrate/client/executor/Cargo.toml index aa14c1e43e..be4730b2a2 100644 --- a/substrate/client/executor/Cargo.toml +++ b/substrate/client/executor/Cargo.toml @@ -21,12 +21,12 @@ sp-panic-handler = { version = "2.0.0-alpha.4", path = "../../primitives/panic-h wasmi = "0.6.2" parity-wasm = "0.41.0" lazy_static = "1.4.0" -sp-wasm-interface = { version = "2.0.0-alpha.2", path = "../../primitives/wasm-interface" } +sp-wasm-interface = { version = "2.0.0-alpha.4", path = "../../primitives/wasm-interface" } sp-runtime-interface = { version = "2.0.0-alpha.4", path = "../../primitives/runtime-interface" } sp-externalities = { version = "0.8.0-alpha.4", path = "../../primitives/externalities" } sc-executor-common = { version = "0.8.0-alpha.4", path = "common" } -sc-executor-wasmi = { version = "0.8.0-alpha.2", path = "wasmi" } -sc-executor-wasmtime = { version = "0.8.0-alpha.2", path = "wasmtime", optional = true } +sc-executor-wasmi = { version = "0.8.0-alpha.4", path = "wasmi" } +sc-executor-wasmtime = { version = "0.8.0-alpha.4", path = "wasmtime", optional = true } parking_lot = "0.10.0" log = "0.4.8" libsecp256k1 = "0.3.4" diff --git a/substrate/client/executor/common/Cargo.toml b/substrate/client/executor/common/Cargo.toml index 5b54f091f6..c1a92a8ba4 100644 --- a/substrate/client/executor/common/Cargo.toml +++ b/substrate/client/executor/common/Cargo.toml @@ -16,7 +16,7 @@ codec = { package = "parity-scale-codec", version = "1.2.0" } wasmi = "0.6.2" sp-core = { version = "2.0.0-alpha.4", path = "../../../primitives/core" } sp-allocator = { version = "2.0.0-alpha.4", path = "../../../primitives/allocator" } -sp-wasm-interface = { version = "2.0.0-alpha.2", path = "../../../primitives/wasm-interface" } +sp-wasm-interface = { version = "2.0.0-alpha.4", path = "../../../primitives/wasm-interface" } sp-runtime-interface = { version = "2.0.0-alpha.4", path = "../../../primitives/runtime-interface" } sp-serializer = { version = "2.0.0-alpha.4", path = "../../../primitives/serializer" } diff --git a/substrate/client/executor/wasmi/Cargo.toml b/substrate/client/executor/wasmi/Cargo.toml index ccaf8b449b..8655561d43 100644 --- a/substrate/client/executor/wasmi/Cargo.toml +++ b/substrate/client/executor/wasmi/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "sc-executor-wasmi" -version = "0.8.0-alpha.3" +version = "0.8.0-alpha.4" authors = ["Parity Technologies "] edition = "2018" license = "GPL-3.0" homepage = "https://substrate.dev" repository = "https://github.com/paritytech/substrate/" description = "This crate provides an implementation of `WasmRuntime` that is baked by wasmi." -documentation = "https://docs.rs/sc-execturo-wasmi" +documentation = "https://docs.rs/sc-executor-wasmi" [dependencies] log = "0.4.8" @@ -15,7 +15,7 @@ wasmi = "0.6.2" parity-wasm = "0.41.0" codec = { package = "parity-scale-codec", version = "1.2.0" } sc-executor-common = { version = "0.8.0-alpha.4", path = "../common" } -sp-wasm-interface = { version = "2.0.0-alpha.2", path = "../../../primitives/wasm-interface" } +sp-wasm-interface = { version = "2.0.0-alpha.4", path = "../../../primitives/wasm-interface" } sp-runtime-interface = { version = "2.0.0-alpha.4", path = "../../../primitives/runtime-interface" } sp-core = { version = "2.0.0-alpha.4", path = "../../../primitives/core" } sp-allocator = { version = "2.0.0-alpha.4", path = "../../../primitives/allocator" } diff --git a/substrate/client/executor/wasmtime/Cargo.toml b/substrate/client/executor/wasmtime/Cargo.toml index a7342145b8..fb9d054f09 100644 --- a/substrate/client/executor/wasmtime/Cargo.toml +++ b/substrate/client/executor/wasmtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sc-executor-wasmtime" -version = "0.8.0-alpha.3" +version = "0.8.0-alpha.4" authors = ["Parity Technologies "] edition = "2018" license = "GPL-3.0" @@ -14,7 +14,7 @@ scoped-tls = "1.0" parity-wasm = "0.41.0" codec = { package = "parity-scale-codec", version = "1.2.0" } sc-executor-common = { version = "0.8.0-alpha.4", path = "../common" } -sp-wasm-interface = { version = "2.0.0-alpha.2", path = "../../../primitives/wasm-interface" } +sp-wasm-interface = { version = "2.0.0-alpha.4", path = "../../../primitives/wasm-interface" } sp-runtime-interface = { version = "2.0.0-alpha.4", path = "../../../primitives/runtime-interface" } sp-core = { version = "2.0.0-alpha.4", path = "../../../primitives/core" } sp-allocator = { version = "2.0.0-alpha.4", path = "../../../primitives/allocator" } diff --git a/substrate/frame/benchmark/Cargo.toml b/substrate/frame/benchmark/Cargo.toml index cbdc017049..2501e6090a 100644 --- a/substrate/frame/benchmark/Cargo.toml +++ b/substrate/frame/benchmark/Cargo.toml @@ -4,6 +4,9 @@ version = "2.0.0-alpha.4" authors = ["Parity Technologies "] edition = "2018" license = "GPL-3.0" +homepage = "https://substrate.dev" +repository = "https://github.com/paritytech/substrate/" +description = "Patterns to benchmark in a FRAME runtime." [dependencies] serde = { version = "1.0.101", optional = true } diff --git a/substrate/frame/elections-phragmen/Cargo.toml b/substrate/frame/elections-phragmen/Cargo.toml index a7514b10a3..bef7b7dfd8 100644 --- a/substrate/frame/elections-phragmen/Cargo.toml +++ b/substrate/frame/elections-phragmen/Cargo.toml @@ -21,7 +21,7 @@ sp-io = { version = "2.0.0-alpha.4", path = "../../primitives/io" } hex-literal = "0.2.1" pallet-balances = { version = "2.0.0-alpha.4", path = "../balances" } sp-core = { version = "2.0.0-alpha.4", path = "../../primitives/core" } -substrate-test-utils = { version = "2.0.0-alpha.2", path = "../../test-utils" } +substrate-test-utils = { version = "2.0.0-alpha.4", path = "../../test-utils" } serde = { version = "1.0.101" } [features] diff --git a/substrate/frame/example-offchain-worker/Cargo.toml b/substrate/frame/example-offchain-worker/Cargo.toml index 2eafe9185d..3c705138f4 100644 --- a/substrate/frame/example-offchain-worker/Cargo.toml +++ b/substrate/frame/example-offchain-worker/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-example-offchain-worker" -version = "2.0.0-alpha.3" +version = "2.0.0-alpha.4" authors = ["Parity Technologies "] edition = "2018" license = "Unlicense" diff --git a/substrate/frame/example/Cargo.toml b/substrate/frame/example/Cargo.toml index 9edd365405..ee1b870e03 100644 --- a/substrate/frame/example/Cargo.toml +++ b/substrate/frame/example/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-example" -version = "2.0.0-alpha.3" +version = "2.0.0-alpha.4" authors = ["Parity Technologies "] edition = "2018" license = "Unlicense" diff --git a/substrate/frame/staking/Cargo.toml b/substrate/frame/staking/Cargo.toml index e1991d4a2a..0bb6c3fd4c 100644 --- a/substrate/frame/staking/Cargo.toml +++ b/substrate/frame/staking/Cargo.toml @@ -30,7 +30,7 @@ sp-core = { version = "2.0.0-alpha.4", path = "../../primitives/core" } pallet-balances = { version = "2.0.0-alpha.4", path = "../balances" } pallet-timestamp = { version = "2.0.0-alpha.4", path = "../timestamp" } pallet-staking-reward-curve = { version = "2.0.0-alpha.4", path = "../staking/reward-curve" } -substrate-test-utils = { version = "2.0.0-alpha.2", path = "../../test-utils" } +substrate-test-utils = { version = "2.0.0-alpha.4", path = "../../test-utils" } frame-benchmarking = { version = "2.0.0-alpha.4", path = "../benchmarking" } rand_chacha = { version = "0.2" } diff --git a/substrate/primitives/allocator/Cargo.toml b/substrate/primitives/allocator/Cargo.toml index 31ce159955..358d74b79e 100644 --- a/substrate/primitives/allocator/Cargo.toml +++ b/substrate/primitives/allocator/Cargo.toml @@ -12,7 +12,7 @@ documentation = "https://docs.rs/sp-allocator" [dependencies] sp-std = { version = "2.0.0-alpha.4", path = "../std", default-features = false } sp-core = { version = "2.0.0-alpha.4", path = "../core", default-features = false } -sp-wasm-interface = { version = "2.0.0-alpha.2", path = "../wasm-interface", default-features = false } +sp-wasm-interface = { version = "2.0.0-alpha.4", path = "../wasm-interface", default-features = false } log = { version = "0.4.8", optional = true } derive_more = { version = "0.99.2", optional = true } diff --git a/substrate/primitives/io/Cargo.toml b/substrate/primitives/io/Cargo.toml index 8ff99349a8..2b445be657 100644 --- a/substrate/primitives/io/Cargo.toml +++ b/substrate/primitives/io/Cargo.toml @@ -17,7 +17,7 @@ sp-core = { version = "2.0.0-alpha.4", default-features = false, path = "../core sp-std = { version = "2.0.0-alpha.4", default-features = false, path = "../std" } libsecp256k1 = { version = "0.3.4", optional = true } sp-state-machine = { version = "0.8.0-alpha.4", optional = true, path = "../../primitives/state-machine" } -sp-wasm-interface = { version = "2.0.0-alpha.2", path = "../../primitives/wasm-interface", default-features = false } +sp-wasm-interface = { version = "2.0.0-alpha.4", path = "../../primitives/wasm-interface", default-features = false } sp-runtime-interface = { version = "2.0.0-alpha.4", default-features = false, path = "../runtime-interface" } sp-trie = { version = "2.0.0-alpha.4", optional = true, path = "../../primitives/trie" } sp-externalities = { version = "0.8.0-alpha.4", optional = true, path = "../externalities" } diff --git a/substrate/primitives/phragmen/Cargo.toml b/substrate/primitives/phragmen/Cargo.toml index 6d813bb3c5..53429480bb 100644 --- a/substrate/primitives/phragmen/Cargo.toml +++ b/substrate/primitives/phragmen/Cargo.toml @@ -14,7 +14,7 @@ sp-std = { version = "2.0.0-alpha.4", default-features = false, path = "../std" sp-runtime = { version = "2.0.0-alpha.4", default-features = false, path = "../../primitives/runtime" } [dev-dependencies] -substrate-test-utils = { version = "2.0.0-alpha.2", path = "../../test-utils" } +substrate-test-utils = { version = "2.0.0-alpha.4", path = "../../test-utils" } sp-io ={ version = "2.0.0-alpha.4", path = "../../primitives/io" } rand = "0.7.2" diff --git a/substrate/primitives/runtime-interface/Cargo.toml b/substrate/primitives/runtime-interface/Cargo.toml index 403eaf8b83..06f25c45dd 100644 --- a/substrate/primitives/runtime-interface/Cargo.toml +++ b/substrate/primitives/runtime-interface/Cargo.toml @@ -10,7 +10,7 @@ description = "Substrate runtime interface" documentation = "https://docs.rs/sp-runtime-interface/" [dependencies] -sp-wasm-interface = { version = "2.0.0-alpha.2", path = "../wasm-interface", default-features = false } +sp-wasm-interface = { version = "2.0.0-alpha.4", path = "../wasm-interface", default-features = false } sp-std = { version = "2.0.0-alpha.4", default-features = false, path = "../std" } sp-runtime-interface-proc-macro = { version = "2.0.0-alpha.4", path = "proc-macro" } sp-externalities = { version = "0.8.0-alpha.4", optional = true, path = "../externalities" } diff --git a/substrate/primitives/sandbox/Cargo.toml b/substrate/primitives/sandbox/Cargo.toml index 9057fea8e3..fb01e32acd 100755 --- a/substrate/primitives/sandbox/Cargo.toml +++ b/substrate/primitives/sandbox/Cargo.toml @@ -13,7 +13,7 @@ wasmi = { version = "0.6.2", optional = true } sp-core = { version = "2.0.0-alpha.4", default-features = false, path = "../core" } sp-std = { version = "2.0.0-alpha.4", default-features = false, path = "../std" } sp-io = { version = "2.0.0-alpha.4", default-features = false, path = "../io" } -sp-wasm-interface = { version = "2.0.0-alpha.2", default-features = false, path = "../wasm-interface" } +sp-wasm-interface = { version = "2.0.0-alpha.4", default-features = false, path = "../wasm-interface" } codec = { package = "parity-scale-codec", version = "1.2.0", default-features = false } [dev-dependencies] diff --git a/substrate/primitives/wasm-interface/Cargo.toml b/substrate/primitives/wasm-interface/Cargo.toml index 66157333e6..e8bbbc3ebe 100644 --- a/substrate/primitives/wasm-interface/Cargo.toml +++ b/substrate/primitives/wasm-interface/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sp-wasm-interface" -version = "2.0.0-alpha.3" +version = "2.0.0-alpha.4" authors = ["Parity Technologies "] edition = "2018" license = "GPL-3.0" diff --git a/substrate/test-utils/Cargo.toml b/substrate/test-utils/Cargo.toml index d3477b94a6..9ebfa16dac 100644 --- a/substrate/test-utils/Cargo.toml +++ b/substrate/test-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "substrate-test-utils" -version = "2.0.0-alpha.3" +version = "2.0.0-alpha.4" authors = ["Parity Technologies "] edition = "2018" license = "GPL-3.0"