Unverified Commit 3b54276e authored by Gavin Wood's avatar Gavin Wood Committed by GitHub
Browse files

Update substrate and add some sensible values (#387)

* Update substrate

* Update substrate and some chain spec

* Undo old change

* Use hex ser/de for ethereum addresses

* Add docs.

* Accidental line

* incorrect fix

* Fix build
parent edd87def
Pipeline #49741 passed with stages
in 17 minutes and 53 seconds
......@@ -63,6 +63,14 @@ dependencies = [
"stream-cipher 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "ahash"
version = "0.2.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"const-random 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "aho-corasick"
version = "0.7.6"
......@@ -416,6 +424,24 @@ dependencies = [
"bitflags 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "const-random"
version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"const-random-macro 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
"proc-macro-hack 0.5.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "const-random-macro"
version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"proc-macro-hack 0.5.8 (registry+https://github.com/rust-lang/crates.io-index)",
"rand 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "constant_time_eq"
version = "0.1.3"
......@@ -766,7 +792,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#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"parity-scale-codec 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
]
......@@ -984,12 +1010,12 @@ dependencies = [
[[package]]
name = "hash-db"
version = "0.15.0"
version = "0.15.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "hash256-std-hasher"
version = "0.15.0"
version = "0.15.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"crunchy 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -1004,6 +1030,15 @@ dependencies = [
"scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "hashbrown"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"ahash 0.2.12 (registry+https://github.com/rust-lang/crates.io-index)",
"autocfg 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "hashmap_core"
version = "0.1.10"
......@@ -1218,13 +1253,13 @@ dependencies = [
[[package]]
name = "jsonrpc-client-transports"
version = "12.2.0"
version = "13.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
"futures 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)",
"jsonrpc-core 12.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"jsonrpc-pubsub 12.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"jsonrpc-core 13.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"jsonrpc-pubsub 13.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.98 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_json 1.0.40 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -1232,7 +1267,7 @@ dependencies = [
[[package]]
name = "jsonrpc-core"
version = "12.2.0"
version = "13.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"futures 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -1244,15 +1279,15 @@ dependencies = [
[[package]]
name = "jsonrpc-core-client"
version = "12.2.0"
version = "13.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"jsonrpc-client-transports 12.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"jsonrpc-client-transports 13.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "jsonrpc-derive"
version = "12.2.0"
version = "13.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"proc-macro-crate 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -1263,37 +1298,37 @@ dependencies = [
[[package]]
name = "jsonrpc-http-server"
version = "12.2.0"
version = "13.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"hyper 0.12.33 (registry+https://github.com/rust-lang/crates.io-index)",
"jsonrpc-core 12.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"jsonrpc-server-utils 12.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"jsonrpc-core 13.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"jsonrpc-server-utils 13.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
"net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)",
"parking_lot 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
"parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
"unicase 2.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "jsonrpc-pubsub"
version = "12.2.0"
version = "13.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"jsonrpc-core 12.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"jsonrpc-core 13.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
"parking_lot 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
"parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.98 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "jsonrpc-server-utils"
version = "12.2.0"
version = "13.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
"globset 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)",
"jsonrpc-core 12.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"jsonrpc-core 13.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
"num_cpus 1.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -1304,13 +1339,13 @@ dependencies = [
[[package]]
name = "jsonrpc-ws-server"
version = "12.2.0"
version = "13.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"jsonrpc-core 12.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"jsonrpc-server-utils 12.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"jsonrpc-core 13.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"jsonrpc-server-utils 13.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
"parking_lot 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
"parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
"slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
"ws 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
......@@ -1928,11 +1963,11 @@ dependencies = [
[[package]]
name = "memory-db"
version = "0.15.0"
version = "0.15.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"hash-db 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
"hashmap_core 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
"hash-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)",
"hashbrown 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-util-mem 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
......@@ -2597,6 +2632,7 @@ dependencies = [
"safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.98 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_derive 1.0.98 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_json 1.0.40 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-io 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
"sr-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
"sr-staking-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
......@@ -2633,7 +2669,7 @@ dependencies = [
"substrate-trie 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
"substrate-wasm-builder-runner 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
"tiny-keccak 1.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
"trie-db 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
"trie-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
......@@ -3378,7 +3414,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#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
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)",
......@@ -3390,10 +3426,10 @@ dependencies = [
[[package]]
name = "sr-io"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"environmental 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
"hash-db 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
"hash-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)",
"libsecp256k1 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-scale-codec 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
"rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -3407,7 +3443,7 @@ dependencies = [
[[package]]
name = "sr-primitives"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"integer-sqrt 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)",
......@@ -3425,7 +3461,7 @@ dependencies = [
[[package]]
name = "sr-staking-primitives"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"parity-scale-codec 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
......@@ -3435,7 +3471,7 @@ dependencies = [
[[package]]
name = "sr-std"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
]
......@@ -3443,7 +3479,7 @@ dependencies = [
[[package]]
name = "sr-version"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"impl-serde 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-scale-codec 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -3455,7 +3491,7 @@ dependencies = [
[[package]]
name = "srml-authorship"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"parity-scale-codec 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-io 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
......@@ -3470,7 +3506,7 @@ dependencies = [
[[package]]
name = "srml-babe"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"hex-literal 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-scale-codec 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -3490,7 +3526,7 @@ dependencies = [
[[package]]
name = "srml-balances"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"parity-scale-codec 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
"safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -3505,7 +3541,7 @@ dependencies = [
[[package]]
name = "srml-collective"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"parity-scale-codec 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
"safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -3521,7 +3557,7 @@ dependencies = [
[[package]]
name = "srml-democracy"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"parity-scale-codec 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
"safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -3536,7 +3572,7 @@ dependencies = [
[[package]]
name = "srml-elections"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"parity-scale-codec 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
"safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -3552,7 +3588,7 @@ dependencies = [
[[package]]
name = "srml-executive"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"parity-scale-codec 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.98 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -3566,7 +3602,7 @@ dependencies = [
[[package]]
name = "srml-finality-tracker"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"parity-scale-codec 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.98 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -3580,7 +3616,7 @@ dependencies = [
[[package]]
name = "srml-grandpa"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"parity-scale-codec 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.98 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -3599,7 +3635,7 @@ dependencies = [
[[package]]
name = "srml-im-online"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"parity-scale-codec 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.98 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -3617,7 +3653,7 @@ dependencies = [
[[package]]
name = "srml-indices"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"parity-scale-codec 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
"safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -3634,7 +3670,7 @@ dependencies = [
[[package]]
name = "srml-membership"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"parity-scale-codec 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.98 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -3648,7 +3684,7 @@ dependencies = [
[[package]]
name = "srml-metadata"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"parity-scale-codec 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.98 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -3659,7 +3695,7 @@ dependencies = [
[[package]]
name = "srml-offences"
version = "1.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"parity-scale-codec 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.98 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -3674,7 +3710,7 @@ dependencies = [
[[package]]
name = "srml-session"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"parity-scale-codec 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
"safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -3692,7 +3728,7 @@ dependencies = [
[[package]]
name = "srml-staking"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"parity-scale-codec 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
"safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -3711,7 +3747,7 @@ dependencies = [
[[package]]
name = "srml-sudo"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"parity-scale-codec 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.98 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -3726,7 +3762,7 @@ dependencies = [
[[package]]
name = "srml-support"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"bitmask 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
"once_cell 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -3745,7 +3781,7 @@ dependencies = [
[[package]]
name = "srml-support-procedural"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
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)",
......@@ -3757,7 +3793,7 @@ dependencies = [
[[package]]
name = "srml-support-procedural-tools"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
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)",
......@@ -3769,7 +3805,7 @@ dependencies = [
[[package]]
name = "srml-support-procedural-tools-derive"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
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)",
......@@ -3779,7 +3815,7 @@ dependencies = [
[[package]]
name = "srml-system"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"parity-scale-codec 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
"safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -3795,7 +3831,7 @@ dependencies = [
[[package]]
name = "srml-timestamp"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"parity-scale-codec 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.98 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -3809,7 +3845,7 @@ dependencies = [
[[package]]
name = "srml-treasury"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"parity-scale-codec 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.98 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -3895,7 +3931,7 @@ dependencies = [
[[package]]
name = "substrate-application-crypto"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"parity-scale-codec 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.98 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -3918,7 +3954,7 @@ dependencies = [
[[package]]
name = "substrate-cli"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
"app_dirs 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -3953,12 +3989,12 @@ dependencies = [
[[package]]
name = "substrate-client"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"derive_more 0.14.1 (registry+https://github.com/rust-lang/crates.io-index)",
"fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"futures-preview 0.3.0-alpha.17 (registry+https://github.com/rust-lang/crates.io-index)",
"hash-db 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
"hash-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)",
"hex-literal 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"kvdb 0.1.0 (git+https://github.com/paritytech/parity-common?rev=b0317f649ab2c665b7987b8475878fc4d2e1f81d)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -3981,9 +4017,9 @@ dependencies = [
[[package]]
name = "substrate-client-db"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"hash-db 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
"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)",
"kvdb-memorydb 0.1.0 (git+https://github.com/paritytech/parity-common?rev=b0317f649ab2c665b7987b8475878fc4d2e1f81d)",
"kvdb-rocksdb 0.1.4 (git+https://github.com/paritytech/parity-common?rev=b0317f649ab2c665b7987b8475878fc4d2e1f81d)",
......@@ -4004,7 +4040,7 @@ dependencies = [
[[package]]
name = "substrate-consensus-babe"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"fork-tree 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
"futures 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -4039,7 +4075,7 @@ dependencies = [
[[package]]
name = "substrate-consensus-babe-primitives"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"parity-scale-codec 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
"schnorrkel 0.8.4 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -4053,7 +4089,7 @@ dependencies = [
[[package]]
name = "substrate-consensus-common"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"derive_more 0.14.1 (registry+https://github.com/rust-lang/crates.io-index)",
"futures-preview 0.3.0-alpha.17 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -4072,7 +4108,7 @@ dependencies = [
[[package]]
name = "substrate-consensus-slots"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"futures-preview 0.3.0-alpha.17 (registry+https://github.com/rust-lang/crates.io-index)",
"futures-timer 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -4090,7 +4126,7 @@ dependencies = [
[[package]]
name = "substrate-consensus-uncles"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
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)",
......@@ -4104,7 +4140,7 @@ dependencies = [
[[package]]
name = "substrate-executor"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
"derive_more 0.14.1 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -4128,7 +4164,7 @@ dependencies = [
[[package]]
name = "substrate-finality-grandpa"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
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)",
......@@ -4157,7 +4193,7 @@ dependencies = [
[[package]]
name = "substrate-finality-grandpa-primitives"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"parity-scale-codec 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.98 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -4170,7 +4206,7 @@ dependencies = [
[[package]]
name = "substrate-inherents"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"parity-scale-codec 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
"parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -4181,7 +4217,7 @@ dependencies = [
[[package]]
name = "substrate-keyring"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
......@@ -4193,7 +4229,7 @@ dependencies = [
[[package]]
name = "substrate-keystore"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
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)",
......@@ -4208,7 +4244,7 @@ dependencies = [
[[package]]
name = "substrate-network"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"bitflags 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -4249,7 +4285,7 @@ dependencies = [
[[package]]
name = "substrate-offchain"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"futures-preview 0.3.0-alpha.17 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -4267,7 +4303,7 @@ dependencies = [
[[package]]
name = "substrate-offchain-primitives"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
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)",
......@@ -4276,7 +4312,7 @@ dependencies = [
[[package]]
name = "substrate-panic-handler"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"backtrace 0.3.34 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -4285,7 +4321,7 @@ dependencies = [
[[package]]
name = "substrate-peerset"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
dependencies = [
"futures-preview 0.3.0-alpha.17 (registry+https://github.com/rust-lang/crates.io-index)",
"libp2p 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -4298,14 +4334,14 @@ dependencies = [
[[package]]
name = "substrate-primitives"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#5364a422e6b29522c6b723e8b80dbae39d7b1352"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4e1d637bf64e3437fa40f9e9e8460a5a0c0d9324"
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)",
"byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
"ed25519-dalek 1.0.0-pre.1 (registry+https://github.com/rust-lang/crates.io-index)",
"hash-db 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
"hash256-std-hasher 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
"hash-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)",
"hash256-std-hasher 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)",
"hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
"impl-serde 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -4330,15 +4366,15 @@ dependencies = [