diff --git a/Cargo.lock b/Cargo.lock index cdef5c32b..b915ab4bb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -23,11 +23,11 @@ dependencies = [ [[package]] name = "addr2line" -version = "0.20.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4fa78e18c64fce05e902adecd7a5eed15a5e0a3439f7b0e169f0252214865e3" +checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" dependencies = [ - "gimli 0.27.3", + "gimli 0.28.0", ] [[package]] @@ -158,11 +158,23 @@ dependencies = [ "version_check", ] +[[package]] +name = "ahash" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" +dependencies = [ + "cfg-if", + "getrandom 0.2.10", + "once_cell", + "version_check", +] + [[package]] name = "aho-corasick" -version = "1.0.2" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43f6cb1bf222025340178f382c426f13757b2960e89779dfcb319c32542a5a41" +checksum = "6748e8def348ed4d14996fa801f4122cd763fff530258cdc03f64b25f89d3a5a" dependencies = [ "memchr", ] @@ -199,24 +211,23 @@ dependencies = [ [[package]] name = "anstream" -version = "0.3.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163" +checksum = "b1f58811cfac344940f1a400b6e6231ce35171f614f26439e80f8c1465c5cc0c" dependencies = [ "anstyle", "anstyle-parse", "anstyle-query", "anstyle-wincon", "colorchoice", - "is-terminal", "utf8parse", ] [[package]] name = "anstyle" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a30da5c5f2d5e72842e00bcb57657162cdabef0931f40e2deb9b4140440cecd" +checksum = "15c4c2c83f81532e5845a733998b6971faca23490340a418e9b72a3ec9de12ea" [[package]] name = "anstyle-parse" @@ -238,9 +249,9 @@ dependencies = [ [[package]] name = "anstyle-wincon" -version = "1.0.1" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "180abfa45703aebe0093f79badacc01b8fd4ea2e35118747e5811127f926e188" +checksum = "58f54d10c6dfa51283a066ceab3ec1ab78d13fae00aa49243a45e4571fb79dfd" dependencies = [ "anstyle", "windows-sys 0.48.0", @@ -248,9 +259,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.72" +version = "1.0.75" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b13c32d80ecc7ab747b80c3784bce54ee8a7a0cc4fbda9bf4cda2cf6fe90854" +checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6" [[package]] name = "approx" @@ -319,7 +330,7 @@ dependencies = [ "num-traits", "rusticata-macros", "thiserror", - "time 0.3.24", + "time 0.3.27", ] [[package]] @@ -335,7 +346,7 @@ dependencies = [ "num-traits", "rusticata-macros", "thiserror", - "time 0.3.24", + "time 0.3.27", ] [[package]] @@ -407,22 +418,22 @@ dependencies = [ [[package]] name = "async-lock" -version = "2.7.0" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa24f727524730b077666307f2734b4a1a1c57acb79193127dcc8914d5242dd7" +checksum = "287272293e9d8c41773cec55e365490fe034813a2f172f502d6ddcf75b2f582b" dependencies = [ "event-listener", ] [[package]] name = "async-trait" -version = "0.1.72" +version = "0.1.73" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc6dde6e4ed435a4c1ee4e73592f5ba9da2151af10076cc04858746af9352d09" +checksum = "bc00ceb34980c03614e35a3a4e218276a0a824e911d07651cd0d858a51e8c0f0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.29", ] [[package]] @@ -435,7 +446,7 @@ dependencies = [ "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.10", + "pin-project-lite 0.2.12", ] [[package]] @@ -463,16 +474,16 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "backtrace" -version = "0.3.68" +version = "0.3.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4319208da049c43661739c5fade2ba182f09d1dc2299b32298d3a31692b17e12" +checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" dependencies = [ - "addr2line 0.20.0", + "addr2line 0.21.0", "cc", "cfg-if", "libc", "miniz_oxide", - "object 0.31.1", + "object 0.32.0", "rustc-demangle", ] @@ -625,7 +636,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "array-bytes 4.2.0", "async-trait", @@ -659,7 +670,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "beefy-gadget", "futures 0.3.28", @@ -678,7 +689,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "sp-api", "sp-beefy", @@ -722,9 +733,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.3.3" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "630be753d4e58660abd17930c71b647fe46c27ea6b63cc59e1e3851406972e42" +checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635" [[package]] name = "bitvec" @@ -946,9 +957,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.80" +version = "1.0.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51f1226cd9da55587234753d1245dd5b132343ea240f26b6a9003d68706141ba" +checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" dependencies = [ "jobserver", "libc", @@ -1098,9 +1109,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.3.19" +version = "4.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fd304a20bff958a57f04c4e96a2e7594cc4490a0e809cbd48bb6437edaa452d" +checksum = "1d5f1946157a96594eb2d2c10eb7ad9a2b27518cb3000209dec700c35df9197d" dependencies = [ "clap_builder", "clap_derive", @@ -1109,9 +1120,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.3.19" +version = "4.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01c6a3f08f1fe5662a35cfe393aec09c4df95f60ee93b7556505260f75eee9e1" +checksum = "78116e32a042dd73c2901f0dc30790d20ff3447f3e3472fad359e8c3d282bcd6" dependencies = [ "anstream", "anstyle", @@ -1121,21 +1132,21 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.3.12" +version = "4.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54a9bb5758fc5dfe728d1019941681eccaf0cf8a4189b692a0ee2f2ecf90a050" +checksum = "c9fd1a5729c4548118d7d70ff234a44868d00489a4b6597b0b020918a0e91a1a" dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.29", ] [[package]] name = "clap_lex" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" +checksum = "cd7cc57abe963c6d3b9d8be5b06ba7c8957a930305ca90304f24ef040aa6f961" [[package]] name = "coarsetime" @@ -1223,9 +1234,9 @@ dependencies = [ [[package]] name = "const-oid" -version = "0.9.4" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "795bc6e66a8e340f075fcf6227e417a2dc976b92b91f3cdc778bb858778b6747" +checksum = "28c122c3980598d243d63d9a704629a2d748d101f278052ff068be5a4423ab6f" [[package]] name = "constant_time_eq" @@ -1543,7 +1554,7 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" dependencies = [ "clap", "parity-scale-codec", @@ -1558,7 +1569,7 @@ dependencies = [ [[package]] name = "cumulus-client-collator" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -1581,7 +1592,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -1604,7 +1615,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-relay-chain" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -1627,7 +1638,7 @@ dependencies = [ [[package]] name = "cumulus-client-network" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -1650,7 +1661,7 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" dependencies = [ "cumulus-primitives-core", "cumulus-relay-chain-interface", @@ -1665,7 +1676,7 @@ dependencies = [ "sc-client-api", "sc-consensus", "sp-consensus", - "sp-maybe-compressed-blob", + "sp-maybe-compressed-blob 4.1.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38)", "sp-runtime", "tracing", ] @@ -1673,7 +1684,7 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -1701,7 +1712,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1718,7 +1729,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -1741,12 +1752,13 @@ dependencies = [ "sp-std", "sp-trie", "sp-version", + "xcm", ] [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -1757,7 +1769,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1773,7 +1785,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -1781,8 +1793,10 @@ dependencies = [ "frame-system", "log", "parity-scale-codec", + "polkadot-runtime-common", "rand_chacha 0.3.1", "scale-info", + "sp-io", "sp-runtime", "sp-std", "xcm", @@ -1792,7 +1806,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -1802,12 +1816,13 @@ dependencies = [ "sp-runtime", "sp-std", "sp-trie", + "xcm", ] [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1830,7 +1845,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" dependencies = [ "cumulus-primitives-core", "futures 0.3.28", @@ -1843,12 +1858,14 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" dependencies = [ "cumulus-primitives-core", "frame-support", "log", "parity-scale-codec", + "polkadot-runtime-common", + "sp-io", "sp-runtime", "sp-std", "xcm", @@ -1859,7 +1876,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1884,7 +1901,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1892,7 +1909,6 @@ dependencies = [ "jsonrpsee-core", "parity-scale-codec", "polkadot-overseer", - "polkadot-service", "sc-client-api", "sp-api", "sp-blockchain", @@ -1904,7 +1920,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-minimal-node" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" dependencies = [ "array-bytes 6.1.0", "async-trait", @@ -1912,9 +1928,9 @@ dependencies = [ "cumulus-relay-chain-interface", "cumulus-relay-chain-rpc-interface", "futures 0.3.28", - "lru", + "lru 0.9.0", "polkadot-core-primitives", - "polkadot-network-bridge 0.9.37 (git+https://github.com/paritytech/polkadot?branch=release-v0.9.37)", + "polkadot-network-bridge 0.9.38 (git+https://github.com/paritytech/polkadot?branch=release-v0.9.38)", "polkadot-node-network-protocol", "polkadot-node-subsystem-util", "polkadot-overseer", @@ -1944,7 +1960,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-rpc-interface" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1952,7 +1968,7 @@ dependencies = [ "futures 0.3.28", "futures-timer", "jsonrpsee", - "lru", + "lru 0.9.0", "parity-scale-codec", "polkadot-service", "sc-client-api", @@ -1973,7 +1989,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -2011,23 +2027,37 @@ dependencies = [ [[package]] name = "curve25519-dalek" -version = "4.0.0-rc.1" +version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d4ba9852b42210c7538b75484f9daa0655e9a3ac04f693747bb0f02cf3cfe16" +checksum = "f711ade317dd348950a9910f81c5947e3d8907ebd2b83f76203ff1807e6a2bc2" dependencies = [ "cfg-if", + "cpufeatures", + "curve25519-dalek-derive", + "digest 0.10.7", "fiat-crypto", - "packed_simd_2", "platforms 3.0.2", + "rustc_version 0.4.0", "subtle", "zeroize", ] +[[package]] +name = "curve25519-dalek-derive" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83fdaf97f4804dcebfa5862639bc9ce4121e82140bec2a987ac5140294865b5b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.29", +] + [[package]] name = "cxx" -version = "1.0.102" +version = "1.0.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f68e12e817cb19eaab81aaec582b4052d07debd3c3c6b083b9d361db47c7dc9d" +checksum = "28403c86fc49e3401fdf45499ba37fad6493d9329449d6449d7f0e10f4654d28" dependencies = [ "cc", "cxxbridge-flags", @@ -2037,9 +2067,9 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.102" +version = "1.0.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e789217e4ab7cf8cc9ce82253180a9fe331f35f5d339f0ccfe0270b39433f397" +checksum = "78da94fef01786dc3e0c76eafcd187abcaa9972c78e05ff4041e24fdf059c285" dependencies = [ "cc", "codespan-reporting", @@ -2047,24 +2077,24 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.28", + "syn 2.0.29", ] [[package]] name = "cxxbridge-flags" -version = "1.0.102" +version = "1.0.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78a19f4c80fd9ab6c882286fa865e92e07688f4387370a209508014ead8751d0" +checksum = "e2a6f5e1dfb4b34292ad4ea1facbfdaa1824705b231610087b00b17008641809" [[package]] name = "cxxbridge-macro" -version = "1.0.102" +version = "1.0.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8fcfa71f66c8563c4fa9dd2bb68368d50267856f831ac5d85367e0805f9606c" +checksum = "50c49547d73ba8dcfd4ad7325d64c6d5391ff4224d498fc39a6f3f49825a530d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.29", ] [[package]] @@ -2139,6 +2169,16 @@ dependencies = [ "zeroize", ] +[[package]] +name = "der" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fffa369a668c8af7dbf8b5e56c9f744fbd399949ed171606040001947de40b1c" +dependencies = [ + "const-oid", + "zeroize", +] + [[package]] name = "der-parser" version = "7.0.0" @@ -2169,9 +2209,9 @@ dependencies = [ [[package]] name = "deranged" -version = "0.3.6" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8810e7e2cf385b1e9b50d68264908ec367ba642c96d02edfe61c39e88e2a3c01" +checksum = "f2696e8a945f658fd14dc3b87242e6b80cd0f36ff04ea560fa39082368847946" [[package]] name = "derivative" @@ -2184,6 +2224,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "derive-syn-parse" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e79116f119dd1dba1abf1f3405f03b9b0e79a27a3883864bfebded8a3dc768cd" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "derive_arbitrary" version = "1.3.1" @@ -2192,7 +2243,7 @@ checksum = "53e0efad4403bfc52dc201159c4b842a246a14b98c64b55dfd0f2d89729dfeb8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.29", ] [[package]] @@ -2323,7 +2374,7 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.29", ] [[package]] @@ -2367,9 +2418,9 @@ dependencies = [ [[package]] name = "dyn-clone" -version = "1.0.12" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "304e6508efa593091e97a9abbc10f90aa7ca635b6d2784feff3c89d41dd12272" +checksum = "bbfc4744c1b8f2a09adc0e55242f60b1af195d88596bd8700be74418c056c555" [[package]] name = "ecdsa" @@ -2377,10 +2428,10 @@ version = "0.14.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c" dependencies = [ - "der", + "der 0.6.1", "elliptic-curve", "rfc6979", - "signature", + "signature 1.6.4", ] [[package]] @@ -2389,7 +2440,17 @@ version = "1.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "91cff35c70bba8a626e3185d8cd48cc11b5437e1a5bcd15b9b5fa3c64b6dfee7" dependencies = [ - "signature", + "signature 1.6.4", +] + +[[package]] +name = "ed25519" +version = "2.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60f6d271ca33075c88028be6f04d502853d63a5ece419d269c15315d4fc1cf1d" +dependencies = [ + "pkcs8 0.10.2", + "signature 2.1.0", ] [[package]] @@ -2399,13 +2460,27 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" dependencies = [ "curve25519-dalek 3.2.0", - "ed25519", + "ed25519 1.5.3", "rand 0.7.3", "serde", "sha2 0.9.9", "zeroize", ] +[[package]] +name = "ed25519-dalek" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7277392b266383ef8396db7fdeb1e77b6c52fed775f5df15bb24f35b72156980" +dependencies = [ + "curve25519-dalek 4.0.0", + "ed25519 2.2.2", + "rand_core 0.6.4", + "serde", + "sha2 0.10.7", + "zeroize", +] + [[package]] name = "ed25519-zebra" version = "3.1.0" @@ -2434,14 +2509,14 @@ checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3" dependencies = [ "base16ct", "crypto-bigint", - "der", + "der 0.6.1", "digest 0.10.7", "ff", "generic-array 0.14.7", "group", "hkdf", "pem-rfc7468", - "pkcs8", + "pkcs8 0.9.0", "rand_core 0.6.4", "sec1", "subtle", @@ -2477,7 +2552,7 @@ checksum = "5e9a1f9f7d83e59740248a6e14ecf93929ade55027844dfcea78beafccc15745" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.29", ] [[package]] @@ -2488,7 +2563,7 @@ checksum = "b893c4eb2dc092c811165f84dc7447fae16fb66521717968c34c509b39b1a5c5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.29", ] [[package]] @@ -2690,13 +2765,13 @@ dependencies = [ [[package]] name = "filetime" -version = "0.2.21" +version = "0.2.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cbc844cecaee9d4443931972e1289c8ff485cb4cc2767cb03ca139ed6885153" +checksum = "d4029edd3e734da6fe05b6cd7bd2960760a616bd2ddd0d59a0124746d6272af0" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.2.16", + "redox_syscall 0.3.5", "windows-sys 0.48.0", ] @@ -2736,9 +2811,9 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "flate2" -version = "1.0.26" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b9429470923de8e8cbd4d2dc513535400b4b3fef0319fb5c4e1f520a7bef743" +checksum = "c6c98ee8095e9d1dcbf2fcc6d95acccb90d1c81db1e44725c6a984b1dbdfb010" dependencies = [ "crc32fast", "libz-sys", @@ -2763,7 +2838,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "parity-scale-codec", ] @@ -2786,9 +2861,10 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-support", + "frame-support-procedural", "frame-system", "linregress", "log", @@ -2804,12 +2880,13 @@ dependencies = [ "sp-runtime-interface", "sp-std", "sp-storage", + "static_assertions", ] [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "Inflector", "array-bytes 4.2.0", @@ -2856,7 +2933,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2867,7 +2944,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2884,7 +2961,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-support", "frame-system", @@ -2913,7 +2990,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "futures 0.3.28", "log", @@ -2929,7 +3006,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "bitflags 1.3.2", "frame-metadata", @@ -2961,10 +3038,11 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "Inflector", "cfg-expr", + "derive-syn-parse", "frame-support-procedural-tools", "itertools", "proc-macro2", @@ -2975,7 +3053,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2987,7 +3065,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "proc-macro2", "quote", @@ -2997,7 +3075,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-support", "log", @@ -3015,7 +3093,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -3030,7 +3108,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "parity-scale-codec", "sp-api", @@ -3039,7 +3117,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-support", "parity-scale-codec", @@ -3136,7 +3214,7 @@ dependencies = [ "futures-io", "memchr", "parking", - "pin-project-lite 0.2.10", + "pin-project-lite 0.2.12", "waker-fn", ] @@ -3148,7 +3226,7 @@ checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.29", ] [[package]] @@ -3194,7 +3272,7 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project-lite 0.2.10", + "pin-project-lite 0.2.12", "pin-utils", "slab", ] @@ -3292,9 +3370,9 @@ dependencies = [ [[package]] name = "gimli" -version = "0.27.3" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" +checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" [[package]] name = "glob" @@ -3304,9 +3382,9 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" [[package]] name = "globset" -version = "0.4.12" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aca8bbd8e0707c1887a8bbb7e6b40e228f251ff5d62c8220a4a7a53c73aff006" +checksum = "759c97c1e17c55525b57192c06a267cda0ac5210b222d6b82189a2338fa1c13d" dependencies = [ "aho-corasick", "bstr", @@ -3328,9 +3406,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.20" +version = "0.3.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97ec8491ebaf99c8eaa73058b045fe58073cd6be7f596ac993ced0b0a0c01049" +checksum = "91fc23aa11be92976ef4729127f1a74adf36d8436f7816b185d18df956790833" dependencies = [ "bytes", "fnv", @@ -3380,7 +3458,16 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" dependencies = [ - "ahash", + "ahash 0.7.6", +] + +[[package]] +name = "hashbrown" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" +dependencies = [ + "ahash 0.8.3", ] [[package]] @@ -3501,7 +3588,7 @@ checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ "bytes", "http", - "pin-project-lite 0.2.10", + "pin-project-lite 0.2.12", ] [[package]] @@ -3518,9 +3605,9 @@ checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" [[package]] name = "httpdate" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" +checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" [[package]] name = "humantime" @@ -3544,7 +3631,7 @@ dependencies = [ "httparse", "httpdate", "itoa", - "pin-project-lite 0.2.10", + "pin-project-lite 0.2.12", "socket2 0.4.9", "tokio", "tower-service", @@ -3564,7 +3651,7 @@ dependencies = [ "rustls 0.20.8", "rustls-native-certs", "tokio", - "tokio-rustls", + "tokio-rustls 0.23.4", ] [[package]] @@ -3802,7 +3889,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" dependencies = [ "hermit-abi 0.3.2", - "rustix 0.38.4", + "rustix 0.38.8", "windows-sys 0.48.0", ] @@ -3841,9 +3928,9 @@ dependencies = [ [[package]] name = "jsonrpsee" -version = "0.16.2" +version = "0.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d291e3a5818a2384645fd9756362e6d89cf0541b0b916fa7702ea4a9833608e" +checksum = "367a292944c07385839818bb71c8d76611138e2dedb0677d035b8da21d29c78b" dependencies = [ "jsonrpsee-core", "jsonrpsee-proc-macros", @@ -3855,9 +3942,9 @@ dependencies = [ [[package]] name = "jsonrpsee-client-transport" -version = "0.16.2" +version = "0.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "965de52763f2004bc91ac5bcec504192440f0b568a5d621c59d9dbd6f886c3fb" +checksum = "c8b3815d9f5d5de348e5f162b316dc9cdf4548305ebb15b4eb9328e66cf27d7a" dependencies = [ "futures-util", "http", @@ -3868,17 +3955,17 @@ dependencies = [ "soketto", "thiserror", "tokio", - "tokio-rustls", + "tokio-rustls 0.24.1", "tokio-util", "tracing", - "webpki-roots", + "webpki-roots 0.25.2", ] [[package]] name = "jsonrpsee-core" -version = "0.16.2" +version = "0.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4e70b4439a751a5de7dd5ed55eacff78ebf4ffe0fc009cb1ebb11417f5b536b" +checksum = "2b5dde66c53d6dcdc8caea1874a45632ec0fcf5b437789f1e45766a1512ce803" dependencies = [ "anyhow", "arrayvec 0.7.4", @@ -3904,9 +3991,9 @@ dependencies = [ [[package]] name = "jsonrpsee-proc-macros" -version = "0.16.2" +version = "0.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baa6da1e4199c10d7b1d0a6e5e8bd8e55f351163b6f4b3cbb044672a69bd4c1c" +checksum = "44e8ab85614a08792b9bff6c8feee23be78c98d0182d4c622c05256ab553892a" dependencies = [ "heck", "proc-macro-crate", @@ -3917,9 +4004,9 @@ dependencies = [ [[package]] name = "jsonrpsee-server" -version = "0.16.2" +version = "0.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fb69dad85df79527c019659a992498d03f8495390496da2f07e6c24c2b356fc" +checksum = "cf4d945a6008c9b03db3354fb3c83ee02d2faa9f2e755ec1dfb69c3551b8f4ba" dependencies = [ "futures-channel", "futures-util", @@ -3939,9 +4026,9 @@ dependencies = [ [[package]] name = "jsonrpsee-types" -version = "0.16.2" +version = "0.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bd522fe1ce3702fd94812965d7bb7a3364b1c9aba743944c5a00529aae80f8c" +checksum = "245ba8e5aa633dd1c1e4fae72bce06e71f42d34c14a2767c6b4d173b57bee5e5" dependencies = [ "anyhow", "beef", @@ -3953,9 +4040,9 @@ dependencies = [ [[package]] name = "jsonrpsee-ws-client" -version = "0.16.2" +version = "0.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b83daeecfc6517cfe210df24e570fb06213533dfb990318fae781f4c7119dd9" +checksum = "4e1b3975ed5d73f456478681a417128597acd6a2487855fdb7b4a3d4d195bf5e" dependencies = [ "http", "jsonrpsee-client-transport", @@ -3986,8 +4073,8 @@ dependencies = [ [[package]] name = "kusama-runtime" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "bitvec", "frame-benchmarking", @@ -4083,8 +4170,8 @@ dependencies = [ [[package]] name = "kusama-runtime-constants" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "frame-support", "polkadot-primitives", @@ -4148,9 +4235,9 @@ checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" [[package]] name = "libfuzzer-sys" -version = "0.4.6" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "beb09950ae85a0a94b27676cccf37da5ff13f27076aa1adbc6545dd0d0e1bd4e" +checksum = "a96cfd5557eb82f2b83fed4955246c988d331975a002961b07c81584d107e7f7" dependencies = [ "arbitrary", "cc", @@ -4167,12 +4254,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "libm" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fc7aa29613bd6a620df431842069224d8bc9011086b1db4c0e0cd47fa03ec9a" - [[package]] name = "libm" version = "0.2.7" @@ -4221,7 +4302,7 @@ checksum = "b6a8fcd392ff67af6cc3f03b1426c41f7f26b6b9aff2dc632c1c56dd649e571f" dependencies = [ "asn1_der", "bs58", - "ed25519-dalek", + "ed25519-dalek 1.0.1", "either", "fnv", "futures 0.3.28", @@ -4301,7 +4382,7 @@ dependencies = [ "libp2p-core 0.38.0", "libp2p-swarm", "log", - "lru", + "lru 0.8.1", "prost", "prost-build", "prost-codec", @@ -4312,12 +4393,12 @@ dependencies = [ [[package]] name = "libp2p-identity" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e2d584751cecb2aabaa56106be6be91338a60a0f4e420cf2af639204f596fc1" +checksum = "276bb57e7af15d8f100d3c11cbdd32c6752b7eef4ba7a18ecf464972c07abcce" dependencies = [ "bs58", - "ed25519-dalek", + "ed25519-dalek 2.0.0", "log", "multiaddr 0.17.1", "multihash 0.17.0", @@ -4615,7 +4696,7 @@ dependencies = [ "rw-stream-sink", "soketto", "url", - "webpki-roots", + "webpki-roots 0.22.6", ] [[package]] @@ -4770,9 +4851,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.19" +version = "0.4.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4" +checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" [[package]] name = "lru" @@ -4783,6 +4864,15 @@ dependencies = [ "hashbrown 0.12.3", ] +[[package]] +name = "lru" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71e7d46de488603ffdd5f30afbc64fbba2378214a2c3a2fb83abf3d33126df17" +dependencies = [ + "hashbrown 0.13.2", +] + [[package]] name = "lru-cache" version = "0.1.2" @@ -4894,6 +4984,15 @@ dependencies = [ "autocfg", ] +[[package]] +name = "memoffset" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4" +dependencies = [ + "autocfg", +] + [[package]] name = "memoffset" version = "0.9.0" @@ -4971,7 +5070,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "futures 0.3.28", "log", @@ -4990,7 +5089,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "anyhow", "jsonrpsee", @@ -5033,7 +5132,7 @@ dependencies = [ [[package]] name = "moonbeam-vrf" version = "0.1.0" -source = "git+https://github.com/zeitgeistpm/moonbeam?branch=polkadot-v0.9.37-use-paritytech-dependencies-bench-fix#4bfc6efcf614266927e92c1b64b0ef8a322426c6" +source = "git+https://github.com/zeitgeistpm/moonbeam?branch=polkadot-v0.9.38-use-paritytech-dependencies#286d43904f4e8fe5f114731e0c20fcca052a30e3" dependencies = [ "nimbus-primitives", "parity-scale-codec", @@ -5276,7 +5375,7 @@ dependencies = [ [[package]] name = "nimbus-consensus" version = "0.9.0" -source = "git+https://github.com/zeitgeistpm/nimbus?branch=polkadot-v0.9.37-use-paritytech-dependencies#908bad91acfd3bf1c161ddd5a5ba251767e9f440" +source = "git+https://github.com/zeitgeistpm/nimbus?branch=polkadot-v0.9.38-use-paritytech-dependencies#1c8ba39b656ec708bf7153a79987eba6e72ef9d6" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -5307,7 +5406,7 @@ dependencies = [ [[package]] name = "nimbus-primitives" version = "0.9.0" -source = "git+https://github.com/zeitgeistpm/nimbus?branch=polkadot-v0.9.37-use-paritytech-dependencies#908bad91acfd3bf1c161ddd5a5ba251767e9f440" +source = "git+https://github.com/zeitgeistpm/nimbus?branch=polkadot-v0.9.38-use-paritytech-dependencies#1c8ba39b656ec708bf7153a79987eba6e72ef9d6" dependencies = [ "async-trait", "frame-benchmarking", @@ -5334,6 +5433,20 @@ dependencies = [ "memoffset 0.6.5", ] +[[package]] +name = "nix" +version = "0.26.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfdda3d196821d6af13126e40375cdf7da646a96114af134d5f417a9a1dc8e1a" +dependencies = [ + "bitflags 1.3.2", + "cfg-if", + "libc", + "memoffset 0.7.1", + "pin-utils", + "static_assertions", +] + [[package]] name = "nohash-hasher" version = "0.2.0" @@ -5358,9 +5471,9 @@ checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" [[package]] name = "num-bigint" -version = "0.4.3" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f93ab6289c7b344a8a9f60f88d80aa20032336fe78da341afc91c8a2341fc75f" +checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" dependencies = [ "autocfg", "num-integer", @@ -5369,9 +5482,9 @@ dependencies = [ [[package]] name = "num-complex" -version = "0.4.3" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02e0d21255c828d6f128a1e41534206671e8c3ea0c62f32291e808dc82cff17d" +checksum = "1ba157ca0885411de85d6ca030ba7e2a83a28636056c7c699b07c8b6f7383214" dependencies = [ "num-traits", ] @@ -5415,7 +5528,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f30b0abd723be7e2ffca1272140fac1a2f084c77ec3e123c192b66af1ee9e6c2" dependencies = [ "autocfg", - "libm 0.2.7", + "libm", ] [[package]] @@ -5442,9 +5555,9 @@ dependencies = [ [[package]] name = "object" -version = "0.31.1" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bda667d9f2b5051b8833f59f3bf748b28ef54f850f4fcb389a252aa383866d1" +checksum = "77ac5bbd07aea88c60a577a1ce218075ffd59208b2d7ca97adf9bfc5aeb21ebe" dependencies = [ "memchr", ] @@ -5535,7 +5648,7 @@ dependencies = [ [[package]] name = "orml-asset-registry" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.37#16b6c1149a15674d21c87244b7988a667e2c14d9" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" dependencies = [ "frame-support", "frame-system", @@ -5554,7 +5667,7 @@ dependencies = [ [[package]] name = "orml-benchmarking" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.37#16b6c1149a15674d21c87244b7988a667e2c14d9" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5574,7 +5687,7 @@ dependencies = [ [[package]] name = "orml-currencies" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.37#16b6c1149a15674d21c87244b7988a667e2c14d9" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" dependencies = [ "frame-support", "frame-system", @@ -5591,7 +5704,7 @@ dependencies = [ [[package]] name = "orml-tokens" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.37#16b6c1149a15674d21c87244b7988a667e2c14d9" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" dependencies = [ "frame-support", "frame-system", @@ -5606,7 +5719,7 @@ dependencies = [ [[package]] name = "orml-traits" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.37#16b6c1149a15674d21c87244b7988a667e2c14d9" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -5615,6 +5728,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", + "sp-core", "sp-io", "sp-runtime", "sp-std", @@ -5624,7 +5738,7 @@ dependencies = [ [[package]] name = "orml-unknown-tokens" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.37#16b6c1149a15674d21c87244b7988a667e2c14d9" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" dependencies = [ "frame-support", "frame-system", @@ -5639,7 +5753,7 @@ dependencies = [ [[package]] name = "orml-utilities" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.37#16b6c1149a15674d21c87244b7988a667e2c14d9" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" dependencies = [ "frame-support", "parity-scale-codec", @@ -5653,7 +5767,7 @@ dependencies = [ [[package]] name = "orml-xcm-support" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.37#16b6c1149a15674d21c87244b7988a667e2c14d9" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" dependencies = [ "frame-support", "orml-traits", @@ -5667,7 +5781,7 @@ dependencies = [ [[package]] name = "orml-xtokens" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.37#16b6c1149a15674d21c87244b7988a667e2c14d9" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -5707,20 +5821,10 @@ dependencies = [ "sha2 0.10.7", ] -[[package]] -name = "packed_simd_2" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1914cd452d8fccd6f9db48147b29fd4ae05bea9dc5d9ad578509f72415de282" -dependencies = [ - "cfg-if", - "libm 0.1.4", -] - [[package]] name = "pallet-asset-tx-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -5738,7 +5842,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-support", "frame-system", @@ -5754,7 +5858,7 @@ dependencies = [ [[package]] name = "pallet-author-inherent" version = "0.9.0" -source = "git+https://github.com/zeitgeistpm/nimbus?branch=polkadot-v0.9.37-use-paritytech-dependencies#908bad91acfd3bf1c161ddd5a5ba251767e9f440" +source = "git+https://github.com/zeitgeistpm/nimbus?branch=polkadot-v0.9.38-use-paritytech-dependencies#1c8ba39b656ec708bf7153a79987eba6e72ef9d6" dependencies = [ "frame-benchmarking", "frame-support", @@ -5765,7 +5869,6 @@ dependencies = [ "scale-info", "sp-api", "sp-application-crypto", - "sp-authorship", "sp-inherents", "sp-runtime", "sp-std", @@ -5774,7 +5877,7 @@ dependencies = [ [[package]] name = "pallet-author-mapping" version = "2.0.5" -source = "git+https://github.com/zeitgeistpm/moonbeam?branch=polkadot-v0.9.37-use-paritytech-dependencies-bench-fix#4bfc6efcf614266927e92c1b64b0ef8a322426c6" +source = "git+https://github.com/zeitgeistpm/moonbeam?branch=polkadot-v0.9.38-use-paritytech-dependencies#286d43904f4e8fe5f114731e0c20fcca052a30e3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5792,7 +5895,7 @@ dependencies = [ [[package]] name = "pallet-author-slot-filter" version = "0.9.0" -source = "git+https://github.com/zeitgeistpm/nimbus?branch=polkadot-v0.9.37-use-paritytech-dependencies#908bad91acfd3bf1c161ddd5a5ba251767e9f440" +source = "git+https://github.com/zeitgeistpm/nimbus?branch=polkadot-v0.9.38-use-paritytech-dependencies#1c8ba39b656ec708bf7153a79987eba6e72ef9d6" dependencies = [ "frame-benchmarking", "frame-support", @@ -5810,7 +5913,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-support", "frame-system", @@ -5826,14 +5929,13 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-authorship", "sp-runtime", "sp-std", ] @@ -5841,7 +5943,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -5865,7 +5967,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5885,7 +5987,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -5900,7 +6002,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-support", "frame-system", @@ -5916,7 +6018,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "array-bytes 4.2.0", "beefy-merkle-tree", @@ -5939,7 +6041,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -5957,7 +6059,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -5976,7 +6078,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -5993,7 +6095,7 @@ dependencies = [ [[package]] name = "pallet-contracts" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "bitflags 1.3.2", "frame-benchmarking", @@ -6022,7 +6124,7 @@ dependencies = [ [[package]] name = "pallet-contracts-primitives" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", @@ -6034,7 +6136,7 @@ dependencies = [ [[package]] name = "pallet-contracts-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "proc-macro2", "quote", @@ -6044,7 +6146,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "assert_matches", "frame-benchmarking", @@ -6061,7 +6163,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -6079,7 +6181,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6102,7 +6204,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6115,7 +6217,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -6133,7 +6235,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6151,7 +6253,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -6174,7 +6276,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "enumflags2", "frame-benchmarking", @@ -6190,7 +6292,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -6210,7 +6312,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -6227,7 +6329,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -6244,7 +6346,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -6261,7 +6363,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -6277,7 +6379,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -6293,7 +6395,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-support", "frame-system", @@ -6310,7 +6412,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6330,7 +6432,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "parity-scale-codec", "sp-api", @@ -6340,7 +6442,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-support", "frame-system", @@ -6357,12 +6459,13 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-election-provider-support", "frame-support", "frame-system", + "log", "pallet-babe", "pallet-balances", "pallet-grandpa", @@ -6380,7 +6483,7 @@ dependencies = [ [[package]] name = "pallet-parachain-staking" version = "3.0.0" -source = "git+https://github.com/zeitgeistpm/moonbeam?branch=polkadot-v0.9.37-use-paritytech-dependencies-bench-fix#4bfc6efcf614266927e92c1b64b0ef8a322426c6" +source = "git+https://github.com/zeitgeistpm/moonbeam?branch=polkadot-v0.9.38-use-paritytech-dependencies#286d43904f4e8fe5f114731e0c20fcca052a30e3" dependencies = [ "frame-benchmarking", "frame-support", @@ -6398,7 +6501,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -6415,7 +6518,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -6430,7 +6533,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-support", "frame-system", @@ -6444,7 +6547,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -6462,7 +6565,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -6477,7 +6580,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "assert_matches", "frame-benchmarking", @@ -6496,7 +6599,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -6513,7 +6616,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-support", "frame-system", @@ -6534,7 +6637,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -6550,7 +6653,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-support", "frame-system", @@ -6564,7 +6667,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6587,7 +6690,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -6598,7 +6701,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "log", "sp-arithmetic", @@ -6607,7 +6710,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -6624,7 +6727,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-support", "frame-system", @@ -6638,7 +6741,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -6656,7 +6759,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -6675,7 +6778,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-support", "frame-system", @@ -6691,7 +6794,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -6707,7 +6810,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -6719,7 +6822,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -6736,7 +6839,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -6752,7 +6855,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -6767,7 +6870,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-benchmarking", "frame-support", @@ -6781,9 +6884,10 @@ dependencies = [ [[package]] name = "pallet-xcm" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ + "frame-benchmarking", "frame-support", "frame-system", "log", @@ -6791,6 +6895,7 @@ dependencies = [ "scale-info", "serde", "sp-core", + "sp-io", "sp-runtime", "sp-std", "xcm", @@ -6799,8 +6904,8 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "frame-benchmarking", "frame-support", @@ -6808,16 +6913,18 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", + "sp-io", "sp-runtime", "sp-std", "xcm", + "xcm-builder", "xcm-executor", ] [[package]] name = "parachain-info" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -7023,7 +7130,7 @@ dependencies = [ "pest_meta", "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.29", ] [[package]] @@ -7039,32 +7146,32 @@ dependencies = [ [[package]] name = "petgraph" -version = "0.6.3" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dd7d28ee937e54fe3080c91faa1c3a46c06de6252988a7f4592ba2310ef22a4" +checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" dependencies = [ "fixedbitset", - "indexmap 1.9.3", + "indexmap 2.0.0", ] [[package]] name = "pin-project" -version = "1.1.2" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "030ad2bc4db10a8944cb0d837f158bdfec4d4a4873ab701a95046770d11f8842" +checksum = "fda4ed1c6c173e3fc7a83629421152e01d7b1f9b7f65fb301e490e8cfc656422" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.2" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec2e072ecce94ec471b13398d5402c188e76ac03cf74dd1a975161b23a3f6d9c" +checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.29", ] [[package]] @@ -7075,9 +7182,9 @@ checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" [[package]] name = "pin-project-lite" -version = "0.2.10" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c40d25201921e5ff0c862a505c6557ea88568a4e3ace775ab55e93f2f4f9d57" +checksum = "12cc1b0bf1727a77a54b6654e7b5f1af8604923edc8b81885f8ec92f9e3f0a05" [[package]] name = "pin-utils" @@ -7091,8 +7198,18 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9eca2c590a5f85da82668fa685c09ce2888b9430e83299debf1f34b65fd4a4ba" dependencies = [ - "der", - "spki", + "der 0.6.1", + "spki 0.6.0", +] + +[[package]] +name = "pkcs8" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +dependencies = [ + "der 0.7.8", + "spki 0.7.2", ] [[package]] @@ -7115,23 +7232,23 @@ checksum = "e3d7ddaed09e0eb771a79ab0fd64609ba0afb0a8366421957936ad14cbd13630" [[package]] name = "polkadot-approval-distribution" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "futures 0.3.28", - "polkadot-node-metrics 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "polkadot-node-metrics 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-primitives", "rand 0.8.5", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", ] [[package]] name = "polkadot-availability-bitfield-distribution" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "futures 0.3.28", "polkadot-node-network-protocol", @@ -7139,18 +7256,18 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "rand 0.8.5", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", ] [[package]] name = "polkadot-availability-distribution" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "derive_more", "fatality", "futures 0.3.28", - "lru", + "lru 0.9.0", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -7162,17 +7279,17 @@ dependencies = [ "sp-core", "sp-keystore", "thiserror", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", ] [[package]] name = "polkadot-availability-recovery" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "fatality", "futures 0.3.28", - "lru", + "lru 0.9.0", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -7183,13 +7300,13 @@ dependencies = [ "rand 0.8.5", "sc-network", "thiserror", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", ] [[package]] name = "polkadot-cli" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "clap", "frame-benchmarking-cli", @@ -7197,12 +7314,13 @@ dependencies = [ "log", "polkadot-client", "polkadot-node-core-pvf", - "polkadot-node-metrics 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "polkadot-node-metrics 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", "polkadot-performance-test", "polkadot-service", "sc-cli", "sc-executor", "sc-service", + "sc-storage-monitor", "sc-sysinfo", "sc-tracing", "sp-core", @@ -7215,8 +7333,8 @@ dependencies = [ [[package]] name = "polkadot-client" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "async-trait", "frame-benchmarking", @@ -7257,8 +7375,8 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "always-assert", "bitvec", @@ -7274,13 +7392,13 @@ dependencies = [ "sp-keystore", "sp-runtime", "thiserror", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", ] [[package]] name = "polkadot-core-primitives" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "parity-scale-codec", "scale-info", @@ -7291,15 +7409,15 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "derive_more", "fatality", "futures 0.3.28", "futures-timer", "indexmap 1.9.3", - "lru", + "lru 0.9.0", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -7311,13 +7429,13 @@ dependencies = [ "sp-application-crypto", "sp-keystore", "thiserror", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", ] [[package]] name = "polkadot-erasure-coding" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -7330,8 +7448,8 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "futures 0.3.28", "futures-timer", @@ -7345,13 +7463,13 @@ dependencies = [ "sp-application-crypto", "sp-core", "sp-keystore", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", ] [[package]] name = "polkadot-network-bridge" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.38" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" dependencies = [ "always-assert", "async-trait", @@ -7360,7 +7478,7 @@ dependencies = [ "futures 0.3.28", "parity-scale-codec", "parking_lot 0.12.1", - "polkadot-node-metrics 0.9.37 (git+https://github.com/paritytech/polkadot?branch=release-v0.9.37)", + "polkadot-node-metrics 0.9.38 (git+https://github.com/paritytech/polkadot?branch=release-v0.9.38)", "polkadot-node-network-protocol", "polkadot-node-subsystem", "polkadot-overseer", @@ -7369,13 +7487,13 @@ dependencies = [ "sc-network-common", "sp-consensus", "thiserror", - "tracing-gum 0.9.37 (git+https://github.com/paritytech/polkadot?branch=release-v0.9.37)", + "tracing-gum 0.9.38 (git+https://github.com/paritytech/polkadot?branch=release-v0.9.38)", ] [[package]] name = "polkadot-network-bridge" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "always-assert", "async-trait", @@ -7384,7 +7502,7 @@ dependencies = [ "futures 0.3.28", "parity-scale-codec", "parking_lot 0.12.1", - "polkadot-node-metrics 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "polkadot-node-metrics 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", "polkadot-node-network-protocol", "polkadot-node-subsystem", "polkadot-overseer", @@ -7393,13 +7511,13 @@ dependencies = [ "sc-network-common", "sp-consensus", "thiserror", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", ] [[package]] name = "polkadot-node-collation-generation" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "futures 0.3.28", "parity-scale-codec", @@ -7409,25 +7527,25 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "sp-core", - "sp-maybe-compressed-blob", + "sp-maybe-compressed-blob 4.1.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38)", "thiserror", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", ] [[package]] name = "polkadot-node-core-approval-voting" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "bitvec", "derive_more", "futures 0.3.28", "futures-timer", "kvdb", - "lru", + "lru 0.9.0", "merlin", "parity-scale-codec", - "polkadot-node-jaeger 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "polkadot-node-jaeger 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", @@ -7440,13 +7558,13 @@ dependencies = [ "sp-consensus-slots", "sp-runtime", "thiserror", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", ] [[package]] name = "polkadot-node-core-av-store" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "bitvec", "futures 0.3.28", @@ -7460,13 +7578,13 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "thiserror", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", ] [[package]] name = "polkadot-node-core-backing" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "bitvec", "fatality", @@ -7479,13 +7597,13 @@ dependencies = [ "polkadot-statement-table", "sp-keystore", "thiserror", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", ] [[package]] name = "polkadot-node-core-bitfield-signing" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "futures 0.3.28", "polkadot-node-subsystem", @@ -7493,48 +7611,48 @@ dependencies = [ "polkadot-primitives", "sp-keystore", "thiserror", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", "wasm-timer", ] [[package]] name = "polkadot-node-core-candidate-validation" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "async-trait", "futures 0.3.28", "futures-timer", "parity-scale-codec", "polkadot-node-core-pvf", - "polkadot-node-metrics 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "polkadot-node-metrics 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-parachain", "polkadot-primitives", - "sp-maybe-compressed-blob", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "sp-maybe-compressed-blob 4.1.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", ] [[package]] name = "polkadot-node-core-chain-api" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "futures 0.3.28", - "polkadot-node-metrics 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "polkadot-node-metrics 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", "polkadot-node-subsystem", "polkadot-primitives", "sc-client-api", "sc-consensus-babe", "sp-blockchain", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", ] [[package]] name = "polkadot-node-core-chain-selection" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "futures 0.3.28", "futures-timer", @@ -7545,18 +7663,18 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "thiserror", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", ] [[package]] name = "polkadot-node-core-dispute-coordinator" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "fatality", "futures 0.3.28", "kvdb", - "lru", + "lru 0.9.0", "parity-scale-codec", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -7564,13 +7682,13 @@ dependencies = [ "polkadot-primitives", "sc-keystore", "thiserror", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", ] [[package]] name = "polkadot-node-core-parachains-inherent" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "async-trait", "futures 0.3.28", @@ -7581,13 +7699,13 @@ dependencies = [ "sp-blockchain", "sp-inherents", "thiserror", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", ] [[package]] name = "polkadot-node-core-provisioner" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "bitvec", "fatality", @@ -7599,13 +7717,13 @@ dependencies = [ "polkadot-primitives", "rand 0.8.5", "thiserror", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", ] [[package]] name = "polkadot-node-core-pvf" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "always-assert", "assert_matches", @@ -7615,7 +7733,7 @@ dependencies = [ "parity-scale-codec", "pin-project", "polkadot-core-primitives", - "polkadot-node-metrics 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "polkadot-node-metrics 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", "polkadot-parachain", "rand 0.8.5", "rayon", @@ -7626,18 +7744,18 @@ dependencies = [ "sp-core", "sp-externalities", "sp-io", - "sp-maybe-compressed-blob", + "sp-maybe-compressed-blob 4.1.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38)", "sp-tracing", "sp-wasm-interface", "tempfile", "tokio", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", ] [[package]] name = "polkadot-node-core-pvf-checker" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "futures 0.3.28", "polkadot-node-primitives", @@ -7647,28 +7765,28 @@ dependencies = [ "polkadot-primitives", "sp-keystore", "thiserror", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", ] [[package]] name = "polkadot-node-core-runtime-api" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "futures 0.3.28", - "lru", - "polkadot-node-metrics 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "lru 0.9.0", + "polkadot-node-metrics 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", "polkadot-node-subsystem", "polkadot-node-subsystem-types", "polkadot-primitives", "sp-consensus-babe", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", ] [[package]] name = "polkadot-node-jaeger" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.38" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" dependencies = [ "lazy_static", "log", @@ -7685,8 +7803,8 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "lazy_static", "log", @@ -7703,8 +7821,8 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.38" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" dependencies = [ "bs58", "futures 0.3.28", @@ -7717,13 +7835,13 @@ dependencies = [ "sc-service", "sc-tracing", "substrate-prometheus-endpoint", - "tracing-gum 0.9.37 (git+https://github.com/paritytech/polkadot?branch=release-v0.9.37)", + "tracing-gum 0.9.38 (git+https://github.com/paritytech/polkadot?branch=release-v0.9.38)", ] [[package]] name = "polkadot-node-metrics" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "bs58", "futures 0.3.28", @@ -7736,13 +7854,13 @@ dependencies = [ "sc-service", "sc-tracing", "substrate-prometheus-endpoint", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", ] [[package]] name = "polkadot-node-network-protocol" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "async-trait", "derive_more", @@ -7750,7 +7868,7 @@ dependencies = [ "futures 0.3.28", "hex", "parity-scale-codec", - "polkadot-node-jaeger 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "polkadot-node-jaeger 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", "polkadot-node-primitives", "polkadot-primitives", "rand 0.8.5", @@ -7759,13 +7877,13 @@ dependencies = [ "sc-network-common", "strum", "thiserror", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", ] [[package]] name = "polkadot-node-primitives" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "bounded-vec", "futures 0.3.28", @@ -7779,31 +7897,31 @@ dependencies = [ "sp-consensus-vrf", "sp-core", "sp-keystore", - "sp-maybe-compressed-blob", + "sp-maybe-compressed-blob 4.1.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38)", "thiserror", "zstd", ] [[package]] name = "polkadot-node-subsystem" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ - "polkadot-node-jaeger 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "polkadot-node-jaeger 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", "polkadot-node-subsystem-types", "polkadot-overseer", ] [[package]] name = "polkadot-node-subsystem-types" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "async-trait", "derive_more", "futures 0.3.28", "orchestra", - "polkadot-node-jaeger 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "polkadot-node-jaeger 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-primitives", @@ -7819,8 +7937,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "async-trait", "derive_more", @@ -7829,13 +7947,13 @@ dependencies = [ "futures-channel", "itertools", "kvdb", - "lru", + "lru 0.9.0", "parity-db", "parity-scale-codec", "parking_lot 0.11.2", "pin-project", - "polkadot-node-jaeger 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", - "polkadot-node-metrics 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "polkadot-node-jaeger 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", + "polkadot-node-metrics 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -7847,21 +7965,21 @@ dependencies = [ "sp-core", "sp-keystore", "thiserror", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", ] [[package]] name = "polkadot-overseer" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "async-trait", "futures 0.3.28", "futures-timer", - "lru", + "lru 0.9.0", "orchestra", "parking_lot 0.12.1", - "polkadot-node-metrics 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "polkadot-node-metrics 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem-types", @@ -7870,13 +7988,13 @@ dependencies = [ "sp-api", "sp-core", "tikv-jemalloc-ctl", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", ] [[package]] name = "polkadot-parachain" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "derive_more", "frame-support", @@ -7891,8 +8009,8 @@ dependencies = [ [[package]] name = "polkadot-performance-test" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "env_logger 0.9.3", "kusama-runtime", @@ -7906,8 +8024,8 @@ dependencies = [ [[package]] name = "polkadot-primitives" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "bitvec", "hex-literal", @@ -7932,8 +8050,8 @@ dependencies = [ [[package]] name = "polkadot-rpc" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "beefy-gadget", "beefy-gadget-rpc", @@ -7964,8 +8082,8 @@ dependencies = [ [[package]] name = "polkadot-runtime" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "bitvec", "frame-benchmarking", @@ -8053,8 +8171,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "bitvec", "frame-benchmarking", @@ -8070,6 +8188,7 @@ dependencies = [ "pallet-balances", "pallet-beefy-mmr", "pallet-election-provider-multi-phase", + "pallet-fast-unstake", "pallet-session", "pallet-staking", "pallet-staking-reward-fn", @@ -8101,8 +8220,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-constants" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "frame-support", "polkadot-primitives", @@ -8115,8 +8234,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "bs58", "parity-scale-codec", @@ -8127,8 +8246,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -8170,11 +8289,12 @@ dependencies = [ [[package]] name = "polkadot-service" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "async-trait", "beefy-gadget", + "frame-benchmarking-cli", "frame-support", "frame-system-rpc-runtime-api", "futures 0.3.28", @@ -8182,7 +8302,8 @@ dependencies = [ "kusama-runtime", "kvdb", "kvdb-rocksdb", - "lru", + "log", + "lru 0.9.0", "mmr-gadget", "pallet-babe", "pallet-im-online", @@ -8197,7 +8318,7 @@ dependencies = [ "polkadot-collator-protocol", "polkadot-dispute-distribution", "polkadot-gossip-support", - "polkadot-network-bridge 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "polkadot-network-bridge 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", "polkadot-node-collation-generation", "polkadot-node-core-approval-voting", "polkadot-node-core-av-store", @@ -8270,14 +8391,14 @@ dependencies = [ "sp-trie", "substrate-prometheus-endpoint", "thiserror", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", "westend-runtime", ] [[package]] name = "polkadot-statement-distribution" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "arrayvec 0.5.2", "fatality", @@ -8292,13 +8413,13 @@ dependencies = [ "sp-keystore", "sp-staking", "thiserror", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", ] [[package]] name = "polkadot-statement-table" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -8307,8 +8428,8 @@ dependencies = [ [[package]] name = "polkadot-test-runtime" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "bitvec", "frame-election-provider-support", @@ -8368,8 +8489,8 @@ dependencies = [ [[package]] name = "polkadot-test-service" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "frame-benchmarking", "frame-system", @@ -8417,7 +8538,7 @@ dependencies = [ "tempfile", "test-runtime-constants", "tokio", - "tracing-gum 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", ] [[package]] @@ -8432,7 +8553,7 @@ dependencies = [ "concurrent-queue", "libc", "log", - "pin-project-lite 0.2.10", + "pin-project-lite 0.2.12", "windows-sys 0.48.0", ] @@ -8748,9 +8869,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.32" +version = "1.0.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50f3b39ccfb720540debaa0164757101c08ecb8d326b15358ce76a62c7e85965" +checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" dependencies = [ "proc-macro2", ] @@ -8887,7 +9008,7 @@ checksum = "6413f3de1edee53342e6138e75b56d32e7bc6e332b3bd62d497b1929d4cfbcdd" dependencies = [ "pem", "ring", - "time 0.3.24", + "time 0.3.27", "x509-parser 0.13.2", "yasna", ] @@ -8900,7 +9021,7 @@ checksum = "ffbe84efe2f38dea12e9bfc1f65377fdf03e53a18cb3b995faedf7934c7e785b" dependencies = [ "pem", "ring", - "time 0.3.24", + "time 0.3.27", "yasna", ] @@ -8948,22 +9069,22 @@ dependencies = [ [[package]] name = "ref-cast" -version = "1.0.19" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61ef7e18e8841942ddb1cf845054f8008410030a3997875d9e49b7a363063df1" +checksum = "acde58d073e9c79da00f2b5b84eed919c8326832648a5b109b3fce1bb1175280" dependencies = [ "ref-cast-impl", ] [[package]] name = "ref-cast-impl" -version = "1.0.19" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dfaf0c85b766276c797f3791f5bc6d5bd116b41d53049af2789666b0c0bc9fa" +checksum = "7f7473c2cfcf90008193dd0e3e16599455cb601a9fce322b5bb55de799664925" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.29", ] [[package]] @@ -8980,13 +9101,13 @@ dependencies = [ [[package]] name = "regex" -version = "1.9.1" +version = "1.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2eae68fc220f7cf2532e4494aded17545fce192d59cd996e0fe7887f4ceb575" +checksum = "81bc1d4caf89fac26a70747fe603c130093b53c773888797a6329091246d651a" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.3.4", + "regex-automata 0.3.6", "regex-syntax 0.7.4", ] @@ -9001,9 +9122,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.3.4" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7b6d6190b7594385f61bd3911cd1be99dfddcfc365a4160cc2ab5bff4aed294" +checksum = "fed1ceff11a1dddaee50c9dc8e4938bd106e9d89ae372f192311e7da498e3b69" dependencies = [ "aho-corasick", "memchr", @@ -9070,8 +9191,8 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "beefy-merkle-tree", "frame-benchmarking", @@ -9156,8 +9277,8 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "frame-support", "polkadot-primitives", @@ -9200,7 +9321,7 @@ dependencies = [ "log", "netlink-packet-route", "netlink-proto", - "nix", + "nix 0.24.3", "thiserror", "tokio", ] @@ -9304,11 +9425,11 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.4" +version = "0.38.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a962918ea88d644592894bc6dc55acc6c0956488adcebbfb6e273506b7fd6e5" +checksum = "19ed4fa021d81c8392ce04db050a3da9a60299050b7ae1cf482d862b54a7218f" dependencies = [ - "bitflags 2.3.3", + "bitflags 2.4.0", "errno 0.3.2", "libc", "linux-raw-sys 0.4.5", @@ -9340,6 +9461,18 @@ dependencies = [ "webpki 0.22.0", ] +[[package]] +name = "rustls" +version = "0.21.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d1feddffcfcc0b33f5c6ce9a29e341e4cd59c3f78e7ee45f4a40c038b1d6cbb" +dependencies = [ + "log", + "ring", + "rustls-webpki", + "sct 0.7.0", +] + [[package]] name = "rustls-native-certs" version = "0.6.3" @@ -9361,6 +9494,16 @@ dependencies = [ "base64 0.21.2", ] +[[package]] +name = "rustls-webpki" +version = "0.101.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d93931baf2d282fff8d3a532bbfd7653f734643161b87e3e01e59a04439bf0d" +dependencies = [ + "ring", + "untrusted", +] + [[package]] name = "rustversion" version = "1.0.14" @@ -9405,7 +9548,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "log", "sp-core", @@ -9416,7 +9559,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "async-trait", "futures 0.3.28", @@ -9443,7 +9586,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "futures 0.3.28", "futures-timer", @@ -9466,7 +9609,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -9482,7 +9625,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -9497,7 +9640,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9508,7 +9651,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "array-bytes 4.2.0", "chrono", @@ -9548,7 +9691,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "fnv", "futures 0.3.28", @@ -9574,7 +9717,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "hash-db", "kvdb", @@ -9587,6 +9730,7 @@ dependencies = [ "parking_lot 0.12.1", "sc-client-api", "sc-state-db", + "schnellru", "sp-arithmetic", "sp-blockchain", "sp-core", @@ -9599,7 +9743,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "async-trait", "futures 0.3.28", @@ -9624,7 +9768,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "async-trait", "futures 0.3.28", @@ -9653,7 +9797,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "async-trait", "fork-tree", @@ -9691,7 +9835,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "futures 0.3.28", "jsonrpsee", @@ -9713,7 +9857,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "fork-tree", "parity-scale-codec", @@ -9726,7 +9870,7 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "assert_matches", "async-trait", @@ -9760,7 +9904,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "async-trait", "futures 0.3.28", @@ -9783,9 +9927,9 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ - "lru", + "lru 0.8.1", "parity-scale-codec", "parking_lot 0.12.1", "sc-executor-common", @@ -9807,10 +9951,10 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "sc-allocator", - "sp-maybe-compressed-blob", + "sp-maybe-compressed-blob 4.1.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38)", "sp-wasm-interface", "thiserror", "wasm-instrument 0.3.0", @@ -9820,7 +9964,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "log", "sc-allocator", @@ -9833,7 +9977,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "cfg-if", "libc", @@ -9850,9 +9994,9 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ - "ahash", + "ahash 0.8.3", "array-bytes 4.2.0", "async-trait", "dyn-clone", @@ -9890,7 +10034,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "finality-grandpa", "futures 0.3.28", @@ -9910,7 +10054,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "ansi_term", "futures 0.3.28", @@ -9925,7 +10069,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "array-bytes 4.2.0", "async-trait", @@ -9940,7 +10084,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "array-bytes 4.2.0", "async-trait", @@ -9954,7 +10098,7 @@ dependencies = [ "ip_network", "libp2p", "log", - "lru", + "lru 0.8.1", "parity-scale-codec", "parking_lot 0.12.1", "pin-project", @@ -9982,7 +10126,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "cid", "futures 0.3.28", @@ -10001,7 +10145,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -10027,14 +10171,14 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ - "ahash", + "ahash 0.8.3", "futures 0.3.28", "futures-timer", "libp2p", "log", - "lru", + "lru 0.8.1", "sc-network-common", "sc-peerset", "sp-runtime", @@ -10045,7 +10189,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "array-bytes 4.2.0", "futures 0.3.28", @@ -10066,7 +10210,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "array-bytes 4.2.0", "async-trait", @@ -10074,7 +10218,7 @@ dependencies = [ "futures 0.3.28", "libp2p", "log", - "lru", + "lru 0.8.1", "mockall", "parity-scale-codec", "prost", @@ -10098,7 +10242,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "array-bytes 4.2.0", "futures 0.3.28", @@ -10117,7 +10261,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "array-bytes 4.2.0", "bytes", @@ -10147,7 +10291,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "futures 0.3.28", "libp2p", @@ -10160,7 +10304,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -10169,7 +10313,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "futures 0.3.28", "jsonrpsee", @@ -10193,12 +10337,13 @@ dependencies = [ "sp-runtime", "sp-session", "sp-version", + "tokio", ] [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -10217,7 +10362,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "http", "jsonrpsee", @@ -10232,7 +10377,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "array-bytes 4.2.0", "futures 0.3.28", @@ -10258,7 +10403,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "async-trait", "directories", @@ -10289,6 +10434,7 @@ dependencies = [ "sc-rpc", "sc-rpc-server", "sc-rpc-spec-v2", + "sc-storage-monitor", "sc-sysinfo", "sc-telemetry", "sc-tracing", @@ -10323,7 +10469,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "log", "parity-scale-codec", @@ -10331,10 +10477,26 @@ dependencies = [ "sp-core", ] +[[package]] +name = "sc-storage-monitor" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "clap", + "futures 0.3.28", + "log", + "nix 0.26.2", + "sc-client-db", + "sc-utils", + "sp-core", + "thiserror", + "tokio", +] + [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -10353,7 +10515,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "futures 0.3.28", "libc", @@ -10372,7 +10534,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "chrono", "futures 0.3.28", @@ -10391,7 +10553,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "ansi_term", "atty", @@ -10422,7 +10584,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10433,13 +10595,14 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "async-trait", "futures 0.3.28", "futures-timer", "linked-hash-map", "log", + "num-traits", "parity-scale-codec", "parking_lot 0.12.1", "sc-client-api", @@ -10459,7 +10622,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "async-trait", "futures 0.3.28", @@ -10473,7 +10636,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "backtrace", "futures 0.3.28", @@ -10519,6 +10682,17 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "schnellru" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" +dependencies = [ + "ahash 0.8.3", + "cfg-if", + "hashbrown 0.13.2", +] + [[package]] name = "schnorrkel" version = "0.9.1" @@ -10588,9 +10762,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928" dependencies = [ "base16ct", - "der", + "der 0.6.1", "generic-array 0.14.7", - "pkcs8", + "pkcs8 0.9.0", "subtle", "zeroize", ] @@ -10680,29 +10854,29 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.180" +version = "1.0.186" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ea67f183f058fe88a4e3ec6e2788e003840893b91bac4559cabedd00863b3ed" +checksum = "9f5db24220c009de9bd45e69fb2938f4b6d2df856aa9304ce377b3180f83b7c1" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.180" +version = "1.0.186" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24e744d7782b686ab3b73267ef05697159cc0e5abbed3f47f9933165e5219036" +checksum = "5ad697f7e0b65af4983a4ce8f56ed5b357e8d3c36651bf6a7e13639c17b8e670" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.29", ] [[package]] name = "serde_json" -version = "1.0.104" +version = "1.0.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "076066c5f1078eac5b722a31827a8832fe108bed65dfa75e233c89f8206e976c" +checksum = "693151e1ac27563d6dbcec9dee9fbd5da8539b20fa14ad3752b2e6d363ace360" dependencies = [ "itoa", "ryu", @@ -10712,7 +10886,7 @@ dependencies = [ [[package]] name = "session-keys-primitives" version = "0.1.0" -source = "git+https://github.com/zeitgeistpm/moonbeam?branch=polkadot-v0.9.37-use-paritytech-dependencies-bench-fix#4bfc6efcf614266927e92c1b64b0ef8a322426c6" +source = "git+https://github.com/zeitgeistpm/moonbeam?branch=polkadot-v0.9.38-use-paritytech-dependencies#286d43904f4e8fe5f114731e0c20fcca052a30e3" dependencies = [ "async-trait", "frame-support", @@ -10834,6 +11008,12 @@ dependencies = [ "rand_core 0.6.4", ] +[[package]] +name = "signature" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e1788eed21689f9cf370582dfc467ef36ed9c707f073528ddafa8d83e3b8500" + [[package]] name = "simba" version = "0.5.1" @@ -10848,15 +11028,15 @@ dependencies = [ [[package]] name = "siphasher" -version = "0.3.10" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de" +checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" [[package]] name = "slab" -version = "0.4.8" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d" +checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" dependencies = [ "autocfg", ] @@ -10869,8 +11049,8 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "enumn", "parity-scale-codec", @@ -10902,14 +11082,14 @@ checksum = "5e9f0ab6ef7eb7353d9119c170a436d1bf248eea575ac42d19d12f4e34130831" [[package]] name = "snow" -version = "0.9.2" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ccba027ba85743e09d15c03296797cad56395089b832b48b5a5217880f57733" +checksum = "0c9d1425eb528a21de2755c75af4c9b5d57f50a0d4c3b7f1828a4cd03f8ba155" dependencies = [ "aes-gcm 0.9.4", "blake2", "chacha20poly1305", - "curve25519-dalek 4.0.0-rc.1", + "curve25519-dalek 4.0.0", "rand_core 0.6.4", "ring", "rustc_version 0.4.0", @@ -10957,7 +11137,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "hash-db", "log", @@ -10975,7 +11155,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "blake2", "proc-macro-crate", @@ -10987,7 +11167,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "parity-scale-codec", "scale-info", @@ -11000,7 +11180,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "integer-sqrt", "num-traits", @@ -11014,7 +11194,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "parity-scale-codec", "scale-info", @@ -11024,22 +11204,10 @@ dependencies = [ "sp-std", ] -[[package]] -name = "sp-authorship" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" -dependencies = [ - "async-trait", - "parity-scale-codec", - "sp-inherents", - "sp-runtime", - "sp-std", -] - [[package]] name = "sp-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "parity-scale-codec", "scale-info", @@ -11056,7 +11224,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "parity-scale-codec", "sp-api", @@ -11068,11 +11236,11 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "futures 0.3.28", "log", - "lru", + "lru 0.8.1", "parity-scale-codec", "parking_lot 0.12.1", "sp-api", @@ -11086,7 +11254,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "async-trait", "futures 0.3.28", @@ -11104,7 +11272,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "async-trait", "parity-scale-codec", @@ -11122,7 +11290,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "async-trait", "merlin", @@ -11145,7 +11313,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "parity-scale-codec", "scale-info", @@ -11157,7 +11325,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "parity-scale-codec", "scale-info", @@ -11170,7 +11338,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "array-bytes 4.2.0", "base58", @@ -11212,7 +11380,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "blake2", "byteorder", @@ -11226,7 +11394,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "proc-macro2", "quote", @@ -11237,7 +11405,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -11246,7 +11414,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "proc-macro2", "quote", @@ -11256,7 +11424,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "environmental", "parity-scale-codec", @@ -11267,7 +11435,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "finality-grandpa", "log", @@ -11285,7 +11453,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -11299,11 +11467,11 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "bytes", - "ed25519", - "ed25519-dalek", + "ed25519 1.5.3", + "ed25519-dalek 1.0.1", "futures 0.3.28", "libsecp256k1", "log", @@ -11324,7 +11492,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "lazy_static", "sp-core", @@ -11335,7 +11503,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "async-trait", "futures 0.3.28", @@ -11352,7 +11520,16 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "thiserror", + "zstd", +] + +[[package]] +name = "sp-maybe-compressed-blob" +version = "4.1.0-dev" +source = "git+https://github.com/zeitgeistpm/substrate.git?branch=polkadot-v0.9.38-fix-new-rustc-build#310d70a2b46907901dd3bb6e6d373b5f49115f38" dependencies = [ "thiserror", "zstd", @@ -11361,7 +11538,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -11379,7 +11556,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "parity-scale-codec", "scale-info", @@ -11393,7 +11570,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "sp-api", "sp-core", @@ -11403,7 +11580,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "backtrace", "lazy_static", @@ -11413,7 +11590,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "rustc-hash", "serde", @@ -11423,7 +11600,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "either", "hash256-std-hasher", @@ -11445,7 +11622,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -11463,7 +11640,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "Inflector", "proc-macro-crate", @@ -11475,7 +11652,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "parity-scale-codec", "scale-info", @@ -11489,7 +11666,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "parity-scale-codec", "scale-info", @@ -11501,7 +11678,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "hash-db", "log", @@ -11521,12 +11698,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11539,7 +11716,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "async-trait", "futures-timer", @@ -11554,7 +11731,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "parity-scale-codec", "sp-std", @@ -11566,7 +11743,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "sp-api", "sp-runtime", @@ -11575,7 +11752,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "async-trait", "log", @@ -11591,18 +11768,18 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ - "ahash", + "ahash 0.8.3", "hash-db", "hashbrown 0.12.3", "lazy_static", - "lru", "memory-db", "nohash-hasher", "parity-scale-codec", "parking_lot 0.12.1", "scale-info", + "schnellru", "sp-core", "sp-std", "thiserror", @@ -11614,7 +11791,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11631,7 +11808,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -11642,7 +11819,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "impl-trait-for-tuples", "log", @@ -11655,7 +11832,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "parity-scale-codec", "scale-info", @@ -11686,14 +11863,24 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "67cf02bbac7a337dc36e4f5a693db6c21e7863f45070f7064577eb4367a3212b" dependencies = [ "base64ct", - "der", + "der 0.6.1", +] + +[[package]] +name = "spki" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d1e996ef02c474957d681f1b05213dfb0abab947b446a62d37770b23500184a" +dependencies = [ + "base64ct", + "der 0.7.8", ] [[package]] name = "ss58-registry" -version = "1.41.0" +version = "1.43.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfc443bad666016e012538782d9e3006213a7db43e9fb1dda91657dc06a6fa08" +checksum = "5e6915280e2d0db8911e5032a5c275571af6bdded2916abd691a659be25d3439" dependencies = [ "Inflector", "num-format", @@ -11845,7 +12032,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "platforms 2.0.0", ] @@ -11864,7 +12051,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.28", @@ -11883,7 +12070,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "hyper", "log", @@ -11895,7 +12082,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "async-trait", "jsonrpsee", @@ -11908,7 +12095,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "jsonrpsee", "log", @@ -11927,7 +12114,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "array-bytes 4.2.0", "async-trait", @@ -11953,13 +12140,13 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/zeitgeistpm/substrate.git?branch=polkadot-v0.9.38-fix-new-rustc-build#310d70a2b46907901dd3bb6e6d373b5f49115f38" dependencies = [ "ansi_term", "build-helper", "cargo_metadata", "filetime", - "sp-maybe-compressed-blob", + "sp-maybe-compressed-blob 4.1.0-dev (git+https://github.com/zeitgeistpm/substrate.git?branch=polkadot-v0.9.38-fix-new-rustc-build)", "strum", "tempfile", "toml", @@ -11995,9 +12182,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.28" +version = "2.0.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04361975b3f5e348b2189d8dc55bc942f278b2d482a6a0365de5bdd62d351567" +checksum = "c324c494eba9d92503e6f1ef2e6df781e78f6a7705a0202d9801b198807d518a" dependencies = [ "proc-macro2", "quote", @@ -12051,14 +12238,14 @@ checksum = "9d0e916b1148c8e263850e1ebcbd046f333e0683c724876bb0da63ea4373dc8a" [[package]] name = "tempfile" -version = "3.7.0" +version = "3.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5486094ee78b2e5038a6382ed7645bc084dc2ec433426ca4c3cb61e2007b8998" +checksum = "cb94d2f3cc536af71caac6b6fcebf65860b347e7ce0cc9ebe8f70d3e521054ef" dependencies = [ "cfg-if", "fastrand 2.0.0", "redox_syscall 0.3.5", - "rustix 0.38.4", + "rustix 0.38.8", "windows-sys 0.48.0", ] @@ -12114,8 +12301,8 @@ dependencies = [ [[package]] name = "test-runtime-constants" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "frame-support", "polkadot-primitives", @@ -12128,22 +12315,22 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.44" +version = "1.0.47" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "611040a08a0439f8248d1990b111c95baa9c704c805fa1f62104b39655fd7f90" +checksum = "97a802ec30afc17eee47b2855fc72e0c4cd62be9b4efe6591edde0ec5bd68d8f" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.44" +version = "1.0.47" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "090198534930841fab3a5d1bb637cde49e339654e606195f8d9c76eeb081dc96" +checksum = "6bb623b56e39ab7dcd4b1b98bb6c8f8d907ed255b18de254088016b27a8ee19b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.29", ] [[package]] @@ -12218,9 +12405,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.24" +version = "0.3.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b79eabcd964882a646b3584543ccabeae7869e9ac32a46f6f22b7a5bd405308b" +checksum = "0bb39ee79a6d8de55f48f2293a830e040392f1c5f16e336bdd1788cd0aadce07" dependencies = [ "deranged", "itoa", @@ -12237,9 +12424,9 @@ checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" [[package]] name = "time-macros" -version = "0.2.11" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb71511c991639bb078fd5bf97757e03914361c48100d52878b8e52b46fb92cd" +checksum = "733d258752e9303d392b94b75230d07b0b9c489350c69b851fc6c065fde3e8f9" dependencies = [ "time-core", ] @@ -12290,20 +12477,19 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.29.1" +version = "1.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "532826ff75199d5833b9d2c5fe410f29235e25704ee5f0ef599fb51c21f4a4da" +checksum = "17ed6077ed6cd6c74735e21f37eb16dc3935f96878b1fe961074089cc80893f9" dependencies = [ - "autocfg", "backtrace", "bytes", "libc", "mio", "num_cpus", "parking_lot 0.12.1", - "pin-project-lite 0.2.10", + "pin-project-lite 0.2.12", "signal-hook-registry", - "socket2 0.4.9", + "socket2 0.5.3", "tokio-macros", "windows-sys 0.48.0", ] @@ -12316,7 +12502,7 @@ checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.29", ] [[package]] @@ -12330,6 +12516,16 @@ dependencies = [ "webpki 0.22.0", ] +[[package]] +name = "tokio-rustls" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" +dependencies = [ + "rustls 0.21.6", + "tokio", +] + [[package]] name = "tokio-stream" version = "0.1.14" @@ -12337,7 +12533,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" dependencies = [ "futures-core", - "pin-project-lite 0.2.10", + "pin-project-lite 0.2.12", "tokio", "tokio-util", ] @@ -12352,7 +12548,7 @@ dependencies = [ "futures-core", "futures-io", "futures-sink", - "pin-project-lite 0.2.10", + "pin-project-lite 0.2.12", "tokio", "tracing", ] @@ -12407,7 +12603,7 @@ dependencies = [ "http", "http-body", "http-range-header", - "pin-project-lite 0.2.10", + "pin-project-lite 0.2.12", "tower-layer", "tower-service", ] @@ -12432,7 +12628,7 @@ checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" dependencies = [ "cfg-if", "log", - "pin-project-lite 0.2.10", + "pin-project-lite 0.2.12", "tracing-attributes", "tracing-core", ] @@ -12445,7 +12641,7 @@ checksum = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.29", ] [[package]] @@ -12470,30 +12666,30 @@ dependencies = [ [[package]] name = "tracing-gum" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.38" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" dependencies = [ - "polkadot-node-jaeger 0.9.37 (git+https://github.com/paritytech/polkadot?branch=release-v0.9.37)", + "polkadot-node-jaeger 0.9.38 (git+https://github.com/paritytech/polkadot?branch=release-v0.9.38)", "polkadot-primitives", "tracing", - "tracing-gum-proc-macro 0.9.37 (git+https://github.com/paritytech/polkadot?branch=release-v0.9.37)", + "tracing-gum-proc-macro 0.9.38 (git+https://github.com/paritytech/polkadot?branch=release-v0.9.38)", ] [[package]] name = "tracing-gum" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ - "polkadot-node-jaeger 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "polkadot-node-jaeger 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", "polkadot-primitives", "tracing", - "tracing-gum-proc-macro 0.9.37 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes)", + "tracing-gum-proc-macro 0.9.38 (git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes)", ] [[package]] name = "tracing-gum-proc-macro" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.38" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" dependencies = [ "expander 0.0.6", "proc-macro-crate", @@ -12504,8 +12700,8 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "expander 0.0.6", "proc-macro-crate", @@ -12635,7 +12831,7 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#6fa7fe1326ecaab9921c2c3888530ad679cfbb87" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "clap", "frame-remote-externalities", @@ -12927,7 +13123,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.29", "wasm-bindgen-shared", ] @@ -12961,7 +13157,7 @@ checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.29", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -12992,9 +13188,9 @@ dependencies = [ [[package]] name = "wasm-opt" -version = "0.110.2" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b68e8037b4daf711393f4be2056246d12d975651b14d581520ad5d1f19219cec" +checksum = "84a303793cbc01fb96551badfc7367db6007396bba6bac97936b3c8b6f7fdb41" dependencies = [ "anyhow", "libc", @@ -13008,9 +13204,9 @@ dependencies = [ [[package]] name = "wasm-opt-cxx-sys" -version = "0.110.2" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91adbad477e97bba3fbd21dd7bfb594e7ad5ceb9169ab1c93ab9cb0ada636b6f" +checksum = "d9c9deb56f8a9f2ec177b3bd642a8205621835944ed5da55f2388ef216aca5a4" dependencies = [ "anyhow", "cxx", @@ -13020,9 +13216,9 @@ dependencies = [ [[package]] name = "wasm-opt-sys" -version = "0.110.2" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec4fa5a322a4e6ac22fd141f498d56afbdbf9df5debeac32380d2dcaa3e06941" +checksum = "4432e28b542738a9776cedf92e8a99d8991c7b4667ee2c7ccddfb479dd2856a7" dependencies = [ "anyhow", "cc", @@ -13091,7 +13287,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "57d20cb3c59b788653d99541c646c561c9dd26506f25c0cebfe810659c54c6d7" dependencies = [ "downcast-rs", - "libm 0.2.7", + "libm", "memory_units", "num-rational", "num-traits", @@ -13104,7 +13300,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c5bf998ab792be85e20e771fe14182b4295571ad1d4f89d3da521c1bef5f597a" dependencies = [ "downcast-rs", - "libm 0.2.7", + "libm", "num-traits", ] @@ -13335,6 +13531,12 @@ dependencies = [ "webpki 0.22.0", ] +[[package]] +name = "webpki-roots" +version = "0.25.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14247bb57be4f377dfb94c72830b8ce8fc6beac03cf4bf7b9732eadd414123fc" + [[package]] name = "webrtc" version = "0.6.0" @@ -13361,7 +13563,7 @@ dependencies = [ "sha2 0.10.7", "stun", "thiserror", - "time 0.3.24", + "time 0.3.27", "tokio", "turn", "url", @@ -13393,9 +13595,9 @@ dependencies = [ [[package]] name = "webrtc-dtls" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "942be5bd85f072c3128396f6e5a9bfb93ca8c1939ded735d177b7bcba9a13d05" +checksum = "c4a00f4242f2db33307347bd5be53263c52a0331c96c14292118c9a6bb48d267" dependencies = [ "aes 0.6.0", "aes-gcm 0.10.2", @@ -13410,25 +13612,24 @@ dependencies = [ "hkdf", "hmac 0.12.1", "log", - "oid-registry 0.6.1", "p256", "p384", "rand 0.8.5", "rand_core 0.6.4", - "rcgen 0.9.3", + "rcgen 0.10.0", "ring", "rustls 0.19.1", "sec1", "serde", "sha1", "sha2 0.10.7", - "signature", + "signature 1.6.4", "subtle", "thiserror", "tokio", "webpki 0.21.4", "webrtc-util", - "x25519-dalek 2.0.0-pre.1", + "x25519-dalek 2.0.0", "x509-parser 0.13.2", ] @@ -13537,7 +13738,7 @@ dependencies = [ "lazy_static", "libc", "log", - "nix", + "nix 0.24.3", "rand 0.8.5", "thiserror", "tokio", @@ -13546,8 +13747,8 @@ dependencies = [ [[package]] name = "westend-runtime" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "bitvec", "frame-benchmarking", @@ -13591,6 +13792,7 @@ dependencies = [ "pallet-society", "pallet-staking", "pallet-staking-reward-curve", + "pallet-state-trie-migration", "pallet-sudo", "pallet-timestamp", "pallet-transaction-payment", @@ -13636,8 +13838,8 @@ dependencies = [ [[package]] name = "westend-runtime-constants" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "frame-support", "polkadot-primitives", @@ -13757,17 +13959,17 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.48.1" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f" +checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" dependencies = [ - "windows_aarch64_gnullvm 0.48.0", - "windows_aarch64_msvc 0.48.0", - "windows_i686_gnu 0.48.0", - "windows_i686_msvc 0.48.0", - "windows_x86_64_gnu 0.48.0", - "windows_x86_64_gnullvm 0.48.0", - "windows_x86_64_msvc 0.48.0", + "windows_aarch64_gnullvm 0.48.5", + "windows_aarch64_msvc 0.48.5", + "windows_i686_gnu 0.48.5", + "windows_i686_msvc 0.48.5", + "windows_x86_64_gnu 0.48.5", + "windows_x86_64_gnullvm 0.48.5", + "windows_x86_64_msvc 0.48.5", ] [[package]] @@ -13778,9 +13980,9 @@ checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" [[package]] name = "windows_aarch64_gnullvm" -version = "0.48.0" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" +checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" [[package]] name = "windows_aarch64_msvc" @@ -13802,9 +14004,9 @@ checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" [[package]] name = "windows_aarch64_msvc" -version = "0.48.0" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" +checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" [[package]] name = "windows_i686_gnu" @@ -13826,9 +14028,9 @@ checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" [[package]] name = "windows_i686_gnu" -version = "0.48.0" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" +checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" [[package]] name = "windows_i686_msvc" @@ -13850,9 +14052,9 @@ checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" [[package]] name = "windows_i686_msvc" -version = "0.48.0" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" +checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" [[package]] name = "windows_x86_64_gnu" @@ -13874,9 +14076,9 @@ checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" [[package]] name = "windows_x86_64_gnu" -version = "0.48.0" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" +checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" [[package]] name = "windows_x86_64_gnullvm" @@ -13886,9 +14088,9 @@ checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" [[package]] name = "windows_x86_64_gnullvm" -version = "0.48.0" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" +checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" [[package]] name = "windows_x86_64_msvc" @@ -13910,15 +14112,15 @@ checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" [[package]] name = "windows_x86_64_msvc" -version = "0.48.0" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" +checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" [[package]] name = "winnow" -version = "0.5.3" +version = "0.5.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f46aab759304e4d7b2075a9aecba26228bb073ee8c50db796b2c72c676b5d807" +checksum = "7c2e3184b9c4e92ad5167ca73039d0c42476302ab603e2fec4487511f38ccefc" dependencies = [ "memchr", ] @@ -13955,12 +14157,13 @@ dependencies = [ [[package]] name = "x25519-dalek" -version = "2.0.0-pre.1" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5da623d8af10a62342bcbbb230e33e58a63255a58012f8653c578e54bab48df" +checksum = "fb66477291e7e8d2b0ff1bcb900bf29489a9692816d79874bea351e7a8b6de96" dependencies = [ - "curve25519-dalek 3.2.0", + "curve25519-dalek 4.0.0", "rand_core 0.6.4", + "serde", "zeroize", ] @@ -13980,7 +14183,7 @@ dependencies = [ "ring", "rusticata-macros", "thiserror", - "time 0.3.24", + "time 0.3.27", ] [[package]] @@ -13998,30 +14201,33 @@ dependencies = [ "oid-registry 0.6.1", "rusticata-macros", "thiserror", - "time 0.3.24", + "time 0.3.27", ] [[package]] name = "xcm" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "derivative", "impl-trait-for-tuples", "log", "parity-scale-codec", "scale-info", - "sp-runtime", + "serde", + "sp-core", + "sp-weights", "xcm-procedural", ] [[package]] name = "xcm-builder" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "frame-support", "frame-system", + "impl-trait-for-tuples", "log", "pallet-transaction-payment", "parity-scale-codec", @@ -14038,7 +14244,7 @@ dependencies = [ [[package]] name = "xcm-emulator" version = "0.1.0" -source = "git+https://github.com/shaunxw/xcm-simulator?rev=6847a58888e483f0ed2e0b72f90e00767ea0ecac#6847a58888e483f0ed2e0b72f90e00767ea0ecac" +source = "git+https://github.com/shaunxw/xcm-simulator?rev=92d371839f6d5c52dd35b7e3d61cbdefc792cc42#92d371839f6d5c52dd35b7e3d61cbdefc792cc42" dependencies = [ "cumulus-pallet-dmp-queue", "cumulus-pallet-parachain-system", @@ -14063,9 +14269,10 @@ dependencies = [ [[package]] name = "xcm-executor" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ + "environmental", "frame-benchmarking", "frame-support", "impl-trait-for-tuples", @@ -14076,13 +14283,14 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", + "sp-weights", "xcm", ] [[package]] name = "xcm-procedural" -version = "0.9.37" -source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.37-recent-bootnodes#7632261076558a807a6d4585df9cea8e0f2ded05" +version = "0.9.38" +source = "git+https://github.com/zeitgeistpm/polkadot.git?branch=v0.9.38-recent-bootnodes#20fcf6d7f070911b441925cb6f418b3d346af3a0" dependencies = [ "Inflector", "proc-macro2", @@ -14110,7 +14318,7 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd" dependencies = [ - "time 0.3.24", + "time 0.3.27", ] [[package]] @@ -14168,6 +14376,7 @@ dependencies = [ "sc-rpc", "sc-rpc-api", "sc-service", + "sc-storage-monitor", "sc-sysinfo", "sc-telemetry", "sc-tracing", @@ -14339,7 +14548,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.29", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 7aca2dd02..89644a91c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -65,152 +65,153 @@ resolver = "2" # - "client" dependencies are only used in the client, and thus don't need to be no_std compatible. # Cumulus / Nimbus (client) -cumulus-client-cli = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-client-collator = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-client-network = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-relay-chain-minimal-node = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -nimbus-consensus = { git = "https://github.com/zeitgeistpm/nimbus", branch = "polkadot-v0.9.37-use-paritytech-dependencies" } +cumulus-client-cli = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38" } +cumulus-client-collator = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38" } +cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38" } +cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38" } +cumulus-client-network = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38" } +cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38" } +cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38" } +cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38" } +cumulus-relay-chain-minimal-node = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38" } +cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38" } +nimbus-consensus = { git = "https://github.com/zeitgeistpm/nimbus", branch = "polkadot-v0.9.38-use-paritytech-dependencies" } # Cumulus / Nimbus (wasm) -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -nimbus-primitives = { git = "https://github.com/zeitgeistpm/nimbus", branch = "polkadot-v0.9.37-use-paritytech-dependencies", default-features = false } -pallet-author-inherent = { git = "https://github.com/zeitgeistpm/nimbus", branch = "polkadot-v0.9.37-use-paritytech-dependencies", default-features = false } -pallet-author-slot-filter = { git = "https://github.com/zeitgeistpm/nimbus", branch = "polkadot-v0.9.37-use-paritytech-dependencies", default-features = false } -parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38", default-features = false } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38", default-features = false } +nimbus-primitives = { git = "https://github.com/zeitgeistpm/nimbus", branch = "polkadot-v0.9.38-use-paritytech-dependencies", default-features = false } +pallet-author-inherent = { git = "https://github.com/zeitgeistpm/nimbus", branch = "polkadot-v0.9.38-use-paritytech-dependencies", default-features = false } +pallet-author-slot-filter = { git = "https://github.com/zeitgeistpm/nimbus", branch = "polkadot-v0.9.38-use-paritytech-dependencies", default-features = false } +parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38", default-features = false } # Moonbeam (client) -moonbeam-vrf = { git = "https://github.com/zeitgeistpm/moonbeam", branch = "polkadot-v0.9.37-use-paritytech-dependencies-bench-fix" } +moonbeam-vrf = { git = "https://github.com/zeitgeistpm/moonbeam", branch = "polkadot-v0.9.38-use-paritytech-dependencies" } # Moonbeam (wasm) -pallet-author-mapping = { git = "https://github.com/zeitgeistpm/moonbeam", branch = "polkadot-v0.9.37-use-paritytech-dependencies-bench-fix", default-features = false } -pallet-parachain-staking = { git = "https://github.com/zeitgeistpm/moonbeam", branch = "polkadot-v0.9.37-use-paritytech-dependencies-bench-fix", default-features = false } -session-keys-primitives = { git = "https://github.com/zeitgeistpm/moonbeam", branch = "polkadot-v0.9.37-use-paritytech-dependencies-bench-fix", default-features = false } +pallet-author-mapping = { git = "https://github.com/zeitgeistpm/moonbeam", branch = "polkadot-v0.9.38-use-paritytech-dependencies", default-features = false } +pallet-parachain-staking = { git = "https://github.com/zeitgeistpm/moonbeam", branch = "polkadot-v0.9.38-use-paritytech-dependencies", default-features = false } +session-keys-primitives = { git = "https://github.com/zeitgeistpm/moonbeam", branch = "polkadot-v0.9.38-use-paritytech-dependencies", default-features = false } # ORML (wasm) -orml-asset-registry = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } -orml-benchmarking = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } -orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } -orml-unknown-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } -orml-xcm-support = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } -orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } +orml-asset-registry = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.38", default-features = false } +orml-benchmarking = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.38", default-features = false } +orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.38", default-features = false } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.38", default-features = false } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.38", default-features = false } +orml-unknown-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.38", default-features = false } +orml-xcm-support = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.38", default-features = false } +orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.38", default-features = false } # Substrate (client) -frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } futures = { version = "0.3.21" } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-client-db = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-network-common = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-sysinfo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -xcm-emulator = { rev = "6847a58888e483f0ed2e0b72f90e00767ea0ecac", git = "https://github.com/shaunxw/xcm-simulator" } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sc-client-db = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sc-network-common = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sc-storage-monitor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sc-sysinfo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +xcm-emulator = { rev = "92d371839f6d5c52dd35b7e3d61cbdefc792cc42", git = "https://github.com/shaunxw/xcm-simulator" } # Substrate (wasm) -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -frame-executive = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-asset-tx-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-contracts = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-contracts-primitives = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-identity = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-vesting = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -parity-scale-codec = { version = "3.0.0", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +frame-executive = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +pallet-asset-tx-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +pallet-contracts = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +pallet-contracts-primitives = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +pallet-identity = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +pallet-vesting = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +parity-scale-codec = { version = "3.2.2", default-features = false } scale-info = { version = "2.3.1", default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } substrate-fixed = { git = "https://github.com/encointer/substrate-fixed", default-features = false } # Polkadot / XCM (client) -polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37" } -polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37" } -polkadot-test-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37" } +polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38" } +polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38" } +polkadot-test-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38" } # Polkadot / XCM (wasm) -pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } -polkadot-runtime = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } -polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } -rococo-runtime = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38", default-features = false } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38", default-features = false } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38", default-features = false } +polkadot-runtime = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38", default-features = false } +polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38", default-features = false } +rococo-runtime = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38", default-features = false } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38", default-features = false } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38", default-features = false } # Zeitgeist (client) battery-station-runtime = { path = "runtime/battery-station" } @@ -240,14 +241,14 @@ zrml-swaps-runtime-api = { path = "zrml/swaps/runtime-api", default-features = f # Other (client) clap = "4.0.32" jsonrpsee = "0.16.2" -libfuzzer-sys = "0.4.6" +libfuzzer-sys = "0.4.7" more-asserts = "0.3.1" test-case = "3.1.0" url = "2.2.2" # Other (wasm) arbitrary = { version = "1.3.0", default-features = false } -arrayvec = { version = "0.7.2", default-features = false } +arrayvec = { version = "0.7.4", default-features = false } cfg-if = { version = "1.0.0" } # Hashbrown works in no_std by default and default features are used in Rikiddo hashbrown = { version = "0.12.3", default-features = true } @@ -313,24 +314,28 @@ opt-level = 3 # Zeitgeist runtime requires unwinding. panic = "unwind" +[patch."https://github.com/paritytech/substrate"] +substrate-wasm-builder = { git = "https://github.com/zeitgeistpm/substrate.git", branch = "polkadot-v0.9.38-fix-new-rustc-build" } + [patch."https://github.com/paritytech/polkadot"] -pallet-xcm = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.37-recent-bootnodes" } -polkadot-cli = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.37-recent-bootnodes" } -polkadot-client = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.37-recent-bootnodes" } -polkadot-core-primitives = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.37-recent-bootnodes" } -polkadot-node-core-av-store = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.37-recent-bootnodes" } -polkadot-node-network-protocol = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.37-recent-bootnodes" } -polkadot-node-primitives = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.37-recent-bootnodes" } -polkadot-node-subsystem = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.37-recent-bootnodes" } -polkadot-node-subsystem-util = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.37-recent-bootnodes" } -polkadot-overseer = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.37-recent-bootnodes" } -polkadot-parachain = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.37-recent-bootnodes" } -polkadot-primitives = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.37-recent-bootnodes" } -polkadot-runtime = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.37-recent-bootnodes" } -polkadot-runtime-parachains = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.37-recent-bootnodes" } -polkadot-service = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.37-recent-bootnodes" } -polkadot-test-service = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.37-recent-bootnodes" } -rococo-runtime = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.37-recent-bootnodes" } -xcm = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.37-recent-bootnodes" } -xcm-builder = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.37-recent-bootnodes" } -xcm-executor = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.37-recent-bootnodes" } +pallet-xcm = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.38-recent-bootnodes" } +polkadot-cli = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.38-recent-bootnodes" } +polkadot-client = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.38-recent-bootnodes" } +polkadot-core-primitives = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.38-recent-bootnodes" } +polkadot-node-core-av-store = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.38-recent-bootnodes" } +polkadot-node-network-protocol = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.38-recent-bootnodes" } +polkadot-node-primitives = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.38-recent-bootnodes" } +polkadot-node-subsystem = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.38-recent-bootnodes" } +polkadot-node-subsystem-util = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.38-recent-bootnodes" } +polkadot-overseer = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.38-recent-bootnodes" } +polkadot-parachain = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.38-recent-bootnodes" } +polkadot-primitives = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.38-recent-bootnodes" } +polkadot-runtime = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.38-recent-bootnodes" } +polkadot-runtime-common = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.38-recent-bootnodes" } +polkadot-runtime-parachains = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.38-recent-bootnodes" } +polkadot-service = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.38-recent-bootnodes" } +polkadot-test-service = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.38-recent-bootnodes" } +rococo-runtime = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.38-recent-bootnodes" } +xcm = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.38-recent-bootnodes" } +xcm-builder = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.38-recent-bootnodes" } +xcm-executor = { git = "https://github.com/zeitgeistpm/polkadot.git", branch = "v0.9.38-recent-bootnodes" } diff --git a/file_header.txt b/HEADER_GPL3 similarity index 93% rename from file_header.txt rename to HEADER_GPL3 index 16887b73b..3bc5ddb7c 100644 --- a/file_header.txt +++ b/HEADER_GPL3 @@ -1,3 +1,4 @@ +// Copyright 2022-2023 Forecasting Technologies LTD. // Copyright 2021-2022 Zeitgeist PM LLC. // // This file is part of Zeitgeist. diff --git a/misc/frame_weight_template.hbs b/misc/frame_weight_template.hbs index 88ff5802e..373da00e6 100644 --- a/misc/frame_weight_template.hbs +++ b/misc/frame_weight_template.hbs @@ -1,26 +1,11 @@ -// Copyright 2022-2023 Forecasting Technologies LTD. -// Copyright 2021-2022 Zeitgeist PM LLC. -// -// This file is part of Zeitgeist. -// -// Zeitgeist is free software: you can redistribute it and/or modify it -// under the terms of the GNU General Public License as published by the -// Free Software Foundation, either version 3 of the License, or (at -// your option) any later version. -// -// Zeitgeist is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with Zeitgeist. If not, see . - +{{header}} //! Autogenerated weights for {{pallet}} //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION {{version}} -//! DATE: {{date}}, STEPS: `{{cmd.steps}}`, REPEAT: {{cmd.repeat}}, LOW RANGE: `{{cmd.lowest_range_values}}`, HIGH RANGE: `{{cmd.highest_range_values}}` -//! EXECUTION: {{cmd.execution}}, WASM-EXECUTION: {{cmd.wasm_execution}}, CHAIN: {{cmd.chain}}, DB CACHE: {{cmd.db_cache}} +//! DATE: `{{date}}`, STEPS: `{{cmd.steps}}`, REPEAT: `{{cmd.repeat}}`, LOW RANGE: `{{cmd.lowest_range_values}}`, HIGH RANGE: `{{cmd.highest_range_values}}` +//! WORST CASE MAP SIZE: `{{cmd.worst_case_map_values}}` +//! HOSTNAME: `{{hostname}}`, CPU: `{{cpuname}}` +//! EXECUTION: `{{cmd.execution}}`, WASM-EXECUTION: `{{cmd.wasm_execution}}`, CHAIN: `{{cmd.chain}}`, DB CACHE: `{{cmd.db_cache}}` // Executed Command: {{#each args as |arg|}} @@ -38,30 +23,38 @@ pub struct WeightInfo(PhantomData); impl {{pallet}}::weights::WeightInfo for WeightInfo { {{#each benchmarks as |benchmark|}} {{#each benchmark.comments as |comment|}} - // {{comment}} + /// {{comment}} {{/each}} fn {{benchmark.name~}} ( {{~#each benchmark.components as |c| ~}} {{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}} ) -> Weight { + // Proof Size summary in bytes: + // Measured: `{{benchmark.base_recorded_proof_size}}{{#each benchmark.component_recorded_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}` + // Estimated: `{{benchmark.base_calculated_proof_size}}{{#each benchmark.component_calculated_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}` + // Minimum execution time: {{underscore benchmark.min_execution_time}} nanoseconds. + {{#if (ne benchmark.base_calculated_proof_size "0")}} + Weight::from_parts({{underscore benchmark.base_weight}}, {{benchmark.base_calculated_proof_size}}) + {{else}} Weight::from_ref_time({{underscore benchmark.base_weight}}) + {{/if}} {{#each benchmark.component_weight as |cw|}} // Standard Error: {{underscore cw.error}} .saturating_add(Weight::from_ref_time({{underscore cw.slope}}).saturating_mul({{cw.name}}.into())) {{/each}} {{#if (ne benchmark.base_reads "0")}} - .saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}})) + .saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}}_u64)) {{/if}} {{#each benchmark.component_reads as |cr|}} .saturating_add(T::DbWeight::get().reads(({{cr.slope}}_u64).saturating_mul({{cr.name}}.into()))) {{/each}} {{#if (ne benchmark.base_writes "0")}} - .saturating_add(T::DbWeight::get().writes({{benchmark.base_writes}})) + .saturating_add(T::DbWeight::get().writes({{benchmark.base_writes}}_u64)) {{/if}} - {{#each benchmark.component_writes as |cw|}} - .saturating_add(T::DbWeight::get().writes(({{cw.slope}}_u64).saturating_mul({{cw.name}}.into()))) - {{/each}} + {{#each benchmark.component_calculated_proof_size as |cp|}} + .saturating_add(Weight::from_proof_size({{cp.slope}}).saturating_mul({{cp.name}}.into())) + {{/each}} } {{/each}} } diff --git a/misc/orml_weight_template.hbs b/misc/orml_weight_template.hbs index 1fcc3355b..eec55f462 100644 --- a/misc/orml_weight_template.hbs +++ b/misc/orml_weight_template.hbs @@ -1,27 +1,11 @@ -// Copyright 2022-2023 Forecasting Technologies LTD. -// Copyright 2021-2022 Zeitgeist PM LLC. -// -// This file is part of Zeitgeist. -// -// Zeitgeist is free software: you can redistribute it and/or modify it -// under the terms of the GNU General Public License as published by the -// Free Software Foundation, either version 3 of the License, or (at -// your option) any later version. -// -// Zeitgeist is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with Zeitgeist. If not, see . - {{header}} //! Autogenerated weights for {{pallet}} //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION {{version}} -//! DATE: {{date}}, STEPS: `{{cmd.steps}}`, REPEAT: {{cmd.repeat}}, LOW RANGE: `{{cmd.lowest_range_values}}`, HIGH RANGE: `{{cmd.highest_range_values}}` -//! EXECUTION: {{cmd.execution}}, WASM-EXECUTION: {{cmd.wasm_execution}}, CHAIN: {{cmd.chain}}, DB CACHE: {{cmd.db_cache}} +//! DATE: `{{date}}`, STEPS: `{{cmd.steps}}`, REPEAT: `{{cmd.repeat}}`, LOW RANGE: `{{cmd.lowest_range_values}}`, HIGH RANGE: `{{cmd.highest_range_values}}` +//! WORST CASE MAP SIZE: `{{cmd.worst_case_map_values}}` +//! HOSTNAME: `{{hostname}}`, CPU: `{{cpuname}}` +//! EXECUTION: `{{cmd.execution}}`, WASM-EXECUTION: `{{cmd.wasm_execution}}`, CHAIN: `{{cmd.chain}}`, DB CACHE: `{{cmd.db_cache}}` // Executed Command: {{#each args as |arg|}} @@ -39,30 +23,38 @@ pub struct WeightInfo(PhantomData); impl {{pallet}}::WeightInfo for WeightInfo { {{#each benchmarks as |benchmark|}} {{#each benchmark.comments as |comment|}} - // {{comment}} + /// {{comment}} {{/each}} fn {{benchmark.name~}} ( {{~#each benchmark.components as |c| ~}} {{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}} ) -> Weight { + // Proof Size summary in bytes: + // Measured: `{{benchmark.base_recorded_proof_size}}{{#each benchmark.component_recorded_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}` + // Estimated: `{{benchmark.base_calculated_proof_size}}{{#each benchmark.component_calculated_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}` + // Minimum execution time: {{underscore benchmark.min_execution_time}} nanoseconds. + {{#if (ne benchmark.base_calculated_proof_size "0")}} + Weight::from_parts({{underscore benchmark.base_weight}}, {{benchmark.base_calculated_proof_size}}) + {{else}} Weight::from_ref_time({{underscore benchmark.base_weight}}) + {{/if}} {{#each benchmark.component_weight as |cw|}} // Standard Error: {{underscore cw.error}} .saturating_add(Weight::from_ref_time({{underscore cw.slope}}).saturating_mul({{cw.name}}.into())) {{/each}} {{#if (ne benchmark.base_reads "0")}} - .saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}})) + .saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}}_u64)) {{/if}} {{#each benchmark.component_reads as |cr|}} .saturating_add(T::DbWeight::get().reads(({{cr.slope}}_u64).saturating_mul({{cr.name}}.into()))) {{/each}} {{#if (ne benchmark.base_writes "0")}} - .saturating_add(T::DbWeight::get().writes({{benchmark.base_writes}})) + .saturating_add(T::DbWeight::get().writes({{benchmark.base_writes}}_u64)) {{/if}} - {{#each benchmark.component_writes as |cw|}} - .saturating_add(T::DbWeight::get().writes(({{cw.slope}}_u64).saturating_mul({{cw.name}}.into()))) - {{/each}} + {{#each benchmark.component_calculated_proof_size as |cp|}} + .saturating_add(Weight::from_proof_size({{cp.slope}}).saturating_mul({{cp.name}}.into())) + {{/each}} } {{/each}} } diff --git a/misc/weight_template.hbs b/misc/weight_template.hbs index c5c0ec357..30c93b830 100644 --- a/misc/weight_template.hbs +++ b/misc/weight_template.hbs @@ -1,27 +1,11 @@ -// Copyright 2022-2023 Forecasting Technologies LTD. -// Copyright 2021-2022 Zeitgeist PM LLC. -// -// This file is part of Zeitgeist. -// -// Zeitgeist is free software: you can redistribute it and/or modify it -// under the terms of the GNU General Public License as published by the -// Free Software Foundation, either version 3 of the License, or (at -// your option) any later version. -// -// Zeitgeist is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with Zeitgeist. If not, see . - {{header}} //! Autogenerated weights for {{pallet}} //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION {{version}} -//! DATE: {{date}}, STEPS: `{{cmd.steps}}`, REPEAT: {{cmd.repeat}}, LOW RANGE: `{{cmd.lowest_range_values}}`, HIGH RANGE: `{{cmd.highest_range_values}}` -//! EXECUTION: {{cmd.execution}}, WASM-EXECUTION: {{cmd.wasm_execution}}, CHAIN: {{cmd.chain}}, DB CACHE: {{cmd.db_cache}} +//! DATE: `{{date}}`, STEPS: `{{cmd.steps}}`, REPEAT: `{{cmd.repeat}}`, LOW RANGE: `{{cmd.lowest_range_values}}`, HIGH RANGE: `{{cmd.highest_range_values}}` +//! WORST CASE MAP SIZE: `{{cmd.worst_case_map_values}}` +//! HOSTNAME: `{{hostname}}`, CPU: `{{cpuname}}` +//! EXECUTION: `{{cmd.execution}}`, WASM-EXECUTION: `{{cmd.wasm_execution}}`, CHAIN: `{{cmd.chain}}`, DB CACHE: `{{cmd.db_cache}}` // Executed Command: {{#each args as |arg|}} @@ -51,30 +35,38 @@ pub struct WeightInfo(PhantomData); impl WeightInfoZeitgeist for WeightInfo { {{#each benchmarks as |benchmark|}} {{#each benchmark.comments as |comment|}} - // {{comment}} + /// {{comment}} {{/each}} fn {{benchmark.name~}} ( {{~#each benchmark.components as |c| ~}} {{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}} ) -> Weight { + // Proof Size summary in bytes: + // Measured: `{{benchmark.base_recorded_proof_size}}{{#each benchmark.component_recorded_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}` + // Estimated: `{{benchmark.base_calculated_proof_size}}{{#each benchmark.component_calculated_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}` + // Minimum execution time: {{underscore benchmark.min_execution_time}} nanoseconds. + {{#if (ne benchmark.base_calculated_proof_size "0")}} + Weight::from_parts({{underscore benchmark.base_weight}}, {{benchmark.base_calculated_proof_size}}) + {{else}} Weight::from_ref_time({{underscore benchmark.base_weight}}) + {{/if}} {{#each benchmark.component_weight as |cw|}} // Standard Error: {{underscore cw.error}} .saturating_add(Weight::from_ref_time({{underscore cw.slope}}).saturating_mul({{cw.name}}.into())) {{/each}} {{#if (ne benchmark.base_reads "0")}} - .saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}})) + .saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}}_u64)) {{/if}} {{#each benchmark.component_reads as |cr|}} .saturating_add(T::DbWeight::get().reads(({{cr.slope}}_u64).saturating_mul({{cr.name}}.into()))) {{/each}} {{#if (ne benchmark.base_writes "0")}} - .saturating_add(T::DbWeight::get().writes({{benchmark.base_writes}})) + .saturating_add(T::DbWeight::get().writes({{benchmark.base_writes}}_u64)) {{/if}} - {{#each benchmark.component_writes as |cw|}} - .saturating_add(T::DbWeight::get().writes(({{cw.slope}}_u64).saturating_mul({{cw.name}}.into()))) - {{/each}} + {{#each benchmark.component_calculated_proof_size as |cp|}} + .saturating_add(Weight::from_proof_size({{cp.slope}}).saturating_mul({{cp.name}}.into())) + {{/each}} } {{/each}} } diff --git a/node/Cargo.toml b/node/Cargo.toml index d537107fc..2309a837b 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -20,6 +20,7 @@ sc-keystore = { workspace = true } sc-rpc = { workspace = true } sc-rpc-api = { workspace = true } sc-service = { workspace = true } +sc-storage-monitor = { workspace = true } sc-sysinfo = { workspace = true } sc-telemetry = { workspace = true } sc-transaction-pool = { workspace = true } @@ -168,6 +169,7 @@ runtime-benchmarks = [ "frame-benchmarking-cli/runtime-benchmarks", "polkadot-cli?/runtime-benchmarks", "polkadot-service?/runtime-benchmarks", + "polkadot-test-service?/runtime-benchmarks", "zeitgeist-runtime?/runtime-benchmarks", ] try-runtime = [ diff --git a/node/src/cli.rs b/node/src/cli.rs index 72cfd2283..68d27a898 100644 --- a/node/src/cli.rs +++ b/node/src/cli.rs @@ -206,6 +206,10 @@ pub struct Cli { #[cfg(feature = "parachain")] #[clap(long)] pub parachain_id: Option, + + #[allow(missing_docs)] + #[clap(flatten)] + pub storage_monitor: sc_storage_monitor::StorageMonitorParams, } impl SubstrateCli for Cli { @@ -479,13 +483,13 @@ impl sc_client_api::StorageProvider for Client { match_client!(self, storage_pairs(hash, key_prefix)) } - fn storage_keys_iter<'a>( + fn storage_keys_iter( &self, hash: ::Hash, - prefix: Option<&'a StorageKey>, + prefix: Option<&StorageKey>, start_key: Option<&StorageKey>, ) -> sp_blockchain::Result< - KeyIterator<'a, >::State, Block>, + KeyIterator<>::State, Block>, > { match_client!(self, storage_keys_iter(hash, prefix, start_key)) } @@ -508,14 +512,14 @@ impl sc_client_api::StorageProvider for Client { match_client!(self, child_storage_keys(hash, child_info, key_prefix)) } - fn child_storage_keys_iter<'a>( + fn child_storage_keys_iter( &self, hash: ::Hash, child_info: ChildInfo, - prefix: Option<&'a StorageKey>, + prefix: Option<&StorageKey>, start_key: Option<&StorageKey>, ) -> sp_blockchain::Result< - KeyIterator<'a, >::State, Block>, + KeyIterator<>::State, Block>, > { match_client!(self, child_storage_keys_iter(hash, child_info, prefix, start_key)) } diff --git a/node/src/command.rs b/node/src/command.rs index e54ea6f0a..2491aa822 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -484,7 +484,7 @@ pub fn run() -> sc_cli::Result<()> { Some(Subcommand::TryRuntime) => Err("TryRuntime wasn't enabled when building the node. \ You can enable it with `--features try-runtime`." .into()), - None => none_command(&cli), + None => none_command(cli), } } @@ -499,7 +499,7 @@ fn extract_genesis_wasm(chain_spec: Box) -> sc_cli::R } #[cfg(feature = "parachain")] -fn none_command(cli: &Cli) -> sc_cli::Result<()> { +fn none_command(cli: Cli) -> sc_cli::Result<()> { let runner = cli.create_runner(&cli.run.normalize())?; runner.run_node_until_exit(|parachain_config| async move { @@ -533,14 +533,12 @@ fn none_command(cli: &Cli) -> sc_cli::Result<()> { log::info!("Parachain Account: {}", parachain_account); log::info!("Parachain genesis state: {}", genesis_state); - let hwbench = if !cli.no_hardware_benchmarks { - parachain_config.database.path().map(|database_path| { + let hwbench = (!cli.no_hardware_benchmarks) + .then_some(parachain_config.database.path().map(|database_path| { let _ = std::fs::create_dir_all(database_path); sc_sysinfo::gather_hwbench(Some(database_path)) - }) - } else { - None - }; + })) + .flatten(); log::info!( "Is collating: {}", @@ -585,31 +583,24 @@ fn none_command(cli: &Cli) -> sc_cli::Result<()> { } #[cfg(not(feature = "parachain"))] -fn none_command(cli: &Cli) -> sc_cli::Result<()> { +fn none_command(cli: Cli) -> sc_cli::Result<()> { let runner = cli.create_runner(&cli.run)?; runner.run_node_until_exit(|config| async move { match &config.chain_spec { #[cfg(feature = "with-zeitgeist-runtime")] - spec if spec.is_zeitgeist() => new_full::( - config, - cli.no_hardware_benchmarks, - ) - .map_err(sc_cli::Error::Service), + spec if spec.is_zeitgeist() => { + new_full::(config, cli) + .map_err(sc_cli::Error::Service) + } #[cfg(feature = "with-battery-station-runtime")] - _ => new_full::( - config, - cli.no_hardware_benchmarks, - ) - .map_err(sc_cli::Error::Service), + _ => new_full::(config, cli) + .map_err(sc_cli::Error::Service), #[cfg(all( not(feature = "with-battery-station-runtime"), feature = "with-zeitgeist-runtime" ))] - _ => new_full::( - config, - cli.no_hardware_benchmarks, - ) - .map_err(sc_cli::Error::Service), + _ => new_full::(config, cli) + .map_err(sc_cli::Error::Service), #[cfg(all( not(feature = "with-battery-station-runtime"), not(feature = "with-zeitgeist-runtime") diff --git a/node/src/service.rs b/node/src/service.rs index ef120727c..85797c8fb 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -201,7 +201,7 @@ pub fn new_chain_ops( #[allow(clippy::type_complexity)] fn new_chain_ops_inner( - mut config: &mut Configuration, + config: &mut Configuration, ) -> Result< ( Arc, diff --git a/node/src/service/service_parachain.rs b/node/src/service/service_parachain.rs index eac4219a6..2a3db0ca2 100644 --- a/node/src/service/service_parachain.rs +++ b/node/src/service/service_parachain.rs @@ -30,14 +30,17 @@ use cumulus_client_service::{ StartCollatorParams, StartFullNodeParams, }; use cumulus_primitives_core::ParaId; -use cumulus_relay_chain_interface::{RelayChainError, RelayChainInterface}; +use cumulus_relay_chain_interface::RelayChainInterface; use nimbus_consensus::{BuildNimbusConsensusParams, NimbusConsensus}; use nimbus_primitives::NimbusId; use sc_consensus::ImportQueue; use sc_executor::{NativeElseWasmExecutor, NativeExecutionDispatch}; use sc_network::NetworkService; use sc_network_common::service::NetworkBlock; -use sc_service::{Configuration, PartialComponents, TFullBackend, TFullClient, TaskManager}; +use sc_service::{ + error::{Error as ServiceError, Result as ServiceResult}, + Configuration, PartialComponents, TFullBackend, TFullClient, TaskManager, +}; use sc_telemetry::{Telemetry, TelemetryHandle, TelemetryWorker, TelemetryWorkerHandle}; use sp_api::ConstructRuntimeApi; use sp_keystore::SyncCryptoStorePtr; @@ -66,7 +69,7 @@ pub async fn new_full( polkadot_config: Configuration, hwbench: Option, collator_options: CollatorOptions, -) -> sc_service::error::Result<(TaskManager, Arc>)> +) -> ServiceResult<(TaskManager, Arc>)> where RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, @@ -165,7 +168,7 @@ where #[allow(clippy::type_complexity)] pub fn new_partial( config: &Configuration, -) -> Result, sc_service::error::Error> +) -> Result, ServiceError> where RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, @@ -254,7 +257,7 @@ async fn do_new_full( build_consensus: BIC, hwbench: Option, collator_options: CollatorOptions, -) -> sc_service::error::Result<(TaskManager, Arc>)> +) -> ServiceResult<(TaskManager, Arc>)> where RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, @@ -274,7 +277,7 @@ where Arc>, SyncCryptoStorePtr, bool, - ) -> Result>, sc_service::Error>, + ) -> Result>, ServiceError>, { let parachain_config = prepare_node_config(parachain_config); @@ -294,13 +297,9 @@ where hwbench.clone(), ) .await - .map_err(|e| match e { - RelayChainError::ServiceError(polkadot_service::Error::Sub(x)) => x, - s => s.to_string().into(), - })?; + .map_err(|e| ServiceError::Application(Box::new(e) as Box<_>))?; let block_announce_validator = BlockAnnounceValidator::new(relay_chain_interface.clone(), id); - let force_authoring = parachain_config.force_authoring; let collator = parachain_config.role.is_authority(); let prometheus_registry = parachain_config.prometheus_registry().cloned(); @@ -400,9 +399,8 @@ where spawner, parachain_consensus, import_queue: import_queue_service, - collator_key: collator_key.ok_or_else(|| { - sc_service::error::Error::Other("Collator Key is None".to_string()) - })?, + collator_key: collator_key + .ok_or_else(|| ServiceError::Other("Collator Key is None".to_string()))?, relay_chain_slot_duration, }; diff --git a/node/src/service/service_standalone.rs b/node/src/service/service_standalone.rs index e4533ad7c..28b8dc043 100644 --- a/node/src/service/service_standalone.rs +++ b/node/src/service/service_standalone.rs @@ -18,7 +18,10 @@ //! Service and ServiceFactory implementation. Specialized wrapper over substrate service. -use crate::service::{AdditionalRuntimeApiCollection, RuntimeApiCollection}; +use crate::{ + cli::Cli, + service::{AdditionalRuntimeApiCollection, RuntimeApiCollection}, +}; use sc_client_api::BlockBackend; use sc_consensus_aura::{ImportQueueParams, SlotProportion, StartAuraParams}; use sc_executor::{NativeElseWasmExecutor, NativeExecutionDispatch}; @@ -41,7 +44,7 @@ type FullSelectChain = sc_consensus::LongestChain; /// Builds a new service for a full client. pub fn new_full( mut config: Configuration, - disable_hardware_benchmarks: bool, + cli: Cli, ) -> Result where RuntimeApi: @@ -52,14 +55,12 @@ where >, Executor: NativeExecutionDispatch + 'static, { - let hwbench = if !disable_hardware_benchmarks { - config.database.path().map(|database_path| { + let hwbench = (cli.no_hardware_benchmarks) + .then_some(config.database.path().map(|database_path| { let _ = std::fs::create_dir_all(&database_path); sc_sysinfo::gather_hwbench(Some(database_path)) - }) - } else { - None - }; + })) + .flatten(); let sc_service::PartialComponents { client, @@ -122,6 +123,7 @@ where let name = config.network.node_name.clone(); let enable_grandpa = !config.disable_grandpa; let prometheus_registry = config.prometheus_registry().cloned(); + let database = config.database.clone(); let rpc_builder = { let client = client.clone(); @@ -145,7 +147,7 @@ where tx_handler_controller: tx_handler_controller, backend, system_rpc_tx, - config, + config: config, telemetry: telemetry.as_mut(), })?; @@ -203,6 +205,12 @@ where }, )?; + sc_storage_monitor::StorageMonitorService::try_spawn( + cli.storage_monitor, + database, + &task_manager.spawn_essential_handle(), + )?; + // the AURA authoring task is considered essential, i.e. if it // fails we take down the service with it. task_manager.spawn_essential_handle().spawn_blocking("aura", Some("block-authoring"), aura); diff --git a/runtime/battery-station/src/integration_tests/xcm/setup.rs b/runtime/battery-station/src/integration_tests/xcm/setup.rs index e8a57c2db..6086541ee 100644 --- a/runtime/battery-station/src/integration_tests/xcm/setup.rs +++ b/runtime/battery-station/src/integration_tests/xcm/setup.rs @@ -166,7 +166,7 @@ pub(super) fn register_foreign_ztg(additional_meta: Option) { name: "Zeitgeist".into(), symbol: "ZTG".into(), existential_deposit: ExistentialDeposit::get(), - location: Some(VersionedMultiLocation::V1(foreign_ztg_multilocation())), + location: Some(VersionedMultiLocation::V3(foreign_ztg_multilocation())), additional: additional_meta.unwrap_or_default(), }; @@ -179,7 +179,7 @@ pub(super) fn register_btc(additional_meta: Option) { name: "Bitcoin".into(), symbol: "BTC".into(), existential_deposit: ExistentialDeposit::get(), - location: Some(VersionedMultiLocation::V1(foreign_sibling_multilocation())), + location: Some(VersionedMultiLocation::V3(foreign_sibling_multilocation())), additional: additional_meta.unwrap_or_default(), }; @@ -193,7 +193,7 @@ pub(super) fn register_foreign_sibling(additional_meta: Option) name: "Sibling".into(), symbol: "SBL".into(), existential_deposit: ExistentialDeposit::get(), - location: Some(VersionedMultiLocation::V1(foreign_sibling_multilocation())), + location: Some(VersionedMultiLocation::V3(foreign_sibling_multilocation())), additional: additional_meta.unwrap_or_default(), }; @@ -211,7 +211,7 @@ pub(super) fn register_foreign_parent(additional_meta: Option) { name: "Rococo".into(), symbol: "ROC".into(), existential_deposit: 33_333_333, // 0.0033333333 - location: Some(VersionedMultiLocation::V1(foreign_parent_multilocation())), + location: Some(VersionedMultiLocation::V3(foreign_parent_multilocation())), additional: additional_meta.unwrap_or_default(), }; diff --git a/runtime/battery-station/src/integration_tests/xcm/tests/currency_id_convert.rs b/runtime/battery-station/src/integration_tests/xcm/tests/currency_id_convert.rs index cda575235..539ee4afa 100644 --- a/runtime/battery-station/src/integration_tests/xcm/tests/currency_id_convert.rs +++ b/runtime/battery-station/src/integration_tests/xcm/tests/currency_id_convert.rs @@ -1,4 +1,4 @@ -// Copyright 2022 Forecasting Technologies LTD. +// Copyright 2022-2023 Forecasting Technologies LTD. // Copyright 2021 Centrifuge Foundation (centrifuge.io). // // This file is part of Zeitgeist. @@ -110,7 +110,7 @@ fn convert_unkown_multilocation() { MultiLocation::new(1, X2(Parachain(battery_station::ID), general_key(&[42]))); Zeitgeist::execute_with(|| { - assert!(>::convert(unknown_location.clone()).is_err()); + assert!(>::convert(unknown_location).is_err()); }); } diff --git a/runtime/battery-station/src/integration_tests/xcm/tests/transfers.rs b/runtime/battery-station/src/integration_tests/xcm/tests/transfers.rs index 9606d4390..d817d27cf 100644 --- a/runtime/battery-station/src/integration_tests/xcm/tests/transfers.rs +++ b/runtime/battery-station/src/integration_tests/xcm/tests/transfers.rs @@ -32,8 +32,8 @@ use crate::{ use frame_support::assert_ok; use orml_traits::MultiCurrency; -use xcm::latest::{Junction, Junction::*, Junctions::*, MultiLocation, NetworkId}; -use xcm_emulator::{Limited, TestExt}; +use xcm::latest::{Junction, Junction::*, Junctions::*, MultiLocation, WeightLimit}; +use xcm_emulator::TestExt; use zeitgeist_primitives::{ constants::{BalanceFractionalDecimals, BASE}, types::{CustomMetadata, XcmMetadata}, @@ -66,12 +66,12 @@ fn transfer_ztg_to_sibling() { 1, X2( Parachain(PARA_ID_SIBLING), - Junction::AccountId32 { network: NetworkId::Any, id: BOB.into() } + Junction::AccountId32 { network: None, id: BOB.into() } ) ) .into() ), - Limited(4_000_000_000), + WeightLimit::Limited(4_000_000_000.into()), )); // Confirm that Alice's balance is initial_balance - amount_transferred @@ -133,12 +133,12 @@ fn transfer_ztg_sibling_to_zeitgeist() { 1, X2( Parachain(battery_station::ID), - Junction::AccountId32 { network: NetworkId::Any, id: ALICE.into() } + Junction::AccountId32 { network: None, id: ALICE.into() } ) ) .into() ), - Limited(4_000_000_000), + WeightLimit::Limited(4_000_000_000.into()), )); // Confirm that Bobs's balance is initial balance - amount transferred @@ -203,12 +203,12 @@ fn transfer_btc_sibling_to_zeitgeist() { 1, X2( Parachain(battery_station::ID), - Junction::AccountId32 { network: NetworkId::Any, id: ALICE.into() } + Junction::AccountId32 { network: None, id: ALICE.into() } ) ) .into() ), - Limited(4_000_000_000), + WeightLimit::Limited(4_000_000_000.into()), )); // Confirm that Alice's balance is initial_balance - amount_transferred @@ -257,12 +257,12 @@ fn transfer_btc_zeitgeist_to_sibling() { 1, X2( Parachain(PARA_ID_SIBLING), - Junction::AccountId32 { network: NetworkId::Any, id: BOB.into() } + Junction::AccountId32 { network: None, id: BOB.into() } ) ) .into() ), - Limited(4_000_000_000), + WeightLimit::Limited(4_000_000_000.into()), )); // Confirm that Alice's balance is initial_balance - amount_transferred @@ -300,10 +300,8 @@ fn transfer_roc_from_relay_chain() { assert_ok!(rococo_runtime::XcmPallet::reserve_transfer_assets( rococo_runtime::RuntimeOrigin::signed(ALICE), - Box::new(Parachain(battery_station::ID).into().into()), - Box::new( - Junction::AccountId32 { network: NetworkId::Any, id: BOB.into() }.into().into() - ), + Box::new(Parachain(battery_station::ID).into()), + Box::new(Junction::AccountId32 { network: None, id: BOB.into() }.into()), Box::new((Here, transfer_amount).into()), 0 )); @@ -333,13 +331,10 @@ fn transfer_roc_to_relay_chain() { FOREIGN_PARENT_ID, transfer_amount, Box::new( - MultiLocation::new( - 1, - X1(Junction::AccountId32 { id: BOB.into(), network: NetworkId::Any }) - ) - .into() + MultiLocation::new(1, X1(Junction::AccountId32 { id: BOB.into(), network: None })) + .into() ), - Limited(4_000_000_000) + WeightLimit::Limited(4_000_000_000.into()) )); assert_eq!( @@ -349,7 +344,7 @@ fn transfer_roc_to_relay_chain() { }); RococoNet::execute_with(|| { - assert_eq!(rococo_runtime::Balances::free_balance(&BOB), 999_988_690_728); + assert_eq!(rococo_runtime::Balances::free_balance(&BOB), 999_990_415_728); }); } @@ -396,12 +391,12 @@ fn transfer_ztg_to_sibling_with_custom_fee() { 1, X2( Parachain(PARA_ID_SIBLING), - Junction::AccountId32 { network: NetworkId::Any, id: BOB.into() } + Junction::AccountId32 { network: None, id: BOB.into() } ) ) .into() ), - Limited(4_000_000_000), + WeightLimit::Limited(4_000_000_000.into()), )); // Confirm that Alice's balance is initial_balance - amount_transferred @@ -428,8 +423,8 @@ fn transfer_ztg_to_sibling_with_custom_fee() { #[test] fn test_total_fee() { - assert_eq!(ztg_fee(), 80_824_000); - assert_eq!(roc_fee(), 8_082_400_000); + assert_eq!(ztg_fee(), 80_128_000); + assert_eq!(roc_fee(), 8_012_800_000); } #[inline] diff --git a/runtime/battery-station/src/lib.rs b/runtime/battery-station/src/lib.rs index fed00cd1e..4b050f78c 100644 --- a/runtime/battery-station/src/lib.rs +++ b/runtime/battery-station/src/lib.rs @@ -70,7 +70,7 @@ use zrml_swaps::Call::{ #[cfg(feature = "parachain")] use { frame_support::traits::{AsEnsureOriginWithArg, Everything, Nothing}, - xcm_builder::{EnsureXcmOrigin, FixedWeightBounds, LocationInverter}, + xcm_builder::{EnsureXcmOrigin, FixedWeightBounds}, xcm_config::{ asset_registry::CustomAssetProcessor, config::{LocalOriginToLocation, XcmConfig, XcmOriginToTransactDispatchOrigin, XcmRouter}, diff --git a/runtime/battery-station/src/parachain_params.rs b/runtime/battery-station/src/parachain_params.rs index c906fcfe7..3038cbd6d 100644 --- a/runtime/battery-station/src/parachain_params.rs +++ b/runtime/battery-station/src/parachain_params.rs @@ -27,7 +27,11 @@ use super::{parameters::MAXIMUM_BLOCK_WEIGHT, ParachainInfo, RuntimeOrigin}; use frame_support::{parameter_types, weights::Weight}; use orml_traits::parameter_type_with_key; use sp_runtime::{Perbill, Percent}; -use xcm::latest::{prelude::X1, Junction::Parachain, MultiLocation, NetworkId}; +use xcm::latest::{ + prelude::{GlobalConsensus, InteriorMultiLocation, X1, X2}, + Junction::Parachain, + MultiLocation, NetworkId, +}; use zeitgeist_primitives::{ constants::{BASE, BLOCKS_PER_MINUTE}, types::Balance, @@ -39,13 +43,11 @@ parameter_types! { pub const CollatorDeposit: Balance = 2 * BASE; // Cumulus and Polkadot - pub Ancestry: MultiLocation = Parachain(ParachainInfo::parachain_id().into()).into(); - pub const RelayLocation: MultiLocation = MultiLocation::parent(); - pub const RelayNetwork: NetworkId = NetworkId::Any; + pub const RelayNetwork: NetworkId = NetworkId::Rococo; pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into(); - pub UnitWeightCost: u64 = 200_000_000; + pub UnitWeightCost: Weight = Weight::from_parts(200_000_000u64, 0); // Staking /// Rounds before the candidate bond increase/decrease can be executed @@ -83,14 +85,26 @@ parameter_types! { // XCM /// Base weight for XCM execution - pub const BaseXcmWeight: u64 = 200_000_000; + pub const BaseXcmWeight: Weight = Weight::from_parts(200_000_000u64, 0); /// The maximum number of distinct assets allowed to be transferred in a - /// single helper extrinsic. + /// single helper extrinsic pub const MaxAssetsForTransfer: usize = 2; + /// Maximum amount of tokens the holding register can store + pub const MaxAssetsIntoHolding: u32 = 64; /// Max instructions per XCM pub const MaxInstructions: u32 = 100; - // Relative self location + + /// Relative self location pub SelfLocation: MultiLocation = MultiLocation::new(1, X1(Parachain(ParachainInfo::parachain_id().into()))); + /// This chain's Universal Location + pub UniversalLocation: InteriorMultiLocation = X2(GlobalConsensus(RelayNetwork::get()), Parachain(ParachainInfo::parachain_id().into())); +} + +#[cfg(feature = "runtime-benchmarks")] +parameter_types! { + // XCM + /// A `MultiLocation` that can be reached via `XcmRouter`. Used only in benchmarks. + pub ReachableDest: Option = Some(xcm::latest::prelude::Parent.into()); } parameter_type_with_key! { diff --git a/runtime/battery-station/src/parameters.rs b/runtime/battery-station/src/parameters.rs index f8b5a6388..c4e5cf874 100644 --- a/runtime/battery-station/src/parameters.rs +++ b/runtime/battery-station/src/parameters.rs @@ -55,14 +55,21 @@ pub(crate) const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(75); pub(crate) const FEES_AND_TIPS_TREASURY_PERCENTAGE: u32 = 100; pub(crate) const FEES_AND_TIPS_BURN_PERCENTAGE: u32 = 0; +#[cfg(not(feature = "parachain"))] +parameter_types! { + // Aura + pub const MaxAuthorities: u32 = 32; + + // Grandpa + // Can be 0, as equivocation handling is not enabled (HandleEquivocation = ()) + pub const MaxSetIdSessionEntries: u32 = 0; +} + parameter_types! { // Authorized pub const AuthorizedPalletId: PalletId = AUTHORIZED_PALLET_ID; pub const CorrectionPeriod: BlockNumber = BLOCKS_PER_DAY; - // Authority - pub const MaxAuthorities: u32 = 32; - // Balance pub const ExistentialDeposit: u128 = 5 * MILLI; pub const MaxLocks: u32 = 50; @@ -91,7 +98,7 @@ parameter_types! { .unwrap_or(RuntimeBlockWeights::get().max_block); pub const ContractsDepositPerByte: Balance = deposit(0,1); pub const ContractsDepositPerItem: Balance = deposit(1,0); - pub const ContractsMaxCodeLen: u32 = 246 * 1024; + pub const ContractsMaxCodeLen: u32 = 123 * 1024; pub const ContractsMaxDebugBufferLen: u32 = 2 * 1024 * 1024; pub const ContractsMaxStorageKeyLen: u32 = 128; pub const ContractsUnsafeUnstableInterface: bool = true; diff --git a/runtime/battery-station/src/xcm_config/config.rs b/runtime/battery-station/src/xcm_config/config.rs index d9d437409..adc09a7de 100644 --- a/runtime/battery-station/src/xcm_config/config.rs +++ b/runtime/battery-station/src/xcm_config/config.rs @@ -17,16 +17,16 @@ use super::fees::{native_per_second, FixedConversionRateProvider}; use crate::{ - AccountId, Ancestry, AssetManager, AssetRegistry, Balance, CurrencyId, MaxInstructions, - ParachainInfo, ParachainSystem, PolkadotXcm, RelayChainOrigin, RelayNetwork, RuntimeCall, - RuntimeOrigin, UnitWeightCost, UnknownTokens, XcmpQueue, ZeitgeistTreasuryAccount, + AccountId, AssetManager, AssetRegistry, Balance, CurrencyId, MaxAssetsIntoHolding, + MaxInstructions, ParachainInfo, ParachainSystem, PolkadotXcm, RelayChainOrigin, RelayNetwork, + RuntimeCall, RuntimeOrigin, UnitWeightCost, UniversalLocation, UnknownTokens, XcmpQueue, + ZeitgeistTreasuryAccount, }; - -use core::marker::PhantomData; +use alloc::vec::Vec; +use core::{cmp::min, marker::PhantomData}; use frame_support::{ parameter_types, - traits::{ConstU8, Everything, Get}, - WeakBoundedVec, + traits::{ConstU8, Everything, Get, Nothing}, }; use orml_asset_registry::{AssetRegistryTrader, FixedRateAssetRegistryTrader}; use orml_traits::{asset_registry::Inspect, location::AbsoluteReserveProvider, MultiCurrency}; @@ -38,15 +38,15 @@ use polkadot_parachain::primitives::Sibling; use sp_runtime::traits::Convert; use xcm::{ latest::{ - prelude::{AccountId32, AssetId, Concrete, GeneralKey, MultiAsset, NetworkId, X1, X2}, + prelude::{AccountId32, AssetId, Concrete, GeneralKey, MultiAsset, XcmContext, X1, X2}, Error as XcmError, Junction, MultiLocation, Result as XcmResult, }, opaque::latest::Fungibility::Fungible, }; use xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, - AllowTopLevelPaidExecutionFrom, FixedRateOfFungible, FixedWeightBounds, LocationInverter, - ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, + AllowTopLevelPaidExecutionFrom, FixedRateOfFungible, FixedWeightBounds, ParentIsPreset, + RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeRevenue, TakeWeightCredit, }; @@ -65,8 +65,12 @@ pub struct XcmConfig; /// This is where we configure the core of our XCM integrations: how tokens are transferred, /// how fees are calculated, what barriers we impose on incoming XCM messages, etc. impl Config for XcmConfig { + /// Handler for exchanging assets. + type AssetExchanger = (); /// The handler for when there is an instruction to claim assets. type AssetClaims = PolkadotXcm; + /// Handler for asset locking. + type AssetLocker = (); /// How to withdraw and deposit an asset. type AssetTransactor = AlignedFractionalMultiAssetTransactor; /// The general asset trap - handler for when assets are left in the Holding Register at the @@ -74,23 +78,38 @@ impl Config for XcmConfig { type AssetTrap = PolkadotXcm; /// Additional filters that specify whether the XCM instruction should be executed at all. type Barrier = Barrier; - /// The outer call dispatch type. - type RuntimeCall = RuntimeCall; + /// XCM will use this to dispatch any calls + type CallDispatcher = RuntimeCall; + /// Configure the fees. + type FeeManager = (); /// Combinations of (Location, Asset) pairs which are trusted as reserves. // Trust the parent chain, sibling parachains and children chains of this chain. type IsReserve = MultiNativeAsset; /// Combinations of (Location, Asset) pairs which we trust as teleporters. type IsTeleporter = (); - /// Means of inverting a location. - type LocationInverter = LocationInverter; + /// Maximum amount of tokens the holding register can store + type MaxAssetsIntoHolding = MaxAssetsIntoHolding; + /// The method of exporting a message. + type MessageExporter = (); /// How to get a call origin from a `OriginKind` value. type OriginConverter = XcmOriginToTransactDispatchOrigin; + /// Information on all pallets. + type PalletInstancesInfo = crate::AllPalletsWithSystem; /// Module that handles responses of queries. type ResponseHandler = PolkadotXcm; + /// The outer call dispatch type. + type RuntimeCall = RuntimeCall; + /// The safe call filter for `Transact`. + type SafeCallFilter = Nothing; /// Module that handles subscription requests. type SubscriptionService = PolkadotXcm; /// The means of purchasing weight credit for XCM execution. type Trader = Trader; + /// The origin locations and specific universal junctions to which they are allowed to elevate + /// themselves. + type UniversalAliases = Nothing; + /// This chain's Universal Location. + type UniversalLocation = UniversalLocation; /// The means of determining an XCM message's weight. // Adds UnitWeightCost per instruction plus the weight of each instruction. // The total number of instructions are bounded by MaxInstructions @@ -146,20 +165,22 @@ impl TakeRevenue for ToTreasury { parameter_types! { pub CheckAccount: AccountId = PolkadotXcm::check_account(); /// The amount of ZTG charged per second of execution (canonical multilocation). - pub ZtgPerSecondCanonical: (AssetId, u128) = ( + pub ZtgPerSecondCanonical: (AssetId, u128, u128) = ( MultiLocation::new( 0, X1(general_key(battery_station::KEY)), ).into(), native_per_second(), + 0, ); /// The amount of canonical ZTG charged per second of execution. - pub ZtgPerSecond: (AssetId, u128) = ( + pub ZtgPerSecond: (AssetId, u128, u128) = ( MultiLocation::new( 1, X2(Junction::Parachain(ParachainInfo::parachain_id().into()), general_key(battery_station::KEY)), ).into(), native_per_second(), + 0, ); } @@ -238,23 +259,32 @@ impl< TransactAssetDelegate, > { - fn deposit_asset(asset: &MultiAsset, location: &MultiLocation) -> XcmResult { + fn deposit_asset( + asset: &MultiAsset, + location: &MultiLocation, + context: &XcmContext, + ) -> XcmResult { let asset_adjusted = Self::adjust_fractional_places(asset); - TransactAssetDelegate::deposit_asset(&asset_adjusted, location) + TransactAssetDelegate::deposit_asset(&asset_adjusted, location, context) } - fn withdraw_asset(asset: &MultiAsset, location: &MultiLocation) -> Result { + fn withdraw_asset( + asset: &MultiAsset, + location: &MultiLocation, + maybe_context: Option<&XcmContext>, + ) -> Result { let asset_adjusted = Self::adjust_fractional_places(asset); - TransactAssetDelegate::withdraw_asset(&asset_adjusted, location) + TransactAssetDelegate::withdraw_asset(&asset_adjusted, location, maybe_context) } fn transfer_asset( asset: &MultiAsset, from: &MultiLocation, to: &MultiLocation, + context: &XcmContext, ) -> Result { let asset_adjusted = Self::adjust_fractional_places(asset); - TransactAssetDelegate::transfer_asset(&asset_adjusted, from, to) + TransactAssetDelegate::transfer_asset(&asset_adjusted, from, to, context) } } @@ -316,9 +346,11 @@ impl Convert> for AssetConvert { /// correctly convert their `MultiLocation` representation into our internal `Asset` type. impl xcm_executor::traits::Convert for AssetConvert { fn convert(location: MultiLocation) -> Result { - match location.clone() { - MultiLocation { parents: 0, interior: X1(GeneralKey(key)) } => { - if &key[..] == battery_station::KEY { + match location { + MultiLocation { parents: 0, interior: X1(GeneralKey { data, length }) } => { + let key = &data[..data.len().min(length as usize)]; + + if key == battery_station::KEY { return Ok(CurrencyId::Ztg); } @@ -326,19 +358,21 @@ impl xcm_executor::traits::Convert for AssetConvert { } MultiLocation { parents: 1, - interior: X2(Junction::Parachain(para_id), GeneralKey(key)), + interior: X2(Junction::Parachain(para_id), GeneralKey { data, length }), } => { + let key = &data[..data.len().min(length as usize)]; + if para_id == u32::from(ParachainInfo::parachain_id()) { - if &key[..] == battery_station::KEY { + if key == battery_station::KEY { return Ok(CurrencyId::Ztg); } return Err(location); } - AssetRegistry::location_to_asset_id(location.clone()).ok_or(location) + AssetRegistry::location_to_asset_id(location).ok_or(location) } - _ => AssetRegistry::location_to_asset_id(location.clone()).ok_or(location), + _ => AssetRegistry::location_to_asset_id(location).ok_or(location), } } } @@ -363,7 +397,7 @@ pub struct AccountIdToMultiLocation; impl Convert for AccountIdToMultiLocation { fn convert(account: AccountId) -> MultiLocation { - X1(AccountId32 { network: NetworkId::Any, id: account.into() }).into() + X1(AccountId32 { network: None, id: account.into() }).into() } } @@ -407,12 +441,24 @@ pub type XcmOriginToTransactDispatchOrigin = ( /// queues. pub type XcmRouter = ( // Two routers - use UMP to communicate with the relay chain: - cumulus_primitives_utility::ParentAsUmp, + cumulus_primitives_utility::ParentAsUmp, // ..and XCMP to communicate with the sibling chains. XcmpQueue, ); -#[inline] -pub(crate) fn general_key(key: &[u8]) -> Junction { - GeneralKey(WeakBoundedVec::force_from(key.to_vec(), None)) +/// Build a fixed-size array using as many elements from `src` as possible +/// without overflowing and ensuring that the array is 0 padded in the case +/// where `src.len()` is smaller than S. +fn vec_to_fixed_array(src: Vec) -> [u8; S] { + let mut dest = [0; S]; + let len = min(src.len(), S); + dest[..len].copy_from_slice(&src.as_slice()[..len]); + + dest +} + +/// A utils function to un-bloat and simplify the instantiation of +/// `GeneralKey` values +pub fn general_key(data: &[u8]) -> Junction { + GeneralKey { length: data.len().min(32) as u8, data: vec_to_fixed_array(data.to_vec()) } } diff --git a/runtime/common/src/fees.rs b/runtime/common/src/fees.rs index 1010568e9..6e610adc6 100644 --- a/runtime/common/src/fees.rs +++ b/runtime/common/src/fees.rs @@ -336,7 +336,7 @@ macro_rules! fee_tests { name: "Polkadot".into(), symbol: "DOT".into(), existential_deposit: ExistentialDeposit::get(), - location: Some(xcm::VersionedMultiLocation::V1(xcm::latest::MultiLocation::parent())), + location: Some(xcm::VersionedMultiLocation::V3(xcm::latest::MultiLocation::parent())), additional: custom_metadata, }; let dot = Asset::ForeignAsset(0); @@ -402,7 +402,7 @@ macro_rules! fee_tests { name: "Polkadot".into(), symbol: "DOT".into(), existential_deposit: ExistentialDeposit::get(), - location: Some(xcm::VersionedMultiLocation::V1( + location: Some(xcm::VersionedMultiLocation::V3( xcm::latest::MultiLocation::parent(), )), additional: custom_metadata, @@ -453,7 +453,7 @@ macro_rules! fee_tests { name: "Polkadot".into(), symbol: "DOT".into(), existential_deposit: ExistentialDeposit::get(), - location: Some(xcm::VersionedMultiLocation::V1( + location: Some(xcm::VersionedMultiLocation::V3( xcm::latest::MultiLocation::parent(), )), additional: custom_metadata, @@ -522,7 +522,7 @@ macro_rules! fee_tests { name: "Polkadot".into(), symbol: "DOT".into(), existential_deposit: ExistentialDeposit::get(), - location: Some(xcm::VersionedMultiLocation::V1( + location: Some(xcm::VersionedMultiLocation::V3( xcm::latest::MultiLocation::parent(), )), additional: custom_metadata, diff --git a/runtime/common/src/lib.rs b/runtime/common/src/lib.rs index 15b926176..530beaef1 100644 --- a/runtime/common/src/lib.rs +++ b/runtime/common/src/lib.rs @@ -55,7 +55,17 @@ macro_rules! decl_common_types { type Address = sp_runtime::MultiAddress; - type Migrations = (); + #[cfg(feature = "parachain")] + type Migrations = ( + orml_asset_registry::Migration, + orml_unknown_tokens::Migration, + pallet_xcm::migration::v1::MigrateToV1, + ); + + #[cfg(not(feature = "parachain"))] + type Migrations = ( + pallet_grandpa::migrations::CleanupSetIdSessionMap, + ); pub type Executive = frame_executive::Executive< Runtime, @@ -382,8 +392,9 @@ macro_rules! impl_config_traits { type ChannelInfo = ParachainSystem; type ControllerOrigin = EnsureRootOrTwoThirdsTechnicalCommittee; type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin; - type RuntimeEvent = RuntimeEvent; type ExecuteOverweightOrigin = EnsureRootOrHalfTechnicalCommittee; + type PriceForSiblingDelivery = (); + type RuntimeEvent = RuntimeEvent; type VersionWrapper = (); type WeightInfo = weights::cumulus_pallet_xcmp_queue::WeightInfo; type XcmExecutor = xcm_executor::XcmExecutor; @@ -451,6 +462,10 @@ macro_rules! impl_config_traits { type WeightInfo = weights::pallet_author_slot_filter::WeightInfo; } + frame_support::parameter_types! { + pub const MaxSetIdSessionEntries: u32 = 12; + } + #[cfg(not(feature = "parachain"))] impl pallet_grandpa::Config for Runtime { type RuntimeEvent = RuntimeEvent; @@ -467,6 +482,7 @@ macro_rules! impl_config_traits { )>>::IdentificationTuple; type HandleEquivocation = (); type MaxAuthorities = MaxAuthorities; + type MaxSetIdSessionEntries = MaxSetIdSessionEntries; // Currently the benchmark does yield an invalid weight implementation // type WeightInfo = weights::pallet_grandpa::WeightInfo; type WeightInfo = (); @@ -474,20 +490,29 @@ macro_rules! impl_config_traits { #[cfg(feature = "parachain")] impl pallet_xcm::Config for Runtime { + type ExecuteXcmOrigin = EnsureXcmOrigin; + type RuntimeCall = RuntimeCall; type RuntimeEvent = RuntimeEvent; + type RuntimeOrigin = RuntimeOrigin; type SendXcmOrigin = EnsureXcmOrigin; - type XcmRouter = XcmRouter; - type ExecuteXcmOrigin = EnsureXcmOrigin; + type UniversalLocation = UniversalLocation; + type Weigher = FixedWeightBounds; type XcmExecuteFilter = Nothing; // ^ Disable dispatchable execute on the XCM pallet. // Needs to be `Everything` for local testing. type XcmExecutor = xcm_executor::XcmExecutor; type XcmTeleportFilter = Everything; type XcmReserveTransferFilter = Nothing; - type Weigher = FixedWeightBounds; - type LocationInverter = LocationInverter; - type RuntimeOrigin = RuntimeOrigin; - type RuntimeCall = RuntimeCall; + type XcmRouter = XcmRouter; + + type Currency = Balances; + type CurrencyMatcher = (); + type TrustedLockers = (); + type SovereignAccountOf = LocationToAccountId; + type MaxLockers = ConstU32<8>; + type WeightInfo = pallet_xcm::TestWeightInfo; + #[cfg(feature = "runtime-benchmarks")] + type ReachableDest = ReachableDest; const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100; // ^ Override for AdvertisedXcmVersion default @@ -578,12 +603,12 @@ macro_rules! impl_config_traits { type CurrencyId = CurrencyId; type CurrencyIdConvert = AssetConvert; type RuntimeEvent = RuntimeEvent; - type LocationInverter = LocationInverter; type MaxAssetsForTransfer = MaxAssetsForTransfer; type MinXcmFee = ParachainMinFee; type MultiLocationsFilter = Everything; type ReserveProvider = orml_traits::location::AbsoluteReserveProvider; type SelfLocation = SelfLocation; + type UniversalLocation = UniversalLocation; type Weigher = FixedWeightBounds; type XcmExecutor = xcm_executor::XcmExecutor; } @@ -1322,23 +1347,45 @@ macro_rules! create_runtime_api { impl BaselineConfig for Runtime {} let whitelist: Vec = vec![ - hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef702a5c1b19ab7a04f536c519aca4983ac") - .to_vec() - .into(), - hex_literal::hex!("c2261276cc9d1f8598ea4b6a74b15c2f57c875e4cff74148e4628f264b974c80") - .to_vec() - .into(), - hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef7ff553b5a9862a516939d82b3d3d8661a") - .to_vec() - .into(), - hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef70a98fdbe9ce6c55837576c60c7af3850") - .to_vec() - .into(), - hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef780d41e5e16056765bc8461851072c9d7") - .to_vec() - .into(), - hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da946c154ffd9992e395af90b5b13cc6f295c77033fce8a9045824a6690bbf99c6db269502f0a8d1d2a008542d5690a0749").to_vec().into(), - hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da95ecffd7b6c0f78751baa9d281e0bfa3a6d6f646c70792f74727372790000000000000000000000000000000000000000").to_vec().into(), + // Block Number + hex_literal::hex!( "26aa394eea5630e07c48ae0c9558cef7" + "02a5c1b19ab7a04f536c519aca4983ac") + .to_vec().into(), + // Total Issuance + hex_literal::hex!( "c2261276cc9d1f8598ea4b6a74b15c2f" + "57c875e4cff74148e4628f264b974c80") + .to_vec().into(), + // Execution Phase + hex_literal::hex!( "26aa394eea5630e07c48ae0c9558cef7" + "ff553b5a9862a516939d82b3d3d8661a") + .to_vec().into(), + // Event Count + hex_literal::hex!( "26aa394eea5630e07c48ae0c9558cef7" + "0a98fdbe9ce6c55837576c60c7af3850") + .to_vec().into(), + // System Events + hex_literal::hex!( "26aa394eea5630e07c48ae0c9558cef7" + "80d41e5e16056765bc8461851072c9d7") + .to_vec().into(), + // System BlockWeight + hex_literal::hex!( "26aa394eea5630e07c48ae0c9558cef7" + "34abf5cb34d6244378cddbf18e849d96") + .to_vec().into(), + // ParachainStaking Round + hex_literal::hex!( "a686a3043d0adcf2fa655e57bc595a78" + "13792e785168f725b60e2969c7fc2552") + .to_vec().into(), + // Treasury Account (zge/tsry) + hex_literal::hex!( "26aa394eea5630e07c48ae0c9558cef7" + "b99d880ec681799c0cf30e8886371da9" + "7be2919ac397ba499ea5e57132180ec6" + "6d6f646c7a67652f7473727900000000" + "00000000000000000000000000000000" + ).to_vec().into(), + // ParachainInfo ParachainId + hex_literal::hex!( "0d715f2646c8f85767b5d2764bb27826" + "04a74d81251e398fd8a0a4d55023bb3f") + .to_vec().into(), ]; let mut batches = Vec::::new(); @@ -1484,6 +1531,14 @@ macro_rules! create_runtime_api { ) -> pallet_transaction_payment_rpc_runtime_api::RuntimeDispatchInfo { TransactionPayment::query_info(uxt, len) } + + fn query_weight_to_fee(weight: Weight) -> Balance { + TransactionPayment::weight_to_fee(weight) + } + + fn query_length_to_fee(length: u32) -> Balance { + TransactionPayment::length_to_fee(length) + } } impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentCallApi @@ -1495,12 +1550,21 @@ macro_rules! create_runtime_api { ) -> pallet_transaction_payment::RuntimeDispatchInfo { TransactionPayment::query_call_info(call, len) } + fn query_call_fee_details( call: RuntimeCall, len: u32, ) -> pallet_transaction_payment::FeeDetails { TransactionPayment::query_call_fee_details(call, len) } + + fn query_weight_to_fee(weight: Weight) -> Balance { + TransactionPayment::weight_to_fee(weight) + } + + fn query_length_to_fee(length: u32) -> Balance { + TransactionPayment::length_to_fee(length) + } } #[cfg(feature = "parachain")] @@ -1725,20 +1789,17 @@ macro_rules! create_common_benchmark_logic { AccountId, Amount, AssetManager, Balance, CurrencyId, ExistentialDeposit, GetNativeCurrencyId, Runtime }; - use zeitgeist_primitives::{ - constants::BASE, - types::Asset, - }; - - use frame_benchmarking::{account, whitelisted_caller}; + use frame_benchmarking::{account, vec, whitelisted_caller}; use frame_system::RawOrigin; use sp_runtime::traits::UniqueSaturatedInto; - use orml_benchmarking::runtime_benchmarks; use orml_traits::MultiCurrency; + use zeitgeist_primitives::{ + constants::BASE, + types::Asset, + }; const SEED: u32 = 0; - const NATIVE: CurrencyId = GetNativeCurrencyId::get(); const ASSET: CurrencyId = Asset::CategoricalOutcome(0, 0); @@ -1841,7 +1902,7 @@ macro_rules! create_common_benchmark_logic { pub(crate) mod tokens { use super::utils::{lookup_of_account, set_balance as update_balance}; use crate::{AccountId, Balance, CurrencyId, Tokens, Runtime}; - use frame_benchmarking::{account, whitelisted_caller}; + use frame_benchmarking::{account, vec, whitelisted_caller}; use frame_system::RawOrigin; use orml_benchmarking::runtime_benchmarks; use orml_traits::MultiCurrency; diff --git a/runtime/zeitgeist/src/integration_tests/xcm/setup.rs b/runtime/zeitgeist/src/integration_tests/xcm/setup.rs index 771f178ff..a633132a6 100644 --- a/runtime/zeitgeist/src/integration_tests/xcm/setup.rs +++ b/runtime/zeitgeist/src/integration_tests/xcm/setup.rs @@ -172,7 +172,7 @@ pub(super) fn register_foreign_ztg(additional_meta: Option) { name: "Zeitgeist".into(), symbol: "ZTG".into(), existential_deposit: ExistentialDeposit::get(), - location: Some(VersionedMultiLocation::V1(foreign_ztg_multilocation())), + location: Some(VersionedMultiLocation::V3(foreign_ztg_multilocation())), additional: additional_meta.unwrap_or_default(), }; @@ -185,7 +185,7 @@ pub(super) fn register_btc(additional_meta: Option) { name: "Bitcoin".into(), symbol: "BTC".into(), existential_deposit: ExistentialDeposit::get(), - location: Some(VersionedMultiLocation::V1(foreign_sibling_multilocation())), + location: Some(VersionedMultiLocation::V3(foreign_sibling_multilocation())), additional: additional_meta.unwrap_or_default(), }; @@ -198,7 +198,7 @@ pub(super) fn register_eth(additional_meta: Option) { name: "Ethereum".into(), symbol: "ETH".into(), existential_deposit: ExistentialDeposit::get(), - location: Some(VersionedMultiLocation::V1(foreign_sibling_multilocation())), + location: Some(VersionedMultiLocation::V3(foreign_sibling_multilocation())), additional: additional_meta.unwrap_or_default(), }; @@ -212,7 +212,7 @@ pub(super) fn register_foreign_sibling(additional_meta: Option) name: "Sibling".into(), symbol: "SBL".into(), existential_deposit: ExistentialDeposit::get(), - location: Some(VersionedMultiLocation::V1(foreign_sibling_multilocation())), + location: Some(VersionedMultiLocation::V3(foreign_sibling_multilocation())), additional: additional_meta.unwrap_or_default(), }; @@ -230,7 +230,7 @@ pub(super) fn register_foreign_parent(additional_meta: Option) { name: "Polkadot".into(), symbol: "DOT".into(), existential_deposit: 10_000_000_000, // 1 - location: Some(VersionedMultiLocation::V1(foreign_parent_multilocation())), + location: Some(VersionedMultiLocation::V3(foreign_parent_multilocation())), additional: additional_meta.unwrap_or_default(), }; diff --git a/runtime/zeitgeist/src/integration_tests/xcm/tests/currency_id_convert.rs b/runtime/zeitgeist/src/integration_tests/xcm/tests/currency_id_convert.rs index 0737250aa..7fbcfa385 100644 --- a/runtime/zeitgeist/src/integration_tests/xcm/tests/currency_id_convert.rs +++ b/runtime/zeitgeist/src/integration_tests/xcm/tests/currency_id_convert.rs @@ -1,4 +1,4 @@ -// Copyright 2022 Forecasting Technologies LTD. +// Copyright 2022-2023 Forecasting Technologies LTD. // Copyright 2021 Centrifuge Foundation (centrifuge.io). // // This file is part of Zeitgeist. @@ -109,7 +109,7 @@ fn convert_unkown_multilocation() { MultiLocation::new(1, X2(Parachain(zeitgeist::ID), general_key(&[42]))); Zeitgeist::execute_with(|| { - assert!(>::convert(unknown_location.clone()).is_err()); + assert!(>::convert(unknown_location).is_err()); }); } diff --git a/runtime/zeitgeist/src/integration_tests/xcm/tests/transfers.rs b/runtime/zeitgeist/src/integration_tests/xcm/tests/transfers.rs index 03e9e18f1..5441f6517 100644 --- a/runtime/zeitgeist/src/integration_tests/xcm/tests/transfers.rs +++ b/runtime/zeitgeist/src/integration_tests/xcm/tests/transfers.rs @@ -32,8 +32,8 @@ use crate::{ use frame_support::assert_ok; use orml_traits::MultiCurrency; -use xcm::latest::{Junction, Junction::*, Junctions::*, MultiLocation, NetworkId}; -use xcm_emulator::{Limited, TestExt}; +use xcm::latest::{Junction, Junction::*, Junctions::*, MultiLocation, WeightLimit}; +use xcm_emulator::TestExt; use zeitgeist_primitives::{ constants::{BalanceFractionalDecimals, BASE}, types::{CustomMetadata, XcmMetadata}, @@ -66,12 +66,12 @@ fn transfer_ztg_to_sibling() { 1, X2( Parachain(PARA_ID_SIBLING), - Junction::AccountId32 { network: NetworkId::Any, id: BOB.into() } + Junction::AccountId32 { network: None, id: BOB.into() } ) ) .into() ), - Limited(4_000_000_000), + WeightLimit::Limited(4_000_000_000.into()), )); // Confirm that Alice's balance is initial_balance - amount_transferred @@ -133,12 +133,12 @@ fn transfer_ztg_sibling_to_zeitgeist() { 1, X2( Parachain(zeitgeist::ID), - Junction::AccountId32 { network: NetworkId::Any, id: ALICE.into() } + Junction::AccountId32 { network: None, id: ALICE.into() } ) ) .into() ), - Limited(4_000_000_000), + WeightLimit::Limited(4_000_000_000.into()), )); // Confirm that Bobs's balance is initial balance - amount transferred @@ -203,12 +203,12 @@ fn transfer_btc_sibling_to_zeitgeist() { 1, X2( Parachain(zeitgeist::ID), - Junction::AccountId32 { network: NetworkId::Any, id: ALICE.into() } + Junction::AccountId32 { network: None, id: ALICE.into() } ) ) .into() ), - Limited(4_000_000_000), + WeightLimit::Limited(4_000_000_000.into()), )); // Confirm that Alice's balance is initial_balance - amount_transferred @@ -257,12 +257,12 @@ fn transfer_btc_zeitgeist_to_sibling() { 1, X2( Parachain(PARA_ID_SIBLING), - Junction::AccountId32 { network: NetworkId::Any, id: BOB.into() } + Junction::AccountId32 { network: None, id: BOB.into() } ) ) .into() ), - Limited(4_000_000_000), + WeightLimit::Limited(4_000_000_000.into()), )); // Confirm that Alice's balance is initial_balance - amount_transferred @@ -324,12 +324,12 @@ fn transfer_eth_sibling_to_zeitgeist() { 1, X2( Parachain(zeitgeist::ID), - Junction::AccountId32 { network: NetworkId::Any, id: ALICE.into() } + Junction::AccountId32 { network: None, id: ALICE.into() } ) ) .into() ), - Limited(4_000_000_000), + WeightLimit::Limited(4_000_000_000.into()), )); // Confirm that Alice's balance is initial_balance - amount_transferred @@ -378,12 +378,12 @@ fn transfer_eth_zeitgeist_to_sibling() { 1, X2( Parachain(PARA_ID_SIBLING), - Junction::AccountId32 { network: NetworkId::Any, id: BOB.into() } + Junction::AccountId32 { network: None, id: BOB.into() } ) ) .into() ), - Limited(4_000_000_000), + WeightLimit::Limited(4_000_000_000.into()), )); // Confirm that Alice's balance is initial_balance - amount_transferred @@ -421,10 +421,8 @@ fn transfer_dot_from_relay_chain() { assert_ok!(polkadot_runtime::XcmPallet::reserve_transfer_assets( polkadot_runtime::RuntimeOrigin::signed(ALICE), - Box::new(Parachain(zeitgeist::ID).into().into()), - Box::new( - Junction::AccountId32 { network: NetworkId::Any, id: BOB.into() }.into().into() - ), + Box::new(Parachain(zeitgeist::ID).into()), + Box::new(Junction::AccountId32 { network: None, id: BOB.into() }.into()), Box::new((Here, transfer_amount).into()), 0 )); @@ -451,13 +449,10 @@ fn transfer_dot_to_relay_chain() { FOREIGN_PARENT_ID, transfer_amount, Box::new( - MultiLocation::new( - 1, - X1(Junction::AccountId32 { id: BOB.into(), network: NetworkId::Any }) - ) - .into() + MultiLocation::new(1, X1(Junction::AccountId32 { id: BOB.into(), network: None })) + .into() ), - Limited(4_000_000_000) + WeightLimit::Unlimited, )); assert_eq!( @@ -467,7 +462,7 @@ fn transfer_dot_to_relay_chain() { }); PolkadotNet::execute_with(|| { - assert_eq!(polkadot_runtime::Balances::free_balance(&BOB), 19_578_565_860); + assert_eq!(polkadot_runtime::Balances::free_balance(&BOB), 19_637_471_000); }); } @@ -514,12 +509,12 @@ fn transfer_ztg_to_sibling_with_custom_fee() { 1, X2( Parachain(PARA_ID_SIBLING), - Junction::AccountId32 { network: NetworkId::Any, id: BOB.into() } + Junction::AccountId32 { network: None, id: BOB.into() } ) ) .into() ), - Limited(4_000_000_000), + WeightLimit::Limited(4_000_000_000.into()), )); // Confirm that Alice's balance is initial_balance - amount_transferred @@ -549,8 +544,8 @@ fn transfer_ztg_to_sibling_with_custom_fee() { #[test] fn test_total_fee() { - assert_eq!(ztg_fee(), 80_824_000); - assert_eq!(dot_fee(), 80_824_000); + assert_eq!(ztg_fee(), 80_128_000); + assert_eq!(dot_fee(), ztg_fee()); } #[inline] diff --git a/runtime/zeitgeist/src/lib.rs b/runtime/zeitgeist/src/lib.rs index 08904a75a..f9c8bca24 100644 --- a/runtime/zeitgeist/src/lib.rs +++ b/runtime/zeitgeist/src/lib.rs @@ -58,7 +58,7 @@ use zrml_rikiddo::types::{EmaMarketVolume, FeeSigmoid, RikiddoSigmoidMV}; #[cfg(feature = "parachain")] use { frame_support::traits::{AsEnsureOriginWithArg, Everything}, - xcm_builder::{EnsureXcmOrigin, FixedWeightBounds, LocationInverter}, + xcm_builder::{EnsureXcmOrigin, FixedWeightBounds}, xcm_config::{ asset_registry::CustomAssetProcessor, config::{LocalOriginToLocation, XcmConfig, XcmOriginToTransactDispatchOrigin, XcmRouter}, diff --git a/runtime/zeitgeist/src/parachain_params.rs b/runtime/zeitgeist/src/parachain_params.rs index 2ccf0ab61..c08bd8549 100644 --- a/runtime/zeitgeist/src/parachain_params.rs +++ b/runtime/zeitgeist/src/parachain_params.rs @@ -27,7 +27,11 @@ use super::{parameters::MAXIMUM_BLOCK_WEIGHT, ParachainInfo, RuntimeOrigin}; use frame_support::{parameter_types, weights::Weight}; use orml_traits::parameter_type_with_key; use sp_runtime::{Perbill, Percent}; -use xcm::latest::{prelude::X1, Junction::Parachain, MultiLocation, NetworkId}; +use xcm::latest::{ + prelude::{GlobalConsensus, InteriorMultiLocation, X1, X2}, + Junction::Parachain, + MultiLocation, NetworkId, +}; use zeitgeist_primitives::{ constants::{BASE, BLOCKS_PER_MINUTE}, types::Balance, @@ -35,17 +39,16 @@ use zeitgeist_primitives::{ parameter_types! { // Author-Mapping - /// The amount that should be taken as a security deposit when registering a NimbusId. + /// The amount that should be taken as a security deposit when registering a NimbusId pub const CollatorDeposit: Balance = 2 * BASE; // Cumulus and Polkadot - pub Ancestry: MultiLocation = Parachain(ParachainInfo::parachain_id().into()).into(); - pub const RelayLocation: MultiLocation = MultiLocation::parent(); pub const RelayNetwork: NetworkId = NetworkId::Polkadot; pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into(); - pub UnitWeightCost: u64 = 200_000_000; + pub UnitWeightCost: Weight = Weight::from_parts(200_000_000u64, 0); + // Staking /// Rounds before the candidate bond increase/decrease can be executed @@ -83,14 +86,26 @@ parameter_types! { // XCM /// Base weight for XCM execution - pub const BaseXcmWeight: u64 = 200_000_000; + pub const BaseXcmWeight: Weight = Weight::from_parts(200_000_000u64, 0); /// The maximum number of distinct assets allowed to be transferred in a - /// single helper extrinsic. + /// single helper extrinsic pub const MaxAssetsForTransfer: usize = 2; + /// Maximum amount of tokens the holding register can store + pub const MaxAssetsIntoHolding: u32 = 64; /// Max instructions per XCM pub const MaxInstructions: u32 = 100; - // Relative self location + + /// Relative self location pub SelfLocation: MultiLocation = MultiLocation::new(1, X1(Parachain(ParachainInfo::parachain_id().into()))); + /// This chain's Universal Location + pub UniversalLocation: InteriorMultiLocation = X2(GlobalConsensus(RelayNetwork::get()), Parachain(ParachainInfo::parachain_id().into())); +} + +#[cfg(feature = "runtime-benchmarks")] +parameter_types! { + // XCM + /// A `MultiLocation` that can be reached via `XcmRouter`. Used only in benchmarks. + pub ReachableDest: Option = Some(xcm::latest::prelude::Parent.into()); } parameter_type_with_key! { diff --git a/runtime/zeitgeist/src/parameters.rs b/runtime/zeitgeist/src/parameters.rs index 61fea48ce..f82dbf5b1 100644 --- a/runtime/zeitgeist/src/parameters.rs +++ b/runtime/zeitgeist/src/parameters.rs @@ -55,14 +55,21 @@ pub(crate) const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(75); pub(crate) const FEES_AND_TIPS_TREASURY_PERCENTAGE: u32 = 100; pub(crate) const FEES_AND_TIPS_BURN_PERCENTAGE: u32 = 0; +#[cfg(not(feature = "parachain"))] +parameter_types! { + // Aura + pub const MaxAuthorities: u32 = 32; + + // Grandpa + // Can be 0, as equivocation handling is not enabled (HandleEquivocation = ()) + pub const MaxSetIdSessionEntries: u32 = 0; +} + parameter_types! { // Authorized pub const AuthorizedPalletId: PalletId = AUTHORIZED_PALLET_ID; pub const CorrectionPeriod: BlockNumber = BLOCKS_PER_DAY; - // Authority - pub const MaxAuthorities: u32 = 32; - // Balance pub const ExistentialDeposit: u128 = 5 * MILLI; pub const MaxLocks: u32 = 50; diff --git a/runtime/zeitgeist/src/xcm_config/config.rs b/runtime/zeitgeist/src/xcm_config/config.rs index 03a8e3d55..39ee8bbd7 100644 --- a/runtime/zeitgeist/src/xcm_config/config.rs +++ b/runtime/zeitgeist/src/xcm_config/config.rs @@ -1,4 +1,5 @@ // Copyright 2022-2023 Forecasting Technologies LTD. +// Copyright 2023 Centrifuge Foundation (centrifuge.io). // // This file is part of Zeitgeist. // @@ -17,16 +18,17 @@ use super::fees::{native_per_second, FixedConversionRateProvider}; use crate::{ - AccountId, Ancestry, AssetManager, AssetRegistry, Balance, CurrencyId, MaxInstructions, - ParachainInfo, ParachainSystem, PolkadotXcm, RelayChainOrigin, RelayNetwork, RuntimeCall, - RuntimeOrigin, UnitWeightCost, UnknownTokens, XcmpQueue, ZeitgeistTreasuryAccount, + AccountId, AssetManager, AssetRegistry, Balance, CurrencyId, MaxAssetsIntoHolding, + MaxInstructions, ParachainInfo, ParachainSystem, PolkadotXcm, RelayChainOrigin, RelayNetwork, + RuntimeCall, RuntimeOrigin, UnitWeightCost, UniversalLocation, UnknownTokens, XcmpQueue, + ZeitgeistTreasuryAccount, }; -use core::marker::PhantomData; +use alloc::vec::Vec; +use core::{cmp::min, marker::PhantomData}; use frame_support::{ parameter_types, - traits::{ConstU8, Everything, Get}, - WeakBoundedVec, + traits::{ConstU8, Everything, Get, Nothing}, }; use orml_asset_registry::{AssetRegistryTrader, FixedRateAssetRegistryTrader}; use orml_traits::{asset_registry::Inspect, location::AbsoluteReserveProvider, MultiCurrency}; @@ -38,15 +40,15 @@ use polkadot_parachain::primitives::Sibling; use sp_runtime::traits::Convert; use xcm::{ latest::{ - prelude::{AccountId32, AssetId, Concrete, GeneralKey, MultiAsset, NetworkId, X1, X2}, + prelude::{AccountId32, AssetId, Concrete, GeneralKey, MultiAsset, XcmContext, X1, X2}, Error as XcmError, Junction, MultiLocation, Result as XcmResult, }, opaque::latest::Fungibility::Fungible, }; use xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, - AllowTopLevelPaidExecutionFrom, FixedRateOfFungible, FixedWeightBounds, LocationInverter, - ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, + AllowTopLevelPaidExecutionFrom, FixedRateOfFungible, FixedWeightBounds, ParentIsPreset, + RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeRevenue, TakeWeightCredit, }; @@ -65,8 +67,12 @@ pub struct XcmConfig; /// This is where we configure the core of our XCM integrations: how tokens are transferred, /// how fees are calculated, what barriers we impose on incoming XCM messages, etc. impl Config for XcmConfig { + /// Handler for exchanging assets. + type AssetExchanger = (); /// The handler for when there is an instruction to claim assets. type AssetClaims = PolkadotXcm; + /// Handler for asset locking. + type AssetLocker = (); /// How to withdraw and deposit an asset. type AssetTransactor = AlignedFractionalMultiAssetTransactor; /// The general asset trap - handler for when assets are left in the Holding Register at the @@ -74,23 +80,38 @@ impl Config for XcmConfig { type AssetTrap = PolkadotXcm; /// Additional filters that specify whether the XCM instruction should be executed at all. type Barrier = Barrier; - /// The outer call dispatch type. - type RuntimeCall = RuntimeCall; + /// XCM will use this to dispatch any calls + type CallDispatcher = RuntimeCall; + /// Configure the fees. + type FeeManager = (); /// Combinations of (Location, Asset) pairs which are trusted as reserves. // Trust the parent chain, sibling parachains and children chains of this chain. type IsReserve = MultiNativeAsset; /// Combinations of (Location, Asset) pairs which we trust as teleporters. type IsTeleporter = (); - /// Means of inverting a location. - type LocationInverter = LocationInverter; + /// Maximum amount of tokens the holding register can store + type MaxAssetsIntoHolding = MaxAssetsIntoHolding; + /// The method of exporting a message. + type MessageExporter = (); /// How to get a call origin from a `OriginKind` value. type OriginConverter = XcmOriginToTransactDispatchOrigin; + /// Information on all pallets. + type PalletInstancesInfo = crate::AllPalletsWithSystem; /// Module that handles responses of queries. type ResponseHandler = PolkadotXcm; + /// The outer call dispatch type. + type RuntimeCall = RuntimeCall; + /// The safe call filter for `Transact`. + type SafeCallFilter = Nothing; /// Module that handles subscription requests. type SubscriptionService = PolkadotXcm; /// The means of purchasing weight credit for XCM execution. type Trader = Trader; + /// The origin locations and specific universal junctions to which they are allowed to elevate + /// themselves. + type UniversalAliases = Nothing; + /// This chain's Universal Location. + type UniversalLocation = UniversalLocation; /// The means of determining an XCM message's weight. // Adds UnitWeightCost per instruction plus the weight of each instruction. // The total number of instructions are bounded by MaxInstructions @@ -146,20 +167,22 @@ impl TakeRevenue for ToTreasury { parameter_types! { pub CheckAccount: AccountId = PolkadotXcm::check_account(); /// The amount of ZTG charged per second of execution (canonical multilocation). - pub ZtgPerSecondCanonical: (AssetId, u128) = ( + pub ZtgPerSecondCanonical: (AssetId, u128, u128) = ( MultiLocation::new( 0, X1(general_key(zeitgeist::KEY)), ).into(), native_per_second(), + 0, ); /// The amount of ZTG charged per second of execution. - pub ZtgPerSecond: (AssetId, u128) = ( + pub ZtgPerSecond: (AssetId, u128, u128) = ( MultiLocation::new( 1, X2(Junction::Parachain(ParachainInfo::parachain_id().into()), general_key(zeitgeist::KEY)), ).into(), native_per_second(), + 0, ); } @@ -238,23 +261,32 @@ impl< TransactAssetDelegate, > { - fn deposit_asset(asset: &MultiAsset, location: &MultiLocation) -> XcmResult { + fn deposit_asset( + asset: &MultiAsset, + location: &MultiLocation, + context: &XcmContext, + ) -> XcmResult { let asset_adjusted = Self::adjust_fractional_places(asset); - TransactAssetDelegate::deposit_asset(&asset_adjusted, location) + TransactAssetDelegate::deposit_asset(&asset_adjusted, location, context) } - fn withdraw_asset(asset: &MultiAsset, location: &MultiLocation) -> Result { + fn withdraw_asset( + asset: &MultiAsset, + location: &MultiLocation, + maybe_context: Option<&XcmContext>, + ) -> Result { let asset_adjusted = Self::adjust_fractional_places(asset); - TransactAssetDelegate::withdraw_asset(&asset_adjusted, location) + TransactAssetDelegate::withdraw_asset(&asset_adjusted, location, maybe_context) } fn transfer_asset( asset: &MultiAsset, from: &MultiLocation, to: &MultiLocation, + context: &XcmContext, ) -> Result { let asset_adjusted = Self::adjust_fractional_places(asset); - TransactAssetDelegate::transfer_asset(&asset_adjusted, from, to) + TransactAssetDelegate::transfer_asset(&asset_adjusted, from, to, context) } } @@ -316,9 +348,11 @@ impl Convert> for AssetConvert { /// correctly convert their `MultiLocation` representation into our internal `Asset` type. impl xcm_executor::traits::Convert for AssetConvert { fn convert(location: MultiLocation) -> Result { - match location.clone() { - MultiLocation { parents: 0, interior: X1(GeneralKey(key)) } => { - if &key[..] == zeitgeist::KEY { + match location { + MultiLocation { parents: 0, interior: X1(GeneralKey { data, length }) } => { + let key = &data[..data.len().min(length as usize)]; + + if key == zeitgeist::KEY { return Ok(CurrencyId::Ztg); } @@ -326,19 +360,21 @@ impl xcm_executor::traits::Convert for AssetConvert { } MultiLocation { parents: 1, - interior: X2(Junction::Parachain(para_id), GeneralKey(key)), + interior: X2(Junction::Parachain(para_id), GeneralKey { data, length }), } => { + let key = &data[..data.len().min(length as usize)]; + if para_id == u32::from(ParachainInfo::parachain_id()) { - if &key[..] == zeitgeist::KEY { + if key == zeitgeist::KEY { return Ok(CurrencyId::Ztg); } return Err(location); } - AssetRegistry::location_to_asset_id(location.clone()).ok_or(location) + AssetRegistry::location_to_asset_id(location).ok_or(location) } - _ => AssetRegistry::location_to_asset_id(location.clone()).ok_or(location), + _ => AssetRegistry::location_to_asset_id(location).ok_or(location), } } } @@ -363,7 +399,7 @@ pub struct AccountIdToMultiLocation; impl Convert for AccountIdToMultiLocation { fn convert(account: AccountId) -> MultiLocation { - X1(AccountId32 { network: NetworkId::Any, id: account.into() }).into() + X1(AccountId32 { network: None, id: account.into() }).into() } } @@ -407,12 +443,24 @@ pub type XcmOriginToTransactDispatchOrigin = ( /// queues. pub type XcmRouter = ( // Two routers - use UMP to communicate with the relay chain: - cumulus_primitives_utility::ParentAsUmp, + cumulus_primitives_utility::ParentAsUmp, // ..and XCMP to communicate with the sibling chains. XcmpQueue, ); -#[inline] -pub(crate) fn general_key(key: &[u8]) -> Junction { - GeneralKey(WeakBoundedVec::force_from(key.to_vec(), None)) +/// Build a fixed-size array using as many elements from `src` as possible +/// without overflowing and ensuring that the array is 0 padded in the case +/// where `src.len()` is smaller than S. +fn vec_to_fixed_array(src: Vec) -> [u8; S] { + let mut dest = [0; S]; + let len = min(src.len(), S); + dest[..len].copy_from_slice(&src.as_slice()[..len]); + + dest +} + +/// A utils function to un-bloat and simplify the instantiation of +/// `GeneralKey` values +pub fn general_key(data: &[u8]) -> Junction { + GeneralKey { length: data.len().min(32) as u8, data: vec_to_fixed_array(data.to_vec()) } } diff --git a/rust-toolchain b/rust-toolchain index b5b8dbecd..faddf04d5 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1,5 +1,5 @@ [toolchain] -channel = "nightly-2023-03-01" +channel = "nightly-2023-08-23" components = ["clippy", "rustfmt", "llvm-tools-preview"] profile = "minimal" targets = ["wasm32-unknown-unknown"] diff --git a/scripts/benchmarks/configuration.sh b/scripts/benchmarks/configuration.sh index c5d8d2486..f8c9a9213 100644 --- a/scripts/benchmarks/configuration.sh +++ b/scripts/benchmarks/configuration.sh @@ -42,5 +42,6 @@ else export PROFILE_DIR="$PROFILE" fi export EXECUTION="${EXECUTION:-wasm}" -export ADDITIONAL="${ADDITIONAL:-}" +export ADDITIONAL_PARAMS="${ADDITIONAL:-}" export ADDITIONAL_FEATURES="${ADDITIONAL_FEATURES:-with-global-disputes}" +export HEADER="${HEADER:-./HEADER_GPL3}" diff --git a/scripts/benchmarks/quick_check.sh b/scripts/benchmarks/quick_check.sh index a5487dcc0..73506b2e2 100755 --- a/scripts/benchmarks/quick_check.sh +++ b/scripts/benchmarks/quick_check.sh @@ -23,7 +23,7 @@ export ZEITGEIST_PALLETS_RUNS=0 export PROFILE=release export PROFILE_DIR=release -export ADDITIONAL=--detailed-log-output +export ADDITIONAL_PARAMS=--detailed-log-output export EXECUTION=native # TODO(#848) Delete this, when global disputes is on main-net export ADDITIONAL_FEATURES=with-global-disputes diff --git a/scripts/benchmarks/run_benchmarks.sh b/scripts/benchmarks/run_benchmarks.sh index 4664e72ce..b005d216c 100755 --- a/scripts/benchmarks/run_benchmarks.sh +++ b/scripts/benchmarks/run_benchmarks.sh @@ -16,28 +16,82 @@ source ./scripts/benchmarks/configuration.sh # Standalone benchmarks -cargo build --profile=$PROFILE --features=runtime-benchmarks,$ADDITIONAL_FEATURES --bin=zeitgeist +cargo build \ + --profile=$PROFILE \ + --features=runtime-benchmarks,$ADDITIONAL_FEATURES \ + --bin=zeitgeist for pallet in ${FRAME_PALLETS[@]}; do - ./target/$PROFILE_DIR/zeitgeist benchmark pallet --chain=dev --steps=$FRAME_PALLETS_STEPS --repeat=$FRAME_PALLETS_RUNS --pallet=$pallet --extrinsic='*' --execution=$EXECUTION $ADDITIONAL --wasm-execution=compiled --heap-pages=4096 --template=$FRAME_WEIGHT_TEMPLATE --output=$EXTERNAL_WEIGHTS_PATH + ./target/$PROFILE_DIR/zeitgeist benchmark pallet \ + --chain=dev \ + --steps=$FRAME_PALLETS_STEPS \ + --repeat=$FRAME_PALLETS_RUNS \ + --pallet=$pallet \ + --extrinsic='*' \ + --execution=$EXECUTION \ + --wasm-execution=compiled \ + --heap-pages=4096 \ + --template=$FRAME_WEIGHT_TEMPLATE \ + --header=$HEADER \ + --output=$EXTERNAL_WEIGHTS_PATH \ + $ADDITIONAL_PARAMS done for pallet in ${ORML_PALLETS[@]}; do - ./target/$PROFILE_DIR/zeitgeist benchmark pallet --chain=dev --steps=$ORML_PALLETS_STEPS --repeat=$ORML_PALLETS_RUNS --pallet=$pallet --extrinsic='*' --execution=$EXECUTION $ADDITIONAL --wasm-execution=compiled --heap-pages=4096 --template=$ORML_WEIGHT_TEMPLATE --output=$EXTERNAL_WEIGHTS_PATH + ./target/$PROFILE_DIR/zeitgeist benchmark pallet \ + --chain=dev \ + --steps=$ORML_PALLETS_STEPS \ + --repeat=$ORML_PALLETS_RUNS \ + --pallet=$pallet \ + --extrinsic='*' \ + --execution=$EXECUTION \ + --wasm-execution=compiled \ + --heap-pages=4096 \ + --template=$ORML_WEIGHT_TEMPLATE \ + --header=$HEADER \ + --output=$EXTERNAL_WEIGHTS_PATH \ + $ADDITIONAL_PARAMS done for pallet in ${ZEITGEIST_PALLETS[@]}; do pallet_folder_name=${pallet//zrml_/} pallet_folder_name=${pallet_folder_name//_/-} - ./target/$PROFILE_DIR/zeitgeist benchmark pallet --chain=dev --steps=$ZEITGEIST_PALLETS_STEPS --repeat=$ZEITGEIST_PALLETS_RUNS --pallet=$pallet --extrinsic='*' --execution=$EXECUTION $ADDITIONAL --wasm-execution=compiled --heap-pages=4096 --template=$ZEITGEIST_WEIGHT_TEMPLATE --output=./zrml/$pallet_folder_name/src/weights.rs + ./target/$PROFILE_DIR/zeitgeist benchmark pallet \ + --chain=dev \ + --steps=$ZEITGEIST_PALLETS_STEPS \ + --repeat=$ZEITGEIST_PALLETS_RUNS \ + --pallet=$pallet \ + --extrinsic='*' \ + --execution=$EXECUTION \ + --wasm-execution=compiled \ + --heap-pages=4096 \ + --template=$ZEITGEIST_WEIGHT_TEMPLATE \ + --header=$HEADER \ + --output=./zrml/$pallet_folder_name/src/weights.rs \ + $ADDITIONAL_PARAMS done # Parachain benchmarks -cargo build --profile=$PROFILE --features=runtime-benchmarks,parachain,$ADDITIONAL_FEATURES --bin=zeitgeist +cargo build \ + --profile=$PROFILE \ + --features=runtime-benchmarks,parachain,$ADDITIONAL_FEATURES \ + --bin=zeitgeist for pallet in ${FRAME_PALLETS_PARACHAIN[@]}; do - ./target/$PROFILE_DIR/zeitgeist benchmark pallet --chain=dev --steps=$FRAME_PALLETS_PARACHAIN_STEPS --repeat=$FRAME_PALLETS_PARACHAIN_RUNS --pallet=$pallet --extrinsic='*' --execution=$EXECUTION $ADDITIONAL --wasm-execution=compiled --heap-pages=4096 --template=$FRAME_WEIGHT_TEMPLATE --output=$EXTERNAL_WEIGHTS_PATH + ./target/$PROFILE_DIR/zeitgeist benchmark pallet \ + --chain=dev \ + --steps=$FRAME_PALLETS_PARACHAIN_STEPS \ + --repeat=$FRAME_PALLETS_PARACHAIN_RUNS \ + --pallet=$pallet \ + --extrinsic='*' \ + --execution=$EXECUTION \ + --wasm-execution=compiled \ + --heap-pages=4096 \ + --template=$FRAME_WEIGHT_TEMPLATE \ + --header=$HEADER \ + --output=$EXTERNAL_WEIGHTS_PATH \ + $ADDITIONAL_PARAMS done cargo fmt diff --git a/zrml/authorized/src/benchmarks.rs b/zrml/authorized/src/benchmarks.rs index 7a3ce9bfc..77bd884b1 100644 --- a/zrml/authorized/src/benchmarks.rs +++ b/zrml/authorized/src/benchmarks.rs @@ -41,7 +41,7 @@ benchmarks! { authorize_market_outcome_first_report { let m in 1..63; - let origin = T::AuthorizedDisputeResolutionOrigin::successful_origin(); + let origin = T::AuthorizedDisputeResolutionOrigin::try_successful_origin().unwrap(); let market_id = 0u32.into(); let market = market_mock::(); T::MarketCommons::push_market(market).unwrap(); @@ -69,7 +69,7 @@ benchmarks! { } authorize_market_outcome_existing_report { - let origin = T::AuthorizedDisputeResolutionOrigin::successful_origin(); + let origin = T::AuthorizedDisputeResolutionOrigin::try_successful_origin().unwrap(); let market_id = 0u32.into(); let market = market_mock::(); T::MarketCommons::push_market(market).unwrap(); diff --git a/zrml/prediction-markets/Cargo.toml b/zrml/prediction-markets/Cargo.toml index 7e49a6b48..25a687619 100644 --- a/zrml/prediction-markets/Cargo.toml +++ b/zrml/prediction-markets/Cargo.toml @@ -64,6 +64,7 @@ runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", + "orml-asset-registry?/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "zeitgeist-primitives/mock", ] diff --git a/zrml/prediction-markets/src/benchmarks.rs b/zrml/prediction-markets/src/benchmarks.rs index 62fa3e6a0..ff1923bb1 100644 --- a/zrml/prediction-markets/src/benchmarks.rs +++ b/zrml/prediction-markets/src/benchmarks.rs @@ -1,4 +1,4 @@ -// Copyright 2022-2023 Forecasting Technologies Ltd. +// Copyright 2022-2023 Forecasting Technologies LTD. // Copyright 2021-2022 Zeitgeist PM LLC. // // This file is part of Zeitgeist. @@ -118,7 +118,7 @@ fn create_close_and_report_market( let (caller, market_id) = create_market_common::(permission, options, ScoringRule::CPMM, Some(period))?; Call::::admin_move_market_to_closed { market_id } - .dispatch_bypass_filter(T::CloseOrigin::successful_origin())?; + .dispatch_bypass_filter(T::CloseOrigin::try_successful_origin().unwrap())?; let market = >::market(&market_id)?; let end: u32 = match market.period { MarketPeriod::Timestamp(range) => range.end.saturated_into::(), @@ -155,8 +155,8 @@ fn setup_redeem_shares_common( } Pallet::::do_buy_complete_set(caller.clone(), market_id, LIQUIDITY.saturated_into())?; - let close_origin = T::CloseOrigin::successful_origin(); - let resolve_origin = T::ResolveOrigin::successful_origin(); + let close_origin = T::CloseOrigin::try_successful_origin().unwrap(); + let resolve_origin = T::ResolveOrigin::try_successful_origin().unwrap(); Call::::admin_move_market_to_closed { market_id }.dispatch_bypass_filter(close_origin)?; let market = >::market(&market_id)?; let end: u32 = match market.period { @@ -201,7 +201,7 @@ fn setup_reported_categorical_market_with_pool::admin_move_market_to_closed { market_id } - .dispatch_bypass_filter(T::CloseOrigin::successful_origin())?; + .dispatch_bypass_filter(T::CloseOrigin::try_successful_origin().unwrap())?; let market = >::market(&market_id)?; let end: u32 = match market.period { MarketPeriod::Timestamp(range) => range.end.saturated_into::(), @@ -284,7 +284,7 @@ benchmarks! { ).unwrap(); } - let destroy_origin = T::DestroyOrigin::successful_origin(); + let destroy_origin = T::DestroyOrigin::try_successful_origin().unwrap(); let call = Call::::admin_destroy_market { market_id }; }: { call.dispatch_bypass_filter(destroy_origin)? @@ -339,7 +339,7 @@ benchmarks! { ).unwrap(); } - let destroy_origin = T::DestroyOrigin::successful_origin(); + let destroy_origin = T::DestroyOrigin::try_successful_origin().unwrap(); let call = Call::::admin_destroy_market { market_id }; }: { call.dispatch_bypass_filter(destroy_origin)? @@ -376,7 +376,7 @@ benchmarks! { ).unwrap(); } - let close_origin = T::CloseOrigin::successful_origin(); + let close_origin = T::CloseOrigin::try_successful_origin().unwrap(); let call = Call::::admin_move_market_to_closed { market_id }; }: { call.dispatch_bypass_filter(close_origin)? } @@ -400,7 +400,7 @@ benchmarks! { ).unwrap(); } - let close_origin = T::CloseOrigin::successful_origin(); + let close_origin = T::CloseOrigin::try_successful_origin().unwrap(); let call = Call::::admin_move_market_to_resolved { market_id }; }: { call.dispatch_bypass_filter(close_origin)? @@ -436,7 +436,7 @@ benchmarks! { ).unwrap(); } - let close_origin = T::CloseOrigin::successful_origin(); + let close_origin = T::CloseOrigin::try_successful_origin().unwrap(); let call = Call::::admin_move_market_to_resolved { market_id }; }: { call.dispatch_bypass_filter(close_origin)? @@ -477,7 +477,7 @@ benchmarks! { // Authorize the outcome with the highest number of correct reporters to maximize the // number of transfers required (0 has (d+1)//2 reports, 1 has d//2 reports). AuthorizedPallet::::authorize_market_outcome( - T::AuthorizedDisputeResolutionOrigin::successful_origin(), + T::AuthorizedDisputeResolutionOrigin::try_successful_origin().unwrap(), market_id.into(), OutcomeReport::Scalar(0), )?; @@ -491,7 +491,7 @@ benchmarks! { ).unwrap(); } - let close_origin = T::CloseOrigin::successful_origin(); + let close_origin = T::CloseOrigin::try_successful_origin().unwrap(); let call = Call::::admin_move_market_to_resolved { market_id }; }: { call.dispatch_bypass_filter(close_origin)? @@ -532,7 +532,7 @@ benchmarks! { // Authorize the outcome with the highest number of correct reporters to maximize the // number of transfers required (0 has (d+1)//2 reports, 1 has d//2 reports). AuthorizedPallet::::authorize_market_outcome( - T::AuthorizedDisputeResolutionOrigin::successful_origin(), + T::AuthorizedDisputeResolutionOrigin::try_successful_origin().unwrap(), market_id.into(), OutcomeReport::Categorical(0), )?; @@ -547,7 +547,7 @@ benchmarks! { ).unwrap(); } - let close_origin = T::CloseOrigin::successful_origin(); + let close_origin = T::CloseOrigin::try_successful_origin().unwrap(); let call = Call::::admin_move_market_to_resolved { market_id }; }: { call.dispatch_bypass_filter(close_origin)? @@ -567,7 +567,7 @@ benchmarks! { None, )?; - let approve_origin = T::ApproveOrigin::successful_origin(); + let approve_origin = T::ApproveOrigin::try_successful_origin().unwrap(); let call = Call::::approve_market { market_id }; }: { call.dispatch_bypass_filter(approve_origin)? } @@ -580,7 +580,7 @@ benchmarks! { None, )?; - let approve_origin = T::ApproveOrigin::successful_origin(); + let approve_origin = T::ApproveOrigin::try_successful_origin().unwrap(); let edit_reason = vec![0_u8; r as usize]; let call = Call::::request_edit{ market_id, edit_reason }; }: { call.dispatch_bypass_filter(approve_origin)? } verify {} @@ -651,7 +651,7 @@ benchmarks! { .dispatch_bypass_filter(RawOrigin::Signed(caller.clone()).into())?; let market_id = >::latest_market_id()?; - let approve_origin = T::ApproveOrigin::successful_origin(); + let approve_origin = T::ApproveOrigin::try_successful_origin().unwrap(); let edit_reason = vec![0_u8; 1024]; Call::::request_edit{ market_id, edit_reason } .dispatch_bypass_filter(approve_origin)?; @@ -916,7 +916,7 @@ benchmarks! { // Authorize the outcome with the highest number of correct reporters to maximize the // number of transfers required (0 has (d+1)//2 reports, 1 has d//2 reports). AuthorizedPallet::::authorize_market_outcome( - T::AuthorizedDisputeResolutionOrigin::successful_origin(), + T::AuthorizedDisputeResolutionOrigin::try_successful_origin().unwrap(), market_id.into(), OutcomeReport::Categorical(0), )?; @@ -961,7 +961,7 @@ benchmarks! { // Authorize the outcome with the highest number of correct reporters to maximize the // number of transfers required (0 has (d+1)//2 reports, 1 has d//2 reports). AuthorizedPallet::::authorize_market_outcome( - T::AuthorizedDisputeResolutionOrigin::successful_origin(), + T::AuthorizedDisputeResolutionOrigin::try_successful_origin().unwrap(), market_id.into(), OutcomeReport::Scalar(0), )?; @@ -1037,7 +1037,7 @@ benchmarks! { ).unwrap(); } - let reject_origin = T::RejectOrigin::successful_origin(); + let reject_origin = T::RejectOrigin::try_successful_origin().unwrap(); let reject_reason: Vec = vec![0; r as usize]; let call = Call::::reject_market { market_id, reject_reason }; }: { call.dispatch_bypass_filter(reject_origin)? } @@ -1062,7 +1062,7 @@ benchmarks! { })?; let outcome = OutcomeReport::Categorical(0); - let close_origin = T::CloseOrigin::successful_origin(); + let close_origin = T::CloseOrigin::try_successful_origin().unwrap(); Pallet::::admin_move_market_to_closed(close_origin, market_id)?; let market = >::market(&market_id)?; let end : u32 = match market.period { diff --git a/zrml/rikiddo/src/tests/rikiddo_sigmoid_mv/price.rs b/zrml/rikiddo/src/tests/rikiddo_sigmoid_mv/price.rs index 63b770b59..c9480981e 100644 --- a/zrml/rikiddo/src/tests/rikiddo_sigmoid_mv/price.rs +++ b/zrml/rikiddo/src/tests/rikiddo_sigmoid_mv/price.rs @@ -1,3 +1,4 @@ +// Copyright 2022-2023 Forecasting Technologies LTD. // Copyright 2021-2022 Zeitgeist PM LLC. // // This file is part of Zeitgeist. @@ -234,7 +235,7 @@ fn rikiddo_all_prices_returns_correct_result() -> Result<(), &'static str> { let param: Vec> = vec![param_f64[0].to_fixed(), param_f64[1].to_fixed(), param_f64[2].to_fixed()]; let rikiddo_prices = rikiddo.all_prices(¶m)?; - let rikiddo_prices_f64 = vec![ + let rikiddo_prices_f64 = [ price(rikiddo.config.initial_fee.to_num(), ¶m_f64, param_f64[0]), price(rikiddo.config.initial_fee.to_num(), ¶m_f64, param_f64[1]), price(rikiddo.config.initial_fee.to_num(), ¶m_f64, param_f64[2]), diff --git a/zrml/styx/src/benchmarks.rs b/zrml/styx/src/benchmarks.rs index 6ae9e0223..c38aa77c2 100644 --- a/zrml/styx/src/benchmarks.rs +++ b/zrml/styx/src/benchmarks.rs @@ -44,7 +44,7 @@ benchmarks! { }: _(RawOrigin::Signed(caller)) set_burn_amount { - let origin = T::SetBurnAmountOrigin::successful_origin(); + let origin = T::SetBurnAmountOrigin::try_successful_origin().unwrap(); let caller: T::AccountId = whitelisted_caller(); let balance = (10_000 * BASE).saturated_into(); let amount = (20 * BASE).saturated_into(); diff --git a/zrml/swaps/src/arbitrage.rs b/zrml/swaps/src/arbitrage.rs index 6d1878083..304d8ff0a 100644 --- a/zrml/swaps/src/arbitrage.rs +++ b/zrml/swaps/src/arbitrage.rs @@ -1,4 +1,4 @@ -// Copyright 2022 Forecasting Technologies LTD. +// Copyright 2022-2023 Forecasting Technologies LTD. // // This file is part of Zeitgeist. // @@ -427,8 +427,7 @@ mod tests { .map(|i| Asset::CategoricalOutcome(fake_market_id, i as u16)) .collect::>(); let total_weight = weights.iter().sum(); - let weights = - assets.clone().into_iter().zip(weights.into_iter()).collect::>(); + let weights = assets.clone().into_iter().zip(weights).collect::>(); Pool { assets: assets.clone(), base_asset: assets[0], @@ -446,6 +445,6 @@ mod tests { assets: Vec>, balances: Vec, ) -> BTreeMap, Balance> { - assets.into_iter().zip(balances.into_iter()).collect::>() + assets.into_iter().zip(balances).collect::>() } }