diff --git a/Cargo.lock b/Cargo.lock index 5b0cae30c006..9f3d819c98da 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#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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,7 +1529,7 @@ dependencies = [ [[package]] name = "grafana-data-source" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -2121,6 +2121,16 @@ dependencies = [ "smallvec 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "kvdb" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "parity-bytes 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-util-mem 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", + "smallvec 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "kvdb-memorydb" version = "0.1.2" @@ -2139,6 +2149,16 @@ dependencies = [ "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "kvdb-memorydb" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "kvdb 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-util-mem 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "kvdb-rocksdb" version = "0.3.0" @@ -2156,6 +2176,24 @@ dependencies = [ "smallvec 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "kvdb-rocksdb" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "fs-swap 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", + "interleaved-ordered 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "kvdb 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)", + "num_cpus 1.11.1 (registry+https://github.com/rust-lang/crates.io-index)", + "owning_ref 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-util-mem 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", + "regex 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "rocksdb 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)", + "smallvec 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "kvdb-web" version = "0.1.1" @@ -2991,7 +3029,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -3009,7 +3047,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -3026,7 +3064,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -3047,7 +3085,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -3061,7 +3099,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -3077,7 +3115,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -3092,7 +3130,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -3105,7 +3143,7 @@ dependencies = [ [[package]] name = "pallet-finality-tracker" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -3121,7 +3159,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -3139,7 +3177,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -3154,7 +3192,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -3173,7 +3211,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -3190,7 +3228,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -3204,7 +3242,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -3218,7 +3256,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -3233,7 +3271,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -3246,7 +3284,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -3265,7 +3303,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -3285,7 +3323,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -3296,7 +3334,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#c9ca968bcfcb7947c96543c4455a1966cd2c20b1" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -3310,7 +3348,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -3326,7 +3364,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -3339,7 +3377,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -3356,7 +3394,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -3369,7 +3407,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -3383,7 +3421,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -3500,6 +3538,29 @@ dependencies = [ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "parity-util-mem" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "impl-trait-for-tuples 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-util-mem-derive 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", + "smallvec 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "parity-util-mem-derive" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)", + "synstructure 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "parity-wasm" version = "0.31.3" @@ -4586,7 +4647,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -4611,7 +4672,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -4625,7 +4686,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -4640,7 +4701,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -4651,7 +4712,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -4686,14 +4747,14 @@ dependencies = [ [[package]] name = "sc-client" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", "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)", "hex-literal 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "kvdb 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "kvdb 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)", "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4719,14 +4780,14 @@ dependencies = [ [[package]] name = "sc-client-api" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", "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)", "hex-literal 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "kvdb 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "kvdb 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)", "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4750,15 +4811,16 @@ dependencies = [ [[package]] name = "sc-client-db" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" dependencies = [ "hash-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)", - "kvdb 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "kvdb-memorydb 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "kvdb-rocksdb 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "kvdb 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "kvdb-memorydb 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "kvdb-rocksdb 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", "linked-hash-map 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "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)", + "parity-util-mem 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", "sc-client 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "sc-client-api 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -4775,7 +4837,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -4815,7 +4877,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -4834,7 +4896,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -4848,7 +4910,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" dependencies = [ "derive_more 0.99.2 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4875,7 +4937,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -4890,7 +4952,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -4906,7 +4968,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -4930,7 +4992,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -4960,7 +5022,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -4975,7 +5037,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5020,7 +5082,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5036,7 +5098,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5063,7 +5125,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" dependencies = [ "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "libp2p 0.13.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5074,7 +5136,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5103,7 +5165,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5125,7 +5187,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5140,7 +5202,7 @@ dependencies = [ [[package]] name = "sc-service" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5187,7 +5249,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5198,7 +5260,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5220,7 +5282,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5236,7 +5298,7 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5251,7 +5313,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5536,7 +5598,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#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5550,7 +5612,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5562,7 +5624,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5574,7 +5636,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5587,7 +5649,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5599,7 +5661,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5610,7 +5672,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5622,7 +5684,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5638,7 +5700,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5657,7 +5719,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5673,7 +5735,7 @@ dependencies = [ [[package]] name = "sp-core" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5712,7 +5774,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5722,7 +5784,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5732,7 +5794,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5745,7 +5807,7 @@ dependencies = [ [[package]] name = "sp-finality-tracker" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5755,7 +5817,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5767,7 +5829,7 @@ dependencies = [ [[package]] name = "sp-io" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" dependencies = [ "hash-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)", "libsecp256k1 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5784,7 +5846,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5795,7 +5857,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5804,7 +5866,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5813,7 +5875,7 @@ dependencies = [ [[package]] name = "sp-phragmen" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5823,7 +5885,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5832,7 +5894,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5851,7 +5913,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5866,7 +5928,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5878,7 +5940,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5887,7 +5949,7 @@ dependencies = [ [[package]] name = "sp-session" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5897,7 +5959,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5907,7 +5969,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5926,12 +5988,12 @@ dependencies = [ [[package]] name = "sp-std" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" [[package]] name = "sp-storage" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5942,10 +6004,9 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", "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)", "sp-inherents 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -5956,7 +6017,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5970,7 +6031,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" dependencies = [ "hash-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)", "memory-db 0.18.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5984,7 +6045,7 @@ dependencies = [ [[package]] name = "sp-version" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -5996,7 +6057,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -6100,7 +6161,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#de906546bcab2f66a997fe102d2ebd729a193122" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#1b8e4aeaddd9a44f389ac21736df1eda97bda4fd" 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)", @@ -7445,9 +7506,12 @@ dependencies = [ "checksum kv-log-macro 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "8c54d9f465d530a752e6ebdc217e081a7a614b48cb200f6f0aee21ba6bc9aabb" "checksum kvdb 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c1b2f251f01a7224426abdb2563707d856f7de995d821744fd8fa8e2874f69e3" "checksum kvdb 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "cecee8d85a74f6b8284710d52a7d1196f09e31f8217e1f184a475b509d360554" +"checksum kvdb 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8396be0e5561ccd1bf7ff0b2007487cdd7a87a056873fe6ea906b35d4dbf7ed8" "checksum kvdb-memorydb 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "296c12309ed36cb74d59206406adbf1971c3baa56d5410efdb508d8f1c60a351" "checksum kvdb-memorydb 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0a5d70712b1fe0f02ce7ee36a962fcb0b15d0fe11262ba21a4aa839ef22cf60d" +"checksum kvdb-memorydb 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4d25ef14155e418515c4839e9144c839de3506e68946f255a32b7f166095493d" "checksum kvdb-rocksdb 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "54cc6b52f7e511de9f07fd77cda70247adfc6b8192e4b5a1b6dbca416dc425b5" +"checksum kvdb-rocksdb 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "af488cc16c3801705c8d681c3a32c8faa8fafc7fb5309dee0f573f3c6a19d395" "checksum kvdb-web 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a5dddd64e88162576fdfbffc5409be89e10f95d367203321c30f8466a7774258" "checksum lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" "checksum lazycell 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b294d6fa9ee409a054354afc4352b0b9ef7ca222c69b8812cbea9e7d2bf3783f" @@ -7557,6 +7621,8 @@ dependencies = [ "checksum parity-scale-codec-derive 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "492ac3aa93d6caa5d20e4e3e0b75d08e2dcd9dd8a50d19529548b6fe11b3f295" "checksum parity-send-wrapper 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "aa9777aa91b8ad9dd5aaa04a9b6bcb02c7f1deb952fca5a66034d5e63afc5c6f" "checksum parity-util-mem 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8174d85e62c4d615fddd1ef67966bdc5757528891d0742f15b131ad04667b3f9" +"checksum parity-util-mem 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "900dd84654b048e5bad420bb341658fc2c4d7fea628c22bcf4621733e54859b4" +"checksum parity-util-mem-derive 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" "checksum parity-wasm 0.31.3 (registry+https://github.com/rust-lang/crates.io-index)" = "511379a8194230c2395d2f5fa627a5a7e108a9f976656ce723ae68fca4097bfc" "checksum parity-wasm 0.41.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc878dac00da22f8f61e7af3157988424567ab01d9920b962ef7dcbd7cd865" "checksum parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ab41b4aed082705d1056416ae4468b6ea99d52599ecf3169b00088d43113e337" diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 12a8bb3a149a..f86ca0fa39c6 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -79,7 +79,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { impl_name: create_runtime_str!("parity-kusama"), authoring_version: 2, spec_version: 1035, - impl_version: 1, + impl_version: 2, apis: RUNTIME_API_VERSIONS, }; diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 1eac790436f6..b3bae29aa4ca 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -298,9 +298,8 @@ impl staking::Trait for Runtime { } parameter_types! { - // KUSAMA: These values are 1/4 of what we expect for the mainnet. - pub const LaunchPeriod: BlockNumber = 7 * DAYS; - pub const VotingPeriod: BlockNumber = 7 * DAYS; + pub const LaunchPeriod: BlockNumber = 28 * DAYS; + pub const VotingPeriod: BlockNumber = 28 * DAYS; pub const EmergencyVotingPeriod: BlockNumber = 3 * HOURS; pub const MinimumDeposit: Balance = 100 * DOLLARS; pub const EnactmentPeriod: BlockNumber = 8 * DAYS; @@ -320,9 +319,8 @@ impl democracy::Trait for Runtime { type MinimumDeposit = MinimumDeposit; /// A straight majority of the council can decide what their next motion is. type ExternalOrigin = collective::EnsureProportionAtLeast<_1, _2, AccountId, CouncilCollective>; - /// A super-majority can have the next scheduled referendum be a straight majority-carries vote. - // KUSAMA: A majority can have the next scheduled legislation be majority-carries. - type ExternalMajorityOrigin = collective::EnsureProportionAtLeast<_1, _2, AccountId, CouncilCollective>; + /// A 60% super-majority can have the next scheduled referendum be a straight majority-carries vote. + type ExternalMajorityOrigin = collective::EnsureProportionAtLeast<_3, _5, AccountId, CouncilCollective>; /// A unanimous council can have the next scheduled referendum be a straight default-carries /// (NTB) vote. type ExternalDefaultOrigin = collective::EnsureProportionAtLeast<_1, _1, AccountId, CouncilCollective>; @@ -349,10 +347,11 @@ impl collective::Trait for Runtime { parameter_types! { pub const CandidacyBond: Balance = 100 * DOLLARS; pub const VotingBond: Balance = 5 * DOLLARS; - /// Daily council elections. - pub const TermDuration: BlockNumber = 24 * HOURS; + /// Weekly council elections initially, later monthly. + pub const TermDuration: BlockNumber = 7 * DAYS; + /// 13 members initially, to be increased to 23 eventually. pub const DesiredMembers: u32 = 13; - pub const DesiredRunnersUp: u32 = 7; + pub const DesiredRunnersUp: u32 = 20; } impl elections_phragmen::Trait for Runtime { @@ -389,12 +388,9 @@ impl membership::Trait for Runtime { parameter_types! { pub const ProposalBond: Permill = Permill::from_percent(5); - // KUSAMA: This value is 20x of that expected for mainnet - pub const ProposalBondMinimum: Balance = 2_000 * DOLLARS; - // KUSAMA: This value is 1/4 of that expected for mainnet - pub const SpendPeriod: BlockNumber = 6 * DAYS; - // KUSAMA: No burn - let's try to put it to use! - pub const Burn: Permill = Permill::from_percent(0); + pub const ProposalBondMinimum: Balance = 100 * DOLLARS; + pub const SpendPeriod: BlockNumber = 24 * DAYS; + pub const Burn: Permill = Permill::from_percent(1); } impl treasury::Trait for Runtime {