From 093f51b70105be2bf5d9b0c176ac6f249aaf609f Mon Sep 17 00:00:00 2001 From: Gavin Wood Date: Sun, 27 Oct 2019 16:24:57 +0100 Subject: [PATCH] Enable nicknaming for accounts (#500) (#501) * Update Substrate and add support for account nicknames * Bump spec version * Bump substrate branch * Make nicks callable. * Bump Substrate --- Cargo.lock | 180 ++++++++++++++++++++++++--------------------- runtime/Cargo.toml | 2 + runtime/src/lib.rs | 23 +++++- 3 files changed, 121 insertions(+), 84 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2c72ca560b742..c3aefaab8d65a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -849,7 +849,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "fork-tree" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -2825,6 +2825,7 @@ dependencies = [ "srml-im-online 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "srml-indices 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "srml-membership 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", + "srml-nicks 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "srml-offences 1.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "srml-randomness-collective-flip 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "srml-session 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3704,7 +3705,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "sr-api-macros" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "blake2-rfc 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", "proc-macro-crate 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3716,7 +3717,7 @@ dependencies = [ [[package]] name = "sr-arithmetic" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "integer-sqrt 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3729,7 +3730,7 @@ dependencies = [ [[package]] name = "sr-io" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "hash-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)", "libsecp256k1 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3747,7 +3748,7 @@ dependencies = [ [[package]] name = "sr-primitives" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "impl-trait-for-tuples 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3765,7 +3766,7 @@ dependencies = [ [[package]] name = "sr-staking-primitives" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "sr-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -3775,7 +3776,7 @@ dependencies = [ [[package]] name = "sr-std" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -3783,7 +3784,7 @@ dependencies = [ [[package]] name = "sr-version" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "impl-serde 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3795,7 +3796,7 @@ dependencies = [ [[package]] name = "srml-authority-discovery" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3812,7 +3813,7 @@ dependencies = [ [[package]] name = "srml-authorship" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "impl-trait-for-tuples 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3828,7 +3829,7 @@ dependencies = [ [[package]] name = "srml-babe" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "hex-literal 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3848,7 +3849,7 @@ dependencies = [ [[package]] name = "srml-balances" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3863,7 +3864,7 @@ dependencies = [ [[package]] name = "srml-collective" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3879,7 +3880,7 @@ dependencies = [ [[package]] name = "srml-democracy" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3894,7 +3895,7 @@ dependencies = [ [[package]] name = "srml-elections-phragmen" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3910,7 +3911,7 @@ dependencies = [ [[package]] name = "srml-executive" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3924,7 +3925,7 @@ dependencies = [ [[package]] name = "srml-finality-tracker" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "impl-trait-for-tuples 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3939,7 +3940,7 @@ dependencies = [ [[package]] name = "srml-grandpa" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3957,7 +3958,7 @@ dependencies = [ [[package]] name = "srml-im-online" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3975,7 +3976,7 @@ dependencies = [ [[package]] name = "srml-indices" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3992,7 +3993,7 @@ dependencies = [ [[package]] name = "srml-membership" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4006,7 +4007,7 @@ dependencies = [ [[package]] name = "srml-metadata" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4014,10 +4015,24 @@ dependencies = [ "substrate-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", ] +[[package]] +name = "srml-nicks" +version = "2.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" +dependencies = [ + "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-io 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", + "sr-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", + "sr-std 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", + "srml-support 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", + "srml-system 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", +] + [[package]] name = "srml-offences" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4032,7 +4047,7 @@ dependencies = [ [[package]] name = "srml-randomness-collective-flip" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4045,7 +4060,7 @@ dependencies = [ [[package]] name = "srml-session" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "impl-trait-for-tuples 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4064,7 +4079,7 @@ dependencies = [ [[package]] name = "srml-staking" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4084,7 +4099,7 @@ dependencies = [ [[package]] name = "srml-staking-reward-curve" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "proc-macro-crate 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", "proc-macro2 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4095,7 +4110,7 @@ dependencies = [ [[package]] name = "srml-sudo" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4109,7 +4124,7 @@ dependencies = [ [[package]] name = "srml-support" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "bitmask 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "impl-trait-for-tuples 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4130,7 +4145,7 @@ dependencies = [ [[package]] name = "srml-support-procedural" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4142,7 +4157,7 @@ dependencies = [ [[package]] name = "srml-support-procedural-tools" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "proc-macro-crate 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4154,7 +4169,7 @@ dependencies = [ [[package]] name = "srml-support-procedural-tools-derive" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4164,7 +4179,7 @@ dependencies = [ [[package]] name = "srml-system" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "impl-trait-for-tuples 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4181,7 +4196,7 @@ dependencies = [ [[package]] name = "srml-system-rpc" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "jsonrpc-core 13.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "jsonrpc-core-client 13.2.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4199,7 +4214,7 @@ dependencies = [ [[package]] name = "srml-system-rpc-runtime-api" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "substrate-client 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -4208,7 +4223,7 @@ dependencies = [ [[package]] name = "srml-timestamp" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "impl-trait-for-tuples 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4223,7 +4238,7 @@ dependencies = [ [[package]] name = "srml-transaction-payment" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "sr-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -4235,7 +4250,7 @@ dependencies = [ [[package]] name = "srml-treasury" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4322,7 +4337,7 @@ dependencies = [ [[package]] name = "substrate-application-crypto" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4334,7 +4349,7 @@ dependencies = [ [[package]] name = "substrate-authority-discovery" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", "derive_more 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4356,7 +4371,7 @@ dependencies = [ [[package]] name = "substrate-authority-discovery-primitives" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "sr-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -4378,7 +4393,7 @@ dependencies = [ [[package]] name = "substrate-chain-spec" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "impl-trait-for-tuples 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4393,7 +4408,7 @@ dependencies = [ [[package]] name = "substrate-chain-spec-derive" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "proc-macro-crate 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", "proc-macro2 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4404,7 +4419,7 @@ dependencies = [ [[package]] name = "substrate-cli" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "ansi_term 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)", "app_dirs 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4440,7 +4455,7 @@ dependencies = [ [[package]] name = "substrate-client" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "derive_more 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)", "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4470,7 +4485,7 @@ dependencies = [ [[package]] name = "substrate-client-db" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "hash-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)", "kvdb 0.1.0 (git+https://github.com/paritytech/parity-common?rev=b0317f649ab2c665b7987b8475878fc4d2e1f81d)", @@ -4494,7 +4509,7 @@ dependencies = [ [[package]] name = "substrate-consensus-babe" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "derive_more 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)", "fork-tree 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -4532,7 +4547,7 @@ dependencies = [ [[package]] name = "substrate-consensus-babe-primitives" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "schnorrkel 0.8.5 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4546,7 +4561,7 @@ dependencies = [ [[package]] name = "substrate-consensus-common" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "derive_more 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)", "futures-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4565,7 +4580,7 @@ dependencies = [ [[package]] name = "substrate-consensus-slots" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "futures-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)", "futures-timer 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4583,7 +4598,7 @@ dependencies = [ [[package]] name = "substrate-consensus-uncles" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "sr-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -4597,7 +4612,7 @@ dependencies = [ [[package]] name = "substrate-debug-derive" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "proc-macro2 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4607,7 +4622,7 @@ dependencies = [ [[package]] name = "substrate-executor" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "derive_more 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4631,7 +4646,7 @@ dependencies = [ [[package]] name = "substrate-externalities" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "environmental 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", "primitive-types 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4642,7 +4657,7 @@ dependencies = [ [[package]] name = "substrate-finality-grandpa" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "finality-grandpa 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", "fork-tree 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -4671,7 +4686,7 @@ dependencies = [ [[package]] name = "substrate-finality-grandpa-primitives" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4684,7 +4699,7 @@ dependencies = [ [[package]] name = "substrate-header-metadata" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "lru-cache 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4694,7 +4709,7 @@ dependencies = [ [[package]] name = "substrate-inherents" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4705,7 +4720,7 @@ dependencies = [ [[package]] name = "substrate-keyring" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "sr-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -4717,7 +4732,7 @@ dependencies = [ [[package]] name = "substrate-keystore" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "derive_more 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)", "hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4732,7 +4747,7 @@ dependencies = [ [[package]] name = "substrate-network" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4774,7 +4789,7 @@ dependencies = [ [[package]] name = "substrate-offchain" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4801,7 +4816,7 @@ dependencies = [ [[package]] name = "substrate-offchain-primitives" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "sr-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "substrate-client 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -4810,7 +4825,7 @@ dependencies = [ [[package]] name = "substrate-panic-handler" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "backtrace 0.3.40 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4819,7 +4834,7 @@ dependencies = [ [[package]] name = "substrate-peerset" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "futures-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)", "libp2p 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4832,7 +4847,7 @@ dependencies = [ [[package]] name = "substrate-phragmen" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "sr-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "sr-std 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -4841,7 +4856,7 @@ dependencies = [ [[package]] name = "substrate-primitives" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "base58 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "blake2-rfc 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4879,7 +4894,7 @@ dependencies = [ [[package]] name = "substrate-primitives-storage" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "impl-serde 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4890,7 +4905,7 @@ dependencies = [ [[package]] name = "substrate-rpc" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "futures-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)", "hash-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4916,7 +4931,7 @@ dependencies = [ [[package]] name = "substrate-rpc-api" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "derive_more 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)", "futures-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4938,7 +4953,7 @@ dependencies = [ [[package]] name = "substrate-rpc-primitives" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)", "substrate-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -4947,7 +4962,7 @@ dependencies = [ [[package]] name = "substrate-rpc-servers" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "jsonrpc-core 13.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "jsonrpc-http-server 13.2.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4962,7 +4977,7 @@ dependencies = [ [[package]] name = "substrate-serializer" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.41 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4971,7 +4986,7 @@ dependencies = [ [[package]] name = "substrate-service" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "derive_more 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)", "exit-future 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5013,7 +5028,7 @@ dependencies = [ [[package]] name = "substrate-session" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "sr-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", "sr-std 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)", @@ -5024,7 +5039,7 @@ dependencies = [ [[package]] name = "substrate-state-db" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5035,7 +5050,7 @@ dependencies = [ [[package]] name = "substrate-state-machine" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "hash-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5054,7 +5069,7 @@ dependencies = [ [[package]] name = "substrate-telemetry" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5076,7 +5091,7 @@ dependencies = [ [[package]] name = "substrate-transaction-graph" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "derive_more 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)", "futures-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5090,7 +5105,7 @@ dependencies = [ [[package]] name = "substrate-transaction-pool" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "derive_more 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)", "futures-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5106,7 +5121,7 @@ dependencies = [ [[package]] name = "substrate-trie" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "hash-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)", "memory-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -5125,7 +5140,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "substrate-wasm-interface" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#4a13f614cf66bf12d7f02f0d338e6f4e27389c48" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#76a138f88cad878478f1c5ab565ec277b870362e" dependencies = [ "wasmi 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -6365,6 +6380,7 @@ dependencies = [ "checksum srml-indices 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)" = "" "checksum srml-membership 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)" = "" "checksum srml-metadata 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)" = "" +"checksum srml-nicks 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)" = "" "checksum srml-offences 1.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)" = "" "checksum srml-randomness-collective-flip 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)" = "" "checksum srml-session 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)" = "" diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 208b24dbec810..b6de050cdabf4 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -42,6 +42,7 @@ grandpa = { package = "srml-grandpa", git = "https://github.com/paritytech/subst im-online = { package = "srml-im-online", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" } indices = { package = "srml-indices", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" } membership = { package = "srml-membership", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" } +nicks = { package = "srml-nicks", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" } offences = { package = "srml-offences", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" } randomness-collective-flip = { package = "srml-randomness-collective-flip", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" } session = { package = "srml-session", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" } @@ -100,6 +101,7 @@ std = [ "im-online/std", "indices/std", "membership/std", + "nicks/std", "offences/std", "sr-primitives/std", "sr-staking-primitives/std", diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index d63e7434e1e0f..d0470a37329a0 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -99,7 +99,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("kusama"), impl_name: create_runtime_str!("parity-kusama"), authoring_version: 1, - spec_version: 1005, + spec_version: 1006, impl_version: 0, apis: RUNTIME_API_VERSIONS, }; @@ -131,7 +131,7 @@ impl SignedExtension for OnlyStakingAndClaims { match call { Call::Staking(_) | Call::Claims(_) | Call::Sudo(_) | Call::Session(_) | Call::ElectionsPhragmen(_) | Call::TechnicalMembership(_) - | Call::TechnicalCommittee(_) + | Call::TechnicalCommittee(_) | Call::Nicks(_) => Ok(Default::default()), _ => Err(InvalidTransaction::Custom(ValidityError::NoPermission.into()).into()), @@ -529,6 +529,22 @@ impl sudo::Trait for Runtime { type Proposal = Call; } +parameter_types! { + pub const ReservationFee: Balance = 1 * DOLLARS; + pub const MinLength: usize = 3; + pub const MaxLength: usize = 16; +} + +impl nicks::Trait for Runtime { + type Event = Event; + type Currency = Balances; + type ReservationFee = ReservationFee; + type Slashed = Treasury; + type KillOrigin = collective::EnsureMember; + type MinLength = MinLength; + type MaxLength = MaxLength; +} + construct_runtime!( pub enum Runtime where Block = Block, @@ -577,6 +593,9 @@ construct_runtime!( // Sudo. Usable initially. // RELEASE: remove this for release build. Sudo: sudo, + + // Simple nicknames module. + Nicks: nicks::{Module, Call, Storage, Event}, } );