diff --git a/Cargo.lock b/Cargo.lock index b945f1a..7de9432 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10,6 +10,15 @@ dependencies = [ "regex", ] +[[package]] +name = "addr2line" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "456d75cbb82da1ad150c8a9d97285ffcd21c9931dcb11e995903e7d75141b38b" +dependencies = [ + "gimli", +] + [[package]] name = "adler32" version = "1.0.4" @@ -65,9 +74,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.28" +version = "1.0.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9a60d744a80c30fcb657dfe2c1b22bcb3e814c1a1e3674f32bf5820b570fbff" +checksum = "85bb70cc08ec97ca5450e6eba421deeea5f172c0fc61f78b5357b2a8e8be195f" [[package]] name = "app_dirs" @@ -132,8 +141,8 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0d0864d84b8e07b145449be9a8537db86bf9de5ce03b913214694643b4743502" dependencies = [ - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", ] [[package]] @@ -184,7 +193,7 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95fd83426b89b034bf4e9ceb9c533c2f2386b813fd3dcae0a425ec6f1837d78a" dependencies = [ - "futures 0.3.4", + "futures 0.3.5", "rustls", "webpki", "webpki-roots 0.19.0", @@ -215,26 +224,17 @@ checksum = "f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d" [[package]] name = "backtrace" -version = "0.3.46" +version = "0.3.48" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1e692897359247cc6bb902933361652380af0f1b7651ae5c5013407f30e109e" +checksum = "0df2f85c8a2abbe3b7d7e748052fdd9b76a0458fdeb16ad4223f5eca78c7c130" dependencies = [ - "backtrace-sys", + "addr2line", "cfg-if", "libc", + "object", "rustc-demangle", ] -[[package]] -name = "backtrace-sys" -version = "0.1.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18fbebbe1c9d1f383a9cc7e8ccdb471b91c8d024ee9c2ca5b5346121fe8b4399" -dependencies = [ - "cc", - "libc", -] - [[package]] name = "base58" version = "0.1.0" @@ -264,7 +264,7 @@ dependencies = [ "log", "peeking_take_while", "proc-macro2", - "quote 1.0.4", + "quote 1.0.5", "regex", "rustc-hash", "shlex", @@ -380,18 +380,18 @@ checksum = "476e9cd489f9e121e02ffa6014a8ef220ecb15c05ed23fc34cca13925dc283fb" [[package]] name = "bstr" -version = "0.2.12" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2889e6d50f394968c8bf4240dc3f2a7eb4680844d27308f798229ac9d4725f41" +checksum = "31accafdb70df7871592c058eca3985b71104e15ac32f64706022c58867da931" dependencies = [ "memchr", ] [[package]] name = "bumpalo" -version = "3.2.1" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12ae9db68ad7fac5fe51304d20f016c911539251075a214f8e663babefa35187" +checksum = "5356f1d23ee24a1f785a56d1d1a5f0fd5b0f6a0c0fb2412ce11da71649ab78f6" [[package]] name = "byte-slice-cast" @@ -436,9 +436,9 @@ checksum = "4964518bd3b4a8190e832886cdc0da9794f12e8e6c1613a9e90ff331c4c8724b" [[package]] name = "cc" -version = "1.0.52" +version = "1.0.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3d87b23d6a92cd03af510a5ade527033f6aa6fa92161e2d5863a907d4c5e31d" +checksum = "404b1fe4f65288577753b17e3b36a04596ee784493ec249bf81c7f2d2acd751c" dependencies = [ "jobserver", ] @@ -491,9 +491,9 @@ dependencies = [ [[package]] name = "clap" -version = "2.33.0" +version = "2.33.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5067f5bb2d80ef5d68b4c87db81601f0b75bca627bc2ef76b141d7b846a3c6d9" +checksum = "bdfa80d47f954d53a35a64987ca1422f495b8d6483c0fe9f7117b36c2a792129" dependencies = [ "ansi_term 0.11.0", "atty", @@ -676,13 +676,13 @@ checksum = "11c0346158a19b3627234e15596f5e465c360fcdb97d817bcb255e0510f5a788" [[package]] name = "derive_more" -version = "0.99.5" +version = "0.99.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2323f3f47db9a0e77ce7a300605d8d2098597fc451ed1a97bb1f6411bb550a7" +checksum = "46b046a346c374c6c3c84d2070bfe33904504686bdf949c2d8eb22edad3f270c" dependencies = [ "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", ] [[package]] @@ -773,7 +773,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e43f2f1833d64e33f15592464d6fdd70f349dda7b1a53088eb83cd94014008c5" dependencies = [ - "futures 0.3.4", + "futures 0.3.5", ] [[package]] @@ -793,8 +793,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4" dependencies = [ "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", "synstructure", ] @@ -815,12 +815,12 @@ dependencies = [ [[package]] name = "finality-grandpa" -version = "0.12.2" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f4682570188cd105606e621b9992e580f717c15f8cd1b7d106b59f1c6e54680" +checksum = "8feb87a63249689640ac9c011742c33139204e3c134293d3054022276869133b" dependencies = [ "either", - "futures 0.3.4", + "futures 0.3.5", "futures-timer 2.0.2", "log", "num-traits 0.2.11", @@ -861,22 +861,22 @@ dependencies = [ [[package]] name = "fnv" -version = "1.0.6" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fad85553e09a6f881f739c29f0b00b0f01357c743266d478b68951ce23285f3" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "parity-scale-codec", ] [[package]] name = "frame-benchmarking" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "frame-support", "frame-system", @@ -892,8 +892,8 @@ dependencies = [ [[package]] name = "frame-executive" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "frame-support", "frame-system", @@ -907,8 +907,8 @@ dependencies = [ [[package]] name = "frame-metadata" -version = "11.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "11.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "parity-scale-codec", "serde", @@ -918,8 +918,8 @@ dependencies = [ [[package]] name = "frame-support" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "bitmask", "frame-metadata", @@ -942,41 +942,41 @@ dependencies = [ [[package]] name = "frame-support-procedural" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "frame-support-procedural-tools", "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", ] [[package]] name = "frame-support-procedural-tools" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", ] [[package]] name = "frame-support-procedural-tools-derive" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", ] [[package]] name = "frame-system" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -1031,9 +1031,9 @@ checksum = "1b980f2816d6ee8673b6517b52cb0e808a180efc92e5c19d02cdda79066703ef" [[package]] name = "futures" -version = "0.3.4" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c329ae8753502fb44ae4fc2b622fa2a94652c41e795143765ba0927f92ab780" +checksum = "1e05b85ec287aac0dc34db7d4a569323df697f9c55b99b15d6b4ef8cde49f613" dependencies = [ "futures-channel", "futures-core", @@ -1046,9 +1046,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.4" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0c77d04ce8edd9cb903932b608268b3fffec4163dc053b3b402bf47eac1f1a8" +checksum = "f366ad74c28cca6ba456d95e6422883cfb4b252a83bed929c83abfdbbf2967d5" dependencies = [ "futures-core", "futures-sink", @@ -1065,9 +1065,9 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.4" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f25592f769825e89b92358db00d26f965761e094951ac44d3663ef25b7ac464a" +checksum = "59f5fff90fd5d971f936ad674802482ba441b6f09ba5e15fd8b39145582ca399" [[package]] name = "futures-core-preview" @@ -1092,7 +1092,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fdcef58a173af8148b182684c9f2d5250875adbcaff7b5794073894f9d8634a9" dependencies = [ "futures 0.1.29", - "futures 0.3.4", + "futures 0.3.5", "lazy_static", "log", "parking_lot 0.9.0", @@ -1103,9 +1103,9 @@ dependencies = [ [[package]] name = "futures-executor" -version = "0.3.4" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f674f3e1bcb15b37284a90cedf55afdba482ab061c407a9c0ebbd0f3109741ba" +checksum = "10d6bb888be1153d3abeb9006b11b02cf5e9b209fda28693c31ae1e4e012e314" dependencies = [ "futures-core", "futures-task", @@ -1115,33 +1115,36 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.4" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a638959aa96152c7a4cddf50fcb1e3fede0583b27157c26e67d6f99904090dc6" +checksum = "de27142b013a8e869c14957e6d2edeef89e97c289e69d042ee3a49acd8b51789" [[package]] name = "futures-macro" -version = "0.3.4" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a5081aa3de1f7542a794a397cde100ed903b0630152d0973479018fd85423a7" +checksum = "d0b5a30a4328ab5473878237c447333c093297bded83a4983d10f4deea240d39" dependencies = [ "proc-macro-hack", "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", ] [[package]] name = "futures-sink" -version = "0.3.4" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3466821b4bc114d95b087b850a724c6f83115e929bc88f1fa98a3304a944c8a6" +checksum = "3f2032893cb734c7a05d85ce0cc8b8c4075278e93b24b66f9de99d6eb0fa8acc" [[package]] name = "futures-task" -version = "0.3.4" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b0a34e53cf6cdcd0178aa573aed466b646eb3db769570841fda0c7ede375a27" +checksum = "bdb66b5f09e22019b1ab0830f7785bcea8e7a42148683f99214f73f8ec21a626" +dependencies = [ + "once_cell", +] [[package]] name = "futures-timer" @@ -1157,9 +1160,9 @@ checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" [[package]] name = "futures-util" -version = "0.3.4" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22766cf25d64306bedf0384da004d05c9974ab104fcc4528f1236181c18004c5" +checksum = "8764574ff08b701a084482c3c7031349104b07ac897393010494beaa18ce32c6" dependencies = [ "futures 0.1.29", "futures-channel", @@ -1169,6 +1172,7 @@ dependencies = [ "futures-sink", "futures-task", "memchr", + "pin-project", "pin-utils", "proc-macro-hack", "proc-macro-nested", @@ -1194,7 +1198,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a0a73299e4718f5452e45980fc1d6957a070abe308d3700b63b8673f47e1c2b3" dependencies = [ "bytes 0.5.4", - "futures 0.3.4", + "futures 0.3.5", "memchr", "pin-project", ] @@ -1247,6 +1251,12 @@ dependencies = [ "wasi", ] +[[package]] +name = "gimli" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bcc8e0c9bce37868955864dbecd2b1ab2bdf967e6f28066d65aaac620444b65c" + [[package]] name = "glob" version = "0.3.0" @@ -1286,9 +1296,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "377038bf3c89d18d6ca1431e7a5027194fbd724ca10592b9487ede5e8e144f42" +checksum = "79b7246d7e4b979c03fa093da39cfb3617a96bbeee6310af63991668d7e843ff" dependencies = [ "bytes 0.5.4", "fnv", @@ -1299,7 +1309,7 @@ dependencies = [ "indexmap", "log", "slab", - "tokio 0.2.20", + "tokio 0.2.21", "tokio-util", ] @@ -1491,7 +1501,7 @@ dependencies = [ "futures-channel", "futures-core", "futures-util", - "h2 0.2.4", + "h2 0.2.5", "http 0.2.1", "http-body 0.3.1", "httparse", @@ -1500,7 +1510,7 @@ dependencies = [ "net2", "pin-project", "time", - "tokio 0.2.20", + "tokio 0.2.21", "tower-service", "want 0.3.0", ] @@ -1518,7 +1528,7 @@ dependencies = [ "log", "rustls", "rustls-native-certs", - "tokio 0.2.20", + "tokio 0.2.21", "tokio-rustls", "webpki", ] @@ -1579,8 +1589,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ef5550a42e3740a0e71f909d4c861056a284060af885ae7aa6242820f920d9d" dependencies = [ "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", ] [[package]] @@ -1598,19 +1608,13 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f65877bf7d44897a473350b1046277941cee20b263397e90869c50b6e766088b" -[[package]] -name = "interleaved-ordered" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "141340095b15ed7491bd3d4ced9d20cebfb826174b6bb03386381f62b01e3d77" - [[package]] name = "intervalier" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "64fa110ec7b8f493f416eed552740d10e7030ad5f63b2308f82c9608ec2df275" dependencies = [ - "futures 0.3.4", + "futures 0.3.5", "futures-timer 2.0.2", ] @@ -1714,8 +1718,8 @@ checksum = "8609af8f63b626e8e211f52441fcdb6ec54f1a446606b10d5c89ae9bf8a20058" dependencies = [ "proc-macro-crate", "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", ] [[package]] @@ -1793,18 +1797,18 @@ dependencies = [ [[package]] name = "kv-log-macro" -version = "1.0.4" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c54d9f465d530a752e6ebdc217e081a7a614b48cb200f6f0aee21ba6bc9aabb" +checksum = "2a2d3beed37e5483887d81eb39de6de03a8346531410e1306ca48a9a89bd3a51" dependencies = [ "log", ] [[package]] name = "kvdb" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cad096c6849b2ef027fabe35c4aed356d0e3d3f586d0a8361e5e17f1e50a7ce5" +checksum = "e763b2a9b500ba47948061d1e8bc3b5f03a8a1f067dbcf822a4d2c84d2b54a3a" dependencies = [ "parity-util-mem", "smallvec 1.4.0", @@ -1812,9 +1816,9 @@ dependencies = [ [[package]] name = "kvdb-memorydb" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4aa954d12cfac958822dfd77aab34f3eec71f103b918c4ab79ab59a36ee594ea" +checksum = "73027d5e228de6f503b5b7335d530404fc26230a6ae3e09b33ec6e45408509a4" dependencies = [ "kvdb", "parity-util-mem", @@ -1823,12 +1827,11 @@ dependencies = [ [[package]] name = "kvdb-rocksdb" -version = "0.7.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3f14c3a10c8894d26175e57e9e26032e6d6c49c30cbe2468c5bf5f6b64bb0be" +checksum = "84384eca250c7ff67877eda5336f28a86586aaee24acb945643590671f6bfce1" dependencies = [ "fs-swap", - "interleaved-ordered", "kvdb", "log", "num_cpus", @@ -1854,22 +1857,28 @@ checksum = "b294d6fa9ee409a054354afc4352b0b9ef7ca222c69b8812cbea9e7d2bf3783f" [[package]] name = "libc" -version = "0.2.69" +version = "0.2.70" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99e85c08494b21a9054e7fe1374a732aeadaff3980b6990b94bfd3a70f690005" +checksum = "3baa92041a6fec78c687fa0cc2b3fae8884f743d672cf551bed1d6dac6988d0f" [[package]] name = "libflate" -version = "0.1.27" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9135df43b1f5d0e333385cb6e7897ecd1a43d7d11b91ac003f4d2c2d2401fdd" +checksum = "a1fbe6b967a94346446d37ace319ae85be7eca261bb8149325811ac435d35d64" dependencies = [ "adler32", "crc32fast", + "libflate_lz77", "rle-decode-fast", - "take_mut", ] +[[package]] +name = "libflate_lz77" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3286f09f7d4926fc486334f28d8d2e6ebe4f7f9994494b6dab27ddfad2c9b11b" + [[package]] name = "libloading" version = "0.5.2" @@ -1893,7 +1902,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32ea742c86405b659c358223a8f0f9f5a9eb27bb6083894c6340959b05269662" dependencies = [ "bytes 0.5.4", - "futures 0.3.4", + "futures 0.3.5", "lazy_static", "libp2p-core", "libp2p-core-derive", @@ -1928,7 +1937,7 @@ dependencies = [ "ed25519-dalek", "either", "fnv", - "futures 0.3.4", + "futures 0.3.5", "futures-timer 3.0.2", "lazy_static", "libsecp256k1", @@ -1957,8 +1966,8 @@ version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "329127858e4728db5ab60c33d5ae352a999325fdf190ed022ec7d3a4685ae2e6" dependencies = [ - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", ] [[package]] @@ -1967,7 +1976,7 @@ version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0d0993481203d68e5ce2f787d033fb0cac6b850659ed6c784612db678977c71" dependencies = [ - "futures 0.3.4", + "futures 0.3.5", "libp2p-core", "log", ] @@ -1978,7 +1987,7 @@ version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a38ca3eb807789e26f41c82ca7cd2b3843c66c5587b8b5f709a2f421f3061414" dependencies = [ - "futures 0.3.4", + "futures 0.3.5", "libp2p-core", "libp2p-swarm", "log", @@ -1998,7 +2007,7 @@ dependencies = [ "bytes 0.5.4", "either", "fnv", - "futures 0.3.4", + "futures 0.3.5", "futures_codec", "libp2p-core", "libp2p-swarm", @@ -2025,7 +2034,7 @@ dependencies = [ "data-encoding", "dns-parser", "either", - "futures 0.3.4", + "futures 0.3.5", "lazy_static", "libp2p-core", "libp2p-swarm", @@ -2045,7 +2054,7 @@ checksum = "0832882b06619b2e81d74e71447753ea3c068164a0bca67847d272e856a04a02" dependencies = [ "bytes 0.5.4", "fnv", - "futures 0.3.4", + "futures 0.3.5", "futures_codec", "libp2p-core", "log", @@ -2060,7 +2069,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "918e94a649e1139c24ee9f1f8c1f2adaba6d157b9471af787f2d9beac8c29c77" dependencies = [ "curve25519-dalek", - "futures 0.3.4", + "futures 0.3.5", "lazy_static", "libp2p-core", "log", @@ -2080,7 +2089,7 @@ version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9bfbf87eebb492d040f9899c5c81c9738730465ac5e78d9b7a7d086d0f07230" dependencies = [ - "futures 0.3.4", + "futures 0.3.5", "libp2p-core", "libp2p-swarm", "log", @@ -2095,7 +2104,7 @@ version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "44ab289ae44cc691da0a6fe96aefa43f26c86c6c7813998e203f6d80f1860f18" dependencies = [ - "futures 0.3.4", + "futures 0.3.5", "libp2p-core", "log", "rand 0.7.3", @@ -2111,7 +2120,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b37ea44823d3ed223e4605da94b50177bc520f05ae2452286700549a32d81669" dependencies = [ "async-std", - "futures 0.3.4", + "futures 0.3.5", "futures-timer 3.0.2", "get_if_addrs", "ipnet", @@ -2125,7 +2134,7 @@ version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3ac7dbde0f88cad191dcdfd073b8bae28d01823e8ca313f117b6ecb914160c3" dependencies = [ - "futures 0.3.4", + "futures 0.3.5", "js-sys", "libp2p-core", "parity-send-wrapper", @@ -2142,7 +2151,7 @@ dependencies = [ "async-tls", "bytes 0.5.4", "either", - "futures 0.3.4", + "futures 0.3.5", "libp2p-core", "log", "quicksink", @@ -2160,7 +2169,7 @@ version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "02f91aea50f6571e0bc6c058dc0e9b270afd41ec28dd94e9e4bf607e78b9ab87" dependencies = [ - "futures 0.3.4", + "futures 0.3.5", "libp2p-core", "parking_lot 0.10.2", "thiserror", @@ -2427,7 +2436,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "74cdcf7cfb3402881e15a1f95116cb033d69b33c83d481e1234777f5ef0c3d2c" dependencies = [ "bytes 0.5.4", - "futures 0.3.4", + "futures 0.3.5", "log", "pin-project", "smallvec 1.4.0", @@ -2500,11 +2509,12 @@ dependencies = [ [[package]] name = "node-template" -version = "2.0.0-alpha.7" +version = "2.0.0-alpha.8" dependencies = [ - "futures 0.3.4", + "futures 0.3.5", "log", "node-template-runtime", + "parking_lot 0.10.2", "sc-basic-authorship", "sc-cli", "sc-client-api", @@ -2528,7 +2538,7 @@ dependencies = [ [[package]] name = "node-template-runtime" -version = "2.0.0-alpha.7" +version = "2.0.0-alpha.8" dependencies = [ "frame-executive", "frame-support", @@ -2582,9 +2592,9 @@ dependencies = [ [[package]] name = "ntapi" -version = "0.3.3" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26e041cd983acbc087e30fcba770380cfa352d0e392e175b2344ebaf7ea0602" +checksum = "7a31937dea023539c72ddae0e3571deadc1414b300483fa7aaec176168cfa9d2" dependencies = [ "winapi 0.3.8", ] @@ -2661,6 +2671,12 @@ dependencies = [ "libc", ] +[[package]] +name = "object" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9cbca9424c482ee628fa549d9c812e2cd22f1180b9222c9200fdfa6eb31aecb2" + [[package]] name = "ole32-sys" version = "0.2.0" @@ -2673,11 +2689,11 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.3.1" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1c601810575c99596d4afc46f78a678c80105117c379eb3650cf99b8a21ce5b" +checksum = "0b631f7e854af39a1739f401cf34a8a013dfe09eac4fa4dba91e9768bd28168d" dependencies = [ - "parking_lot 0.9.0", + "parking_lot 0.10.2", ] [[package]] @@ -2703,8 +2719,8 @@ dependencies = [ [[package]] name = "pallet-aura" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "frame-support", "frame-system", @@ -2724,8 +2740,8 @@ dependencies = [ [[package]] name = "pallet-balances" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "frame-benchmarking", "frame-support", @@ -2739,8 +2755,8 @@ dependencies = [ [[package]] name = "pallet-finality-tracker" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "frame-support", "frame-system", @@ -2755,8 +2771,8 @@ dependencies = [ [[package]] name = "pallet-grandpa" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "frame-support", "frame-system", @@ -2764,17 +2780,19 @@ dependencies = [ "pallet-session", "parity-scale-codec", "serde", + "sp-application-crypto", "sp-core", "sp-finality-grandpa", "sp-runtime", + "sp-session", "sp-staking", "sp-std", ] [[package]] name = "pallet-randomness-collective-flip" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "frame-support", "frame-system", @@ -2786,8 +2804,8 @@ dependencies = [ [[package]] name = "pallet-session" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "frame-support", "frame-system", @@ -2797,6 +2815,7 @@ dependencies = [ "serde", "sp-io", "sp-runtime", + "sp-session", "sp-staking", "sp-std", "sp-trie", @@ -2804,8 +2823,8 @@ dependencies = [ [[package]] name = "pallet-sudo" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "frame-support", "frame-system", @@ -2818,7 +2837,7 @@ dependencies = [ [[package]] name = "pallet-template" -version = "2.0.0-alpha.7" +version = "2.0.0-alpha.8" dependencies = [ "frame-support", "frame-system", @@ -2830,8 +2849,8 @@ dependencies = [ [[package]] name = "pallet-timestamp" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "frame-benchmarking", "frame-support", @@ -2847,8 +2866,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "frame-support", "frame-system", @@ -2860,8 +2879,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "frame-support", "parity-scale-codec", @@ -2957,8 +2976,8 @@ checksum = "5a0ec292e92e8ec7c58e576adacc1e3f399c597c8f263c42f18420abe58e7245" dependencies = [ "proc-macro-crate", "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", ] [[package]] @@ -2989,7 +3008,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" dependencies = [ "proc-macro2", - "syn 1.0.18", + "syn 1.0.21", "synstructure", ] @@ -3067,8 +3086,8 @@ checksum = "2e0bf239e447e67ff6d16a8bb5e4d4bd2343acf5066061c0e8e06ac5ba8ca68c" dependencies = [ "proc-macro-hack", "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", ] [[package]] @@ -3111,29 +3130,29 @@ dependencies = [ [[package]] name = "pin-project" -version = "0.4.10" +version = "0.4.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36e3dcd42688c05a66f841d22c5d8390d9a5d4c9aaf57b9285eae4900a080063" +checksum = "81d480cb4e89522ccda96d0eed9af94180b7a5f93fb28f66e1fd7d68431663d1" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "0.4.10" +version = "0.4.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4d7346ac577ff1296e06a418e7618e22655bae834d4970cb6e39d6da8119969" +checksum = "a82996f11efccb19b685b14b5df818de31c1edcee3daa256ab5775dd98e72feb" dependencies = [ "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", ] [[package]] name = "pin-project-lite" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "237844750cfbb86f67afe27eee600dfbbcb6188d734139b534cbfbf4f96792ae" +checksum = "f7505eeebd78492e0f6108f7171c4948dbb120ee8119d9d77d0afa5469bef67f" [[package]] name = "pin-utils" @@ -3188,8 +3207,8 @@ checksum = "98e9e4b82e0ef281812565ea4751049f1bdcdfccda7d3f459f2e138a40c08678" dependencies = [ "proc-macro-error-attr", "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", "version_check", ] @@ -3200,8 +3219,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4f5444ead4e9935abd7f27dc51f7e852a0569ac888096d5ec2499470794e2e53" dependencies = [ "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", "syn-mid", "version_check", ] @@ -3229,9 +3248,9 @@ dependencies = [ [[package]] name = "procfs" -version = "0.7.8" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe50036aa1b71e553a4a0c48ab7baabf8aa8c7a5a61aae06bf38c2eab7430475" +checksum = "c434e93ef69c216e68e4f417c927b4f31502c3560b72cfdb6827e2321c5c6b3e" dependencies = [ "bitflags", "byteorder", @@ -3293,8 +3312,8 @@ dependencies = [ "anyhow", "itertools", "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", ] [[package]] @@ -3338,9 +3357,9 @@ checksum = "7a6e920b65c65f10b2ae65c831a81a073a89edd28c7cce89475bff467ab4167a" [[package]] name = "quote" -version = "1.0.4" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c1f4b0efa5fc5e8ceb705136bfee52cfdb6a4e3509f770b478cd6ed434232a7" +checksum = "42934bc9c8ab0d3b273a16d8551c8f0fcff46be73276ca083ec2414c15c4ba5e" dependencies = [ "proc-macro2", ] @@ -3605,8 +3624,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "602eb59cda66fcb9aec25841fb76bc01d2b34282dcdd705028da297db6f3eec8" dependencies = [ "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", ] [[package]] @@ -3659,9 +3678,9 @@ checksum = "cabe4fa914dec5870285fa7f71f602645da47c486e68486d2b4ceb4a343e90ac" [[package]] name = "rocksdb" -version = "0.13.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12069b106981c6103d3eab7dd1c86751482d0779a520b7c14954c8b586c1e643" +checksum = "61aa17a99a2413cd71c1106691bf59dad7de0cd5099127f90e9d99c429c40d4a" dependencies = [ "libc", "librocksdb-sys", @@ -3735,7 +3754,7 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4da5fcb054c46f5a5dff833b129285a93d3f0179531735e6c866e8cc307d2020" dependencies = [ - "futures 0.3.4", + "futures 0.3.5", "pin-project", "static_assertions", ] @@ -3757,10 +3776,10 @@ dependencies = [ [[package]] name = "sc-basic-authorship" -version = "0.8.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "0.8.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ - "futures 0.3.4", + "futures 0.3.5", "futures-timer 3.0.2", "log", "parity-scale-codec", @@ -3779,8 +3798,8 @@ dependencies = [ [[package]] name = "sc-block-builder" -version = "0.8.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "0.8.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -3795,8 +3814,8 @@ dependencies = [ [[package]] name = "sc-chain-spec" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "impl-trait-for-tuples", "sc-chain-spec-derive", @@ -3811,19 +3830,19 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "proc-macro-crate", "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", ] [[package]] name = "sc-cli" -version = "0.8.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "0.8.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "ansi_term 0.12.1", "app_dirs", @@ -3833,7 +3852,7 @@ dependencies = [ "derive_more", "env_logger", "fdlimit", - "futures 0.3.4", + "futures 0.3.5", "lazy_static", "log", "names", @@ -3859,17 +3878,17 @@ dependencies = [ "structopt", "substrate-prometheus-endpoint", "time", - "tokio 0.2.20", + "tokio 0.2.21", ] [[package]] name = "sc-client-api" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "derive_more", "fnv", - "futures 0.3.4", + "futures 0.3.5", "hash-db", "hex-literal", "kvdb", @@ -3900,8 +3919,8 @@ dependencies = [ [[package]] name = "sc-client-db" -version = "0.8.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "0.8.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "blake2-rfc", "hash-db", @@ -3929,8 +3948,8 @@ dependencies = [ [[package]] name = "sc-consensus" -version = "0.8.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "0.8.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "sc-client-api", "sp-blockchain", @@ -3940,11 +3959,11 @@ dependencies = [ [[package]] name = "sc-consensus-aura" -version = "0.8.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "0.8.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "derive_more", - "futures 0.3.4", + "futures 0.3.5", "futures-timer 3.0.2", "log", "parity-scale-codec", @@ -3966,14 +3985,15 @@ dependencies = [ "sp-runtime", "sp-timestamp", "sp-version", + "substrate-prometheus-endpoint", ] [[package]] name = "sc-consensus-slots" -version = "0.8.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "0.8.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ - "futures 0.3.4", + "futures 0.3.5", "futures-timer 3.0.2", "log", "parity-scale-codec", @@ -3981,6 +4001,7 @@ dependencies = [ "sc-client-api", "sc-telemetry", "sp-api", + "sp-application-crypto", "sp-blockchain", "sp-consensus", "sp-core", @@ -3991,8 +4012,8 @@ dependencies = [ [[package]] name = "sc-executor" -version = "0.8.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "0.8.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "derive_more", "lazy_static", @@ -4018,8 +4039,8 @@ dependencies = [ [[package]] name = "sc-executor-common" -version = "0.8.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "0.8.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "derive_more", "log", @@ -4035,8 +4056,8 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" -version = "0.8.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "0.8.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "log", "parity-scale-codec", @@ -4050,14 +4071,14 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" -version = "0.8.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "0.8.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "assert_matches", "derive_more", "finality-grandpa", "fork-tree", - "futures 0.3.4", + "futures 0.3.5", "futures-timer 3.0.2", "log", "parity-scale-codec", @@ -4087,11 +4108,11 @@ dependencies = [ [[package]] name = "sc-informant" -version = "0.8.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "0.8.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "ansi_term 0.12.1", - "futures 0.3.4", + "futures 0.3.5", "log", "parity-util-mem", "sc-client-api", @@ -4104,8 +4125,8 @@ dependencies = [ [[package]] name = "sc-keystore" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "derive_more", "hex", @@ -4119,8 +4140,8 @@ dependencies = [ [[package]] name = "sc-network" -version = "0.8.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "0.8.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "bitflags", "bytes 0.5.4", @@ -4129,7 +4150,7 @@ dependencies = [ "erased-serde", "fnv", "fork-tree", - "futures 0.3.4", + "futures 0.3.5", "futures-timer 3.0.2", "futures_codec", "hex", @@ -4170,28 +4191,27 @@ dependencies = [ [[package]] name = "sc-network-gossip" -version = "0.8.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "0.8.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ - "futures 0.3.4", + "futures 0.3.5", "futures-timer 3.0.2", "libp2p", "log", "lru", "sc-network", "sp-runtime", - "sp-utils", "wasm-timer", ] [[package]] name = "sc-offchain" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "bytes 0.5.4", "fnv", - "futures 0.3.4", + "futures 0.3.5", "futures-timer 3.0.2", "hyper 0.13.5", "hyper-rustls", @@ -4213,10 +4233,10 @@ dependencies = [ [[package]] name = "sc-peerset" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ - "futures 0.3.4", + "futures 0.3.5", "libp2p", "log", "serde_json", @@ -4226,10 +4246,10 @@ dependencies = [ [[package]] name = "sc-rpc" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ - "futures 0.3.4", + "futures 0.3.5", "hash-db", "jsonrpc-core", "jsonrpc-pubsub", @@ -4258,11 +4278,11 @@ dependencies = [ [[package]] name = "sc-rpc-api" -version = "0.8.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "0.8.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "derive_more", - "futures 0.3.4", + "futures 0.3.5", "jsonrpc-core", "jsonrpc-core-client", "jsonrpc-derive", @@ -4282,8 +4302,8 @@ dependencies = [ [[package]] name = "sc-rpc-server" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "jsonrpc-core", "jsonrpc-http-server", @@ -4297,13 +4317,13 @@ dependencies = [ [[package]] name = "sc-service" -version = "0.8.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "0.8.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "derive_more", "exit-future", "futures 0.1.29", - "futures 0.3.4", + "futures 0.3.5", "futures-timer 3.0.2", "hash-db", "lazy_static", @@ -4355,8 +4375,8 @@ dependencies = [ [[package]] name = "sc-state-db" -version = "0.8.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "0.8.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "log", "parity-scale-codec", @@ -4369,11 +4389,11 @@ dependencies = [ [[package]] name = "sc-telemetry" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "bytes 0.5.4", - "futures 0.3.4", + "futures 0.3.5", "futures-timer 3.0.2", "libp2p", "log", @@ -4391,8 +4411,8 @@ dependencies = [ [[package]] name = "sc-tracing" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "erased-serde", "log", @@ -4406,11 +4426,11 @@ dependencies = [ [[package]] name = "sc-transaction-graph" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "derive_more", - "futures 0.3.4", + "futures 0.3.5", "linked-hash-map", "log", "parity-util-mem", @@ -4426,11 +4446,11 @@ dependencies = [ [[package]] name = "sc-transaction-pool" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "derive_more", - "futures 0.3.4", + "futures 0.3.5", "futures-diagnose", "intervalier", "log", @@ -4452,9 +4472,9 @@ dependencies = [ [[package]] name = "schannel" -version = "0.1.18" +version = "0.1.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "039c25b130bd8c1321ee2d7de7fde2659fa9c2744e4bb29711cfc852ea53cd19" +checksum = "8f05ba609c234e60bee0d547fe94a4c7e9da733d1c962cf6e59efa4cd9c8bc75" dependencies = [ "lazy_static", "winapi 0.3.8", @@ -4496,9 +4516,9 @@ dependencies = [ [[package]] name = "security-framework" -version = "0.4.3" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f331b9025654145cd425b9ded0caf8f5ae0df80d418b326e2dc1c3dc5eb0620" +checksum = "64808902d7d99f78eaddd2b4e2509713babc3dc3c85ad6f4c447680f3c01e535" dependencies = [ "bitflags", "core-foundation", @@ -4540,29 +4560,29 @@ checksum = "a0eddf2e8f50ced781f288c19f18621fa72a3779e3cb58dbf23b07469b0abeb4" [[package]] name = "serde" -version = "1.0.106" +version = "1.0.110" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36df6ac6412072f67cf767ebbde4133a5b2e88e76dc6187fa7104cd16f783399" +checksum = "99e7b308464d16b56eba9964e4972a3eee817760ab60d88c3f86e1fecb08204c" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.106" +version = "1.0.110" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e549e3abf4fb8621bd1609f11dfc9f5e50320802273b12f3811a67e6716ea6c" +checksum = "818fbf6bfa9a42d3bfcaca148547aa00c7b915bec71d1757aa2d44ca68771984" dependencies = [ "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", ] [[package]] name = "serde_json" -version = "1.0.52" +version = "1.0.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7894c8ed05b7a3a279aeb79025fdec1d3158080b75b98a08faf2806bb799edd" +checksum = "993948e75b189211a9b31a7528f950c6adc21f9720b6438ff80a7fa2f864cea2" dependencies = [ "itoa", "ryu", @@ -4684,8 +4704,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a945ec7f7ce853e89ffa36be1e27dce9a43e82ff9093bf3461c30d5da74ed11b" dependencies = [ "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", ] [[package]] @@ -4730,7 +4750,7 @@ dependencies = [ "base64", "bytes 0.5.4", "flate2", - "futures 0.3.4", + "futures 0.3.5", "http 0.2.1", "httparse", "log", @@ -4743,8 +4763,8 @@ dependencies = [ [[package]] name = "sp-allocator" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "derive_more", "log", @@ -4755,8 +4775,8 @@ dependencies = [ [[package]] name = "sp-api" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "hash-db", "parity-scale-codec", @@ -4770,20 +4790,20 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "blake2-rfc", "proc-macro-crate", "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", ] [[package]] name = "sp-application-crypto" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "parity-scale-codec", "serde", @@ -4794,8 +4814,8 @@ dependencies = [ [[package]] name = "sp-arithmetic" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "integer-sqrt", "num-traits 0.2.11", @@ -4808,8 +4828,8 @@ dependencies = [ [[package]] name = "sp-block-builder" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "parity-scale-codec", "sp-api", @@ -4820,8 +4840,8 @@ dependencies = [ [[package]] name = "sp-blockchain" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "derive_more", "log", @@ -4836,8 +4856,8 @@ dependencies = [ [[package]] name = "sp-chain-spec" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "serde", "serde_json", @@ -4845,11 +4865,11 @@ dependencies = [ [[package]] name = "sp-consensus" -version = "0.8.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "0.8.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "derive_more", - "futures 0.3.4", + "futures 0.3.5", "futures-timer 3.0.2", "libp2p", "log", @@ -4863,12 +4883,13 @@ dependencies = [ "sp-std", "sp-utils", "sp-version", + "substrate-prometheus-endpoint", ] [[package]] name = "sp-consensus-aura" -version = "0.8.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "0.8.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "parity-scale-codec", "sp-api", @@ -4881,14 +4902,15 @@ dependencies = [ [[package]] name = "sp-core" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "base58", "blake2-rfc", "byteorder", + "derive_more", "ed25519-dalek", - "futures 0.3.4", + "futures 0.3.5", "hash-db", "hash256-std-hasher", "hex", @@ -4922,8 +4944,8 @@ dependencies = [ [[package]] name = "sp-database" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "kvdb", "parking_lot 0.10.2", @@ -4931,18 +4953,18 @@ dependencies = [ [[package]] name = "sp-debug-derive" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", ] [[package]] name = "sp-externalities" -version = "0.8.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "0.8.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "environmental", "parity-scale-codec", @@ -4952,21 +4974,24 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ + "finality-grandpa", + "log", "parity-scale-codec", "serde", "sp-api", "sp-application-crypto", + "sp-core", "sp-runtime", "sp-std", ] [[package]] name = "sp-finality-tracker" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -4975,8 +5000,8 @@ dependencies = [ [[package]] name = "sp-inherents" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "derive_more", "parity-scale-codec", @@ -4987,10 +5012,10 @@ dependencies = [ [[package]] name = "sp-io" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ - "futures 0.3.4", + "futures 0.3.5", "hash-db", "libsecp256k1", "log", @@ -5007,8 +5032,8 @@ dependencies = [ [[package]] name = "sp-keyring" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "lazy_static", "sp-core", @@ -5018,8 +5043,8 @@ dependencies = [ [[package]] name = "sp-offchain" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "sp-api", "sp-core", @@ -5028,8 +5053,8 @@ dependencies = [ [[package]] name = "sp-panic-handler" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "backtrace", "log", @@ -5037,8 +5062,8 @@ dependencies = [ [[package]] name = "sp-rpc" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "serde", "sp-core", @@ -5046,8 +5071,8 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "hash256-std-hasher", "impl-trait-for-tuples", @@ -5067,8 +5092,8 @@ dependencies = [ [[package]] name = "sp-runtime-interface" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "parity-scale-codec", "primitive-types", @@ -5082,20 +5107,20 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "Inflector", "proc-macro-crate", "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", ] [[package]] name = "sp-serializer" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "serde", "serde_json", @@ -5103,19 +5128,21 @@ dependencies = [ [[package]] name = "sp-session" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ + "parity-scale-codec", "sp-api", "sp-core", "sp-runtime", + "sp-staking", "sp-std", ] [[package]] name = "sp-staking" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -5124,8 +5151,8 @@ dependencies = [ [[package]] name = "sp-state-machine" -version = "0.8.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "0.8.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "hash-db", "log", @@ -5143,13 +5170,13 @@ dependencies = [ [[package]] name = "sp-std" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" [[package]] name = "sp-storage" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "impl-serde 0.2.3", "ref-cast", @@ -5160,8 +5187,8 @@ dependencies = [ [[package]] name = "sp-timestamp" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -5174,19 +5201,19 @@ dependencies = [ [[package]] name = "sp-tracing" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "tracing", ] [[package]] name = "sp-transaction-pool" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "derive_more", - "futures 0.3.4", + "futures 0.3.5", "log", "parity-scale-codec", "serde", @@ -5197,8 +5224,8 @@ dependencies = [ [[package]] name = "sp-trie" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "hash-db", "memory-db", @@ -5211,10 +5238,10 @@ dependencies = [ [[package]] name = "sp-utils" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ - "futures 0.3.4", + "futures 0.3.5", "futures-core", "lazy_static", "prometheus", @@ -5222,8 +5249,8 @@ dependencies = [ [[package]] name = "sp-version" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "impl-serde 0.2.3", "parity-scale-codec", @@ -5234,8 +5261,8 @@ dependencies = [ [[package]] name = "sp-wasm-interface" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -5305,8 +5332,8 @@ dependencies = [ "heck", "proc-macro-error", "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", ] [[package]] @@ -5326,8 +5353,8 @@ checksum = "0054a7df764039a6cd8592b9de84be4bec368ff081d203a7d5371cbfa8e65c81" dependencies = [ "heck", "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", ] [[package]] @@ -5344,16 +5371,16 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" -version = "2.0.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "2.0.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "platforms", ] [[package]] name = "substrate-prometheus-endpoint" -version = "0.8.0-alpha.7" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.7#83a6f1add7957160283ac5d7e627da06beb725d9" +version = "0.8.0-alpha.8" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" dependencies = [ "async-std", "derive_more", @@ -5361,13 +5388,13 @@ dependencies = [ "hyper 0.13.5", "log", "prometheus", - "tokio 0.2.20", + "tokio 0.2.21", ] [[package]] name = "substrate-wasm-builder-runner" -version = "1.0.5" -source = "git+https://github.com/paritytech/substrate.git#a2512e837003db3d3267764283edf31cf95a206c" +version = "1.0.6" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" [[package]] name = "subtle" @@ -5394,12 +5421,12 @@ dependencies = [ [[package]] name = "syn" -version = "1.0.18" +version = "1.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "410a7488c0a728c7ceb4ad59b9567eb4053d02e8cc7f5c0e0eeeb39518369213" +checksum = "4696caa4048ac7ce2bcd2e484b3cef88c1004e41b8e945a277e2c25dc0b72060" dependencies = [ "proc-macro2", - "quote 1.0.4", + "quote 1.0.5", "unicode-xid 0.2.0", ] @@ -5410,8 +5437,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7be3539f6c128a931cf19dcee741c1af532c7fd387baa739c03dd2e96479338a" dependencies = [ "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", ] [[package]] @@ -5430,8 +5457,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "67656ea1dc1b41b1451851562ea232ec2e5a80242139f7e679ceccfb5d61f545" dependencies = [ "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", "unicode-xid 0.2.0", ] @@ -5490,22 +5517,22 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.16" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d12a1dae4add0f0d568eebc7bf142f145ba1aa2544cafb195c76f0f409091b60" +checksum = "467e5ff447618a916519a4e0d62772ab14f434897f3d63f05d8700ef1e9b22c1" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.16" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f34e0c1caaa462fd840ec6b768946ea1e7842620d94fe29d5b847138f521269" +checksum = "e63c1091225b9834089b429bc4a2e01223470e3183e891582909e9d1c4cb55d9" dependencies = [ "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", ] [[package]] @@ -5519,9 +5546,9 @@ dependencies = [ [[package]] name = "threadpool" -version = "1.8.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8dae184447c15d5a6916d973c642aec485105a13cd238192a6927ae3e077d66" +checksum = "d050e60b33d41c19108b32cea32164033a9013fe3b46cbd4457559bfbf77afaa" dependencies = [ "num_cpus", ] @@ -5587,9 +5614,9 @@ dependencies = [ [[package]] name = "tokio" -version = "0.2.20" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05c1d570eb1a36f0345a5ce9c6c6e665b70b73d11236912c0b477616aeec47b1" +checksum = "d099fa27b9702bed751524694adbe393e18b36b204da91eb1cbbbbb4a5ee2d58" dependencies = [ "bytes 0.5.4", "fnv", @@ -5709,7 +5736,7 @@ checksum = "4adb8b3e5f86b707f1b54e7c15b6de52617a823608ccda98a15d3a24222f265a" dependencies = [ "futures-core", "rustls", - "tokio 0.2.20", + "tokio 0.2.21", "webpki", ] @@ -5821,7 +5848,7 @@ dependencies = [ "futures-sink", "log", "pin-project-lite", - "tokio 0.2.20", + "tokio 0.2.21", ] [[package]] @@ -5841,9 +5868,9 @@ checksum = "e987b6bf443f4b5b3b6f38704195592cca41c5bb7aedd3c3693c7081f8289860" [[package]] name = "tracing" -version = "0.1.13" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1721cc8cf7d770cc4257872507180f35a4797272f5962f24c806af9e7faf52ab" +checksum = "a7c6b59d116d218cb2d990eb06b77b64043e0268ef7323aae63d8b30ae462923" dependencies = [ "cfg-if", "tracing-attributes", @@ -5852,12 +5879,13 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.7" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fbad39da2f9af1cae3016339ad7f2c7a9e870f12e8fd04c4fd7ef35b30c0d2b" +checksum = "99bbad0de3fd923c9c3232ead88510b783e5a4d16a6154adffa3d53308de984c" dependencies = [ - "quote 1.0.4", - "syn 1.0.18", + "proc-macro2", + "quote 1.0.5", + "syn 1.0.21", ] [[package]] @@ -6086,8 +6114,8 @@ dependencies = [ "lazy_static", "log", "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", "wasm-bindgen-shared", ] @@ -6109,7 +6137,7 @@ version = "0.2.62" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2cd85aa2c579e8892442954685f0d801f9129de24fa2136b2c6a539c76b65776" dependencies = [ - "quote 1.0.4", + "quote 1.0.5", "wasm-bindgen-macro-support", ] @@ -6120,8 +6148,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8eb197bd3a47553334907ffd2f16507b4f4f01bbec3ac921a7719e0decdfe72a" dependencies = [ "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -6138,7 +6166,7 @@ version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "324c5e65a08699c9c4334ba136597ab22b85dccd4b65dd1e36ccf8f723a95b54" dependencies = [ - "futures 0.3.4", + "futures 0.3.5", "js-sys", "parking_lot 0.9.0", "pin-utils", @@ -6312,7 +6340,7 @@ version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "84300bb493cc878f3638b981c62b4632ec1a5c52daaa3036651e8c106d3b55ea" dependencies = [ - "futures 0.3.4", + "futures 0.3.5", "log", "nohash-hasher", "parking_lot 0.10.2", @@ -6336,7 +6364,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "de251eec69fc7c1bc3923403d18ececb929380e016afe103da75f396704f8ca2" dependencies = [ "proc-macro2", - "quote 1.0.4", - "syn 1.0.18", + "quote 1.0.5", + "syn 1.0.21", "synstructure", ] diff --git a/README.md b/README.md index 4eefba4..e7bc563 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,6 @@ # Substrate Node Template -A new Substrate node, ready for hacking. This node includes: - -* A FRAME-based runtime -* A template pallet -* Aura block authoring -* Grandpa finality gadget +A new FRAME-based Substrate node, ready for hacking. ## Build @@ -61,7 +56,7 @@ cargo run -- \ --chain=local \ --alice \ --node-key 0000000000000000000000000000000000000000000000000000000000000001 \ - --telemetry-url ws://telemetry.polkadot.io:1024 \ + --telemetry-url 'ws://telemetry.polkadot.io:1024 0' \ --validator ``` @@ -74,7 +69,7 @@ cargo run -- \ --chain=local \ --bob \ --port 30334 \ - --telemetry-url ws://telemetry.polkadot.io:1024 \ + --telemetry-url 'ws://telemetry.polkadot.io:1024 0' \ --validator ``` diff --git a/node/Cargo.toml b/node/Cargo.toml index df66af1..204a3f7 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -1,13 +1,13 @@ [package] -authors = ['Anonymous'] +authors = ['Substrate DevHub '] build = 'build.rs' -description = 'Substrate Node template' +description = 'Substrate node template' edition = '2018' -homepage = 'https://substrate.dev' +homepage = 'https://substrate.io' license = 'Unlicense' name = 'node-template' -repository = 'https://github.com/paritytech/substrate/' -version = '2.0.0-alpha.7' +repository = 'https://github.com/substrate-developer-hub/substrate-node-template/' +version = '2.0.0-alpha.8' [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] @@ -15,93 +15,102 @@ targets = ['x86_64-unknown-linux-gnu'] [dependencies] futures = '0.3.4' log = '0.4.8' +parking_lot = '0.10.0' structopt = '0.3.8' [dependencies.node-template-runtime] path = '../runtime' -version = '2.0.0-alpha.7' +version = '2.0.0-alpha.8' [dependencies.sc-basic-authorship] git = 'https://github.com/paritytech/substrate.git' -version = '0.8.0-alpha.7' -tag = 'v2.0.0-alpha.7' +tag = 'v2.0.0-alpha.8' +version = '0.8.0-alpha.8' [dependencies.sc-cli] git = 'https://github.com/paritytech/substrate.git' -version = '0.8.0-alpha.7' -tag = 'v2.0.0-alpha.7' +tag = 'v2.0.0-alpha.8' +version = '0.8.0-alpha.8' [dependencies.sc-client-api] git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.7' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dependencies.sc-consensus] git = 'https://github.com/paritytech/substrate.git' -version = '0.8.0-alpha.7' -tag = 'v2.0.0-alpha.7' +tag = 'v2.0.0-alpha.8' +version = '0.8.0-alpha.8' [dependencies.sc-consensus-aura] git = 'https://github.com/paritytech/substrate.git' -version = '0.8.0-alpha.7' -tag = 'v2.0.0-alpha.7' +tag = 'v2.0.0-alpha.8' +version = '0.8.0-alpha.8' [dependencies.sc-executor] git = 'https://github.com/paritytech/substrate.git' -version = '0.8.0-alpha.7' -tag = 'v2.0.0-alpha.7' +tag = 'v2.0.0-alpha.8' +version = '0.8.0-alpha.8' [dependencies.sc-finality-grandpa] git = 'https://github.com/paritytech/substrate.git' -version = '0.8.0-alpha.7' -tag = 'v2.0.0-alpha.7' +tag = 'v2.0.0-alpha.8' +version = '0.8.0-alpha.8' [dependencies.sc-network] git = 'https://github.com/paritytech/substrate.git' -version = '0.8.0-alpha.7' -tag = 'v2.0.0-alpha.7' +tag = 'v2.0.0-alpha.8' +version = '0.8.0-alpha.8' [dependencies.sc-service] git = 'https://github.com/paritytech/substrate.git' -version = '0.8.0-alpha.7' -tag = 'v2.0.0-alpha.7' +tag = 'v2.0.0-alpha.8' +version = '0.8.0-alpha.8' [dependencies.sc-transaction-pool] git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.7' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dependencies.sp-consensus] git = 'https://github.com/paritytech/substrate.git' -version = '0.8.0-alpha.7' -tag = 'v2.0.0-alpha.7' +tag = 'v2.0.0-alpha.8' +version = '0.8.0-alpha.8' [dependencies.sp-consensus-aura] git = 'https://github.com/paritytech/substrate.git' -version = '0.8.0-alpha.7' -tag = 'v2.0.0-alpha.7' +tag = 'v2.0.0-alpha.8' +version = '0.8.0-alpha.8' [dependencies.sp-core] git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.7' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dependencies.sp-finality-grandpa] git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.7' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dependencies.sp-inherents] git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.7' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dependencies.sp-runtime] git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.7' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dependencies.sp-transaction-pool] git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.7' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [build-dependencies.substrate-build-script-utils] git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.7' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [[bin]] name = 'node-template' diff --git a/node/src/command.rs b/node/src/command.rs index 7950df9..18e1b22 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -1,24 +1,24 @@ -// Copyright 2017-2020 Parity Technologies (UK) Ltd. // This file is part of Substrate. -// Substrate is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// Copyright (C) 2017-2020 Parity Technologies (UK) Ltd. +// SPDX-License-Identifier: Apache-2.0 -// Substrate is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License -// along with Substrate. If not, see . +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. use crate::chain_spec; use crate::cli::Cli; use crate::service; use sc_cli::SubstrateCli; -use sp_consensus_aura::sr25519::AuthorityPair as AuraPair; impl SubstrateCli for Cli { fn impl_name() -> &'static str { diff --git a/node/src/service.rs b/node/src/service.rs index fe741f4..d02e9ea 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -11,7 +11,7 @@ use sc_executor::native_executor_instance; pub use sc_executor::NativeExecutor; use sp_consensus_aura::sr25519::{AuthorityPair as AuraPair}; use sc_finality_grandpa::{ - self, FinalityProofProvider as GrandpaFinalityProofProvider, SharedVoterState, StorageAndProofProvider + FinalityProofProvider as GrandpaFinalityProofProvider, StorageAndProofProvider, SharedVoterState, }; // Our native executor instance. @@ -28,6 +28,8 @@ native_executor_instance!( macro_rules! new_full_start { ($config:expr) => {{ use std::sync::Arc; + use sp_consensus_aura::sr25519::AuthorityPair as AuraPair; + let mut import_setup = None; let inherent_data_providers = sp_inherents::InherentDataProviders::new(); @@ -41,12 +43,22 @@ macro_rules! new_full_start { let pool_api = sc_transaction_pool::FullChainApi::new(client.clone()); Ok(sc_transaction_pool::BasicPool::new(config, std::sync::Arc::new(pool_api), prometheus_registry)) })? - .with_import_queue(|_config, client, mut select_chain, _transaction_pool, spawn_task_handle| { + .with_import_queue(| + _config, + client, + mut select_chain, + _transaction_pool, + spawn_task_handle, + registry, + | { let select_chain = select_chain.take() .ok_or_else(|| sc_service::Error::SelectChainRequired)?; - let (grandpa_block_import, grandpa_link) = - sc_finality_grandpa::block_import(client.clone(), &(client.clone() as Arc<_>), select_chain)?; + let (grandpa_block_import, grandpa_link) = sc_finality_grandpa::block_import( + client.clone(), + &(client.clone() as Arc<_>), + select_chain, + )?; let aura_block_import = sc_consensus_aura::AuraBlockImport::<_, _, _, AuraPair>::new( grandpa_block_import.clone(), client.clone(), @@ -60,6 +72,7 @@ macro_rules! new_full_start { client, inherent_data_providers.clone(), spawn_task_handle, + registry, )?; import_setup = Some((grandpa_block_import, grandpa_link)); @@ -72,9 +85,7 @@ macro_rules! new_full_start { } /// Builds a new service for a full client. -pub fn new_full(config: Configuration) - -> Result -{ +pub fn new_full(config: Configuration) -> Result { let role = config.role.clone(); let force_authoring = config.force_authoring; let name = config.network.node_name.clone(); @@ -157,7 +168,7 @@ pub fn new_full(config: Configuration) telemetry_on_connect: Some(service.telemetry_on_connect_stream()), voting_rule: sc_finality_grandpa::VotingRulesBuilder::default().build(), prometheus_registry: service.prometheus_registry(), - shared_voter_state: SharedVoterState::empty() + shared_voter_state: SharedVoterState::empty(), }; // the GRANDPA voter task is considered infallible, i.e. @@ -178,9 +189,7 @@ pub fn new_full(config: Configuration) } /// Builds a new service for a light client. -pub fn new_light(config: Configuration) - -> Result -{ +pub fn new_light(config: Configuration) -> Result { let inherent_data_providers = InherentDataProviders::new(); ServiceBuilder::new_light::(config)? @@ -197,7 +206,16 @@ pub fn new_light(config: Configuration) ); Ok(pool) })? - .with_import_queue_and_fprb(|_config, client, backend, fetcher, _select_chain, _tx_pool, spawn_task_handle| { + .with_import_queue_and_fprb(| + _config, + client, + backend, + fetcher, + _select_chain, + _tx_pool, + spawn_task_handle, + prometheus_registry, + | { let fetch_checker = fetcher .map(|fetcher| fetcher.checker().clone()) .ok_or_else(|| "Trying to start light import queue without active fetch checker")?; @@ -219,6 +237,7 @@ pub fn new_light(config: Configuration) client, inherent_data_providers.clone(), spawn_task_handle, + prometheus_registry, )?; Ok((import_queue, finality_proof_request_builder)) diff --git a/pallets/template/Cargo.toml b/pallets/template/Cargo.toml index 9620837..1bded4b 100644 --- a/pallets/template/Cargo.toml +++ b/pallets/template/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ['Anonymous'] -description = 'FRAME pallet template' +authors = ['Substrate DevHub '] +description = 'Substrate FRAME pallet template' edition = '2018' -homepage = 'https://substrate.dev' +homepage = 'https://substrate.io' license = 'Unlicense' name = 'pallet-template' repository = 'https://github.com/paritytech/substrate/' -version = '2.0.0-alpha.7' +version = '2.0.0-alpha.8' [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] @@ -18,29 +18,34 @@ package = 'parity-scale-codec' version = '1.3.0' [dependencies.frame-support] -git = 'https://github.com/paritytech/substrate.git' default-features = false -tag = 'v2.0.0-alpha.7' +git = 'https://github.com/paritytech/substrate.git' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dependencies.frame-system] -git = 'https://github.com/paritytech/substrate.git' default-features = false -tag = 'v2.0.0-alpha.7' +git = 'https://github.com/paritytech/substrate.git' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dev-dependencies.sp-core] -git = 'https://github.com/paritytech/substrate.git' default-features = false -tag = 'v2.0.0-alpha.7' +git = 'https://github.com/paritytech/substrate.git' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dev-dependencies.sp-io] -git = 'https://github.com/paritytech/substrate.git' default-features = false -tag = 'v2.0.0-alpha.7' +git = 'https://github.com/paritytech/substrate.git' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dev-dependencies.sp-runtime] -git = 'https://github.com/paritytech/substrate.git' default-features = false -tag = 'v2.0.0-alpha.7' +git = 'https://github.com/paritytech/substrate.git' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [features] default = ['std'] diff --git a/pallets/template/src/mock.rs b/pallets/template/src/mock.rs index f587da3..33c66e2 100644 --- a/pallets/template/src/mock.rs +++ b/pallets/template/src/mock.rs @@ -36,11 +36,11 @@ impl system::Trait for Test { type Event = (); type BlockHashCount = BlockHashCount; type MaximumBlockWeight = MaximumBlockWeight; + type DbWeight = (); + type BlockExecutionWeight = (); + type ExtrinsicBaseWeight = (); type MaximumBlockLength = MaximumBlockLength; type AvailableBlockRatio = AvailableBlockRatio; - type BlockExecutionWeight = (); - type DbWeight = (); - type ExtrinsicBaseWeight = (); type Version = (); type ModuleToIndex = (); type AccountData = (); diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 8239ef0..79f6589 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -1,14 +1,16 @@ [dependencies.aura] -git = 'https://github.com/paritytech/substrate.git' default-features = false +git = 'https://github.com/paritytech/substrate.git' package = 'pallet-aura' -tag = 'v2.0.0-alpha.7' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dependencies.balances] -git = 'https://github.com/paritytech/substrate.git' default-features = false +git = 'https://github.com/paritytech/substrate.git' package = 'pallet-balances' -tag = 'v2.0.0-alpha.7' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dependencies.codec] default-features = false @@ -17,26 +19,30 @@ package = 'parity-scale-codec' version = '1.3.0' [dependencies.frame-executive] -git = 'https://github.com/paritytech/substrate.git' default-features = false -tag = 'v2.0.0-alpha.7' +git = 'https://github.com/paritytech/substrate.git' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dependencies.frame-support] -git = 'https://github.com/paritytech/substrate.git' default-features = false -tag = 'v2.0.0-alpha.7' +git = 'https://github.com/paritytech/substrate.git' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dependencies.grandpa] -git = 'https://github.com/paritytech/substrate.git' default-features = false +git = 'https://github.com/paritytech/substrate.git' package = 'pallet-grandpa' -tag = 'v2.0.0-alpha.7' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dependencies.randomness-collective-flip] -git = 'https://github.com/paritytech/substrate.git' default-features = false +git = 'https://github.com/paritytech/substrate.git' package = 'pallet-randomness-collective-flip' -tag = 'v2.0.0-alpha.7' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dependencies.serde] features = ['derive'] @@ -44,109 +50,125 @@ optional = true version = '1.0.101' [dependencies.sp-api] -git = 'https://github.com/paritytech/substrate.git' default-features = false -tag = 'v2.0.0-alpha.7' +git = 'https://github.com/paritytech/substrate.git' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dependencies.sp-block-builder] -git = 'https://github.com/paritytech/substrate.git' default-features = false -tag = 'v2.0.0-alpha.7' +git = 'https://github.com/paritytech/substrate.git' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dependencies.sp-consensus-aura] -git = 'https://github.com/paritytech/substrate.git' default-features = false -version = '0.8.0-alpha.7' -tag = 'v2.0.0-alpha.7' +git = 'https://github.com/paritytech/substrate.git' +tag = 'v2.0.0-alpha.8' +version = '0.8.0-alpha.8' [dependencies.sp-core] -git = 'https://github.com/paritytech/substrate.git' default-features = false -tag = 'v2.0.0-alpha.7' +git = 'https://github.com/paritytech/substrate.git' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dependencies.sp-inherents] -git = 'https://github.com/paritytech/substrate.git' default-features = false -tag = 'v2.0.0-alpha.7' +git = 'https://github.com/paritytech/substrate.git' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dependencies.sp-io] -git = 'https://github.com/paritytech/substrate.git' default-features = false -tag = 'v2.0.0-alpha.7' +git = 'https://github.com/paritytech/substrate.git' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dependencies.sp-offchain] -git = 'https://github.com/paritytech/substrate.git' default-features = false -tag = 'v2.0.0-alpha.7' +git = 'https://github.com/paritytech/substrate.git' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dependencies.sp-runtime] -git = 'https://github.com/paritytech/substrate.git' default-features = false -tag = 'v2.0.0-alpha.7' +git = 'https://github.com/paritytech/substrate.git' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dependencies.sp-session] -git = 'https://github.com/paritytech/substrate.git' default-features = false -tag = 'v2.0.0-alpha.7' +git = 'https://github.com/paritytech/substrate.git' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dependencies.sp-std] -git = 'https://github.com/paritytech/substrate.git' default-features = false -tag = 'v2.0.0-alpha.7' +git = 'https://github.com/paritytech/substrate.git' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dependencies.sp-transaction-pool] -git = 'https://github.com/paritytech/substrate.git' default-features = false -tag = 'v2.0.0-alpha.7' +git = 'https://github.com/paritytech/substrate.git' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dependencies.sp-version] -git = 'https://github.com/paritytech/substrate.git' default-features = false -tag = 'v2.0.0-alpha.7' +git = 'https://github.com/paritytech/substrate.git' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dependencies.sudo] -git = 'https://github.com/paritytech/substrate.git' default-features = false +git = 'https://github.com/paritytech/substrate.git' package = 'pallet-sudo' -tag = 'v2.0.0-alpha.7' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dependencies.system] -git = 'https://github.com/paritytech/substrate.git' default-features = false +git = 'https://github.com/paritytech/substrate.git' package = 'frame-system' -tag = 'v2.0.0-alpha.7' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dependencies.template] default-features = false package = 'pallet-template' path = '../pallets/template' -version = '2.0.0-alpha.7' +version = '2.0.0-alpha.8' [dependencies.timestamp] -git = 'https://github.com/paritytech/substrate.git' default-features = false +git = 'https://github.com/paritytech/substrate.git' package = 'pallet-timestamp' -tag = 'v2.0.0-alpha.7' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [dependencies.transaction-payment] -git = 'https://github.com/paritytech/substrate.git' default-features = false +git = 'https://github.com/paritytech/substrate.git' package = 'pallet-transaction-payment' -tag = 'v2.0.0-alpha.7' +tag = 'v2.0.0-alpha.8' +version = '2.0.0-alpha.8' [build-dependencies.wasm-builder-runner] git = 'https://github.com/paritytech/substrate.git' package = 'substrate-wasm-builder-runner' +tag = 'v2.0.0-alpha.8' version = '1.0.5' [package] -authors = ['Anonymous'] +authors = ['Substrate DevHub '] edition = '2018' -homepage = 'https://substrate.dev' +homepage = 'https://substrate.io' license = 'Unlicense' name = 'node-template-runtime' -repository = 'https://github.com/paritytech/substrate/' -version = '2.0.0-alpha.7' +repository = 'https://github.com/substrate-developer-hub/substrate-node-template/' +version = '2.0.0-alpha.8' [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 0deb35c..b1b73f3 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -9,17 +9,17 @@ include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); use sp_std::prelude::*; -use sp_core::OpaqueMetadata; +use sp_core::{crypto::KeyTypeId, OpaqueMetadata}; use sp_runtime::{ ApplyExtrinsicResult, generic, create_runtime_str, impl_opaque_keys, MultiSignature, transaction_validity::{TransactionValidity, TransactionSource}, }; use sp_runtime::traits::{ - BlakeTwo256, Block as BlockT, IdentityLookup, Verify, ConvertInto, IdentifyAccount + BlakeTwo256, Block as BlockT, IdentityLookup, Verify, ConvertInto, IdentifyAccount, NumberFor, }; use sp_api::impl_runtime_apis; use sp_consensus_aura::sr25519::AuthorityId as AuraId; -use grandpa::AuthorityList as GrandpaAuthorityList; +use grandpa::{AuthorityId as GrandpaId, AuthorityList as GrandpaAuthorityList}; use grandpa::fg_primitives; use sp_version::RuntimeVersion; #[cfg(feature = "std")] @@ -32,8 +32,8 @@ pub use timestamp::Call as TimestampCall; pub use balances::Call as BalancesCall; pub use sp_runtime::{Permill, Perbill}; pub use frame_support::{ - StorageValue, construct_runtime, parameter_types, - traits::Randomness, + construct_runtime, parameter_types, StorageValue, + traits::{KeyOwnerProofSystem, Randomness}, weights::{ Weight, constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND}, @@ -100,8 +100,8 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { authoring_version: 1, spec_version: 1, impl_version: 1, - transaction_version: 1, apis: RUNTIME_API_VERSIONS, + transaction_version: 1, }; pub const MILLISECS_PER_BLOCK: u64 = 6000; @@ -123,7 +123,7 @@ pub fn native_version() -> NativeVersion { } parameter_types! { - pub const BlockHashCount: BlockNumber = 250; + pub const BlockHashCount: BlockNumber = 2400; /// We allow for 2 seconds of compute with a 6 second average block time. pub const MaximumBlockWeight: Weight = 2 * WEIGHT_PER_SECOND; pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75); @@ -156,18 +156,18 @@ impl system::Trait for Runtime { type BlockHashCount = BlockHashCount; /// Maximum weight of each block. type MaximumBlockWeight = MaximumBlockWeight; + /// The weight of database operations that the runtime can invoke. + type DbWeight = RocksDbWeight; + /// The weight of the overhead invoked on the block import process, independent of the + /// extrinsics included in that block. + type BlockExecutionWeight = BlockExecutionWeight; + /// The base weight of any extrinsic processed by the runtime, independent of the + /// logic of that extrinsic. (Signature verification, nonce increment, fee, etc...) + type ExtrinsicBaseWeight = ExtrinsicBaseWeight; /// Maximum size of all encoded transactions (in bytes) that are allowed in one block. type MaximumBlockLength = MaximumBlockLength; /// Portion of the block weight that is available to all normal transactions. type AvailableBlockRatio = AvailableBlockRatio; - /// The weight of the overhead invoked on the block import process, independent of the - /// extrinsics included in that block. - type BlockExecutionWeight = BlockExecutionWeight; - /// The weight of database operations that the runtime can invoke. - type DbWeight = RocksDbWeight; - /// The base weight of any extrinsic processed by the runtime, independent of the - /// logic of that extrinsic. (Signature verification, nonce increment, fee, etc...) - type ExtrinsicBaseWeight = ExtrinsicBaseWeight; /// Version of the runtime. type Version = Version; /// Converts a module to the index of the module in `construct_runtime!`. @@ -188,6 +188,19 @@ impl aura::Trait for Runtime { impl grandpa::Trait for Runtime { type Event = Event; + type Call = Call; + + type KeyOwnerProofSystem = (); + + type KeyOwnerProof = + >::Proof; + + type KeyOwnerIdentification = >::IdentificationTuple; + + type HandleEquivocation = (); } parameter_types! { @@ -268,7 +281,8 @@ pub type SignedBlock = generic::SignedBlock; pub type BlockId = generic::BlockId; /// The SignedExtension to the basic transaction logic. pub type SignedExtra = ( - system::CheckVersion, + system::CheckSpecVersion, + system::CheckTxVersion, system::CheckGenesis, system::CheckEra, system::CheckNonce, @@ -360,7 +374,7 @@ impl_runtime_apis! { fn decode_session_keys( encoded: Vec, - ) -> Option, sp_core::crypto::KeyTypeId)>> { + ) -> Option, KeyTypeId)>> { opaque::SessionKeys::decode_into_raw_public_keys(&encoded) } } @@ -369,5 +383,25 @@ impl_runtime_apis! { fn grandpa_authorities() -> GrandpaAuthorityList { Grandpa::grandpa_authorities() } + + fn submit_report_equivocation_extrinsic( + _equivocation_proof: fg_primitives::EquivocationProof< + ::Hash, + NumberFor, + >, + _key_owner_proof: fg_primitives::OpaqueKeyOwnershipProof, + ) -> Option<()> { + None + } + + fn generate_key_ownership_proof( + _set_id: fg_primitives::SetId, + _authority_id: GrandpaId, + ) -> Option { + // NOTE: this is the only implementation possible since we've + // defined our key owner proof type as a bottom type (i.e. a type + // with no values). + None + } } }