Final tweaks for Kusama PrePos. (#499)

* Final tweaks for Kusama PrePos.

* Replace old code

* Extra utility function.

* Update to latest Substrate

* Update to latest again
This commit is contained in:
Gavin Wood
2019-10-25 16:29:07 +02:00
committed by GitHub
parent 6d71392500
commit 6c14bad4e8
3 changed files with 99 additions and 96 deletions
+82 -82
View File
@@ -849,7 +849,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "fork-tree"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
]
@@ -3704,7 +3704,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "sr-api-macros"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"blake2-rfc 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)",
"proc-macro-crate 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -3716,7 +3716,7 @@ dependencies = [
[[package]]
name = "sr-arithmetic"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"integer-sqrt 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -3729,7 +3729,7 @@ dependencies = [
[[package]]
name = "sr-io"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"hash-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)",
"libsecp256k1 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -3747,7 +3747,7 @@ dependencies = [
[[package]]
name = "sr-primitives"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"impl-trait-for-tuples 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -3765,7 +3765,7 @@ dependencies = [
[[package]]
name = "sr-staking-primitives"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
@@ -3775,7 +3775,7 @@ dependencies = [
[[package]]
name = "sr-std"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
]
@@ -3783,7 +3783,7 @@ dependencies = [
[[package]]
name = "sr-version"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"impl-serde 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -3795,7 +3795,7 @@ dependencies = [
[[package]]
name = "srml-authority-discovery"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -3812,7 +3812,7 @@ dependencies = [
[[package]]
name = "srml-authorship"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"impl-trait-for-tuples 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -3828,7 +3828,7 @@ dependencies = [
[[package]]
name = "srml-babe"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"hex-literal 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -3848,7 +3848,7 @@ dependencies = [
[[package]]
name = "srml-balances"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -3863,7 +3863,7 @@ dependencies = [
[[package]]
name = "srml-collective"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -3879,7 +3879,7 @@ dependencies = [
[[package]]
name = "srml-democracy"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -3894,7 +3894,7 @@ dependencies = [
[[package]]
name = "srml-elections-phragmen"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -3910,7 +3910,7 @@ dependencies = [
[[package]]
name = "srml-executive"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -3924,7 +3924,7 @@ dependencies = [
[[package]]
name = "srml-finality-tracker"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"impl-trait-for-tuples 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -3939,7 +3939,7 @@ dependencies = [
[[package]]
name = "srml-grandpa"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -3957,7 +3957,7 @@ dependencies = [
[[package]]
name = "srml-im-online"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -3975,7 +3975,7 @@ dependencies = [
[[package]]
name = "srml-indices"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -3992,7 +3992,7 @@ dependencies = [
[[package]]
name = "srml-membership"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4006,7 +4006,7 @@ dependencies = [
[[package]]
name = "srml-metadata"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4017,7 +4017,7 @@ dependencies = [
[[package]]
name = "srml-offences"
version = "1.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4032,7 +4032,7 @@ dependencies = [
[[package]]
name = "srml-randomness-collective-flip"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4045,7 +4045,7 @@ dependencies = [
[[package]]
name = "srml-session"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"impl-trait-for-tuples 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4064,7 +4064,7 @@ dependencies = [
[[package]]
name = "srml-staking"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4084,7 +4084,7 @@ dependencies = [
[[package]]
name = "srml-staking-reward-curve"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"proc-macro-crate 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
"proc-macro2 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4095,7 +4095,7 @@ dependencies = [
[[package]]
name = "srml-sudo"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4109,7 +4109,7 @@ dependencies = [
[[package]]
name = "srml-support"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"bitmask 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
"impl-trait-for-tuples 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4130,7 +4130,7 @@ dependencies = [
[[package]]
name = "srml-support-procedural"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
"quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4142,7 +4142,7 @@ dependencies = [
[[package]]
name = "srml-support-procedural-tools"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"proc-macro-crate 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
"proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4154,7 +4154,7 @@ dependencies = [
[[package]]
name = "srml-support-procedural-tools-derive"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
"quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4164,7 +4164,7 @@ dependencies = [
[[package]]
name = "srml-system"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"impl-trait-for-tuples 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4181,7 +4181,7 @@ dependencies = [
[[package]]
name = "srml-system-rpc"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"jsonrpc-core 13.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"jsonrpc-core-client 13.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4199,7 +4199,7 @@ dependencies = [
[[package]]
name = "srml-system-rpc-runtime-api"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"substrate-client 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
@@ -4208,7 +4208,7 @@ dependencies = [
[[package]]
name = "srml-timestamp"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"impl-trait-for-tuples 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4223,7 +4223,7 @@ dependencies = [
[[package]]
name = "srml-transaction-payment"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
@@ -4235,7 +4235,7 @@ dependencies = [
[[package]]
name = "srml-treasury"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4322,7 +4322,7 @@ dependencies = [
[[package]]
name = "substrate-application-crypto"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4334,7 +4334,7 @@ dependencies = [
[[package]]
name = "substrate-authority-discovery"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
"derive_more 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4356,7 +4356,7 @@ dependencies = [
[[package]]
name = "substrate-authority-discovery-primitives"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
@@ -4378,7 +4378,7 @@ dependencies = [
[[package]]
name = "substrate-chain-spec"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"impl-trait-for-tuples 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4393,7 +4393,7 @@ dependencies = [
[[package]]
name = "substrate-chain-spec-derive"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"proc-macro-crate 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
"proc-macro2 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4404,7 +4404,7 @@ dependencies = [
[[package]]
name = "substrate-cli"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"ansi_term 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)",
"app_dirs 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4440,7 +4440,7 @@ dependencies = [
[[package]]
name = "substrate-client"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"derive_more 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
"fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4470,7 +4470,7 @@ dependencies = [
[[package]]
name = "substrate-client-db"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"hash-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)",
"kvdb 0.1.0 (git+https://github.com/paritytech/parity-common?rev=b0317f649ab2c665b7987b8475878fc4d2e1f81d)",
@@ -4494,7 +4494,7 @@ dependencies = [
[[package]]
name = "substrate-consensus-babe"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"derive_more 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
"fork-tree 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
@@ -4532,7 +4532,7 @@ dependencies = [
[[package]]
name = "substrate-consensus-babe-primitives"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"schnorrkel 0.8.5 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4546,7 +4546,7 @@ dependencies = [
[[package]]
name = "substrate-consensus-common"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"derive_more 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
"futures-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4565,7 +4565,7 @@ dependencies = [
[[package]]
name = "substrate-consensus-slots"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"futures-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)",
"futures-timer 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4583,7 +4583,7 @@ dependencies = [
[[package]]
name = "substrate-consensus-uncles"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
@@ -4597,7 +4597,7 @@ dependencies = [
[[package]]
name = "substrate-debug-derive"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"proc-macro2 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
"quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4607,7 +4607,7 @@ dependencies = [
[[package]]
name = "substrate-executor"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"derive_more 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4631,7 +4631,7 @@ dependencies = [
[[package]]
name = "substrate-externalities"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"environmental 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
"primitive-types 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4642,7 +4642,7 @@ dependencies = [
[[package]]
name = "substrate-finality-grandpa"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"finality-grandpa 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
"fork-tree 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
@@ -4671,7 +4671,7 @@ dependencies = [
[[package]]
name = "substrate-finality-grandpa-primitives"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4684,7 +4684,7 @@ dependencies = [
[[package]]
name = "substrate-header-metadata"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"lru-cache 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4694,7 +4694,7 @@ dependencies = [
[[package]]
name = "substrate-inherents"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4705,7 +4705,7 @@ dependencies = [
[[package]]
name = "substrate-keyring"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
@@ -4717,7 +4717,7 @@ dependencies = [
[[package]]
name = "substrate-keystore"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"derive_more 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
"hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4732,7 +4732,7 @@ dependencies = [
[[package]]
name = "substrate-network"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4774,7 +4774,7 @@ dependencies = [
[[package]]
name = "substrate-offchain"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
"fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4801,7 +4801,7 @@ dependencies = [
[[package]]
name = "substrate-offchain-primitives"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"sr-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
"substrate-client 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
@@ -4810,7 +4810,7 @@ dependencies = [
[[package]]
name = "substrate-panic-handler"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"backtrace 0.3.40 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4819,7 +4819,7 @@ dependencies = [
[[package]]
name = "substrate-peerset"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"futures-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)",
"libp2p 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4832,7 +4832,7 @@ dependencies = [
[[package]]
name = "substrate-phragmen"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"sr-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
"sr-std 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
@@ -4841,7 +4841,7 @@ dependencies = [
[[package]]
name = "substrate-primitives"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"base58 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"blake2-rfc 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4879,7 +4879,7 @@ dependencies = [
[[package]]
name = "substrate-primitives-storage"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"impl-serde 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4890,7 +4890,7 @@ dependencies = [
[[package]]
name = "substrate-rpc"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"futures-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)",
"hash-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4916,7 +4916,7 @@ dependencies = [
[[package]]
name = "substrate-rpc-api"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"derive_more 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
"futures-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4938,7 +4938,7 @@ dependencies = [
[[package]]
name = "substrate-rpc-primitives"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
"substrate-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
@@ -4947,7 +4947,7 @@ dependencies = [
[[package]]
name = "substrate-rpc-servers"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"jsonrpc-core 13.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"jsonrpc-http-server 13.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4962,7 +4962,7 @@ dependencies = [
[[package]]
name = "substrate-serializer"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_json 1.0.41 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4971,7 +4971,7 @@ dependencies = [
[[package]]
name = "substrate-service"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"derive_more 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
"exit-future 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -5013,7 +5013,7 @@ dependencies = [
[[package]]
name = "substrate-session"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"sr-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
"sr-std 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
@@ -5024,7 +5024,7 @@ dependencies = [
[[package]]
name = "substrate-state-db"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -5035,7 +5035,7 @@ dependencies = [
[[package]]
name = "substrate-state-machine"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"hash-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -5054,7 +5054,7 @@ dependencies = [
[[package]]
name = "substrate-telemetry"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
"futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -5076,7 +5076,7 @@ dependencies = [
[[package]]
name = "substrate-transaction-graph"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"derive_more 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
"futures-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -5090,7 +5090,7 @@ dependencies = [
[[package]]
name = "substrate-transaction-pool"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"derive_more 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
"futures-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -5106,7 +5106,7 @@ dependencies = [
[[package]]
name = "substrate-trie"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"hash-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)",
"memory-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -5125,7 +5125,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "substrate-wasm-interface"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c6524464feb7c88d35e73e5e3a9f7fde90763d97"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48"
dependencies = [
"wasmi 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
-1
View File
@@ -574,7 +574,6 @@ mod tests {
type ApproveOrigin = system::EnsureRoot<u64>;
type RejectOrigin = system::EnsureRoot<u64>;
type Event = ();
type MintedForSpending = ();
type ProposalRejection = ();
type ProposalBond = ProposalBond;
type ProposalBondMinimum = ProposalBondMinimum;
+17 -13
View File
@@ -29,7 +29,7 @@ mod slots;
mod crowdfund;
use rstd::prelude::*;
use substrate_primitives::u32_trait::{_1, _2, _3, _4};
use substrate_primitives::u32_trait::{_1, _2, _3, _4, _5};
use codec::{Encode, Decode};
use primitives::{
AccountId, AccountIndex, Balance, BlockNumber, Hash, Nonce, Signature, Moment,
@@ -130,7 +130,8 @@ impl SignedExtension for OnlyStakingAndClaims {
{
match call {
Call::Staking(_) | Call::Claims(_) | Call::Sudo(_) | Call::Session(_)
| Call::ElectionsPhragmen(_)
| Call::ElectionsPhragmen(_) | Call::TechnicalMembership(_)
| Call::TechnicalCommittee(_)
=>
Ok(Default::default()),
_ => Err(InvalidTransaction::Custom(ValidityError::NoPermission.into()).into()),
@@ -312,7 +313,8 @@ parameter_types! {
// Six sessions in an era (24 hours).
pub const SessionsPerEra: SessionIndex = 6;
// 28 eras for unbonding (28 days).
pub const BondingDuration: staking::EraIndex = 28;
// KUSAMA: This value is 1/4 of what we expect for the mainnet.
pub const BondingDuration: staking::EraIndex = 7;
pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE;
}
@@ -331,12 +333,13 @@ impl staking::Trait for Runtime {
}
parameter_types! {
pub const LaunchPeriod: BlockNumber = 28 * 24 * 60 * MINUTES;
pub const VotingPeriod: BlockNumber = 28 * 24 * 60 * MINUTES;
pub const EmergencyVotingPeriod: BlockNumber = 3 * 24 * 60 * MINUTES;
// KUSAMA: These values are 1/4 of what we expect for the mainnet.
pub const LaunchPeriod: BlockNumber = 7 * DAYS;
pub const VotingPeriod: BlockNumber = 7 * DAYS;
pub const EmergencyVotingPeriod: BlockNumber = 3 * HOURS;
pub const MinimumDeposit: Balance = 100 * DOLLARS;
pub const EnactmentPeriod: BlockNumber = 30 * 24 * 60 * MINUTES;
pub const CooloffPeriod: BlockNumber = 28 * 24 * 60 * MINUTES;
pub const EnactmentPeriod: BlockNumber = 8 * DAYS;
pub const CooloffPeriod: BlockNumber = 7 * DAYS;
}
impl democracy::Trait for Runtime {
@@ -410,17 +413,18 @@ impl membership::Trait<membership::Instance1> for Runtime {
parameter_types! {
pub const ProposalBond: Permill = Permill::from_percent(5);
pub const ProposalBondMinimum: Balance = 100 * DOLLARS;
pub const SpendPeriod: BlockNumber = 24 * DAYS;
pub const Burn: Permill = Permill::from_percent(5);
// KUSAMA: This value is 1/4 of that expected for mainnet
pub const SpendPeriod: BlockNumber = 6 * DAYS;
// KUSAMA: This value is 1/5 of that expected for mainnet
pub const Burn: Permill = Permill::from_percent(1);
}
impl treasury::Trait for Runtime {
type Currency = Balances;
type ApproveOrigin = collective::EnsureProportionAtLeast<_2, _3, AccountId, CouncilCollective>;
type ApproveOrigin = collective::EnsureProportionAtLeast<_3, _5, AccountId, CouncilCollective>;
type RejectOrigin = collective::EnsureProportionMoreThan<_1, _2, AccountId, CouncilCollective>;
type Event = Event;
type MintedForSpending = ();
type ProposalRejection = ();
type ProposalRejection = Treasury;
type ProposalBond = ProposalBond;
type ProposalBondMinimum = ProposalBondMinimum;
type SpendPeriod = SpendPeriod;