diff --git a/Cargo.lock b/Cargo.lock index c9f9d68f220..6504f768c2f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -25,6 +25,61 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5d2e7343e7fc9de883d1b0341e0b13970f764c14101234857d2ddafa1cb1cac2" +[[package]] +name = "aead" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cf01b9b56e767bb57b94ebf91a58b338002963785cdd7013e21c0d4679471e4" +dependencies = [ + "generic-array", +] + +[[package]] +name = "aes" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54eb1d8fe354e5fc611daf4f2ea97dd45a765f4f1e4512306ec183ae2e8f20c9" +dependencies = [ + "aes-soft", + "aesni", + "block-cipher-trait", +] + +[[package]] +name = "aes-gcm" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "834a6bda386024dbb7c8fc51322856c10ffe69559f972261c868485f5759c638" +dependencies = [ + "aead", + "aes", + "block-cipher-trait", + "ghash", + "subtle 2.2.3", + "zeroize", +] + +[[package]] +name = "aes-soft" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfd7e7ae3f9a1fb5c03b389fc6bb9a51400d0c13053f0dca698c832bfd893a0d" +dependencies = [ + "block-cipher-trait", + "byteorder", + "opaque-debug", +] + +[[package]] +name = "aesni" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f70a6b5f971e473091ab7cfb5ffac6cde81666c4556751d8d5620ead8abf100" +dependencies = [ + "block-cipher-trait", + "opaque-debug", +] + [[package]] name = "ahash" version = "0.2.18" @@ -405,6 +460,15 @@ dependencies = [ "generic-array", ] +[[package]] +name = "block-cipher-trait" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c924d49bd09e7c06003acda26cd9742e796e34282ec6c1189404dee0c1f4774" +dependencies = [ + "generic-array", +] + [[package]] name = "block-padding" version = "0.1.5" @@ -515,12 +579,26 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" [[package]] -name = "chacha20-poly1305-aead" -version = "0.1.2" +name = "chacha20" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77d2058ba29594f69c75e8a9018e0485e3914ca5084e3613cd64529042f5423b" +checksum = "f6a7ae4c498f8447d86baef0fa0831909333f558866fabcb21600625ac5a31c7" dependencies = [ - "constant_time_eq", + "stream-cipher", + "zeroize", +] + +[[package]] +name = "chacha20poly1305" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48901293601228db2131606f741db33561f7576b5d19c99cd66222380a7dc863" +dependencies = [ + "aead", + "chacha20", + "poly1305", + "stream-cipher", + "zeroize", ] [[package]] @@ -1012,6 +1090,7 @@ dependencies = [ "sc-consensus", "sc-executor", "sc-finality-grandpa", + "sc-informant", "sc-network", "sc-service", "sc-transaction-pool", @@ -1455,16 +1534,16 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "parity-scale-codec", ] [[package]] name = "frame-benchmarking" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-support", "frame-system", @@ -1480,8 +1559,8 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-benchmarking", "parity-scale-codec", @@ -1498,8 +1577,8 @@ dependencies = [ [[package]] name = "frame-executive" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-support", "frame-system", @@ -1513,8 +1592,8 @@ dependencies = [ [[package]] name = "frame-metadata" -version = "11.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "11.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "parity-scale-codec", "serde", @@ -1524,8 +1603,8 @@ dependencies = [ [[package]] name = "frame-support" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "bitmask", "frame-metadata", @@ -1549,8 +1628,8 @@ dependencies = [ [[package]] name = "frame-support-procedural" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-support-procedural-tools", "proc-macro2 1.0.18", @@ -1560,8 +1639,8 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -1572,8 +1651,8 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "proc-macro2 1.0.18", "quote 1.0.7", @@ -1582,8 +1661,8 @@ dependencies = [ [[package]] name = "frame-system" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -1598,8 +1677,8 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "parity-scale-codec", "sp-api", @@ -1819,6 +1898,18 @@ dependencies = [ "pin-project", ] +[[package]] +name = "futures_codec" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce54d63f8b0c75023ed920d46fd71d0cbbb830b0ee012726b5b4f506fb6dea5b" +dependencies = [ + "bytes 0.5.4", + "futures 0.3.5", + "memchr", + "pin-project", +] + [[package]] name = "gcc" version = "0.3.55" @@ -1867,6 +1958,15 @@ dependencies = [ "wasi", ] +[[package]] +name = "ghash" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f0930ed19a7184089ea46d2fedead2f6dc2b674c5db4276b7da336c7cd83252" +dependencies = [ + "polyval", +] + [[package]] name = "gimli" version = "0.20.0" @@ -2397,6 +2497,20 @@ dependencies = [ "unicase", ] +[[package]] +name = "jsonrpc-ipc-server" +version = "14.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dedccd693325d833963b549e959137f30a7a0ea650cde92feda81dc0c1393cb5" +dependencies = [ + "jsonrpc-core", + "jsonrpc-server-utils", + "log 0.4.8", + "parity-tokio-ipc", + "parking_lot 0.10.2", + "tokio-service", +] + [[package]] name = "jsonrpc-pubsub" version = "14.2.0" @@ -2465,7 +2579,7 @@ dependencies = [ "serde", "serde_json", "smallvec 1.4.0", - "soketto", + "soketto 0.3.2", "thiserror", "tokio 0.2.21", "unicase", @@ -2503,8 +2617,8 @@ dependencies = [ [[package]] name = "kusama-runtime" -version = "0.8.8" -source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#91f3e68f5750dff7bddedeb846ff55447e8cf8f8" +version = "0.8.13" +source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#81067b709e578da8ed835ec308bfd3555ecb3d57" dependencies = [ "bitvec", "frame-executive", @@ -2675,9 +2789,9 @@ checksum = "c7d73b3f436185384286bd8098d17ec07c9a7d2388a6599f824d8502b529702a" [[package]] name = "libp2p" -version = "0.19.1" +version = "0.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "057eba5432d3e740e313c6e13c9153d0cb76b4f71bfc2e5242ae5bdb7d41af67" +checksum = "db81113df355dea9dddfcb01cd867555298dca29d915f25d1b1a0aad2e29338b" dependencies = [ "bytes 0.5.4", "futures 0.3.5", @@ -2697,7 +2811,7 @@ dependencies = [ "libp2p-websocket", "libp2p-yamux", "multihash", - "parity-multiaddr 0.9.0", + "parity-multiaddr 0.9.1", "parking_lot 0.10.2", "pin-project", "smallvec 1.4.0", @@ -2706,9 +2820,9 @@ dependencies = [ [[package]] name = "libp2p-core" -version = "0.19.1" +version = "0.19.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f5e30dcd8cb13a02ad534e214da234eca1595a76b5788b645dfa5c734d2124b" +checksum = "3a0387b930c3d4c2533dc4893c1e0394185ddcc019846121b1b27491e45a2c08" dependencies = [ "asn1_der", "bs58", @@ -2722,7 +2836,7 @@ dependencies = [ "log 0.4.8", "multihash", "multistream-select", - "parity-multiaddr 0.9.0", + "parity-multiaddr 0.9.1", "parking_lot 0.10.2", "pin-project", "prost", @@ -2733,7 +2847,7 @@ dependencies = [ "sha2", "smallvec 1.4.0", "thiserror", - "unsigned-varint", + "unsigned-varint 0.4.0", "void", "zeroize", ] @@ -2761,9 +2875,9 @@ dependencies = [ [[package]] name = "libp2p-identify" -version = "0.19.1" +version = "0.19.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6438ed8ca240c7635c9caa3be6c5258bc0058553ae97ba81737f04e5d33804f5" +checksum = "62f76075b170d908bae616f550ade410d9d27c013fa69042551dbfc757c7c094" dependencies = [ "futures 0.3.5", "libp2p-core", @@ -2777,16 +2891,16 @@ dependencies = [ [[package]] name = "libp2p-kad" -version = "0.19.0" +version = "0.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41d6c1d5100973527ae70d82687465b17049c1b717a7964de38b8e65000878ff" +checksum = "f7c819a5425b2eb3416d67e9c868c5c1e922b6658655e06b9eeafaa41304b876" dependencies = [ "arrayvec 0.5.1", "bytes 0.5.4", "either", "fnv", "futures 0.3.5", - "futures_codec", + "futures_codec 0.4.1", "libp2p-core", "libp2p-swarm", "log 0.4.8", @@ -2797,16 +2911,16 @@ dependencies = [ "sha2", "smallvec 1.4.0", "uint", - "unsigned-varint", + "unsigned-varint 0.4.0", "void", "wasm-timer", ] [[package]] name = "libp2p-mdns" -version = "0.19.1" +version = "0.19.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51b00163d13f705aae67c427bea0575f8aaf63da6524f9bd4a5a093b8bda0b38" +checksum = "7f55b2d4b80986e5bf158270ab23268ec0e7f644ece5436fbaabc5155472f357" dependencies = [ "async-std", "data-encoding", @@ -2826,25 +2940,25 @@ dependencies = [ [[package]] name = "libp2p-mplex" -version = "0.19.1" +version = "0.19.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34ce63313ad4bce2d76e54c292a1293ea47a0ebbe16708f1513fa62184992f53" +checksum = "be7d913a4cd57de2013257ec73f07d77bfce390b370023e2d59083e5ca079864" dependencies = [ "bytes 0.5.4", "fnv", "futures 0.3.5", - "futures_codec", + "futures_codec 0.4.1", "libp2p-core", "log 0.4.8", "parking_lot 0.10.2", - "unsigned-varint", + "unsigned-varint 0.4.0", ] [[package]] name = "libp2p-noise" -version = "0.19.0" +version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84fd504e27b0eadd451e06b67694ef714bd8374044e7db339bb0cdb83755ddf4" +checksum = "a03db664653369f46ee03fcec483a378c20195089bb43a26cb9fb0058009ac88" dependencies = [ "curve25519-dalek", "futures 0.3.5", @@ -2863,9 +2977,9 @@ dependencies = [ [[package]] name = "libp2p-ping" -version = "0.19.1" +version = "0.19.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c189cf1dfe4b3f01e2c0fe5e97a6f5df8aeb6f3569e26981015eb7c08015ce5f" +checksum = "b8dedd34e35a9728d52d59ef36a218e411359a353f9011b2574b86ee790978f6" dependencies = [ "futures 0.3.5", "libp2p-core", @@ -2878,9 +2992,9 @@ dependencies = [ [[package]] name = "libp2p-swarm" -version = "0.19.0" +version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4a8101a0e0d5f04562137a476bf5f5423cd5bdab2f7e43a75909668e63cb102" +checksum = "ce53ff4d127cf8b39adf84dbd381ca32d49bd85788cee08e6669da2495993930" dependencies = [ "futures 0.3.5", "libp2p-core", @@ -2893,9 +3007,9 @@ dependencies = [ [[package]] name = "libp2p-tcp" -version = "0.19.1" +version = "0.19.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "309f95fce9bec755eff5406f8b822fd3969990830c2b54f752e1fc181d5ace3e" +checksum = "9481500c5774c62e8c413e9535b3f33a0e3dbacf2da63b8d3056c686a9df4146" dependencies = [ "async-std", "futures 0.3.5", @@ -2923,12 +3037,11 @@ dependencies = [ [[package]] name = "libp2p-websocket" -version = "0.19.0" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "085fbe4c05c4116c2164ab4d5a521eb6e00516c444f61b3ee9f68c7b1e53580b" +checksum = "7e4440551bf6519e0a684cd859ea809aec6d798f686e0d6ed03a28c3e76849b8" dependencies = [ "async-tls 0.7.0", - "bytes 0.5.4", "either", "futures 0.3.5", "libp2p-core", @@ -2936,7 +3049,7 @@ dependencies = [ "quicksink", "rustls 0.17.0", "rw-stream-sink", - "soketto", + "soketto 0.4.1", "url 2.1.1", "webpki", "webpki-roots 0.18.0", @@ -2944,9 +3057,9 @@ dependencies = [ [[package]] name = "libp2p-yamux" -version = "0.19.0" +version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b305d3a8981e68f11c0e17f2d11d5c52fae95e0d7c283f9e462b5b2dab413b2" +checksum = "8da33e7b5f49c75c6a8afb0b8d1e229f5fa48be9f39bd14cdbc21459a02ac6fc" dependencies = [ "futures 0.3.5", "libp2p-core", @@ -3147,9 +3260,9 @@ dependencies = [ [[package]] name = "memory-db" -version = "0.20.1" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be512cb2ccb4ecbdca937fdd4a62ea5f09f8e7195466a85e4632b3d5bcce82e6" +checksum = "fb2999ff7a65d5a1d72172f6d51fa2ea03024b51aee709ba5ff81c3c629a2410" dependencies = [ "ahash 0.2.18", "hash-db", @@ -3206,7 +3319,7 @@ dependencies = [ "kernel32-sys", "libc", "log 0.4.8", - "miow", + "miow 0.2.1", "net2", "slab", "winapi 0.2.8", @@ -3224,6 +3337,18 @@ dependencies = [ "slab", ] +[[package]] +name = "mio-named-pipes" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0840c1c50fd55e521b247f949c241c9997709f23bd7f023b9762cd561e935656" +dependencies = [ + "log 0.4.8", + "mio", + "miow 0.3.5", + "winapi 0.3.8", +] + [[package]] name = "mio-uds" version = "0.6.8" @@ -3247,6 +3372,16 @@ dependencies = [ "ws2_32-sys", ] +[[package]] +name = "miow" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07b88fb9795d4d36d62a012dfbf49a8f5cf12751f36d31a9dbe66d528e58979e" +dependencies = [ + "socket2", + "winapi 0.3.8", +] + [[package]] name = "more-asserts" version = "0.2.1" @@ -3265,7 +3400,7 @@ dependencies = [ "sha-1", "sha2", "sha3", - "unsigned-varint", + "unsigned-varint 0.3.3", ] [[package]] @@ -3276,16 +3411,16 @@ checksum = "d8883adfde9756c1d30b0f519c9b8c502a94b41ac62f696453c37c7fc0a958ce" [[package]] name = "multistream-select" -version = "0.8.1" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "991c33683908c588b8f2cf66c221d8f390818c1bdcd13fce55208408e027a796" +checksum = "c9157e87afbc2ef0d84cc0345423d715f445edde00141c93721c162de35a05e5" dependencies = [ "bytes 0.5.4", "futures 0.3.5", "log 0.4.8", "pin-project", "smallvec 1.4.0", - "unsigned-varint", + "unsigned-varint 0.4.0", ] [[package]] @@ -3516,8 +3651,8 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-support", "frame-system", @@ -3532,8 +3667,8 @@ dependencies = [ [[package]] name = "pallet-authorship" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-support", "frame-system", @@ -3547,8 +3682,8 @@ dependencies = [ [[package]] name = "pallet-babe" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-support", "frame-system", @@ -3569,8 +3704,8 @@ dependencies = [ [[package]] name = "pallet-balances" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-benchmarking", "frame-support", @@ -3583,8 +3718,8 @@ dependencies = [ [[package]] name = "pallet-collective" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-support", "frame-system", @@ -3598,8 +3733,8 @@ dependencies = [ [[package]] name = "pallet-democracy" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-benchmarking", "frame-support", @@ -3613,8 +3748,8 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-support", "frame-system", @@ -3627,8 +3762,8 @@ dependencies = [ [[package]] name = "pallet-finality-tracker" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-support", "frame-system", @@ -3643,8 +3778,8 @@ dependencies = [ [[package]] name = "pallet-grandpa" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-support", "frame-system", @@ -3663,8 +3798,8 @@ dependencies = [ [[package]] name = "pallet-identity" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "enumflags2", "frame-benchmarking", @@ -3679,8 +3814,8 @@ dependencies = [ [[package]] name = "pallet-im-online" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-support", "frame-system", @@ -3698,8 +3833,8 @@ dependencies = [ [[package]] name = "pallet-indices" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-support", "frame-system", @@ -3714,8 +3849,8 @@ dependencies = [ [[package]] name = "pallet-membership" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-support", "frame-system", @@ -3728,8 +3863,8 @@ dependencies = [ [[package]] name = "pallet-multisig" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-support", "frame-system", @@ -3743,8 +3878,8 @@ dependencies = [ [[package]] name = "pallet-nicks" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-support", "frame-system", @@ -3757,8 +3892,8 @@ dependencies = [ [[package]] name = "pallet-offences" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-support", "frame-system", @@ -3772,8 +3907,8 @@ dependencies = [ [[package]] name = "pallet-proxy" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-support", "frame-system", @@ -3787,8 +3922,8 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-support", "frame-system", @@ -3800,8 +3935,8 @@ dependencies = [ [[package]] name = "pallet-recovery" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "enumflags2", "frame-support", @@ -3815,8 +3950,8 @@ dependencies = [ [[package]] name = "pallet-scheduler" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-benchmarking", "frame-support", @@ -3830,8 +3965,8 @@ dependencies = [ [[package]] name = "pallet-session" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-support", "frame-system", @@ -3839,6 +3974,8 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "serde", + "sp-core", + "sp-io", "sp-runtime", "sp-session", "sp-staking", @@ -3848,8 +3985,8 @@ dependencies = [ [[package]] name = "pallet-society" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-support", "frame-system", @@ -3862,8 +3999,8 @@ dependencies = [ [[package]] name = "pallet-staking" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-support", "frame-system", @@ -3882,8 +4019,8 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.18", @@ -3893,8 +4030,8 @@ dependencies = [ [[package]] name = "pallet-sudo" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-support", "frame-system", @@ -3907,8 +4044,8 @@ dependencies = [ [[package]] name = "pallet-timestamp" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-benchmarking", "frame-support", @@ -3924,13 +4061,14 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-support", "frame-system", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", + "serde", "smallvec 1.4.0", "sp-runtime", "sp-std", @@ -3938,8 +4076,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -3956,8 +4094,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-support", "parity-scale-codec", @@ -3969,8 +4107,8 @@ dependencies = [ [[package]] name = "pallet-treasury" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-support", "frame-system", @@ -3983,8 +4121,8 @@ dependencies = [ [[package]] name = "pallet-utility" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-support", "frame-system", @@ -3998,8 +4136,8 @@ dependencies = [ [[package]] name = "pallet-vesting" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "enumflags2", "frame-support", @@ -4038,15 +4176,15 @@ dependencies = [ "percent-encoding 2.1.0", "serde", "static_assertions", - "unsigned-varint", + "unsigned-varint 0.3.3", "url 2.1.1", ] [[package]] name = "parity-multiaddr" -version = "0.9.0" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12ca96399f4a01aa89c59220c4f52ac371940eb4e53e3ce990da796f364bdf69" +checksum = "cc20af3143a62c16e7c9e92ea5c6ae49f7d271d97d4d8fe73afc28f0514a3d0f" dependencies = [ "arrayref", "bs58", @@ -4056,7 +4194,7 @@ dependencies = [ "percent-encoding 2.1.0", "serde", "static_assertions", - "unsigned-varint", + "unsigned-varint 0.4.0", "url 2.1.1", ] @@ -4072,14 +4210,14 @@ dependencies = [ "sha-1", "sha2", "sha3", - "unsigned-varint", + "unsigned-varint 0.3.3", ] [[package]] name = "parity-scale-codec" -version = "1.3.0" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "329c8f7f4244ddb5c37c103641027a76c530e65e8e4b8240b29f81ea40508b17" +checksum = "a74f02beb35d47e0706155c9eac554b50c671e0d868fe8296bcdf44a9a4847bf" dependencies = [ "arrayvec 0.5.1", "bitvec", @@ -4106,6 +4244,25 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aa9777aa91b8ad9dd5aaa04a9b6bcb02c7f1deb952fca5a66034d5e63afc5c6f" +[[package]] +name = "parity-tokio-ipc" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e57fea504fea33f9fbb5f49f378359030e7e026a6ab849bb9e8f0787376f1bf" +dependencies = [ + "bytes 0.4.12", + "futures 0.1.29", + "libc", + "log 0.4.8", + "mio-named-pipes", + "miow 0.3.5", + "rand 0.7.3", + "tokio 0.1.22", + "tokio-named-pipes", + "tokio-uds", + "winapi 0.3.8", +] + [[package]] name = "parity-util-mem" version = "0.3.0" @@ -4340,8 +4497,8 @@ checksum = "feb3b2b1033b8a60b4da6ee470325f887758c95d5320f52f9ce0df055a55940e" [[package]] name = "polkadot-availability-store" -version = "0.8.8" -source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#91f3e68f5750dff7bddedeb846ff55447e8cf8f8" +version = "0.8.13" +source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#81067b709e578da8ed835ec308bfd3555ecb3d57" dependencies = [ "derive_more 0.99.7", "exit-future 0.2.0", @@ -4367,8 +4524,8 @@ dependencies = [ [[package]] name = "polkadot-cli" -version = "0.8.8" -source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#91f3e68f5750dff7bddedeb846ff55447e8cf8f8" +version = "0.8.13" +source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#81067b709e578da8ed835ec308bfd3555ecb3d57" dependencies = [ "frame-benchmarking-cli", "futures 0.3.5", @@ -4389,8 +4546,8 @@ dependencies = [ [[package]] name = "polkadot-collator" -version = "0.8.8" -source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#91f3e68f5750dff7bddedeb846ff55447e8cf8f8" +version = "0.8.13" +source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#81067b709e578da8ed835ec308bfd3555ecb3d57" dependencies = [ "futures 0.3.5", "futures-timer 2.0.2", @@ -4417,7 +4574,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "0.7.30" -source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#91f3e68f5750dff7bddedeb846ff55447e8cf8f8" +source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#81067b709e578da8ed835ec308bfd3555ecb3d57" dependencies = [ "parity-scale-codec", "sp-core", @@ -4427,8 +4584,8 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" -version = "0.8.8" -source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#91f3e68f5750dff7bddedeb846ff55447e8cf8f8" +version = "0.8.13" +source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#81067b709e578da8ed835ec308bfd3555ecb3d57" dependencies = [ "derive_more 0.15.0", "parity-scale-codec", @@ -4440,8 +4597,8 @@ dependencies = [ [[package]] name = "polkadot-network" -version = "0.8.8" -source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#91f3e68f5750dff7bddedeb846ff55447e8cf8f8" +version = "0.8.13" +source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#81067b709e578da8ed835ec308bfd3555ecb3d57" dependencies = [ "arrayvec 0.4.12", "bytes 0.5.4", @@ -4467,8 +4624,8 @@ dependencies = [ [[package]] name = "polkadot-parachain" -version = "0.8.8" -source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#91f3e68f5750dff7bddedeb846ff55447e8cf8f8" +version = "0.8.13" +source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#81067b709e578da8ed835ec308bfd3555ecb3d57" dependencies = [ "derive_more 0.99.7", "log 0.4.8", @@ -4487,8 +4644,8 @@ dependencies = [ [[package]] name = "polkadot-primitives" -version = "0.8.8" -source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#91f3e68f5750dff7bddedeb846ff55447e8cf8f8" +version = "0.8.13" +source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#81067b709e578da8ed835ec308bfd3555ecb3d57" dependencies = [ "bitvec", "frame-system", @@ -4509,8 +4666,8 @@ dependencies = [ [[package]] name = "polkadot-rpc" -version = "0.8.8" -source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#91f3e68f5750dff7bddedeb846ff55447e8cf8f8" +version = "0.8.13" +source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#81067b709e578da8ed835ec308bfd3555ecb3d57" dependencies = [ "jsonrpc-core", "pallet-transaction-payment-rpc", @@ -4525,6 +4682,7 @@ dependencies = [ "sc-keystore", "sc-rpc", "sp-api", + "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", @@ -4535,8 +4693,8 @@ dependencies = [ [[package]] name = "polkadot-runtime" -version = "0.8.8" -source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#91f3e68f5750dff7bddedeb846ff55447e8cf8f8" +version = "0.8.13" +source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#81067b709e578da8ed835ec308bfd3555ecb3d57" dependencies = [ "bitvec", "frame-executive", @@ -4599,8 +4757,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "0.8.8" -source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#91f3e68f5750dff7bddedeb846ff55447e8cf8f8" +version = "0.8.13" +source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#81067b709e578da8ed835ec308bfd3555ecb3d57" dependencies = [ "bitvec", "frame-support", @@ -4612,6 +4770,7 @@ dependencies = [ "pallet-session", "pallet-staking", "pallet-timestamp", + "pallet-transaction-payment", "pallet-vesting", "parity-scale-codec", "polkadot-primitives", @@ -4631,8 +4790,8 @@ dependencies = [ [[package]] name = "polkadot-service" -version = "0.8.8" -source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#91f3e68f5750dff7bddedeb846ff55447e8cf8f8" +version = "0.8.13" +source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#81067b709e578da8ed835ec308bfd3555ecb3d57" dependencies = [ "frame-benchmarking", "frame-system-rpc-runtime-api", @@ -4689,8 +4848,8 @@ dependencies = [ [[package]] name = "polkadot-statement-table" -version = "0.8.8" -source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#91f3e68f5750dff7bddedeb846ff55447e8cf8f8" +version = "0.8.13" +source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#81067b709e578da8ed835ec308bfd3555ecb3d57" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -4699,8 +4858,8 @@ dependencies = [ [[package]] name = "polkadot-test-runtime" -version = "0.8.8" -source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#91f3e68f5750dff7bddedeb846ff55447e8cf8f8" +version = "0.8.13" +source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#81067b709e578da8ed835ec308bfd3555ecb3d57" dependencies = [ "bitvec", "frame-executive", @@ -4750,7 +4909,7 @@ dependencies = [ [[package]] name = "polkadot-test-runtime-client" version = "2.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#91f3e68f5750dff7bddedeb846ff55447e8cf8f8" +source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#81067b709e578da8ed835ec308bfd3555ecb3d57" dependencies = [ "futures 0.3.5", "pallet-timestamp", @@ -4772,8 +4931,8 @@ dependencies = [ [[package]] name = "polkadot-validation" -version = "0.8.8" -source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#91f3e68f5750dff7bddedeb846ff55447e8cf8f8" +version = "0.8.13" +source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#81067b709e578da8ed835ec308bfd3555ecb3d57" dependencies = [ "bitvec", "derive_more 0.14.1", @@ -4808,6 +4967,25 @@ dependencies = [ "tokio 0.2.21", ] +[[package]] +name = "poly1305" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5829f50f48e9ddb79f3f7c3097029d0caee30f8286accb241416df603b080b8" +dependencies = [ + "universal-hash", +] + +[[package]] +name = "polyval" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ec3341498978de3bfd12d1b22f1af1de22818f5473a11e8a6ef997989e3a212" +dependencies = [ + "cfg-if", + "universal-hash", +] + [[package]] name = "ppv-lite86" version = "0.2.8" @@ -5389,6 +5567,27 @@ dependencies = [ "winapi 0.3.8", ] +[[package]] +name = "rental" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8545debe98b2b139fb04cad8618b530e9b07c152d99a5de83c860b877d67847f" +dependencies = [ + "rental-impl", + "stable_deref_trait", +] + +[[package]] +name = "rental-impl" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "475e68978dc5b743f2f40d8e0a8fdc83f1c5e78cbf4b8fa5e74e73beebc340de" +dependencies = [ + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", +] + [[package]] name = "ring" version = "0.16.14" @@ -5541,8 +5740,8 @@ dependencies = [ [[package]] name = "sc-authority-discovery" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "bytes 0.5.4", "derive_more 0.99.7", @@ -5568,8 +5767,8 @@ dependencies = [ [[package]] name = "sc-basic-authorship" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -5592,8 +5791,8 @@ dependencies = [ [[package]] name = "sc-block-builder" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -5608,8 +5807,8 @@ dependencies = [ [[package]] name = "sc-chain-spec" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "impl-trait-for-tuples", "sc-chain-spec-derive", @@ -5624,8 +5823,8 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.18", @@ -5635,8 +5834,8 @@ dependencies = [ [[package]] name = "sc-cli" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "ansi_term 0.12.1", "atty", @@ -5675,8 +5874,8 @@ dependencies = [ [[package]] name = "sc-client-api" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "derive_more 0.99.7", "fnv", @@ -5711,8 +5910,8 @@ dependencies = [ [[package]] name = "sc-client-db" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "blake2-rfc", "hash-db", @@ -5740,8 +5939,8 @@ dependencies = [ [[package]] name = "sc-consensus" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "sc-client-api", "sp-blockchain", @@ -5751,8 +5950,8 @@ dependencies = [ [[package]] name = "sc-consensus-babe" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "derive_more 0.99.7", "fork-tree", @@ -5793,8 +5992,8 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "derive_more 0.99.7", "futures 0.3.5", @@ -5807,6 +6006,7 @@ dependencies = [ "sc-rpc-api", "serde", "sp-api", + "sp-application-crypto", "sp-blockchain", "sp-consensus", "sp-consensus-babe", @@ -5816,8 +6016,8 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "fork-tree", "parity-scale-codec", @@ -5829,8 +6029,8 @@ dependencies = [ [[package]] name = "sc-consensus-slots" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -5851,8 +6051,8 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "log 0.4.8", "sc-client-api", @@ -5865,8 +6065,8 @@ dependencies = [ [[package]] name = "sc-executor" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "derive_more 0.99.7", "lazy_static", @@ -5893,8 +6093,8 @@ dependencies = [ [[package]] name = "sc-executor-common" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "derive_more 0.99.7", "log 0.4.8", @@ -5910,8 +6110,8 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "log 0.4.8", "parity-scale-codec", @@ -5925,8 +6125,8 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "cranelift-codegen", "cranelift-wasm", @@ -5946,8 +6146,8 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "assert_matches", "derive_more 0.99.7", @@ -5984,8 +6184,8 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "derive_more 0.99.7", "finality-grandpa", @@ -6001,13 +6201,14 @@ dependencies = [ [[package]] name = "sc-informant" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "ansi_term 0.12.1", "futures 0.3.5", "log 0.4.8", "parity-util-mem 0.6.1", + "parking_lot 0.10.2", "sc-client-api", "sc-network", "sp-blockchain", @@ -6019,11 +6220,12 @@ dependencies = [ [[package]] name = "sc-keystore" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "derive_more 0.99.7", "hex", + "merlin", "parking_lot 0.10.2", "rand 0.7.3", "serde_json", @@ -6034,8 +6236,8 @@ dependencies = [ [[package]] name = "sc-light" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "hash-db", "lazy_static", @@ -6053,8 +6255,8 @@ dependencies = [ [[package]] name = "sc-network" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "bitflags", "bs58", @@ -6066,7 +6268,7 @@ dependencies = [ "fork-tree", "futures 0.3.5", "futures-timer 3.0.2", - "futures_codec", + "futures_codec 0.3.4", "hex", "ip_network", "libp2p", @@ -6097,7 +6299,7 @@ dependencies = [ "sp-utils", "substrate-prometheus-endpoint", "thiserror", - "unsigned-varint", + "unsigned-varint 0.3.3", "void", "wasm-timer", "zeroize", @@ -6105,8 +6307,8 @@ dependencies = [ [[package]] name = "sc-network-gossip" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -6120,8 +6322,8 @@ dependencies = [ [[package]] name = "sc-offchain" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "bytes 0.5.4", "fnv", @@ -6147,8 +6349,8 @@ dependencies = [ [[package]] name = "sc-peerset" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "futures 0.3.5", "libp2p", @@ -6160,8 +6362,8 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "log 0.4.8", "substrate-prometheus-endpoint", @@ -6169,8 +6371,8 @@ dependencies = [ [[package]] name = "sc-rpc" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "futures 0.3.5", "hash-db", @@ -6201,8 +6403,8 @@ dependencies = [ [[package]] name = "sc-rpc-api" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "derive_more 0.99.7", "futures 0.3.5", @@ -6225,11 +6427,12 @@ dependencies = [ [[package]] name = "sc-rpc-server" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "jsonrpc-core", "jsonrpc-http-server", + "jsonrpc-ipc-server", "jsonrpc-pubsub", "jsonrpc-ws-server", "log 0.4.8", @@ -6240,8 +6443,8 @@ dependencies = [ [[package]] name = "sc-service" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "derive_more 0.99.7", "directories", @@ -6303,8 +6506,8 @@ dependencies = [ [[package]] name = "sc-state-db" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "log 0.4.8", "parity-scale-codec", @@ -6317,10 +6520,9 @@ dependencies = [ [[package]] name = "sc-telemetry" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ - "bytes 0.5.4", "futures 0.3.5", "futures-timer 3.0.2", "libp2p", @@ -6339,23 +6541,25 @@ dependencies = [ [[package]] name = "sc-tracing" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "erased-serde", "log 0.4.8", "parking_lot 0.10.2", + "rustc-hash", "sc-telemetry", "serde", "serde_json", "slog", + "sp-tracing", "tracing-core", ] [[package]] name = "sc-transaction-graph" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "derive_more 0.99.7", "futures 0.3.5", @@ -6374,8 +6578,8 @@ dependencies = [ [[package]] name = "sc-transaction-pool" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "derive_more 0.99.7", "futures 0.3.5", @@ -6705,13 +6909,13 @@ checksum = "c7cb5678e1615754284ec264d9bb5b4c27d2018577fd90ac0ceb578591ed5ee4" [[package]] name = "snow" -version = "0.6.2" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afb767eee7d257ba202f0b9b08673bc13b22281632ef45267b19f13100accd2f" +checksum = "ce0f91be479494dd92e69d9971bd23ed27037dd1c94fcf558f6c6e74e6afa654" dependencies = [ - "arrayref", - "blake2-rfc", - "chacha20-poly1305-aead", + "aes-gcm", + "blake2", + "chacha20poly1305", "rand 0.7.3", "rand_core 0.5.1", "ring", @@ -6741,7 +6945,6 @@ checksum = "1c9dab3f95c9ebdf3a88268c19af668f637a3c5039c2c56ff2d40b1b2d64a25b" dependencies = [ "base64 0.11.0", "bytes 0.5.4", - "flate2", "futures 0.3.5", "http 0.2.1", "httparse", @@ -6753,10 +6956,26 @@ dependencies = [ "thiserror", ] +[[package]] +name = "soketto" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85457366ae0c6ce56bf05a958aef14cd38513c236568618edbcd9a8c52cb80b0" +dependencies = [ + "base64 0.12.1", + "bytes 0.5.4", + "flate2", + "futures 0.3.5", + "httparse", + "log 0.4.8", + "rand 0.7.3", + "sha-1", +] + [[package]] name = "sp-allocator" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "derive_more 0.99.7", "log 0.4.8", @@ -6767,8 +6986,8 @@ dependencies = [ [[package]] name = "sp-api" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "hash-db", "parity-scale-codec", @@ -6782,8 +7001,8 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "blake2-rfc", "proc-macro-crate", @@ -6794,8 +7013,8 @@ dependencies = [ [[package]] name = "sp-application-crypto" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "parity-scale-codec", "serde", @@ -6806,8 +7025,8 @@ dependencies = [ [[package]] name = "sp-arithmetic" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "integer-sqrt", "num-traits 0.2.12", @@ -6819,8 +7038,8 @@ dependencies = [ [[package]] name = "sp-authority-discovery" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "parity-scale-codec", "sp-api", @@ -6831,8 +7050,8 @@ dependencies = [ [[package]] name = "sp-authorship" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -6842,8 +7061,8 @@ dependencies = [ [[package]] name = "sp-block-builder" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "parity-scale-codec", "sp-api", @@ -6854,8 +7073,8 @@ dependencies = [ [[package]] name = "sp-blockchain" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "derive_more 0.99.7", "log 0.4.8", @@ -6870,8 +7089,8 @@ dependencies = [ [[package]] name = "sp-chain-spec" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "serde", "serde_json", @@ -6879,8 +7098,8 @@ dependencies = [ [[package]] name = "sp-consensus" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "derive_more 0.99.7", "futures 0.3.5", @@ -6898,12 +7117,13 @@ dependencies = [ "sp-utils", "sp-version", "substrate-prometheus-endpoint", + "wasm-timer", ] [[package]] name = "sp-consensus-aura" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "parity-scale-codec", "sp-api", @@ -6916,8 +7136,8 @@ dependencies = [ [[package]] name = "sp-consensus-babe" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "merlin", "parity-scale-codec", @@ -6925,6 +7145,7 @@ dependencies = [ "sp-application-crypto", "sp-consensus", "sp-consensus-vrf", + "sp-core", "sp-inherents", "sp-runtime", "sp-std", @@ -6933,8 +7154,8 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -6945,8 +7166,8 @@ dependencies = [ [[package]] name = "sp-core" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "base58", "blake2-rfc", @@ -6987,8 +7208,8 @@ dependencies = [ [[package]] name = "sp-database" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "kvdb", "parking_lot 0.10.2", @@ -6996,8 +7217,8 @@ dependencies = [ [[package]] name = "sp-debug-derive" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "proc-macro2 1.0.18", "quote 1.0.7", @@ -7006,8 +7227,8 @@ dependencies = [ [[package]] name = "sp-externalities" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "environmental", "parity-scale-codec", @@ -7017,8 +7238,8 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "finality-grandpa", "log 0.4.8", @@ -7033,8 +7254,8 @@ dependencies = [ [[package]] name = "sp-finality-tracker" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -7043,8 +7264,8 @@ dependencies = [ [[package]] name = "sp-inherents" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "derive_more 0.99.7", "parity-scale-codec", @@ -7055,8 +7276,8 @@ dependencies = [ [[package]] name = "sp-io" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "futures 0.3.5", "hash-db", @@ -7069,14 +7290,15 @@ dependencies = [ "sp-runtime-interface", "sp-state-machine", "sp-std", + "sp-tracing", "sp-trie", "sp-wasm-interface", ] [[package]] name = "sp-keyring" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "lazy_static", "sp-core", @@ -7086,8 +7308,8 @@ dependencies = [ [[package]] name = "sp-npos-elections" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "parity-scale-codec", "serde", @@ -7098,8 +7320,8 @@ dependencies = [ [[package]] name = "sp-npos-elections-compact" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "proc-macro-crate", "proc-macro2 1.0.18", @@ -7109,8 +7331,8 @@ dependencies = [ [[package]] name = "sp-offchain" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "sp-api", "sp-core", @@ -7119,8 +7341,8 @@ dependencies = [ [[package]] name = "sp-panic-handler" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "backtrace", "log 0.4.8", @@ -7128,8 +7350,8 @@ dependencies = [ [[package]] name = "sp-rpc" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "serde", "sp-core", @@ -7137,8 +7359,8 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "either", "hash256-std-hasher", @@ -7159,8 +7381,8 @@ dependencies = [ [[package]] name = "sp-runtime-interface" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "parity-scale-codec", "primitive-types", @@ -7174,8 +7396,8 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "Inflector", "proc-macro-crate", @@ -7186,8 +7408,8 @@ dependencies = [ [[package]] name = "sp-serializer" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "serde", "serde_json", @@ -7195,8 +7417,8 @@ dependencies = [ [[package]] name = "sp-session" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "parity-scale-codec", "sp-api", @@ -7208,8 +7430,8 @@ dependencies = [ [[package]] name = "sp-staking" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -7218,15 +7440,17 @@ dependencies = [ [[package]] name = "sp-state-machine" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "hash-db", + "itertools 0.9.0", "log 0.4.8", "num-traits 0.2.12", "parity-scale-codec", "parking_lot 0.10.2", "rand 0.7.3", + "smallvec 1.4.0", "sp-core", "sp-externalities", "sp-panic-handler", @@ -7237,13 +7461,13 @@ dependencies = [ [[package]] name = "sp-std" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" [[package]] name = "sp-storage" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "impl-serde 0.2.3", "ref-cast", @@ -7254,8 +7478,8 @@ dependencies = [ [[package]] name = "sp-test-primitives" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "parity-scale-codec", "parity-util-mem 0.6.1", @@ -7267,8 +7491,8 @@ dependencies = [ [[package]] name = "sp-timestamp" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -7281,16 +7505,18 @@ dependencies = [ [[package]] name = "sp-tracing" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ + "log 0.4.8", + "rental", "tracing", ] [[package]] name = "sp-transaction-pool" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "derive_more 0.99.7", "futures 0.3.5", @@ -7305,11 +7531,11 @@ dependencies = [ [[package]] name = "sp-trie" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "hash-db", - "memory-db 0.20.1", + "memory-db 0.21.0", "parity-scale-codec", "sp-core", "sp-std", @@ -7319,19 +7545,20 @@ dependencies = [ [[package]] name = "sp-utils" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "futures 0.3.5", "futures-core", + "futures-timer 3.0.2", "lazy_static", "prometheus", ] [[package]] name = "sp-version" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "impl-serde 0.2.3", "parity-scale-codec", @@ -7342,8 +7569,8 @@ dependencies = [ [[package]] name = "sp-wasm-interface" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -7378,6 +7605,15 @@ dependencies = [ "rand 0.5.6", ] +[[package]] +name = "stream-cipher" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8131256a5896cabcf5eb04f4d6dacbe1aefda854b0d9896e09cb58829ec5638c" +dependencies = [ + "generic-array", +] + [[package]] name = "string" version = "0.2.1" @@ -7461,16 +7697,16 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "platforms", ] [[package]] name = "substrate-frame-rpc-system" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.5", @@ -7480,8 +7716,10 @@ dependencies = [ "log 0.4.8", "parity-scale-codec", "sc-client-api", + "sc-rpc-api", "serde", "sp-api", + "sp-block-builder", "sp-blockchain", "sp-core", "sp-runtime", @@ -7490,8 +7728,8 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" -version = "0.8.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "0.8.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "async-std", "derive_more 0.99.7", @@ -7504,8 +7742,8 @@ dependencies = [ [[package]] name = "substrate-test-client" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "futures 0.3.5", "hash-db", @@ -7526,8 +7764,8 @@ dependencies = [ [[package]] name = "substrate-test-runtime" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "cfg-if", "frame-executive", @@ -7535,7 +7773,7 @@ dependencies = [ "frame-system", "frame-system-rpc-runtime-api", "log 0.4.8", - "memory-db 0.20.1", + "memory-db 0.21.0", "pallet-babe", "pallet-timestamp", "parity-scale-codec", @@ -7566,8 +7804,8 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" -version = "2.0.0-rc3" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +version = "2.0.0-rc4" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" dependencies = [ "futures 0.3.5", "parity-scale-codec", @@ -7588,7 +7826,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder-runner" version = "1.0.6" -source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#740115371b096af4ca2c3b2c860d95ba801cffcb" +source = "git+https://github.com/paritytech/substrate?branch=cumulus-branch#e8f901868997be15635cba9b21a99b212009adc8" [[package]] name = "substrate-wasm-builder-runner" @@ -8026,6 +8264,19 @@ dependencies = [ "log 0.4.8", ] +[[package]] +name = "tokio-named-pipes" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d282d483052288b2308ba5ee795f5673b159c9bdf63c385a05609da782a5eae" +dependencies = [ + "bytes 0.4.12", + "futures 0.1.29", + "mio", + "mio-named-pipes", + "tokio 0.1.22", +] + [[package]] name = "tokio-reactor" version = "0.1.12" @@ -8057,6 +8308,15 @@ dependencies = [ "webpki", ] +[[package]] +name = "tokio-service" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24da22d077e0f15f55162bdbdc661228c1581892f52074fb242678d015b45162" +dependencies = [ + "futures 0.1.29", +] + [[package]] name = "tokio-sync" version = "0.1.8" @@ -8222,9 +8482,9 @@ checksum = "a7f741b240f1a48843f9b8e0444fb55fb2a4ff67293b50a9179dfd5ea67f8d41" [[package]] name = "trie-db" -version = "0.20.1" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcc309f34008563989045a4c4dbcc5770467f3a3785ee80a9b5cc0d83362475f" +checksum = "cb230c24c741993b04cfccbabb45acff6f6480c5f00d3ed8794ea43db3a9d727" dependencies = [ "hash-db", "hashbrown 0.6.3", @@ -8341,6 +8601,16 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c" +[[package]] +name = "universal-hash" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df0c900f2f9b4116803415878ff48b63da9edb268668e08cf9292d7503114a01" +dependencies = [ + "generic-array", + "subtle 2.2.3", +] + [[package]] name = "unsigned-varint" version = "0.3.3" @@ -8350,7 +8620,17 @@ dependencies = [ "bytes 0.5.4", "futures-io", "futures-util", - "futures_codec", + "futures_codec 0.3.4", +] + +[[package]] +name = "unsigned-varint" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "669d776983b692a906c881fcd0cfb34271a48e197e4d6cb8df32b05bfc3d3fa5" +dependencies = [ + "bytes 0.5.4", + "futures_codec 0.4.1", ] [[package]] @@ -8670,8 +8950,8 @@ dependencies = [ [[package]] name = "westend-runtime" -version = "0.8.8" -source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#91f3e68f5750dff7bddedeb846ff55447e8cf8f8" +version = "0.8.13" +source = "git+https://github.com/paritytech/polkadot?branch=cumulus-branch#81067b709e578da8ed835ec308bfd3555ecb3d57" dependencies = [ "bitvec", "frame-executive", diff --git a/collator/src/lib.rs b/collator/src/lib.rs index cb4feb4a64e..b14729c358b 100644 --- a/collator/src/lib.rs +++ b/collator/src/lib.rs @@ -20,8 +20,12 @@ use cumulus_network::{ DelayedBlockAnnounceValidator, JustifiedBlockAnnounceValidator, WaitToAnnounce, }; use cumulus_primitives::{ - inherents::{VALIDATION_FUNCTION_PARAMS_IDENTIFIER as VFP_IDENT, DOWNWARD_MESSAGES_IDENTIFIER, DownwardMessagesType}, - validation_function_params::ValidationFunctionParams, HeadData, + inherents::{ + DownwardMessagesType, DOWNWARD_MESSAGES_IDENTIFIER, + VALIDATION_FUNCTION_PARAMS_IDENTIFIER as VFP_IDENT, + }, + validation_function_params::ValidationFunctionParams, + HeadData, }; use cumulus_runtime::ParachainBlockData; @@ -37,8 +41,7 @@ use sp_inherents::{InherentData, InherentDataProviders}; use sp_runtime::traits::{Block as BlockT, HashFor, Header as HeaderT}; use polkadot_collator::{ - BuildParachainContext, InvalidHead, Network as CollatorNetwork, ParachainContext, - RuntimeApiCollection, + BuildParachainContext, Network as CollatorNetwork, ParachainContext, RuntimeApiCollection, }; use polkadot_primitives::{ parachain::{self, BlockData, GlobalValidationSchedule, Id as ParaId, LocalValidationData}, @@ -99,15 +102,17 @@ impl Collator { global_validation: GlobalValidationSchedule, local_validation: LocalValidationData, downward_messages: DownwardMessagesType, - ) -> Result { - let mut inherent_data = inherent_providers.create_inherent_data().map_err(|e| { - error!( - target: "cumulus-collator", - "Failed to create inherent data: {:?}", - e, - ); - InvalidHead - })?; + ) -> Option { + let mut inherent_data = inherent_providers + .create_inherent_data() + .map_err(|e| { + error!( + target: "cumulus-collator", + "Failed to create inherent data: {:?}", + e, + ); + }) + .ok()?; inherent_data .put_data( @@ -120,24 +125,21 @@ impl Collator { "Failed to put validation function params into inherent data: {:?}", e, ); - InvalidHead - })?; + }) + .ok()?; inherent_data - .put_data( - DOWNWARD_MESSAGES_IDENTIFIER, - &downward_messages, - ) + .put_data(DOWNWARD_MESSAGES_IDENTIFIER, &downward_messages) .map_err(|e| { error!( target: "cumulus-collator", "Failed to put downward messages into inherent data: {:?}", e, ); - InvalidHead - })?; + }) + .ok()?; - Ok(inherent_data) + Some(inherent_data) } } @@ -168,7 +170,7 @@ where + 'static, { type ProduceCandidate = - Pin> + Send>>; + Pin> + Send>>; fn produce_candidate( &mut self, @@ -187,7 +189,7 @@ where Ok(x) => x, Err(e) => { error!(target: "cumulus-collator", "Could not decode the head data: {:?}", e); - return Box::pin(future::ready(Err(InvalidHead))); + return Box::pin(future::ready(None)); } }; @@ -196,14 +198,16 @@ where let wait_to_announce = self.wait_to_announce.clone(); Box::pin(async move { - let proposer = proposer_future.await.map_err(|e| { - error!( - target: "cumulus-collator", - "Could not create proposer: {:?}", - e, - ); - InvalidHead - })?; + let proposer = proposer_future + .await + .map_err(|e| { + error!( + target: "cumulus-collator", + "Could not create proposer: {:?}", + e, + ); + }) + .ok()?; let inherent_data = Self::inherent_data( inherent_providers, @@ -231,16 +235,20 @@ where "Proposing failed: {:?}", e, ); - InvalidHead - })?; + }) + .ok()?; - let proof = proof.ok_or_else(|| { - error!( - target: "cumulus-collator", - "Proposer did not return the requested proof.", - ); - InvalidHead - })?; + let proof = match proof { + Some(proof) => proof, + None => { + error!( + target: "cumulus-collator", + "Proposer did not return the requested proof.", + ); + + return None; + } + }; let (header, extrinsics) = block.deconstruct(); @@ -266,7 +274,8 @@ where b.header().parent_hash(), err, ); - return Err(InvalidHead); + + return None; } let block_data = BlockData(b.encode()); @@ -283,7 +292,7 @@ where trace!(target: "cumulus-collator", "Produced candidate: {:?}", candidate); - Ok(candidate) + Some(candidate) }) } } diff --git a/consensus/src/import_queue.rs b/consensus/src/import_queue.rs index 37c53247282..5324805ffca 100644 --- a/consensus/src/import_queue.rs +++ b/consensus/src/import_queue.rs @@ -101,7 +101,7 @@ pub fn import_queue( client: Arc, block_import: I, inherent_data_providers: InherentDataProviders, - spawner: &impl sp_core::traits::SpawnBlocking, + spawner: &impl sp_core::traits::SpawnNamed, registry: Option<&substrate_prometheus_endpoint::Registry>, ) -> ClientResult> where diff --git a/network/src/lib.rs b/network/src/lib.rs index e7ace02effe..4b17c93512c 100644 --- a/network/src/lib.rs +++ b/network/src/lib.rs @@ -105,7 +105,7 @@ where Validation::Failure } else { - Validation::Success + Validation::Success { is_new_best: false } }); } @@ -202,7 +202,7 @@ where )) as Box<_>); } - Ok(Validation::Success) + Ok(Validation::Success { is_new_best: false }) } } diff --git a/network/src/tests.rs b/network/src/tests.rs index ae9eff060c8..8b6da57c749 100644 --- a/network/src/tests.rs +++ b/network/src/tests.rs @@ -104,7 +104,7 @@ fn valid_if_no_data_and_less_than_best_known_number() { assert_eq!( res.unwrap(), - Validation::Success, + Validation::Success { is_new_best: false }, "validating without data with block number < best known number is always a success", ); } diff --git a/parachain-upgrade/src/lib.rs b/parachain-upgrade/src/lib.rs index 52aa7a77ef1..7f234dac3ea 100644 --- a/parachain-upgrade/src/lib.rs +++ b/parachain-upgrade/src/lib.rs @@ -233,14 +233,16 @@ mod tests { use codec::Encode; use frame_support::{ - assert_ok, impl_outer_event, impl_outer_origin, parameter_types, + assert_ok, + dispatch::UnfilteredDispatchable, + impl_outer_event, impl_outer_origin, parameter_types, traits::{OnFinalize, OnInitialize}, weights::Weight, }; use sp_core::H256; use sp_runtime::{ testing::Header, - traits::{BlakeTwo256, Dispatchable, IdentityLookup}, + traits::{BlakeTwo256, IdentityLookup}, Perbill, }; use sp_version::RuntimeVersion; @@ -305,6 +307,7 @@ mod tests { type DbWeight = (); type BlockExecutionWeight = (); type ExtrinsicBaseWeight = (); + type BaseCallFilter = (); } impl Trait for Test { type Event = TestEvent; @@ -472,7 +475,7 @@ mod tests { ParachainUpgrade::on_initialize(*n); ParachainUpgrade::create_inherent(&inherent_data) .expect("got an inherent") - .dispatch(RawOrigin::None.into()) + .dispatch_bypass_filter(RawOrigin::None.into()) .expect("dispatch succeeded"); within_block(); ParachainUpgrade::on_finalize(*n); diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index fb10cbd7161..ce15b5b9a92 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -9,7 +9,7 @@ edition = "2018" codec = { package = "parity-scale-codec", version = "1.3.0", default-features = false, features = [ "derive" ] } memory-db = { version = "0.18.0", default-features = false } hash-db = { version = "0.15.2", default-features = false } -trie-db = { version = "0.20.1", default-features = false } +trie-db = { version = "0.21.0", default-features = false } hashbrown = "0.6.1" # Cumulus dependencies diff --git a/test/parachain/Cargo.toml b/test/parachain/Cargo.toml index 667a38b815b..5dc82c6c062 100644 --- a/test/parachain/Cargo.toml +++ b/test/parachain/Cargo.toml @@ -39,6 +39,7 @@ sc-network = { git = "https://github.com/paritytech/substrate", branch = "cumulu sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "cumulus-branch", version = "0.8.0-alpha.5" } sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "cumulus-branch" } sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "cumulus-branch" } +sc-informant = { git = "https://github.com/paritytech/substrate", branch = "cumulus-branch" } # Cumulus dependencies cumulus-consensus = { path = "../../consensus" } diff --git a/test/parachain/runtime/src/lib.rs b/test/parachain/runtime/src/lib.rs index f966c52af5b..ce3d7af26e1 100644 --- a/test/parachain/runtime/src/lib.rs +++ b/test/parachain/runtime/src/lib.rs @@ -191,6 +191,7 @@ impl frame_system::Trait for Runtime { type ExtrinsicBaseWeight = ExtrinsicBaseWeight; type BlockExecutionWeight = (); type MaximumExtrinsicWeight = MaximumExtrinsicWeight; + type BaseCallFilter = (); } parameter_types! { diff --git a/test/parachain/src/command.rs b/test/parachain/src/command.rs index 60b9468a01c..9396ea8f90e 100644 --- a/test/parachain/src/command.rs +++ b/test/parachain/src/command.rs @@ -17,14 +17,14 @@ use crate::chain_spec; use crate::cli::{Cli, PolkadotCli, Subcommand}; use codec::Encode; +use cumulus_primitives::ParaId; use log::info; use parachain_runtime::Block; use polkadot_parachain::primitives::AccountIdConversion; use sc_cli::{ - CliConfiguration, Error, ImportParams, KeystoreParams, NetworkParams, Result, SharedParams, - SubstrateCli, + ChainSpec, CliConfiguration, Error, ImportParams, KeystoreParams, NetworkParams, Result, Role, + RuntimeVersion, SharedParams, SubstrateCli, }; -use sc_executor::NativeExecutionDispatch; use sc_service::config::{BasePath, PrometheusConfig}; use sp_core::hexdisplay::HexDisplay; use sp_runtime::{ @@ -32,7 +32,6 @@ use sp_runtime::{ BuildStorage, }; use std::{net::SocketAddr, sync::Arc}; -use cumulus_primitives::ParaId; impl SubstrateCli for Cli { fn impl_name() -> &'static str { @@ -68,7 +67,13 @@ impl SubstrateCli for Cli { fn load_spec(&self, _id: &str) -> std::result::Result, String> { // Such a hack :( - Ok(Box::new(chain_spec::get_chain_spec(self.run.parachain_id.into()))) + Ok(Box::new(chain_spec::get_chain_spec( + self.run.parachain_id.into(), + ))) + } + + fn native_runtime_version(_: &Box) -> &'static RuntimeVersion { + ¶chain_runtime::VERSION } } @@ -114,6 +119,10 @@ impl SubstrateCli for PolkadotCli { )?), }) } + + fn native_runtime_version(chain_spec: &Box) -> &'static RuntimeVersion { + polkadot_cli::Cli::native_runtime_version(chain_spec) + } } fn generate_genesis_state(para_id: ParaId) -> Result { @@ -180,22 +189,18 @@ pub fn run() -> Result<()> { )) }; - runner.run_node( - |config| polkadot_service::polkadot_new_light(config), - |config| { - polkadot_service::polkadot_new_full( - config, - None, - None, - authority_discovery_enabled, - 6000, - grandpa_pause, - None, - ) - .map(|(s, _, _)| s) - }, - polkadot_service::PolkadotExecutor::native_version().runtime_version, - ) + runner.run_node_until_exit(|config| match config.role { + Role::Light => polkadot_service::polkadot_new_light(config).map(|r| r.0), + _ => polkadot_service::polkadot_new_full( + config, + None, + None, + authority_discovery_enabled, + 6000, + grandpa_pause, + ) + .map(|(s, _, _)| s), + }) } Some(Subcommand::PolkadotValidationWorker(cmd)) => { sc_cli::init_logger(""); @@ -223,27 +228,25 @@ pub fn run() -> Result<()> { let block = generate_genesis_state(id)?; let genesis_state = format!("0x{:?}", HexDisplay::from(&block.header().encode())); - runner.run_full_node( - |config| { - polkadot_cli.base_path = - config.base_path.as_ref().map(|x| x.path().join("polkadot")); - - let task_executor = config.task_executor.clone(); - let polkadot_config = SubstrateCli::create_configuration( - &polkadot_cli, - &polkadot_cli, - task_executor, - ) - .unwrap(); - - info!("Parachain id: {:?}", id); - info!("Parachain Account: {}", parachain_account); - info!("Parachain genesis state: {}", genesis_state); - - crate::service::run_collator(config, key, polkadot_config, id) - }, - parachain_runtime::VERSION, - ) + runner.run_node_until_exit(|config| { + if matches!(config.role, Role::Light) { + return Err("Light client not supporter!".into()); + } + + polkadot_cli.base_path = + config.base_path.as_ref().map(|x| x.path().join("polkadot")); + + let task_executor = config.task_executor.clone(); + let polkadot_config = + SubstrateCli::create_configuration(&polkadot_cli, &polkadot_cli, task_executor) + .unwrap(); + + info!("Parachain id: {:?}", id); + info!("Parachain Account: {}", parachain_account); + info!("Parachain genesis state: {}", genesis_state); + + crate::service::run_collator(config, key, polkadot_config, id) + }) } } } @@ -269,8 +272,7 @@ impl CliConfiguration for PolkadotCli { Ok(self .shared_params() .base_path() - .or_else(|| self.base_path.clone().map(Into::into)) - ) + .or_else(|| self.base_path.clone().map(Into::into))) } fn rpc_http(&self) -> Result> { diff --git a/test/parachain/src/service.rs b/test/parachain/src/service.rs index 1d1e683254c..6c394ee4832 100644 --- a/test/parachain/src/service.rs +++ b/test/parachain/src/service.rs @@ -24,7 +24,8 @@ pub use sc_executor::NativeExecutor; use sc_finality_grandpa::{ FinalityProofProvider as GrandpaFinalityProofProvider, StorageAndProofProvider, }; -use sc_service::{AbstractService, Configuration}; +use sc_informant::OutputFormat; +use sc_service::{Configuration, TaskManager}; use std::sync::Arc; // Our native executor instance. @@ -71,7 +72,7 @@ macro_rules! new_full_start { })?; (builder, inherent_data_providers) - }}; + }}; } /// Run a collator node with the given parachain `Configuration` and relaychain `Configuration` @@ -80,10 +81,15 @@ macro_rules! new_full_start { pub fn run_collator( parachain_config: Configuration, key: Arc, - polkadot_config: polkadot_collator::Configuration, + mut polkadot_config: polkadot_collator::Configuration, id: polkadot_primitives::parachain::Id, -) -> sc_service::error::Result { - let parachain_config = prepare_collator_config(parachain_config); +) -> sc_service::error::Result { + let mut parachain_config = prepare_collator_config(parachain_config); + + parachain_config.informant_output_format = OutputFormat { + enable_color: true, + prefix: format!("[{}] ", Color::Yellow.bold().paint("Parachain")), + }; let (builder, inherent_data_providers) = new_full_start!(parachain_config); inherent_data_providers @@ -93,7 +99,6 @@ pub fn run_collator( let block_announce_validator = DelayedBlockAnnounceValidator::new(); let block_announce_validator_copy = block_announce_validator.clone(); let service = builder - .with_informant_prefix(format!("[{}] ", Color::Yellow.bold().paint("Parachain")))? .with_finality_proof_provider(|client, backend| { // GenesisAuthoritySetProvider is implemented for StorageAndProofProvider let provider = client as Arc>; @@ -102,17 +107,17 @@ pub fn run_collator( .with_block_announce_validator(|_client| Box::new(block_announce_validator_copy))? .build_full()?; - let registry = service.prometheus_registry(); + let registry = service.prometheus_registry.clone(); let proposer_factory = sc_basic_authorship::ProposerFactory::new( - service.client(), - service.transaction_pool(), + service.client.clone(), + service.transaction_pool.clone(), registry.as_ref(), ); - let block_import = service.client(); - let client = service.client(); - let network = service.network(); + let block_import = service.client.clone(); + let client = service.client.clone(); + let network = service.network.clone(); let announce_block = Arc::new(move |hash, data| network.announce_block(hash, data)); let builder = CollatorBuilder::new( proposer_factory, @@ -124,15 +129,14 @@ pub fn run_collator( block_announce_validator, ); - let polkadot_future = polkadot_collator::start_collator( - builder, - id, - key, - polkadot_config, - Some(format!("[{}] ", Color::Blue.bold().paint("Relaychain"))), - ) - .map(|_| ()); - service.spawn_essential_task("polkadot", polkadot_future); - - Ok(service) + polkadot_config.informant_output_format = OutputFormat { + enable_color: true, + prefix: format!("[{}] ", Color::Blue.bold().paint("Relaychain")), + }; + + let polkadot_future = + polkadot_collator::start_collator(builder, id, key, polkadot_config).map(|_| ()); + service.task_manager.spawn_essential_handle().spawn("polkadot", polkadot_future); + + Ok(service.task_manager) } diff --git a/test/parachain/tests/integration_test.rs b/test/parachain/tests/integration_test.rs index f8865bdbe6d..da2358428c0 100644 --- a/test/parachain/tests/integration_test.rs +++ b/test/parachain/tests/integration_test.rs @@ -24,8 +24,8 @@ use futures::{future::FutureExt, join, pin_mut, select}; use jsonrpsee::{raw::RawClient, transport::http::HttpTransportClient}; use polkadot_primitives::parachain::{Info, Scheduling}; use polkadot_primitives::Hash as PHash; -use polkadot_runtime::{Header, Runtime, SignedExtra, SignedPayload, IsCallable}; -use polkadot_runtime_common::{parachains, registrar, BlockHashCount, claims, TransactionCallFilter}; +use polkadot_runtime::{Header, Runtime, SignedExtra, SignedPayload}; +use polkadot_runtime_common::{parachains, registrar, BlockHashCount, claims}; use serde_json::Value; use sp_arithmetic::traits::SaturatedConversion; use sp_runtime::generic;