From 58f992fa33e44efac56f52fbd27fbadd028003f2 Mon Sep 17 00:00:00 2001 From: Shawn Tabrizi Date: Thu, 16 Apr 2020 11:31:41 +0200 Subject: [PATCH] Companion PR for substrate#5446 (Update Weights to u64) (#994) --- polkadot/Cargo.lock | 747 +++++++++--------- polkadot/runtime/common/src/attestations.rs | 7 +- polkadot/runtime/common/src/claims.rs | 5 +- polkadot/runtime/common/src/crowdfund.rs | 22 +- polkadot/runtime/common/src/impls.rs | 34 +- polkadot/runtime/common/src/lib.rs | 2 +- polkadot/runtime/common/src/parachains.rs | 7 +- polkadot/runtime/common/src/registrar.rs | 19 +- polkadot/runtime/common/src/slots.rs | 17 +- polkadot/runtime/kusama/src/constants.rs | 4 +- polkadot/runtime/kusama/src/lib.rs | 9 +- polkadot/runtime/polkadot/src/constants.rs | 4 +- polkadot/runtime/polkadot/src/lib.rs | 7 +- .../runtime/test-runtime/src/constants.rs | 4 +- polkadot/runtime/test-runtime/src/lib.rs | 7 +- polkadot/runtime/westend/src/lib.rs | 9 +- 16 files changed, 466 insertions(+), 438 deletions(-) diff --git a/polkadot/Cargo.lock b/polkadot/Cargo.lock index cda4541393..07cfa41b4f 100644 --- a/polkadot/Cargo.lock +++ b/polkadot/Cargo.lock @@ -99,9 +99,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.27" +version = "1.0.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "013a6e0a2cbe3d20f9c60b65458f7a7f7a5e636c5d0f45a5a6aee5d4b1f01785" +checksum = "d9a60d744a80c30fcb657dfe2c1b22bcb3e814c1a1e3674f32bf5820b570fbff" [[package]] name = "app_dirs" @@ -172,15 +172,16 @@ dependencies = [ [[package]] name = "assert_cmd" -version = "0.12.1" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35ad62275a8bda1c2c9a9303aea121eb04204272d3be0735d5dc1f49eb9ff9a9" +checksum = "936fcf2c692b37c696cd0002c57752b2d9478402450c9ca4a463f6afae16d6f5" dependencies = [ "doc-comment", "escargot", "predicates", "predicates-core", "predicates-tree", + "wait-timeout", ] [[package]] @@ -320,7 +321,7 @@ dependencies = [ "lazycell", "log 0.4.8", "peeking_take_while", - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "regex", "rustc-hash", @@ -434,7 +435,7 @@ dependencies = [ "futures-core", "futures-sink", "futures-util", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "slab", ] @@ -548,9 +549,9 @@ dependencies = [ [[package]] name = "clang-sys" -version = "0.29.2" +version = "0.29.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f92986241798376849e1a007827041fed9bb36195822c2049d18e174420e0534" +checksum = "fe6837df1d5cba2397b835c8530f51723267e16abbf83892e9e5af4f0e5dd10a" dependencies = [ "glob", "libc", @@ -675,7 +676,7 @@ dependencies = [ "gimli", "log 0.4.8", "serde", - "smallvec 1.2.0", + "smallvec 1.3.0", "target-lexicon", "thiserror", ] @@ -713,7 +714,7 @@ checksum = "518344698fa6c976d853319218415fdfb4f1bc6b42d0b2e2df652e55dff1f778" dependencies = [ "cranelift-codegen", "log 0.4.8", - "smallvec 1.2.0", + "smallvec 1.3.0", "target-lexicon", ] @@ -891,11 +892,11 @@ dependencies = [ [[package]] name = "derive_more" -version = "0.99.3" +version = "0.99.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a806e96c59a76a5ba6e18735b6cf833344671e61e7863f2edb5c518ea2cac95c" +checksum = "e2323f3f47db9a0e77ce7a300605d8d2098597fc451ed1a97bb1f6411bb550a7" dependencies = [ - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", ] @@ -1002,20 +1003,20 @@ dependencies = [ [[package]] name = "enumflags2" -version = "0.6.2" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33121c8782ba948ba332dab29311b026a8716dc65a1599e5b88f392d38496af8" +checksum = "a80e524ebf194285b57e5e7944018721c7fffc673253f5183f7accd88a2a3b0c" dependencies = [ "enumflags2_derive", ] [[package]] name = "enumflags2_derive" -version = "0.6.2" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecf634c5213044b8d54a46dd282cf5dd1f86bb5cb53e92c409cb4680a7fb9894" +checksum = "2ed9afacaea0301eefb738c9deea725e6d53938004597cdc518a8cf9a7aa2f03" dependencies = [ - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", ] @@ -1054,18 +1055,18 @@ checksum = "516aa8d7a71cb00a1c4146f0798549b93d083d4f189b3ced8f3de6b8f11ee6c4" [[package]] name = "erased-serde" -version = "0.3.10" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd7d80305c9bd8cd78e3c753eb9fb110f83621e5211f1a3afffcc812b104daf9" +checksum = "d88b6d1705e16a4d62e05ea61cc0496c2bd190f4fa8e5c1f11ce747be6bcf3d1" dependencies = [ "serde", ] [[package]] name = "errno" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2a071601ed01b988f896ab14b95e67335d1eeb50190932a1320f7fe3cadc84e" +checksum = "b480f641ccf0faf324e20c1d3e53d81b7484c698b42ea677f6907ae4db195371" dependencies = [ "errno-dragonfly", "libc", @@ -1104,7 +1105,7 @@ dependencies = [ "fixed-hash", "impl-rlp", "impl-serde 0.3.0", - "tiny-keccak 2.0.1", + "tiny-keccak 2.0.2", ] [[package]] @@ -1162,7 +1163,7 @@ version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "030a733c8287d6213886dd487564ff5c8f6aae10278b3588ed177f9d18f8d231" dependencies = [ - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", "synstructure", @@ -1253,7 +1254,7 @@ checksum = "2fad85553e09a6f881f739c29f0b00b0f01357c743266d478b68951ce23285f3" [[package]] name = "fork-tree" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "parity-scale-codec", ] @@ -1261,7 +1262,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-support", "frame-system", @@ -1278,7 +1279,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-benchmarking", "parity-scale-codec", @@ -1297,7 +1298,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-support", "frame-system", @@ -1310,7 +1311,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "11.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "parity-scale-codec", "serde", @@ -1321,7 +1322,7 @@ dependencies = [ [[package]] name = "frame-support" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "bitmask", "frame-metadata", @@ -1345,10 +1346,10 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-support-procedural-tools", - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", ] @@ -1356,11 +1357,11 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", ] @@ -1368,9 +1369,9 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", ] @@ -1378,7 +1379,7 @@ dependencies = [ [[package]] name = "frame-system" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -1394,7 +1395,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "parity-scale-codec", "sp-api", @@ -1528,7 +1529,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9a5081aa3de1f7542a794a397cde100ed903b0630152d0973479018fd85423a7" dependencies = [ "proc-macro-hack", - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", ] @@ -1652,7 +1653,7 @@ dependencies = [ "byteorder", "fallible-iterator", "indexmap", - "smallvec 1.2.0", + "smallvec 1.3.0", "stable_deref_trait", ] @@ -1719,9 +1720,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7938e6aa2a31df4e21f224dc84704bd31c089a6d1355c535b03667371cccc843" +checksum = "377038bf3c89d18d6ca1431e7a5027194fbd724ca10592b9487ede5e8e144f42" dependencies = [ "bytes 0.5.4", "fnv", @@ -1732,7 +1733,7 @@ dependencies = [ "indexmap", "log 0.4.8", "slab", - "tokio 0.2.13", + "tokio 0.2.18", "tokio-util", ] @@ -1772,9 +1773,9 @@ dependencies = [ [[package]] name = "hermit-abi" -version = "0.1.8" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1010591b26bbfe835e9faeabeb11866061cc7dcebffd56ad7d0942d0e61aefd8" +checksum = "8a0d737e0f947a1864e93d33fdef4af8445a00d1ed8dc0c8ddb73139ea6abf15" dependencies = [ "libc", ] @@ -1924,7 +1925,7 @@ dependencies = [ "futures-channel", "futures-core", "futures-util", - "h2 0.2.3", + "h2 0.2.4", "http 0.2.1", "http-body 0.3.1", "httparse", @@ -1933,7 +1934,7 @@ dependencies = [ "net2", "pin-project", "time", - "tokio 0.2.13", + "tokio 0.2.18", "tower-service", "want 0.3.0", ] @@ -1951,7 +1952,7 @@ dependencies = [ "log 0.4.8", "rustls", "rustls-native-certs", - "tokio 0.2.13", + "tokio 0.2.18", "tokio-rustls", "webpki", ] @@ -2020,7 +2021,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ef5550a42e3740a0e71f909d4c861056a284060af885ae7aa6242820f920d9d" dependencies = [ - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", ] @@ -2127,9 +2128,9 @@ dependencies = [ [[package]] name = "jsonrpc-client-transports" -version = "14.0.5" +version = "14.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a9ae166c4d1f702d297cd76d4b55758ace80272ffc6dbb139fdc1bf810de40b" +checksum = "2307a7e78cf969759e390a8a2151ea12e783849a45bb00aa871b468ba58ea79e" dependencies = [ "failure", "futures 0.1.29", @@ -2143,9 +2144,9 @@ dependencies = [ [[package]] name = "jsonrpc-core" -version = "14.0.5" +version = "14.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe3b688648f1ef5d5072229e2d672ecb92cbff7d1c79bcf3fd5898f3f3df0970" +checksum = "25525f6002338fb4debb5167a89a0b47f727a5a48418417545ad3429758b7fec" dependencies = [ "futures 0.1.29", "log 0.4.8", @@ -2156,9 +2157,9 @@ dependencies = [ [[package]] name = "jsonrpc-core-client" -version = "14.0.5" +version = "14.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "080dc110be17701097df238fad3c816d4a478a1899dfbcf8ec8957dd40ec7304" +checksum = "87f9382e831a6d630c658df103aac3f971da096deb57c136ea2b760d3b4e3f9f" dependencies = [ "jsonrpc-client-transports", ] @@ -2170,43 +2171,43 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8609af8f63b626e8e211f52441fcdb6ec54f1a446606b10d5c89ae9bf8a20058" dependencies = [ "proc-macro-crate", - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", ] [[package]] name = "jsonrpc-http-server" -version = "14.0.6" +version = "14.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "816d63997ea45d3634608edbef83ddb35e661f7c0b27b5b72f237e321f0e9807" +checksum = "d52860f0549694aa4abb12766856f56952ab46d3fb9f0815131b2db3d9cc2f29" dependencies = [ "hyper 0.12.35", "jsonrpc-core", "jsonrpc-server-utils", "log 0.4.8", "net2", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "unicase", ] [[package]] name = "jsonrpc-pubsub" -version = "14.0.6" +version = "14.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b31c9b90731276fdd24d896f31bb10aecf2e5151733364ae81123186643d939" +checksum = "c4ca5e391d6c6a2261d4adca029f427fe63ea546ad6cef2957c654c08495ec16" dependencies = [ "jsonrpc-core", "log 0.4.8", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "serde", ] [[package]] name = "jsonrpc-server-utils" -version = "14.0.5" +version = "14.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95b7635e618a0edbbe0d2a2bbbc69874277c49383fcf6c3c0414491cfb517d22" +checksum = "1f06add502b48351e05dd95814835327fb115e4e9f834ca42fd522d3b769d4d2" dependencies = [ "bytes 0.4.12", "globset", @@ -2220,14 +2221,14 @@ dependencies = [ [[package]] name = "jsonrpc-ws-server" -version = "14.0.6" +version = "14.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b94e5773b2ae66e0e02c80775ce6bbba6f15d5bb47c14ec36a36fcf94f8df851" +checksum = "017a7dd5083d9ed62c5e1dd3e317975c33c3115dac5447f4480fe05a8c354754" dependencies = [ "jsonrpc-core", "jsonrpc-server-utils", "log 0.4.8", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "slab", "ws", ] @@ -2333,7 +2334,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cad096c6849b2ef027fabe35c4aed356d0e3d3f586d0a8361e5e17f1e50a7ce5" dependencies = [ "parity-util-mem", - "smallvec 1.2.0", + "smallvec 1.3.0", ] [[package]] @@ -2344,7 +2345,7 @@ checksum = "4aa954d12cfac958822dfd77aab34f3eec71f103b918c4ab79ab59a36ee594ea" dependencies = [ "kvdb", "parity-util-mem", - "parking_lot 0.10.0", + "parking_lot 0.10.2", ] [[package]] @@ -2360,10 +2361,10 @@ dependencies = [ "num_cpus", "owning_ref", "parity-util-mem", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "regex", "rocksdb", - "smallvec 1.2.0", + "smallvec 1.3.0", ] [[package]] @@ -2403,9 +2404,9 @@ checksum = "3576a87f2ba00f6f106fdfcd16db1d698d648a26ad8e0573cad8537c3c362d2a" [[package]] name = "libc" -version = "0.2.68" +version = "0.2.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dea0c0405123bba743ee3f91f49b1c7cfb684eef0da0a50110f758ccf24cdff0" +checksum = "99e85c08494b21a9054e7fe1374a732aeadaff3980b6990b94bfd3a70f690005" [[package]] name = "libflate" @@ -2461,9 +2462,9 @@ dependencies = [ "libp2p-yamux", "multihash", "parity-multiaddr 0.8.0", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "pin-project", - "smallvec 1.2.0", + "smallvec 1.3.0", "wasm-timer", ] @@ -2486,7 +2487,7 @@ dependencies = [ "multihash", "multistream-select", "parity-multiaddr 0.8.0", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "pin-project", "prost", "prost-build", @@ -2494,7 +2495,7 @@ dependencies = [ "ring", "rw-stream-sink", "sha2", - "smallvec 1.2.0", + "smallvec 1.3.0", "thiserror", "unsigned-varint", "void", @@ -2534,7 +2535,7 @@ dependencies = [ "log 0.4.8", "prost", "prost-build", - "smallvec 1.2.0", + "smallvec 1.3.0", "wasm-timer", ] @@ -2558,7 +2559,7 @@ dependencies = [ "prost-build", "rand 0.7.3", "sha2", - "smallvec 1.2.0", + "smallvec 1.3.0", "uint", "unsigned-varint", "void", @@ -2582,7 +2583,7 @@ dependencies = [ "log 0.4.8", "net2", "rand 0.7.3", - "smallvec 1.2.0", + "smallvec 1.3.0", "void", "wasm-timer", ] @@ -2599,7 +2600,7 @@ dependencies = [ "futures_codec", "libp2p-core", "log 0.4.8", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "unsigned-varint", ] @@ -2679,7 +2680,7 @@ dependencies = [ "libp2p-core", "log 0.4.8", "rand 0.7.3", - "smallvec 1.2.0", + "smallvec 1.3.0", "void", "wasm-timer", ] @@ -2742,7 +2743,7 @@ checksum = "02f91aea50f6571e0bc6c058dc0e9b270afd41ec28dd94e9e4bf607e78b9ab87" dependencies = [ "futures 0.3.4", "libp2p-core", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "thiserror", "yamux", ] @@ -2815,9 +2816,9 @@ dependencies = [ [[package]] name = "lock_api" -version = "0.3.3" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79b2de95ecb4691949fea4716ca53cdbcfccb2c612e19644a8bad05edcf9f47b" +checksum = "c4da24a77a3d8a6d4862d95f72e6fdb9c09a643ecdb402d754004a557f2bec75" dependencies = [ "scopeguard", ] @@ -2906,9 +2907,9 @@ dependencies = [ [[package]] name = "memory-db" -version = "0.20.0" +version = "0.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f58381b20ebe2c578e75dececd9da411414903415349548ccc46aac3209cdfbc" +checksum = "be512cb2ccb4ecbdca937fdd4a62ea5f09f8e7195466a85e4632b3d5bcce82e6" dependencies = [ "ahash", "hash-db", @@ -3029,9 +3030,9 @@ dependencies = [ [[package]] name = "multimap" -version = "0.8.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a97fbd5d00e0e37bfb10f433af8f5aaf631e739368dc9fc28286ca81ca4948dc" +checksum = "d8883adfde9756c1d30b0f519c9b8c502a94b41ac62f696453c37c7fc0a958ce" [[package]] name = "multistream-select" @@ -3043,7 +3044,7 @@ dependencies = [ "futures 0.3.4", "log 0.4.8", "pin-project", - "smallvec 1.2.0", + "smallvec 1.3.0", "unsigned-varint", ] @@ -3220,9 +3221,9 @@ dependencies = [ [[package]] name = "num_cpus" -version = "1.12.0" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46203554f085ff89c235cd12f7075f3233af9b11ed7c9e16dfe2560d03313ce6" +checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3" dependencies = [ "hermit-abi", "libc", @@ -3285,7 +3286,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-support", "frame-system", @@ -3303,7 +3304,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-support", "frame-system", @@ -3320,7 +3321,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-support", "frame-system", @@ -3341,7 +3342,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-benchmarking", "frame-support", @@ -3356,7 +3357,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-benchmarking", "frame-support", @@ -3372,7 +3373,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-benchmarking", "frame-support", @@ -3387,7 +3388,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-support", "frame-system", @@ -3401,7 +3402,7 @@ dependencies = [ [[package]] name = "pallet-finality-tracker" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-support", "frame-system", @@ -3417,7 +3418,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-support", "frame-system", @@ -3435,7 +3436,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "enumflags2", "frame-benchmarking", @@ -3451,7 +3452,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-support", "frame-system", @@ -3470,7 +3471,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-support", "frame-system", @@ -3486,7 +3487,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-support", "frame-system", @@ -3500,7 +3501,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-support", "frame-system", @@ -3514,7 +3515,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-support", "frame-system", @@ -3529,7 +3530,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-support", "frame-system", @@ -3542,7 +3543,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "enumflags2", "frame-support", @@ -3557,7 +3558,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-benchmarking", "frame-support", @@ -3572,7 +3573,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-support", "frame-system", @@ -3590,7 +3591,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-support", "frame-system", @@ -3605,7 +3606,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-support", "frame-system", @@ -3626,10 +3627,10 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "proc-macro-crate", - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", ] @@ -3637,7 +3638,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-support", "frame-system", @@ -3651,7 +3652,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-benchmarking", "frame-support", @@ -3668,7 +3669,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-support", "frame-system", @@ -3681,7 +3682,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -3699,7 +3700,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-support", "parity-scale-codec", @@ -3712,7 +3713,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-support", "frame-system", @@ -3726,7 +3727,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-support", "frame-system", @@ -3741,7 +3742,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "enumflags2", "frame-support", @@ -3763,7 +3764,7 @@ dependencies = [ "libc", "log 0.4.8", "memmap", - "parking_lot 0.10.0", + "parking_lot 0.10.2", ] [[package]] @@ -3837,7 +3838,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a0ec292e92e8ec7c58e576adacc1e3f399c597c8f263c42f18420abe58e7245" dependencies = [ "proc-macro-crate", - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", ] @@ -3850,9 +3851,9 @@ checksum = "aa9777aa91b8ad9dd5aaa04a9b6bcb02c7f1deb952fca5a66034d5e63afc5c6f" [[package]] name = "parity-util-mem" -version = "0.6.0" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e42755f26e5ea21a6a819d9e63cbd70713e9867a2b767ec2cc65ca7659532c5" +checksum = "2c6e2583649a3ca84894d1d71da249abcfda54d5aca24733d72ca10d0f02361c" dependencies = [ "cfg-if", "ethereum-types", @@ -3861,9 +3862,9 @@ dependencies = [ "jemallocator", "lru", "parity-util-mem-derive", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "primitive-types", - "smallvec 1.2.0", + "smallvec 1.3.0", "winapi 0.3.8", ] @@ -3873,7 +3874,7 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" dependencies = [ - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "syn 1.0.17", "synstructure", ] @@ -3897,12 +3898,12 @@ dependencies = [ [[package]] name = "parking_lot" -version = "0.10.0" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92e98c49ab0b7ce5b222f2cc9193fc4efe11c6d0bd4f648e374684a6857b1cfc" +checksum = "d3a704eb390aafdc107b0e392f56a82b668e3a71366993b5340f5833fd62505e" dependencies = [ "lock_api", - "parking_lot_core 0.7.0", + "parking_lot_core 0.7.1", ] [[package]] @@ -3922,23 +3923,23 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.7.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7582838484df45743c8434fbff785e8edf260c28748353d44bc0da32e0ceabf1" +checksum = "0e136c1904604defe99ce5fd71a28d473fa60a12255d511aa78a9ddf11237aeb" dependencies = [ "cfg-if", "cloudabi", "libc", "redox_syscall", - "smallvec 1.2.0", + "smallvec 1.3.0", "winapi 0.3.8", ] [[package]] name = "paste" -version = "0.1.8" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8292c1e1e81ddb552c4c90c36af201a0ce7e34995f55f0480f01052f242811c9" +checksum = "ab4fb1930692d1b6a9cfabdde3d06ea0a7d186518e2f4d67660d8970e2fa647a" dependencies = [ "paste-impl", "proc-macro-hack", @@ -3946,12 +3947,12 @@ dependencies = [ [[package]] name = "paste-impl" -version = "0.1.8" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e9c43f2645f06ee452544ad032886a75f3d1797b9487dcadcae9100ba58a51c" +checksum = "a62486e111e571b1e93b710b61e8f493c0013be39629b714cb166bdb06aa5a8a" dependencies = [ "proc-macro-hack", - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", ] @@ -4002,20 +4003,20 @@ dependencies = [ [[package]] name = "pin-project" -version = "0.4.8" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7804a463a8d9572f13453c516a5faea534a2403d7ced2f0c7e100eeff072772c" +checksum = "6f6a7f5eee6292c559c793430c55c00aea9d3b3d1905e855806ca4d7253426a2" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "0.4.8" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "385322a45f2ecf3410c68d2a549a4a2685e8051d0f278e39743ff4e451cb9b3f" +checksum = "8988430ce790d8682672117bc06dda364c0be32d3abd738234f19f3240bad99a" dependencies = [ - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", ] @@ -4067,7 +4068,7 @@ dependencies = [ name = "polkadot-availability-store" version = "0.7.29" dependencies = [ - "derive_more 0.99.3", + "derive_more 0.99.5", "exit-future", "futures 0.3.4", "kvdb", @@ -4087,7 +4088,7 @@ dependencies = [ "sp-consensus", "sp-core", "sp-runtime", - "tokio 0.2.13", + "tokio 0.2.18", ] [[package]] @@ -4110,7 +4111,7 @@ dependencies = [ "structopt", "substrate-browser-utils", "substrate-build-script-utils", - "tokio 0.2.13", + "tokio 0.2.18", "wasm-bindgen", "wasm-bindgen-futures", ] @@ -4138,7 +4139,7 @@ dependencies = [ "sp-core", "sp-keyring", "sp-runtime", - "tokio 0.2.13", + "tokio 0.2.18", ] [[package]] @@ -4189,7 +4190,7 @@ dependencies = [ "env_logger 0.7.1", "futures 0.3.4", "log 0.4.8", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "polkadot-test-runtime-client", "rand 0.7.3", "sc-block-builder", @@ -4207,10 +4208,10 @@ dependencies = [ name = "polkadot-parachain" version = "0.7.29" dependencies = [ - "derive_more 0.99.3", + "derive_more 0.99.5", "log 0.4.8", "parity-scale-codec", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "sc-executor", "serde", "shared_memory", @@ -4538,7 +4539,7 @@ dependencies = [ "sp-timestamp", "sp-transaction-pool", "sp-trie", - "tokio 0.2.13", + "tokio 0.2.18", ] [[package]] @@ -4607,12 +4608,12 @@ dependencies = [ [[package]] name = "proc-macro-error" -version = "0.4.12" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18f33027081eba0a6d8aba6d1b1c3a3be58cbb12106341c2d5759fcd9b5277e7" +checksum = "98e9e4b82e0ef281812565ea4751049f1bdcdfccda7d3f459f2e138a40c08678" dependencies = [ "proc-macro-error-attr", - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", "version_check", @@ -4620,11 +4621,11 @@ dependencies = [ [[package]] name = "proc-macro-error-attr" -version = "0.4.12" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a5b4b77fdb63c1eca72173d68d24501c54ab1269409f6b672c85deb18af69de" +checksum = "4f5444ead4e9935abd7f27dc51f7e852a0569ac888096d5ec2499470794e2e53" dependencies = [ - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", "syn-mid", @@ -4633,9 +4634,9 @@ dependencies = [ [[package]] name = "proc-macro-hack" -version = "0.5.14" +version = "0.5.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcfdefadc3d57ca21cf17990a28ef4c0f7c61383a28cb7604cf4a18e6ede1420" +checksum = "0d659fe7c6d27f25e9d80a1a094c223f5246f6a6596453e09d7229bf42750b63" [[package]] name = "proc-macro-nested" @@ -4654,9 +4655,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.9" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c09721c6781493a2a492a96b5a5bf19b65917fe6728884e7c44dd0c60ca3435" +checksum = "df246d292ff63439fea9bc8c0a270bed0e390d5ebd4db4ba15aba81111b5abe3" dependencies = [ "unicode-xid 0.2.0", ] @@ -4726,7 +4727,7 @@ checksum = "537aa19b95acde10a12fec4301466386f757403de4cd4e5b4fa78fb5ecb18f72" dependencies = [ "anyhow", "itertools", - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", ] @@ -4743,9 +4744,9 @@ dependencies = [ [[package]] name = "protobuf" -version = "2.11.0" +version = "2.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc1b4a8efc42cf150049e8a490f618c7c60e82332405065f202a7e33aa5a1f06" +checksum = "8e86d370532557ae7573551a1ec8235a0f8d6cb276c7c9e6aa490b511c447485" [[package]] name = "quick-error" @@ -4755,9 +4756,9 @@ checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" [[package]] name = "quicksink" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8461ef7445f61fd72d8dcd0629ce724b9131b3c2eb36e83a5d3d4161c127530" +checksum = "77de3c815e5a160b1539c6592796801df2043ae35e123b46d73380cfa57af858" dependencies = [ "futures-core", "futures-sink", @@ -4785,7 +4786,7 @@ version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2bdc6c187c65bca4260c9011c9e3132efe4909da44726bad24cf7572ae338d7f" dependencies = [ - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", ] [[package]] @@ -5051,7 +5052,7 @@ version = "4.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a415a013dd7c5d4221382329a5a3482566da675737494935cbbbcdec04662f9d" dependencies = [ - "smallvec 1.2.0", + "smallvec 1.3.0", ] [[package]] @@ -5095,9 +5096,9 @@ dependencies = [ [[package]] name = "ring" -version = "0.16.11" +version = "0.16.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "741ba1704ae21999c00942f9f5944f801e977f54302af346b596287599ad1862" +checksum = "1ba5a8ec64ee89a76c98c549af81ff14813df09c3e6dc4766c3856da48597a0c" dependencies = [ "cc", "lazy_static", @@ -5242,10 +5243,10 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "bytes 0.5.4", - "derive_more 0.99.3", + "derive_more 0.99.5", "futures 0.3.4", "futures-timer 3.0.2", "libp2p", @@ -5269,7 +5270,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -5285,7 +5286,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "impl-trait-for-tuples", "sc-chain-spec-derive", @@ -5301,10 +5302,10 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "proc-macro-crate", - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", ] @@ -5312,14 +5313,14 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "ansi_term 0.12.1", "app_dirs", "atty", "chrono", "clap", - "derive_more 0.99.3", + "derive_more 0.99.5", "env_logger 0.7.1", "fdlimit", "futures 0.3.4", @@ -5348,15 +5349,15 @@ dependencies = [ "structopt", "substrate-prometheus-endpoint", "time", - "tokio 0.2.13", + "tokio 0.2.18", ] [[package]] name = "sc-client" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ - "derive_more 0.99.3", + "derive_more 0.99.5", "fnv", "futures 0.3.4", "hash-db", @@ -5364,7 +5365,8 @@ dependencies = [ "kvdb", "log 0.4.8", "parity-scale-codec", - "parking_lot 0.10.0", + "parking_lot 0.10.2", + "rand 0.7.3", "sc-block-builder", "sc-client-api", "sc-executor", @@ -5390,9 +5392,9 @@ dependencies = [ [[package]] name = "sc-client-api" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ - "derive_more 0.99.3", + "derive_more 0.99.5", "fnv", "futures 0.3.4", "hash-db", @@ -5401,7 +5403,7 @@ dependencies = [ "lazy_static", "log 0.4.8", "parity-scale-codec", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "sc-executor", "sc-telemetry", "sp-api", @@ -5424,7 +5426,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "blake2-rfc", "hash-db", @@ -5436,7 +5438,7 @@ dependencies = [ "parity-db", "parity-scale-codec", "parity-util-mem", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "sc-client", "sc-client-api", "sc-executor", @@ -5454,9 +5456,9 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ - "derive_more 0.99.3", + "derive_more 0.99.5", "fork-tree", "futures 0.3.4", "futures-timer 3.0.2", @@ -5466,7 +5468,7 @@ dependencies = [ "num-rational", "num-traits 0.2.11", "parity-scale-codec", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "pdqselect", "rand 0.7.3", "sc-client", @@ -5496,11 +5498,11 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "fork-tree", "parity-scale-codec", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "sc-client-api", "sp-blockchain", "sp-runtime", @@ -5509,13 +5511,13 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "futures 0.3.4", "futures-timer 3.0.2", "log 0.4.8", "parity-scale-codec", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "sc-client-api", "sc-telemetry", "sp-api", @@ -5530,7 +5532,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "log 0.4.8", "sc-client-api", @@ -5544,15 +5546,15 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ - "derive_more 0.99.3", + "derive_more 0.99.5", "lazy_static", "libsecp256k1", "log 0.4.8", "parity-scale-codec", "parity-wasm", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "sc-executor-common", "sc-executor-wasmi", "sc-executor-wasmtime", @@ -5571,9 +5573,9 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ - "derive_more 0.99.3", + "derive_more 0.99.5", "log 0.4.8", "parity-scale-codec", "parity-wasm", @@ -5588,7 +5590,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "log 0.4.8", "parity-scale-codec", @@ -5603,7 +5605,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "cranelift-codegen", "cranelift-wasm", @@ -5624,7 +5626,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "assert_matches", "finality-grandpa", @@ -5633,7 +5635,7 @@ dependencies = [ "futures-timer 3.0.2", "log 0.4.8", "parity-scale-codec", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "pin-project", "rand 0.7.3", "sc-block-builder", @@ -5660,7 +5662,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "ansi_term 0.12.1", "futures 0.3.4", @@ -5677,11 +5679,11 @@ dependencies = [ [[package]] name = "sc-keystore" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ - "derive_more 0.99.3", + "derive_more 0.99.5", "hex", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "rand 0.7.3", "serde_json", "sp-application-crypto", @@ -5692,11 +5694,11 @@ dependencies = [ [[package]] name = "sc-network" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "bitflags", "bytes 0.5.4", - "derive_more 0.99.3", + "derive_more 0.99.5", "either", "erased-serde", "fnv", @@ -5712,7 +5714,7 @@ dependencies = [ "lru", "nohash-hasher", "parity-scale-codec", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "pin-project", "prost", "prost-build", @@ -5744,7 +5746,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "futures 0.3.4", "futures-timer 3.0.2", @@ -5760,14 +5762,14 @@ dependencies = [ [[package]] name = "sc-network-test" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "env_logger 0.7.1", "futures 0.3.4", "futures-timer 3.0.2", "libp2p", "log 0.4.8", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "rand 0.7.3", "sc-block-builder", "sc-client", @@ -5786,7 +5788,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "bytes 0.5.4", "fnv", @@ -5797,7 +5799,7 @@ dependencies = [ "log 0.4.8", "num_cpus", "parity-scale-codec", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "rand 0.7.3", "sc-client-api", "sc-keystore", @@ -5813,7 +5815,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "futures 0.3.4", "libp2p", @@ -5826,7 +5828,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "futures 0.3.4", "hash-db", @@ -5834,7 +5836,7 @@ dependencies = [ "jsonrpc-pubsub", "log 0.4.8", "parity-scale-codec", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "sc-block-builder", "sc-client", "sc-client-api", @@ -5859,9 +5861,9 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ - "derive_more 0.99.3", + "derive_more 0.99.5", "futures 0.3.4", "jsonrpc-core", "jsonrpc-core-client", @@ -5869,7 +5871,7 @@ dependencies = [ "jsonrpc-pubsub", "log 0.4.8", "parity-scale-codec", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "serde", "serde_json", "sp-chain-spec", @@ -5883,7 +5885,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "jsonrpc-core", "jsonrpc-http-server", @@ -5898,9 +5900,9 @@ dependencies = [ [[package]] name = "sc-service" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ - "derive_more 0.99.3", + "derive_more 0.99.5", "exit-future", "futures 0.1.29", "futures 0.3.4", @@ -5911,7 +5913,7 @@ dependencies = [ "parity-multiaddr 0.7.3", "parity-scale-codec", "parity-util-mem", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "pin-project", "procfs", "sc-chain-spec", @@ -5949,13 +5951,13 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "log 0.4.8", "parity-scale-codec", "parity-util-mem", "parity-util-mem-derive", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "sc-client-api", "sp-core", ] @@ -5963,14 +5965,14 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "bytes 0.5.4", "futures 0.3.4", "futures-timer 3.0.2", "libp2p", "log 0.4.8", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "pin-project", "rand 0.7.3", "serde", @@ -5985,11 +5987,11 @@ dependencies = [ [[package]] name = "sc-tracing" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "erased-serde", "log 0.4.8", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "sc-telemetry", "serde", "serde_json", @@ -6000,14 +6002,14 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ - "derive_more 0.99.3", + "derive_more 0.99.5", "futures 0.3.4", "linked-hash-map", "log 0.4.8", "parity-util-mem", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "serde", "sp-blockchain", "sp-core", @@ -6020,16 +6022,16 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ - "derive_more 0.99.3", + "derive_more 0.99.5", "futures 0.3.4", "futures-diagnose", "intervalier", "log 0.4.8", "parity-scale-codec", "parity-util-mem", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "sc-client-api", "sc-transaction-graph", "sp-api", @@ -6096,7 +6098,7 @@ version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8584eea9b9ff42825b46faf46a8c24d2cff13ec152fa2a50df788b87c07ee28" dependencies = [ - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", ] @@ -6113,21 +6115,22 @@ dependencies = [ [[package]] name = "security-framework" -version = "0.4.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97bbedbe81904398b6ebb054b3e912f99d55807125790f3198ac990d98def5b0" +checksum = "572dfa3a0785509e7a44b5b4bebcf94d41ba34e9ed9eb9df722545c3b3c4144a" dependencies = [ "bitflags", "core-foundation", "core-foundation-sys", + "libc", "security-framework-sys", ] [[package]] name = "security-framework-sys" -version = "0.4.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06fd2f23e31ef68dd2328cc383bd493142e46107a3a0e24f7d734e3f3b80fe4c" +checksum = "8ddb15a5fec93b7021b8a9e96009c5d8d51c15673569f7c0f6b7204e5b7b404f" dependencies = [ "core-foundation-sys", "libc", @@ -6168,29 +6171,29 @@ checksum = "f638d531eccd6e23b980caf34876660d38e265409d8e99b397ab71eb3612fad0" [[package]] name = "serde" -version = "1.0.105" +version = "1.0.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e707fbbf255b8fc8c3b99abb91e7257a622caeb20a9818cbadbeeede4e0932ff" +checksum = "36df6ac6412072f67cf767ebbde4133a5b2e88e76dc6187fa7104cd16f783399" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.105" +version = "1.0.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac5d00fc561ba2724df6758a17de23df5914f20e41cb00f94d5b7ae42fffaff8" +checksum = "9e549e3abf4fb8621bd1609f11dfc9f5e50320802273b12f3811a67e6716ea6c" dependencies = [ - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", ] [[package]] name = "serde_json" -version = "1.0.48" +version = "1.0.51" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9371ade75d4c2d6cb154141b9752cf3781ec9c05e0e5cf35060e1e70ee7b9c25" +checksum = "da07b57ee2623368351e9a0488bb0b261322a15a6e0ae53e243cbdc0f4208da9" dependencies = [ "itoa", "ryu", @@ -6341,7 +6344,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a945ec7f7ce853e89ffa36be1e27dce9a43e82ff9093bf3461c30d5da74ed11b" dependencies = [ - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", ] @@ -6357,9 +6360,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.2.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c2fb2ec9bcd216a5b0d0ccf31ab17b5ed1d627960edff65bbe95d3ce221cefc" +checksum = "05720e22615919e4734f6a99ceae50d00226c3c5aca406e102ebc33298214e0a" [[package]] name = "snow" @@ -6394,7 +6397,7 @@ dependencies = [ "log 0.4.8", "rand 0.7.3", "sha1", - "smallvec 1.2.0", + "smallvec 1.3.0", "static_assertions", "thiserror", ] @@ -6402,9 +6405,9 @@ dependencies = [ [[package]] name = "sp-allocator" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ - "derive_more 0.99.3", + "derive_more 0.99.5", "log 0.4.8", "sp-core", "sp-std", @@ -6414,7 +6417,7 @@ dependencies = [ [[package]] name = "sp-api" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "hash-db", "parity-scale-codec", @@ -6429,11 +6432,11 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "blake2-rfc", "proc-macro-crate", - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", ] @@ -6441,7 +6444,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "parity-scale-codec", "serde", @@ -6453,7 +6456,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "integer-sqrt", "num-traits 0.2.11", @@ -6467,7 +6470,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "parity-scale-codec", "sp-api", @@ -6479,7 +6482,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -6490,7 +6493,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "parity-scale-codec", "sp-api", @@ -6502,13 +6505,13 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ - "derive_more 0.99.3", + "derive_more 0.99.5", "log 0.4.8", "lru", "parity-scale-codec", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "sp-block-builder", "sp-consensus", "sp-runtime", @@ -6518,7 +6521,7 @@ dependencies = [ [[package]] name = "sp-chain-spec" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "serde", "serde_json", @@ -6527,16 +6530,16 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ - "derive_more 0.99.3", + "derive_more 0.99.5", "futures 0.3.4", "futures-diagnose", "futures-timer 3.0.2", "libp2p", "log 0.4.8", "parity-scale-codec", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "serde", "sp-core", "sp-inherents", @@ -6550,7 +6553,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "parity-scale-codec", "sp-api", @@ -6564,7 +6567,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "parity-scale-codec", "sp-api", @@ -6580,7 +6583,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -6592,7 +6595,7 @@ dependencies = [ [[package]] name = "sp-core" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "base58", "blake2-rfc", @@ -6609,7 +6612,7 @@ dependencies = [ "num-traits 0.2.11", "parity-scale-codec", "parity-util-mem", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "primitive-types", "rand 0.7.3", "regex", @@ -6623,7 +6626,7 @@ dependencies = [ "sp-storage", "substrate-bip39", "tiny-bip39", - "tiny-keccak 2.0.1", + "tiny-keccak 2.0.2", "twox-hash", "wasmi", "zeroize", @@ -6632,18 +6635,18 @@ dependencies = [ [[package]] name = "sp-database" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "kvdb", - "parking_lot 0.10.0", + "parking_lot 0.10.2", ] [[package]] name = "sp-debug-derive" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", ] @@ -6651,7 +6654,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "environmental", "sp-std", @@ -6661,7 +6664,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "parity-scale-codec", "serde", @@ -6674,7 +6677,7 @@ dependencies = [ [[package]] name = "sp-finality-tracker" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -6684,11 +6687,11 @@ dependencies = [ [[package]] name = "sp-inherents" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ - "derive_more 0.99.3", + "derive_more 0.99.5", "parity-scale-codec", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "sp-core", "sp-std", ] @@ -6696,7 +6699,7 @@ dependencies = [ [[package]] name = "sp-io" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "hash-db", "libsecp256k1", @@ -6714,7 +6717,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "lazy_static", "sp-core", @@ -6725,7 +6728,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "sp-api", "sp-runtime", @@ -6734,7 +6737,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "backtrace", "log 0.4.8", @@ -6743,7 +6746,7 @@ dependencies = [ [[package]] name = "sp-phragmen" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "parity-scale-codec", "serde", @@ -6755,10 +6758,10 @@ dependencies = [ [[package]] name = "sp-phragmen-compact" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "proc-macro-crate", - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", ] @@ -6766,7 +6769,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "serde", "sp-core", @@ -6775,7 +6778,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "hash256-std-hasher", "impl-trait-for-tuples", @@ -6796,7 +6799,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "parity-scale-codec", "primitive-types", @@ -6810,11 +6813,11 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "Inflector", "proc-macro-crate", - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", ] @@ -6822,7 +6825,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "serde", "serde_json", @@ -6831,7 +6834,7 @@ dependencies = [ [[package]] name = "sp-session" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "sp-api", "sp-core", @@ -6842,7 +6845,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -6852,13 +6855,13 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "hash-db", "log 0.4.8", "num-traits 0.2.11", "parity-scale-codec", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "rand 0.7.3", "sp-core", "sp-externalities", @@ -6871,12 +6874,12 @@ dependencies = [ [[package]] name = "sp-std" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" [[package]] name = "sp-storage" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "impl-serde 0.2.3", "serde", @@ -6887,7 +6890,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -6901,9 +6904,9 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ - "derive_more 0.99.3", + "derive_more 0.99.5", "futures 0.3.4", "log 0.4.8", "parity-scale-codec", @@ -6916,7 +6919,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "hash-db", "memory-db", @@ -6930,7 +6933,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "futures 0.3.4", "futures-core", @@ -6941,7 +6944,7 @@ dependencies = [ [[package]] name = "sp-version" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "impl-serde 0.2.3", "parity-scale-codec", @@ -6953,7 +6956,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -7023,9 +7026,9 @@ checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" [[package]] name = "structopt" -version = "0.3.12" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8faa2719539bbe9d77869bfb15d4ee769f99525e707931452c97b693b3f159d" +checksum = "ff6da2e8d107dfd7b74df5ef4d205c6aebee0706c647f6bc6a2d5789905c00fb" dependencies = [ "clap", "lazy_static", @@ -7034,13 +7037,13 @@ dependencies = [ [[package]] name = "structopt-derive" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f88b8e18c69496aad6f9ddf4630dd7d585bcaf765786cb415b9aec2fe5a0430" +checksum = "a489c87c08fbaf12e386665109dd13470dcc9c4583ea3e10dd2b4523e5ebd9ac" dependencies = [ "heck", "proc-macro-error", - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", ] @@ -7061,7 +7064,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0054a7df764039a6cd8592b9de84be4bec368ff081d203a7d5371cbfa8e65c81" dependencies = [ "heck", - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", ] @@ -7081,7 +7084,7 @@ dependencies = [ [[package]] name = "substrate-browser-utils" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "chrono", "clear_on_drop", @@ -7108,7 +7111,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "platforms", ] @@ -7116,7 +7119,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.4", @@ -7137,21 +7140,21 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.8.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "async-std", - "derive_more 0.99.3", + "derive_more 0.99.5", "futures-util", "hyper 0.13.4", "log 0.4.8", "prometheus", - "tokio 0.2.13", + "tokio 0.2.18", ] [[package]] name = "substrate-test-client" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "futures 0.3.4", "hash-db", @@ -7171,7 +7174,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "cfg-if", "frame-executive", @@ -7210,7 +7213,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" dependencies = [ "futures 0.3.4", "parity-scale-codec", @@ -7228,7 +7231,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder-runner" version = "1.0.5" -source = "git+https://github.com/paritytech/substrate#220b9c670f396ebfc6fb84ae02ebf5d42d584227" +source = "git+https://github.com/paritytech/substrate#710722f02f372601b2dae178d66654b8cb372ab5" [[package]] name = "substrate-wasm-builder-runner" @@ -7345,7 +7348,7 @@ version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0df0eb663f387145cab623dea85b09c2c5b4b0aef44e945d928e682fce71bb03" dependencies = [ - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "unicode-xid 0.2.0", ] @@ -7356,7 +7359,7 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7be3539f6c128a931cf19dcee741c1af532c7fd387baa739c03dd2e96479338a" dependencies = [ - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", ] @@ -7376,7 +7379,7 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "67656ea1dc1b41b1451851562ea232ec2e5a80242139f7e679ceccfb5d61f545" dependencies = [ - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", "unicode-xid 0.2.0", @@ -7450,7 +7453,7 @@ version = "0.1.0" dependencies = [ "futures 0.3.4", "parity-scale-codec", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "polkadot-collator", "polkadot-parachain", "polkadot-primitives", @@ -7513,20 +7516,20 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.13" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3711fd1c4e75b3eff12ba5c40dba762b6b65c5476e8174c1a664772060c49bf" +checksum = "54b3d3d2ff68104100ab257bb6bb0cb26c901abe4bd4ba15961f3bf867924012" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.13" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae2b85ba4c9aa32dd3343bd80eb8d22e9b54b7688c17ea3907f236885353b233" +checksum = "ca972988113b7715266f91250ddb98070d033c62a011fa0fcc57434a649310dd" dependencies = [ - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", ] @@ -7562,9 +7565,9 @@ dependencies = [ [[package]] name = "tiny-bip39" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e255ec4f7d4aaccbede17dffcfb2e71434d17f5c921d5a06823b8e58a2bcd468" +checksum = "b0165e045cc2ae1660270ca65e1676dbaab60feb0f91b10f7d0665e9b47e31f2" dependencies = [ "failure", "hmac", @@ -7587,9 +7590,9 @@ dependencies = [ [[package]] name = "tiny-keccak" -version = "2.0.1" +version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2953ca5148619bc99695c1274cb54c5275bbb913c6adad87e72eaf8db9787f69" +checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" dependencies = [ "crunchy", ] @@ -7620,12 +7623,13 @@ dependencies = [ [[package]] name = "tokio" -version = "0.2.13" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fa5e81d6bc4e67fe889d5783bd2a128ab2e0cfa487e0be16b6a8d177b101616" +checksum = "34ef16d072d2b6dc8b4a56c70f5c5ced1a37752116f8e7c1e80c659aa7cb6713" dependencies = [ "bytes 0.5.4", "fnv", + "futures-core", "iovec", "lazy_static", "libc", @@ -7730,7 +7734,7 @@ checksum = "4adb8b3e5f86b707f1b54e7c15b6de52617a823608ccda98a15d3a24222f265a" dependencies = [ "futures-core", "rustls", - "tokio 0.2.13", + "tokio 0.2.18", "webpki", ] @@ -7822,16 +7826,16 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.2.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "571da51182ec208780505a32528fc5512a8fe1443ab960b3f2f3ef093cd16930" +checksum = "be8242891f2b6cbef26a2d7e8605133c2c554cd35b3e4948ea892d6d68436499" dependencies = [ "bytes 0.5.4", "futures-core", "futures-sink", "log 0.4.8", "pin-project-lite", - "tokio 0.2.13", + "tokio 0.2.18", ] [[package]] @@ -7895,7 +7899,7 @@ dependencies = [ "hashbrown", "log 0.4.8", "rustc-hex", - "smallvec 1.2.0", + "smallvec 1.3.0", ] [[package]] @@ -7935,9 +7939,9 @@ dependencies = [ [[package]] name = "typenum" -version = "1.11.2" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d2783fe2d6b8c1101136184eb41be8b1ad379e4657050b8aaff0c79ee7575f9" +checksum = "373c8a200f9e67a0c95e62a4f52fbf80c23b4381c05a17845531982fa99e6b33" [[package]] name = "uint" @@ -7975,7 +7979,7 @@ version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5479532badd04e128284890390c1e876ef7a993d0570b3597ae43dfa1d59afa4" dependencies = [ - "smallvec 1.2.0", + "smallvec 1.3.0", ] [[package]] @@ -8010,9 +8014,9 @@ checksum = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c" [[package]] name = "unsigned-varint" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f38e01ad4b98f042e166c1bf9a13f9873a99d79eaa171ce7ca81e6dd0f895d8a" +checksum = "f67332660eb59a6f1eb24ff1220c9e8d01738a8503c6002e30bcfe4bd9f2b4a9" dependencies = [ "bytes 0.5.4", "futures-io", @@ -8078,6 +8082,15 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" +[[package]] +name = "wait-timeout" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6" +dependencies = [ + "libc", +] + [[package]] name = "want" version = "0.2.0" @@ -8124,7 +8137,7 @@ dependencies = [ "bumpalo", "lazy_static", "log 0.4.8", - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", "wasm-bindgen-shared", @@ -8158,7 +8171,7 @@ version = "0.2.60" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d68a5b36eef1be7868f668632863292e37739656a80fc4b9acec7b0bd35a4931" dependencies = [ - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", "wasm-bindgen-backend", @@ -8279,18 +8292,18 @@ dependencies = [ [[package]] name = "wast" -version = "11.0.0" +version = "14.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df4d67ba9266f4fcaf2e8a1afadc5e2a959e51aecc07b1ecbdf85a6ddaf08bde" +checksum = "47b11c94c63d5365a76ea287f8e6e5b6050233fae4b2423aea2a1e126a385e17" dependencies = [ "leb128", ] [[package]] name = "wat" -version = "1.0.12" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a9400dc1c8512087b2d974b1b9b0a6c4e6e26e7e8acf629e3e351165a1ed301" +checksum = "03db18bc33cff3859c296efbefdcc00763a644539feeadca3415a1cee8a2835d" dependencies = [ "wast", ] @@ -8443,9 +8456,9 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ccfbf554c6ad11084fb7517daca16cfdcaccbdadba4fc336f032a8b12c2ad80" +checksum = "fa515c5163a99cc82bab70fd3bfdd36d827be85de63737b40fcef2ce084a436e" dependencies = [ "winapi 0.3.8", ] @@ -8510,7 +8523,7 @@ dependencies = [ "futures 0.3.4", "log 0.4.8", "nohash-hasher", - "parking_lot 0.10.0", + "parking_lot 0.10.2", "rand 0.7.3", "static_assertions", ] @@ -8530,7 +8543,7 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "de251eec69fc7c1bc3923403d18ececb929380e016afe103da75f396704f8ca2" dependencies = [ - "proc-macro2 1.0.9", + "proc-macro2 1.0.10", "quote 1.0.3", "syn 1.0.17", "synstructure", diff --git a/polkadot/runtime/common/src/attestations.rs b/polkadot/runtime/common/src/attestations.rs index 58b90acce5..848b0b0ce3 100644 --- a/polkadot/runtime/common/src/attestations.rs +++ b/polkadot/runtime/common/src/attestations.rs @@ -22,7 +22,10 @@ use sp_std::prelude::*; use codec::{Encode, Decode}; use frame_support::{ - decl_storage, decl_module, decl_error, ensure, dispatch::DispatchResult, traits::Get + decl_storage, decl_module, decl_error, ensure, + dispatch::DispatchResult, + traits::Get, + weights::{MINIMUM_WEIGHT, SimpleDispatchInfo}, }; use primitives::{Hash, parachain::{AttestedCandidate, AbridgedCandidateReceipt, Id as ParaId}}; @@ -131,7 +134,7 @@ decl_module! { type Error = Error; /// Provide candidate receipts for parachains, in ascending order by id. - #[weight = frame_support::weights::SimpleDispatchInfo::FixedMandatory(10_000)] + #[weight = SimpleDispatchInfo::FixedMandatory(MINIMUM_WEIGHT)] fn more_attestations(origin, _more: MoreAttestations) -> DispatchResult { ensure_none(origin)?; ensure!(!DidUpdate::exists(), Error::::TooManyAttestations); diff --git a/polkadot/runtime/common/src/claims.rs b/polkadot/runtime/common/src/claims.rs index 3c37779cde..bf7b0f14cb 100644 --- a/polkadot/runtime/common/src/claims.rs +++ b/polkadot/runtime/common/src/claims.rs @@ -184,7 +184,7 @@ decl_module! { /// /// Total Complexity: O(1) /// - #[weight = SimpleDispatchInfo::FixedNormal(1_000_000)] + #[weight = SimpleDispatchInfo::FixedNormal(1_000_000_000)] fn claim(origin, dest: T::AccountId, ethereum_signature: EcdsaSignature) { ensure_none(origin)?; @@ -231,7 +231,7 @@ decl_module! { /// /// Total Complexity: O(1) /// - #[weight = SimpleDispatchInfo::FixedNormal(30_000)] + #[weight = SimpleDispatchInfo::FixedNormal(30_000_000)] fn mint_claim(origin, who: EthereumAddress, value: BalanceOf, @@ -390,6 +390,7 @@ mod tests { type Event = (); type BlockHashCount = BlockHashCount; type MaximumBlockWeight = MaximumBlockWeight; + type DbWeight = (); type MaximumBlockLength = MaximumBlockLength; type AvailableBlockRatio = AvailableBlockRatio; type Version = (); diff --git a/polkadot/runtime/common/src/crowdfund.rs b/polkadot/runtime/common/src/crowdfund.rs index 99d671b76b..2eb8f6262b 100644 --- a/polkadot/runtime/common/src/crowdfund.rs +++ b/polkadot/runtime/common/src/crowdfund.rs @@ -67,15 +67,16 @@ //! funds ultimately end up in module's fund sub-account. use frame_support::{ - decl_module, decl_storage, decl_event, decl_error, storage::child, ensure, traits::{ + decl_module, decl_storage, decl_event, decl_error, storage::child, ensure, + traits::{ Currency, Get, OnUnbalanced, WithdrawReason, ExistenceRequirement::AllowDeath - } + }, + weights::{MINIMUM_WEIGHT, SimpleDispatchInfo}, }; use system::ensure_signed; use sp_runtime::{ModuleId, traits::{AccountIdConversion, Hash, Saturating, Zero, CheckedAdd} }; -use frame_support::weights::SimpleDispatchInfo; use crate::slots; use codec::{Encode, Decode}; use sp_std::vec::Vec; @@ -250,7 +251,7 @@ decl_module! { fn deposit_event() = default; /// Create a new crowdfunding campaign for a parachain slot deposit for the current auction. - #[weight = SimpleDispatchInfo::FixedNormal(100_000)] + #[weight = SimpleDispatchInfo::FixedNormal(100_000_000)] fn create(origin, #[compact] cap: BalanceOf, #[compact] first_slot: T::BlockNumber, @@ -294,7 +295,7 @@ decl_module! { /// Contribute to a crowd sale. This will transfer some balance over to fund a parachain /// slot. It will be withdrawable in two instances: the parachain becomes retired; or the /// slot is unable to be purchased and the timeout expires. - #[weight = SimpleDispatchInfo::default()] + #[weight = SimpleDispatchInfo::FixedNormal(MINIMUM_WEIGHT)] fn contribute(origin, #[compact] index: FundIndex, #[compact] value: BalanceOf) { let who = ensure_signed(origin)?; @@ -353,7 +354,7 @@ decl_module! { /// - `index` is the fund index that `origin` owns and whose deploy data will be set. /// - `code_hash` is the hash of the parachain's Wasm validation function. /// - `initial_head_data` is the parachain's initial head data. - #[weight = SimpleDispatchInfo::default()] + #[weight = SimpleDispatchInfo::FixedNormal(MINIMUM_WEIGHT)] fn fix_deploy_data(origin, #[compact] index: FundIndex, code_hash: T::Hash, @@ -379,7 +380,7 @@ decl_module! { /// /// - `index` is the fund index that `origin` owns and whose deploy data will be set. /// - `para_id` is the parachain index that this fund won. - #[weight = SimpleDispatchInfo::default()] + #[weight = SimpleDispatchInfo::FixedNormal(MINIMUM_WEIGHT)] fn onboard(origin, #[compact] index: FundIndex, #[compact] para_id: ParaId @@ -408,7 +409,7 @@ decl_module! { } /// Note that a successful fund has lost its parachain slot, and place it into retirement. - #[weight = SimpleDispatchInfo::default()] + #[weight = SimpleDispatchInfo::FixedNormal(MINIMUM_WEIGHT)] fn begin_retirement(origin, #[compact] index: FundIndex) { let _ = ensure_signed(origin)?; @@ -430,7 +431,7 @@ decl_module! { } /// Withdraw full balance of a contributor to an unsuccessful or off-boarded fund. - #[weight = SimpleDispatchInfo::default()] + #[weight = SimpleDispatchInfo::FixedNormal(MINIMUM_WEIGHT)] fn withdraw(origin, #[compact] index: FundIndex) { let who = ensure_signed(origin)?; @@ -461,7 +462,7 @@ decl_module! { /// Remove a fund after either: it was unsuccessful and it timed out; or it was successful /// but it has been retired from its parachain slot. This places any deposits that were not /// withdrawn into the treasury. - #[weight = SimpleDispatchInfo::default()] + #[weight = SimpleDispatchInfo::FixedNormal(MINIMUM_WEIGHT)] fn dissolve(origin, #[compact] index: FundIndex) { let _ = ensure_signed(origin)?; @@ -619,6 +620,7 @@ mod tests { type Event = (); type BlockHashCount = BlockHashCount; type MaximumBlockWeight = MaximumBlockWeight; + type DbWeight = (); type MaximumBlockLength = MaximumBlockLength; type AvailableBlockRatio = AvailableBlockRatio; type Version = (); diff --git a/polkadot/runtime/common/src/impls.rs b/polkadot/runtime/common/src/impls.rs index b336d5c614..fc184f3ecb 100644 --- a/polkadot/runtime/common/src/impls.rs +++ b/polkadot/runtime/common/src/impls.rs @@ -16,8 +16,9 @@ //! Auxillary struct/enums for polkadot runtime. +use core::num::NonZeroI128; use sp_runtime::traits::{Convert, Saturating}; -use sp_runtime::{Fixed64, Perbill}; +use sp_runtime::{Fixed128, Perquintill}; use frame_support::traits::{OnUnbalanced, Imbalance, Currency, Get}; use crate::{MaximumBlockWeight, NegativeImbalance}; @@ -75,16 +76,16 @@ where /// Update the given multiplier based on the following formula /// -/// diff = (target_weight - previous_block_weight) +/// diff = (previous_block_weight - target_weight)/max_weight /// v = 0.00004 -/// next_weight = weight * (1 + (v . diff) + (v . diff)^2 / 2) +/// next_weight = weight * (1 + (v * diff) + (v * diff)^2 / 2) /// /// Where `target_weight` must be given as the `Get` implementation of the `T` generic type. /// https://research.web3.foundation/en/latest/polkadot/Token%20Economics/#relay-chain-transaction-fees pub struct TargetedFeeAdjustment(sp_std::marker::PhantomData<(T, R)>); -impl, R: system::Trait> Convert for TargetedFeeAdjustment { - fn convert(multiplier: Fixed64) -> Fixed64 { +impl, R: system::Trait> Convert for TargetedFeeAdjustment { + fn convert(multiplier: Fixed128) -> Fixed128 { let block_weight = >::all_extrinsics_weight(); let max_weight = MaximumBlockWeight::get(); let target_weight = (T::get() * max_weight) as u128; @@ -93,19 +94,20 @@ impl, R: system::Trait> Convert for TargetedFe // determines if the first_term is positive let positive = block_weight >= target_weight; let diff_abs = block_weight.max(target_weight) - block_weight.min(target_weight); - // diff is within u32, safe. - let diff = Fixed64::from_rational(diff_abs as i64, max_weight as u64); + // safe, diff_abs cannot exceed u64 and it can always be computed safely even with the lossy + // `Fixed128::from_rational`. + let diff = Fixed128::from_rational( + diff_abs as i128, + NonZeroI128::new(max_weight.max(1) as i128).unwrap(), + ); let diff_squared = diff.saturating_mul(diff); // 0.00004 = 4/100_000 = 40_000/10^9 - let v = Fixed64::from_rational(4, 100_000); - // 0.00004^2 = 16/10^10 ~= 2/10^9. Taking the future /2 into account, then it is just 1 - // parts from a billionth. - let v_squared_2 = Fixed64::from_rational(1, 1_000_000_000); + let v = Fixed128::from_rational(4, NonZeroI128::new(100_000).unwrap()); + // 0.00004^2 = 16/10^10 Taking the future /2 into account... 8/10^10 + let v_squared_2 = Fixed128::from_rational(8, NonZeroI128::new(10_000_000_000).unwrap()); let first_term = v.saturating_mul(diff); - // It is very unlikely that this will exist (in our poor perbill estimate) but we are giving - // it a shot. let second_term = v_squared_2.saturating_mul(diff_squared); if positive { @@ -114,15 +116,15 @@ impl, R: system::Trait> Convert for TargetedFe let excess = first_term.saturating_add(second_term); multiplier.saturating_add(excess) } else { - // Proof: first_term > second_term. Safe subtraction. - let negative = first_term - second_term; + // Defensive-only: first_term > second_term. Safe subtraction. + let negative = first_term.saturating_sub(second_term); multiplier.saturating_sub(negative) // despite the fact that apply_to saturates weight (final fee cannot go below 0) // it is crucially important to stop here and don't further reduce the weight fee // multiplier. While at -1, it means that the network is so un-congested that all // transactions have no weight fee. We stop here and only increase if the network // became more busy. - .max(Fixed64::from_rational(-1, 1)) + .max(Fixed128::from_natural(-1)) } } } diff --git a/polkadot/runtime/common/src/lib.rs b/polkadot/runtime/common/src/lib.rs index 840978cce4..af2e5ff66e 100644 --- a/polkadot/runtime/common/src/lib.rs +++ b/polkadot/runtime/common/src/lib.rs @@ -50,7 +50,7 @@ pub type NegativeImbalance = as Currency<) -> DispatchResult { ensure_none(origin)?; ensure!(!::exists(), Error::::TooManyHeadUpdates); @@ -1593,6 +1593,7 @@ mod tests { type Event = (); type BlockHashCount = BlockHashCount; type MaximumBlockWeight = MaximumBlockWeight; + type DbWeight = (); type MaximumBlockLength = MaximumBlockLength; type AvailableBlockRatio = AvailableBlockRatio; type Version = (); diff --git a/polkadot/runtime/common/src/registrar.rs b/polkadot/runtime/common/src/registrar.rs index 39a78e57f4..33657a4554 100644 --- a/polkadot/runtime/common/src/registrar.rs +++ b/polkadot/runtime/common/src/registrar.rs @@ -31,7 +31,7 @@ use sp_runtime::{ use frame_support::{ decl_storage, decl_module, decl_event, decl_error, ensure, dispatch::{DispatchResult, IsSubType}, traits::{Get, Currency, ReservableCurrency}, - weights::{SimpleDispatchInfo, Weight, WeighData}, + weights::{SimpleDispatchInfo, Weight, MINIMUM_WEIGHT}, }; use system::{self, ensure_root, ensure_signed}; use primitives::parachain::{ @@ -264,7 +264,7 @@ decl_module! { /// /// Unlike the `Registrar` trait function of the same name, this /// checks the code and head data against size limits. - #[weight = SimpleDispatchInfo::FixedOperational(5_000_000)] + #[weight = SimpleDispatchInfo::FixedOperational(5_000_000_000)] pub fn register_para(origin, #[compact] id: ParaId, info: ParaInfo, @@ -289,7 +289,7 @@ decl_module! { } /// Deregister a parachain with given id - #[weight = SimpleDispatchInfo::FixedOperational(10_000)] + #[weight = SimpleDispatchInfo::FixedOperational(10_000_000)] pub fn deregister_para(origin, #[compact] id: ParaId) -> DispatchResult { ensure_root(origin)?; >::deregister_para(id) @@ -300,7 +300,7 @@ decl_module! { /// - `count`: The number of parathreads. /// /// Must be called from Root origin. - #[weight = SimpleDispatchInfo::default()] + #[weight = SimpleDispatchInfo::FixedNormal(MINIMUM_WEIGHT)] fn set_thread_count(origin, count: u32) { ensure_root(origin)?; ThreadCount::put(count); @@ -314,7 +314,7 @@ decl_module! { /// Unlike `register_para`, this function does check that the maximum code size /// and head data size are respected, as parathread registration is an atomic /// action. - #[weight = SimpleDispatchInfo::default()] + #[weight = SimpleDispatchInfo::FixedNormal(MINIMUM_WEIGHT)] fn register_parathread(origin, code: ValidationCode, initial_head_data: HeadData, @@ -354,7 +354,7 @@ decl_module! { /// This is a kind of special transaction that should be heavily prioritized in the /// transaction pool according to the `value`; only `ThreadCount` of them may be presented /// in any single block. - #[weight = SimpleDispatchInfo::default()] + #[weight = SimpleDispatchInfo::FixedNormal(MINIMUM_WEIGHT)] fn select_parathread(origin, #[compact] _id: ParaId, _collator: CollatorId, @@ -371,7 +371,7 @@ decl_module! { /// Ensure that before calling this that any funds you want emptied from the parathread's /// account is moved out; after this it will be impossible to retrieve them (without /// governance intervention). - #[weight = SimpleDispatchInfo::default()] + #[weight = SimpleDispatchInfo::FixedNormal(MINIMUM_WEIGHT)] fn deregister_parathread(origin) { let id = parachains::ensure_parachain(::Origin::from(origin))?; @@ -395,7 +395,7 @@ decl_module! { /// `ParaId` to be a long-term identifier of a notional "parachain". However, their /// scheduling info (i.e. whether they're a parathread or parachain), auction information /// and the auction deposit are switched. - #[weight = SimpleDispatchInfo::default()] + #[weight = SimpleDispatchInfo::FixedNormal(MINIMUM_WEIGHT)] fn swap(origin, #[compact] other: ParaId) { let id = parachains::ensure_parachain(::Origin::from(origin))?; @@ -466,7 +466,7 @@ decl_module! { Active::put(paras); - SimpleDispatchInfo::default().weigh_data(()) + MINIMUM_WEIGHT } fn on_finalize() { @@ -726,6 +726,7 @@ mod tests { type Event = (); type BlockHashCount = BlockHashCount; type MaximumBlockWeight = MaximumBlockWeight; + type DbWeight = (); type MaximumBlockLength = MaximumBlockLength; type AvailableBlockRatio = AvailableBlockRatio; type Version = (); diff --git a/polkadot/runtime/common/src/slots.rs b/polkadot/runtime/common/src/slots.rs index 811857ed66..ba4c6fbd1e 100644 --- a/polkadot/runtime/common/src/slots.rs +++ b/polkadot/runtime/common/src/slots.rs @@ -26,7 +26,7 @@ use codec::{Encode, Decode, Codec}; use frame_support::{ decl_module, decl_storage, decl_event, decl_error, ensure, dispatch::DispatchResult, traits::{Currency, ReservableCurrency, WithdrawReason, ExistenceRequirement, Get, Randomness}, - weights::{SimpleDispatchInfo, WeighData, Weight}, + weights::{MINIMUM_WEIGHT, SimpleDispatchInfo, Weight}, }; use primitives::parachain::{ SwapAux, PARACHAIN_INFO, Id as ParaId, ValidationCode, HeadData, @@ -286,7 +286,7 @@ decl_module! { Self::manage_lease_period_start(lease_period_index); } - SimpleDispatchInfo::default().weigh_data(()) + MINIMUM_WEIGHT } fn on_finalize(now: T::BlockNumber) { @@ -309,7 +309,7 @@ decl_module! { /// This can only happen when there isn't already an auction in progress and may only be /// called by the root origin. Accepts the `duration` of this auction and the /// `lease_period_index` of the initial lease period of the four that are to be auctioned. - #[weight = SimpleDispatchInfo::FixedOperational(100_000)] + #[weight = SimpleDispatchInfo::FixedOperational(100_000_000)] pub fn new_auction(origin, #[compact] duration: T::BlockNumber, #[compact] lease_period_index: LeasePeriodOf @@ -344,7 +344,7 @@ decl_module! { /// absolute lease period index value, not an auction-specific offset. /// - `amount` is the amount to bid to be held as deposit for the parachain should the /// bid win. This amount is held throughout the range. - #[weight = SimpleDispatchInfo::FixedNormal(500_000)] + #[weight = SimpleDispatchInfo::FixedNormal(500_000_000)] pub fn bid(origin, #[compact] sub: SubId, #[compact] auction_index: AuctionIndex, @@ -372,7 +372,7 @@ decl_module! { /// absolute lease period index value, not an auction-specific offset. /// - `amount` is the amount to bid to be held as deposit for the parachain should the /// bid win. This amount is held throughout the range. - #[weight = SimpleDispatchInfo::FixedNormal(500_000)] + #[weight = SimpleDispatchInfo::FixedNormal(500_000_000)] fn bid_renew(origin, #[compact] auction_index: AuctionIndex, #[compact] first_slot: LeasePeriodOf, @@ -391,7 +391,7 @@ decl_module! { /// The origin *must* be a parachain account. /// /// - `dest` is the destination account to receive the parachain's deposit. - #[weight = SimpleDispatchInfo::FixedNormal(1_000_000)] + #[weight = SimpleDispatchInfo::FixedNormal(1_000_000_000)] pub fn set_offboarding(origin, dest: ::Source) { let who = ensure_signed(origin)?; let dest = T::Lookup::lookup(dest)?; @@ -407,7 +407,7 @@ decl_module! { /// - `para_id` is the parachain ID allotted to the winning bidder. /// - `code_hash` is the hash of the parachain's Wasm validation function. /// - `initial_head_data` is the parachain's initial head data. - #[weight = SimpleDispatchInfo::FixedNormal(500_000)] + #[weight = SimpleDispatchInfo::FixedNormal(500_000_000)] pub fn fix_deploy_data(origin, #[compact] sub: SubId, #[compact] para_id: ParaId, @@ -449,7 +449,7 @@ decl_module! { /// - `_origin` is irrelevant. /// - `para_id` is the parachain ID whose code will be elaborated. /// - `code` is the preimage of the registered `code_hash` of `para_id`. - #[weight = SimpleDispatchInfo::FixedNormal(5_000_000)] + #[weight = SimpleDispatchInfo::FixedNormal(5_000_000_000)] pub fn elaborate_deploy_data( _origin, #[compact] para_id: ParaId, @@ -921,6 +921,7 @@ mod tests { type Event = (); type BlockHashCount = BlockHashCount; type MaximumBlockWeight = MaximumBlockWeight; + type DbWeight = (); type MaximumBlockLength = MaximumBlockLength; type AvailableBlockRatio = AvailableBlockRatio; type Version = (); diff --git a/polkadot/runtime/kusama/src/constants.rs b/polkadot/runtime/kusama/src/constants.rs index d2c0d99119..b2c082e7da 100644 --- a/polkadot/runtime/kusama/src/constants.rs +++ b/polkadot/runtime/kusama/src/constants.rs @@ -71,8 +71,8 @@ pub mod fee { pub struct WeightToFee; impl Convert for WeightToFee { fn convert(x: Weight) -> Balance { - // in Kusama a weight of 10_000 (smallest non-zero weight) is mapped to 1/10 CENT: - Balance::from(x).saturating_mul(super::currency::CENTS / (10 * 10_000)) + // in Kusama a weight of 10_000_000 (smallest non-zero weight) is mapped to 1/10 CENT: + Balance::from(x).saturating_mul(super::currency::CENTS / (10 * 10_000_000)) } } } diff --git a/polkadot/runtime/kusama/src/lib.rs b/polkadot/runtime/kusama/src/lib.rs index d5e28b9c2d..e6d4116c8e 100644 --- a/polkadot/runtime/kusama/src/lib.rs +++ b/polkadot/runtime/kusama/src/lib.rs @@ -34,7 +34,7 @@ use runtime_common::{attestations, claims, parachains, registrar, slots, }; use sp_runtime::{ create_runtime_str, generic, impl_opaque_keys, - ApplyExtrinsicResult, KeyTypeId, Percent, Permill, Perbill, RuntimeDebug, + ApplyExtrinsicResult, KeyTypeId, Percent, Permill, Perbill, Perquintill, RuntimeDebug, transaction_validity::{ TransactionValidity, InvalidTransaction, TransactionValidityError, TransactionSource, TransactionPriority, }, @@ -83,8 +83,8 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("kusama"), impl_name: create_runtime_str!("parity-kusama"), authoring_version: 2, - spec_version: 1057, - impl_version: 1, + spec_version: 1058, + impl_version: 0, apis: RUNTIME_API_VERSIONS, }; @@ -143,6 +143,7 @@ impl system::Trait for Runtime { type Event = Event; type BlockHashCount = BlockHashCount; type MaximumBlockWeight = MaximumBlockWeight; + type DbWeight = (); type MaximumBlockLength = MaximumBlockLength; type AvailableBlockRatio = AvailableBlockRatio; type Version = Version; @@ -207,7 +208,7 @@ parameter_types! { pub const TransactionBaseFee: Balance = 1 * CENTS; pub const TransactionByteFee: Balance = 10 * MILLICENTS; // for a sane configuration, this should always be less than `AvailableBlockRatio`. - pub const TargetBlockFullness: Perbill = Perbill::from_percent(25); + pub const TargetBlockFullness: Perquintill = Perquintill::from_percent(25); } impl transaction_payment::Trait for Runtime { diff --git a/polkadot/runtime/polkadot/src/constants.rs b/polkadot/runtime/polkadot/src/constants.rs index d33b3e6616..113d0c1997 100644 --- a/polkadot/runtime/polkadot/src/constants.rs +++ b/polkadot/runtime/polkadot/src/constants.rs @@ -63,8 +63,8 @@ pub mod fee { pub struct WeightToFee; impl Convert for WeightToFee { fn convert(x: Weight) -> Balance { - // in Polkadot a weight of 10_000 (smallest non-zero weight) is mapped to (1/10 CENT): - Balance::from(x).saturating_mul(super::currency::CENTS / (10 * 10_000)) + // in Polkadot a weight of 10_000_000 (smallest non-zero weight) is mapped to 1/10 CENT: + Balance::from(x).saturating_mul(super::currency::CENTS / (10 * 10_000_000)) } } } diff --git a/polkadot/runtime/polkadot/src/lib.rs b/polkadot/runtime/polkadot/src/lib.rs index f407614737..f5ef0ccf78 100644 --- a/polkadot/runtime/polkadot/src/lib.rs +++ b/polkadot/runtime/polkadot/src/lib.rs @@ -35,7 +35,7 @@ use primitives::{ }; use sp_runtime::{ create_runtime_str, generic, impl_opaque_keys, - ApplyExtrinsicResult, KeyTypeId, Percent, Permill, Perbill, RuntimeDebug, + ApplyExtrinsicResult, KeyTypeId, Percent, Permill, Perbill, Perquintill, RuntimeDebug, transaction_validity::{ TransactionValidity, InvalidTransaction, TransactionValidityError, TransactionSource, TransactionPriority, }, @@ -85,7 +85,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("polkadot"), impl_name: create_runtime_str!("parity-polkadot"), authoring_version: 2, - spec_version: 1006, + spec_version: 1007, impl_version: 0, apis: RUNTIME_API_VERSIONS, }; @@ -148,6 +148,7 @@ impl system::Trait for Runtime { type Event = Event; type BlockHashCount = BlockHashCount; type MaximumBlockWeight = MaximumBlockWeight; + type DbWeight = (); type MaximumBlockLength = MaximumBlockLength; type AvailableBlockRatio = AvailableBlockRatio; type Version = Version; @@ -212,7 +213,7 @@ parameter_types! { pub const TransactionBaseFee: Balance = 1 * CENTS; pub const TransactionByteFee: Balance = 10 * MILLICENTS; // for a sane configuration, this should always be less than `AvailableBlockRatio`. - pub const TargetBlockFullness: Perbill = Perbill::from_percent(25); + pub const TargetBlockFullness: Perquintill = Perquintill::from_percent(25); } impl transaction_payment::Trait for Runtime { diff --git a/polkadot/runtime/test-runtime/src/constants.rs b/polkadot/runtime/test-runtime/src/constants.rs index 17ebfcc5f3..203ce348cd 100644 --- a/polkadot/runtime/test-runtime/src/constants.rs +++ b/polkadot/runtime/test-runtime/src/constants.rs @@ -65,8 +65,8 @@ pub mod fee { pub struct WeightToFee; impl Convert for WeightToFee { fn convert(x: Weight) -> Balance { - // in Kusama a weight of 10_000 (smallest non-zero weight) is mapped to 1/10 CENT: - Balance::from(x).saturating_mul(super::currency::CENTS / (10 * 10_000)) + // in Kusama a weight of 10_000_000 (smallest non-zero weight) is mapped to 1/10 CENT: + Balance::from(x).saturating_mul(super::currency::CENTS / (10 * 10_000_000)) } } } diff --git a/polkadot/runtime/test-runtime/src/lib.rs b/polkadot/runtime/test-runtime/src/lib.rs index e86bb7df8b..cb5224c7f8 100644 --- a/polkadot/runtime/test-runtime/src/lib.rs +++ b/polkadot/runtime/test-runtime/src/lib.rs @@ -34,7 +34,7 @@ use runtime_common::{attestations, claims, parachains, registrar, slots, use sp_runtime::{ create_runtime_str, generic, impl_opaque_keys, - ApplyExtrinsicResult, Perbill, RuntimeDebug, KeyTypeId, + ApplyExtrinsicResult, Perbill, Perquintill, RuntimeDebug, KeyTypeId, transaction_validity::{ TransactionValidity, InvalidTransaction, TransactionValidityError, TransactionSource, TransactionPriority, }, @@ -79,7 +79,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("polkadot-test-runtime"), impl_name: create_runtime_str!("parity-polkadot-test-runtime"), authoring_version: 2, - spec_version: 1049, + spec_version: 1050, impl_version: 0, apis: RUNTIME_API_VERSIONS, }; @@ -139,6 +139,7 @@ impl system::Trait for Runtime { type Event = Event; type BlockHashCount = BlockHashCount; type MaximumBlockWeight = MaximumBlockWeight; + type DbWeight = (); type MaximumBlockLength = MaximumBlockLength; type AvailableBlockRatio = AvailableBlockRatio; type Version = Version; @@ -188,7 +189,7 @@ parameter_types! { pub const TransactionBaseFee: Balance = 1 * CENTS; pub const TransactionByteFee: Balance = 10 * MILLICENTS; // for a sane configuration, this should always be less than `AvailableBlockRatio`. - pub const TargetBlockFullness: Perbill = Perbill::from_percent(25); + pub const TargetBlockFullness: Perquintill = Perquintill::from_percent(25); } impl transaction_payment::Trait for Runtime { diff --git a/polkadot/runtime/westend/src/lib.rs b/polkadot/runtime/westend/src/lib.rs index ec5be72845..61cc8cf501 100644 --- a/polkadot/runtime/westend/src/lib.rs +++ b/polkadot/runtime/westend/src/lib.rs @@ -32,7 +32,7 @@ use runtime_common::{attestations, parachains, registrar, }; use sp_runtime::{ create_runtime_str, generic, impl_opaque_keys, - ApplyExtrinsicResult, KeyTypeId, Perbill, RuntimeDebug, + ApplyExtrinsicResult, KeyTypeId, Perbill, Perquintill, RuntimeDebug, transaction_validity::{ TransactionValidity, InvalidTransaction, TransactionValidityError, TransactionSource, TransactionPriority, @@ -80,8 +80,8 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("westend"), impl_name: create_runtime_str!("parity-westend"), authoring_version: 2, - spec_version: 2, - impl_version: 1, + spec_version: 3, + impl_version: 0, apis: RUNTIME_API_VERSIONS, }; @@ -140,6 +140,7 @@ impl system::Trait for Runtime { type Event = Event; type BlockHashCount = BlockHashCount; type MaximumBlockWeight = MaximumBlockWeight; + type DbWeight = (); type MaximumBlockLength = MaximumBlockLength; type AvailableBlockRatio = AvailableBlockRatio; type Version = Version; @@ -196,7 +197,7 @@ parameter_types! { pub const TransactionBaseFee: Balance = 1 * CENTS; pub const TransactionByteFee: Balance = 10 * MILLICENTS; // for a sane configuration, this should always be less than `AvailableBlockRatio`. - pub const TargetBlockFullness: Perbill = Perbill::from_percent(25); + pub const TargetBlockFullness: Perquintill = Perquintill::from_percent(25); } impl transaction_payment::Trait for Runtime {