Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
a81a23a9
Unverified
Commit
a81a23a9
authored
Jan 16, 2019
by
Gav Wood
Committed by
GitHub
Jan 16, 2019
Browse files
Fixes for substrate#1404 (#76)
* Fixes for substrate#1404 * Updates for latest Substrate * Update lock file * Update runtime.
parent
89f6c0c6
Pipeline
#28448
passed with stages
in 14 minutes and 57 seconds
Changes
10
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Cargo.lock
View file @
a81a23a9
...
...
@@ -2033,6 +2033,7 @@ dependencies = [
"srml-democracy 0.1.0 (git+https://github.com/paritytech/substrate)",
"srml-executive 0.1.0 (git+https://github.com/paritytech/substrate)",
"srml-grandpa 0.1.0 (git+https://github.com/paritytech/substrate)",
"srml-indices 0.1.0 (git+https://github.com/paritytech/substrate)",
"srml-session 0.1.0 (git+https://github.com/paritytech/substrate)",
"srml-staking 0.1.0 (git+https://github.com/paritytech/substrate)",
"srml-sudo 0.1.0 (git+https://github.com/paritytech/substrate)",
...
...
@@ -2568,7 +2569,7 @@ dependencies = [
[[package]]
name = "sr-api-macros"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"blake2-rfc 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)",
"proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -2579,7 +2580,7 @@ dependencies = [
[[package]]
name = "sr-io"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"environmental 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"hash-db 0.9.0 (git+https://github.com/paritytech/trie)",
...
...
@@ -2594,7 +2595,7 @@ dependencies = [
[[package]]
name = "sr-primitives"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"integer-sqrt 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -2611,7 +2612,7 @@ dependencies = [
[[package]]
name = "sr-std"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
]
...
...
@@ -2619,7 +2620,7 @@ dependencies = [
[[package]]
name = "sr-version"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"parity-codec 2.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec-derive 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -2632,7 +2633,7 @@ dependencies = [
[[package]]
name = "srml-aura"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec 2.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -2652,7 +2653,7 @@ dependencies = [
[[package]]
name = "srml-balances"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec 2.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -2671,7 +2672,7 @@ dependencies = [
[[package]]
name = "srml-consensus"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec 2.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -2688,7 +2689,7 @@ dependencies = [
[[package]]
name = "srml-council"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec 2.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -2708,7 +2709,7 @@ dependencies = [
[[package]]
name = "srml-democracy"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec 2.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -2727,7 +2728,7 @@ dependencies = [
[[package]]
name = "srml-executive"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec 2.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -2743,7 +2744,7 @@ dependencies = [
[[package]]
name = "srml-grandpa"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec 2.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -2760,10 +2761,29 @@ dependencies = [
"substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)",
]
[[package]]
name = "srml-indices"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#553e78d0fe7f3dc29d56454de3b71f6893a16a1a"
dependencies = [
"hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec 2.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec-derive 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-io 0.1.0 (git+https://github.com/paritytech/substrate)",
"sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)",
"sr-std 0.1.0 (git+https://github.com/paritytech/substrate)",
"srml-support 0.1.0 (git+https://github.com/paritytech/substrate)",
"srml-system 0.1.0 (git+https://github.com/paritytech/substrate)",
"substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate)",
"substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)",
]
[[package]]
name = "srml-metadata"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"parity-codec 2.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec-derive 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -2776,7 +2796,7 @@ dependencies = [
[[package]]
name = "srml-session"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec 2.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -2796,7 +2816,7 @@ dependencies = [
[[package]]
name = "srml-staking"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec 2.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -2819,7 +2839,7 @@ dependencies = [
[[package]]
name = "srml-sudo"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec 2.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -2838,7 +2858,7 @@ dependencies = [
[[package]]
name = "srml-support"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"mashup 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -2856,7 +2876,7 @@ dependencies = [
[[package]]
name = "srml-support-procedural"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)",
"quote 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -2868,7 +2888,7 @@ dependencies = [
[[package]]
name = "srml-support-procedural-tools"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)",
"quote 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -2879,7 +2899,7 @@ dependencies = [
[[package]]
name = "srml-support-procedural-tools-derive"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)",
"quote 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -2889,7 +2909,7 @@ dependencies = [
[[package]]
name = "srml-system"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec 2.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -2906,7 +2926,7 @@ dependencies = [
[[package]]
name = "srml-timestamp"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec 2.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -2923,7 +2943,7 @@ dependencies = [
[[package]]
name = "srml-treasury"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec 2.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -2941,7 +2961,7 @@ dependencies = [
[[package]]
name = "srml-upgrade-key"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec 2.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -3052,7 +3072,7 @@ dependencies = [
[[package]]
name = "substrate-cli"
version = "0.3.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
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)",
...
...
@@ -3084,7 +3104,7 @@ dependencies = [
[[package]]
name = "substrate-client"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
"fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -3113,7 +3133,7 @@ dependencies = [
[[package]]
name = "substrate-client-db"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"hash-db 0.9.0 (git+https://github.com/paritytech/trie)",
"kvdb 0.1.0 (git+https://github.com/paritytech/parity-common?rev=b0317f649ab2c665b7987b8475878fc4d2e1f81d)",
...
...
@@ -3135,7 +3155,7 @@ dependencies = [
[[package]]
name = "substrate-consensus-aura"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
"futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -3157,7 +3177,7 @@ dependencies = [
[[package]]
name = "substrate-consensus-aura-primitives"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"parity-codec 2.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-io 0.1.0 (git+https://github.com/paritytech/substrate)",
...
...
@@ -3171,7 +3191,7 @@ dependencies = [
[[package]]
name = "substrate-consensus-common"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
"futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -3188,7 +3208,7 @@ dependencies = [
[[package]]
name = "substrate-executor"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"byteorder 1.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
"error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -3210,7 +3230,7 @@ dependencies = [
[[package]]
name = "substrate-finality-grandpa"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"finality-grandpa 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
"futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -3232,7 +3252,7 @@ dependencies = [
[[package]]
name = "substrate-finality-grandpa-primitives"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"parity-codec 2.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec-derive 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -3245,7 +3265,7 @@ dependencies = [
[[package]]
name = "substrate-keyring"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -3255,7 +3275,7 @@ dependencies = [
[[package]]
name = "substrate-keystore"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
"hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -3271,7 +3291,7 @@ dependencies = [
[[package]]
name = "substrate-network"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
"error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -3294,7 +3314,7 @@ dependencies = [
[[package]]
name = "substrate-network-libp2p"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"bytes 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)",
"error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -3319,7 +3339,7 @@ dependencies = [
[[package]]
name = "substrate-primitives"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
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)",
...
...
@@ -3344,7 +3364,7 @@ dependencies = [
[[package]]
name = "substrate-rpc"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
"jsonrpc-core 9.0.0 (git+https://github.com/paritytech/jsonrpc.git)",
...
...
@@ -3369,7 +3389,7 @@ dependencies = [
[[package]]
name = "substrate-rpc-servers"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"jsonrpc-http-server 9.0.0 (git+https://github.com/paritytech/jsonrpc.git)",
"jsonrpc-pubsub 9.0.0 (git+https://github.com/paritytech/jsonrpc.git)",
...
...
@@ -3383,7 +3403,7 @@ dependencies = [
[[package]]
name = "substrate-serializer"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"serde 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_json 1.0.33 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -3392,7 +3412,7 @@ dependencies = [
[[package]]
name = "substrate-service"
version = "0.3.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
"exit-future 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -3424,7 +3444,7 @@ dependencies = [
[[package]]
name = "substrate-state-db"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec 2.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -3436,7 +3456,7 @@ dependencies = [
[[package]]
name = "substrate-state-machine"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"hash-db 0.9.0 (git+https://github.com/paritytech/trie)",
"heapsize 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -3453,7 +3473,7 @@ dependencies = [
[[package]]
name = "substrate-telemetry"
version = "0.3.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -3468,7 +3488,7 @@ dependencies = [
[[package]]
name = "substrate-transaction-graph"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
"futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -3482,7 +3502,7 @@ dependencies = [
[[package]]
name = "substrate-transaction-pool"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
"futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -3498,7 +3518,7 @@ dependencies = [
[[package]]
name = "substrate-trie"
version = "0.4.0"
source = "git+https://github.com/paritytech/substrate#
c5c889f07e42fc4805107e992af79b9c02d0fd16
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"hash-db 0.9.0 (git+https://github.com/paritytech/trie)",
"memory-db 0.9.0 (git+https://github.com/paritytech/trie)",
...
...
@@ -4360,6 +4380,7 @@ dependencies = [
"checksum srml-democracy 0.1.0 (git+https://github.com/paritytech/substrate)" = "<none>"
"checksum srml-executive 0.1.0 (git+https://github.com/paritytech/substrate)" = "<none>"
"checksum srml-grandpa 0.1.0 (git+https://github.com/paritytech/substrate)" = "<none>"
"checksum srml-indices 0.1.0 (git+https://github.com/paritytech/substrate)" = "<none>"
"checksum srml-metadata 0.1.0 (git+https://github.com/paritytech/substrate)" = "<none>"
"checksum srml-session 0.1.0 (git+https://github.com/paritytech/substrate)" = "<none>"
"checksum srml-staking 0.1.0 (git+https://github.com/paritytech/substrate)" = "<none>"
...
...
runtime/Cargo.toml
View file @
a81a23a9
...
...
@@ -27,6 +27,7 @@ srml-council = { git = "https://github.com/paritytech/substrate" }
srml-democracy
=
{
git
=
"https://github.com/paritytech/substrate"
}
srml-executive
=
{
git
=
"https://github.com/paritytech/substrate"
}
srml-grandpa
=
{
git
=
"https://github.com/paritytech/substrate"
}
srml-indices
=
{
git
=
"https://github.com/paritytech/substrate"
}
sr-primitives
=
{
git
=
"https://github.com/paritytech/substrate"
}
srml-session
=
{
git
=
"https://github.com/paritytech/substrate"
}
srml-staking
=
{
git
=
"https://github.com/paritytech/substrate"
}
...
...
@@ -58,6 +59,7 @@ std = [
"srml-democracy/std"
,
"srml-executive/std"
,
"srml-grandpa/std"
,
"srml-indices/std"
,
"sr-primitives/std"
,
"srml-session/std"
,
"srml-staking/std"
,
...
...
runtime/src/lib.rs
View file @
a81a23a9
...
...
@@ -49,6 +49,7 @@ extern crate srml_council as council;
extern
crate
srml_democracy
as
democracy
;
extern
crate
srml_executive
as
executive
;
extern
crate
srml_grandpa
as
grandpa
;
extern
crate
srml_indices
as
indices
;
extern
crate
srml_session
as
session
;
extern
crate
srml_staking
as
staking
;
extern
crate
srml_sudo
as
sudo
;
...
...
@@ -75,10 +76,10 @@ use client::{
runtime_api
as
client_api
,
};
use
consensus_aura
::
api
as
aura_api
;
use
sr_primitives
::{
ApplyResult
,
CheckInherentError
};
use
sr_primitives
::
transaction_validity
::
TransactionValidity
;
use
sr_primitives
::
generic
;
use
sr_primitives
::
traits
::{
Convert
,
BlakeTwo256
,
Block
as
BlockT
,
DigestFor
};
use
sr_primitives
::{
ApplyResult
,
CheckInherentError
,
generic
,
transaction_validity
::
TransactionValidity
,
traits
::{
Convert
,
BlakeTwo256
,
Block
as
BlockT
,
DigestFor
,
StaticLookup
}
};
use
version
::
RuntimeVersion
;
use
grandpa
::
fg_primitives
::{
self
,
ScheduledChange
};
use
council
::{
motions
as
council_motions
,
voting
as
council_voting
};
...
...
@@ -107,7 +108,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name
:
create_runtime_str!
(
"polkadot"
),
impl_name
:
create_runtime_str!
(
"parity-polkadot"
),
authoring_version
:
1
,
spec_version
:
10
2
,
spec_version
:
10
3
,
impl_version
:
0
,
apis
:
RUNTIME_API_VERSIONS
,
};
...
...
@@ -129,6 +130,7 @@ impl system::Trait for Runtime {
type
Hashing
=
BlakeTwo256
;
type
Digest
=
generic
::
Digest
<
Log
>
;
type
AccountId
=
AccountId
;
type
Lookup
=
Indices
;
type
Header
=
generic
::
Header
<
BlockNumber
,
BlakeTwo256
,
Log
>
;
type
Event
=
Event
;
type
Log
=
Log
;
...
...
@@ -138,10 +140,17 @@ impl aura::Trait for Runtime {
type
HandleReport
=
aura
::
StakingSlasher
<
Runtime
>
;
}
impl
indices
::
Trait
for
Runtime
{
type
IsDeadAccount
=
Balances
;
type
AccountIndex
=
AccountIndex
;
type
ResolveHint
=
indices
::
SimpleResolveHint
<
Self
::
AccountId
,
Self
::
AccountIndex
>
;
type
Event
=
Event
;
}
impl
balances
::
Trait
for
Runtime
{
type
Balance
=
Balance
;
type
AccountIndex
=
AccountIndex
;
type
OnFreeBalanceZero
=
Staking
;
type
OnNewAccount
=
Indices
;
type
EnsureAccountLiquid
=
Staking
;
type
Event
=
Event
;
}
...
...
@@ -236,6 +245,7 @@ construct_runtime!(
Timestamp
:
timestamp
::{
Module
,
Call
,
Storage
,
Config
<
T
>
,
Inherent
},
// consensus' Inherent is not provided because it assumes instant-finality blocks.
Consensus
:
consensus
::{
Module
,
Call
,
Storage
,
Config
<
T
>
,
Log
(
AuthoritiesChange
)
},
Indices
:
indices
,
Balances
:
balances
,
Session
:
session
,
Staking
:
staking
,
...
...
@@ -253,9 +263,7 @@ construct_runtime!(
);
/// The address format for describing accounts.
pub
use
balances
::
address
::
Address
as
RawAddress
;
/// The address format for describing accounts.
pub
type
Address
=
balances
::
Address
<
Runtime
>
;
pub
type
Address
=
<
Indices
as
StaticLookup
>
::
Source
;
/// Block header type as expected by this runtime.
pub
type
Header
=
generic
::
Header
<
BlockNumber
,
BlakeTwo256
,
Log
>
;
/// Block type as expected by this runtime.
...
...
@@ -269,7 +277,7 @@ pub type UncheckedExtrinsic = generic::UncheckedMortalCompactExtrinsic<Address,
/// Extrinsic type that has already been checked.
pub
type
CheckedExtrinsic
=
generic
::
CheckedExtrinsic
<
AccountId
,
Nonce
,
Call
>
;
/// Executive: handles dispatch to the various modules.
pub
type
Executive
=
executive
::
Executive
<
Runtime
,
Block
,
balances
::
ChainContext
<
Runtime
>
,
Balances
,
AllModules
>
;
pub
type
Executive
=
executive
::
Executive
<
Runtime
,
Block
,
system
::
ChainContext
<
Runtime
>
,
Balances
,
AllModules
>
;
impl_runtime_apis!
{
impl
client_api
::
Core
<
Block
>
for
Runtime
{
...
...
runtime/src/parachains.rs
View file @
a81a23a9
...
...
@@ -457,7 +457,7 @@ mod tests {
use
sr_io
::{
TestExternalities
,
with_externalities
};
use
substrate_primitives
::{
H256
,
Blake2Hasher
};
use
sr_primitives
::{
generic
,
BuildStorage
};
use
sr_primitives
::
traits
::
BlakeTwo256
;
use
sr_primitives
::
traits
::
{
BlakeTwo256
,
IdentityLookup
}
;
use
primitives
::{
parachain
::{
CandidateReceipt
,
HeadData
,
ValidityAttestation
},
SessionKey
};
use
keyring
::
Keyring
;
use
{
consensus
,
timestamp
};
...
...
@@ -482,6 +482,7 @@ mod tests {
type
Hashing
=
BlakeTwo256
;
type
Digest
=
generic
::
Digest
<
::
Log
>
;
type
AccountId
=
::
AccountId
;
type
Lookup
=
IdentityLookup
<
::
AccountId
>
;
type
Header
=
::
Header
;
type
Event
=
();
type
Log
=
::
Log
;
...
...
runtime/wasm/Cargo.lock
View file @
a81a23a9
...
...
@@ -177,6 +177,7 @@ dependencies = [
"srml-democracy 0.1.0 (git+https://github.com/paritytech/substrate)",
"srml-executive 0.1.0 (git+https://github.com/paritytech/substrate)",
"srml-grandpa 0.1.0 (git+https://github.com/paritytech/substrate)",
"srml-indices 0.1.0 (git+https://github.com/paritytech/substrate)",
"srml-session 0.1.0 (git+https://github.com/paritytech/substrate)",
"srml-staking 0.1.0 (git+https://github.com/paritytech/substrate)",
"srml-sudo 0.1.0 (git+https://github.com/paritytech/substrate)",
...
...
@@ -272,7 +273,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "sr-api-macros"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
a456f8f116f4999a5c0d6aac12a52d3a22abdc82
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"blake2-rfc 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)",
"proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -283,7 +284,7 @@ dependencies = [
[[package]]
name = "sr-io"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
a456f8f116f4999a5c0d6aac12a52d3a22abdc82
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"hash-db 0.9.0 (git+https://github.com/paritytech/trie)",
"parity-codec 2.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -295,7 +296,7 @@ dependencies = [
[[package]]
name = "sr-primitives"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
a456f8f116f4999a5c0d6aac12a52d3a22abdc82
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"integer-sqrt 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"num-traits 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -309,7 +310,7 @@ dependencies = [
[[package]]
name = "sr-std"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
a456f8f116f4999a5c0d6aac12a52d3a22abdc82
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
]
...
...
@@ -317,7 +318,7 @@ dependencies = [
[[package]]
name = "sr-version"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
a456f8f116f4999a5c0d6aac12a52d3a22abdc82
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"parity-codec 2.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec-derive 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -329,7 +330,7 @@ dependencies = [
[[package]]
name = "srml-aura"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
a456f8f116f4999a5c0d6aac12a52d3a22abdc82
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec 2.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -349,7 +350,7 @@ dependencies = [
[[package]]
name = "srml-balances"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
a456f8f116f4999a5c0d6aac12a52d3a22abdc82
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec 2.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -367,7 +368,7 @@ dependencies = [
[[package]]
name = "srml-consensus"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
a456f8f116f4999a5c0d6aac12a52d3a22abdc82
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec 2.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -384,7 +385,7 @@ dependencies = [
[[package]]
name = "srml-council"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
a456f8f116f4999a5c0d6aac12a52d3a22abdc82
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec 2.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -404,7 +405,7 @@ dependencies = [
[[package]]
name = "srml-democracy"
version = "0.1.0"
source = "git+https://github.com/paritytech/substrate#
a456f8f116f4999a5c0d6aac12a52d3a22abdc82
"
source = "git+https://github.com/paritytech/substrate#
553e78d0fe7f3dc29d56454de3b71f6893a16a1a
"
dependencies = [
"hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec 2.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -423,7 +424,7 @@ dependencies = [
[[package]]
name = "srml-executive"
version = "0.1.0"