diff --git a/Cargo.lock b/Cargo.lock index 55b21a61ad98..7cd2dff9f0e4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1109,7 +1109,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#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1117,7 +1117,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "frame-support 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "frame-system 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -1131,7 +1131,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1142,7 +1142,7 @@ dependencies = [ [[package]] name = "frame-support" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "bitmask 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "frame-metadata 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -1166,7 +1166,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "frame-support-procedural-tools 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1177,7 +1177,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "frame-support-procedural-tools-derive 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "proc-macro-crate 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1189,7 +1189,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1199,7 +1199,7 @@ dependencies = [ [[package]] name = "frame-system" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "frame-support 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "impl-trait-for-tuples 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1216,7 +1216,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-api 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -1529,22 +1529,20 @@ dependencies = [ [[package]] name = "grafana-data-source" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "async-std 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "chrono 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", "derive_more 0.99.2 (registry+https://github.com/rust-lang/crates.io-index)", "futures-timer 2.0.2 (registry+https://github.com/rust-lang/crates.io-index)", "futures-util 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-util-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)", - "hyper 0.13.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.13.1 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.4.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.9.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.41 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-executor 0.2.0-alpha.6 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-io 0.2.0-alpha.6 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1566,22 +1564,20 @@ dependencies = [ [[package]] name = "h2" -version = "0.2.0-alpha.3" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-core-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-sink-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-util-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)", - "http 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)", + "futures-core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "futures-sink 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "futures-util 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "http 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "indexmap 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)", "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "string 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-codec 0.2.0-alpha.6 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-io 0.2.0-alpha.6 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-sync 0.2.0-alpha.6 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-util 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1702,6 +1698,16 @@ dependencies = [ "itoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "http" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "bytes 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", + "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", + "itoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "http-body" version = "0.1.0" @@ -1715,11 +1721,11 @@ dependencies = [ [[package]] name = "http-body" -version = "0.2.0-alpha.3" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "http 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", + "http 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1766,27 +1772,23 @@ dependencies = [ [[package]] name = "hyper" -version = "0.13.0-alpha.4" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-channel-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-core-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-util-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)", - "h2 0.2.0-alpha.3 (registry+https://github.com/rust-lang/crates.io-index)", - "http 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)", - "http-body 0.2.0-alpha.3 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", + "futures-channel 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "futures-core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "futures-util 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "h2 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "http 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "http-body 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "httparse 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)", - "iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", "itoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "pin-project 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-executor 0.2.0-alpha.6 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-io 0.2.0-alpha.6 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-sync 0.2.0-alpha.6 (registry+https://github.com/rust-lang/crates.io-index)", - "tower-make 0.3.0-alpha.2a (registry+https://github.com/rust-lang/crates.io-index)", - "tower-service 0.3.0-alpha.2 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", + "tower-service 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "want 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -2903,7 +2905,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "frame-support 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "frame-system 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -2921,7 +2923,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "frame-support 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "frame-system 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -2938,7 +2940,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "frame-support 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "frame-system 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -2959,7 +2961,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "frame-support 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "frame-system 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -2973,7 +2975,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "frame-support 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "frame-system 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -2989,7 +2991,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "frame-support 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "frame-system 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3004,7 +3006,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "frame-support 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "frame-system 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3017,7 +3019,7 @@ dependencies = [ [[package]] name = "pallet-finality-tracker" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "frame-support 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "frame-system 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3033,7 +3035,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "frame-support 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "frame-system 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3051,7 +3053,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "enumflags2 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", "frame-support 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3066,7 +3068,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "frame-support 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "frame-system 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3085,7 +3087,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "frame-support 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "frame-system 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3102,7 +3104,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "frame-support 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "frame-system 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3116,7 +3118,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "frame-support 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "frame-system 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3130,7 +3132,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "frame-support 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "frame-system 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3145,7 +3147,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "frame-support 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "frame-system 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3158,7 +3160,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "frame-support 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "frame-system 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3177,7 +3179,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "frame-support 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "frame-system 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3197,7 +3199,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "proc-macro-crate 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3208,7 +3210,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "frame-support 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "frame-system 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3224,7 +3226,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "frame-support 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "frame-system 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3237,7 +3239,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "jsonrpc-core 14.0.3 (registry+https://github.com/rust-lang/crates.io-index)", "jsonrpc-core-client 14.0.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3254,7 +3256,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "frame-support 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3267,7 +3269,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "frame-support 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "frame-system 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -4406,7 +4408,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", "derive_more 0.99.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4430,7 +4432,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-api 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -4444,7 +4446,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "impl-trait-for-tuples 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "sc-chain-spec-derive 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -4459,7 +4461,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "proc-macro-crate 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4470,7 +4472,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" 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)", @@ -4505,7 +4507,7 @@ dependencies = [ [[package]] name = "sc-client" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "derive_more 0.99.2 (registry+https://github.com/rust-lang/crates.io-index)", "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4538,7 +4540,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "derive_more 0.99.2 (registry+https://github.com/rust-lang/crates.io-index)", "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4569,7 +4571,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "hash-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)", "kvdb 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4594,7 +4596,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "derive_more 0.99.2 (registry+https://github.com/rust-lang/crates.io-index)", "fork-tree 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -4634,7 +4636,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "futures-timer 2.0.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4653,7 +4655,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "sc-client-api 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -4667,7 +4669,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "cranelift-codegen 0.50.0 (registry+https://github.com/rust-lang/crates.io-index)", "cranelift-entity 0.50.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4699,7 +4701,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "finality-grandpa 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)", "fork-tree 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -4729,7 +4731,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "derive_more 0.99.2 (registry+https://github.com/rust-lang/crates.io-index)", "hex 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4744,7 +4746,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" 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)", @@ -4789,7 +4791,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4805,7 +4807,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" 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)", @@ -4832,7 +4834,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "libp2p 0.13.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4843,7 +4845,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "hash-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4872,7 +4874,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "derive_more 0.99.2 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4894,7 +4896,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "jsonrpc-core 14.0.3 (registry+https://github.com/rust-lang/crates.io-index)", "jsonrpc-http-server 14.0.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4909,7 +4911,7 @@ dependencies = [ [[package]] name = "sc-service" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "derive_more 0.99.2 (registry+https://github.com/rust-lang/crates.io-index)", "exit-future 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4956,7 +4958,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4967,7 +4969,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" 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)", @@ -4989,7 +4991,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "erased-serde 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", "grafana-data-source 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -5005,7 +5007,7 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "derive_more 0.99.2 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5020,7 +5022,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "derive_more 0.99.2 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5305,7 +5307,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "sp-api" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-api-proc-macro 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -5319,7 +5321,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" 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)", @@ -5331,7 +5333,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5343,7 +5345,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "integer-sqrt 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "num-traits 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5356,7 +5358,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-api 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -5368,7 +5370,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-inherents 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -5379,7 +5381,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-api 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -5391,7 +5393,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "derive_more 0.99.2 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5407,7 +5409,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "derive_more 0.99.2 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5426,7 +5428,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "schnorrkel 0.8.5 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5442,7 +5444,7 @@ dependencies = [ [[package]] name = "sp-core" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" 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)", @@ -5481,7 +5483,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5491,7 +5493,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "environmental 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", "sp-std 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -5501,7 +5503,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5514,7 +5516,7 @@ dependencies = [ [[package]] name = "sp-finality-tracker" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-inherents 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -5524,7 +5526,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "derive_more 0.99.2 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5536,7 +5538,7 @@ dependencies = [ [[package]] name = "sp-io" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "hash-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)", "libsecp256k1 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5553,7 +5555,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-core 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -5564,7 +5566,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "sp-api 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "sp-runtime 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -5573,7 +5575,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" 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)", @@ -5582,7 +5584,7 @@ dependencies = [ [[package]] name = "sp-phragmen" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)", "sp-runtime 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -5592,7 +5594,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)", "sp-core 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -5601,7 +5603,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "impl-trait-for-tuples 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5620,7 +5622,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "environmental 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5635,7 +5637,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "Inflector 0.11.4 (registry+https://github.com/rust-lang/crates.io-index)", "proc-macro-crate 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5647,7 +5649,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.41 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5656,7 +5658,7 @@ dependencies = [ [[package]] name = "sp-session" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "sp-api 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "sp-runtime 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -5666,7 +5668,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-runtime 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -5676,7 +5678,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" 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)", @@ -5695,12 +5697,12 @@ dependencies = [ [[package]] name = "sp-std" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" [[package]] name = "sp-storage" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "impl-serde 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5711,7 +5713,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "impl-trait-for-tuples 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5724,7 +5726,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "derive_more 0.99.2 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5738,7 +5740,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" 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)", @@ -5752,7 +5754,7 @@ dependencies = [ [[package]] name = "sp-version" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "impl-serde 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5764,7 +5766,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "impl-trait-for-tuples 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "wasmi 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5868,7 +5870,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab4aca33fde8ecd0803771e289e97dec74291e82" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#ab217bf3513a8f6c287b33dedc5bce0bd9ec863b" dependencies = [ "frame-system-rpc-runtime-api 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -6100,6 +6102,8 @@ version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "bytes 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", + "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", + "memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "pin-project-lite 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -6123,18 +6127,6 @@ dependencies = [ "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "tokio-codec" -version = "0.2.0-alpha.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-core-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-sink-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-io 0.2.0-alpha.6 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "tokio-current-thread" version = "0.1.6" @@ -6194,18 +6186,6 @@ dependencies = [ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "tokio-io" -version = "0.2.0-alpha.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-core-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "pin-project 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "tokio-reactor" version = "0.1.10" @@ -6328,25 +6308,29 @@ dependencies = [ ] [[package]] -name = "toml" -version = "0.5.5" +name = "tokio-util" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", + "futures-core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "futures-sink 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", + "pin-project-lite 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "tower-make" -version = "0.3.0-alpha.2a" +name = "toml" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "tokio-io 0.2.0-alpha.6 (registry+https://github.com/rust-lang/crates.io-index)", - "tower-service 0.3.0-alpha.2 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "tower-service" -version = "0.3.0-alpha.2" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] @@ -7171,7 +7155,7 @@ dependencies = [ "checksum goblin 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "5e6040506480da04a63de51a478e8021892d65d8411f29b2a422c2648bdd8bcb" "checksum grafana-data-source 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)" = "" "checksum h2 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)" = "a5b34c246847f938a410a03c5458c7fee2274436675e76d8b903c08efc29c462" -"checksum h2 0.2.0-alpha.3 (registry+https://github.com/rust-lang/crates.io-index)" = "0f107db1419ef8271686187b1a5d47c6431af4a7f4d98b495e7b7fc249bb0a78" +"checksum h2 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b9433d71e471c1736fd5a61b671fc0b148d7a2992f666c958d03cd8feb3b88d1" "checksum hash-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)" = "d23bd4e7b5eda0d0f3a307e8b381fdc8ba9000f26fbe912250c0a4cc3956364a" "checksum hash256-std-hasher 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)" = "92c171d55b98633f4ed3860808f004099b36c1cc29c42cfc53aa8591b21efcf2" "checksum hashbrown 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "3bae29b6653b3412c2e71e9d486db9f9df5d701941d86683005efb9f2d28e3da" @@ -7186,12 +7170,13 @@ dependencies = [ "checksum hmac 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "5dcb5e64cda4c23119ab41ba960d1e170a774c8e4b9d9e6a9bc18aabf5e59695" "checksum hmac-drbg 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "c6e570451493f10f6581b48cdd530413b63ea9e780f544bfd3bdcaa0d89d1a7b" "checksum http 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)" = "d7e06e336150b178206af098a055e3621e8336027e2b4d126bda0bc64824baaf" +"checksum http 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b708cc7f06493459026f53b9a61a7a121a5d1ec6238dee58ea4941132b30156b" "checksum http-body 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6741c859c1b2463a423a1dbce98d418e6c3c3fc720fb0d45528657320920292d" -"checksum http-body 0.2.0-alpha.3 (registry+https://github.com/rust-lang/crates.io-index)" = "1f3aef6f3de2bd8585f5b366f3f550b5774500b4764d00cf00f903c95749eec3" +"checksum http-body 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "13d5ff830006f7646652e057693569bfe0d51760c0085a071769d142a205111b" "checksum httparse 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9" "checksum humantime 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f" "checksum hyper 0.12.35 (registry+https://github.com/rust-lang/crates.io-index)" = "9dbe6ed1438e1f8ad955a4701e9a944938e9519f6888d12d8558b645e247d5f6" -"checksum hyper 0.13.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)" = "2d05aa523087ac0b9d8b93dd80d5d482a697308ed3b0dca7b0667511a7fa7cdc" +"checksum hyper 0.13.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8bf49cfb32edee45d890537d9057d1b02ed55f53b7b6a30bae83a38c9231749e" "checksum hyper-rustls 0.17.1 (registry+https://github.com/rust-lang/crates.io-index)" = "719d85c7df4a7f309a77d145340a063ea929dcb2e025bae46a80345cffec2952" "checksum idna 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "38f09e0f0b1fb55fdee1f17470ad800da77af5186a1a76c026b679358b7e844e" "checksum idna 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "02e2673c30ee86b5b96a9cb52ad15718aa1f966f5ab9ad54a8b95d5ca33120a9" @@ -7538,14 +7523,12 @@ dependencies = [ "checksum tokio 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "bcced6bb623d4bff3739c176c415f13c418f426395c169c9c3cd9a492c715b16" "checksum tokio-buf 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8fb220f46c53859a4b7ec083e41dec9778ff0b1851c0942b211edb89e0ccdc46" "checksum tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "5c501eceaf96f0e1793cf26beb63da3d11c738c4a943fdf3746d81d64684c39f" -"checksum tokio-codec 0.2.0-alpha.6 (registry+https://github.com/rust-lang/crates.io-index)" = "9f5d22fd1e84bd4045d28813491cb7d7caae34d45c80517c2213f09a85e8787a" "checksum tokio-current-thread 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "d16217cad7f1b840c5a97dfb3c43b0c871fef423a6e8d2118c604e843662a443" "checksum tokio-dns-unofficial 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "82c65483db54eb91b4ef3a9389a3364558590faf30ce473141707c0e16fda975" "checksum tokio-executor 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "0f27ee0e6db01c5f0b2973824547ce7e637b2ed79b891a9677b0de9bd532b6ac" "checksum tokio-executor 0.2.0-alpha.6 (registry+https://github.com/rust-lang/crates.io-index)" = "9ee9ceecf69145923834ea73f32ba40c790fd877b74a7817dd0b089f1eb9c7c8" "checksum tokio-fs 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "3fe6dc22b08d6993916647d108a1a7d15b9cd29c4f4496c62b92c45b5041b7af" "checksum tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)" = "5090db468dad16e1a7a54c8c67280c5e4b544f3d3e018f0b913b400261f85926" -"checksum tokio-io 0.2.0-alpha.6 (registry+https://github.com/rust-lang/crates.io-index)" = "112784d5543df30660b04a72ca423bfbd90e8bb32f94dcf610f15401218b22c5" "checksum tokio-reactor 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "c56391be9805bc80163151c0b9e5164ee64f4b0200962c346fea12773158f22d" "checksum tokio-rustls 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)" = "1df2fa53ac211c136832f530ccb081af9af891af22d685a9493e232c7a359bc2" "checksum tokio-sync 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "d06554cce1ae4a50f42fba8023918afa931413aded705b560e29600ccf7c6d76" @@ -7555,9 +7538,9 @@ dependencies = [ "checksum tokio-timer 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "f2106812d500ed25a4f38235b9cae8f78a09edf43203e16e59c3b769a342a60e" "checksum tokio-udp 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "f02298505547f73e60f568359ef0d016d5acd6e830ab9bc7c4a5b3403440121b" "checksum tokio-uds 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "037ffc3ba0e12a0ab4aca92e5234e0dedeb48fddf6ccd260f1f150a36a9f2445" +"checksum tokio-util 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "571da51182ec208780505a32528fc5512a8fe1443ab960b3f2f3ef093cd16930" "checksum toml 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)" = "01d1404644c8b12b16bfcffa4322403a91a451584daaaa7c28d3152e6cbc98cf" -"checksum tower-make 0.3.0-alpha.2a (registry+https://github.com/rust-lang/crates.io-index)" = "316d47dd40cde4ac5d88110eaf9a10a4e2a68612d9c056cd2aa24e37dcb484cd" -"checksum tower-service 0.3.0-alpha.2 (registry+https://github.com/rust-lang/crates.io-index)" = "63ff37396cd966ce43bea418bfa339f802857495f797dafa00bea5b7221ebdfa" +"checksum tower-service 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e987b6bf443f4b5b3b6f38704195592cca41c5bb7aedd3c3693c7081f8289860" "checksum tracing 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "ff4e4f59e752cb3beb5b61c6d5e11191c7946231ba84faec2902c9efdd8691c5" "checksum tracing-attributes 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "a4263b12c3d3c403274493eb805966093b53214124796552d674ca1dd5d27c2b" "checksum tracing-core 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "bc913647c520c959b6d21e35ed8fa6984971deca9f0a2fcb8c51207e0c56af1d" diff --git a/runtime/src/attestations.rs b/runtime/src/attestations.rs index d3b5ba03f54d..11a6b36ad684 100644 --- a/runtime/src/attestations.rs +++ b/runtime/src/attestations.rs @@ -21,7 +21,7 @@ use rstd::prelude::*; use codec::{Encode, Decode}; -use frame_support::{decl_storage, decl_module, ensure, dispatch::Result, traits::Get}; +use frame_support::{decl_storage, decl_module, ensure, dispatch::DispatchResult, traits::Get}; use primitives::{Hash, parachain::{AttestedCandidate, CandidateReceipt, Id as ParaId}}; use sp_runtime::RuntimeDebug; @@ -110,7 +110,7 @@ decl_module! { /// Parachain-attestations module. pub struct Module for enum Call where origin: ::Origin { /// Provide candidate receipts for parachains, in ascending order by id. - fn more_attestations(origin, _more: MoreAttestations) -> Result { + fn more_attestations(origin, _more: MoreAttestations) -> DispatchResult { ensure_none(origin)?; ensure!(!::exists(), "More attestations can be added only once in a block."); ::put(true); diff --git a/runtime/src/claims.rs b/runtime/src/claims.rs index 6b43d7fab919..d43b6e0911ce 100644 --- a/runtime/src/claims.rs +++ b/runtime/src/claims.rs @@ -305,6 +305,7 @@ mod tests { type AvailableBlockRatio = AvailableBlockRatio; type MaximumBlockLength = MaximumBlockLength; type Version = (); + type ModuleToIndex = (); } parameter_types! { @@ -407,7 +408,7 @@ mod tests { new_test_ext().execute_with(|| { assert_noop!( Claims::mint_claim(Origin::signed(42), eth(&bob()), 200, None), - "RequireRootOrigin" + sp_runtime::traits::BadOrigin, ); assert_eq!(Balances::free_balance(&42), 0); assert_noop!( @@ -426,7 +427,7 @@ mod tests { new_test_ext().execute_with(|| { assert_noop!( Claims::mint_claim(Origin::signed(42), eth(&bob()), 200, Some((50, 10, 1))), - "RequireRootOrigin" + sp_runtime::traits::BadOrigin, ); assert_eq!(Balances::free_balance(&42), 0); assert_noop!( @@ -446,7 +447,7 @@ mod tests { assert_eq!(Balances::free_balance(&42), 0); assert_err!( Claims::claim(Origin::signed(42), 42, sig(&alice(), &42u64.encode())), - "RequireNoOrigin", + sp_runtime::traits::BadOrigin, ); }); } diff --git a/runtime/src/crowdfund.rs b/runtime/src/crowdfund.rs index 1928e2d594df..f7f3d80bfb9f 100644 --- a/runtime/src/crowdfund.rs +++ b/runtime/src/crowdfund.rs @@ -506,7 +506,7 @@ mod tests { // The testing primitives are very useful for avoiding having to work with signatures // or public keys. `u64` is used as the `AccountId` and no `Signature`s are requried. use sp_runtime::{ - Perbill, Permill, testing::Header, + Perbill, Permill, testing::Header, DispatchResult, traits::{BlakeTwo256, OnInitialize, OnFinalize, IdentityLookup}, }; use crate::registrar::Registrar; @@ -542,6 +542,7 @@ mod tests { type MaximumBlockLength = MaximumBlockLength; type AvailableBlockRatio = AvailableBlockRatio; type Version = (); + type ModuleToIndex = (); } parameter_types! { pub const ExistentialDeposit: u64 = 0; @@ -594,12 +595,13 @@ mod tests { (*p.borrow() - 1).into() }) } + fn register_para( id: ParaId, _info: ParaInfo, code: Vec, initial_head_data: Vec - ) -> Result<(), &'static str> { + ) -> DispatchResult { PARACHAINS.with(|p| { if p.borrow().contains_key(&id.into()) { panic!("ID already exists") @@ -608,7 +610,8 @@ mod tests { Ok(()) }) } - fn deregister_para(id: ParaId) -> Result<(), &'static str> { + + fn deregister_para(id: ParaId) -> DispatchResult { PARACHAINS.with(|p| { if !p.borrow().contains_key(&id.into()) { panic!("ID doesn't exist") diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index b8f6b54012d5..e34d23632063 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -97,7 +97,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("kusama"), impl_name: create_runtime_str!("parity-kusama"), authoring_version: 2, - spec_version: 1031, + spec_version: 1032, impl_version: 0, apis: RUNTIME_API_VERSIONS, }; @@ -163,6 +163,7 @@ impl system::Trait for Runtime { type MaximumBlockLength = MaximumBlockLength; type AvailableBlockRatio = AvailableBlockRatio; type Version = Version; + type ModuleToIndex = ModuleToIndex; } parameter_types! { diff --git a/runtime/src/parachains.rs b/runtime/src/parachains.rs index 733f77dbebee..da0bd98e63c8 100644 --- a/runtime/src/parachains.rs +++ b/runtime/src/parachains.rs @@ -23,7 +23,7 @@ use codec::{Encode, Decode}; use sp_runtime::traits::{ Hash as HashT, BlakeTwo256, Saturating, One, Zero, Dispatchable, - AccountIdConversion, + AccountIdConversion, BadOrigin, }; use frame_support::weights::SimpleDispatchInfo; use primitives::{ @@ -34,7 +34,7 @@ use primitives::{ }, }; use frame_support::{ - Parameter, dispatch::Result, decl_storage, decl_module, ensure, + Parameter, dispatch::DispatchResult, decl_storage, decl_module, ensure, traits::{Currency, Get, WithdrawReason, ExistenceRequirement, Randomness}, }; @@ -74,7 +74,7 @@ fn number_range(low: N, high: N) -> BlockNumberRange { // doesn't work.` pub trait ParachainCurrency { fn free_balance(para_id: ParaId) -> Balance; - fn deduct(para_id: ParaId, amount: Balance) -> Result; + fn deduct(para_id: ParaId, amount: Balance) -> DispatchResult; } impl> ParachainCurrency for T where @@ -86,7 +86,7 @@ impl> ParachainCurrency for T where T::free_balance(¶_account).into() } - fn deduct(para_id: ParaId, amount: Balance) -> Result { + fn deduct(para_id: ParaId, amount: Balance) -> DispatchResult { let para_account = para_id.into_account(); // burn the fee. @@ -197,7 +197,7 @@ decl_module! { pub struct Module for enum Call where origin: ::Origin { /// Provide candidate receipts for parachains, in ascending order by id. #[weight = SimpleDispatchInfo::FixedNormal(1_000_000)] - pub fn set_heads(origin, heads: Vec) -> Result { + pub fn set_heads(origin, heads: Vec) -> DispatchResult { ensure_none(origin)?; ensure!(!::exists(), "Parachain heads must be updated only once in the block"); @@ -350,7 +350,7 @@ impl Module { upward_messages: &[UpwardMessage], max_queue_count: usize, watermark_queue_size: usize, - ) -> Result { + ) -> DispatchResult { // Either there are no more messages to add... if !upward_messages.is_empty() { let (count, size) = ::get(id); @@ -616,32 +616,32 @@ impl Module { fn check_egress_queue_roots( head: &AttestedCandidate, active_parachains: &[(ParaId, Option<(CollatorId, Retriable)>)] - ) -> Result { + ) -> DispatchResult { let mut last_egress_id = None; let mut iter = active_parachains.iter().map(|x| x.0); for (egress_para_id, root) in &head.candidate.egress_queue_roots { // egress routes should be ascending order by parachain ID without duplicate. ensure!( last_egress_id.as_ref().map_or(true, |x| x < &egress_para_id), - "Egress routes out of order by ID" + "Egress routes out of order by ID", ); // a parachain can't route to self ensure!( *egress_para_id != head.candidate.parachain_index, - "Parachain routing to self" + "Parachain routing to self", ); // no empty trie roots ensure!( *root != EMPTY_TRIE_ROOT.into(), - "Empty trie root included" + "Empty trie root included", ); // can't route to a parachain which doesn't exist ensure!( iter.find(|x| x == egress_para_id).is_some(), - "Routing to non-existent parachain" + "Routing to non-existent parachain", ); last_egress_id = Some(egress_para_id) @@ -654,7 +654,7 @@ impl Module { fn check_candidates( attested_candidates: &[AttestedCandidate], active_parachains: &[(ParaId, Option<(CollatorId, Retriable)>)] - ) -> rstd::result::Result, &'static str> + ) -> rstd::result::Result, sp_runtime::DispatchError> { use primitives::parachain::ValidityAttestation; use sp_runtime::traits::AppVerify; @@ -739,12 +739,12 @@ impl Module { ensure!( candidate.validity_votes.len() >= majority_of(validator_group.len()), - "Not enough validity attestations" + "Not enough validity attestations", ); ensure!( candidate.validity_votes.len() <= authorities.len(), - "The number of attestations exceeds the number of authorities" + "The number of attestations exceeds the number of authorities", ); let fees = candidate.candidate().fees; @@ -762,7 +762,7 @@ impl Module { .enumerate() { let validity_attestation = match candidate.validity_votes.get(vote_index) { - None => return Err("Not enough validity votes"), + None => Err("Not enough validity votes")?, Some(v) => { expected_votes_len = vote_index + 1; v @@ -770,7 +770,7 @@ impl Module { }; if validator_group.iter().find(|&(idx, _)| *idx == auth_index).is_none() { - return Err("Attesting validator not on this chain's validation duty."); + Err("Attesting validator not on this chain's validation duty.")? } let (payload, sig) = match validity_attestation { @@ -796,15 +796,15 @@ impl Module { ensure!( sig.verify(&payload[..], &authorities[auth_index]), - "Candidate validity attestation signature is bad." + "Candidate validity attestation signature is bad.", ); } para_block_hashes.push(candidate_hash.unwrap_or_else(|| candidate.candidate().hash())); - ensure!( + ensure!( candidate.validity_votes.len() == expected_votes_len, - "Extra untagged validity votes along with candidate" + "Extra untagged validity votes along with candidate", ); } @@ -887,12 +887,12 @@ impl ProvideInherent for Module { /// Ensure that the origin `o` represents a parachain. /// Returns `Ok` with the parachain ID that effected the extrinsic or an `Err` otherwise. -pub fn ensure_parachain(o: OuterOrigin) -> result::Result +pub fn ensure_parachain(o: OuterOrigin) -> result::Result where OuterOrigin: Into> { match o.into() { Ok(Origin::Parachain(id)) => Ok(id), - _ => Err("bad origin: expected to be a parachain origin"), + _ => Err(BadOrigin), } } @@ -961,6 +961,7 @@ mod tests { type MaximumBlockLength = MaximumBlockLength; type AvailableBlockRatio = AvailableBlockRatio; type Version = (); + type ModuleToIndex = (); } parameter_types! { @@ -1516,7 +1517,7 @@ mod tests { ]; assert_err!( Parachains::check_upward_messages(0.into(), &messages, 2, 3), - "Messages added when queue full" + "Messages added when queue full", ); }); } @@ -1537,7 +1538,7 @@ mod tests { ]; assert_err!( Parachains::check_upward_messages(0.into(), &messages, 2, 3), - "Messages added when queue full" + "Messages added when queue full", ); }); } @@ -1967,7 +1968,7 @@ mod tests { Origin::NONE, ); - assert_eq!(Err("Routing to non-existent parachain"), result); + assert_eq!(Err("Routing to non-existent parachain".into()), result); }); } @@ -1992,7 +1993,7 @@ mod tests { Origin::NONE, ); - assert_eq!(Err("Parachain routing to self"), result); + assert_eq!(Err("Parachain routing to self".into()), result); }); } @@ -2017,7 +2018,7 @@ mod tests { Origin::NONE, ); - assert_eq!(Err("Egress routes out of order by ID"), result); + assert_eq!(Err("Egress routes out of order by ID".into()), result); }); } @@ -2042,7 +2043,7 @@ mod tests { Origin::NONE, ); - assert_eq!(Err("Empty trie root included"), result); + assert_eq!(Err("Empty trie root included".into()), result); }); } diff --git a/runtime/src/registrar.rs b/runtime/src/registrar.rs index a779f34ea5eb..f6020ac0a4ed 100644 --- a/runtime/src/registrar.rs +++ b/runtime/src/registrar.rs @@ -30,7 +30,7 @@ use sp_runtime::{ use frame_support::{ decl_storage, decl_module, decl_event, ensure, - dispatch::{Result, IsSubType}, traits::{Get, Currency, ReservableCurrency}, + dispatch::{DispatchResult, IsSubType}, traits::{Get, Currency, ReservableCurrency}, weights::{SimpleDispatchInfo, DispatchInfo}, }; use system::{self, ensure_root, ensure_signed}; @@ -53,10 +53,10 @@ pub trait Registrar { info: ParaInfo, code: Vec, initial_head_data: Vec, - ) -> Result; + ) -> DispatchResult; /// Deregister a parachain with given `id`. If `id` is not currently registered, an error is returned. - fn deregister_para(id: ParaId) -> Result; + fn deregister_para(id: ParaId) -> DispatchResult; } impl Registrar for Module { @@ -69,7 +69,7 @@ impl Registrar for Module { info: ParaInfo, code: Vec, initial_head_data: Vec, - ) -> Result { + ) -> DispatchResult { ensure!(!Paras::exists(id), "Parachain already exists"); if let Scheduling::Always = info.scheduling { Parachains::mutate(|parachains| @@ -87,7 +87,7 @@ impl Registrar for Module { Ok(()) } - fn deregister_para(id: ParaId) -> Result { + fn deregister_para(id: ParaId) -> DispatchResult { let info = Paras::take(id).ok_or("Invalid id")?; if let Scheduling::Always = info.scheduling { Parachains::mutate(|parachains| @@ -227,7 +227,7 @@ decl_module! { info: ParaInfo, code: Vec, initial_head_data: Vec, - ) -> Result { + ) -> DispatchResult { ensure_root(origin)?; >:: register_para(id, info, code, initial_head_data) @@ -235,7 +235,7 @@ decl_module! { /// Deregister a parachain with given id #[weight = SimpleDispatchInfo::FixedOperational(10_000)] - pub fn deregister_para(origin, #[compact] id: ParaId) -> Result { + pub fn deregister_para(origin, #[compact] id: ParaId) -> DispatchResult { ensure_root(origin)?; >::deregister_para(id) } @@ -540,7 +540,7 @@ impl SignedExtension for LimitParathreadCommits where let thread_count = ThreadCount::get() as usize; ensure!( selected_threads.len() < thread_count, - InvalidTransaction::ExhaustsResources.into() + InvalidTransaction::ExhaustsResources, ); // ensure that this is not selecting a duplicate parathread ID @@ -554,7 +554,7 @@ impl SignedExtension for LimitParathreadCommits where let e = TransactionValidityError::from(InvalidTransaction::Custom(Error::InvalidId as u8)); let head = >::parachain_head(id).ok_or(e)?; let actual = T::Hashing::hash(&head); - ensure!(&actual == hash, InvalidTransaction::Stale.into()); + ensure!(&actual == hash, InvalidTransaction::Stale); // updated the selected threads. selected_threads.insert(pos, (*id, collator.clone())); @@ -635,6 +635,7 @@ mod tests { type MaximumBlockLength = MaximumBlockLength; type AvailableBlockRatio = AvailableBlockRatio; type Version = (); + type ModuleToIndex = (); } parameter_types! { @@ -1335,7 +1336,7 @@ mod tests { assert_noop!( LimitParathreadCommits::(std::marker::PhantomData) .validate(&0, &call, info, 0), - InvalidTransaction::ExhaustsResources.into() + InvalidTransaction::ExhaustsResources, ); } } diff --git a/runtime/src/slots.rs b/runtime/src/slots.rs index 45172d967bb6..e624f9f5b75a 100644 --- a/runtime/src/slots.rs +++ b/runtime/src/slots.rs @@ -25,7 +25,7 @@ use sp_runtime::traits::{ use frame_support::weights::SimpleDispatchInfo; use codec::{Encode, Decode, Codec}; use frame_support::{ - decl_module, decl_storage, decl_event, ensure, + decl_module, decl_storage, decl_event, ensure, dispatch::DispatchResult, traits::{Currency, ReservableCurrency, WithdrawReason, ExistenceRequirement, Get, Randomness}, }; use primitives::parachain::{ @@ -379,7 +379,7 @@ decl_module! { if let IncomingParachain::Unset(ref nb) = details { ensure!(nb.who == who && nb.sub == sub, "parachain not registered by origin"); } else { - return Err("already registered") + Err("already registered")? } let item = (starts, IncomingParachain::Fixed{code_hash, initial_head_data}); >::insert(¶_id, item); @@ -398,7 +398,7 @@ decl_module! { /// - `para_id` is the parachain ID whose code will be elaborated. /// - `code` is the preimage of the registered `code_hash` of `para_id`. #[weight = SimpleDispatchInfo::FixedNormal(5_000_000)] - pub fn elaborate_deploy_data(_origin, #[compact] para_id: ParaId, code: Vec) { + pub fn elaborate_deploy_data(_origin, #[compact] para_id: ParaId, code: Vec) -> DispatchResult { let (starts, details) = >::get(¶_id) .ok_or("parachain id not in onboarding")?; if let IncomingParachain::Fixed{code_hash, initial_head_data} = details { @@ -414,8 +414,10 @@ decl_module! { let _ = T::Parachains:: register_para(para_id, PARACHAIN_INFO, code, initial_head_data); } + + Ok(()) } else { - return Err("deploy data not yet fixed") + Err("deploy data not yet fixed".into()) } } } @@ -680,7 +682,7 @@ impl Module { first_slot: LeasePeriodOf, last_slot: LeasePeriodOf, amount: BalanceOf - ) -> Result<(), &'static str> { + ) -> DispatchResult { // Bidding on latest auction. ensure!(auction_index == ::get(), "not current auction"); // Assume it's actually an auction (this should never fail because of above). @@ -706,7 +708,7 @@ impl Module { .expect("array has SLOT_RANGE_COUNT items; index never reaches that value; qed") ) )), - "bidder winning non-intersecting range" + "bidder winning non-intersecting range", ); // Ok; we are the new winner of this range - reserve the additional amount and record. @@ -818,7 +820,7 @@ impl Module { #[cfg(test)] mod tests { use super::*; - use std::{result::Result, collections::HashMap, cell::RefCell}; + use std::{collections::HashMap, cell::RefCell}; use sp_core::H256; use sp_runtime::{ @@ -860,6 +862,7 @@ mod tests { type MaximumBlockLength = MaximumBlockLength; type AvailableBlockRatio = AvailableBlockRatio; type Version = (); + type ModuleToIndex = (); } parameter_types! { @@ -899,7 +902,7 @@ mod tests { _info: ParaInfo, code: Vec, initial_head_data: Vec - ) -> Result<(), &'static str> { + ) -> DispatchResult { PARACHAINS.with(|p| { if p.borrow().contains_key(&id.into()) { panic!("ID already exists") @@ -908,7 +911,7 @@ mod tests { Ok(()) }) } - fn deregister_para(id: ParaId) -> Result<(), &'static str> { + fn deregister_para(id: ParaId) -> DispatchResult { PARACHAINS.with(|p| { if !p.borrow().contains_key(&id.into()) { panic!("ID doesn't exist")