diff --git a/polkadot/Cargo.lock b/polkadot/Cargo.lock index b826f45e25..ef7fed2486 100644 --- a/polkadot/Cargo.lock +++ b/polkadot/Cargo.lock @@ -454,9 +454,9 @@ checksum = "7059804e226b3ac116519a252d7f5fb985a5ccc0e93255e036a5f7e7283323f4" dependencies = [ "failure", "hashbrown 0.1.8", - "hmac", + "hmac 0.7.1", "once_cell 0.1.8", - "pbkdf2", + "pbkdf2 0.3.0", "rand 0.6.5", "sha2 0.8.2", ] @@ -1539,7 +1539,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "parity-scale-codec", ] @@ -1557,7 +1557,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-support", "frame-system", @@ -1575,7 +1575,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "chrono", "frame-benchmarking", @@ -1597,7 +1597,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-support", "frame-system", @@ -1613,7 +1613,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "12.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "parity-scale-codec", "serde", @@ -1624,7 +1624,7 @@ dependencies = [ [[package]] name = "frame-support" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "bitflags", "frame-metadata", @@ -1649,7 +1649,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-support-procedural-tools", "proc-macro2 1.0.24", @@ -1660,7 +1660,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -1672,7 +1672,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "proc-macro2 1.0.24", "quote 1.0.7", @@ -1682,7 +1682,7 @@ dependencies = [ [[package]] name = "frame-system" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-support", "impl-trait-for-tuples 0.1.3", @@ -1698,7 +1698,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-benchmarking", "frame-support", @@ -1712,7 +1712,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "parity-scale-codec", "sp-api", @@ -1789,27 +1789,12 @@ dependencies = [ "futures-sink", ] -[[package]] -name = "futures-channel-preview" -version = "0.3.0-alpha.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5e5f4df964fa9c1c2f8bddeb5c3611631cacd93baf810fc8bb2fb4b495c263a" -dependencies = [ - "futures-core-preview", -] - [[package]] name = "futures-core" version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "847ce131b72ffb13b6109a221da9ad97a64cbe48feb1028356b836b47b8f1748" -[[package]] -name = "futures-core-preview" -version = "0.3.0-alpha.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b35b6263fb1ef523c3056565fa67b1d16f0a8604ff12b11b08c25f28a734c60a" - [[package]] name = "futures-cpupool" version = "0.1.8" @@ -1933,18 +1918,6 @@ dependencies = [ "slab", ] -[[package]] -name = "futures-util-preview" -version = "0.3.0-alpha.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ce968633c17e5f97936bd2797b6e38fb56cf16a7422319f7ec2e30d3c470e8d" -dependencies = [ - "futures-channel-preview", - "futures-core-preview", - "pin-utils", - "slab", -] - [[package]] name = "futures_codec" version = "0.4.1" @@ -2228,6 +2201,16 @@ dependencies = [ "digest 0.8.1", ] +[[package]] +name = "hmac" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "126888268dcc288495a26bf004b38c5fdbb31682f992c84ceb046a1f0fe38840" +dependencies = [ + "crypto-mac 0.8.0", + "digest 0.9.0", +] + [[package]] name = "hmac-drbg" version = "0.2.0" @@ -2236,7 +2219,7 @@ checksum = "c6e570451493f10f6581b48cdd530413b63ea9e780f544bfd3bdcaa0d89d1a7b" dependencies = [ "digest 0.8.1", "generic-array 0.12.3", - "hmac", + "hmac 0.7.1", ] [[package]] @@ -2331,7 +2314,7 @@ dependencies = [ "time", "tokio 0.1.22", "tokio-buf", - "tokio-executor 0.1.10", + "tokio-executor", "tokio-io", "tokio-reactor", "tokio-tcp", @@ -2914,9 +2897,9 @@ checksum = "c7d73b3f436185384286bd8098d17ec07c9a7d2388a6599f824d8502b529702a" [[package]] name = "libp2p" -version = "0.29.1" +version = "0.30.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "021f703bfef6e3da78ef9828c8a244d639b8d57eedf58360922aca5ff69dfdcd" +checksum = "e3c2b4c99f8798be90746fc226acf95d3e6cff0655883634cc30dab1f64f438b" dependencies = [ "atomic", "bytes 0.5.6", @@ -2953,12 +2936,12 @@ dependencies = [ [[package]] name = "libp2p-core" -version = "0.23.1" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3960524389409633550567e8a9e0684d25a33f4f8408887ff897dd9fdfbdb771" +checksum = "1b8186060d6bd415e4e928e6cb44c4fe7e7a7dd53437bd936ce7e5f421e45a51" dependencies = [ "asn1_der", - "bs58 0.3.1", + "bs58 0.4.0", "ed25519-dalek", "either", "fnv", @@ -2997,9 +2980,9 @@ dependencies = [ [[package]] name = "libp2p-deflate" -version = "0.23.0" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567962c5c5f8a1282979441300e1739ba939024010757c3dbfab4d462189df77" +checksum = "34aea69349e70a58ef9ecd21ac12c5eaa36255ac6986828079d26393f9e618cb" dependencies = [ "flate2", "futures 0.3.8", @@ -3008,9 +2991,9 @@ dependencies = [ [[package]] name = "libp2p-dns" -version = "0.23.0" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "436280f5fe21a58fcaff82c2606945579241f32bc0eaf2d39321aa4624a66e7f" +checksum = "0baeff71fb5cb1fe1604f74a712a44b66a8c5900f4022411a1d550f09d6bb776" dependencies = [ "futures 0.3.8", "libp2p-core", @@ -3019,9 +3002,9 @@ dependencies = [ [[package]] name = "libp2p-floodsub" -version = "0.23.0" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecc175613c5915332fd6458895407ec242ea055ae3b107a586626d5e3349350a" +checksum = "db0f925a45f310b678e70faf71a10023b829d02eb9cc2628a63de928936f3ade" dependencies = [ "cuckoofilter", "fnv", @@ -3037,9 +3020,9 @@ dependencies = [ [[package]] name = "libp2p-gossipsub" -version = "0.23.0" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d500ad89ba14de4d18bebdff61a0ce3e769f1c5c5a95026c5da90187e5fff5c9" +checksum = "efeb65567174974f551a91f9f5719445b6695cad56f6a7a47a27111f37efb6b8" dependencies = [ "base64 0.13.0", "byteorder", @@ -3063,9 +3046,9 @@ dependencies = [ [[package]] name = "libp2p-identify" -version = "0.23.0" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03b90b350e37f398b73d778bd94422f4e6a3afa2c1582742ce2446b8a0dba787" +checksum = "e074124669840484de564901d47f2d0892e73f6d8ee7c37e9c2644af1b217bf4" dependencies = [ "futures 0.3.8", "libp2p-core", @@ -3079,9 +3062,9 @@ dependencies = [ [[package]] name = "libp2p-kad" -version = "0.24.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb78341f114bf686d5fe50b33ff1a804d88fb326c0d39ee1c22db4346b21fc27" +checksum = "78a2653b2e3254a3bbeb66bfc3f0dca7d6cba6aa2a96791db114003dec1b5394" dependencies = [ "arrayvec 0.5.2", "bytes 0.5.6", @@ -3106,9 +3089,9 @@ dependencies = [ [[package]] name = "libp2p-mdns" -version = "0.23.0" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b575514fce0a3ccbd065d6aa377bd4d5102001b05c1a22a5eee49c450254ef0f" +checksum = "786b068098794322239f8f04df88a52daeb7863b2e77501c4d85d32e0a8f2d26" dependencies = [ "async-std", "data-encoding", @@ -3128,9 +3111,9 @@ dependencies = [ [[package]] name = "libp2p-mplex" -version = "0.23.1" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a92b538238c80067c6417a58a07e41002b69d129355b60ec147d6337fdff0eb0" +checksum = "ed764eab613a8fb6b7dcf6c796f55a06fef2270e528329903e25cd3311b99663" dependencies = [ "bytes 0.5.6", "futures 0.3.8", @@ -3146,9 +3129,9 @@ dependencies = [ [[package]] name = "libp2p-noise" -version = "0.25.0" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93c77142e3e5b18fefa7d267305c777c9cbe9b2232ec489979390100bebcc1e6" +checksum = "fb441fb015ec16690099c5d910fcba271d357763b3dcb784db7b27bbb0b68372" dependencies = [ "bytes 0.5.6", "curve25519-dalek 3.0.0", @@ -3168,9 +3151,9 @@ dependencies = [ [[package]] name = "libp2p-ping" -version = "0.23.0" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7257135609e8877f4d286935cbe1e572b2018946881c3e7f63054577074a7ee7" +checksum = "82e5c50936cfdbe96a514e8992f304fa44cd3a681b6f779505f1ae62b3474705" dependencies = [ "futures 0.3.8", "libp2p-core", @@ -3183,9 +3166,9 @@ dependencies = [ [[package]] name = "libp2p-plaintext" -version = "0.23.0" +version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c88d59ba3e710a8c8e0535cb4a52e9e46534924cbbea4691f8c3aaad17b58c61" +checksum = "21026557c335d3639591f247b19b7536195772034ec7e9c463137227f95eaaa1" dependencies = [ "bytes 0.5.6", "futures 0.3.8", @@ -3214,9 +3197,9 @@ dependencies = [ [[package]] name = "libp2p-request-response" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02ba1aa5727ccc118c09ba5111480873f2fe5608cb304e258fd12c173ecf27c9" +checksum = "2dd9a1e0e6563dec1c9e702f7e68bdaa43da62a84536aa06372d3fed3e25d4ca" dependencies = [ "async-trait", "bytes 0.5.6", @@ -3234,9 +3217,9 @@ dependencies = [ [[package]] name = "libp2p-swarm" -version = "0.23.0" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffa6fa33b16956b8a58afbfebe1406866011a1ab8960765bd36868952d7be6a1" +checksum = "565f0e06674b4033c978471e4083d5aaa8e03cef0719a0ec0905aaeaad39a919" dependencies = [ "either", "futures 0.3.8", @@ -3250,9 +3233,9 @@ dependencies = [ [[package]] name = "libp2p-tcp" -version = "0.23.0" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d0b6f4ef48d9493607fae069deecce0579320a1f3de6cb056770b151018a9a5" +checksum = "33f3dce259c0d3127af5167f45c275b6c047320efdd0e40fde947482487af0a3" dependencies = [ "async-std", "futures 0.3.8", @@ -3266,9 +3249,9 @@ dependencies = [ [[package]] name = "libp2p-uds" -version = "0.23.0" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "945bed3c989a1b290b5a0d4e8fa6e44e01840efb9a5ab3f0d3d174f0e451ac0e" +checksum = "5e0aba04370a00d8d0236e350bc862926c1b42542a169aa6a481e660e5b990fe" dependencies = [ "async-std", "futures 0.3.8", @@ -3278,9 +3261,9 @@ dependencies = [ [[package]] name = "libp2p-wasm-ext" -version = "0.23.0" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66518a4455e15c283637b4d7b579aef928b75a3fc6c50a41e7e6b9fa86672ca0" +checksum = "6c703816f4170477a375b49c56d349e535ce68388f81ba1d9a3c8e2517effa82" dependencies = [ "futures 0.3.8", "js-sys", @@ -3292,9 +3275,9 @@ dependencies = [ [[package]] name = "libp2p-websocket" -version = "0.24.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edc561870477523245efaaea1b6b743c70115f10c670e62bcbbe4d3153be5f0c" +checksum = "8d5e7268a959748040a0cf7456ad655be55b87f0ceda03bdb5b53674726b28f7" dependencies = [ "async-tls", "either", @@ -3312,9 +3295,9 @@ dependencies = [ [[package]] name = "libp2p-yamux" -version = "0.26.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07c0c9b6ef7a168c2ae854170b0b6b77550599afe06cc3ac390eb45c5d9c7110" +checksum = "1a0798cbb58535162c40858493d09af06eac42a26e4966e58de0df701f559348" dependencies = [ "futures 0.3.8", "libp2p-core", @@ -3571,18 +3554,18 @@ dependencies = [ [[package]] name = "minicbor" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2ef6aa869726518c5d8206fa5d1337bda8a0442807611be617891c018fa781" +checksum = "0164190d1771b1458c3742075b057ed55d25cd9dfb930aade99315a1eb1fe12d" dependencies = [ "minicbor-derive", ] [[package]] name = "minicbor-derive" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b3569c0dbfff1b8d5f1434c642b67f5bf81c0f354a3f5f8f180b549dba3c07c" +checksum = "2e071b3159835ee91df62dbdbfdd7ec366b7ea77c838f43aff4acda6b61bcfb9" dependencies = [ "proc-macro2 1.0.24", "quote 1.0.7", @@ -3969,7 +3952,7 @@ checksum = "7a1250cdd103eef6bd542b5ae82989f931fc00a41a27f60377338241594410f3" [[package]] name = "pallet-authority-discovery" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-support", "frame-system", @@ -3985,7 +3968,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-support", "frame-system", @@ -4000,7 +3983,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-benchmarking", "frame-support", @@ -4025,7 +4008,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-benchmarking", "frame-support", @@ -4039,7 +4022,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-benchmarking", "frame-support", @@ -4055,7 +4038,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-benchmarking", "frame-support", @@ -4070,7 +4053,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-benchmarking", "frame-support", @@ -4085,7 +4068,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-benchmarking", "frame-support", @@ -4106,7 +4089,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4122,7 +4105,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-benchmarking", "frame-support", @@ -4142,7 +4125,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-benchmarking", "frame-support", @@ -4159,7 +4142,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-support", "frame-system", @@ -4173,7 +4156,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-benchmarking", "frame-support", @@ -4189,7 +4172,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-support", "frame-system", @@ -4203,7 +4186,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-support", "frame-system", @@ -4218,7 +4201,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-benchmarking", "frame-support", @@ -4239,7 +4222,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-benchmarking", "frame-support", @@ -4255,7 +4238,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-support", "frame-system", @@ -4268,7 +4251,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "enumflags2", "frame-support", @@ -4283,7 +4266,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-benchmarking", "frame-support", @@ -4298,7 +4281,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-support", "frame-system", @@ -4318,7 +4301,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-benchmarking", "frame-support", @@ -4334,7 +4317,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-support", "frame-system", @@ -4348,7 +4331,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-benchmarking", "frame-support", @@ -4370,7 +4353,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.24", @@ -4381,7 +4364,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-support", "frame-system", @@ -4395,7 +4378,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-benchmarking", "frame-support", @@ -4413,7 +4396,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-support", "frame-system", @@ -4430,7 +4413,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -4448,7 +4431,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-support", "parity-scale-codec", @@ -4461,7 +4444,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-benchmarking", "frame-support", @@ -4476,7 +4459,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-benchmarking", "frame-support", @@ -4492,7 +4475,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4773,6 +4756,15 @@ dependencies = [ "rayon", ] +[[package]] +name = "pbkdf2" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "216eaa586a190f0a738f2f918511eecfa90f13295abec0e457cdebcceda80cbd" +dependencies = [ + "crypto-mac 0.8.0", +] + [[package]] name = "pdqselect" version = "0.1.0" @@ -5058,7 +5050,6 @@ dependencies = [ "sc-network", "sp-core", "sp-keyring", - "sp-runtime", ] [[package]] @@ -6709,7 +6700,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "async-trait", "bytes 0.5.6", @@ -6739,7 +6730,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "futures 0.3.8", "futures-timer 3.0.2", @@ -6757,13 +6748,12 @@ dependencies = [ "sp-runtime", "sp-transaction-pool", "substrate-prometheus-endpoint", - "tokio-executor 0.2.0-alpha.6", ] [[package]] name = "sc-block-builder" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -6780,7 +6770,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "impl-trait-for-tuples 0.1.3", "parity-scale-codec", @@ -6801,7 +6791,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.24", @@ -6812,7 +6802,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "ansi_term 0.12.1", "atty", @@ -6821,6 +6811,7 @@ dependencies = [ "fdlimit", "futures 0.3.8", "hex", + "lazy_static", "libp2p", "log", "names", @@ -6856,7 +6847,7 @@ dependencies = [ [[package]] name = "sc-cli-proc-macro" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.24", @@ -6867,7 +6858,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "derive_more", "fnv", @@ -6904,7 +6895,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "blake2-rfc", "hash-db", @@ -6934,7 +6925,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "sc-client-api", "sp-blockchain", @@ -6945,7 +6936,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "derive_more", "fork-tree", @@ -6990,7 +6981,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "derive_more", "futures 0.3.8", @@ -7014,7 +7005,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "fork-tree", "parity-scale-codec", @@ -7027,7 +7018,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "futures 0.3.8", "futures-timer 3.0.2", @@ -7052,7 +7043,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "log", "sc-client-api", @@ -7066,7 +7057,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "derive_more", "lazy_static", @@ -7095,7 +7086,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "derive_more", "log", @@ -7112,7 +7103,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "log", "parity-scale-codec", @@ -7127,7 +7118,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "log", "parity-scale-codec", @@ -7145,7 +7136,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "derive_more", "finality-grandpa", @@ -7182,7 +7173,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "derive_more", "finality-grandpa", @@ -7206,7 +7197,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "ansi_term 0.12.1", "futures 0.3.8", @@ -7224,7 +7215,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "async-trait", "derive_more", @@ -7244,7 +7235,7 @@ dependencies = [ [[package]] name = "sc-light" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "hash-db", "lazy_static", @@ -7263,7 +7254,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "async-std", "async-trait", @@ -7317,7 +7308,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "futures 0.3.8", "futures-timer 3.0.2", @@ -7332,7 +7323,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "bytes 0.5.6", "fnv", @@ -7359,7 +7350,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "futures 0.3.8", "libp2p", @@ -7372,7 +7363,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -7381,7 +7372,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "futures 0.3.8", "hash-db", @@ -7414,7 +7405,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "derive_more", "futures 0.3.8", @@ -7438,7 +7429,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "futures 0.1.30", "jsonrpc-core", @@ -7456,7 +7447,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "derive_more", "directories", @@ -7520,7 +7511,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "log", "parity-scale-codec", @@ -7534,7 +7525,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -7553,7 +7544,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "futures 0.3.8", "futures-timer 3.0.2", @@ -7574,7 +7565,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "erased-serde", "log", @@ -7593,7 +7584,7 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "derive_more", "futures 0.3.8", @@ -7614,7 +7605,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "derive_more", "futures 0.3.8", @@ -8046,7 +8037,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "derive_more", "log", @@ -8058,7 +8049,7 @@ dependencies = [ [[package]] name = "sp-api" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "hash-db", "parity-scale-codec", @@ -8073,7 +8064,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "blake2-rfc", "proc-macro-crate", @@ -8085,7 +8076,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "parity-scale-codec", "serde", @@ -8097,7 +8088,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "integer-sqrt", "num-traits 0.2.14", @@ -8110,7 +8101,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "parity-scale-codec", "sp-api", @@ -8122,7 +8113,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -8133,7 +8124,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "parity-scale-codec", "sp-api", @@ -8145,7 +8136,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "log", "lru 0.4.3", @@ -8162,7 +8153,7 @@ dependencies = [ [[package]] name = "sp-chain-spec" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "serde", "serde_json", @@ -8171,7 +8162,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "futures 0.3.8", "futures-timer 3.0.2", @@ -8197,7 +8188,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "merlin", "parity-scale-codec", @@ -8217,7 +8208,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -8226,7 +8217,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -8238,7 +8229,7 @@ dependencies = [ [[package]] name = "sp-core" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "base58", "blake2-rfc", @@ -8282,7 +8273,7 @@ dependencies = [ [[package]] name = "sp-database" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "kvdb", "parking_lot 0.10.2", @@ -8291,7 +8282,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "proc-macro2 1.0.24", "quote 1.0.7", @@ -8301,7 +8292,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "environmental", "parity-scale-codec", @@ -8312,7 +8303,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "finality-grandpa", "log", @@ -8329,7 +8320,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "parity-scale-codec", "parking_lot 0.10.2", @@ -8341,7 +8332,7 @@ dependencies = [ [[package]] name = "sp-io" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "futures 0.3.8", "hash-db", @@ -8365,7 +8356,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "lazy_static", "sp-core", @@ -8376,7 +8367,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "async-trait", "derive_more", @@ -8392,7 +8383,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "parity-scale-codec", "serde", @@ -8404,7 +8395,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-compact" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.24", @@ -8415,7 +8406,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "sp-api", "sp-core", @@ -8425,7 +8416,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "backtrace", "log", @@ -8434,7 +8425,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "serde", "sp-core", @@ -8443,7 +8434,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "either", "hash256-std-hasher", @@ -8465,7 +8456,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "parity-scale-codec", "primitive-types", @@ -8481,7 +8472,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "Inflector", "proc-macro-crate", @@ -8493,7 +8484,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "serde", "serde_json", @@ -8502,7 +8493,7 @@ dependencies = [ [[package]] name = "sp-session" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "parity-scale-codec", "sp-api", @@ -8515,7 +8506,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -8525,7 +8516,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "hash-db", "log", @@ -8547,12 +8538,12 @@ dependencies = [ [[package]] name = "sp-std" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" [[package]] name = "sp-storage" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "impl-serde", "parity-scale-codec", @@ -8565,7 +8556,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "log", "sp-core", @@ -8578,7 +8569,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "impl-trait-for-tuples 0.1.3", "parity-scale-codec", @@ -8592,7 +8583,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "log", "parity-scale-codec", @@ -8605,7 +8596,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "derive_more", "futures 0.3.8", @@ -8620,7 +8611,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "hash-db", "memory-db", @@ -8634,7 +8625,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "futures 0.3.8", "futures-core", @@ -8646,7 +8637,7 @@ dependencies = [ [[package]] name = "sp-version" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "impl-serde", "parity-scale-codec", @@ -8658,7 +8649,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "impl-trait-for-tuples 0.1.3", "parity-scale-codec", @@ -8781,8 +8772,8 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bed6646a0159b9935b5d045611560eeef842b78d7adc3ba36f5ca325a13a0236" dependencies = [ - "hmac", - "pbkdf2", + "hmac 0.7.1", + "pbkdf2 0.3.0", "schnorrkel", "sha2 0.8.2", "zeroize", @@ -8791,7 +8782,7 @@ dependencies = [ [[package]] name = "substrate-browser-utils" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "chrono", "console_error_panic_hook", @@ -8817,7 +8808,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "platforms", ] @@ -8825,7 +8816,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.8", @@ -8848,7 +8839,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "async-std", "derive_more", @@ -8862,7 +8853,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "futures 0.1.30", "futures 0.3.8", @@ -8889,7 +8880,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "futures 0.3.8", "substrate-test-utils-derive", @@ -8899,7 +8890,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.8.0" -source = "git+https://github.com/paritytech/substrate?branch=master#71d027841a57a6bfa0549218923e78477cf96a0a" +source = "git+https://github.com/paritytech/substrate#c180950de63dbdfaa11053a8a56f35e694ed9e36" dependencies = [ "proc-macro-crate", "quote 1.0.7", @@ -9122,18 +9113,20 @@ dependencies = [ [[package]] name = "tiny-bip39" -version = "0.7.3" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0165e045cc2ae1660270ca65e1676dbaab60feb0f91b10f7d0665e9b47e31f2" +checksum = "d9e44c4759bae7f1032e286a7ef990bd9ed23fe831b7eeba0beb97484c2e59b8" dependencies = [ - "failure", - "hmac", + "anyhow", + "hmac 0.8.1", "once_cell 1.5.1", - "pbkdf2", + "pbkdf2 0.4.0", "rand 0.7.3", "rustc-hash", - "sha2 0.8.2", + "sha2 0.9.2", + "thiserror", "unicode-normalization", + "zeroize", ] [[package]] @@ -9172,11 +9165,11 @@ dependencies = [ "num_cpus", "tokio-codec", "tokio-current-thread", - "tokio-executor 0.1.10", + "tokio-executor", "tokio-fs", "tokio-io", "tokio-reactor", - "tokio-sync 0.1.8", + "tokio-sync", "tokio-tcp", "tokio-threadpool", "tokio-timer", @@ -9236,7 +9229,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1de0e32a83f131e002238d7ccde18211c0a5397f60cbfffcb112868c2e0e20e" dependencies = [ "futures 0.1.30", - "tokio-executor 0.1.10", + "tokio-executor", ] [[package]] @@ -9249,17 +9242,6 @@ dependencies = [ "futures 0.1.30", ] -[[package]] -name = "tokio-executor" -version = "0.2.0-alpha.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ee9ceecf69145923834ea73f32ba40c790fd877b74a7817dd0b089f1eb9c7c8" -dependencies = [ - "futures-util-preview", - "lazy_static", - "tokio-sync 0.2.0-alpha.6", -] - [[package]] name = "tokio-fs" version = "0.1.7" @@ -9320,9 +9302,9 @@ dependencies = [ "num_cpus", "parking_lot 0.9.0", "slab", - "tokio-executor 0.1.10", + "tokio-executor", "tokio-io", - "tokio-sync 0.1.8", + "tokio-sync", ] [[package]] @@ -9356,17 +9338,6 @@ dependencies = [ "futures 0.1.30", ] -[[package]] -name = "tokio-sync" -version = "0.2.0-alpha.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f1aaeb685540f7407ea0e27f1c9757d258c7c6bf4e3eb19da6fc59b747239d2" -dependencies = [ - "fnv", - "futures-core-preview", - "futures-util-preview", -] - [[package]] name = "tokio-tcp" version = "0.1.4" @@ -9395,7 +9366,7 @@ dependencies = [ "log", "num_cpus", "slab", - "tokio-executor 0.1.10", + "tokio-executor", ] [[package]] @@ -9407,7 +9378,7 @@ dependencies = [ "crossbeam-utils 0.7.2", "futures 0.1.30", "slab", - "tokio-executor 0.1.10", + "tokio-executor", ] [[package]] diff --git a/polkadot/node/network/bridge/Cargo.toml b/polkadot/node/network/bridge/Cargo.toml index 72aba4323d..3e89edae2b 100644 --- a/polkadot/node/network/bridge/Cargo.toml +++ b/polkadot/node/network/bridge/Cargo.toml @@ -12,7 +12,6 @@ polkadot-primitives = { path = "../../../primitives" } parity-scale-codec = { version = "1.3.5", default-features = false, features = ["derive"] } sc-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" } polkadot-node-network-protocol = { path = "../protocol" } diff --git a/polkadot/node/network/bridge/src/lib.rs b/polkadot/node/network/bridge/src/lib.rs index 9ce841f083..1ea5f47b78 100644 --- a/polkadot/node/network/bridge/src/lib.rs +++ b/polkadot/node/network/bridge/src/lib.rs @@ -27,7 +27,6 @@ use futures::stream::BoxStream; use futures::channel::{mpsc, oneshot}; use sc_network::Event as NetworkEvent; -use sp_runtime::ConsensusEngineId; use polkadot_subsystem::{ ActiveLeavesUpdate, FromOverseer, OverseerSignal, Subsystem, SubsystemContext, SpawnedSubsystem, SubsystemError, @@ -56,12 +55,8 @@ mod validator_discovery; /// We use the same limit to compute the view sent to peers locally. const MAX_VIEW_HEADS: usize = 5; -/// The engine ID of the validation protocol. -pub const VALIDATION_PROTOCOL_ID: ConsensusEngineId = *b"pvn1"; /// The protocol name for the validation peer-set. pub const VALIDATION_PROTOCOL_NAME: &'static str = "/polkadot/validation/1"; -/// The engine ID of the collation protocol. -pub const COLLATION_PROTOCOL_ID: ConsensusEngineId = *b"pcn1"; /// The protocol name for the collation peer-set. pub const COLLATION_PROTOCOL_NAME: &'static str = "/polkadot/collation/1"; @@ -88,10 +83,10 @@ pub enum WireMessage { /// Information about the notifications protocol. Should be used during network configuration /// or shortly after startup to register the protocol with the network service. -pub fn notifications_protocol_info() -> Vec<(ConsensusEngineId, std::borrow::Cow<'static, str>)> { +pub fn notifications_protocol_info() -> Vec> { vec![ - (VALIDATION_PROTOCOL_ID, VALIDATION_PROTOCOL_NAME.into()), - (COLLATION_PROTOCOL_ID, COLLATION_PROTOCOL_NAME.into()), + VALIDATION_PROTOCOL_NAME.into(), + COLLATION_PROTOCOL_NAME.into(), ] } @@ -108,8 +103,8 @@ pub enum NetworkAction { pub trait Network: Send + 'static { /// Get a stream of all events occurring on the network. This may include events unrelated /// to the Polkadot protocol - the user of this function should filter only for events related - /// to the [`VALIDATION_PROTOCOL_ID`](VALIDATION_PROTOCOL_ID) - /// or [`COLLATION_PROTOCOL_ID`](COLLATION_PROTOCOL_ID) + /// to the [`VALIDATION_PROTOCOL_NAME`](VALIDATION_PROTOCOL_NAME) + /// or [`COLLATION_PROTOCOL_NAME`](COLLATION_PROTOCOL_NAME) fn event_stream(&mut self) -> BoxStream<'static, NetworkEvent>; /// Get access to an underlying sink for all network actions. @@ -166,12 +161,12 @@ impl Network for Arc> { match peer_set { PeerSet::Validation => self.0.write_notification( peer, - VALIDATION_PROTOCOL_ID, + VALIDATION_PROTOCOL_NAME.into(), message, ), PeerSet::Collation => self.0.write_notification( peer, - COLLATION_PROTOCOL_ID, + COLLATION_PROTOCOL_NAME.into(), message, ), } @@ -304,28 +299,28 @@ fn action_from_network_message(event: Option) -> Action { Action::Abort } Some(NetworkEvent::Dht(_)) => Action::Nop, - Some(NetworkEvent::NotificationStreamOpened { remote, engine_id, role }) => { + Some(NetworkEvent::NotificationStreamOpened { remote, protocol, role }) => { let role = role.into(); - match engine_id { - x if x == VALIDATION_PROTOCOL_ID + match protocol { + x if x == VALIDATION_PROTOCOL_NAME => Action::PeerConnected(PeerSet::Validation, remote, role), - x if x == COLLATION_PROTOCOL_ID + x if x == COLLATION_PROTOCOL_NAME => Action::PeerConnected(PeerSet::Collation, remote, role), _ => Action::Nop, } } - Some(NetworkEvent::NotificationStreamClosed { remote, engine_id }) => { - match engine_id { - x if x == VALIDATION_PROTOCOL_ID + Some(NetworkEvent::NotificationStreamClosed { remote, protocol }) => { + match protocol { + x if x == VALIDATION_PROTOCOL_NAME => Action::PeerDisconnected(PeerSet::Validation, remote), - x if x == COLLATION_PROTOCOL_ID + x if x == COLLATION_PROTOCOL_NAME => Action::PeerDisconnected(PeerSet::Collation, remote), _ => Action::Nop, } } Some(NetworkEvent::NotificationsReceived { remote, messages }) => { let v_messages: Result, _> = messages.iter() - .filter(|(engine_id, _)| engine_id == &VALIDATION_PROTOCOL_ID) + .filter(|(protocol, _)| protocol == &VALIDATION_PROTOCOL_NAME) .map(|(_, msg_bytes)| WireMessage::decode(&mut msg_bytes.as_ref())) .collect(); @@ -335,7 +330,7 @@ fn action_from_network_message(event: Option) -> Action { }; let c_messages: Result, _> = messages.iter() - .filter(|(engine_id, _)| engine_id == &COLLATION_PROTOCOL_ID) + .filter(|(protocol, _)| protocol == &COLLATION_PROTOCOL_NAME) .map(|(_, msg_bytes)| WireMessage::decode(&mut msg_bytes.as_ref())) .collect(); @@ -827,10 +822,10 @@ mod tests { ) } - fn peer_set_engine_id(peer_set: PeerSet) -> ConsensusEngineId { + fn peer_set_protocol(peer_set: PeerSet) -> std::borrow::Cow<'static, str> { match peer_set { - PeerSet::Validation => VALIDATION_PROTOCOL_ID, - PeerSet::Collation => COLLATION_PROTOCOL_ID, + PeerSet::Validation => VALIDATION_PROTOCOL_NAME.into(), + PeerSet::Collation => COLLATION_PROTOCOL_NAME.into(), } } @@ -890,7 +885,7 @@ mod tests { async fn connect_peer(&mut self, peer: PeerId, peer_set: PeerSet, role: ObservedRole) { self.send_network_event(NetworkEvent::NotificationStreamOpened { remote: peer, - engine_id: peer_set_engine_id(peer_set), + protocol: peer_set_protocol(peer_set), role: role.into(), }).await; } @@ -898,14 +893,14 @@ mod tests { async fn disconnect_peer(&mut self, peer: PeerId, peer_set: PeerSet) { self.send_network_event(NetworkEvent::NotificationStreamClosed { remote: peer, - engine_id: peer_set_engine_id(peer_set), + protocol: peer_set_protocol(peer_set), }).await; } async fn peer_message(&mut self, peer: PeerId, peer_set: PeerSet, message: Vec) { self.send_network_event(NetworkEvent::NotificationsReceived { remote: peer, - messages: vec![(peer_set_engine_id(peer_set), message.into())], + messages: vec![(peer_set_protocol(peer_set), message.into())], }).await; }