diff --git a/Cargo.lock b/Cargo.lock index 4d264974a..5b234e11f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1172,6 +1172,15 @@ dependencies = [ "zeroize", ] +[[package]] +name = "deranged" +version = "0.3.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" +dependencies = [ + "powerfmt", +] + [[package]] name = "derivative" version = "2.2.0" @@ -1550,13 +1559,13 @@ dependencies = [ [[package]] name = "frame-benchmarking" -version = "37.0.0" +version = "38.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48554572bd164ee905a6ff3378e46c2101610fd2ffe3110875a6503a240fb3d7" +checksum = "a01bdd47c2d541b38bd892da647d1e972c9d85b4ecd7094ad64f7600175da54d" dependencies = [ - "frame-support", + "frame-support 38.0.0", "frame-support-procedural", - "frame-system", + "frame-system 38.0.0", "linregress", "log", "parity-scale-codec", @@ -1592,8 +1601,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "772f6843543fea5d5083f8f7fe714632f6ab7a230a0a805ccc669e97330494a2" dependencies = [ "frame-election-provider-solution-type", - "frame-support", - "frame-system", + "frame-support 37.0.0", + "frame-system 37.1.0", + "parity-scale-codec", + "scale-info", + "sp-arithmetic 26.0.0", + "sp-core 34.0.0", + "sp-npos-elections", + "sp-runtime 39.0.2", +] + +[[package]] +name = "frame-election-provider-support" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c36f5116192c63d39f1b4556fa30ac7db5a6a52575fa241b045f7dfa82ecc2be" +dependencies = [ + "frame-election-provider-solution-type", + "frame-support 38.0.0", + "frame-system 38.0.0", "parity-scale-codec", "scale-info", "sp-arithmetic 26.0.0", @@ -1658,10 +1684,52 @@ dependencies = [ "sp-io 38.0.0", "sp-metadata-ir", "sp-runtime 39.0.2", - "sp-staking", + "sp-staking 34.0.0", + "sp-state-machine 0.43.0", + "sp-std", + "sp-tracing 17.0.1", + "sp-weights 31.0.0", + "static_assertions", + "tt-call", +] + +[[package]] +name = "frame-support" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e44af69fa61bc5005ffe0339e198957e77f0f255704a9bee720da18a733e3dc" +dependencies = [ + "aquamarine", + "array-bytes", + "bitflags 1.3.2", + "docify", + "environmental", + "frame-metadata 16.0.0", + "frame-support-procedural", + "impl-trait-for-tuples", + "k256", + "log", + "macro_magic", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "serde_json", + "smallvec", + "sp-api", + "sp-arithmetic 26.0.0", + "sp-core 34.0.0", + "sp-crypto-hashing-proc-macro", + "sp-debug-derive", + "sp-genesis-builder", + "sp-inherents", + "sp-io 38.0.0", + "sp-metadata-ir", + "sp-runtime 39.0.2", + "sp-staking 36.0.0", "sp-state-machine 0.43.0", "sp-std", - "sp-tracing 17.0.0", + "sp-tracing 17.0.1", "sp-weights 31.0.0", "static_assertions", "tt-call", @@ -1669,9 +1737,9 @@ dependencies = [ [[package]] name = "frame-support-procedural" -version = "30.0.2" +version = "30.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e4662a809f559aea6234bd90940fa29df583a3c8124a3cf923f66a0d21126b7" +checksum = "5e8f9b6bc1517a6fcbf0b2377e5c8c6d39f5bb7862b191a59a9992081d63972d" dependencies = [ "Inflector", "cfg-expr", @@ -1719,7 +1787,28 @@ checksum = "043790fff021477061b207fd6b33743793b63fc64a583358956787229d039717" dependencies = [ "cfg-if", "docify", - "frame-support", + "frame-support 37.0.0", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 34.0.0", + "sp-io 38.0.0", + "sp-runtime 39.0.2", + "sp-std", + "sp-version", + "sp-weights 31.0.0", +] + +[[package]] +name = "frame-system" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3c7fa02f8c305496d2ae52edaecdb9d165f11afa965e05686d7d7dd1ce93611" +dependencies = [ + "cfg-if", + "docify", + "frame-support 38.0.0", "log", "parity-scale-codec", "scale-info", @@ -2905,6 +2994,12 @@ dependencies = [ "num-traits", ] +[[package]] +name = "num-conv" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" + [[package]] name = "num-format" version = "0.4.4" @@ -3001,14 +3096,14 @@ checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" [[package]] name = "pallet-election-provider-multi-phase" -version = "36.0.0" +version = "37.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b02a05136d6c5b46fc4963232ffc2069d444100c79fa524627b307fcaea78cd2" +checksum = "62f9ad5ae0c13ba3727183dadf1825b6b7b0b0598ed5c366f8697e13fd540f7d" dependencies = [ "frame-benchmarking", - "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-election-provider-support 38.0.0", + "frame-support 38.0.0", + "frame-system 38.0.0", "log", "pallet-election-provider-support-benchmarking", "parity-scale-codec", @@ -3024,13 +3119,13 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" -version = "36.0.0" +version = "37.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd65dad4b4de7ec4b0d1631d1e8ad8766eaaa0ab4e871ec6c73a1e894c68afc9" +checksum = "d4111d0d27545c260c9dd0d6fc504961db59c1ec4b42e1bcdc28ebd478895c22" dependencies = [ "frame-benchmarking", - "frame-election-provider-support", - "frame-system", + "frame-election-provider-support 38.0.0", + "frame-system 38.0.0", "parity-scale-codec", "sp-npos-elections", "sp-runtime 39.0.2", @@ -3204,8 +3299,8 @@ dependencies = [ "anyhow", "assert_cmd", "clap", - "frame-election-provider-support", - "frame-support", + "frame-election-provider-support 37.0.0", + "frame-support 37.0.0", "futures", "hyper", "jsonrpsee 0.22.5", @@ -3329,6 +3424,12 @@ dependencies = [ "universal-hash", ] +[[package]] +name = "powerfmt" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" + [[package]] name = "ppv-lite86" version = "0.2.20" @@ -4741,9 +4842,9 @@ dependencies = [ [[package]] name = "sp-genesis-builder" -version = "0.15.0" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "182812315871732372325f0ad42bb8b85a093a06dd77ae1eec997259f4c32aef" +checksum = "32a646ed222fd86d5680faa4a8967980eb32f644cae6c8523e1c689a6deda3e8" dependencies = [ "parity-scale-codec", "scale-info", @@ -4814,7 +4915,7 @@ dependencies = [ "sp-keystore 0.40.0", "sp-runtime-interface 28.0.0", "sp-state-machine 0.43.0", - "sp-tracing 17.0.0", + "sp-tracing 17.0.1", "sp-trie 37.0.0", "tracing", "tracing-core", @@ -4967,7 +5068,7 @@ dependencies = [ "sp-runtime-interface-proc-macro", "sp-std", "sp-storage 21.0.0", - "sp-tracing 17.0.0", + "sp-tracing 17.0.1", "sp-wasm-interface 21.0.0", "static_assertions", ] @@ -5000,6 +5101,20 @@ dependencies = [ "sp-runtime 39.0.2", ] +[[package]] +name = "sp-staking" +version = "36.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a73eedb4b85f4cd420d31764827546aa22f82ce1646d0fd258993d051de7a90" +dependencies = [ + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 34.0.0", + "sp-runtime 39.0.2", +] + [[package]] name = "sp-state-machine" version = "0.38.0" @@ -5091,14 +5206,14 @@ dependencies = [ [[package]] name = "sp-tracing" -version = "17.0.0" +version = "17.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90b3decf116db9f1dfaf1f1597096b043d0e12c952d3bcdc018c6d6b77deec7e" +checksum = "cf641a1d17268c8fcfdb8e0fa51a79c2d4222f4cfda5f3944dbdbc384dced8d5" dependencies = [ "parity-scale-codec", "tracing", "tracing-core", - "tracing-subscriber 0.2.25", + "tracing-subscriber 0.3.18", ] [[package]] @@ -5555,6 +5670,37 @@ dependencies = [ "once_cell", ] +[[package]] +name = "time" +version = "0.3.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" +dependencies = [ + "deranged", + "itoa", + "num-conv", + "powerfmt", + "serde", + "time-core", + "time-macros", +] + +[[package]] +name = "time-core" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" + +[[package]] +name = "time-macros" +version = "0.2.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" +dependencies = [ + "num-conv", + "time-core", +] + [[package]] name = "tiny-keccak" version = "2.0.2" @@ -5836,6 +5982,7 @@ dependencies = [ "sharded-slab", "smallvec", "thread_local", + "time", "tracing", "tracing-core", "tracing-log 0.2.0", diff --git a/Cargo.toml b/Cargo.toml index 59e44d00c..cc3e5e797 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,7 +29,7 @@ subxt = { version = "0.37.0", features = ["substrate-compat"] } # polkadot-sdk frame-election-provider-support = "37.0.0" -pallet-election-provider-multi-phase = "36.0.0" +pallet-election-provider-multi-phase = "37.0.0" sp-npos-elections = "34.0.0" frame-support = "37.0.0" sp-runtime = "39.0.2"