From 131195352b7069c662199d354e245d424d426b8d Mon Sep 17 00:00:00 2001 From: Ricardo Rius <9488369+riusricardo@users.noreply.github.com> Date: Mon, 25 May 2020 23:48:38 +0200 Subject: [PATCH] Update to v2.0.0-rc1 (#45) --- Cargo.lock | 1000 ++++++++++++++++++++-------------- Cargo.toml | 5 +- node/Cargo.toml | 76 +-- node/src/service.rs | 7 +- pallets/template/Cargo.toml | 29 +- pallets/template/src/mock.rs | 1 + runtime/Cargo.toml | 126 ++--- runtime/src/lib.rs | 13 +- 8 files changed, 721 insertions(+), 536 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7de9432..194bb4b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -12,9 +12,9 @@ dependencies = [ [[package]] name = "addr2line" -version = "0.12.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "456d75cbb82da1ad150c8a9d97285ffcd21c9931dcb11e995903e7d75141b38b" +checksum = "a49806b9dadc843c61e7c97e72490ad7f7220ae249012fbda9ad0609457c0543" dependencies = [ "gimli", ] @@ -78,18 +78,6 @@ version = "1.0.31" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "85bb70cc08ec97ca5450e6eba421deeea5f172c0fc61f78b5357b2a8e8be195f" -[[package]] -name = "app_dirs" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e73a24bad9bd6a94d6395382a6c69fe071708ae4409f763c5475e14ee896313d" -dependencies = [ - "ole32-sys", - "shell32-sys", - "winapi 0.2.8", - "xdg", -] - [[package]] name = "approx" version = "0.3.2" @@ -141,8 +129,8 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0d0864d84b8e07b145449be9a8537db86bf9de5ce03b913214694643b4743502" dependencies = [ - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", ] [[package]] @@ -152,19 +140,29 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7deb0a829ca7bcfaf5da70b073a8d128619259a7be8216a355e23f00763059e5" [[package]] -name = "async-std" -version = "1.5.0" +name = "async-macros" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "538ecb01eb64eecd772087e5b6f7540cbc917f047727339a472dafed2185b267" +checksum = "e421d59b24c1feea2496e409b3e0a8de23e5fc130a2ddc0b012e551f3b272bba" dependencies = [ - "async-task", - "broadcaster", - "crossbeam-channel", + "futures-core-preview", + "pin-utils", +] + +[[package]] +name = "async-std" +version = "0.99.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44501a9f7961bb539b67be0c428b3694e26557046a52759ca7eaf790030a64cc" +dependencies = [ + "async-macros", + "async-task 1.3.1", + "crossbeam-channel 0.3.9", "crossbeam-deque", - "crossbeam-utils", + "crossbeam-utils 0.6.6", "futures-core", "futures-io", - "futures-timer 2.0.2", + "futures-timer 1.0.3", "kv-log-macro", "log", "memchr", @@ -177,6 +175,30 @@ dependencies = [ "slab", ] +[[package]] +name = "async-std" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a45cee2749d880d7066e328a7e161c7470ced883b2fd000ca4643e9f1dd5083a" +dependencies = [ + "async-task 3.0.0", + "crossbeam-utils 0.7.2", + "futures-channel", + "futures-core", + "futures-io", + "futures-timer 3.0.2", + "kv-log-macro", + "log", + "memchr", + "num_cpus", + "once_cell", + "pin-project-lite", + "pin-utils", + "slab", + "smol", + "wasm-bindgen-futures", +] + [[package]] name = "async-task" version = "1.3.1" @@ -187,6 +209,12 @@ dependencies = [ "winapi 0.3.8", ] +[[package]] +name = "async-task" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c17772156ef2829aadc587461c7753af20b7e8db1529bc66855add962a3b35d3" + [[package]] name = "async-tls" version = "0.7.0" @@ -249,9 +277,9 @@ checksum = "b41b7ea54a0c9d92199de89e20e58d49f02f8e699814ef3fdf266f6f748d15c7" [[package]] name = "bindgen" -version = "0.53.2" +version = "0.53.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bb26d6a69a335b8cb0e7c7e9775cd5666611dc50a37177c3f2cedcfc040e8c8" +checksum = "c72a978d268b1d70b0e963217e60fdabd9523a941457a6c42a7315d15c7e89e5" dependencies = [ "bitflags", "cexpr", @@ -264,7 +292,7 @@ dependencies = [ "log", "peeking_take_while", "proc-macro2", - "quote 1.0.5", + "quote 1.0.6", "regex", "rustc-hash", "shlex", @@ -358,20 +386,6 @@ dependencies = [ "byte-tools", ] -[[package]] -name = "broadcaster" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9c972e21e0d055a36cf73e4daae870941fe7a8abcd5ac3396aab9e4c126bd87" -dependencies = [ - "futures-channel", - "futures-core", - "futures-sink", - "futures-util", - "parking_lot 0.10.2", - "slab", -] - [[package]] name = "bs58" version = "0.3.1" @@ -436,9 +450,9 @@ checksum = "4964518bd3b4a8190e832886cdc0da9794f12e8e6c1613a9e90ff331c4c8724b" [[package]] name = "cc" -version = "1.0.53" +version = "1.0.54" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "404b1fe4f65288577753b17e3b36a04596ee784493ec249bf81c7f2d2acd751c" +checksum = "7bbb73db36c1246e9034e307d0fba23f9a2e251faa47ade70c1bd252220c8311" dependencies = [ "jobserver", ] @@ -573,13 +587,36 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "crossbeam" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69323bff1fb41c635347b8ead484a5ca6c3f11914d784170b158d8449ab07f8e" +dependencies = [ + "cfg-if", + "crossbeam-channel 0.4.2", + "crossbeam-deque", + "crossbeam-epoch", + "crossbeam-queue", + "crossbeam-utils 0.7.2", +] + +[[package]] +name = "crossbeam-channel" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8ec7fcd21571dc78f96cc96243cab8d8f035247c3efd16c687be154c3fa9efa" +dependencies = [ + "crossbeam-utils 0.6.6", +] + [[package]] name = "crossbeam-channel" version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cced8691919c02aac3cb0a1bc2e9b73d89e832bf9a06fc579d4e71b68a2da061" dependencies = [ - "crossbeam-utils", + "crossbeam-utils 0.7.2", "maybe-uninit", ] @@ -590,7 +627,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9f02af974daeee82218205558e51ec8768b48cf524bd01d550abe5573a608285" dependencies = [ "crossbeam-epoch", - "crossbeam-utils", + "crossbeam-utils 0.7.2", "maybe-uninit", ] @@ -602,7 +639,7 @@ checksum = "058ed274caafc1f60c4997b5fc07bf7dc7cca454af7c6e81edffe5f33f70dace" dependencies = [ "autocfg 1.0.0", "cfg-if", - "crossbeam-utils", + "crossbeam-utils 0.7.2", "lazy_static", "maybe-uninit", "memoffset", @@ -616,7 +653,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c695eeca1e7173472a32221542ae469b3e9aac3a4fc81f7696bcad82029493db" dependencies = [ "cfg-if", - "crossbeam-utils", + "crossbeam-utils 0.7.2", +] + +[[package]] +name = "crossbeam-utils" +version = "0.6.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04973fa96e96579258a5091af6003abde64af786b860f18622b82e026cca60e6" +dependencies = [ + "cfg-if", + "lazy_static", ] [[package]] @@ -670,19 +717,19 @@ dependencies = [ [[package]] name = "data-encoding" -version = "2.2.0" +version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11c0346158a19b3627234e15596f5e465c360fcdb97d817bcb255e0510f5a788" +checksum = "72aa14c04dfae8dd7d8a2b1cb7ca2152618cd01336dbfe704b8dcbf8d41dbd69" [[package]] name = "derive_more" -version = "0.99.6" +version = "0.99.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46b046a346c374c6c3c84d2070bfe33904504686bdf949c2d8eb22edad3f270c" +checksum = "2127768764f1556535c01b5326ef94bd60ff08dcfbdc544d53e69ed155610f5d" dependencies = [ "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", ] [[package]] @@ -694,6 +741,28 @@ dependencies = [ "generic-array", ] +[[package]] +name = "directories" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "551a778172a450d7fc12e629ca3b0428d00f6afa9a43da1b630d54604e97371c" +dependencies = [ + "cfg-if", + "dirs-sys", +] + +[[package]] +name = "dirs-sys" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afa0b23de8fd801745c471deffa6e12d248f962c9fd4b4c33787b055599bde7b" +dependencies = [ + "cfg-if", + "libc", + "redox_users", + "winapi 0.3.8", +] + [[package]] name = "dns-parser" version = "0.8.0" @@ -793,8 +862,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4" dependencies = [ "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", "synstructure", ] @@ -867,16 +936,16 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "parity-scale-codec", ] [[package]] name = "frame-benchmarking" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "frame-support", "frame-system", @@ -892,8 +961,8 @@ dependencies = [ [[package]] name = "frame-executive" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "frame-support", "frame-system", @@ -907,8 +976,8 @@ dependencies = [ [[package]] name = "frame-metadata" -version = "11.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "11.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "parity-scale-codec", "serde", @@ -918,8 +987,8 @@ dependencies = [ [[package]] name = "frame-support" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "bitmask", "frame-metadata", @@ -930,6 +999,7 @@ dependencies = [ "parity-scale-codec", "paste", "serde", + "smallvec 1.4.0", "sp-arithmetic", "sp-core", "sp-inherents", @@ -942,41 +1012,41 @@ dependencies = [ [[package]] name = "frame-support-procedural" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "frame-support-procedural-tools", "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", ] [[package]] name = "frame-support-procedural-tools" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", ] [[package]] name = "frame-support-procedural-tools-derive" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", ] [[package]] name = "frame-system" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -1127,8 +1197,8 @@ checksum = "d0b5a30a4328ab5473878237c447333c093297bded83a4983d10f4deea240d39" dependencies = [ "proc-macro-hack", "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", ] [[package]] @@ -1146,6 +1216,16 @@ dependencies = [ "once_cell", ] +[[package]] +name = "futures-timer" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7946248e9429ff093345d3e8fdf4eb0f9b2d79091611c9c14f744971a6f8be45" +dependencies = [ + "futures-core-preview", + "pin-utils", +] + [[package]] name = "futures-timer" version = "2.0.2" @@ -1157,6 +1237,10 @@ name = "futures-timer" version = "3.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" +dependencies = [ + "gloo-timers", + "send_wrapper 0.4.0", +] [[package]] name = "futures-util" @@ -1276,6 +1360,19 @@ dependencies = [ "regex", ] +[[package]] +name = "gloo-timers" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47204a46aaff920a1ea58b11d03dec6f704287d27561724a4631e450654a891f" +dependencies = [ + "futures-channel", + "futures-core", + "js-sys", + "wasm-bindgen", + "web-sys", +] + [[package]] name = "h2" version = "0.1.26" @@ -1349,9 +1446,9 @@ dependencies = [ [[package]] name = "hermit-abi" -version = "0.1.12" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61565ff7aaace3525556587bd2dc31d4a07071957be715e63ce7b1eccf51a8f4" +checksum = "91780f809e750b0a89f5544be56617ff6b1227ee485bcb06ebe10cdf89bd3b71" dependencies = [ "libc", ] @@ -1589,8 +1686,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ef5550a42e3740a0e71f909d4c861056a284060af885ae7aa6242820f920d9d" dependencies = [ "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", ] [[package]] @@ -1718,8 +1815,8 @@ checksum = "8609af8f63b626e8e211f52441fcdb6ec54f1a446606b10d5c89ae9bf8a20058" dependencies = [ "proc-macro-crate", "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", ] [[package]] @@ -1797,9 +1894,9 @@ dependencies = [ [[package]] name = "kv-log-macro" -version = "1.0.5" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a2d3beed37e5483887d81eb39de6de03a8346531410e1306ca48a9a89bd3a51" +checksum = "4ff57d6d215f7ca7eb35a9a64d656ba4d9d2bef114d741dc08048e75e2f5d418" dependencies = [ "log", ] @@ -1897,9 +1994,9 @@ checksum = "c7d73b3f436185384286bd8098d17ec07c9a7d2388a6599f824d8502b529702a" [[package]] name = "libp2p" -version = "0.18.1" +version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32ea742c86405b659c358223a8f0f9f5a9eb27bb6083894c6340959b05269662" +checksum = "057eba5432d3e740e313c6e13c9153d0cb76b4f71bfc2e5242ae5bdb7d41af67" dependencies = [ "bytes 0.5.4", "futures 0.3.5", @@ -1919,7 +2016,7 @@ dependencies = [ "libp2p-websocket", "libp2p-yamux", "multihash", - "parity-multiaddr 0.8.0", + "parity-multiaddr 0.9.0", "parking_lot 0.10.2", "pin-project", "smallvec 1.4.0", @@ -1928,9 +2025,9 @@ dependencies = [ [[package]] name = "libp2p-core" -version = "0.18.0" +version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d2c17158c4dca984a77a5927aac6f0862d7f50c013470a415f93be498b5739" +checksum = "4f5e30dcd8cb13a02ad534e214da234eca1595a76b5788b645dfa5c734d2124b" dependencies = [ "asn1_der", "bs58", @@ -1944,7 +2041,7 @@ dependencies = [ "log", "multihash", "multistream-select", - "parity-multiaddr 0.8.0", + "parity-multiaddr 0.9.0", "parking_lot 0.10.2", "pin-project", "prost", @@ -1962,19 +2059,19 @@ dependencies = [ [[package]] name = "libp2p-core-derive" -version = "0.18.0" +version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "329127858e4728db5ab60c33d5ae352a999325fdf190ed022ec7d3a4685ae2e6" +checksum = "f09548626b737ed64080fde595e06ce1117795b8b9fc4d2629fa36561c583171" dependencies = [ - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", ] [[package]] name = "libp2p-dns" -version = "0.18.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0d0993481203d68e5ce2f787d033fb0cac6b850659ed6c784612db678977c71" +checksum = "3cc186d9a941fd0207cf8f08ef225a735e2d7296258f570155e525f6ee732f87" dependencies = [ "futures 0.3.5", "libp2p-core", @@ -1983,9 +2080,9 @@ dependencies = [ [[package]] name = "libp2p-identify" -version = "0.18.0" +version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a38ca3eb807789e26f41c82ca7cd2b3843c66c5587b8b5f709a2f421f3061414" +checksum = "6438ed8ca240c7635c9caa3be6c5258bc0058553ae97ba81737f04e5d33804f5" dependencies = [ "futures 0.3.5", "libp2p-core", @@ -1999,9 +2096,9 @@ dependencies = [ [[package]] name = "libp2p-kad" -version = "0.18.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a92cda1fb8149ea64d092a2b99d2bd7a2c309eee38ea322d02e4480bd6ee1759" +checksum = "41d6c1d5100973527ae70d82687465b17049c1b717a7964de38b8e65000878ff" dependencies = [ "arrayvec 0.5.1", "bytes 0.5.4", @@ -2026,11 +2123,11 @@ dependencies = [ [[package]] name = "libp2p-mdns" -version = "0.18.0" +version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41e908d2aaf8ff0ec6ad1f02fe1844fd777fb0b03a68a226423630750ab99471" +checksum = "51b00163d13f705aae67c427bea0575f8aaf63da6524f9bd4a5a093b8bda0b38" dependencies = [ - "async-std", + "async-std 0.99.12", "data-encoding", "dns-parser", "either", @@ -2048,9 +2145,9 @@ dependencies = [ [[package]] name = "libp2p-mplex" -version = "0.18.0" +version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0832882b06619b2e81d74e71447753ea3c068164a0bca67847d272e856a04a02" +checksum = "34ce63313ad4bce2d76e54c292a1293ea47a0ebbe16708f1513fa62184992f53" dependencies = [ "bytes 0.5.4", "fnv", @@ -2064,9 +2161,9 @@ dependencies = [ [[package]] name = "libp2p-noise" -version = "0.18.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "918e94a649e1139c24ee9f1f8c1f2adaba6d157b9471af787f2d9beac8c29c77" +checksum = "84fd504e27b0eadd451e06b67694ef714bd8374044e7db339bb0cdb83755ddf4" dependencies = [ "curve25519-dalek", "futures 0.3.5", @@ -2085,9 +2182,9 @@ dependencies = [ [[package]] name = "libp2p-ping" -version = "0.18.0" +version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9bfbf87eebb492d040f9899c5c81c9738730465ac5e78d9b7a7d086d0f07230" +checksum = "c189cf1dfe4b3f01e2c0fe5e97a6f5df8aeb6f3569e26981015eb7c08015ce5f" dependencies = [ "futures 0.3.5", "libp2p-core", @@ -2100,9 +2197,9 @@ dependencies = [ [[package]] name = "libp2p-swarm" -version = "0.18.1" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44ab289ae44cc691da0a6fe96aefa43f26c86c6c7813998e203f6d80f1860f18" +checksum = "b4a8101a0e0d5f04562137a476bf5f5423cd5bdab2f7e43a75909668e63cb102" dependencies = [ "futures 0.3.5", "libp2p-core", @@ -2115,24 +2212,25 @@ dependencies = [ [[package]] name = "libp2p-tcp" -version = "0.18.0" +version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b37ea44823d3ed223e4605da94b50177bc520f05ae2452286700549a32d81669" +checksum = "309f95fce9bec755eff5406f8b822fd3969990830c2b54f752e1fc181d5ace3e" dependencies = [ - "async-std", + "async-std 0.99.12", "futures 0.3.5", "futures-timer 3.0.2", "get_if_addrs", "ipnet", "libp2p-core", "log", + "socket2", ] [[package]] name = "libp2p-wasm-ext" -version = "0.18.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3ac7dbde0f88cad191dcdfd073b8bae28d01823e8ca313f117b6ecb914160c3" +checksum = "f59fdbb5706f2723ca108c088b1c7a37f735a8c328021f0508007162627e9885" dependencies = [ "futures 0.3.5", "js-sys", @@ -2144,9 +2242,9 @@ dependencies = [ [[package]] name = "libp2p-websocket" -version = "0.18.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6874c9069ce93d899df9dc7b29f129c706b2a0fdc048f11d878935352b580190" +checksum = "085fbe4c05c4116c2164ab4d5a521eb6e00516c444f61b3ee9f68c7b1e53580b" dependencies = [ "async-tls", "bytes 0.5.4", @@ -2165,9 +2263,9 @@ dependencies = [ [[package]] name = "libp2p-yamux" -version = "0.18.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02f91aea50f6571e0bc6c058dc0e9b270afd41ec28dd94e9e4bf607e78b9ab87" +checksum = "0b305d3a8981e68f11c0e17f2d11d5c52fae95e0d7c283f9e462b5b2dab413b2" dependencies = [ "futures 0.3.5", "libp2p-core", @@ -2262,9 +2360,9 @@ dependencies = [ [[package]] name = "lru" -version = "0.4.3" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0609345ddee5badacf857d4f547e0e5a2e987db77085c24cd887f73573a04237" +checksum = "9e488db3a9e108382265a30764f43cfc87517322e5d04ae0603b32a33461dca3" dependencies = [ "hashbrown", ] @@ -2410,9 +2508,9 @@ dependencies = [ [[package]] name = "multihash" -version = "0.10.1" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47fbc227f7e2b1cb701f95404579ecb2668abbdd3c7ef7a6cbb3cc0d3b236869" +checksum = "f75db05d738947aa5389863aadafbcf2e509d7ba099dc2ddcdf4fc66bf7a9e03" dependencies = [ "blake2b_simd", "blake2s_simd", @@ -2431,9 +2529,9 @@ checksum = "d8883adfde9756c1d30b0f519c9b8c502a94b41ac62f696453c37c7fc0a958ce" [[package]] name = "multistream-select" -version = "0.8.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74cdcf7cfb3402881e15a1f95116cb033d69b33c83d481e1234777f5ef0c3d2c" +checksum = "991c33683908c588b8f2cf66c221d8f390818c1bdcd13fce55208408e027a796" dependencies = [ "bytes 0.5.4", "futures 0.3.5", @@ -2509,7 +2607,7 @@ dependencies = [ [[package]] name = "node-template" -version = "2.0.0-alpha.8" +version = "2.0.0-rc1" dependencies = [ "futures 0.3.5", "log", @@ -2538,7 +2636,7 @@ dependencies = [ [[package]] name = "node-template-runtime" -version = "2.0.0-alpha.8" +version = "2.0.0-rc1" dependencies = [ "frame-executive", "frame-support", @@ -2677,16 +2775,6 @@ version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9cbca9424c482ee628fa549d9c812e2cd22f1180b9222c9200fdfa6eb31aecb2" -[[package]] -name = "ole32-sys" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d2c49021782e5233cd243168edfa8037574afed4eba4bbaf538b3d8d1789d8c" -dependencies = [ - "winapi 0.2.8", - "winapi-build", -] - [[package]] name = "once_cell" version = "1.4.0" @@ -2719,8 +2807,8 @@ dependencies = [ [[package]] name = "pallet-aura" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "frame-support", "frame-system", @@ -2730,9 +2818,7 @@ dependencies = [ "serde", "sp-application-crypto", "sp-consensus-aura", - "sp-core", "sp-inherents", - "sp-io", "sp-runtime", "sp-std", "sp-timestamp", @@ -2740,23 +2826,22 @@ dependencies = [ [[package]] name = "pallet-balances" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "serde", - "sp-io", "sp-runtime", "sp-std", ] [[package]] name = "pallet-finality-tracker" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "frame-support", "frame-system", @@ -2771,8 +2856,8 @@ dependencies = [ [[package]] name = "pallet-grandpa" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "frame-support", "frame-system", @@ -2791,8 +2876,8 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "frame-support", "frame-system", @@ -2804,8 +2889,8 @@ dependencies = [ [[package]] name = "pallet-session" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "frame-support", "frame-system", @@ -2813,7 +2898,6 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "serde", - "sp-io", "sp-runtime", "sp-session", "sp-staking", @@ -2823,8 +2907,8 @@ dependencies = [ [[package]] name = "pallet-sudo" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "frame-support", "frame-system", @@ -2837,7 +2921,7 @@ dependencies = [ [[package]] name = "pallet-template" -version = "2.0.0-alpha.8" +version = "2.0.0-rc1" dependencies = [ "frame-support", "frame-system", @@ -2849,8 +2933,8 @@ dependencies = [ [[package]] name = "pallet-timestamp" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "frame-benchmarking", "frame-support", @@ -2866,21 +2950,22 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "frame-support", "frame-system", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", + "smallvec 1.4.0", "sp-runtime", "sp-std", ] [[package]] name = "pallet-transaction-payment-rpc-runtime-api" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "frame-support", "parity-scale-codec", @@ -2924,9 +3009,9 @@ dependencies = [ [[package]] name = "parity-multiaddr" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4db35e222f783ef4e6661873f6c165c4eb7b65e0c408349818517d5705c2d7d3" +checksum = "12ca96399f4a01aa89c59220c4f52ac371940eb4e53e3ce990da796f364bdf69" dependencies = [ "arrayref", "bs58", @@ -2976,8 +3061,8 @@ checksum = "5a0ec292e92e8ec7c58e576adacc1e3f399c597c8f263c42f18420abe58e7245" dependencies = [ "proc-macro-crate", "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", ] [[package]] @@ -3008,7 +3093,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" dependencies = [ "proc-macro2", - "syn 1.0.21", + "syn 1.0.25", "synstructure", ] @@ -3070,9 +3155,9 @@ dependencies = [ [[package]] name = "paste" -version = "0.1.12" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a229b1c58c692edcaa5b9b0948084f130f55d2dcc15b02fcc5340b2b4521476" +checksum = "3431e8f72b90f8a7af91dec890d9814000cb371258e0ec7370d93e085361f531" dependencies = [ "paste-impl", "proc-macro-hack", @@ -3080,14 +3165,14 @@ dependencies = [ [[package]] name = "paste-impl" -version = "0.1.12" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e0bf239e447e67ff6d16a8bb5e4d4bd2343acf5066061c0e8e06ac5ba8ca68c" +checksum = "25af5fc872ba284d8d84608bf8a0fa9b5376c96c23f503b007dfd9e34dde5606" dependencies = [ "proc-macro-hack", "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", ] [[package]] @@ -3120,9 +3205,9 @@ checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e" [[package]] name = "petgraph" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29c127eea4a29ec6c85d153c59dc1213f33ec74cead30fe4730aecc88cc1fd92" +checksum = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7" dependencies = [ "fixedbitset", "indexmap", @@ -3130,22 +3215,22 @@ dependencies = [ [[package]] name = "pin-project" -version = "0.4.16" +version = "0.4.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81d480cb4e89522ccda96d0eed9af94180b7a5f93fb28f66e1fd7d68431663d1" +checksum = "edc93aeee735e60ecb40cf740eb319ff23eab1c5748abfdb5c180e4ce49f7791" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "0.4.16" +version = "0.4.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a82996f11efccb19b685b14b5df818de31c1edcee3daa256ab5775dd98e72feb" +checksum = "e58db2081ba5b4c93bd6be09c40fd36cb9193a8336c384f3b40012e531aa7e40" dependencies = [ "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", ] [[package]] @@ -3160,6 +3245,18 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +[[package]] +name = "piper" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b0deb65f46e873ba8aa7c6a8dbe3f23cb1bf59c339a81a1d56361dde4d66ac8" +dependencies = [ + "crossbeam-utils 0.7.2", + "futures-io", + "futures-sink", + "futures-util", +] + [[package]] name = "pkg-config" version = "0.3.17" @@ -3174,9 +3271,9 @@ checksum = "feb3b2b1033b8a60b4da6ee470325f887758c95d5320f52f9ce0df055a55940e" [[package]] name = "ppv-lite86" -version = "0.2.6" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74490b50b9fbe561ac330df47c08f3f33073d2d00c150f719147d7c54522fa1b" +checksum = "237a5ed80e274dbc66f86bd59c1e25edc039660be53194b5fe0a482e0f2612ea" [[package]] name = "primitive-types" @@ -3207,8 +3304,8 @@ checksum = "98e9e4b82e0ef281812565ea4751049f1bdcdfccda7d3f459f2e138a40c08678" dependencies = [ "proc-macro-error-attr", "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", "version_check", ] @@ -3219,17 +3316,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4f5444ead4e9935abd7f27dc51f7e852a0569ac888096d5ec2499470794e2e53" dependencies = [ "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", "syn-mid", "version_check", ] [[package]] name = "proc-macro-hack" -version = "0.5.15" +version = "0.5.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d659fe7c6d27f25e9d80a1a094c223f5246f6a6596453e09d7229bf42750b63" +checksum = "7e0456befd48169b9f13ef0f0ad46d492cf9d2dbb918bcf38e01eed4ce3ec5e4" [[package]] name = "proc-macro-nested" @@ -3239,9 +3336,9 @@ checksum = "8e946095f9d3ed29ec38de908c22f95d9ac008e424c7bcae54c75a79c527c694" [[package]] name = "proc-macro2" -version = "1.0.12" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8872cf6f48eee44265156c111456a700ab3483686b3f96df4cf5481c89157319" +checksum = "1502d12e458c49a4c9cbff560d0fe0060c252bc29799ed94ca2ed4bb665a0101" dependencies = [ "unicode-xid 0.2.0", ] @@ -3312,8 +3409,8 @@ dependencies = [ "anyhow", "itertools", "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", ] [[package]] @@ -3357,9 +3454,9 @@ checksum = "7a6e920b65c65f10b2ae65c831a81a073a89edd28c7cce89475bff467ab4167a" [[package]] name = "quote" -version = "1.0.5" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42934bc9c8ab0d3b273a16d8551c8f0fcff46be73276ca083ec2414c15c4ba5e" +checksum = "54a21852a652ad6f610c9510194f398ff6f8692e334fd1145fed931f7fbe44ea" dependencies = [ "proc-macro2", ] @@ -3588,7 +3685,7 @@ checksum = "08a89b46efaf957e52b18062fb2f4660f8b8a4dde1807ca002690868ef2c85a9" dependencies = [ "crossbeam-deque", "crossbeam-queue", - "crossbeam-utils", + "crossbeam-utils 0.7.2", "lazy_static", "num_cpus", ] @@ -3608,6 +3705,17 @@ version = "0.1.56" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2439c63f3f6139d1b57529d16bc3b8bb855230c8efcc5d3a896c8bea7c3b1e84" +[[package]] +name = "redox_users" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09b23093265f8d200fa7b4c2c76297f47e681c655f6f1285a8780d6a022f7431" +dependencies = [ + "getrandom", + "redox_syscall", + "rust-argon2", +] + [[package]] name = "ref-cast" version = "1.0.1" @@ -3624,8 +3732,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "602eb59cda66fcb9aec25841fb76bc01d2b34282dcdd705028da297db6f3eec8" dependencies = [ "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", ] [[package]] @@ -3696,6 +3804,18 @@ dependencies = [ "winapi 0.3.8", ] +[[package]] +name = "rust-argon2" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bc8af4bda8e1ff4932523b94d3dd20ee30a87232323eda55903ffd71d2fb017" +dependencies = [ + "base64", + "blake2b_simd", + "constant_time_eq", + "crossbeam-utils 0.7.2", +] + [[package]] name = "rustc-demangle" version = "0.1.16" @@ -3776,8 +3896,8 @@ dependencies = [ [[package]] name = "sc-basic-authorship" -version = "0.8.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "0.8.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -3785,6 +3905,7 @@ dependencies = [ "parity-scale-codec", "sc-block-builder", "sc-client-api", + "sc-proposer-metrics", "sc-telemetry", "sp-api", "sp-blockchain", @@ -3793,13 +3914,14 @@ dependencies = [ "sp-inherents", "sp-runtime", "sp-transaction-pool", + "substrate-prometheus-endpoint", "tokio-executor 0.2.0-alpha.6", ] [[package]] name = "sc-block-builder" -version = "0.8.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "0.8.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -3814,8 +3936,8 @@ dependencies = [ [[package]] name = "sc-chain-spec" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "impl-trait-for-tuples", "sc-chain-spec-derive", @@ -3830,26 +3952,25 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "proc-macro-crate", "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", ] [[package]] name = "sc-cli" -version = "0.8.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "0.8.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "ansi_term 0.12.1", - "app_dirs", "atty", "chrono", - "clap", "derive_more", + "directories", "env_logger", "fdlimit", "futures 0.3.5", @@ -3883,8 +4004,8 @@ dependencies = [ [[package]] name = "sc-client-api" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "derive_more", "fnv", @@ -3919,8 +4040,8 @@ dependencies = [ [[package]] name = "sc-client-db" -version = "0.8.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "0.8.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "blake2-rfc", "hash-db", @@ -3948,8 +4069,8 @@ dependencies = [ [[package]] name = "sc-consensus" -version = "0.8.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "0.8.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "sc-client-api", "sp-blockchain", @@ -3959,8 +4080,8 @@ dependencies = [ [[package]] name = "sc-consensus-aura" -version = "0.8.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "0.8.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "derive_more", "futures 0.3.5", @@ -3990,8 +4111,8 @@ dependencies = [ [[package]] name = "sc-consensus-slots" -version = "0.8.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "0.8.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -4012,8 +4133,8 @@ dependencies = [ [[package]] name = "sc-executor" -version = "0.8.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "0.8.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "derive_more", "lazy_static", @@ -4039,8 +4160,8 @@ dependencies = [ [[package]] name = "sc-executor-common" -version = "0.8.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "0.8.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "derive_more", "log", @@ -4056,8 +4177,8 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" -version = "0.8.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "0.8.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "log", "parity-scale-codec", @@ -4071,8 +4192,8 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" -version = "0.8.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "0.8.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "assert_matches", "derive_more", @@ -4108,8 +4229,8 @@ dependencies = [ [[package]] name = "sc-informant" -version = "0.8.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "0.8.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "ansi_term 0.12.1", "futures 0.3.5", @@ -4125,8 +4246,8 @@ dependencies = [ [[package]] name = "sc-keystore" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "derive_more", "hex", @@ -4140,10 +4261,11 @@ dependencies = [ [[package]] name = "sc-network" -version = "0.8.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "0.8.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "bitflags", + "bs58", "bytes 0.5.4", "derive_more", "either", @@ -4191,8 +4313,8 @@ dependencies = [ [[package]] name = "sc-network-gossip" -version = "0.8.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "0.8.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -4206,8 +4328,8 @@ dependencies = [ [[package]] name = "sc-offchain" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "bytes 0.5.4", "fnv", @@ -4233,8 +4355,8 @@ dependencies = [ [[package]] name = "sc-peerset" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "futures 0.3.5", "libp2p", @@ -4244,10 +4366,19 @@ dependencies = [ "wasm-timer", ] +[[package]] +name = "sc-proposer-metrics" +version = "0.8.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" +dependencies = [ + "log", + "substrate-prometheus-endpoint", +] + [[package]] name = "sc-rpc" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "futures 0.3.5", "hash-db", @@ -4278,8 +4409,8 @@ dependencies = [ [[package]] name = "sc-rpc-api" -version = "0.8.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "0.8.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "derive_more", "futures 0.3.5", @@ -4302,8 +4433,8 @@ dependencies = [ [[package]] name = "sc-rpc-server" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "jsonrpc-core", "jsonrpc-http-server", @@ -4317,8 +4448,8 @@ dependencies = [ [[package]] name = "sc-service" -version = "0.8.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "0.8.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "derive_more", "exit-future", @@ -4375,8 +4506,8 @@ dependencies = [ [[package]] name = "sc-state-db" -version = "0.8.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "0.8.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "log", "parity-scale-codec", @@ -4389,8 +4520,8 @@ dependencies = [ [[package]] name = "sc-telemetry" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "bytes 0.5.4", "futures 0.3.5", @@ -4411,8 +4542,8 @@ dependencies = [ [[package]] name = "sc-tracing" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "erased-serde", "log", @@ -4426,8 +4557,8 @@ dependencies = [ [[package]] name = "sc-transaction-graph" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "derive_more", "futures 0.3.5", @@ -4446,8 +4577,8 @@ dependencies = [ [[package]] name = "sc-transaction-pool" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "derive_more", "futures 0.3.5", @@ -4498,6 +4629,12 @@ dependencies = [ "zeroize", ] +[[package]] +name = "scoped-tls-hkt" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2e9d7eaddb227e8fbaaa71136ae0e1e913ca159b86c7da82f3e8f0044ad3a63" + [[package]] name = "scopeguard" version = "1.1.0" @@ -4558,6 +4695,12 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a0eddf2e8f50ced781f288c19f18621fa72a3779e3cb58dbf23b07469b0abeb4" +[[package]] +name = "send_wrapper" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f638d531eccd6e23b980caf34876660d38e265409d8e99b397ab71eb3612fad0" + [[package]] name = "serde" version = "1.0.110" @@ -4574,8 +4717,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "818fbf6bfa9a42d3bfcaca148547aa00c7b915bec71d1757aa2d44ca68771984" dependencies = [ "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", ] [[package]] @@ -4609,9 +4752,9 @@ checksum = "2579985fda508104f7587689507983eadd6a6e84dd35d6d115361f530916fa0d" [[package]] name = "sha2" -version = "0.8.1" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27044adfd2e1f077f649f59deb9490d3941d674002f7d062870a60ebe9bd47a0" +checksum = "a256f46ea78a0c0d9ff00077504903ac881a1dafdc20da66545699e7776b3e69" dependencies = [ "block-buffer", "digest", @@ -4632,16 +4775,6 @@ dependencies = [ "opaque-debug", ] -[[package]] -name = "shell32-sys" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ee04b46101f57121c9da2b151988283b6beb79b34f5bb29a58ee48cb695122c" -dependencies = [ - "winapi 0.2.8", - "winapi-build", -] - [[package]] name = "shlex" version = "0.1.1" @@ -4704,8 +4837,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a945ec7f7ce853e89ffa36be1e27dce9a43e82ff9093bf3461c30d5da74ed11b" dependencies = [ "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", ] [[package]] @@ -4723,6 +4856,25 @@ version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7cb5678e1615754284ec264d9bb5b4c27d2018577fd90ac0ceb578591ed5ee4" +[[package]] +name = "smol" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "686c634ad1873fffef6aed20f180eede424fbf3bb31802394c90fd7335a661b7" +dependencies = [ + "async-task 3.0.0", + "crossbeam", + "futures-io", + "futures-util", + "nix", + "once_cell", + "piper", + "scoped-tls-hkt", + "slab", + "socket2", + "wepoll-binding", +] + [[package]] name = "snow" version = "0.6.2" @@ -4741,6 +4893,18 @@ dependencies = [ "x25519-dalek", ] +[[package]] +name = "socket2" +version = "0.3.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03088793f677dce356f3ccc2edb1b314ad191ab702a5de3faf49304f7e104918" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall", + "winapi 0.3.8", +] + [[package]] name = "soketto" version = "0.3.2" @@ -4763,8 +4927,8 @@ dependencies = [ [[package]] name = "sp-allocator" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "derive_more", "log", @@ -4775,8 +4939,8 @@ dependencies = [ [[package]] name = "sp-api" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "hash-db", "parity-scale-codec", @@ -4790,20 +4954,20 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "blake2-rfc", "proc-macro-crate", "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", ] [[package]] name = "sp-application-crypto" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "parity-scale-codec", "serde", @@ -4814,13 +4978,12 @@ dependencies = [ [[package]] name = "sp-arithmetic" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "integer-sqrt", "num-traits 0.2.11", "parity-scale-codec", - "primitive-types", "serde", "sp-debug-derive", "sp-std", @@ -4828,8 +4991,8 @@ dependencies = [ [[package]] name = "sp-block-builder" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "parity-scale-codec", "sp-api", @@ -4840,8 +5003,8 @@ dependencies = [ [[package]] name = "sp-blockchain" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "derive_more", "log", @@ -4856,8 +5019,8 @@ dependencies = [ [[package]] name = "sp-chain-spec" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "serde", "serde_json", @@ -4865,8 +5028,8 @@ dependencies = [ [[package]] name = "sp-consensus" -version = "0.8.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "0.8.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "derive_more", "futures 0.3.5", @@ -4888,8 +5051,8 @@ dependencies = [ [[package]] name = "sp-consensus-aura" -version = "0.8.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "0.8.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "parity-scale-codec", "sp-api", @@ -4902,8 +5065,8 @@ dependencies = [ [[package]] name = "sp-core" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "base58", "blake2-rfc", @@ -4944,8 +5107,8 @@ dependencies = [ [[package]] name = "sp-database" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "kvdb", "parking_lot 0.10.2", @@ -4953,18 +5116,18 @@ dependencies = [ [[package]] name = "sp-debug-derive" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", ] [[package]] name = "sp-externalities" -version = "0.8.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "0.8.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "environmental", "parity-scale-codec", @@ -4974,8 +5137,8 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "finality-grandpa", "log", @@ -4990,8 +5153,8 @@ dependencies = [ [[package]] name = "sp-finality-tracker" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -5000,8 +5163,8 @@ dependencies = [ [[package]] name = "sp-inherents" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "derive_more", "parity-scale-codec", @@ -5012,8 +5175,8 @@ dependencies = [ [[package]] name = "sp-io" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "futures 0.3.5", "hash-db", @@ -5032,8 +5195,8 @@ dependencies = [ [[package]] name = "sp-keyring" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "lazy_static", "sp-core", @@ -5043,8 +5206,8 @@ dependencies = [ [[package]] name = "sp-offchain" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "sp-api", "sp-core", @@ -5053,8 +5216,8 @@ dependencies = [ [[package]] name = "sp-panic-handler" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "backtrace", "log", @@ -5062,8 +5225,8 @@ dependencies = [ [[package]] name = "sp-rpc" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "serde", "sp-core", @@ -5071,8 +5234,8 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "hash256-std-hasher", "impl-trait-for-tuples", @@ -5092,8 +5255,8 @@ dependencies = [ [[package]] name = "sp-runtime-interface" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "parity-scale-codec", "primitive-types", @@ -5107,20 +5270,20 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "Inflector", "proc-macro-crate", "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", ] [[package]] name = "sp-serializer" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "serde", "serde_json", @@ -5128,8 +5291,8 @@ dependencies = [ [[package]] name = "sp-session" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "parity-scale-codec", "sp-api", @@ -5141,8 +5304,8 @@ dependencies = [ [[package]] name = "sp-staking" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -5151,8 +5314,8 @@ dependencies = [ [[package]] name = "sp-state-machine" -version = "0.8.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "0.8.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "hash-db", "log", @@ -5170,13 +5333,13 @@ dependencies = [ [[package]] name = "sp-std" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" [[package]] name = "sp-storage" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "impl-serde 0.2.3", "ref-cast", @@ -5187,8 +5350,8 @@ dependencies = [ [[package]] name = "sp-timestamp" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -5201,16 +5364,16 @@ dependencies = [ [[package]] name = "sp-tracing" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "tracing", ] [[package]] name = "sp-transaction-pool" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "derive_more", "futures 0.3.5", @@ -5224,8 +5387,8 @@ dependencies = [ [[package]] name = "sp-trie" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "hash-db", "memory-db", @@ -5238,8 +5401,8 @@ dependencies = [ [[package]] name = "sp-utils" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "futures 0.3.5", "futures-core", @@ -5249,8 +5412,8 @@ dependencies = [ [[package]] name = "sp-version" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "impl-serde 0.2.3", "parity-scale-codec", @@ -5261,8 +5424,8 @@ dependencies = [ [[package]] name = "sp-wasm-interface" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -5332,8 +5495,8 @@ dependencies = [ "heck", "proc-macro-error", "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", ] [[package]] @@ -5353,8 +5516,8 @@ checksum = "0054a7df764039a6cd8592b9de84be4bec368ff081d203a7d5371cbfa8e65c81" dependencies = [ "heck", "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", ] [[package]] @@ -5371,18 +5534,18 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" -version = "2.0.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "2.0.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ "platforms", ] [[package]] name = "substrate-prometheus-endpoint" -version = "0.8.0-alpha.8" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +version = "0.8.0-rc1" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" dependencies = [ - "async-std", + "async-std 1.6.0", "derive_more", "futures-util", "hyper 0.13.5", @@ -5394,7 +5557,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder-runner" version = "1.0.6" -source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-alpha.8#7e9a2ae78d27cc56e053fbec3b34a1a258b89561" +source = "git+https://github.com/paritytech/substrate.git?tag=v2.0.0-rc1#599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee" [[package]] name = "subtle" @@ -5421,12 +5584,12 @@ dependencies = [ [[package]] name = "syn" -version = "1.0.21" +version = "1.0.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4696caa4048ac7ce2bcd2e484b3cef88c1004e41b8e945a277e2c25dc0b72060" +checksum = "f14a640819f79b72a710c0be059dce779f9339ae046c8bef12c361d56702146f" dependencies = [ "proc-macro2", - "quote 1.0.5", + "quote 1.0.6", "unicode-xid 0.2.0", ] @@ -5437,8 +5600,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7be3539f6c128a931cf19dcee741c1af532c7fd387baa739c03dd2e96479338a" dependencies = [ "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", ] [[package]] @@ -5457,8 +5620,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "67656ea1dc1b41b1451851562ea232ec2e5a80242139f7e679ceccfb5d61f545" dependencies = [ "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", "unicode-xid 0.2.0", ] @@ -5517,22 +5680,22 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.17" +version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "467e5ff447618a916519a4e0d62772ab14f434897f3d63f05d8700ef1e9b22c1" +checksum = "b13f926965ad00595dd129fa12823b04bbf866e9085ab0a5f2b05b850fbfc344" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.17" +version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e63c1091225b9834089b429bc4a2e01223470e3183e891582909e9d1c4cb55d9" +checksum = "893582086c2f98cde18f906265a65b5030a074b1046c674ae898be6519a7f479" dependencies = [ "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", ] [[package]] @@ -5672,7 +5835,7 @@ version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb2d1b8f4548dbf5e1f7818512e9c406860678f29c300cdf0ebac72d1a3a1671" dependencies = [ - "crossbeam-utils", + "crossbeam-utils 0.7.2", "futures 0.1.29", ] @@ -5715,7 +5878,7 @@ version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09bc590ec4ba8ba87652da2068d150dcada2cfa2e07faae270a5e0409aa51351" dependencies = [ - "crossbeam-utils", + "crossbeam-utils 0.7.2", "futures 0.1.29", "lazy_static", "log", @@ -5730,9 +5893,9 @@ dependencies = [ [[package]] name = "tokio-rustls" -version = "0.13.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4adb8b3e5f86b707f1b54e7c15b6de52617a823608ccda98a15d3a24222f265a" +checksum = "15cb62a0d2770787abc96e99c1cd98fcf17f94959f3af63ca85bdfb203f051b4" dependencies = [ "futures-core", "rustls", @@ -5783,7 +5946,7 @@ checksum = "df720b6581784c118f0eb4310796b12b1d242a7eb95f716a8367855325c25f89" dependencies = [ "crossbeam-deque", "crossbeam-queue", - "crossbeam-utils", + "crossbeam-utils 0.7.2", "futures 0.1.29", "lazy_static", "log", @@ -5798,7 +5961,7 @@ version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "93044f2d313c95ff1cb7809ce9a7a05735b012288a888b62d4434fd58c94f296" dependencies = [ - "crossbeam-utils", + "crossbeam-utils 0.7.2", "futures 0.1.29", "slab", "tokio-executor 0.1.10", @@ -5884,8 +6047,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "99bbad0de3fd923c9c3232ead88510b783e5a4d16a6154adffa3d53308de984c" dependencies = [ "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", ] [[package]] @@ -6057,9 +6220,9 @@ checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" [[package]] name = "version_check" -version = "0.9.1" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "078775d0255232fb988e6fccf26ddc9d1ac274299aaedcedce21c6f72cc533ce" +checksum = "b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed" [[package]] name = "void" @@ -6114,8 +6277,8 @@ dependencies = [ "lazy_static", "log", "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", "wasm-bindgen-shared", ] @@ -6137,7 +6300,7 @@ version = "0.2.62" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2cd85aa2c579e8892442954685f0d801f9129de24fa2136b2c6a539c76b65776" dependencies = [ - "quote 1.0.5", + "quote 1.0.6", "wasm-bindgen-macro-support", ] @@ -6148,8 +6311,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8eb197bd3a47553334907ffd2f16507b4f4f01bbec3ac921a7719e0decdfe72a" dependencies = [ "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -6170,7 +6333,7 @@ dependencies = [ "js-sys", "parking_lot 0.9.0", "pin-utils", - "send_wrapper", + "send_wrapper 0.2.0", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", @@ -6237,6 +6400,25 @@ dependencies = [ "webpki", ] +[[package]] +name = "wepoll-binding" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "374fff4ff9701ff8b6ad0d14bacd3156c44063632d8c136186ff5967d48999a7" +dependencies = [ + "bitflags", + "wepoll-sys", +] + +[[package]] +name = "wepoll-sys" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9082a777aed991f6769e2b654aa0cb29f1c3d615daf009829b07b66c7aff6a24" +dependencies = [ + "cc", +] + [[package]] name = "which" version = "3.1.1" @@ -6328,12 +6510,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "xdg" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d089681aa106a86fade1b0128fb5daf07d5867a509ab036d99988dec80429a57" - [[package]] name = "yamux" version = "0.4.5" @@ -6364,7 +6540,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "de251eec69fc7c1bc3923403d18ececb929380e016afe103da75f396704f8ca2" dependencies = [ "proc-macro2", - "quote 1.0.5", - "syn 1.0.21", + "quote 1.0.6", + "syn 1.0.25", "synstructure", ] diff --git a/Cargo.toml b/Cargo.toml index f6ca89e..d77ff63 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,8 +1,9 @@ +[profile.release] +panic = 'unwind' + [workspace] members = [ 'node', 'pallets/template', 'runtime', ] -[profile.release] -panic = 'unwind' diff --git a/node/Cargo.toml b/node/Cargo.toml index 204a3f7..ad3e57e 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -7,7 +7,7 @@ homepage = 'https://substrate.io' license = 'Unlicense' name = 'node-template' repository = 'https://github.com/substrate-developer-hub/substrate-node-template/' -version = '2.0.0-alpha.8' +version = '2.0.0-rc1' [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] @@ -20,97 +20,97 @@ structopt = '0.3.8' [dependencies.node-template-runtime] path = '../runtime' -version = '2.0.0-alpha.8' +version = '2.0.0-rc1' [dependencies.sc-basic-authorship] git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '0.8.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '0.8.0-rc1' [dependencies.sc-cli] git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '0.8.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '0.8.0-rc1' [dependencies.sc-client-api] git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dependencies.sc-consensus] git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '0.8.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '0.8.0-rc1' [dependencies.sc-consensus-aura] git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '0.8.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '0.8.0-rc1' [dependencies.sc-executor] git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '0.8.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '0.8.0-rc1' [dependencies.sc-finality-grandpa] git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '0.8.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '0.8.0-rc1' [dependencies.sc-network] git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '0.8.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '0.8.0-rc1' [dependencies.sc-service] git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '0.8.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '0.8.0-rc1' [dependencies.sc-transaction-pool] git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dependencies.sp-consensus] git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '0.8.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '0.8.0-rc1' [dependencies.sp-consensus-aura] git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '0.8.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '0.8.0-rc1' [dependencies.sp-core] git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dependencies.sp-finality-grandpa] git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dependencies.sp-inherents] git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dependencies.sp-runtime] git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dependencies.sp-transaction-pool] git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [build-dependencies.substrate-build-script-utils] git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [[bin]] name = 'node-template' diff --git a/node/src/service.rs b/node/src/service.rs index d02e9ea..8e57a04 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -106,8 +106,11 @@ pub fn new_full(config: Configuration) -> Result'] -description = 'Substrate FRAME pallet template' +description = 'FRAME pallet template' edition = '2018' homepage = 'https://substrate.io' license = 'Unlicense' name = 'pallet-template' -repository = 'https://github.com/paritytech/substrate/' -version = '2.0.0-alpha.8' - -[package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +repository = 'https://github.com/substrate-developer-hub/substrate-node-template/' +version = '2.0.0-rc1' [dependencies.codec] default-features = false @@ -20,32 +17,32 @@ version = '1.3.0' [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dependencies.frame-system] default-features = false git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dev-dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dev-dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dev-dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [features] default = ['std'] diff --git a/pallets/template/src/mock.rs b/pallets/template/src/mock.rs index 33c66e2..4eed0e1 100644 --- a/pallets/template/src/mock.rs +++ b/pallets/template/src/mock.rs @@ -39,6 +39,7 @@ impl system::Trait for Test { type DbWeight = (); type BlockExecutionWeight = (); type ExtrinsicBaseWeight = (); + type MaximumExtrinsicWeight = MaximumBlockWeight; type MaximumBlockLength = MaximumBlockLength; type AvailableBlockRatio = AvailableBlockRatio; type Version = (); diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 79f6589..e8fd2bb 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -1,16 +1,28 @@ +[package] +authors = ['Substrate DevHub '] +edition = '2018' +homepage = 'https://substrate.io' +license = 'Unlicense' +name = 'node-template-runtime' +repository = 'https://github.com/substrate-developer-hub/substrate-node-template/' +version = '2.0.0-rc1' + +[package.metadata.docs.rs] +targets = ['x86_64-unknown-linux-gnu'] + [dependencies.aura] default-features = false git = 'https://github.com/paritytech/substrate.git' package = 'pallet-aura' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dependencies.balances] default-features = false git = 'https://github.com/paritytech/substrate.git' package = 'pallet-balances' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dependencies.codec] default-features = false @@ -21,28 +33,28 @@ version = '1.3.0' [dependencies.frame-executive] default-features = false git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dependencies.frame-support] default-features = false git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dependencies.grandpa] default-features = false git = 'https://github.com/paritytech/substrate.git' package = 'pallet-grandpa' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dependencies.randomness-collective-flip] default-features = false git = 'https://github.com/paritytech/substrate.git' package = 'pallet-randomness-collective-flip' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dependencies.serde] features = ['derive'] @@ -52,126 +64,108 @@ version = '1.0.101' [dependencies.sp-api] default-features = false git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dependencies.sp-block-builder] default-features = false git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dependencies.sp-consensus-aura] default-features = false git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '0.8.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '0.8.0-rc1' [dependencies.sp-core] default-features = false git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dependencies.sp-inherents] default-features = false git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dependencies.sp-io] default-features = false git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dependencies.sp-offchain] default-features = false git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dependencies.sp-runtime] default-features = false git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dependencies.sp-session] default-features = false git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dependencies.sp-std] default-features = false git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dependencies.sp-transaction-pool] default-features = false git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dependencies.sp-version] default-features = false git = 'https://github.com/paritytech/substrate.git' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dependencies.sudo] default-features = false git = 'https://github.com/paritytech/substrate.git' package = 'pallet-sudo' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dependencies.system] default-features = false git = 'https://github.com/paritytech/substrate.git' package = 'frame-system' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dependencies.template] default-features = false package = 'pallet-template' path = '../pallets/template' -version = '2.0.0-alpha.8' +version = '2.0.0-rc1' [dependencies.timestamp] default-features = false git = 'https://github.com/paritytech/substrate.git' package = 'pallet-timestamp' -tag = 'v2.0.0-alpha.8' -version = '2.0.0-alpha.8' +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [dependencies.transaction-payment] default-features = false git = 'https://github.com/paritytech/substrate.git' package = 'pallet-transaction-payment' -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 = ['Substrate DevHub '] -edition = '2018' -homepage = 'https://substrate.io' -license = 'Unlicense' -name = 'node-template-runtime' -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'] +tag = 'v2.0.0-rc1' +version = '2.0.0-rc1' [features] default = ['std'] @@ -202,3 +196,9 @@ std = [ 'transaction-payment/std', 'template/std', ] + +[build-dependencies.wasm-builder-runner] +git = 'https://github.com/paritytech/substrate.git' +package = 'substrate-wasm-builder-runner' +tag = 'v2.0.0-rc1' +version = '1.0.5' diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index b1b73f3..55fa4cd 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -15,7 +15,7 @@ use sp_runtime::{ transaction_validity::{TransactionValidity, TransactionSource}, }; use sp_runtime::traits::{ - BlakeTwo256, Block as BlockT, IdentityLookup, Verify, ConvertInto, IdentifyAccount, NumberFor, + BlakeTwo256, Block as BlockT, IdentityLookup, Verify, IdentifyAccount, NumberFor, Saturating, }; use sp_api::impl_runtime_apis; use sp_consensus_aura::sr25519::AuthorityId as AuraId; @@ -35,7 +35,7 @@ pub use frame_support::{ construct_runtime, parameter_types, StorageValue, traits::{KeyOwnerProofSystem, Randomness}, weights::{ - Weight, + Weight, IdentityFee, constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND}, }, }; @@ -127,6 +127,9 @@ parameter_types! { /// 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); + /// Assume 10% of weight for average on_initialize calls. + pub const MaximumExtrinsicWeight: Weight = AvailableBlockRatio::get() + .saturating_sub(Perbill::from_percent(10)) * MaximumBlockWeight::get(); pub const MaximumBlockLength: u32 = 5 * 1024 * 1024; pub const Version: RuntimeVersion = VERSION; } @@ -164,6 +167,10 @@ impl system::Trait for Runtime { /// 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; + /// The maximum weight that a single extrinsic of `Normal` dispatch class can have, + /// idependent of the logic of that extrinsics. (Roughly max block weight - average on + /// initialize cost). + type MaximumExtrinsicWeight = MaximumExtrinsicWeight; /// 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. @@ -236,7 +243,7 @@ impl transaction_payment::Trait for Runtime { type Currency = balances::Module; type OnTransactionPayment = (); type TransactionByteFee = TransactionByteFee; - type WeightToFee = ConvertInto; + type WeightToFee = IdentityFee; type FeeMultiplierUpdate = (); }