diff --git a/Cargo.lock b/Cargo.lock index e569c85b87..3c224320c7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -89,9 +89,9 @@ dependencies = [ [[package]] name = "arc-swap" -version = "0.4.6" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b585a98a234c46fc563103e9278c9391fde1f4e6850334da895d27edb9580f62" +checksum = "4d25d88fd6b8041580a654f9d0c581a047baee2b3efee13275f2fc392fc75034" [[package]] name = "arrayref" @@ -129,8 +129,8 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0d0864d84b8e07b145449be9a8537db86bf9de5ce03b913214694643b4743502" dependencies = [ - "quote 1.0.6", - "syn 1.0.27", + "quote 1.0.7", + "syn 1.0.31", ] [[package]] @@ -145,7 +145,7 @@ version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "effd501febce09534b924aa471e6a7fd689071fee63659473413f62a1979ae56" dependencies = [ - "async-std 1.6.0", + "async-std", "byte-pool", "futures-core", "http-types", @@ -156,23 +156,13 @@ dependencies = [ "url 2.1.1", ] -[[package]] -name = "async-macros" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e421d59b24c1feea2496e409b3e0a8de23e5fc130a2ddc0b012e551f3b272bba" -dependencies = [ - "futures-core-preview", - "pin-utils", -] - [[package]] name = "async-sse" version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6de73294dd1287b32b10f4c884186446353048f183071dff38c1481f82c053b3" dependencies = [ - "async-std 1.6.0", + "async-std", "http-types", "log", "memchr", @@ -181,18 +171,18 @@ dependencies = [ [[package]] name = "async-std" -version = "0.99.12" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44501a9f7961bb539b67be0c428b3694e26557046a52759ca7eaf790030a64cc" +checksum = "538ecb01eb64eecd772087e5b6f7540cbc917f047727339a472dafed2185b267" dependencies = [ - "async-macros", - "async-task 1.3.1", - "crossbeam-channel 0.3.9", + "async-task", + "broadcaster", + "crossbeam-channel", "crossbeam-deque", - "crossbeam-utils 0.6.6", + "crossbeam-utils", "futures-core", "futures-io", - "futures-timer 1.0.3", + "futures-timer 2.0.2", "kv-log-macro", "log", "memchr", @@ -205,30 +195,6 @@ dependencies = [ "slab", ] -[[package]] -name = "async-std" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a45cee2749d880d7066e328a7e161c7470ced883b2fd000ca4643e9f1dd5083a" -dependencies = [ - "async-task 3.0.0", - "crossbeam-utils 0.7.2", - "futures-channel", - "futures-core", - "futures-io", - "futures-timer 3.0.2", - "kv-log-macro", - "log", - "memchr", - "num_cpus", - "once_cell 1.4.0", - "pin-project-lite", - "pin-utils", - "slab", - "smol", - "wasm-bindgen-futures", -] - [[package]] name = "async-task" version = "1.3.1" @@ -239,12 +205,6 @@ dependencies = [ "winapi 0.3.8", ] -[[package]] -name = "async-task" -version = "3.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c17772156ef2829aadc587461c7753af20b7e8db1529bc66855add962a3b35d3" - [[package]] name = "async-tls" version = "0.7.0" @@ -305,6 +265,12 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b41b7ea54a0c9d92199de89e20e58d49f02f8e699814ef3fdf266f6f748d15c7" +[[package]] +name = "base64" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53d1ccbaf7d9ec9537465a97bf19edc1a4e158ecb49fc16178202238c569cc42" + [[package]] name = "bindgen" version = "0.53.3" @@ -321,8 +287,8 @@ dependencies = [ "lazycell", "log", "peeking_take_while", - "proc-macro2 1.0.17", - "quote 1.0.6", + "proc-macro2 1.0.18", + "quote 1.0.7", "regex", "rustc-hash", "shlex", @@ -416,6 +382,20 @@ dependencies = [ "byte-tools", ] +[[package]] +name = "broadcaster" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9c972e21e0d055a36cf73e4daae870941fe7a8abcd5ac3396aab9e4c126bd87" +dependencies = [ + "futures-channel", + "futures-core", + "futures-sink", + "futures-util", + "parking_lot 0.10.2", + "slab", +] + [[package]] name = "bs58" version = "0.3.1" @@ -433,9 +413,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.3.0" +version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5356f1d23ee24a1f785a56d1d1a5f0fd5b0f6a0c0fb2412ce11da71649ab78f6" +checksum = "2e8c087f005730276d1096a652e92a8bacee2e2472bcc9715a74d2bec38b5820" [[package]] name = "byte-pool" @@ -646,36 +626,13 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "crossbeam" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69323bff1fb41c635347b8ead484a5ca6c3f11914d784170b158d8449ab07f8e" -dependencies = [ - "cfg-if", - "crossbeam-channel 0.4.2", - "crossbeam-deque", - "crossbeam-epoch", - "crossbeam-queue", - "crossbeam-utils 0.7.2", -] - -[[package]] -name = "crossbeam-channel" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8ec7fcd21571dc78f96cc96243cab8d8f035247c3efd16c687be154c3fa9efa" -dependencies = [ - "crossbeam-utils 0.6.6", -] - [[package]] name = "crossbeam-channel" version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cced8691919c02aac3cb0a1bc2e9b73d89e832bf9a06fc579d4e71b68a2da061" dependencies = [ - "crossbeam-utils 0.7.2", + "crossbeam-utils", "maybe-uninit", ] @@ -686,7 +643,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9f02af974daeee82218205558e51ec8768b48cf524bd01d550abe5573a608285" dependencies = [ "crossbeam-epoch", - "crossbeam-utils 0.7.2", + "crossbeam-utils", "maybe-uninit", ] @@ -698,7 +655,7 @@ checksum = "058ed274caafc1f60c4997b5fc07bf7dc7cca454af7c6e81edffe5f33f70dace" dependencies = [ "autocfg 1.0.0", "cfg-if", - "crossbeam-utils 0.7.2", + "crossbeam-utils", "lazy_static", "maybe-uninit", "memoffset", @@ -707,22 +664,13 @@ dependencies = [ [[package]] name = "crossbeam-queue" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c695eeca1e7173472a32221542ae469b3e9aac3a4fc81f7696bcad82029493db" -dependencies = [ - "cfg-if", - "crossbeam-utils 0.7.2", -] - -[[package]] -name = "crossbeam-utils" -version = "0.6.6" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04973fa96e96579258a5091af6003abde64af786b860f18622b82e026cca60e6" +checksum = "774ba60a54c213d409d5353bda12d49cd68d14e45036a285234c8d6f91f92570" dependencies = [ "cfg-if", - "lazy_static", + "crossbeam-utils", + "maybe-uninit", ] [[package]] @@ -771,19 +719,19 @@ dependencies = [ "clear_on_drop", "digest", "rand_core 0.3.1", - "subtle 2.2.2", + "subtle 2.2.3", ] [[package]] name = "curve25519-dalek" -version = "2.0.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26778518a7f6cffa1d25a44b602b62b979bd88adb9e99ffec546998cf3404839" +checksum = "5d85653f070353a16313d0046f173f70d1aadd5b42600a14de626f0dfb3473a5" dependencies = [ "byteorder", "digest", "rand_core 0.5.1", - "subtle 2.2.2", + "subtle 2.2.3", "zeroize 1.1.0", ] @@ -811,9 +759,9 @@ version = "0.99.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2127768764f1556535c01b5326ef94bd60ff08dcfbdc544d53e69ed155610f5d" dependencies = [ - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", ] [[package]] @@ -837,11 +785,10 @@ dependencies = [ [[package]] name = "dirs-sys" -version = "0.3.4" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afa0b23de8fd801745c471deffa6e12d248f962c9fd4b4c33787b055599bde7b" +checksum = "8e93d7f5705de3e49895a2b5e0b8855a1c27f080192ae9c32a6432d50741a57a" dependencies = [ - "cfg-if", "libc", "redox_users", "winapi 0.3.8", @@ -876,7 +823,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "978710b352437433c97b2bff193f2fb1dfd58a093f863dd95e225a19baa599a2" dependencies = [ "clear_on_drop", - "curve25519-dalek 2.0.0", + "curve25519-dalek 2.1.0", "rand 0.7.3", "sha2", ] @@ -970,9 +917,9 @@ version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4" dependencies = [ - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", "synstructure", ] @@ -1045,18 +992,18 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48feabdc3cda303027446b7294dc6dc6dda712de8e14874f0e0df366a630326f" +checksum = "4d78349d6f4b37bcf6ef2ce2eb6fa53e89e852f329a09f9c6807d06fb78cf3af" dependencies = [ "parity-scale-codec", ] [[package]] name = "frame-benchmarking" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00e5f8abfba8a7f0a89e5aae4ca9be5b86b88e9c93ccfc11a4b44485f7c6a1dd" +checksum = "90f2bda1b90e0538458ba0eca4eaedfcb8acf9ee3b3f0a86f4759212bae475da" dependencies = [ "frame-support", "frame-system", @@ -1072,9 +1019,9 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ad58203d80eff3af6aab1a6b6fe1d19b588533fc00e8172fca5115e285f23ae" +checksum = "6e89ea56be03a301445361c8ff5d4a504db188aaa3f6971f9a690df669c77cf5" dependencies = [ "frame-benchmarking", "parity-scale-codec", @@ -1091,9 +1038,9 @@ dependencies = [ [[package]] name = "frame-executive" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddad67072eaa82fea8b6089827fc6821dc2010016ce0b4a0f47afb8214cabf59" +checksum = "66979f2ceb11972b73c5c635ee4d30be1e73271e480dc1d1cf503414a22105ed" dependencies = [ "frame-support", "frame-system", @@ -1107,9 +1054,9 @@ dependencies = [ [[package]] name = "frame-metadata" -version = "11.0.0-rc2" +version = "11.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cffe912dd479554338da6804c51704c901a3664a785746909bc1679df675839d" +checksum = "b74a0a1b4db65b4b9c9502510d366bc17a448cda844f7d8cf4118bce8bea1323" dependencies = [ "parity-scale-codec", "serde", @@ -1119,9 +1066,9 @@ dependencies = [ [[package]] name = "frame-support" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c68f90e4ca833a36a4ad87b40abaf8dc37805a28a7976d814765b33e8381b67" +checksum = "0eb3c2ce745b9f474d0b4c85a24ebebcdd8a4f30696dfd72e3b4f4aec6d7ab1d" dependencies = [ "bitmask", "frame-metadata", @@ -1145,45 +1092,45 @@ dependencies = [ [[package]] name = "frame-support-procedural" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0590324d10b03bad1fcb9fe3572682dc94471dea07a8a07808a54a8ae4bb4f6" +checksum = "3f99f5f76ea54066dfdb5c0a7ceb31d669e148a6404a2d5df48596e2ab653af2" dependencies = [ "frame-support-procedural-tools", - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", ] [[package]] name = "frame-support-procedural-tools" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc0f2b9861b48236d17601de09655e20352af6040189fa3d4fe9e440b4cc886f" +checksum = "563a469ca69e96b26303bade133d731df9eda33fe0a7d25a5a3cee45226994e6" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", ] [[package]] name = "frame-support-procedural-tools-derive" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f34905d916c2027e9f114f8b76f17e2be0a7bca9116838979b05a1efc86224f" +checksum = "687e00073999f0add0c18f84c8b65e2be414c7cc89120472a06cf4e3ea2cf4c0" dependencies = [ - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", ] [[package]] name = "frame-system" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acec04d2c2023ecb5a56a2d0ec71ee0c3195444df7ce07b095a311f5d8c568a4" +checksum = "b8d3f46329f3d994321bbd44fa03b28d243608dbab2f53da94b0fd9d7d8d30c4" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -1198,9 +1145,9 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd5ddb08ba65a4146afe95182aaa541ea7f44407dd36327a4e4937a12914d5fc" +checksum = "24bca63e679b050857bf4ca36cf95d53f65c324613850872aa2e5343f9805772" dependencies = [ "parity-scale-codec", "sp-api", @@ -1343,9 +1290,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d0b5a30a4328ab5473878237c447333c093297bded83a4983d10f4deea240d39" dependencies = [ "proc-macro-hack", - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", ] [[package]] @@ -1363,16 +1310,6 @@ dependencies = [ "once_cell 1.4.0", ] -[[package]] -name = "futures-timer" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7946248e9429ff093345d3e8fdf4eb0f9b2d79091611c9c14f744971a6f8be45" -dependencies = [ - "futures-core-preview", - "pin-utils", -] - [[package]] name = "futures-timer" version = "2.0.2" @@ -1384,10 +1321,6 @@ name = "futures-timer" version = "3.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" -dependencies = [ - "gloo-timers", - "send_wrapper 0.4.0", -] [[package]] name = "futures-util" @@ -1522,19 +1455,6 @@ dependencies = [ "regex", ] -[[package]] -name = "gloo-timers" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47204a46aaff920a1ea58b11d03dec6f704287d27561724a4631e450654a891f" -dependencies = [ - "futures-channel", - "futures-core", - "js-sys", - "wasm-bindgen", - "web-sys", -] - [[package]] name = "h2" version = "0.1.26" @@ -1643,9 +1563,9 @@ dependencies = [ [[package]] name = "hex-literal-impl" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d4c5c844e2fee0bf673d54c2c177f1713b3d2af2ff6e666b49cb7572e6cf42d" +checksum = "853f769599eb31de176303197b7ba4973299c38c7a7604a6bc88c3eef05b9b46" dependencies = [ "proc-macro-hack", ] @@ -1721,7 +1641,7 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2c574f90a9567a12b72e9071ab541704ce8d2bea45a950c33991556a1880cd32" dependencies = [ - "async-std 1.6.0", + "async-std", "http-types", ] @@ -1732,25 +1652,23 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b10c11288f86378ecdab7d468e5313304f8dfcffee3107f151f946e3b00271df" dependencies = [ "async-h1", - "async-std 1.6.0", + "async-std", "http-service", "http-types", ] [[package]] name = "http-types" -version = "1.3.1" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49d9f44462c2e59d5d5826e7ba74b121ee2fb0ff091ef849692694f1d77aaf50" +checksum = "05af75a78dfeb163d472b1d27bebb6a8845917a069accdf53a9bed47aaff9bfc" dependencies = [ "anyhow", - "async-std 1.6.0", + "async-std", "cookie", "infer", "omnom", "pin-project-lite", - "serde", - "serde_json", "url 2.1.1", ] @@ -1801,9 +1719,9 @@ dependencies = [ [[package]] name = "hyper" -version = "0.13.5" +version = "0.13.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96816e1d921eca64d208a85aab4f7798455a8e34229ee5a88c935bdee1b78b14" +checksum = "a6e7655b9594024ad0ee439f3b5a7299369dc2a3f459b47c696f9ff676f9aa1f" dependencies = [ "bytes 0.5.4", "futures-channel", @@ -1815,8 +1733,8 @@ dependencies = [ "httparse", "itoa", "log", - "net2", "pin-project", + "socket2", "time", "tokio 0.2.21", "tower-service", @@ -1832,7 +1750,7 @@ dependencies = [ "bytes 0.5.4", "ct-logs", "futures-util", - "hyper 0.13.5", + "hyper 0.13.6", "log", "rustls", "rustls-native-certs", @@ -1896,16 +1814,16 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ef5550a42e3740a0e71f909d4c861056a284060af885ae7aa6242820f920d9d" dependencies = [ - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", ] [[package]] name = "indexmap" -version = "1.3.2" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "076f042c5b7b98f31d205f1249267e12a6518c1481e9dae9764af19b707d2292" +checksum = "c398b2b113b55809ceb9ee3e753fcbac793f1956663f3c36549c1346015c2afe" dependencies = [ "autocfg 1.0.0", ] @@ -1982,18 +1900,18 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.39" +version = "0.3.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa5a448de267e7358beaf4a5d849518fe9a0c13fce7afd44b06e68550e5562a7" +checksum = "ce10c23ad2ea25ceca0093bd3192229da4c5b3c0f2de499c1ecac0d98d452177" dependencies = [ "wasm-bindgen", ] [[package]] name = "jsonrpc-client-transports" -version = "14.1.0" +version = "14.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2307a7e78cf969759e390a8a2151ea12e783849a45bb00aa871b468ba58ea79e" +checksum = "ecbdaacc17243168d9d1fa6b2bd7556a27e1e60a621d8a2a6e590ae2b145d158" dependencies = [ "failure", "futures 0.1.29", @@ -2007,9 +1925,9 @@ dependencies = [ [[package]] name = "jsonrpc-core" -version = "14.1.0" +version = "14.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25525f6002338fb4debb5167a89a0b47f727a5a48418417545ad3429758b7fec" +checksum = "a0747307121ffb9703afd93afbd0fb4f854c38fb873f2c8b90e0e902f27c7b62" dependencies = [ "futures 0.1.29", "log", @@ -2020,30 +1938,30 @@ dependencies = [ [[package]] name = "jsonrpc-core-client" -version = "14.1.0" +version = "14.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87f9382e831a6d630c658df103aac3f971da096deb57c136ea2b760d3b4e3f9f" +checksum = "34221123bc79b66279a3fde2d3363553835b43092d629b34f2e760c44dc94713" dependencies = [ "jsonrpc-client-transports", ] [[package]] name = "jsonrpc-derive" -version = "14.0.5" +version = "14.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8609af8f63b626e8e211f52441fcdb6ec54f1a446606b10d5c89ae9bf8a20058" +checksum = "0fadf6945e227246825a583514534d864554e9f23d80b3c77d034b10983db5ef" dependencies = [ "proc-macro-crate", - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", ] [[package]] name = "jsonrpc-http-server" -version = "14.1.0" +version = "14.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d52860f0549694aa4abb12766856f56952ab46d3fb9f0815131b2db3d9cc2f29" +checksum = "0da906d682799df05754480dac1b9e70ec92e12c19ebafd2662a5ea1c9fd6522" dependencies = [ "hyper 0.12.35", "jsonrpc-core", @@ -2056,21 +1974,22 @@ dependencies = [ [[package]] name = "jsonrpc-pubsub" -version = "14.1.0" +version = "14.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4ca5e391d6c6a2261d4adca029f427fe63ea546ad6cef2957c654c08495ec16" +checksum = "2d44f5602a11d657946aac09357956d2841299ed422035edf140c552cb057986" dependencies = [ "jsonrpc-core", "log", "parking_lot 0.10.2", + "rand 0.7.3", "serde", ] [[package]] name = "jsonrpc-server-utils" -version = "14.1.0" +version = "14.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f06add502b48351e05dd95814835327fb115e4e9f834ca42fd522d3b769d4d2" +checksum = "56cbfb462e7f902e21121d9f0d1c2b77b2c5b642e1a4e8f4ebfa2e15b94402bb" dependencies = [ "bytes 0.4.12", "globset", @@ -2084,9 +2003,9 @@ dependencies = [ [[package]] name = "jsonrpc-ws-server" -version = "14.1.0" +version = "14.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "017a7dd5083d9ed62c5e1dd3e317975c33c3115dac5447f4480fe05a8c354754" +checksum = "903d3109fe7c4acb932b567e1e607e0f524ed04741b09fb0e61841bc40a022fc" dependencies = [ "jsonrpc-core", "jsonrpc-server-utils", @@ -2180,9 +2099,9 @@ checksum = "9457b06509d27052635f90d6466700c65095fdf75409b3fbdd903e988b886f49" [[package]] name = "libflate" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1fbe6b967a94346446d37ace319ae85be7eca261bb8149325811ac435d35d64" +checksum = "784f4ec5908a9d7f4e53658906386667e8b02e9389a47cfebf45d324ba9e8d25" dependencies = [ "adler32", "crc32fast", @@ -2283,8 +2202,8 @@ version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f09548626b737ed64080fde595e06ce1117795b8b9fc4d2629fa36561c583171" dependencies = [ - "quote 1.0.6", - "syn 1.0.27", + "quote 1.0.7", + "syn 1.0.31", ] [[package]] @@ -2347,7 +2266,7 @@ version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "51b00163d13f705aae67c427bea0575f8aaf63da6524f9bd4a5a093b8bda0b38" dependencies = [ - "async-std 0.99.12", + "async-std", "data-encoding", "dns-parser", "either", @@ -2385,7 +2304,7 @@ version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "84fd504e27b0eadd451e06b67694ef714bd8374044e7db339bb0cdb83755ddf4" dependencies = [ - "curve25519-dalek 2.0.0", + "curve25519-dalek 2.1.0", "futures 0.3.5", "lazy_static", "libp2p-core", @@ -2436,7 +2355,7 @@ version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "309f95fce9bec755eff5406f8b822fd3969990830c2b54f752e1fc181d5ace3e" dependencies = [ - "async-std 0.99.12", + "async-std", "futures 0.3.5", "futures-timer 3.0.2", "get_if_addrs", @@ -2518,7 +2437,7 @@ dependencies = [ "hmac-drbg", "rand 0.7.3", "sha2", - "subtle 2.2.2", + "subtle 2.2.3", "typenum", ] @@ -2589,9 +2508,9 @@ dependencies = [ [[package]] name = "lru" -version = "0.4.5" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e488db3a9e108382265a30764f43cfc87517322e5d04ae0603b32a33461dca3" +checksum = "0609345ddee5badacf857d4f547e0e5a2e987db77085c24cd887f73573a04237" dependencies = [ "hashbrown 0.6.3", ] @@ -2711,9 +2630,9 @@ dependencies = [ [[package]] name = "miniz_oxide" -version = "0.3.6" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa679ff6578b1cddee93d7e82e263b94a575e0bfced07284eb0c037c1d2416a5" +checksum = "791daaae1ed6889560f8c4359194f56648355540573244a5448a83ba1ecc7435" dependencies = [ "adler32", ] @@ -3053,9 +2972,9 @@ dependencies = [ [[package]] name = "pallet-authorship" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47559c6f5570d00961a00766c130f4698cab3a4b8a1aaac39b2aca8d7bd6da5d" +checksum = "7570d4e0dcae3025c1553fe9f4e44c2e7652646c1c23e7b990e0de370f6fa918" dependencies = [ "frame-support", "frame-system", @@ -3069,9 +2988,9 @@ dependencies = [ [[package]] name = "pallet-babe" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b014eb08cabfeb6b3d10a1e8975c6c2f933a68cca462825e7ec98bc78c757ff4" +checksum = "a475b3ef5b65d2ff2074a18cd87944d8dad2ee1f58370c9475b144f10efdcf9b" dependencies = [ "frame-support", "frame-system", @@ -3092,9 +3011,9 @@ dependencies = [ [[package]] name = "pallet-balances" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4f2b26ed6059d9c5b0d03f08a3147b117035ded45bada2e3efc75a2c1e1cb0d" +checksum = "d6eda5f91bc223d9b922712baf266c2c60020ae347b1faf3c93d659160fe7c71" dependencies = [ "frame-benchmarking", "frame-support", @@ -3129,9 +3048,9 @@ dependencies = [ [[package]] name = "pallet-contracts" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c4e92332f95b40e195093909ad93cbc814d275e734264862ff9586eb8a14a02" +checksum = "bc7c597d32f987542361670ab6d334bda3ef778fed68b2163c8deb2c803f9559" dependencies = [ "frame-support", "frame-system", @@ -3151,9 +3070,9 @@ dependencies = [ [[package]] name = "pallet-contracts-primitives" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76e83fb47888ebb2793cc952895c3d56bd58988043032962722f9b99c4ed7573" +checksum = "f49129475ce0595bcfdd77b3f42368526150493bbd72a745198fc3d227f8c5e1" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -3162,9 +3081,9 @@ dependencies = [ [[package]] name = "pallet-contracts-rpc" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbf69c325a3a0c1aa4bc8e7e7ff420b5226fa43a3c2d5ff57c2bbfb7e9e82baf" +checksum = "92dc336916c76d1853d9ff77006aa1a8e00c0e043853247512bf3e2da3ffa113" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -3182,9 +3101,9 @@ dependencies = [ [[package]] name = "pallet-contracts-rpc-runtime-api" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bdcb7ba68dc38e83ef8a587713eb4099dfd7fe4dbf2a15a4a0d32321a6d0a97" +checksum = "27df4ef4f17c5d47129c195893970ef3c3112538f3bf3717c237b1a42d37fe22" dependencies = [ "pallet-contracts-primitives", "parity-scale-codec", @@ -3223,9 +3142,9 @@ dependencies = [ [[package]] name = "pallet-finality-tracker" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db80efa85bc68fd2ee7526aab5e90b5ac5759006d428b386d97329ec1b856d7c" +checksum = "a3578e2d10a86592005e23466fc949bc417107e1430fdbdca6fbf84cf7a835c8" dependencies = [ "frame-support", "frame-system", @@ -3240,9 +3159,9 @@ dependencies = [ [[package]] name = "pallet-grandpa" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7459e04204d05c3162d16838243f6e3692942aef9cc0dfcabc8a329ca88171b6" +checksum = "508312dd831aa69ccd2743395c8d3ce85bfc8b64876b5db3ff7b8cb4782b93c6" dependencies = [ "frame-support", "frame-system", @@ -3261,9 +3180,9 @@ dependencies = [ [[package]] name = "pallet-indices" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82cbaf3a7b9afaa0815e784d323813db339dcfb15927400db6a68615ae6ecfaa" +checksum = "cbde5c8a49e0c28a009a37b270ec674a6a04399dd78be2de59c661ec54b2ddbd" dependencies = [ "frame-support", "frame-system", @@ -3426,9 +3345,9 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc5ffcf6d8a1b1ff8e9d9573e9000082eede8eeacf4f1f8b1aeef2e8c0175876" +checksum = "2b400514530af7cf9b17d4f2c5a07af01548446b61203c6f3b2c6d85f66876fc" dependencies = [ "frame-support", "frame-system", @@ -3440,9 +3359,9 @@ dependencies = [ [[package]] name = "pallet-session" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9517c710f3e0f690c76f85ef3f5ce26fe3cb9ea8f0e260affdd17f4e157c7e14" +checksum = "bc1644f8747b8598c48f5939be891003f8664f807a11339e0fc8b99cdb692f42" dependencies = [ "frame-support", "frame-system", @@ -3459,9 +3378,9 @@ dependencies = [ [[package]] name = "pallet-staking" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9894c0510a321fc80fe5990f94f746ddc2b87fe94d439cd218e09c4f10b4fbb7" +checksum = "7db630437562a3872955c085c314a53683bb5555c6ab3b31b51c112285703068" dependencies = [ "frame-support", "frame-system", @@ -3471,7 +3390,7 @@ dependencies = [ "serde", "sp-application-crypto", "sp-io", - "sp-phragmen", + "sp-npos-elections", "sp-runtime", "sp-staking", "sp-std", @@ -3480,9 +3399,9 @@ dependencies = [ [[package]] name = "pallet-sudo" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b13c045d6b74479e8da5cbc0446367a9bbf4e40dc60fced19d015fffc75d3ced" +checksum = "650e236eef8cb60a6f29e87f42af3808d440890db3ddc5929cf48195f5864a48" dependencies = [ "frame-support", "frame-system", @@ -3495,9 +3414,9 @@ dependencies = [ [[package]] name = "pallet-timestamp" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8118c5c7998c44c78b2d018b1f9c6430bbd9831f76457d55dfacf425e1aa540c" +checksum = "657f4c290855e732020ab06ca12c60f025b7dbb6ebd16c8165d2e9ecb7a690a5" dependencies = [ "frame-benchmarking", "frame-support", @@ -3513,9 +3432,9 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ccbccc461ccf21c1fe6972aa2b8d02e4a629c339914fd5eb4b4348d30900fbe" +checksum = "7148647fd23b7af6783ab2663483eb16ed14e76edd71f29881860ba86b0c8d9a" dependencies = [ "frame-support", "frame-system", @@ -3528,9 +3447,9 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec66203c11ab6ceeb8e44b1ee11e5d096077e9a4edc5f569020a92ad63ecaa31" +checksum = "5318cd57761769a3cf17734e0805ee17757b8080f210d35393de01ea845b5962" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -3547,9 +3466,9 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e70539d8cf443dcc4e55e6b2694fea202c65becc50529adea5b077b17725dda2" +checksum = "296bd630795f04c016755f662bc303a6b943ce4f8386bc9f27f48699a3c41ef8" dependencies = [ "frame-support", "parity-scale-codec", @@ -3644,9 +3563,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a0ec292e92e8ec7c58e576adacc1e3f399c597c8f263c42f18420abe58e7245" dependencies = [ "proc-macro-crate", - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", ] [[package]] @@ -3676,8 +3595,8 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" dependencies = [ - "proc-macro2 1.0.17", - "syn 1.0.27", + "proc-macro2 1.0.18", + "syn 1.0.31", "synstructure", ] @@ -3762,9 +3681,9 @@ dependencies = [ [[package]] name = "paste" -version = "0.1.14" +version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3431e8f72b90f8a7af91dec890d9814000cb371258e0ec7370d93e085361f531" +checksum = "d508492eeb1e5c38ee696371bf7b9fc33c83d46a7d451606b96458fbbbdc2dec" dependencies = [ "paste-impl", "proc-macro-hack", @@ -3772,14 +3691,14 @@ dependencies = [ [[package]] name = "paste-impl" -version = "0.1.14" +version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25af5fc872ba284d8d84608bf8a0fa9b5376c96c23f503b007dfd9e34dde5606" +checksum = "84f328a6a63192b333fce5fbb4be79db6758a4d518dfac6d54412f1492f72d32" dependencies = [ "proc-macro-hack", - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", ] [[package]] @@ -3828,29 +3747,29 @@ dependencies = [ [[package]] name = "pin-project" -version = "0.4.17" +version = "0.4.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edc93aeee735e60ecb40cf740eb319ff23eab1c5748abfdb5c180e4ce49f7791" +checksum = "e75373ff9037d112bb19bc61333a06a159eaeb217660dcfbea7d88e1db823919" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "0.4.17" +version = "0.4.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e58db2081ba5b4c93bd6be09c40fd36cb9193a8336c384f3b40012e531aa7e40" +checksum = "10b4b44893d3c370407a1d6a5cfde7c41ae0478e31c516c85f67eb3adc51be6d" dependencies = [ - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", ] [[package]] name = "pin-project-lite" -version = "0.1.5" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7505eeebd78492e0f6108f7171c4948dbb120ee8119d9d77d0afa5469bef67f" +checksum = "282adbf10f2698a7a77f8e983a74b2d18176c19a7fd32a45446139ae7b02b715" [[package]] name = "pin-utils" @@ -3858,18 +3777,6 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" -[[package]] -name = "piper" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b0deb65f46e873ba8aa7c6a8dbe3f23cb1bf59c339a81a1d56361dde4d66ac8" -dependencies = [ - "crossbeam-utils 0.7.2", - "futures-io", - "futures-sink", - "futures-util", -] - [[package]] name = "pkg-config" version = "0.3.17" @@ -3878,7 +3785,7 @@ checksum = "05da548ad6865900e60eaba7f589cc0783590a92e940c26953ff81ddbab2d677" [[package]] name = "plasm-cli" -version = "1.0.1" +version = "1.1.0" dependencies = [ "bs58", "frame-benchmarking-cli", @@ -3931,7 +3838,7 @@ dependencies = [ [[package]] name = "plasm-primitives" -version = "1.0.1" +version = "1.1.0" dependencies = [ "frame-system", "parity-scale-codec", @@ -3942,7 +3849,7 @@ dependencies = [ [[package]] name = "plasm-rpc" -version = "1.0.1" +version = "1.1.0" dependencies = [ "jsonrpc-core", "pallet-contracts-rpc", @@ -3968,7 +3875,7 @@ dependencies = [ [[package]] name = "plasm-runtime" -version = "1.0.1" +version = "1.1.0" dependencies = [ "frame-executive", "frame-support", @@ -4006,6 +3913,7 @@ dependencies = [ "sp-io", "sp-offchain", "sp-runtime", + "sp-runtime-interface", "sp-session", "sp-std", "sp-transaction-pool", @@ -4053,9 +3961,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "98e9e4b82e0ef281812565ea4751049f1bdcdfccda7d3f459f2e138a40c08678" dependencies = [ "proc-macro-error-attr", - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", "version_check", ] @@ -4065,9 +3973,9 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4f5444ead4e9935abd7f27dc51f7e852a0569ac888096d5ec2499470794e2e53" dependencies = [ - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", "syn-mid", "version_check", ] @@ -4080,9 +3988,9 @@ checksum = "7e0456befd48169b9f13ef0f0ad46d492cf9d2dbb918bcf38e01eed4ce3ec5e4" [[package]] name = "proc-macro-nested" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e946095f9d3ed29ec38de908c22f95d9ac008e424c7bcae54c75a79c527c694" +checksum = "0afe1bd463b9e9ed51d0e0f0b50b6b146aec855c56fd182bb242388710a9b6de" [[package]] name = "proc-macro2" @@ -4095,9 +4003,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1502d12e458c49a4c9cbff560d0fe0060c252bc29799ed94ca2ed4bb665a0101" +checksum = "beae6331a816b1f65d04c45b078fd8e6c93e8071771f41b8163255bbd8d7c8fa" dependencies = [ "unicode-xid 0.2.0", ] @@ -4167,9 +4075,9 @@ checksum = "537aa19b95acde10a12fec4301466386f757403de4cd4e5b4fa78fb5ecb18f72" dependencies = [ "anyhow", "itertools", - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", ] [[package]] @@ -4233,11 +4141,11 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.6" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54a21852a652ad6f610c9510194f398ff6f8692e334fd1145fed931f7fbe44ea" +checksum = "aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37" dependencies = [ - "proc-macro2 1.0.17", + "proc-macro2 1.0.18", ] [[package]] @@ -4464,7 +4372,7 @@ checksum = "08a89b46efaf957e52b18062fb2f4660f8b8a4dde1807ca002690868ef2c85a9" dependencies = [ "crossbeam-deque", "crossbeam-queue", - "crossbeam-utils 0.7.2", + "crossbeam-utils", "lazy_static", "num_cpus", ] @@ -4510,16 +4418,16 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "602eb59cda66fcb9aec25841fb76bc01d2b34282dcdd705028da297db6f3eec8" dependencies = [ - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", ] [[package]] name = "regex" -version = "1.3.7" +version = "1.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6020f034922e3194c711b82a627453881bc4682166cabb07134a10c26ba7692" +checksum = "9c3780fcf44b193bc4d09f36d2a3c87b251da4a046c87795a0d35f4f927ad8e6" dependencies = [ "aho-corasick", "memchr", @@ -4529,9 +4437,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.6.17" +version = "0.6.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fe5bd57d1d7414c6b5ed48563a2c855d995ff777729dcd91c369ec7fea395ae" +checksum = "26412eb97c6b088a6997e05f69403a802a92d520de2f8e63c2b65f9e0f47c4e8" [[package]] name = "remove_dir_all" @@ -4544,18 +4452,18 @@ dependencies = [ [[package]] name = "reqwest" -version = "0.10.4" +version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02b81e49ddec5109a9dcfc5f2a317ff53377c915e9ae9d4f2fb50914b85614e2" +checksum = "3b82c9238b305f26f53443e3a4bc8528d64b8d0bee408ec949eb7bf5635ec680" dependencies = [ - "base64", + "base64 0.12.1", "bytes 0.5.4", "encoding_rs", "futures-core", "futures-util", "http 0.2.1", "http-body 0.3.1", - "hyper 0.13.5", + "hyper 0.13.6", "hyper-rustls", "js-sys", "lazy_static", @@ -4568,22 +4476,21 @@ dependencies = [ "serde", "serde_json", "serde_urlencoded", - "time", "tokio 0.2.21", "tokio-rustls", "url 2.1.1", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", - "webpki-roots 0.18.0", + "webpki-roots 0.19.0", "winreg", ] [[package]] name = "ring" -version = "0.16.13" +version = "0.16.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "703516ae74571f24b465b4a1431e81e2ad51336cb0ded733a55a1aa3eccac196" +checksum = "06b3fefa4f12272808f809a0af618501fdaba41a58963c5fb72238ab0be09603" dependencies = [ "cc", "libc", @@ -4643,10 +4550,10 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2bc8af4bda8e1ff4932523b94d3dd20ee30a87232323eda55903ffd71d2fb017" dependencies = [ - "base64", + "base64 0.11.0", "blake2b_simd", "constant_time_eq", - "crossbeam-utils 0.7.2", + "crossbeam-utils", ] [[package]] @@ -4682,7 +4589,7 @@ version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0d4a31f5d68413404705d6982529b0e11a9aacd4839d1d6222ee3b8cb4015e1" dependencies = [ - "base64", + "base64 0.11.0", "log", "ring", "sct", @@ -4714,9 +4621,9 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.4" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed3d612bc64430efeb3f7ee6ef26d590dce0c43249217bddc62112540c7941e1" +checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e" [[package]] name = "safe-mix" @@ -4729,9 +4636,9 @@ dependencies = [ [[package]] name = "sc-basic-authorship" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "097451fa0fd718899007f3069b7aa717341d5ad1d772b2b494975faf7a19aed7" +checksum = "72f61a499581f42620d13fbf294c8930836322edd6658c3cc8ded924dbde96ab" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -4754,9 +4661,9 @@ dependencies = [ [[package]] name = "sc-block-builder" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7bd27f65d2b9bd07d790b8f6d43432514200d960b830392a39b0450815980788" +checksum = "95881de48bdcaadc058627c49f59d24239225fcbb285c49de2339ee2dc4551d0" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -4771,9 +4678,9 @@ dependencies = [ [[package]] name = "sc-chain-spec" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a9ad5544c6586fd86a2a9c6cad778d309230969992d00e20a54b8daeac56380" +checksum = "e4f38f91018a83d96fc461d903d7c387c51babf9581daf29a66a0916056c0e72" dependencies = [ "impl-trait-for-tuples", "sc-chain-spec-derive", @@ -4788,21 +4695,21 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e62e7e16977c70551ebef45363a08db7d6dca648ea0e22032d954706a18542a3" +checksum = "d7f95f2c3a44c6e3957bd6c388ff9471d5ad38b05763cfa93145362c182ca0c1" dependencies = [ "proc-macro-crate", - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", ] [[package]] name = "sc-cli" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d3b51b14f41b7d47d05f0f9cd46b8e1cb4c9d88f4078ad283609abadfd6b512" +checksum = "00ce6f93d9f6df9dcfba1ffcb299855bc49fc81655a01f20006c59513325b03a" dependencies = [ "ansi_term 0.12.1", "atty", @@ -4842,9 +4749,9 @@ dependencies = [ [[package]] name = "sc-client-api" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bd10f807d42e41b22836d3ad7a3780766a46494a127e96d7cd8c60f120e7c1f" +checksum = "c34350bef16f8717bea4cce41c0bc441207ce2890023fa2d3c4cd70973a1229a" dependencies = [ "derive_more 0.99.7", "fnv", @@ -4879,9 +4786,9 @@ dependencies = [ [[package]] name = "sc-client-db" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be6b437006cf156445d56d18f598013e463b7483c8dde4aa9279858af9874cf2" +checksum = "eae6c54eb458367f40222e23bbe162381b4f26178c4958140de7f6cbce4e13f5" dependencies = [ "blake2-rfc", "hash-db", @@ -4909,9 +4816,9 @@ dependencies = [ [[package]] name = "sc-consensus" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9176e4a01034f620971cfc4523323cea712e29ef44340c57f559b67c24d0eccf" +checksum = "61c3a940d74b558fe5341403b0e43dd51bdb8be3142d889f537df1ede66001d1" dependencies = [ "sc-client-api", "sp-blockchain", @@ -4921,9 +4828,9 @@ dependencies = [ [[package]] name = "sc-consensus-babe" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a3ba933924d362000fdaa193f616867d54d9849d7ff0027aa9d67d867ef3b8c" +checksum = "56d489dc613c424336aaace972c623d1982b839a0f214f1849081aa1303b1a04" dependencies = [ "derive_more 0.99.7", "fork-tree", @@ -4964,9 +4871,9 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad8adf0f0cf997bd4ad851f74cacb26942ede4dab3826697efbc1f4911cda36d" +checksum = "39b831768e4d95319324b71a2383062efb56a74a96d1e21a5c243bd63dd69704" dependencies = [ "derive_more 0.99.7", "futures 0.3.5", @@ -4988,9 +4895,9 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "315d678d1b7cc2c35ccfbfe17609edb97ab3b1a0f86c08259d6d46588da0f6d6" +checksum = "82e377ba380b6cb19ef4cc2094d9f1d8a925972604c164501f5aea21db318c00" dependencies = [ "fork-tree", "parity-scale-codec", @@ -5002,9 +4909,9 @@ dependencies = [ [[package]] name = "sc-consensus-slots" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2c2733316f0e49bbd771e532bf0618db4357e13635eb95474284ee5282b8db0" +checksum = "4a142c40cce85fffc00dacdbc1c20293c6091f527fe990a77308a17c091785e0" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -5025,9 +4932,9 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b01d05567cd20dce60f710400efa60eef237cbd3e344aef5c4677cad465f604" +checksum = "5f84d0595a5728b3b5bbece184d1a84ae871bf86601feba1026171fe10914a4d" dependencies = [ "log", "sc-client-api", @@ -5040,9 +4947,9 @@ dependencies = [ [[package]] name = "sc-executor" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b946580e4d94c494ec5bb46de021f2605bbbb3a4effd3f6b2ea511d3fb9c8cf" +checksum = "1eb2d339b210955190c41c107a96927a742cb3f489a93e5cc13219893a1d9d1b" dependencies = [ "derive_more 0.99.7", "lazy_static", @@ -5068,9 +4975,9 @@ dependencies = [ [[package]] name = "sc-executor-common" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66949cf16144f65ac2b216bc3e38008844e35b72aff59d15455488053aecb3a7" +checksum = "5a723891730d2f8febb5d93cfa2d387cf2ceab9b81f233b039844cf0ac9106eb" dependencies = [ "derive_more 0.99.7", "log", @@ -5086,9 +4993,9 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c7c04e15296e464658b908c093f0398a0588b5d4c09b10fdfc76635d2b82656" +checksum = "0726c28c38bb11d53add4aa681aa851682e3e64c8dcffaa0b42619cce72ee10b" dependencies = [ "log", "parity-scale-codec", @@ -5102,9 +5009,9 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8cbbd77afb78b7a836ceae49538c743230c526dfce8c83ff9b6e0ba564daa3e" +checksum = "f559e4acf4b28a53ef8a1c7fb5f91de55f6384af79ee617551f0c405987d3acf" dependencies = [ "assert_matches", "derive_more 0.99.7", @@ -5140,9 +5047,9 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49b5a9157913ec7ab70c3e6bab851c50185a8de14dcd63aa52c135313c4efb88" +checksum = "34708cc1daaecbdf7ce48174e9725c93850faa83ba43d34a77d1df0c3f4f6aa2" dependencies = [ "derive_more 0.99.7", "finality-grandpa", @@ -5158,9 +5065,9 @@ dependencies = [ [[package]] name = "sc-informant" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fb47f3aac00064030a9151f93fd525199e264dc30bb41b931aed4ddf183ba36" +checksum = "c45b4c31d23bcde9478ec25f1a3a8aa2c87e6e72d0216fbd57050807c972ce6d" dependencies = [ "ansi_term 0.12.1", "futures 0.3.5", @@ -5176,9 +5083,9 @@ dependencies = [ [[package]] name = "sc-keystore" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45ce32a92fa7284ff198804be72e0f054d64afa9fb3353805e397eb2a9864185" +checksum = "821ead16a0837a637724cbc6598005ba425f0fc021b75237e9464a6a11045489" dependencies = [ "derive_more 0.99.7", "hex", @@ -5187,14 +5094,14 @@ dependencies = [ "serde_json", "sp-application-crypto", "sp-core", - "subtle 2.2.2", + "subtle 2.2.3", ] [[package]] name = "sc-network" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cde8819b82e374d970c1a93aa483cbf9689251459000d6be2bb4bd388eab06ca" +checksum = "c7d4b72863f2fd605f61357ff7a86aed69b6888268c4f14b3f8f30742835c0a1" dependencies = [ "bitflags", "bs58", @@ -5245,9 +5152,9 @@ dependencies = [ [[package]] name = "sc-network-gossip" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830402db2cded7c94c448bbff1fbfce209208537d7a64383505f9f0620b32477" +checksum = "9d6860af16a437599e00bf730f0b7c02811f0bf3503f828374ab3882a6879a2c" dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", @@ -5261,15 +5168,15 @@ dependencies = [ [[package]] name = "sc-offchain" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe26c77de78b8858e882978856e33afe4611e42271f42101c6eb68efa35b5cff" +checksum = "ca55302131eeff804c77c5abc3776cc7df31146332fce1440144b4dcf5c6e967" dependencies = [ "bytes 0.5.4", "fnv", "futures 0.3.5", "futures-timer 3.0.2", - "hyper 0.13.5", + "hyper 0.13.6", "hyper-rustls", "log", "num_cpus", @@ -5289,9 +5196,9 @@ dependencies = [ [[package]] name = "sc-peerset" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "220264976d92b6be01fa157eb0ed13d035dbbfd563a5d62d66582f8348498291" +checksum = "2be43ed6f567d035d67a8fd348dbd5dc9d145f359141e7a0495fb23af461c71f" dependencies = [ "futures 0.3.5", "libp2p", @@ -5303,9 +5210,9 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "041f3e79e1e253ff07d5265f98a0c5a9c6124e607ce4549e35f872375e4c7077" +checksum = "0ee84fd68af631c5789de8c6eb79b1dc640445ec9cce72cfa704e817b4094e9b" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -5313,9 +5220,9 @@ dependencies = [ [[package]] name = "sc-rpc" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0704ae199f0278d2c9817260ec40a19e02c265ee637b2d971160d35dee2ed0ea" +checksum = "9ea4155146f95461ccadc5bd63a46c3d358d4c3f579b13a8ae269a542a0b778c" dependencies = [ "futures 0.3.5", "hash-db", @@ -5346,9 +5253,9 @@ dependencies = [ [[package]] name = "sc-rpc-api" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35fc72e6e3ea90b8d2d381b1e5358065952bb45bd27f1e5342da04257e8d42f2" +checksum = "79394cef2853a8d208cf075d45c0eda0e3d674217d63793a0e636a976f4489a6" dependencies = [ "derive_more 0.99.7", "futures 0.3.5", @@ -5371,9 +5278,9 @@ dependencies = [ [[package]] name = "sc-rpc-server" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e7fe5f8b44eb7586c4d1d01f1db8af83d5d77558b3c4fc71df8a8b489ce55c9" +checksum = "29ed66ca5dcdbec311bb6d6b41a1b8f23d7eaee1e93d23b04a07ba2e82b4a23f" dependencies = [ "jsonrpc-core", "jsonrpc-http-server", @@ -5387,9 +5294,9 @@ dependencies = [ [[package]] name = "sc-service" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c18610c1b8f4c242d161c52ae3779dd0baa4f99478cf40c488038799e1846e7" +checksum = "b94de9a5c5e37c057b2468c0c6a2b4790829d3fab7f8962c72d85822cd717c77" dependencies = [ "derive_more 0.99.7", "exit-future", @@ -5397,6 +5304,7 @@ dependencies = [ "futures 0.3.5", "futures-timer 3.0.2", "hash-db", + "jsonrpc-pubsub", "lazy_static", "log", "netstat2", @@ -5446,9 +5354,9 @@ dependencies = [ [[package]] name = "sc-state-db" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61f83d727807c6e46bb995388bf7cac50235eef9752b122a668e3f3b1b227a36" +checksum = "55836c35003dd28b5d8d0982677db3e7e9d34fb3e67a581e88b2239ce299aaf6" dependencies = [ "log", "parity-scale-codec", @@ -5461,9 +5369,9 @@ dependencies = [ [[package]] name = "sc-telemetry" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cd78ad27f745c235f2c676d92b4fef3a08b1a3a7f555b861e45644ba0301520" +checksum = "6e40a94d8df961d91764eb66a68abd2aa702ce5be96019388b9ed37ad3182788" dependencies = [ "bytes 0.5.4", "futures 0.3.5", @@ -5484,9 +5392,9 @@ dependencies = [ [[package]] name = "sc-tracing" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24ebc93a319e38f1e458157beb83a4d8732ede948f782c8e04028188d6da28ff" +checksum = "cdcfcb30b46c3f62a2be8387039fc8f31cc1303e711ecdcc57ee44be074db5bc" dependencies = [ "erased-serde", "log", @@ -5500,9 +5408,9 @@ dependencies = [ [[package]] name = "sc-transaction-graph" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e879a4779bc2c0b61a7f8c4422c3c3e177351aa0dd42807e29c44bc4cf0a0d0" +checksum = "f250666f3a8f16348400c40e589216369e877a77952351f8149127c4496844f5" dependencies = [ "derive_more 0.99.7", "futures 0.3.5", @@ -5521,9 +5429,9 @@ dependencies = [ [[package]] name = "sc-transaction-pool" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72c19a30d5441c03ae8ba9962dbcf7004af4ed9b3ea9237c07f97ce9f1ee6273" +checksum = "3b0dcf0f5c76c90950b577600c743807e0a0a42754b3bd4de374795cba16003d" dependencies = [ "derive_more 0.99.7", "futures 0.3.5", @@ -5569,7 +5477,7 @@ dependencies = [ "rand_core 0.4.2", "rand_os", "sha2", - "subtle 2.2.2", + "subtle 2.2.3", "zeroize 0.9.3", ] @@ -5581,22 +5489,16 @@ checksum = "021b403afe70d81eea68f6ea12f6b3c9588e5d536a94c3bf80f15e7faa267862" dependencies = [ "arrayref", "arrayvec 0.5.1", - "curve25519-dalek 2.0.0", + "curve25519-dalek 2.1.0", "getrandom", "merlin 2.0.0", "rand 0.7.3", "rand_core 0.5.1", "sha2", - "subtle 2.2.2", + "subtle 2.2.3", "zeroize 1.1.0", ] -[[package]] -name = "scoped-tls-hkt" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2e9d7eaddb227e8fbaaa71136ae0e1e913ca159b86c7da82f3e8f0044ad3a63" - [[package]] name = "scopeguard" version = "0.3.3" @@ -5663,37 +5565,31 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a0eddf2e8f50ced781f288c19f18621fa72a3779e3cb58dbf23b07469b0abeb4" -[[package]] -name = "send_wrapper" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f638d531eccd6e23b980caf34876660d38e265409d8e99b397ab71eb3612fad0" - [[package]] name = "serde" -version = "1.0.110" +version = "1.0.111" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99e7b308464d16b56eba9964e4972a3eee817760ab60d88c3f86e1fecb08204c" +checksum = "c9124df5b40cbd380080b2cc6ab894c040a3070d995f5c9dc77e18c34a8ae37d" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.110" +version = "1.0.111" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "818fbf6bfa9a42d3bfcaca148547aa00c7b915bec71d1757aa2d44ca68771984" +checksum = "3f2c3ac8e6ca1e9c80b8be1023940162bf81ae3cffbb1809474152f2ce1eb250" dependencies = [ - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", ] [[package]] name = "serde_json" -version = "1.0.53" +version = "1.0.55" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "993948e75b189211a9b31a7528f950c6adc21f9720b6438ff80a7fa2f864cea2" +checksum = "ec2c5d7e739bc07a3e73381a39d61fdb5f671c60c1df26a130690665803d8226" dependencies = [ "itoa", "ryu", @@ -5828,9 +5724,9 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a945ec7f7ce853e89ffa36be1e27dce9a43e82ff9093bf3461c30d5da74ed11b" dependencies = [ - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", ] [[package]] @@ -5848,25 +5744,6 @@ version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7cb5678e1615754284ec264d9bb5b4c27d2018577fd90ac0ceb578591ed5ee4" -[[package]] -name = "smol" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "686c634ad1873fffef6aed20f180eede424fbf3bb31802394c90fd7335a661b7" -dependencies = [ - "async-task 3.0.0", - "crossbeam", - "futures-io", - "futures-util", - "nix", - "once_cell 1.4.0", - "piper", - "scoped-tls-hkt", - "slab", - "socket2", - "wepoll-binding", -] - [[package]] name = "snafu" version = "0.6.8" @@ -5883,9 +5760,9 @@ version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ebf8f7d5720104a9df0f7076a8682024e958bba0fe9848767bb44f251f3648e9" dependencies = [ - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", ] [[package]] @@ -5902,7 +5779,7 @@ dependencies = [ "ring", "rustc_version", "sha2", - "subtle 2.2.2", + "subtle 2.2.3", "x25519-dalek", ] @@ -5924,7 +5801,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1c9dab3f95c9ebdf3a88268c19af668f637a3c5039c2c56ff2d40b1b2d64a25b" dependencies = [ - "base64", + "base64 0.11.0", "bytes 0.5.4", "flate2", "futures 0.3.5", @@ -5940,9 +5817,9 @@ dependencies = [ [[package]] name = "sp-allocator" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e62a5b177bc81be97b3120458bda11e21ae7fb5843c081564f295bcd1082de7d" +checksum = "7273d9b01b3ad915c08d7509c421a183a0d7d6c3040ad08df88d9e942caf799a" dependencies = [ "derive_more 0.99.7", "log", @@ -5953,9 +5830,9 @@ dependencies = [ [[package]] name = "sp-api" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb41c442edf12352480ef1d360f845c07a7957041ef5c9e6a82b8d89f06d84fa" +checksum = "77948b822c0baff24c6d2c8c0f01f1cd65b1643b3bd21d2425c51ae651f37ced" dependencies = [ "hash-db", "parity-scale-codec", @@ -5969,22 +5846,22 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbfec91da62c21342d4f8ae0e53133dcd1fedda8ed81bbca9b2ecf159b63664d" +checksum = "a02323ecb28788598e81312edf74b46fca41cfdfe9b815e8326e3b4f1eae80e4" dependencies = [ "blake2-rfc", "proc-macro-crate", - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", ] [[package]] name = "sp-application-crypto" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5821c21386d567d01d66a0d9e2b7906125f03eaa468b45b2f5f8296bab995e1" +checksum = "4c191ca6ee330879623c8a310f95da239d81c90188ae13d6aff8f48a68ec3e04" dependencies = [ "parity-scale-codec", "serde", @@ -5995,9 +5872,9 @@ dependencies = [ [[package]] name = "sp-arithmetic" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7097db3217b56ba51c84ed06a52998a3aa312c32b1f7f5f5380ffdd6930546bc" +checksum = "c8c2a24eb54c2b656e8534a1e420d9ab097c60bab82376d89e9cffe305780573" dependencies = [ "integer-sqrt", "num-traits 0.2.11", @@ -6009,9 +5886,9 @@ dependencies = [ [[package]] name = "sp-authorship" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09e45d7c9aec66f8fb797a6350dcf054adb10a00d2e0ad857a1e67d23423f6cb" +checksum = "c8ee9b1c03e1887ee06231fab677e07ee71fa47680f3021a6c1314a12748b163" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -6021,9 +5898,9 @@ dependencies = [ [[package]] name = "sp-block-builder" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa8f551e92cab850c048458544c19689a517fb8ea7a269c62c06a9deed4433b4" +checksum = "24509719d0d421e182eb04e9794402169aaa50aac206c870efd9f96c00f624e9" dependencies = [ "parity-scale-codec", "sp-api", @@ -6034,9 +5911,9 @@ dependencies = [ [[package]] name = "sp-blockchain" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f84408f6011f5475a29031d099e373bf9baa44cccafb20beca35759c8b7965ef" +checksum = "effd0f0207090e2bf7501822e6dbdb6a8267bf2ab7907d8a6593bc347d4efa90" dependencies = [ "derive_more 0.99.7", "log", @@ -6051,9 +5928,9 @@ dependencies = [ [[package]] name = "sp-chain-spec" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fe1e12cdea9ee931a57bc5c0019f14063aee0cfd7945a3853f2488cd08ff79d" +checksum = "e93b0903cb7968392e7c0eaf068022dea106f878c52b9bad2b4e3b0ec21f3a36" dependencies = [ "serde", "serde_json", @@ -6061,9 +5938,9 @@ dependencies = [ [[package]] name = "sp-consensus" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d51db0da0abb5fa6fcc13f22830a42adf0967864b019d40f2ecd06a4ad1bfc34" +checksum = "81e5a5c71be2fd452b9ffea96226308fe2efa0c6ee5123decfc56ef300f6a4ff" dependencies = [ "derive_more 0.99.7", "futures 0.3.5", @@ -6085,9 +5962,9 @@ dependencies = [ [[package]] name = "sp-consensus-babe" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b14cf779315999221b73410d3ac119410616aa8e9170bc41a102a3f729cc0256" +checksum = "838a7922a078cb7e0c5b8292bbd9b65e39c3adfed9f4d4c31f4460cdd89462a8" dependencies = [ "merlin 2.0.0", "parity-scale-codec", @@ -6103,9 +5980,9 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eae33587bced26bc85a3e25be3695c9cae897c9eaee254049c6ca9f8b328dd01" +checksum = "d342f811ed499ddff836c3f979828d228a8ef6ecb82d0919849f208a48731d95" dependencies = [ "parity-scale-codec", "schnorrkel 0.9.1", @@ -6116,9 +5993,9 @@ dependencies = [ [[package]] name = "sp-core" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fa9131cde687315ba8220fb5a5c8d20f578b806a8aa62dd58a6d074620e67f7" +checksum = "f976ad8d53924d6210e34af085558fb896a312f101654a7c9e51e8117923bc0d" dependencies = [ "base58", "blake2-rfc", @@ -6159,9 +6036,9 @@ dependencies = [ [[package]] name = "sp-database" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "555ef6bab361877d540e58fc69c800d98366f121c1e0005209fdb55727b02266" +checksum = "e8128dedcd798e6064689acfa67ee42c6573dfadef93bcf0fa0dbcdecd202ad7" dependencies = [ "kvdb", "parking_lot 0.10.2", @@ -6169,20 +6046,20 @@ dependencies = [ [[package]] name = "sp-debug-derive" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f75b20e97569b77fe3e973f9c95965fd5e3b87592bf479067a14de923fa0f602" +checksum = "aae7a9b433cd2629ef8bc7bf331bcda041fe99097f24034e99b12d916acda4ef" dependencies = [ - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", ] [[package]] name = "sp-externalities" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9867105e5ea35579330837a28342c5e30eb363b5750b32f64dcc4c37278e2f8" +checksum = "877bf85f4a361b3a654da14d48a3a5daf25a4ddf5e2cb9354ec90ad10c3aba59" dependencies = [ "environmental", "parity-scale-codec", @@ -6192,9 +6069,9 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9bbd1ba029396d01abd3bc91b91c338cf0405265e06111865f6096868e32344" +checksum = "6476c3fe8128cc3348a6da19ccc477eb81c86ad8a33c96253cef366a66de2bf4" dependencies = [ "finality-grandpa", "log", @@ -6209,9 +6086,9 @@ dependencies = [ [[package]] name = "sp-finality-tracker" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2af1045187cb8e7ebdd94f62f8f577d53fb4c7e6643c312ba504b1a26e70da0d" +checksum = "e4b55d4192e6090d781c8a6830e8f7ef931e7f9a3bd2cb6ecbb4ea8c3c58d4d7" dependencies = [ "parity-scale-codec", "sp-inherents", @@ -6220,9 +6097,9 @@ dependencies = [ [[package]] name = "sp-inherents" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "637b30845bca660add7e73009b2c5f9fb76e295e386d49374b407eb8dfd4d5e4" +checksum = "8803e8d6961ba629cbfa1034f7f0109a9a37f9db16eb941693d07b6d79576d83" dependencies = [ "derive_more 0.99.7", "parity-scale-codec", @@ -6233,9 +6110,9 @@ dependencies = [ [[package]] name = "sp-io" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c7fdbdd621fd13b4bd8f1a137f3821efe0cacf42fd9fbcb0795d7faa594d12d" +checksum = "f0962dd6d6dabd2c9dda1f128b1dfa324811e753abc250c174e91965f80fea8b" dependencies = [ "futures 0.3.5", "hash-db", @@ -6254,9 +6131,9 @@ dependencies = [ [[package]] name = "sp-keyring" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08e45158536b5a8656c787cdc468d94f4e01ce333413acf2168dec1754978877" +checksum = "a966f87bcd69e4c8fcedd0b43f017079dcb31f248ced815c711e5e888fa20692" dependencies = [ "lazy_static", "sp-core", @@ -6265,56 +6142,56 @@ dependencies = [ ] [[package]] -name = "sp-offchain" -version = "2.0.0-rc2" +name = "sp-npos-elections" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81740201c8689bb2e7813de6232e695dee0d324d6dd6627b02840ade263630b6" +checksum = "26f368af9a79ff61fb45f90a33971e76434730f059873454a381fdcdeabe232a" dependencies = [ - "sp-api", - "sp-core", - "sp-runtime", + "parity-scale-codec", + "serde", + "sp-arithmetic", + "sp-npos-elections-compact", + "sp-std", ] [[package]] -name = "sp-panic-handler" -version = "2.0.0-rc2" +name = "sp-npos-elections-compact" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ceb954698da870f25b17fcfc639e9a276db69558830a73b44b6403ec67b58ab2" +checksum = "e42bc2fae95cc19e5e2dd25e6b12ff31a5c68e7969dcf9bdda61d9ff01060192" dependencies = [ - "backtrace", - "log", + "proc-macro-crate", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", ] [[package]] -name = "sp-phragmen" -version = "2.0.0-rc2" +name = "sp-offchain" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53e08919e87537ceea801aa176b33aab352dddbaf4197fcfdd33acd7c260fe54" +checksum = "a1e83a6abe4fb1e98daaa3d992350117b4b37d331422be74fc73d3b8e5736095" dependencies = [ - "parity-scale-codec", - "serde", - "sp-arithmetic", - "sp-phragmen-compact", - "sp-std", + "sp-api", + "sp-core", + "sp-runtime", ] [[package]] -name = "sp-phragmen-compact" -version = "2.0.0-rc2" +name = "sp-panic-handler" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bceb46efa4707b99ba781eef740e36337e9ac63002a2dc837b9c006ff87ea255" +checksum = "48327f6f9617180513cf20db80af8151b32d965937810c8d4464503a78e77070" dependencies = [ - "proc-macro-crate", - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "backtrace", + "log", ] [[package]] name = "sp-rpc" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b89ec87610ab3e84007ff975d4f06e301ba37165427f9512735ee796861d550" +checksum = "c1bdeee9562023c0e4bc6189bc3b5050f3e80bc98f2202f2d1b4c18e8ea54651" dependencies = [ "serde", "sp-core", @@ -6322,9 +6199,9 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c588200d342ac3afd0742c3fc6afffe631f498c49d7c8b4e9c4e361882b07227" +checksum = "9578b261bff85f93b03bc0445bee257fea8d68c5cd1b6817506da306fd13e063" dependencies = [ "hash256-std-hasher", "impl-trait-for-tuples", @@ -6344,9 +6221,9 @@ dependencies = [ [[package]] name = "sp-runtime-interface" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f94a8b74729dd6c13424a03a2717ed0ac9a2f43613148db88728942327bea3e" +checksum = "8bee7f5ae328516154f16f6875d19ec70abb643fa16e12d731289f64594939c8" dependencies = [ "parity-scale-codec", "primitive-types", @@ -6360,22 +6237,22 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "480b49e81062a4b08200d47ea60c27d3c9b9f931d4dd3b1b6e6c5f0c0dc1a1f8" +checksum = "ccd2541e8b1d05e71e71ee6308116e8e77e5ffff6c6c7bed03336c19497470db" dependencies = [ "Inflector", "proc-macro-crate", - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", ] [[package]] name = "sp-sandbox" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d33f53ce06f257f7f3d486f1cd1d78acf4ef35e10d93c5499a07a568dd8ab462" +checksum = "41759c6af56e142641d684d7ed231fca186bd73050d4700e5ce7f803dbdc4622" dependencies = [ "parity-scale-codec", "sp-core", @@ -6387,9 +6264,9 @@ dependencies = [ [[package]] name = "sp-serializer" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd6c6bb5b3e1c9c3c190f94b37f5e573521f281c56e069290317c2148fcde9dd" +checksum = "8aa02e397d5ee6c6569a22fb93a98ce8cc6e9105532a4c8dae3db139da621c7d" dependencies = [ "serde", "serde_json", @@ -6397,9 +6274,9 @@ dependencies = [ [[package]] name = "sp-session" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cbc7b244c7d899b348f90d98086018fc49fbfb86a83846f121f4083e4a1fd56" +checksum = "117935b00eb2c84eba692cce134485b8548d0b6ad1a5b8e70d58ee7cfc52ffb7" dependencies = [ "parity-scale-codec", "sp-api", @@ -6411,9 +6288,9 @@ dependencies = [ [[package]] name = "sp-staking" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e856e9308fc57a76732ef666ec413650af5ee69e42766d6859596a8eec66b382" +checksum = "278335bdb6f3abc91e15bf8945858b7be753f55c4770572b86712d60fdbe88a4" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -6422,9 +6299,9 @@ dependencies = [ [[package]] name = "sp-state-machine" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b69b8e4b88acf3acf8ab627fccbc4a8cdf5b006eb7ac7424a617012778040bae" +checksum = "466231f9032ee44b3974c1789edc7e473234aeb6d92aac506d5011cfb049bd2e" dependencies = [ "hash-db", "log", @@ -6442,15 +6319,15 @@ dependencies = [ [[package]] name = "sp-std" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "652e90f1e036a1499c79c5c2d8569709dd31a1ea263c99da47b3c7f2121a938a" +checksum = "b3dc3b71646e5b94bd6c9ff73d42d86bcbd55a257709ac0b3bcde90d42a16b45" [[package]] name = "sp-storage" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8b12ec4ed124bb8d03cbc17575a34d2ee7c6b780c83d2e63a532cf7c1195997" +checksum = "474d5c349670c57704e03404766df3a2dad48e6ec885cf39d695e4b9075a34a8" dependencies = [ "impl-serde 0.2.3", "ref-cast", @@ -6461,9 +6338,9 @@ dependencies = [ [[package]] name = "sp-timestamp" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4eddba8ce8b354829c95bf4630af6d2a07b8eb2ebd21ce6a91240d885406ec7" +checksum = "a11c60402c1b3652cab603eccf3ca72d13ac76a9f4aa250f8e0257558f5ad8bf" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -6476,18 +6353,18 @@ dependencies = [ [[package]] name = "sp-tracing" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9096b3de76b42bd2cc1f8890c6e416ada152deb937c1a7974270e3c14a595b0e" +checksum = "757b4b4ae036e63b8cb2e04a99aa8f7f2c0e4d65b20a8ca4055b91da7a4da086" dependencies = [ "tracing", ] [[package]] name = "sp-transaction-pool" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4eda49c7a29a312f474175f730cc0d4b33e226a674f406a847195c83bab3a05c" +checksum = "969f4254d1eeb6229109ec4110c482bbdfb5299f7f9b683698c70a3eebbd7743" dependencies = [ "derive_more 0.99.7", "futures 0.3.5", @@ -6495,15 +6372,16 @@ dependencies = [ "parity-scale-codec", "serde", "sp-api", + "sp-blockchain", "sp-runtime", "sp-utils", ] [[package]] name = "sp-trie" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b389371093ee1089e37249a37dc88568990312799746b5321748d3b75e48165" +checksum = "863800d1b759e71697f5c0f149320198f08cd2de8b9ea2de09809d337183da20" dependencies = [ "hash-db", "memory-db", @@ -6516,9 +6394,9 @@ dependencies = [ [[package]] name = "sp-utils" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a19ae914b1f6f3213e028a5e3ff440c8f9767031ce3380f0e2130dc9b9d5f133" +checksum = "23027131236da370e7e74a0c2c38a774f1c7865d15d771b36f5d4cadfa059a53" dependencies = [ "futures 0.3.5", "futures-core", @@ -6528,9 +6406,9 @@ dependencies = [ [[package]] name = "sp-version" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8555b712bf423aa29a0f1de7fdf66caa95184977bed6792ef05d464bb76e542" +checksum = "cd13d876f1e98e4323d55cdafa44ae0116ca7ace1f0abb7f09c53e51be6b90b6" dependencies = [ "impl-serde 0.2.3", "parity-scale-codec", @@ -6541,9 +6419,9 @@ dependencies = [ [[package]] name = "sp-wasm-interface" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ae20ed52dc510fc23f79854dd71a5fd6160e40ab05e540c483ebbd59cbba08f" +checksum = "cd42500c3a67a99a4a45bf3ca66b41a63e882a4a9e4f632b63218b57b75a929b" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -6612,9 +6490,9 @@ checksum = "d239ca4b13aee7a2142e6795cbd69e457665ff8037aed33b3effdc430d2f927a" dependencies = [ "heck", "proc-macro-error", - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", ] [[package]] @@ -6633,14 +6511,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0054a7df764039a6cd8592b9de84be4bec368ff081d203a7d5371cbfa8e65c81" dependencies = [ "heck", - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", ] [[package]] name = "subkey" -version = "1.0.1" +version = "1.1.0" dependencies = [ "clap", "frame-system", @@ -6687,18 +6565,18 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c748fdee2cc011fd29f7b29e3814d28c861f72ee551296212844ebcdc1c728d" +checksum = "eee118f791e43bd5f6563c678eed9454472f269e60ad907aaa2eb5b33ecbff67" dependencies = [ "platforms", ] [[package]] name = "substrate-frame-rpc-system" -version = "2.0.0-rc2" +version = "2.0.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea555c8bea218b4da0f78f4ef9d0a89b2d99a3d2f407f489694f4766d0ddb19e" +checksum = "c9e932c515d56cd4f48de81ad3aa200b133c815fbc7d6fd917e7886bd7ae3247" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.5", @@ -6718,14 +6596,14 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" -version = "0.8.0-rc2" +version = "0.8.0-rc3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7768670414da4fa8140c97c56891d428db38d316a9564dc4174680cf3d923e05" +checksum = "eee147593521af9eef3f90344ba5c3180dc27225e758bd8f081d8fe519318fa7" dependencies = [ - "async-std 1.6.0", + "async-std", "derive_more 0.99.7", "futures-util", - "hyper 0.13.5", + "hyper 0.13.6", "log", "prometheus", "tokio 0.2.21", @@ -6745,9 +6623,9 @@ checksum = "2d67a5a62ba6e01cb2192ff309324cb4875d0c451d55fe2319433abe7a05a8ee" [[package]] name = "subtle" -version = "2.2.2" +version = "2.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c65d530b10ccaeac294f349038a597e435b18fb456aadd0840a623f83b9e941" +checksum = "502d53007c02d7605a05df1c1a73ee436952781653da5d0bf57ad608f66932c1" [[package]] name = "syn" @@ -6773,12 +6651,12 @@ dependencies = [ [[package]] name = "syn" -version = "1.0.27" +version = "1.0.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef781e621ee763a2a40721a8861ec519cb76966aee03bb5d00adb6a31dc1c1de" +checksum = "b5304cfdf27365b7585c25d4af91b35016ed21ef88f17ced89c7093b43dba8b6" dependencies = [ - "proc-macro2 1.0.17", - "quote 1.0.6", + "proc-macro2 1.0.18", + "quote 1.0.7", "unicode-xid 0.2.0", ] @@ -6788,9 +6666,9 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7be3539f6c128a931cf19dcee741c1af532c7fd387baa739c03dd2e96479338a" dependencies = [ - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", ] [[package]] @@ -6804,13 +6682,13 @@ dependencies = [ [[package]] name = "synstructure" -version = "0.12.3" +version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67656ea1dc1b41b1451851562ea232ec2e5a80242139f7e679ceccfb5d61f545" +checksum = "b834f2d66f734cb897113e34aaff2f1ab4719ca946f9a7358dba8f8064148701" dependencies = [ - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", "unicode-xid 0.2.0", ] @@ -6882,9 +6760,9 @@ version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "893582086c2f98cde18f906265a65b5030a074b1046c674ae898be6519a7f479" dependencies = [ - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", ] [[package]] @@ -6912,7 +6790,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf955af2fe3c761498002bd8d0b677795a262a62fc761968d5de7e4de7912a99" dependencies = [ "async-sse", - "async-std 1.6.0", + "async-std", "cookie", "futures-core", "http-service", @@ -7062,7 +6940,7 @@ version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb2d1b8f4548dbf5e1f7818512e9c406860678f29c300cdf0ebac72d1a3a1671" dependencies = [ - "crossbeam-utils 0.7.2", + "crossbeam-utils", "futures 0.1.29", ] @@ -7105,7 +6983,7 @@ version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09bc590ec4ba8ba87652da2068d150dcada2cfa2e07faae270a5e0409aa51351" dependencies = [ - "crossbeam-utils 0.7.2", + "crossbeam-utils", "futures 0.1.29", "lazy_static", "log", @@ -7173,7 +7051,7 @@ checksum = "df720b6581784c118f0eb4310796b12b1d242a7eb95f716a8367855325c25f89" dependencies = [ "crossbeam-deque", "crossbeam-queue", - "crossbeam-utils 0.7.2", + "crossbeam-utils", "futures 0.1.29", "lazy_static", "log", @@ -7188,7 +7066,7 @@ version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "93044f2d313c95ff1cb7809ce9a7a05735b012288a888b62d4434fd58c94f296" dependencies = [ - "crossbeam-utils 0.7.2", + "crossbeam-utils", "futures 0.1.29", "slab", "tokio-executor 0.1.10", @@ -7258,9 +7136,9 @@ checksum = "e987b6bf443f4b5b3b6f38704195592cca41c5bb7aedd3c3693c7081f8289860" [[package]] name = "tracing" -version = "0.1.14" +version = "0.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7c6b59d116d218cb2d990eb06b77b64043e0268ef7323aae63d8b30ae462923" +checksum = "a41f40ed0e162c911ac6fcb53ecdc8134c46905fdbbae8c50add462a538b495f" dependencies = [ "cfg-if", "tracing-attributes", @@ -7273,9 +7151,9 @@ version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "99bbad0de3fd923c9c3232ead88510b783e5a4d16a6154adffa3d53308de984c" dependencies = [ - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", ] [[package]] @@ -7441,9 +7319,9 @@ dependencies = [ [[package]] name = "vcpkg" -version = "0.2.8" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fc439f2794e98976c88a2a2dafce96b930fe8010b0a256b3c2199a773933168" +checksum = "6454029bf181f092ad1b853286f23e2c507d8e8194d01d92da4a55c274a5508c" [[package]] name = "vec_map" @@ -7487,9 +7365,9 @@ dependencies = [ [[package]] name = "wabt-sys" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23d7043ebb3e5d96fad7a8d3ca22ee9880748ff8c3e18092cfb2a49d3b8f9084" +checksum = "01c695f98f7eb81fd4e2f6b65301ccc916a950dc2265eeefc4d376b34ce666df" dependencies = [ "cc", "cmake", @@ -7525,9 +7403,9 @@ checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" [[package]] name = "wasm-bindgen" -version = "0.2.62" +version = "0.2.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3c7d40d09cdbf0f4895ae58cf57d92e1e57a9dd8ed2e8390514b54a47cc5551" +checksum = "4c2dc4aa152834bc334f506c1a06b866416a8b6697d5c9f75b9a689c8486def0" dependencies = [ "cfg-if", "serde", @@ -7537,24 +7415,24 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.62" +version = "0.2.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3972e137ebf830900db522d6c8fd74d1900dcfc733462e9a12e942b00b4ac94" +checksum = "ded84f06e0ed21499f6184df0e0cb3494727b0c5da89534e0fcc55c51d812101" dependencies = [ "bumpalo", "lazy_static", "log", - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.12" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a369c5e1dfb7569e14d62af4da642a3cbc2f9a3652fe586e26ac22222aa4b04" +checksum = "64487204d863f109eb77e8462189d111f27cb5712cc9fdb3461297a76963a2f6" dependencies = [ "cfg-if", "js-sys", @@ -7564,32 +7442,32 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.62" +version = "0.2.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cd85aa2c579e8892442954685f0d801f9129de24fa2136b2c6a539c76b65776" +checksum = "838e423688dac18d73e31edce74ddfac468e37b1506ad163ffaf0a46f703ffe3" dependencies = [ - "quote 1.0.6", + "quote 1.0.7", "wasm-bindgen-macro-support", ] [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.62" +version = "0.2.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8eb197bd3a47553334907ffd2f16507b4f4f01bbec3ac921a7719e0decdfe72a" +checksum = "3156052d8ec77142051a533cdd686cba889537b213f948cd1d20869926e68e92" dependencies = [ - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.62" +version = "0.2.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a91c2916119c17a8e316507afaaa2dd94b47646048014bbdf6bef098c1bb58ad" +checksum = "c9ba19973a58daf4db6f352eda73dc0e289493cd29fb2632eb172085b6521acd" [[package]] name = "wasm-timer" @@ -7601,7 +7479,7 @@ dependencies = [ "js-sys", "parking_lot 0.9.0", "pin-utils", - "send_wrapper 0.2.0", + "send_wrapper", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", @@ -7632,9 +7510,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.39" +version = "0.3.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bc359e5dd3b46cb9687a051d50a2fdd228e4ba7cf6fcf861a5365c3d671a642" +checksum = "7b72fe77fd39e4bd3eaa4412fd299a0be6b3dfe9d2597e2f1c20beb968f41d17" dependencies = [ "js-sys", "wasm-bindgen", @@ -7642,9 +7520,9 @@ dependencies = [ [[package]] name = "webpki" -version = "0.21.2" +version = "0.21.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1f50e1972865d6b1adb54167d1c8ed48606004c2c9d0ea5f1eeb34d95e863ef" +checksum = "ab146130f5f790d45f82aeeb09e55a256573373ec64409fc19a6fb82fb1032ae" dependencies = [ "ring", "untrusted", @@ -7668,25 +7546,6 @@ dependencies = [ "webpki", ] -[[package]] -name = "wepoll-binding" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "374fff4ff9701ff8b6ad0d14bacd3156c44063632d8c136186ff5967d48999a7" -dependencies = [ - "bitflags", - "wepoll-sys", -] - -[[package]] -name = "wepoll-sys" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9082a777aed991f6769e2b654aa0cb29f1c3d615daf009829b07b66c7aff6a24" -dependencies = [ - "cc", -] - [[package]] name = "which" version = "3.1.1" @@ -7741,9 +7600,9 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "winreg" -version = "0.6.2" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2986deb581c4fe11b621998a5e53361efe6b48a151178d0cd9eeffa4dc6acc9" +checksum = "0120db82e8a1e0b9fb3345a539c478767c0048d842860994d96113d5b667bd69" dependencies = [ "winapi 0.3.8", ] @@ -7782,7 +7641,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "637ff90c9540fa3073bb577e65033069e4bae7c79d49d74aa3ffdf5342a53217" dependencies = [ - "curve25519-dalek 2.0.0", + "curve25519-dalek 2.1.0", "rand_core 0.5.1", "zeroize 1.1.0", ] @@ -7822,8 +7681,8 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "de251eec69fc7c1bc3923403d18ececb929380e016afe103da75f396704f8ca2" dependencies = [ - "proc-macro2 1.0.17", - "quote 1.0.6", - "syn 1.0.27", + "proc-macro2 1.0.18", + "quote 1.0.7", + "syn 1.0.31", "synstructure", ] diff --git a/bin/node/cli/Cargo.toml b/bin/node/cli/Cargo.toml index 66422f8f29..08fef91003 100644 --- a/bin/node/cli/Cargo.toml +++ b/bin/node/cli/Cargo.toml @@ -1,10 +1,7 @@ [package] name = "plasm-cli" -version = "1.0.1" -authors = [ - "Takumi Yamashita ", - "Aleksandr Krupenkin ", -] +version = "1.1.0" +authors = ["Stake Technologies "] description = "Plasm node implementation in Rust." build = "build.rs" edition = "2018" @@ -34,29 +31,29 @@ log = "0.4.8" hex = "0.4" # primitives -sp-core = "2.0.0-rc2" -sp-runtime = "2.0.0-rc2" -sp-inherents = "2.0.0-rc2" -sp-consensus = "0.8.0-rc2" -sp-consensus-babe = "0.8.0-rc2" -sp-finality-grandpa = "2.0.0-rc2" -sp-transaction-pool = "2.0.0-rc2" +sp-core = "2.0.0-rc3" +sp-runtime = "2.0.0-rc3" +sp-inherents = "2.0.0-rc3" +sp-consensus = "0.8.0-rc3" +sp-consensus-babe = "0.8.0-rc3" +sp-finality-grandpa = "2.0.0-rc3" +sp-transaction-pool = "2.0.0-rc3" # client dependencies -sc-client-api = "2.0.0-rc2" -sc-chain-spec = "2.0.0-rc2" -sc-consensus = "0.8.0-rc2" -sc-executor = "0.8.0-rc2" -sc-transaction-pool = "2.0.0-rc2" -sc-network = "0.8.0-rc2" -sc-finality-grandpa = "0.8.0-rc2" -sc-offchain = "2.0.0-rc2" -sc-client-db = { version = "0.8.0-rc2", default-features = false } -sc-rpc = "2.0.0-rc2" -sc-basic-authorship = "0.8.0-rc2" -sc-service = "0.8.0-rc2" -sc-telemetry = "2.0.0-rc2" -sc-consensus-babe = "0.8.0-rc2" +sc-client-api = "2.0.0-rc3" +sc-chain-spec = "2.0.0-rc3" +sc-consensus = "0.8.0-rc3" +sc-executor = "0.8.0-rc3" +sc-transaction-pool = "2.0.0-rc3" +sc-network = "0.8.0-rc3" +sc-finality-grandpa = "0.8.0-rc3" +sc-offchain = "2.0.0-rc3" +sc-client-db = { version = "0.8.0-rc3", default-features = false } +sc-rpc = "2.0.0-rc3" +sc-basic-authorship = "0.8.0-rc3" +sc-service = "0.8.0-rc3" +sc-telemetry = "2.0.0-rc3" +sc-consensus-babe = "0.8.0-rc3" # plasm-specific dependencies plasm-primitives = { path = "../primitives" } @@ -64,22 +61,22 @@ plasm-runtime = { path = "../runtime" } plasm-rpc = { path = "../rpc" } # frame dependencies -frame-system = "2.0.0-rc2" -pallet-timestamp = "2.0.0-rc2" -pallet-contracts = { version = "2.0.0-rc2", default-features = false } -pallet-transaction-payment = "2.0.0-rc2" -pallet-finality-tracker = "2.0.0-rc2" +frame-system = "2.0.0-rc3" +pallet-timestamp = "2.0.0-rc3" +pallet-contracts = { version = "2.0.0-rc3", default-features = false } +pallet-transaction-payment = "2.0.0-rc3" +pallet-finality-tracker = "2.0.0-rc3" pallet-dapps-staking = { path = "../../../frame/dapps-staking" } pallet-plasm-lockdrop = { path = "../../../frame/plasm-lockdrop" } # CLI-specific dependencies -sc-cli = { version = "0.8.0-rc2", optional = true } -frame-benchmarking-cli = { version = "2.0.0-rc2", optional = true } +sc-cli = { version = "0.8.0-rc3", optional = true } +frame-benchmarking-cli = { version = "2.0.0-rc3", optional = true } [build-dependencies] -sc-cli = "0.8.0-rc2" -frame-benchmarking-cli = { version = "2.0.0-rc2", optional = true } -build-script-utils = { package = "substrate-build-script-utils", version = "2.0.0-rc2" } +sc-cli = "0.8.0-rc3" +frame-benchmarking-cli = { version = "2.0.0-rc3", optional = true } +build-script-utils = { package = "substrate-build-script-utils", version = "2.0.0-rc3" } structopt = { version = "0.3.8", optional = true } vergen = { version = "3.0.4", optional = true } diff --git a/bin/node/cli/res/dusty.json b/bin/node/cli/res/dusty.json index df90470bff..722c6a9552 100644 --- a/bin/node/cli/res/dusty.json +++ b/bin/node/cli/res/dusty.json @@ -639,7 +639,7 @@ "0x26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da95c3f3c48da9d0aa0a917b7eaabc2823b02d8afbd3a0cd892deebaac4db9aec1d99d6a909de745956da334e0837ac293a": "0x00000000011938f94591ebdb060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa19509a97ab0a8cbc48526261626580f0fb6d0c7e69642eff3e3299b04278300d7f3fe8a126a6a163183860bbd5a233": "0xde03a8a4f772c7d02f2491f95a8dd5cc2fc293fe07758164fcb7884e225fff14" }, - "children": {} + "childrenDefault": {} } } } diff --git a/bin/node/cli/res/plasm.json b/bin/node/cli/res/plasm.json index 966b50d7b3..a425e2fc2e 100644 --- a/bin/node/cli/res/plasm.json +++ b/bin/node/cli/res/plasm.json @@ -336,7 +336,7 @@ "0x26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da9b7f8ef5e760d142f647c34611e331cde738db85cb7207d722073ae3825881304cfb785599c65c56668e5a570990fbddc": "0x00000000008994b501bc922435bf00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "0x26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da90e1b0c5a1a693e4a209b24545e61d55783d390f8fedb2c04119013ec7553a63704e500890b17c49ef6fe76e21301822d": "0x0000000000584d54765078abb80100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" }, - "children": {} + "childrenDefault": {} } } } diff --git a/bin/node/cli/src/chain_spec.rs b/bin/node/cli/src/chain_spec.rs index 8d074c4866..5fc0d8cd3e 100644 --- a/bin/node/cli/src/chain_spec.rs +++ b/bin/node/cli/src/chain_spec.rs @@ -1,7 +1,6 @@ //! Chain specification. use plasm_primitives::{AccountId, Balance, Signature}; -use plasm_runtime::constants::currency::*; use plasm_runtime::Block; use plasm_runtime::{ BabeConfig, BalancesConfig, ContractsConfig, GenesisConfig, GrandpaConfig, IndicesConfig, @@ -21,6 +20,7 @@ type AccountPublic = ::Signer; /* use hex_literal::hex; use sp_core::crypto::UncheckedInto; +use plasm_runtime::constants::currency::*; const STAGING_TELEMETRY_URL: &str = "wss://telemetry.polkadot.io/submit/"; const PLASM_PROPERTIES: &str = r#" diff --git a/bin/node/cli/src/service.rs b/bin/node/cli/src/service.rs index 05f3894a90..6bc039859f 100644 --- a/bin/node/cli/src/service.rs +++ b/bin/node/cli/src/service.rs @@ -19,7 +19,8 @@ use sp_inherents::InherentDataProviders; sc_executor::native_executor_instance!( pub Executor, plasm_runtime::api::dispatch, - plasm_runtime::native_version + plasm_runtime::native_version, + plasm_runtime::legacy::storage::HostFunctions, ); /// Starts a `ServiceBuilder` for a full service. @@ -40,12 +41,14 @@ macro_rules! new_full_start { crate::service::Executor, >($config)? .with_select_chain(|_config, backend| Ok(sc_consensus::LongestChain::new(backend.clone())))? - .with_transaction_pool(|config, client, _fetcher, prometheus_registry| { - let pool_api = sc_transaction_pool::FullChainApi::new(client.clone()); + .with_transaction_pool(|builder| { + let pool_api = sc_transaction_pool::FullChainApi::new(builder.client().clone()); + let config = builder.config(); + Ok(sc_transaction_pool::BasicPool::new( - config, + config.transaction_pool.clone(), std::sync::Arc::new(pool_api), - prometheus_registry, + builder.prometheus_registry(), )) })? .with_import_queue( @@ -278,14 +281,16 @@ pub fn new_light(config: Configuration) -> Result(config)? .with_select_chain(|_config, backend| Ok(LongestChain::new(backend.clone())))? - .with_transaction_pool(|config, client, fetcher, prometheus_registry| { - let fetcher = fetcher + .with_transaction_pool(|builder| { + let fetcher = builder + .fetcher() .ok_or_else(|| "Trying to start light transaction pool without active fetcher")?; - let pool_api = sc_transaction_pool::LightChainApi::new(client.clone(), fetcher.clone()); + let pool_api = + sc_transaction_pool::LightChainApi::new(builder.client().clone(), fetcher); let pool = sc_transaction_pool::BasicPool::with_revalidation_type( - config, + builder.config().transaction_pool.clone(), Arc::new(pool_api), - prometheus_registry, + builder.prometheus_registry(), sc_transaction_pool::RevalidationType::Light, ); Ok(pool) diff --git a/bin/node/primitives/Cargo.toml b/bin/node/primitives/Cargo.toml index 066a014fdc..08e2fa6d23 100644 --- a/bin/node/primitives/Cargo.toml +++ b/bin/node/primitives/Cargo.toml @@ -1,18 +1,15 @@ [package] name = "plasm-primitives" -version = "1.0.1" -authors = [ - "Takumi Yamashita ", - "Aleksandr Krupenkin " -] +version = "1.1.0" +authors = ["Stake Technologies "] edition = "2018" [dependencies] codec = { package = "parity-scale-codec", version = "1.3.0", default-features = false } -sp-core = { version = "2.0.0-rc2", default-features = false } -sp-runtime = { version = "2.0.0-rc2", default-features = false } -sp-application-crypto = { version = "2.0.0-rc2", default-features = false } -frame-system = { version = "2.0.0-rc2", default-features = false } +sp-core = { version = "2.0.0-rc3", default-features = false } +sp-runtime = { version = "2.0.0-rc3", default-features = false } +sp-application-crypto = { version = "2.0.0-rc3", default-features = false } +frame-system = { version = "2.0.0-rc3", default-features = false } [features] default = ["std"] diff --git a/bin/node/rpc/Cargo.toml b/bin/node/rpc/Cargo.toml index de8b021fdd..dbc603ffd0 100644 --- a/bin/node/rpc/Cargo.toml +++ b/bin/node/rpc/Cargo.toml @@ -1,30 +1,27 @@ [package] name = "plasm-rpc" -version = "1.0.1" -authors = [ - "Takumi Yamashita ", - "Aleksandr Krupenkin " -] +version = "1.1.0" +authors = ["Stake Technologies "] edition = "2018" [dependencies] plasm-runtime = { path = "../runtime" } plasm-primitives = { path = "../primitives" } jsonrpc-core = "14.0.3" -sp-api = "2.0.0-rc2" -sp-runtime = "2.0.0-rc2" -sp-blockchain = "2.0.0-rc2" -sp-consensus = "0.8.0-rc2" -sp-consensus-babe = "0.8.0-rc2" -sp-transaction-pool = "2.0.0-rc2" -sc-rpc-api = "0.8.0-rc2" -sc-keystore = "2.0.0-rc2" -sc-client-api = "2.0.0-rc2" -sc-consensus-babe = "0.8.0-rc2" -sc-consensus-babe-rpc = "0.8.0-rc2" -sc-consensus-epochs = "0.8.0-rc2" -sc-finality-grandpa = "0.8.0-rc2" -sc-finality-grandpa-rpc = "0.8.0-rc2" -pallet-contracts-rpc = "0.8.0-rc2" -pallet-transaction-payment-rpc = "2.0.0-rc2" -substrate-frame-rpc-system = "2.0.0-rc2" +sp-api = "2.0.0-rc3" +sp-runtime = "2.0.0-rc3" +sp-blockchain = "2.0.0-rc3" +sp-consensus = "0.8.0-rc3" +sp-consensus-babe = "0.8.0-rc3" +sp-transaction-pool = "2.0.0-rc3" +sc-rpc-api = "0.8.0-rc3" +sc-keystore = "2.0.0-rc3" +sc-client-api = "2.0.0-rc3" +sc-consensus-babe = "0.8.0-rc3" +sc-consensus-babe-rpc = "0.8.0-rc3" +sc-consensus-epochs = "0.8.0-rc3" +sc-finality-grandpa = "0.8.0-rc3" +sc-finality-grandpa-rpc = "0.8.0-rc3" +pallet-contracts-rpc = "0.8.0-rc3" +pallet-transaction-payment-rpc = "2.0.0-rc3" +substrate-frame-rpc-system = "2.0.0-rc3" diff --git a/bin/node/runtime/Cargo.toml b/bin/node/runtime/Cargo.toml index 8d7b7f2e32..356c0324fe 100644 --- a/bin/node/runtime/Cargo.toml +++ b/bin/node/runtime/Cargo.toml @@ -1,10 +1,7 @@ [package] name = "plasm-runtime" -version = "1.0.1" -authors = [ - "Takumi Yamashita ", - "Aleksandr Krupenkin " -] +version = "1.1.0" +authors = ["Stake Technologies "] edition = "2018" build = "build.rs" @@ -17,17 +14,19 @@ hex-literal = { version = "0.2", optional = true } # primitives plasm-primitives = { path = "../primitives", default-features = false } -sp-core = { version = "2.0.0-rc2", default-features = false } -sp-runtime = { version = "2.0.0-rc2", default-features = false } -sp-consensus-babe = { version = "0.8.0-rc2", default-features = false } -sp-offchain = { version = "2.0.0-rc2", default-features = false } -sp-api = { version = "2.0.0-rc2", default-features = false } -sp-inherents = { version = "2.0.0-rc2", default-features = false } -sp-block-builder = { version = "2.0.0-rc2", default-features = false } -sp-transaction-pool = { version = "2.0.0-rc2", default-features = false } -sp-std = { version = "2.0.0-rc2", default-features = false } -sp-version = { version = "2.0.0-rc2", default-features = false } -sp-session = { version = "2.0.0-rc2", default-features = false } +sp-core = { version = "2.0.0-rc3", default-features = false } +sp-runtime = { version = "2.0.0-rc3", default-features = false } +sp-runtime-interface = { version = "2.0.0-rc3", default-features = false } +sp-consensus-babe = { version = "0.8.0-rc3", default-features = false } +sp-offchain = { version = "2.0.0-rc3", default-features = false } +sp-api = { version = "2.0.0-rc3", default-features = false } +sp-inherents = { version = "2.0.0-rc3", default-features = false } +sp-io = { version = "2.0.0-rc3", default-features = false } +sp-block-builder = { version = "2.0.0-rc3", default-features = false } +sp-transaction-pool = { version = "2.0.0-rc3", default-features = false } +sp-std = { version = "2.0.0-rc3", default-features = false } +sp-version = { version = "2.0.0-rc3", default-features = false } +sp-session = { version = "2.0.0-rc3", default-features = false } # frame dependencies pallet-contract-operator = { path = "../../../frame/operator", default-features = false } @@ -35,27 +34,27 @@ pallet-operator-trading = { path = "../../../frame/trading", default-features = pallet-dapps-staking = { path = "../../../frame/dapps-staking", default-features = false } pallet-plasm-rewards = { path = "../../../frame/plasm-rewards", default-features = false } pallet-plasm-validator = { path = "../../../frame/plasm-validator", default-features = false } -frame-executive = { version = "2.0.0-rc2", default-features = false } -pallet-babe = { version = "2.0.0-rc2", default-features = false } -pallet-balances = { version = "2.0.0-rc2", default-features = false } -pallet-contracts = { version = "2.0.0-rc2", default-features = false } -pallet-contracts-primitives = { version = "2.0.0-rc2", default-features = false } -pallet-contracts-rpc-runtime-api = { version = "0.8.0-rc2", default-features = false } -pallet-finality-tracker = { version = "2.0.0-rc2", default-features = false } -pallet-grandpa = { version = "2.0.0-rc2", default-features = false } -pallet-indices = { version = "2.0.0-rc2", default-features = false } -pallet-randomness-collective-flip = { version = "2.0.0-rc2", default-features = false } -pallet-session = { version = "2.0.0-rc2", default-features = false, features = ["historical"] } -pallet-sudo = { version = "2.0.0-rc2", default-features = false } -frame-support = { version = "2.0.0-rc2", default-features = false } -frame-system = { version = "2.0.0-rc2", default-features = false } -frame-system-rpc-runtime-api = { version = "2.0.0-rc2", default-features = false } -pallet-timestamp = { version = "2.0.0-rc2", default-features = false } -pallet-transaction-payment = { version = "2.0.0-rc2", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { version = "2.0.0-rc2", default-features = false } +frame-executive = { version = "2.0.0-rc3", default-features = false } +pallet-babe = { version = "2.0.0-rc3", default-features = false } +pallet-balances = { version = "2.0.0-rc3", default-features = false } +pallet-contracts = { version = "2.0.0-rc3", default-features = false } +pallet-contracts-primitives = { version = "2.0.0-rc3", default-features = false } +pallet-contracts-rpc-runtime-api = { version = "0.8.0-rc3", default-features = false } +pallet-finality-tracker = { version = "2.0.0-rc3", default-features = false } +pallet-grandpa = { version = "2.0.0-rc3", default-features = false } +pallet-indices = { version = "2.0.0-rc3", default-features = false } +pallet-randomness-collective-flip = { version = "2.0.0-rc3", default-features = false } +pallet-session = { version = "2.0.0-rc3", default-features = false, features = ["historical"] } +pallet-sudo = { version = "2.0.0-rc3", default-features = false } +frame-support = { version = "2.0.0-rc3", default-features = false } +frame-system = { version = "2.0.0-rc3", default-features = false } +frame-system-rpc-runtime-api = { version = "2.0.0-rc3", default-features = false } +pallet-timestamp = { version = "2.0.0-rc3", default-features = false } +pallet-transaction-payment = { version = "2.0.0-rc3", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { version = "2.0.0-rc3", default-features = false } [dev-dependencies] -sp-io = "2.0.0-rc2" +sp-io = "2.0.0-rc3" [build-dependencies] wasm-builder-runner = { package = "substrate-wasm-builder-runner", version = "1.0.5" } @@ -72,10 +71,12 @@ std = [ "sp-core/std", "sp-consensus-babe/std", "sp-runtime/std", + "sp-runtime-interface/std", "sp-session/std", "sp-version/std", "sp-block-builder/std", "sp-transaction-pool/std", + "sp-io/std", "sp-inherents/std", "plasm-primitives/std", "frame-support/std", diff --git a/bin/node/runtime/src/impls.rs b/bin/node/runtime/src/impls.rs index 5426e0bc10..6dc1bc3557 100644 --- a/bin/node/runtime/src/impls.rs +++ b/bin/node/runtime/src/impls.rs @@ -2,9 +2,10 @@ use crate::{Balances, MaximumBlockWeight, System}; use frame_support::traits::Get; +use pallet_transaction_payment::Multiplier; use plasm_primitives::Balance; use sp_runtime::traits::{Convert, Saturating}; -use sp_runtime::{Fixed128, FixedPointNumber, Perquintill}; +use sp_runtime::{FixedPointNumber, Perquintill}; /// Struct that handles the conversion of Balance -> `u64`. This is used for staking's election /// calculation. @@ -38,8 +39,8 @@ impl Convert for CurrencyToVoteHandler { /// https://research.web3.foundation/en/latest/polkadot/Token%20Economics/#relay-chain-transaction-fees pub struct TargetedFeeAdjustment(sp_std::marker::PhantomData); -impl> Convert for TargetedFeeAdjustment { - fn convert(multiplier: Fixed128) -> Fixed128 { +impl> Convert for TargetedFeeAdjustment { + fn convert(multiplier: Multiplier) -> Multiplier { let max_weight = MaximumBlockWeight::get(); let block_weight = System::block_weight().total().min(max_weight); let target_weight = (T::get() * max_weight) as u128; @@ -49,13 +50,13 @@ impl> Convert for TargetedFeeAdjustment< let positive = block_weight >= target_weight; let diff_abs = block_weight.max(target_weight) - block_weight.min(target_weight); // safe, diff_abs cannot exceed u64. - let diff = Fixed128::saturating_from_rational(diff_abs, max_weight.max(1)); + let diff = Multiplier::saturating_from_rational(diff_abs, max_weight.max(1)); let diff_squared = diff.saturating_mul(diff); // 0.00004 = 4/100_000 = 40_000/10^9 - let v = Fixed128::saturating_from_rational(4, 100_000); + let v = Multiplier::saturating_from_rational(4, 100_000); // 0.00004^2 = 16/10^10 Taking the future /2 into account... 8/10^10 - let v_squared_2 = Fixed128::saturating_from_rational(8, 10_000_000_000u64); + let v_squared_2 = Multiplier::saturating_from_rational(8, 10_000_000_000u64); let first_term = v.saturating_mul(diff); let second_term = v_squared_2.saturating_mul(diff_squared); @@ -75,7 +76,7 @@ impl> Convert for TargetedFeeAdjustment< // 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(Fixed128::saturating_from_integer(-1)) + .max(Multiplier::saturating_from_integer(-1)) } } } @@ -97,7 +98,7 @@ mod tests { } // poc reference implementation. - fn fee_multiplier_update(block_weight: Weight, previous: Fixed128) -> Fixed128 { + fn fee_multiplier_update(block_weight: Weight, previous: Multiplier) -> Multiplier { // maximum tx weight let m = max() as f64; // block weight always truncated to max weight @@ -110,7 +111,8 @@ mod tests { let s = block_weight; let fm = v * (s / m - ss / m) + v.powi(2) * (s / m - ss / m).powi(2) / 2.0; - let addition_fm = Fixed128::from_inner((fm * Fixed128::accuracy() as f64).round() as i128); + let addition_fm = + Multiplier::from_inner((fm * Multiplier::accuracy() as f64).round() as i128); previous.saturating_add(addition_fm) } @@ -130,7 +132,7 @@ mod tests { #[test] fn fee_multiplier_update_poc_works() { - let fm = Fixed128::saturating_from_rational(0, 1); + let fm = Multiplier::saturating_from_rational(0, 1); let test_set = vec![ (0, fm.clone()), (100, fm.clone()), @@ -144,7 +146,7 @@ mod tests { fee_multiplier_update(w, fm), TargetedFeeAdjustment::::convert(fm), // Error is only 1 in 10^18 - Fixed128::from_inner(1), + Multiplier::from_inner(1), ); }) }) @@ -155,12 +157,12 @@ mod tests { // just a few txs per_block. let block_weight = 0; run_with_system_weight(block_weight, || { - let mut fm = Fixed128::default(); + let mut fm = Multiplier::default(); let mut iterations: u64 = 0; loop { let next = TargetedFeeAdjustment::::convert(fm); fm = next; - if fm == Fixed128::saturating_from_integer(-1) { + if fm == Multiplier::saturating_from_integer(-1) { break; } iterations += 1; @@ -195,7 +197,7 @@ mod tests { run_with_system_weight(block_weight, || { // initial value configured on module - let mut fm = Fixed128::default(); + let mut fm = Multiplier::default(); assert_eq!(fm, TransactionPayment::next_fee_multiplier()); let mut iterations: u64 = 0; @@ -224,48 +226,48 @@ mod tests { // and light blocks will have a weight multiplier less than 0. run_with_system_weight(target() / 4, || { // `fee_multiplier_update` is enough as it is the absolute truth value. - let next = TargetedFeeAdjustment::::convert(Fixed128::default()); + let next = TargetedFeeAdjustment::::convert(Multiplier::default()); assert_eq!( next, - fee_multiplier_update(target() / 4, Fixed128::default()) + fee_multiplier_update(target() / 4, Multiplier::default()) ); // Light block. Fee is reduced a little. - assert!(next < Fixed128::zero()) + assert!(next < Multiplier::zero()) }); run_with_system_weight(target() / 2, || { - let next = TargetedFeeAdjustment::::convert(Fixed128::default()); + let next = TargetedFeeAdjustment::::convert(Multiplier::default()); assert_eq!( next, - fee_multiplier_update(target() / 2, Fixed128::default()) + fee_multiplier_update(target() / 2, Multiplier::default()) ); // Light block. Fee is reduced a little. - assert!(next < Fixed128::zero()) + assert!(next < Multiplier::zero()) }); run_with_system_weight(target(), || { // ideal. Original fee. No changes. - let next = TargetedFeeAdjustment::::convert(Fixed128::default()); - assert_eq!(next, Fixed128::zero()) + let next = TargetedFeeAdjustment::::convert(Multiplier::default()); + assert_eq!(next, Multiplier::zero()) }); run_with_system_weight(target() * 2, || { // More than ideal. Fee is increased. - let next = TargetedFeeAdjustment::::convert(Fixed128::default()); + let next = TargetedFeeAdjustment::::convert(Multiplier::default()); assert_eq!( next, - fee_multiplier_update(target() * 2, Fixed128::default()) + fee_multiplier_update(target() * 2, Multiplier::default()) ); // Heavy block. Fee is increased a little. - assert!(next > Fixed128::zero()) + assert!(next > Multiplier::zero()) }); } #[test] fn stateful_weight_mul_grow_to_infinity() { run_with_system_weight(target() * 2, || { - let mut original = Fixed128::default(); - let mut next = Fixed128::default(); + let mut original = Multiplier::default(); + let mut next = Multiplier::default(); (0..1_000).for_each(|_| { next = TargetedFeeAdjustment::::convert(original); @@ -280,7 +282,7 @@ mod tests { #[test] fn stateful_weight_mil_collapse_to_minus_one() { run_with_system_weight(0, || { - let mut original = Fixed128::default(); // 0 + let mut original = Multiplier::default(); // 0 let mut next; // decreases @@ -297,9 +299,9 @@ mod tests { // ... stops going down at -1 assert_eq!( TargetedFeeAdjustment::::convert( - Fixed128::saturating_from_integer(-1) + Multiplier::saturating_from_integer(-1) ), - Fixed128::saturating_from_integer(-1) + Multiplier::saturating_from_integer(-1) ); }) } @@ -308,7 +310,7 @@ mod tests { fn weight_to_fee_should_not_overflow_on_large_weights() { let kb = 1024 as Weight; let mb = kb * kb; - let max_fm = Fixed128::saturating_from_integer(i128::max_value()); + let max_fm = Multiplier::saturating_from_integer(i128::max_value()); // check that for all values it can compute, correctly. vec![ @@ -332,9 +334,9 @@ mod tests { .for_each(|i| { run_with_system_weight(i, || { let next = - TargetedFeeAdjustment::::convert(Fixed128::default()); - let truth = fee_multiplier_update(i, Fixed128::default()); - assert_eq_error_rate!(truth, next, Fixed128::from_inner(50_000_000)); + TargetedFeeAdjustment::::convert(Multiplier::default()); + let truth = fee_multiplier_update(i, Multiplier::default()); + assert_eq_error_rate!(truth, next, Multiplier::from_inner(50_000_000)); }); }); diff --git a/bin/node/runtime/src/legacy.rs b/bin/node/runtime/src/legacy.rs new file mode 100644 index 0000000000..2809d296e8 --- /dev/null +++ b/bin/node/runtime/src/legacy.rs @@ -0,0 +1,103 @@ +//! Backward compatibility layer. + +use sp_std::prelude::*; + +/// Interface for accessing the storage from within the runtime. +/// * Removed in substrate >2.0.0-alpha.6 but used in Plasm Mainnet genesis. +#[sp_runtime_interface::runtime_interface] +pub trait Storage { + /// Read child key. + fn child_get( + &self, + storage_key: &[u8], + _child_definition: &[u8], + _child_type: u32, + key: &[u8], + ) -> Option> { + sp_io::default_child_storage::get(storage_key, key) + } + + /// Read child key. + fn child_read( + &self, + storage_key: &[u8], + _child_definition: &[u8], + _child_type: u32, + key: &[u8], + value_out: &mut [u8], + value_offset: u32, + ) -> Option { + sp_io::default_child_storage::read(storage_key, key, value_out, value_offset) + } + + /// Set a child storage value. + fn child_set( + &mut self, + storage_key: &[u8], + _child_definition: &[u8], + _child_type: u32, + key: &[u8], + value: &[u8], + ) { + sp_io::default_child_storage::set(storage_key, key, value) + } + + /// Remove child key value. + fn child_clear( + &mut self, + storage_key: &[u8], + _child_definition: &[u8], + _child_type: u32, + key: &[u8], + ) { + sp_io::default_child_storage::clear(storage_key, key) + } + + /// Remove all child storage values. + fn child_storage_kill( + &mut self, + storage_key: &[u8], + _child_definition: &[u8], + _child_type: u32, + ) { + sp_io::default_child_storage::storage_kill(storage_key) + } + + /// Check a child storage key. + fn child_exists( + &self, + storage_key: &[u8], + _child_definition: &[u8], + _child_type: u32, + key: &[u8], + ) -> bool { + sp_io::default_child_storage::exists(storage_key, key) + } + + /// Clear child key by prefix. + fn child_clear_prefix( + &mut self, + storage_key: &[u8], + _child_definition: &[u8], + _child_type: u32, + prefix: &[u8], + ) { + sp_io::default_child_storage::clear_prefix(storage_key, prefix) + } + + /// Child trie root calcualation. + fn child_root(&mut self, storage_key: &[u8]) -> Vec { + sp_io::default_child_storage::root(storage_key) + } + + /// Child storage key iteration. + fn child_next_key( + &mut self, + storage_key: &[u8], + _child_definition: &[u8], + _child_type: u32, + key: &[u8], + ) -> Option> { + sp_io::default_child_storage::next_key(storage_key, key) + } +} diff --git a/bin/node/runtime/src/lib.rs b/bin/node/runtime/src/lib.rs index 9dde185954..edf9835460 100644 --- a/bin/node/runtime/src/lib.rs +++ b/bin/node/runtime/src/lib.rs @@ -46,6 +46,9 @@ pub use sp_runtime::BuildStorage; /// Implementations of some helper traits passed into runtime modules as associated types. pub mod impls; +/// Deprecated but used runtime interfaces. +pub mod legacy; + /// Constant values used within the runtime. pub mod constants; use constants::{currency::*, time::*}; @@ -63,8 +66,8 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // and set impl_version to equal spec_version. If only runtime // implementation changes and behavior does not, then leave spec_version as // is and increment impl_version. - spec_version: 1, - impl_version: 1, + spec_version: 2, + impl_version: 2, apis: RUNTIME_API_VERSIONS, transaction_version: 1, }; @@ -79,13 +82,13 @@ pub fn native_version() -> NativeVersion { } parameter_types! { - pub const BlockHashCount: BlockNumber = 250; + pub const BlockHashCount: BlockNumber = 2400; /// We allow for 3 seconds of compute with a 10 second average block time. pub const MaximumBlockWeight: Weight = 3 * WEIGHT_PER_SECOND; pub const MaximumBlockLength: u32 = 5 * 1024 * 1024; pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75); /// Assume 10% of weight for average on_initialize calls - pub const MaximumExtrinsicWeight: Weight = AvailableBlockRatio::get() + pub MaximumExtrinsicWeight: Weight = AvailableBlockRatio::get() .saturating_sub(Perbill::from_percent(10)) * MaximumBlockWeight::get(); pub const Version: RuntimeVersion = VERSION; } @@ -244,11 +247,6 @@ impl pallet_dapps_staking::Trait for Runtime { } parameter_types! { - pub const ContractTransferFee: Balance = 1 * MILLIPLM; - pub const ContractCreationFee: Balance = 1 * MILLIPLM; - pub const ContractTransactionBaseFee: Balance = 1 * MILLIPLM; - pub const ContractTransactionByteFee: Balance = 10 * MILLIPLM; - pub const ContractFee: Balance = 1 * MILLIPLM; pub const TombstoneDeposit: Balance = 1 * PLM; pub const RentByteFee: Balance = 1 * PLM; pub const RentDepositOffset: Balance = 1000 * PLM; diff --git a/bin/subkey/Cargo.toml b/bin/subkey/Cargo.toml index 7b071ca23d..ea947ace00 100644 --- a/bin/subkey/Cargo.toml +++ b/bin/subkey/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "subkey" -version = "1.0.1" +version = "1.1.0" authors = ["Parity Technologies "] edition = "2018" [dependencies] -sp-core = "2.0.0-rc2" -sp-runtime = "2.0.0-rc2" +sp-core = "2.0.0-rc3" +sp-runtime = "2.0.0-rc3" plasm-runtime = { path = "../node/runtime" } plasm-primitives = { path = "../node/primitives" } rand = "0.7.2" @@ -17,8 +17,8 @@ substrate-bip39 = "0.3.1" hex = "0.4.0" hex-literal = "0.2.1" codec = { package = "parity-scale-codec", version = "1.3.0" } -frame-system = "2.0.0-rc2" -pallet-grandpa = "2.0.0-rc2" -pallet-balances = "2.0.0-rc2" -pallet-transaction-payment = "2.0.0-rc2" +frame-system = "2.0.0-rc3" +pallet-grandpa = "2.0.0-rc3" +pallet-balances = "2.0.0-rc3" +pallet-transaction-payment = "2.0.0-rc3" rpassword = "4.0.1" diff --git a/frame/dapps-staking/Cargo.toml b/frame/dapps-staking/Cargo.toml index cf39d5f1e7..362fca2ec2 100644 --- a/frame/dapps-staking/Cargo.toml +++ b/frame/dapps-staking/Cargo.toml @@ -11,19 +11,19 @@ edition = "2018" codec = { package = "parity-scale-codec", version = "1.3.0", features = ["derive"], default-features = false } serde = { version = "1.0.106", features = ["derive"], optional = true } -sp-core = { version = "2.0.0-rc2", default_features = false } -sp-runtime = { version = "2.0.0-rc2", default_features = false } -sp-arithmetic = { version = "2.0.0-rc2", default_features = false } -sp-io = { version = "2.0.0-rc2", default_features = false } -sp-std = { version = "2.0.0-rc2", default_features = false } -pallet-balances = { version = "2.0.0-rc2", default_features = false } -frame-support = { version = "2.0.0-rc2", default_features = false } -pallet-session = { version = "2.0.0-rc2", default-features = false } -pallet-timestamp = { version = "2.0.0-rc2", default_features = false } -frame-system = { version = "2.0.0-rc2", default_features = false } -pallet-contracts = { version = "2.0.0-rc2", default_features = false } -pallet-staking = { version = "2.0.0-rc2", default_features = false } -sp-staking = { version = "2.0.0-rc2", default_features = false } +sp-core = { version = "2.0.0-rc3", default_features = false } +sp-runtime = { version = "2.0.0-rc3", default_features = false } +sp-arithmetic = { version = "2.0.0-rc3", default_features = false } +sp-io = { version = "2.0.0-rc3", default_features = false } +sp-std = { version = "2.0.0-rc3", default_features = false } +pallet-balances = { version = "2.0.0-rc3", default_features = false } +frame-support = { version = "2.0.0-rc3", default_features = false } +pallet-session = { version = "2.0.0-rc3", default-features = false } +pallet-timestamp = { version = "2.0.0-rc3", default_features = false } +frame-system = { version = "2.0.0-rc3", default_features = false } +pallet-contracts = { version = "2.0.0-rc3", default_features = false } +pallet-staking = { version = "2.0.0-rc3", default_features = false } +sp-staking = { version = "2.0.0-rc3", default_features = false } pallet-contract-operator = { path = "../operator", default_features = false } pallet-plasm-rewards = { path = "../plasm-rewards", default_features = false } @@ -33,8 +33,8 @@ pallet-plasm-rewards = { path = "../plasm-rewards", default_features = false } wabt = "0.9.2" derive_more = "0.14.0" hex-literal = "0.2.1" -pallet-randomness-collective-flip = "2.0.0-rc2" -pallet-transaction-payment = "2.0.0-rc2" +pallet-randomness-collective-flip = "2.0.0-rc3" +pallet-transaction-payment = "2.0.0-rc3" [features] default = ["std"] diff --git a/frame/operator/Cargo.toml b/frame/operator/Cargo.toml index aeb7de760f..b5304842c2 100644 --- a/frame/operator/Cargo.toml +++ b/frame/operator/Cargo.toml @@ -8,22 +8,22 @@ edition = "2018" codec = { package = "parity-scale-codec", version = "1.3.0", features = ["derive"], default-features = false } serde = { version = "1.0.106", features = ["derive"], optional = true } -sp-core = { version = "2.0.0-rc2", default_features = false } -sp-runtime = { version = "2.0.0-rc2", default_features = false } -sp-io = { version = "2.0.0-rc2", default_features = false } -sp-std = { version = "2.0.0-rc2", default_features = false } -pallet-balances = { version = "2.0.0-rc2", default_features = false } -frame-support = { version = "2.0.0-rc2", default_features = false } -pallet-timestamp = { version = "2.0.0-rc2", default_features = false } -frame-system = { version = "2.0.0-rc2", default_features = false } -pallet-contracts = { version = "2.0.0-rc2", default_features = false } +sp-core = { version = "2.0.0-rc3", default_features = false } +sp-runtime = { version = "2.0.0-rc3", default_features = false } +sp-io = { version = "2.0.0-rc3", default_features = false } +sp-std = { version = "2.0.0-rc3", default_features = false } +pallet-balances = { version = "2.0.0-rc3", default_features = false } +frame-support = { version = "2.0.0-rc3", default_features = false } +pallet-timestamp = { version = "2.0.0-rc3", default_features = false } +frame-system = { version = "2.0.0-rc3", default_features = false } +pallet-contracts = { version = "2.0.0-rc3", default_features = false } [dev-dependencies] wabt = "0.9.2" derive_more = "0.14.0" hex-literal = "0.2.1" -pallet-randomness-collective-flip = "2.0.0-rc2" -pallet-transaction-payment = "2.0.0-rc2" +pallet-randomness-collective-flip = "2.0.0-rc3" +pallet-transaction-payment = "2.0.0-rc3" [features] default = ["std"] diff --git a/frame/ovm/Cargo.toml b/frame/ovm/Cargo.toml index 2b036c0f12..02f13d6f1a 100644 --- a/frame/ovm/Cargo.toml +++ b/frame/ovm/Cargo.toml @@ -10,17 +10,17 @@ edition = "2018" [dependencies] serde = { version = "1.0", optional = true, features = ["derive"] } codec = { package = "parity-scale-codec", version = "1.2.0", features = ['derive'], default-features = false } -sp-runtime = { version = "2.0.0-rc2", default_features = false } -sp-arithmetic = { version = "2.0.0-rc2", default_features = false } -sp-io = { version = "2.0.0-rc2", default_features = false } -sp-std = { version = "2.0.0-rc2", default_features = false } -frame-support = { version = "2.0.0-rc2", default_features = false } -frame-system = { version = "2.0.0-rc2", default_features = false } +sp-runtime = { version = "2.0.0-rc3", default_features = false } +sp-arithmetic = { version = "2.0.0-rc3", default_features = false } +sp-io = { version = "2.0.0-rc3", default_features = false } +sp-std = { version = "2.0.0-rc3", default_features = false } +frame-support = { version = "2.0.0-rc3", default_features = false } +frame-system = { version = "2.0.0-rc3", default_features = false } [dev-dependencies] hex-literal = "0.2.1" -sp-core = { version = "2.0.0-rc2" } -pallet-balances = { version = "2.0.0-rc2" } +sp-core = { version = "2.0.0-rc3" } +pallet-balances = { version = "2.0.0-rc3" } [features] default = ["std"] diff --git a/frame/ovm/rpc/runtime-api/Cargo.toml b/frame/ovm/rpc/runtime-api/Cargo.toml index 6bab078801..9e74de0115 100644 --- a/frame/ovm/rpc/runtime-api/Cargo.toml +++ b/frame/ovm/rpc/runtime-api/Cargo.toml @@ -9,9 +9,9 @@ repository = "https://github.com/staketechnologies/Plasm/" description = "Runtime API definition required by Ovm RPC extensions." [dependencies] -sp-api = { version = "2.0.0-rc2", default-features = false } +sp-api = { version = "2.0.0-rc3", default-features = false } codec = { package = "parity-scale-codec", version = "1.2.0", default-features = false, features = ["derive"] } -sp-std = { version = "2.0.0-rc2", default-features = false } +sp-std = { version = "2.0.0-rc3", default-features = false } [features] default = ["std"] diff --git a/frame/plasm-lockdrop/Cargo.toml b/frame/plasm-lockdrop/Cargo.toml index 18086dc5e9..a5b8013a10 100644 --- a/frame/plasm-lockdrop/Cargo.toml +++ b/frame/plasm-lockdrop/Cargo.toml @@ -15,21 +15,21 @@ tiny-keccak = { version = "2.0.1", default-features = false, features = ["keccak sha2 = { version = "0.8.0", default-features = false } hex = { version = "0.4", default-features = false } bs58 = { version = "0.3.0", default-features = false, features = ["alloc"] } -sp-io = { version = "2.0.0-rc2", default-features = false } -sp-std = { version = "2.0.0-rc2", default-features = false } -sp-core = { version = "2.0.0-rc2", default-features = false } -sp-runtime = { version = "2.0.0-rc2", default-features = false } -sp-arithmetic = { version = "2.0.0-rc2", default-features = false } -frame-system = { version = "2.0.0-rc2", default-features = false } -frame-support = { version = "2.0.0-rc2", default-features = false } -pallet-session = { version = "2.0.0-rc2", default-features = false } -pallet-timestamp = { version = "2.0.0-rc2", default-features = false } +sp-io = { version = "2.0.0-rc3", default-features = false } +sp-std = { version = "2.0.0-rc3", default-features = false } +sp-core = { version = "2.0.0-rc3", default-features = false } +sp-runtime = { version = "2.0.0-rc3", default-features = false } +sp-arithmetic = { version = "2.0.0-rc3", default-features = false } +frame-system = { version = "2.0.0-rc3", default-features = false } +frame-support = { version = "2.0.0-rc3", default-features = false } +pallet-session = { version = "2.0.0-rc3", default-features = false } +pallet-timestamp = { version = "2.0.0-rc3", default-features = false } [dev-dependencies] hex-literal = "0.2.1" -pallet-balances = { version = "2.0.0-rc2" } -sp-staking = { version = "2.0.0-rc2" } -sp-keyring = { version = "2.0.0-rc2" } +pallet-balances = { version = "2.0.0-rc3" } +sp-staking = { version = "2.0.0-rc3" } +sp-keyring = { version = "2.0.0-rc3" } plasm-primitives = { path = "../../bin/node/primitives" } [features] diff --git a/frame/plasm-rewards/Cargo.toml b/frame/plasm-rewards/Cargo.toml index 4ed0d42b2c..5b055c3498 100644 --- a/frame/plasm-rewards/Cargo.toml +++ b/frame/plasm-rewards/Cargo.toml @@ -10,22 +10,22 @@ edition = "2018" [dependencies] serde = { version = "1.0.106", optional = true } codec = { package = "parity-scale-codec", version = "1.3.0", features = ["derive"], default-features = false } -sp-runtime = { version = "2.0.0-rc2", default_features = false } -sp-arithmetic = { version = "2.0.0-rc2", default_features = false } -sp-io = { version = "2.0.0-rc2", default_features = false } -sp-std = { version = "2.0.0-rc2", default_features = false } -frame-support = { version = "2.0.0-rc2", default_features = false } -pallet-session = { version = "2.0.0-rc2", default-features = false } -frame-system = { version = "2.0.0-rc2", default_features = false } -pallet-staking = { version = "2.0.0-rc2", default_features = false } -sp-staking = { version = "2.0.0-rc2", default_features = false } +sp-runtime = { version = "2.0.0-rc3", default_features = false } +sp-arithmetic = { version = "2.0.0-rc3", default_features = false } +sp-io = { version = "2.0.0-rc3", default_features = false } +sp-std = { version = "2.0.0-rc3", default_features = false } +frame-support = { version = "2.0.0-rc3", default_features = false } +pallet-session = { version = "2.0.0-rc3", default-features = false } +frame-system = { version = "2.0.0-rc3", default_features = false } +pallet-staking = { version = "2.0.0-rc3", default_features = false } +sp-staking = { version = "2.0.0-rc3", default_features = false } [dev-dependencies] hex-literal = "0.2.1" -sp-core = "2.0.0-rc2" -pallet-balances = "2.0.0-rc2" -pallet-timestamp = "2.0.0-rc2" -pallet-randomness-collective-flip = "2.0.0-rc2" +sp-core = "2.0.0-rc3" +pallet-balances = "2.0.0-rc3" +pallet-timestamp = "2.0.0-rc3" +pallet-randomness-collective-flip = "2.0.0-rc3" [features] default = ["std"] diff --git a/frame/plasm-validator/Cargo.toml b/frame/plasm-validator/Cargo.toml index 9941e22294..e2c2bcbc66 100644 --- a/frame/plasm-validator/Cargo.toml +++ b/frame/plasm-validator/Cargo.toml @@ -11,23 +11,23 @@ edition = "2018" serde = { version = "1.0.106", optional = true } codec = { package = "parity-scale-codec", version = "1.3.0", features = ["derive"], default-features = false } -sp-core = { version = "2.0.0-rc2", default_features = false } -sp-runtime = { version = "2.0.0-rc2", default_features = false } -sp-arithmetic = { version = "2.0.0-rc2", default_features = false } -sp-io = { version = "2.0.0-rc2", default_features = false } -sp-std = { version = "2.0.0-rc2", default_features = false } -pallet-balances = { version = "2.0.0-rc2", default_features = false } -frame-support = { version = "2.0.0-rc2", default_features = false } -frame-system = { version = "2.0.0-rc2", default_features = false } -sp-staking = { version = "2.0.0-rc2", default_features = false } +sp-core = { version = "2.0.0-rc3", default_features = false } +sp-runtime = { version = "2.0.0-rc3", default_features = false } +sp-arithmetic = { version = "2.0.0-rc3", default_features = false } +sp-io = { version = "2.0.0-rc3", default_features = false } +sp-std = { version = "2.0.0-rc3", default_features = false } +pallet-balances = { version = "2.0.0-rc3", default_features = false } +frame-support = { version = "2.0.0-rc3", default_features = false } +frame-system = { version = "2.0.0-rc3", default_features = false } +sp-staking = { version = "2.0.0-rc3", default_features = false } pallet-plasm-rewards = { path = "../plasm-rewards", default_features = false } [dev-dependencies] hex-literal = "0.2.1" -pallet-timestamp = "2.0.0-rc2" -pallet-session = "2.0.0-rc2" -pallet-randomness-collective-flip = "2.0.0-rc2" +pallet-timestamp = "2.0.0-rc3" +pallet-session = "2.0.0-rc3" +pallet-randomness-collective-flip = "2.0.0-rc3" [features] default = ["std"] diff --git a/frame/plasma/Cargo.toml b/frame/plasma/Cargo.toml index c2f1689fd1..cfad934794 100644 --- a/frame/plasma/Cargo.toml +++ b/frame/plasma/Cargo.toml @@ -10,23 +10,23 @@ edition = "2018" [dependencies] serde = { version = "1.0", optional = true, features = ["derive"] } codec = { package = "parity-scale-codec", version = "1.2.0", features = ['derive'], default-features = false } -sp-core = { version = "2.0.0-rc2", default-features = false } -sp-runtime = { version = "2.0.0-rc2", default_features = false } -sp-arithmetic = { version = "2.0.0-rc2", default_features = false } -sp-io = { version = "2.0.0-rc2", default_features = false } -sp-std = { version = "2.0.0-rc2", default_features = false } -frame-support = { version = "2.0.0-rc2", default_features = false } -frame-system = { version = "2.0.0-rc2", default_features = false } +sp-core = { version = "2.0.0-rc3", default-features = false } +sp-runtime = { version = "2.0.0-rc3", default_features = false } +sp-arithmetic = { version = "2.0.0-rc3", default_features = false } +sp-io = { version = "2.0.0-rc3", default_features = false } +sp-std = { version = "2.0.0-rc3", default_features = false } +frame-support = { version = "2.0.0-rc3", default_features = false } +frame-system = { version = "2.0.0-rc3", default_features = false } pallet-ovm = { path = "../ovm", default_features = false } -pallet-contracts = { version = "2.0.0-rc2", default_features = false } +pallet-contracts = { version = "2.0.0-rc3", default_features = false } [dev-dependencies] hex-literal = "0.2.1" -sp-core = { version = "2.0.0-rc2" } -pallet-balances = "2.0.0-rc2" -pallet-timestamp = "2.0.0-rc2" -pallet-randomness-collective-flip = "2.0.0-rc2" -pallet-transaction-payment = "2.0.0-rc2" +sp-core = { version = "2.0.0-rc3" } +pallet-balances = "2.0.0-rc3" +pallet-timestamp = "2.0.0-rc3" +pallet-randomness-collective-flip = "2.0.0-rc3" +pallet-transaction-payment = "2.0.0-rc3" [features] default = ["std"] diff --git a/frame/plasma/rpc/runtime-api/Cargo.toml b/frame/plasma/rpc/runtime-api/Cargo.toml index 1113182b16..9615e183fa 100644 --- a/frame/plasma/rpc/runtime-api/Cargo.toml +++ b/frame/plasma/rpc/runtime-api/Cargo.toml @@ -9,9 +9,9 @@ repository = "https://github.com/staketechnologies/Plasm/" description = "Runtime API definition required by Plasma RPC extensions." [dependencies] -sp-api = { version = "2.0.0-rc2", default-features = false } +sp-api = { version = "2.0.0-rc3", default-features = false } codec = { package = "parity-scale-codec", version = "1.2.0", default-features = false, features = ["derive"] } -sp-std = { version = "2.0.0-rc2", default-features = false } +sp-std = { version = "2.0.0-rc3", default-features = false } [features] default = ["std"] diff --git a/frame/trading/Cargo.toml b/frame/trading/Cargo.toml index 2b433284a0..0f9484404f 100644 --- a/frame/trading/Cargo.toml +++ b/frame/trading/Cargo.toml @@ -8,14 +8,14 @@ edition = "2018" codec = { package = "parity-scale-codec", version = "1.3.0", features = ["derive"], default-features = false } serde = { version = "1.0.106", features = ["derive"], optional = true } -sp-core = { version = "2.0.0-rc2", default_features = false } -sp-runtime = { version = "2.0.0-rc2", default_features = false } -sp-io = { version = "2.0.0-rc2", default_features = false } -sp-std = { version = "2.0.0-rc2", default_features = false } -pallet-balances = { version = "2.0.0-rc2", default_features = false } -frame-support = { version = "2.0.0-rc2", default_features = false } -pallet-timestamp = { version = "2.0.0-rc2", default_features = false } -frame-system = { version = "2.0.0-rc2", default_features = false } +sp-core = { version = "2.0.0-rc3", default_features = false } +sp-runtime = { version = "2.0.0-rc3", default_features = false } +sp-io = { version = "2.0.0-rc3", default_features = false } +sp-std = { version = "2.0.0-rc3", default_features = false } +pallet-balances = { version = "2.0.0-rc3", default_features = false } +frame-support = { version = "2.0.0-rc3", default_features = false } +pallet-timestamp = { version = "2.0.0-rc3", default_features = false } +frame-system = { version = "2.0.0-rc3", default_features = false } pallet-contract-operator = { path = "../operator", default_features = false } [features] diff --git a/ovmi/lib/Cargo.toml b/ovmi/lib/Cargo.toml index 5e7f99e1f7..5760f10f75 100644 --- a/ovmi/lib/Cargo.toml +++ b/ovmi/lib/Cargo.toml @@ -16,7 +16,7 @@ hash-db = { version = "0.15", optional = true } [dev-dependencies] primitive-types = { version = "0.7" } -sp-runtime = "2.0.0-rc2" +sp-runtime = "2.0.0-rc3" hex = "0.4" [features] diff --git a/third-party/nix/release.nix b/third-party/nix/release.nix index 7ceaa0d78a..1ec6d4eef2 100644 --- a/third-party/nix/release.nix +++ b/third-party/nix/release.nix @@ -4,7 +4,7 @@ with nixpkgs; let - channel = rustChannelOf { date = "2020-05-15"; channel = "nightly"; }; + channel = rustChannelOf { date = "2020-06-01"; channel = "nightly"; }; in rec { rustWasm = channel.rust.override {