From 333eb12da115bf887c4b175a4946f961a7d60ab9 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Thu, 1 Feb 2024 17:06:34 +0100 Subject: [PATCH 01/29] bend deps to crates-io and polkadot 1.3 --- Cargo.lock | 7243 +++++++++++------ Cargo.toml | 240 +- polkadot-parachains/Cargo.toml | 4 +- polkadot-parachains/common/Cargo.toml | 8 +- .../integritee-runtime/Cargo.toml | 24 +- .../integritee-runtime/src/lib.rs | 6 +- .../integritee-runtime/src/xcm_config.rs | 4 +- polkadot-parachains/shell-runtime/Cargo.toml | 24 +- polkadot-parachains/shell-runtime/src/lib.rs | 6 +- .../shell-runtime/src/xcm_config.rs | 4 +- 10 files changed, 4778 insertions(+), 2785 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c8a423e0..3401413e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -38,37 +38,37 @@ checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" [[package]] name = "aead" -version = "0.4.3" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b613b8e1e3cf911a086f53f03bf286f52fd7a7258e4fa606f0ef220d39d8877" +checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" dependencies = [ + "crypto-common", "generic-array 0.14.7", ] [[package]] name = "aes" -version = "0.7.5" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e8b47f52ea9bae42228d07ec09eb676433d7c4ed1ebdf0f1d1c29ed446f1ab8" +checksum = "ac1f845298e95f983ff1944b728ae08b8cebab80d684f0a832ed0fc74dfa27e2" dependencies = [ "cfg-if", - "cipher", + "cipher 0.4.4", "cpufeatures", - "opaque-debug 0.3.0", ] [[package]] name = "aes-gcm" -version = "0.9.4" +version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df5f85a83a7d8b0442b6aa7b504b8212c1733da07b98aae43d4bc21b2cb3cdf6" +checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" dependencies = [ "aead", "aes", - "cipher", + "cipher 0.4.4", "ctr", "ghash", - "subtle", + "subtle 2.4.1", ] [[package]] @@ -103,6 +103,12 @@ dependencies = [ "memchr", ] +[[package]] +name = "allocator-api2" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" + [[package]] name = "always-assert" version = "0.1.3" @@ -135,16 +141,15 @@ dependencies = [ [[package]] name = "anstream" -version = "0.3.2" +version = "0.6.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163" +checksum = "6e2e1ebcb11de5c03c67de28a7df593d32191b44939c482e97702baaaa6ab6a5" dependencies = [ "anstyle", "anstyle-parse", "anstyle-query", "anstyle-wincon", "colorchoice", - "is-terminal", "utf8parse", ] @@ -174,12 +179,12 @@ dependencies = [ [[package]] name = "anstyle-wincon" -version = "1.0.1" +version = "3.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "180abfa45703aebe0093f79badacc01b8fd4ea2e35118747e5811127f926e188" +checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" dependencies = [ "anstyle", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -197,6 +202,155 @@ dependencies = [ "num-traits", ] +[[package]] +name = "aquamarine" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1da02abba9f9063d786eab1509833ebb2fac0f966862ca59439c76b9c566760" +dependencies = [ + "include_dir", + "itertools 0.10.5", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-bls12-377" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb00293ba84f51ce3bd026bd0de55899c4e68f0a39a5728cebae3a73ffdc0a4f" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-std", +] + +[[package]] +name = "ark-bls12-381" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c775f0d12169cba7aae4caeb547bb6a50781c7449a8aa53793827c9ec4abf488" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-std", +] + +[[package]] +name = "ark-ec" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "defd9a439d56ac24968cca0571f598a61bc8c55f71d50a89cda591cb750670ba" +dependencies = [ + "ark-ff", + "ark-poly", + "ark-serialize", + "ark-std", + "derivative", + "hashbrown 0.13.2", + "itertools 0.10.5", + "num-traits", + "zeroize", +] + +[[package]] +name = "ark-ff" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec847af850f44ad29048935519032c33da8aa03340876d351dfab5660d2966ba" +dependencies = [ + "ark-ff-asm", + "ark-ff-macros", + "ark-serialize", + "ark-std", + "derivative", + "digest 0.10.7", + "itertools 0.10.5", + "num-bigint", + "num-traits", + "paste", + "rustc_version", + "zeroize", +] + +[[package]] +name = "ark-ff-asm" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ed4aa4fe255d0bc6d79373f7e31d2ea147bcf486cba1be5ba7ea85abdb92348" +dependencies = [ + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-ff-macros" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7abe79b0e4288889c4574159ab790824d0033b9fdcb2a112a3182fac2e514565" +dependencies = [ + "num-bigint", + "num-traits", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-poly" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d320bfc44ee185d899ccbadfa8bc31aab923ce1558716e1997a1e74057fe86bf" +dependencies = [ + "ark-ff", + "ark-serialize", + "ark-std", + "derivative", + "hashbrown 0.13.2", +] + +[[package]] +name = "ark-serialize" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5" +dependencies = [ + "ark-serialize-derive", + "ark-std", + "digest 0.10.7", + "num-bigint", +] + +[[package]] +name = "ark-serialize-derive" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae3281bc6d0fd7e549af32b52511e1302185bd688fd3359fa36423346ff682ea" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-std" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" +dependencies = [ + "num-traits", + "rand 0.8.5", +] + +[[package]] +name = "array-bytes" +version = "4.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6" + [[package]] name = "array-bytes" version = "6.2.2" @@ -209,6 +363,15 @@ version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545" +[[package]] +name = "arrayvec" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd9fd44efafa8690358b7408d253adf110036b88f55672a933f01d616ad9b1b9" +dependencies = [ + "nodrop", +] + [[package]] name = "arrayvec" version = "0.5.2" @@ -234,7 +397,7 @@ dependencies = [ "num-traits", "rusticata-macros", "thiserror", - "time 0.3.23", + "time", ] [[package]] @@ -288,8 +451,47 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35" dependencies = [ "concurrent-queue", - "event-listener", + "event-listener 2.5.3", + "futures-core", +] + +[[package]] +name = "async-channel" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ca33f4bc4ed1babef42cad36cc1f51fa88be00420404e5b1e80ab1b18f7678c" +dependencies = [ + "concurrent-queue", + "event-listener 4.0.3", + "event-listener-strategy", "futures-core", + "pin-project-lite 0.2.13", +] + +[[package]] +name = "async-executor" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b0c4a4f319e45986f347ee47fef8bf5e81c9abc3f6f58dc2391439f30df65f0" +dependencies = [ + "async-lock 2.7.0", + "async-task", + "concurrent-queue", + "fastrand 2.0.0", + "futures-lite 1.13.0", + "slab", +] + +[[package]] +name = "async-fs" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "279cf904654eeebfa37ac9bb1598880884924aab82e290aa65c9e77a0e142e06" +dependencies = [ + "async-lock 2.7.0", + "autocfg", + "blocking", + "futures-lite 1.13.0", ] [[package]] @@ -298,40 +500,111 @@ version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fc5b45d93ef0529756f812ca52e44c221b35341892d3dcc34132ac02f3dd2af" dependencies = [ - "async-lock", + "async-lock 2.7.0", "autocfg", "cfg-if", "concurrent-queue", - "futures-lite", + "futures-lite 1.13.0", "log", "parking", - "polling", + "polling 2.8.0", "rustix 0.37.23", "slab", "socket2 0.4.9", "waker-fn", ] +[[package]] +name = "async-io" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f97ab0c5b00a7cdbe5a371b9a782ee7be1316095885c8a4ea1daf490eb0ef65" +dependencies = [ + "async-lock 3.3.0", + "cfg-if", + "concurrent-queue", + "futures-io", + "futures-lite 2.1.0", + "parking", + "polling 3.3.2", + "rustix 0.38.25", + "slab", + "tracing", + "windows-sys 0.52.0", +] + [[package]] name = "async-lock" version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fa24f727524730b077666307f2734b4a1a1c57acb79193127dcc8914d5242dd7" dependencies = [ - "event-listener", + "event-listener 2.5.3", ] [[package]] -name = "async-recursion" -version = "1.0.5" +name = "async-lock" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fd55a5ba1179988837d24ab4c7cc8ed6efdeff578ede0416b4225a5fca35bd0" +checksum = "d034b430882f8381900d3fe6f0aaa3ad94f2cb4ac519b429692a1bc2dda4ae7b" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.39", + "event-listener 4.0.3", + "event-listener-strategy", + "pin-project-lite 0.2.13", +] + +[[package]] +name = "async-net" +version = "1.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0434b1ed18ce1cf5769b8ac540e33f01fa9471058b5e89da9e06f3c882a8c12f" +dependencies = [ + "async-io 1.13.0", + "blocking", + "futures-lite 1.13.0", +] + +[[package]] +name = "async-process" +version = "1.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea6438ba0a08d81529c69b36700fa2f95837bfe3e776ab39cde9c14d9149da88" +dependencies = [ + "async-io 1.13.0", + "async-lock 2.7.0", + "async-signal", + "blocking", + "cfg-if", + "event-listener 3.1.0", + "futures-lite 1.13.0", + "rustix 0.38.25", + "windows-sys 0.48.0", +] + +[[package]] +name = "async-signal" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e47d90f65a225c4527103a8d747001fc56e375203592b25ad103e1ca13124c5" +dependencies = [ + "async-io 2.3.1", + "async-lock 2.7.0", + "atomic-waker", + "cfg-if", + "futures-core", + "futures-io", + "rustix 0.38.25", + "signal-hook-registry", + "slab", + "windows-sys 0.48.0", ] +[[package]] +name = "async-task" +version = "4.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fbb36e985947064623dbd357f727af08ffd077f93d696782f3c56365fa2e2799" + [[package]] name = "async-trait" version = "0.1.74" @@ -356,6 +629,18 @@ dependencies = [ "pin-project-lite 0.2.13", ] +[[package]] +name = "atomic-take" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8ab6b55fe97976e46f91ddbed8d147d966475dc29b2032757ba47e02376fbc3" + +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + [[package]] name = "atty" version = "0.2.14" @@ -429,8 +714,9 @@ dependencies = [ [[package]] name = "binary-merkle-tree" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "10.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a399848a68a5196a04c19db5bfc4dca3cd0989a3165150f06c1ad1bc8882aa34" dependencies = [ "hash-db", "log", @@ -466,6 +752,25 @@ dependencies = [ "syn 2.0.39", ] +[[package]] +name = "bip39" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93f2635620bf0b9d4576eb7bb9a38a55df78bd1205d26fa994b25911a69f212f" +dependencies = [ + "bitcoin_hashes", + "rand 0.8.5", + "rand_core 0.6.4", + "serde", + "unicode-normalization", +] + +[[package]] +name = "bitcoin_hashes" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90064b8dee6815a6470d60bad07bbbaee885c0e12d04177138fa3291a01b7bc4" + [[package]] name = "bitflags" version = "1.3.2" @@ -474,9 +779,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.3.3" +version = "2.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "630be753d4e58660abd17930c71b647fe46c27ea6b63cc59e1e3851406972e42" +checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf" [[package]] name = "bitvec" @@ -490,6 +795,18 @@ dependencies = [ "wyz", ] +[[package]] +name = "blake2" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94cb07b0da6a73955f8fb85d24c466778e70cda767a568229b104f0264089330" +dependencies = [ + "byte-tools", + "crypto-mac 0.7.0", + "digest 0.8.1", + "opaque-debug 0.2.3", +] + [[package]] name = "blake2" version = "0.10.6" @@ -499,6 +816,16 @@ dependencies = [ "digest 0.10.7", ] +[[package]] +name = "blake2-rfc" +version = "0.2.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d6d530bdd2d52966a6d03b7a964add7ae1a288d25214066fd4b600f0f796400" +dependencies = [ + "arrayvec 0.4.12", + "constant_time_eq 0.1.5", +] + [[package]] name = "blake2b_simd" version = "1.0.1" @@ -574,6 +901,22 @@ dependencies = [ "byte-tools", ] +[[package]] +name = "blocking" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a37913e8dc4ddcc604f0c6d3bf2887c995153af3611de9e23c352b44c1b9118" +dependencies = [ + "async-channel 2.1.1", + "async-lock 3.3.0", + "async-task", + "fastrand 2.0.0", + "futures-io", + "futures-lite 2.1.0", + "piper", + "tracing", +] + [[package]] name = "bounded-collections" version = "0.1.8" @@ -595,6 +938,18 @@ dependencies = [ "thiserror", ] +[[package]] +name = "bp-xcm-bridge-hub-router" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be3b4fafc31f17da1b4ea403c4118e4f4f1d9a5a696729b374551d582e48633b" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-core 25.0.0", + "sp-runtime 28.0.0", +] + [[package]] name = "bs58" version = "0.4.0" @@ -602,8 +957,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" [[package]] -name = "bstr" -version = "1.6.0" +name = "bs58" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f5353f36341f7451062466f0b755b96ac3a9547e4d7f6b70d603fc721a7d7896" +dependencies = [ + "tinyvec", +] + +[[package]] +name = "bstr" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6798148dccfbff0fae41c7574d2fa8f1ef3492fba0face179de5d8d447d67b05" dependencies = [ @@ -668,6 +1032,16 @@ dependencies = [ "pkg-config", ] +[[package]] +name = "c2-chacha" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d27dae93fe7b1e0424dc57179ac396908c26b035a87234809f5c4dfd1b47dc80" +dependencies = [ + "cipher 0.2.5", + "ppv-lite86", +] + [[package]] name = "camino" version = "1.1.6" @@ -739,45 +1113,53 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" +[[package]] +name = "chacha" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddf3c081b5fba1e5615640aae998e0fbd10c24cbd897ee39ed754a77601a4862" +dependencies = [ + "byteorder", + "keystream", +] + [[package]] name = "chacha20" -version = "0.8.2" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c80e5460aa66fe3b91d40bcbdab953a597b60053e34d684ac6903f863b680a6" +checksum = "c3613f74bd2eac03dad61bd53dbe620703d4371614fe0bc3b9f04dd36fe4e818" dependencies = [ "cfg-if", - "cipher", + "cipher 0.4.4", "cpufeatures", - "zeroize", ] [[package]] name = "chacha20poly1305" -version = "0.9.1" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a18446b09be63d457bbec447509e85f662f32952b035ce892290396bc0b0cff5" +checksum = "10cd79432192d1c0f4e1a0fef9527696cc039165d729fb41b3f4f4f354c2dc35" dependencies = [ "aead", "chacha20", - "cipher", + "cipher 0.4.4", "poly1305", "zeroize", ] [[package]] name = "chrono" -version = "0.4.26" +version = "0.4.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5" +checksum = "9f13690e35a5e4ace198e7beea2895d29f3a9cc55015fcebe6336bd2010af9eb" dependencies = [ "android-tzdata", "iana-time-zone", "js-sys", "num-traits", "serde", - "time 0.1.45", "wasm-bindgen", - "winapi", + "windows-targets 0.52.0", ] [[package]] @@ -795,13 +1177,24 @@ dependencies = [ [[package]] name = "cipher" -version = "0.3.0" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ee52072ec15386f770805afd189a01c8841be8696bed250fa2f13c4c0d6dfb7" +checksum = "12f8e7987cbd042a63249497f41aed09f8e65add917ea6566effbc56578d6801" dependencies = [ "generic-array 0.14.7", ] +[[package]] +name = "cipher" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" +dependencies = [ + "crypto-common", + "inout", + "zeroize", +] + [[package]] name = "ckb-merkle-mountain-range" version = "0.5.2" @@ -814,14 +1207,13 @@ dependencies = [ [[package]] name = "claims-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.0.0#fc2999af866276658879555dcf5582bd1dba908e" dependencies = [ "parity-scale-codec", "rustc-hex", "scale-info", "serde", - "sp-io", - "sp-runtime", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", ] @@ -838,20 +1230,19 @@ dependencies = [ [[package]] name = "clap" -version = "4.3.23" +version = "4.4.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03aef18ddf7d879c15ce20f04826ef8418101c7e528014c3eeea13321047dca3" +checksum = "1e578d6ec4194633722ccf9544794b71b1385c3c027efe0c55db226fc880865c" dependencies = [ "clap_builder", "clap_derive", - "once_cell", ] [[package]] name = "clap_builder" -version = "4.3.23" +version = "4.4.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8ce6fffb678c9b80a70b6b6de0aad31df727623a70fd9a842c30cd573e2fa98" +checksum = "4df4df40ec50c46000231c914968278b1eb05098cf8f1b3a518a95030e71d1c7" dependencies = [ "anstream", "anstyle", @@ -861,9 +1252,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.3.12" +version = "4.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54a9bb5758fc5dfe728d1019941681eccaf0cf8a4189b692a0ee2f2ecf90a050" +checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" dependencies = [ "heck", "proc-macro2", @@ -873,9 +1264,9 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" +checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" [[package]] name = "coarsetime" @@ -946,13 +1337,12 @@ checksum = "2382f75942f4b3be3690fe4f86365e9c853c1587d6ee58212cebf6e2a9ccd101" [[package]] name = "common-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.0.0#fc2999af866276658879555dcf5582bd1dba908e" dependencies = [ "derive_more", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", + "sp-core 25.0.0", + "sp-runtime 28.0.0", "sp-std", ] @@ -1004,6 +1394,12 @@ dependencies = [ "tiny-keccak", ] +[[package]] +name = "constant_time_eq" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" + [[package]] name = "constant_time_eq" version = "0.2.6" @@ -1016,6 +1412,12 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" +[[package]] +name = "constcat" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd7e35aee659887cbfb97aaf227ac12cad1a9d7c71e55ff3376839ed4e282d08" + [[package]] name = "convert_case" version = "0.4.0" @@ -1249,7 +1651,7 @@ checksum = "740fe28e594155f10cfc383984cbefd529d7396050557148f79cb0f621204124" dependencies = [ "generic-array 0.14.7", "rand_core 0.6.4", - "subtle", + "subtle 2.4.1", "zeroize", ] @@ -1260,7 +1662,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" dependencies = [ "generic-array 0.14.7", - "typenum 1.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rand_core 0.6.4", + "typenum", +] + +[[package]] +name = "crypto-mac" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4434400df11d95d556bac068ddfedd482915eb18fe8bea89bc80b6e4b1c179e5" +dependencies = [ + "generic-array 0.12.4", + "subtle 1.0.0", ] [[package]] @@ -1270,7 +1683,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" dependencies = [ "generic-array 0.14.7", - "subtle", + "subtle 2.4.1", ] [[package]] @@ -1280,38 +1693,40 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1d1a86f49236c215f271d40892d5fc950490551400b02ef360692c29815c714" dependencies = [ "generic-array 0.14.7", - "subtle", + "subtle 2.4.1", ] [[package]] name = "ctr" -version = "0.8.0" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "049bb91fb4aaf0e3c7efa6cd5ef877dbbbd15b39dad06d9948de4ec8a75761ea" +checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" dependencies = [ - "cipher", + "cipher 0.4.4", ] [[package]] name = "cumulus-client-cli" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "858e5a1c2d26c304d75cc7158ed2579f0ff90b68f2d07a2395d073249d485424" dependencies = [ "clap", "parity-scale-codec", - "sc-chain-spec", + "sc-chain-spec 24.0.0", "sc-cli", - "sc-client-api", + "sc-client-api 25.0.0", "sc-service", - "sp-core", - "sp-runtime", + "sp-core 25.0.0", + "sp-runtime 28.0.0", "url", ] [[package]] name = "cumulus-client-collator" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be58c6ef9780a83267e0b9db50a01158d58ad37ba45ed8162a9ea1b2d61d119c" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -1323,18 +1738,19 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", - "sc-client-api", - "sp-api", - "sp-consensus", - "sp-core", - "sp-runtime", + "sc-client-api 25.0.0", + "sp-api 23.0.0", + "sp-consensus 0.29.0", + "sp-core 25.0.0", + "sp-runtime 28.0.0", "tracing", ] [[package]] name = "cumulus-client-consensus-aura" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b73f52d21017ff0f2dc6542f2873e1dc3e17561656d6af0810fb813fb553694" dependencies = [ "async-trait", "cumulus-client-collator", @@ -1345,28 +1761,29 @@ dependencies = [ "cumulus-primitives-parachain-inherent", "cumulus-relay-chain-interface", "futures", - "lru 0.10.1", "parity-scale-codec", "polkadot-node-primitives", + "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", - "sc-client-api", - "sc-consensus", + "sc-client-api 25.0.0", + "sc-consensus 0.30.0", "sc-consensus-aura", "sc-consensus-babe", "sc-consensus-slots", - "sc-telemetry", - "sp-api", - "sp-application-crypto", - "sp-block-builder", - "sp-blockchain", - "sp-consensus", + "sc-telemetry 12.0.0", + "schnellru", + "sp-api 23.0.0", + "sp-application-crypto 27.0.0", + "sp-block-builder 23.0.0", + "sp-blockchain 25.0.0", + "sp-consensus 0.29.0", "sp-consensus-aura", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", - "sp-state-machine", + "sp-core 25.0.0", + "sp-inherents 23.0.0", + "sp-keystore 0.31.0", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.0", "sp-timestamp", "substrate-prometheus-endpoint", "tracing", @@ -1374,8 +1791,9 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ec580468eb700a2776cac54871704b3c3894bc0646c3b8375756bfffd24928f" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -1386,40 +1804,42 @@ dependencies = [ "log", "parity-scale-codec", "polkadot-primitives", - "sc-client-api", - "sc-consensus", + "sc-client-api 25.0.0", + "sc-consensus 0.30.0", "sc-consensus-babe", "schnellru", - "sp-blockchain", - "sp-consensus", + "sp-blockchain 25.0.0", + "sp-consensus 0.29.0", "sp-consensus-slots", - "sp-core", - "sp-runtime", + "sp-core 25.0.0", + "sp-runtime 28.0.0", "sp-timestamp", - "sp-trie", + "sp-trie 26.0.0", "substrate-prometheus-endpoint", "tracing", ] [[package]] name = "cumulus-client-consensus-proposer" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23a859c95a853e37c642b613be517d3d9c410a67204a5bd92eb35c5daaffa44d" dependencies = [ "anyhow", "async-trait", "cumulus-primitives-parachain-inherent", - "sp-consensus", - "sp-inherents", - "sp-runtime", - "sp-state-machine", + "sp-consensus 0.29.0", + "sp-inherents 23.0.0", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.0", "thiserror", ] [[package]] name = "cumulus-client-consensus-relay-chain" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef89609477a54e631bc441a03534f14adf3c500b7281682b82608d1aa533d861" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -1427,22 +1847,23 @@ dependencies = [ "cumulus-relay-chain-interface", "futures", "parking_lot 0.12.1", - "sc-consensus", - "sp-api", - "sp-block-builder", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-inherents", - "sp-runtime", + "sc-consensus 0.30.0", + "sp-api 23.0.0", + "sp-block-builder 23.0.0", + "sp-blockchain 25.0.0", + "sp-consensus 0.29.0", + "sp-core 25.0.0", + "sp-inherents 23.0.0", + "sp-runtime 28.0.0", "substrate-prometheus-endpoint", "tracing", ] [[package]] name = "cumulus-client-network" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fac979caafb16a47493dfce7509decadad81f982c0110473ab69389af663678d" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -1451,21 +1872,22 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "polkadot-node-primitives", - "polkadot-parachain", + "polkadot-parachain-primitives", "polkadot-primitives", - "sc-client-api", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-runtime", - "sp-state-machine", + "sc-client-api 25.0.0", + "sp-blockchain 25.0.0", + "sp-consensus 0.29.0", + "sp-core 25.0.0", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.0", "tracing", ] [[package]] name = "cumulus-client-pov-recovery" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4031cda3e64955d57166068a27d544f46f4a9e4c14268a09d8b67eeac7fc51d" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1478,18 +1900,19 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "rand 0.8.5", - "sc-client-api", - "sc-consensus", - "sp-consensus", - "sp-maybe-compressed-blob", - "sp-runtime", + "sc-client-api 25.0.0", + "sc-consensus 0.30.0", + "sp-consensus 0.29.0", + "sp-maybe-compressed-blob 9.0.0", + "sp-runtime 28.0.0", "tracing", ] [[package]] name = "cumulus-client-service" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a72ee1a2276f11243b905676b60b77ca981c567cbed3795455b464502c3d4cb8" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -1502,93 +1925,101 @@ dependencies = [ "cumulus-relay-chain-minimal-node", "futures", "polkadot-primitives", - "sc-client-api", - "sc-consensus", - "sc-network", + "sc-client-api 25.0.0", + "sc-consensus 0.30.0", + "sc-network 0.31.0", "sc-network-sync", "sc-network-transactions", "sc-rpc", "sc-service", "sc-sysinfo", - "sc-telemetry", + "sc-telemetry 12.0.0", "sc-transaction-pool", - "sc-utils", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-runtime", + "sc-utils 11.0.0", + "sp-api 23.0.0", + "sp-blockchain 25.0.0", + "sp-consensus 0.29.0", + "sp-core 25.0.0", + "sp-runtime 28.0.0", "sp-transaction-pool", ] [[package]] name = "cumulus-pallet-aura-ext" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071cdddd31e2b0d47a74249675de828857f61eb5f6afa36cfcf63ea6ee2b60f2" dependencies = [ - "frame-support", - "frame-system", + "cumulus-pallet-parachain-system", + "frame-support 25.0.0", + "frame-system 25.0.0", "pallet-aura", + "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 27.0.0", "sp-consensus-aura", - "sp-runtime", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "cumulus-pallet-dmp-queue" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d1cb9d43cdfeedea19b4f6b8386e5b6264a97938b29f5c711a84e9dc7105ff7" dependencies = [ "cumulus-primitives-core", - "frame-support", - "frame-system", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", - "xcm", + "staging-xcm", ] [[package]] name = "cumulus-pallet-parachain-system" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d20d2280051998fcf113f04d25d4b39f27b449570b6350fdfb7e92541cb0aae7" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", "environmental", - "frame-support", - "frame-system", + "frame-support 25.0.0", + "frame-system 25.0.0", "impl-trait-for-tuples", "log", "parity-scale-codec", - "polkadot-parachain", + "polkadot-parachain-primitives", + "polkadot-runtime-parachains", "scale-info", - "sp-core", + "sp-core 25.0.0", "sp-externalities", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-state-machine", - "sp-std", - "sp-trie", - "sp-version", - "xcm", + "sp-inherents 23.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.0", + "sp-std", + "sp-trie 26.0.0", + "sp-version 26.0.0", + "staging-xcm", + "trie-db", ] [[package]] name = "cumulus-pallet-parachain-system-proc-macro" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84baea20d10325b2501b6fa06d4a7902a43d6a6c62c71b5309e75c3ad8ae1441" dependencies = [ - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 2.0.39", @@ -1596,130 +2027,143 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ff03e14a0f5847bdee67a673ee945d3acd5c1d7238d46993208dcbfb774e27f" dependencies = [ "cumulus-primitives-core", - "frame-support", - "frame-system", + "frame-support 25.0.0", + "frame-system 25.0.0", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", - "xcm", + "staging-xcm", ] [[package]] name = "cumulus-pallet-xcmp-queue" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6af9816dd6564149729ba133c2c984c88fb15c4a2cb66f57be06b9147744e51" dependencies = [ + "bp-xcm-bridge-hub-router", "cumulus-primitives-core", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", "parity-scale-codec", "polkadot-runtime-common", + "polkadot-runtime-parachains", "rand_chacha 0.3.1", "scale-info", - "sp-io", - "sp-runtime", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", - "xcm", - "xcm-executor", + "staging-xcm", + "staging-xcm-executor", ] [[package]] name = "cumulus-primitives-aura" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51c2ecd2393555e89245676fd49003fdc68dc7aa108f83f8c5ff5f8936ce5543" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", "polkadot-primitives", - "sp-api", + "sp-api 23.0.0", "sp-consensus-aura", - "sp-runtime", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "cumulus-primitives-core" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d40f62add2352287be4cb58b0017a91f61d953e2c6d2777c20d93185558196e1" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", - "polkadot-parachain", + "polkadot-parachain-primitives", "polkadot-primitives", "scale-info", - "sp-api", - "sp-runtime", + "sp-api 23.0.0", + "sp-runtime 28.0.0", "sp-std", - "sp-trie", - "xcm", + "sp-trie 26.0.0", + "staging-xcm", ] [[package]] name = "cumulus-primitives-parachain-inherent" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d0b1e0e6dcf393dbf05b31122a8c4739acf407a96ec8fd707886f36ee95c355" dependencies = [ "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", "cumulus-test-relay-sproof-builder", "parity-scale-codec", - "sc-client-api", + "sc-client-api 25.0.0", "scale-info", - "sp-api", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-state-machine", + "sp-api 23.0.0", + "sp-core 25.0.0", + "sp-inherents 23.0.0", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.0", "sp-std", "sp-storage", - "sp-trie", + "sp-trie 26.0.0", "tracing", ] [[package]] name = "cumulus-primitives-timestamp" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "771ef4a34f7bcd4e8782f73d8dbd0df031b1c1c82e54b06af69f88df2cddc316" dependencies = [ "cumulus-primitives-core", "futures", "parity-scale-codec", - "sp-inherents", + "sp-inherents 23.0.0", "sp-std", "sp-timestamp", ] [[package]] name = "cumulus-primitives-utility" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d0ad7498cb748684f0f309ee037e9a29a91fb3ec5b5276b5fc723c3716bdd8a" dependencies = [ "cumulus-primitives-core", - "frame-support", + "frame-support 25.0.0", "log", + "pallet-xcm-benchmarks", "parity-scale-codec", "polkadot-runtime-common", - "sp-io", - "sp-runtime", + "polkadot-runtime-parachains", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", - "xcm", - "xcm-builder", - "xcm-executor", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", ] [[package]] name = "cumulus-relay-chain-inprocess-interface" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9518b7440b3f887433058b000a564e06b6799fd6d2776f4d035b2802c67742eb" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1729,21 +2173,22 @@ dependencies = [ "polkadot-cli", "polkadot-service", "sc-cli", - "sc-client-api", + "sc-client-api 25.0.0", "sc-sysinfo", - "sc-telemetry", + "sc-telemetry 12.0.0", "sc-tracing", - "sp-api", - "sp-consensus", - "sp-core", - "sp-runtime", - "sp-state-machine", + "sp-api 23.0.0", + "sp-consensus 0.29.0", + "sp-core 25.0.0", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.0", ] [[package]] name = "cumulus-relay-chain-interface" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af081ef8885042e7ae96e9d1cf32ec6f0616fe4cb78f0325ed7c5accded687fb" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1751,25 +2196,25 @@ dependencies = [ "jsonrpsee-core", "parity-scale-codec", "polkadot-overseer", - "sc-client-api", - "sp-api", - "sp-blockchain", - "sp-state-machine", + "sc-client-api 25.0.0", + "sp-api 23.0.0", + "sp-blockchain 25.0.0", + "sp-state-machine 0.32.0", "thiserror", ] [[package]] name = "cumulus-relay-chain-minimal-node" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69a1635ecc0bc20e7907a559983c818e4130ecfd899635e831f3f9b93966082c" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", "cumulus-relay-chain-rpc-interface", "futures", - "lru 0.9.0", "polkadot-availability-recovery", "polkadot-collator-protocol", "polkadot-core-primitives", @@ -1781,62 +2226,71 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "sc-authority-discovery", - "sc-client-api", - "sc-network", - "sc-network-common", + "sc-network 0.31.0", + "sc-network-common 0.30.0", "sc-service", "sc-tracing", - "sc-utils", - "sp-api", - "sp-blockchain", - "sp-consensus", + "sc-utils 11.0.0", + "sp-api 23.0.0", + "sp-consensus 0.29.0", "sp-consensus-babe", - "sp-runtime", - "tokio", + "sp-runtime 28.0.0", + "substrate-prometheus-endpoint", "tracing", ] [[package]] name = "cumulus-relay-chain-rpc-interface" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce507996b8e97e07e3687c1c55159b38f56b2550b476c727114ab2e7ad7b2bf1" dependencies = [ "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", + "either", "futures", "futures-timer", "jsonrpsee", - "lru 0.9.0", "parity-scale-codec", + "pin-project", "polkadot-overseer", - "sc-client-api", - "sc-rpc-api", + "rand 0.8.5", + "sc-client-api 25.0.0", + "sc-rpc-api 0.30.0", "sc-service", + "schnellru", "serde", "serde_json", - "sp-api", + "smoldot", + "smoldot-light", + "sp-api 23.0.0", "sp-authority-discovery", "sp-consensus-babe", - "sp-core", - "sp-state-machine", + "sp-core 25.0.0", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.0", "sp-storage", + "thiserror", "tokio", + "tokio-util", "tracing", "url", ] [[package]] name = "cumulus-test-relay-sproof-builder" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59b921a9cb6758faa1c739f135fd87aa1e10a4e86a1c1db3119b396a62287cf2" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", "polkadot-primitives", - "sp-runtime", - "sp-state-machine", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.0", "sp-std", + "sp-trie 26.0.0", ] [[package]] @@ -1848,7 +2302,7 @@ dependencies = [ "byteorder", "digest 0.8.1", "rand_core 0.5.1", - "subtle", + "subtle 2.4.1", "zeroize", ] @@ -1861,21 +2315,48 @@ dependencies = [ "byteorder", "digest 0.9.0", "rand_core 0.5.1", - "subtle", + "subtle 2.4.1", "zeroize", ] [[package]] name = "curve25519-dalek" -version = "4.0.0-rc.1" +version = "4.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d4ba9852b42210c7538b75484f9daa0655e9a3ac04f693747bb0f02cf3cfe16" +checksum = "e89b8c6a2e4b1f45971ad09761aafb85514a84744b67a95e32c3cc1352d1f65c" dependencies = [ "cfg-if", + "cpufeatures", + "curve25519-dalek-derive", + "digest 0.10.7", "fiat-crypto", - "packed_simd_2", "platforms", - "subtle", + "rustc_version", + "subtle 2.4.1", + "zeroize", +] + +[[package]] +name = "curve25519-dalek-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.39", +] + +[[package]] +name = "curve25519-dalek-ng" +version = "4.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c359b7249347e46fb28804470d071c921156ad62b3eef5d34e2ba867533dec8" +dependencies = [ + "byteorder", + "digest 0.9.0", + "rand_core 0.6.4", + "subtle-ng", "zeroize", ] @@ -2064,14 +2545,14 @@ dependencies = [ "block-buffer 0.10.4", "const-oid", "crypto-common", - "subtle", + "subtle 2.4.1", ] [[package]] name = "directories" -version = "4.0.1" +version = "5.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f51c5d4ddabd36886dd3e1438cb358cdcb0d7c499cb99cb4ac2e38e18b5cb210" +checksum = "9a49173b84e034382284f27f1af4dcbbd231ffa358c0fe316541a7337f376a35" dependencies = [ "dirs-sys", ] @@ -2088,13 +2569,14 @@ dependencies = [ [[package]] name = "dirs-sys" -version = "0.3.7" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6" +checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" dependencies = [ "libc", + "option-ext", "redox_users", - "winapi", + "windows-sys 0.48.0", ] [[package]] @@ -2127,27 +2609,28 @@ checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" [[package]] name = "docify" -version = "0.1.16" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af1b04e6ef3d21119d3eb7b032bca17f99fe041e9c072f30f32cc0e1a2b1f3c4" +checksum = "7cc4fd38aaa9fb98ac70794c82a00360d1e165a87fbf96a8a91f9dfc602aaee2" dependencies = [ "docify_macros", ] [[package]] name = "docify_macros" -version = "0.1.16" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b5610df7f2acf89a1bb5d1a66ae56b1c7fcdcfe3948856fb3ace3f644d70eb7" +checksum = "63fa215f3a0d40fb2a221b3aa90d8e1fbb8379785a990cb60d62ac71ebdc6460" dependencies = [ "common-path", "derive-syn-parse", - "lazy_static", + "once_cell", "proc-macro2", "quote", "regex", "syn 2.0.39", "termcolor", + "toml 0.8.2", "walkdir", ] @@ -2157,6 +2640,12 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1" +[[package]] +name = "downcast-rs" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650" + [[package]] name = "dtoa" version = "1.0.9" @@ -2200,30 +2689,32 @@ dependencies = [ "digest 0.10.7", "elliptic-curve", "rfc6979", - "signature 2.1.0", + "signature", "spki 0.7.2", ] [[package]] name = "ed25519" -version = "1.5.3" +version = "2.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91cff35c70bba8a626e3185d8cd48cc11b5437e1a5bcd15b9b5fa3c64b6dfee7" +checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" dependencies = [ - "signature 1.6.4", + "pkcs8", + "signature", ] [[package]] name = "ed25519-dalek" -version = "1.0.1" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" +checksum = "1f628eaec48bfd21b865dc2950cfa014450c01d2fa2b69a86c2fd5844ec523c0" dependencies = [ - "curve25519-dalek 3.2.0", + "curve25519-dalek 4.1.1", "ed25519", - "rand 0.7.3", + "rand_core 0.6.4", "serde", - "sha2 0.9.9", + "sha2 0.10.7", + "subtle 2.4.1", "zeroize", ] @@ -2241,6 +2732,21 @@ dependencies = [ "zeroize", ] +[[package]] +name = "ed25519-zebra" +version = "4.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d9ce6874da5d4415896cd45ffbc4d1cfc0c4f9c079427bd870742c30f2f65a9" +dependencies = [ + "curve25519-dalek 4.1.1", + "ed25519", + "hashbrown 0.14.0", + "hex", + "rand_core 0.6.4", + "sha2 0.10.7", + "zeroize", +] + [[package]] name = "either" version = "1.9.0" @@ -2262,23 +2768,22 @@ dependencies = [ "pkcs8", "rand_core 0.6.4", "sec1", - "subtle", + "subtle 2.4.1", "zeroize", ] [[package]] name = "enclave-bridge-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.0.0#fc2999af866276658879555dcf5582bd1dba908e" dependencies = [ "common-primitives", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", ] @@ -2331,19 +2836,6 @@ dependencies = [ "syn 2.0.39", ] -[[package]] -name = "env_logger" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7" -dependencies = [ - "atty", - "humantime", - "log", - "regex", - "termcolor", -] - [[package]] name = "env_logger" version = "0.10.0" @@ -2396,6 +2888,38 @@ version = "2.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" +[[package]] +name = "event-listener" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d93877bcde0eb80ca09131a08d23f0a5c18a620b01db137dba666d18cd9b30c2" +dependencies = [ + "concurrent-queue", + "parking", + "pin-project-lite 0.2.13", +] + +[[package]] +name = "event-listener" +version = "4.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e" +dependencies = [ + "concurrent-queue", + "parking", + "pin-project-lite 0.2.13", +] + +[[package]] +name = "event-listener-strategy" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3" +dependencies = [ + "event-listener 4.0.3", + "pin-project-lite 0.2.13", +] + [[package]] name = "exit-future" version = "0.2.0" @@ -2419,27 +2943,15 @@ dependencies = [ [[package]] name = "expander" -version = "0.0.6" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3774182a5df13c3d1690311ad32fbe913feef26baba609fa2dd5f72042bd2ab6" +checksum = "5f86a749cf851891866c10515ef6c299b5c69661465e9c3bbe7e07a2b77fb0f7" dependencies = [ - "blake2", + "blake2 0.10.6", "fs-err", "proc-macro2", "quote", -] - -[[package]] -name = "expander" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f86a749cf851891866c10515ef6c299b5c69661465e9c3bbe7e07a2b77fb0f7" -dependencies = [ - "blake2", - "fs-err", - "proc-macro2", - "quote", - "syn 2.0.39", + "syn 2.0.39", ] [[package]] @@ -2487,7 +2999,7 @@ checksum = "f5aa1e3ae159e592ad222dc90c5acbad632b527779ba88486abe92782ab268bd" dependencies = [ "expander 0.0.4", "indexmap 1.9.3", - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 1.0.109", @@ -2510,14 +3022,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" dependencies = [ "rand_core 0.6.4", - "subtle", + "subtle 2.4.1", ] [[package]] name = "fiat-crypto" -version = "0.1.20" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e825f6987101665dea6ec934c09ec6d721de7bc1bf92248e1d5810c8cd636b77" +checksum = "27573eac26f4dd11e2b1916c3fe1baa56407c83c71a773a8ba17ec0bca03b6b7" [[package]] name = "file-per-thread-logger" @@ -2525,7 +3037,7 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "84f2e425d9790201ba4af4630191feac6dcc98765b118d4d18e91d23c2353866" dependencies = [ - "env_logger 0.10.0", + "env_logger", "log", ] @@ -2609,8 +3121,9 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" -version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "11.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c2d0a4310dcf0e5cce78e35e60dc2fda80ef61c8f8fc382e685dfc24fcf5db9" dependencies = [ "parity-scale-codec", ] @@ -2632,24 +3145,51 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3dd4946d63eab00d899f08a7e74e965cc6785c2298efaea6a2752905f4810407" +dependencies = [ + "frame-support 25.0.0", + "frame-support-procedural 20.0.0", + "frame-system 25.0.0", + "linregress", + "log", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "sp-api 23.0.0", + "sp-application-crypto 27.0.0", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-runtime-interface 21.0.0", + "sp-std", + "sp-storage", + "static_assertions", +] + +[[package]] +name = "frame-benchmarking" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bffc0f167650e08c1c8eb3f564569e9e96d12a7cffebb9e3527041a36ffb7cce" dependencies = [ - "frame-support", - "frame-support-procedural", - "frame-system", + "frame-support 26.0.0", + "frame-support-procedural 21.0.0", + "frame-system 26.0.0", "linregress", "log", "parity-scale-codec", "paste", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-runtime", - "sp-runtime-interface", + "sp-api 24.0.0", + "sp-application-crypto 28.0.0", + "sp-core 26.0.0", + "sp-io 28.0.0", + "sp-runtime 29.0.0", + "sp-runtime-interface 22.0.0", "sp-std", "sp-storage", "static_assertions", @@ -2657,17 +3197,18 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "29.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67e51c371bff90ba44767a79e72a036d7d648cee621cd2fe9f693e8c1d62941e" dependencies = [ "Inflector", - "array-bytes", + "array-bytes 6.2.2", "chrono", "clap", "comfy-table", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "gethostname", "handlebars", "itertools 0.10.5", @@ -2679,25 +3220,25 @@ dependencies = [ "rand_pcg", "sc-block-builder", "sc-cli", - "sc-client-api", + "sc-client-api 25.0.0", "sc-client-db", - "sc-executor", + "sc-executor 0.29.0", "sc-service", "sc-sysinfo", "serde", "serde_json", - "sp-api", - "sp-blockchain", - "sp-core", + "sp-api 23.0.0", + "sp-blockchain 25.0.0", + "sp-core 25.0.0", "sp-database", "sp-externalities", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-runtime", - "sp-state-machine", + "sp-inherents 23.0.0", + "sp-io 27.0.0", + "sp-keystore 0.31.0", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.0", "sp-storage", - "sp-trie", + "sp-trie 26.0.0", "sp-wasm-interface", "thiserror", "thousands", @@ -2705,10 +3246,11 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03911cf3675af64252a6de7b4f383eafa80d5ea5830184e7a0739aeb0b95272d" dependencies = [ - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 2.0.39", @@ -2716,34 +3258,37 @@ dependencies = [ [[package]] name = "frame-election-provider-support" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebad507fb038db2f7ce982d30bd9828a59785c9a4780348d59cd6cceaee80d1a" dependencies = [ "frame-election-provider-solution-type", - "frame-support", - "frame-system", + "frame-support 25.0.0", + "frame-system 25.0.0", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", + "sp-arithmetic 20.0.0", + "sp-core 25.0.0", "sp-npos-elections", - "sp-runtime", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "frame-executive" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2dda2c20ea3267ee20c9a5482f320236510c4ade6aec1dd930cb57dc5651c64f" dependencies = [ - "frame-support", - "frame-system", + "frame-support 25.0.0", + "frame-system 25.0.0", "frame-try-runtime", + "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", "sp-tracing", ] @@ -2762,19 +3307,20 @@ dependencies = [ [[package]] name = "frame-remote-externalities" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a30013df51f4d4e58472c4fecdbfeb141234ece5f6355e5b3a3e51d3f87d452d" dependencies = [ - "async-recursion", "futures", "indicatif", "jsonrpsee", "log", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.0", "spinners", "substrate-rpc-client", "tokio", @@ -2783,13 +3329,58 @@ dependencies = [ [[package]] name = "frame-support" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "023504bbdd0e8d1ebe3d9d289b009337cdb9a24c5e74615ffd7b188aa1664c2d" +dependencies = [ + "aquamarine", + "bitflags 1.3.2", + "docify", + "environmental", + "frame-metadata", + "frame-support-procedural 20.0.0", + "impl-trait-for-tuples", + "k256", + "log", + "macro_magic", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "serde_json", + "smallvec", + "sp-api 23.0.0", + "sp-arithmetic 20.0.0", + "sp-core 25.0.0", + "sp-core-hashing-proc-macro", + "sp-debug-derive", + "sp-genesis-builder 0.4.0", + "sp-inherents 23.0.0", + "sp-io 27.0.0", + "sp-metadata-ir", + "sp-runtime 28.0.0", + "sp-staking 23.0.0", + "sp-state-machine 0.32.0", + "sp-std", + "sp-tracing", + "sp-weights 24.0.0", + "static_assertions", + "tt-call", +] + +[[package]] +name = "frame-support" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a3c63ec85b8907268d6af6182d29d9a9752daa6979c9928566d56471f5ec731" dependencies = [ + "aquamarine", + "array-bytes 6.2.2", "bitflags 1.3.2", + "docify", "environmental", "frame-metadata", - "frame-support-procedural", + "frame-support-procedural 21.0.0", "impl-trait-for-tuples", "k256", "log", @@ -2798,27 +3389,52 @@ dependencies = [ "paste", "scale-info", "serde", + "serde_json", "smallvec", - "sp-api", - "sp-arithmetic", - "sp-core", + "sp-api 24.0.0", + "sp-arithmetic 21.0.0", + "sp-core 26.0.0", "sp-core-hashing-proc-macro", "sp-debug-derive", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-state-machine", + "sp-genesis-builder 0.5.0", + "sp-inherents 24.0.0", + "sp-io 28.0.0", + "sp-metadata-ir", + "sp-runtime 29.0.0", + "sp-staking 24.0.0", + "sp-state-machine 0.33.0", "sp-std", "sp-tracing", - "sp-weights", + "sp-weights 25.0.0", + "static_assertions", "tt-call", ] [[package]] name = "frame-support-procedural" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d6bc383298353ff2790ac1a301262c21ac196dbc26ef67a2213c46524a06dd1" +dependencies = [ + "Inflector", + "cfg-expr", + "derive-syn-parse", + "expander 2.0.0", + "frame-support-procedural-tools", + "itertools 0.10.5", + "macro_magic", + "proc-macro-warning", + "proc-macro2", + "quote", + "sp-core-hashing", + "syn 2.0.39", +] + +[[package]] +name = "frame-support-procedural" +version = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "545ed122b36d06c416a6fbe2e66ab57a455200bfd20ece87cdd604d18f674f23" dependencies = [ "Inflector", "cfg-expr", @@ -2830,16 +3446,18 @@ dependencies = [ "proc-macro-warning", "proc-macro2", "quote", + "sp-core-hashing", "syn 2.0.39", ] [[package]] name = "frame-support-procedural-tools" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "9.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b3ac1266522a8c9a2d2d26d205ec3028b88582d5f3cd5cbc75d0ec8271d197b7" dependencies = [ "frame-support-procedural-tools-derive", - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 2.0.39", @@ -2847,8 +3465,9 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" -version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "10.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9c078db2242ea7265faa486004e7fd8daaf1a577cfcac0070ce55d926922883" dependencies = [ "proc-macro2", "quote", @@ -2857,56 +3476,90 @@ dependencies = [ [[package]] name = "frame-system" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57e316407c45a5093c833966a906301aa0dcbd05048061cd9cde2548d017bfd9" +dependencies = [ + "cfg-if", + "frame-support 25.0.0", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-std", + "sp-version 26.0.0", + "sp-weights 24.0.0", +] + +[[package]] +name = "frame-system" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed5d6c8e319cea3160ec8f6c831edc77ceca442c7488d0a6d2e6a6be54fcb142" dependencies = [ "cfg-if", - "frame-support", + "frame-support 26.0.0", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 26.0.0", + "sp-io 28.0.0", + "sp-runtime 29.0.0", "sp-std", - "sp-version", - "sp-weights", + "sp-version 27.0.0", + "sp-weights 25.0.0", ] [[package]] name = "frame-system-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5b1388055d29a7a1c4d41b1623d3fcbc9d7f31d17abe04500b270b26901d926" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", + "sp-core 25.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "frame-system-rpc-runtime-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "23.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17572a34fd866ad6cab6977a2c30b38645e0a499b3486de00ae9103f7002d6d3" +dependencies = [ + "parity-scale-codec", + "sp-api 23.0.0", +] + +[[package]] +name = "frame-system-rpc-runtime-api" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14795d8c26589a4a45ae889f1869efb360649fed2c366c1e8e4891d78c3dd731" dependencies = [ "parity-scale-codec", - "sp-api", + "sp-api 24.0.0", ] [[package]] name = "frame-try-runtime" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f082e770275f9b46ddf46b09bc7a993f84db691c39d9e4d038ac07443cb17a18" dependencies = [ - "frame-support", + "frame-support 25.0.0", "parity-scale-codec", - "sp-api", - "sp-runtime", + "sp-api 23.0.0", + "sp-runtime 28.0.0", "sp-std", ] @@ -2932,7 +3585,7 @@ version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2eeb4ed9e12f43b7fa0baae3f9cdda28352770132ef2e09a23760c29cae8bd47" dependencies = [ - "rustix 0.38.4", + "rustix 0.38.25", "windows-sys 0.48.0", ] @@ -3006,6 +3659,16 @@ dependencies = [ "waker-fn", ] +[[package]] +name = "futures-lite" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aeee267a1883f7ebef3700f262d2d54de95dfaf38189015a74fdc4e0c7ad8143" +dependencies = [ + "futures-core", + "pin-project-lite 0.2.13", +] + [[package]] name = "futures-macro" version = "0.3.29" @@ -3079,7 +3742,7 @@ version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ffdf9f34f1447443d37393cc6c2b8313aebddcd96906caf34e54c68d8e57d7bd" dependencies = [ - "typenum 1.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "typenum", ] [[package]] @@ -3088,7 +3751,7 @@ version = "0.14.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" dependencies = [ - "typenum 1.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "typenum", "version_check", "zeroize", ] @@ -3127,9 +3790,9 @@ dependencies = [ [[package]] name = "ghash" -version = "0.4.4" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1583cc1656d7839fd3732b80cf4f38850336cdb9b8ded1cd399ca62958de3c99" +checksum = "d930750de5717d2dd0b8c0d42c076c0e884c81a73e6cab859bbd2339c71e3e40" dependencies = [ "opaque-debug 0.3.0", "polyval", @@ -3173,7 +3836,7 @@ checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ "ff", "rand_core 0.6.4", - "subtle", + "subtle 2.4.1", ] [[package]] @@ -3247,6 +3910,20 @@ name = "hashbrown" version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" +dependencies = [ + "ahash 0.8.3", + "allocator-api2", + "serde", +] + +[[package]] +name = "hashlink" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8094feaf31ff591f651a2664fb9cfd92bba7a60ce3197265e9482ebe753c8f7" +dependencies = [ + "hashbrown 0.14.0", +] [[package]] name = "heck" @@ -3287,6 +3964,15 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" +[[package]] +name = "hkdf" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" +dependencies = [ + "hmac 0.12.1", +] + [[package]] name = "hmac" version = "0.8.1" @@ -3500,7 +4186,7 @@ version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a9465340214b296cd17a0009acdb890d6160010b8adf8f78a00d0d7ab270f79f" dependencies = [ - "async-io", + "async-io 1.13.0", "core-foundation", "fnv", "futures", @@ -3542,6 +4228,25 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "include_dir" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18762faeff7122e89e0857b02f7ce6fcc0d101d5e9ad2ad7846cc01d61b7f19e" +dependencies = [ + "include_dir_macros", +] + +[[package]] +name = "include_dir_macros" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b139284b5cf57ecfa712bcc66950bb635b31aff41c188e8a4cfc758eca374a3f" +dependencies = [ + "proc-macro2", + "quote", +] + [[package]] name = "indexmap" version = "1.9.3" @@ -3563,6 +4268,12 @@ dependencies = [ "hashbrown 0.14.0", ] +[[package]] +name = "indexmap-nostd" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e04e2fd2b8188ea827b32ef11de88377086d690286ab35747ef7f9bf3ccb590" + [[package]] name = "indicatif" version = "0.17.7" @@ -3576,6 +4287,15 @@ dependencies = [ "unicode-width", ] +[[package]] +name = "inout" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" +dependencies = [ + "generic-array 0.14.7", +] + [[package]] name = "instant" version = "0.1.12" @@ -3621,7 +4341,7 @@ dependencies = [ "cumulus-relay-chain-minimal-node", "cumulus-relay-chain-rpc-interface", "enum-as-inner", - "frame-benchmarking", + "frame-benchmarking 25.0.0", "frame-benchmarking-cli", "futures", "hex-literal 0.3.4", @@ -3637,52 +4357,50 @@ dependencies = [ "polkadot-primitives", "polkadot-service", "sc-basic-authorship", - "sc-chain-spec", + "sc-chain-spec 24.0.0", "sc-cli", - "sc-client-api", - "sc-consensus", + "sc-client-api 25.0.0", + "sc-consensus 0.30.0", "sc-consensus-grandpa", - "sc-executor", - "sc-network", - "sc-network-common", + "sc-executor 0.29.0", + "sc-network 0.31.0", + "sc-network-common 0.30.0", "sc-network-sync", "sc-offchain", "sc-rpc", "sc-service", "sc-sysinfo", - "sc-telemetry", + "sc-telemetry 12.0.0", "sc-tracing", "sc-transaction-pool", - "sc-transaction-pool-api", + "sc-transaction-pool-api 25.0.0", "serde", "serde_json", "shell-runtime", - "sp-api", - "sp-block-builder", - "sp-blockchain", - "sp-consensus", + "sp-api 23.0.0", + "sp-block-builder 23.0.0", + "sp-blockchain 25.0.0", + "sp-consensus 0.29.0", "sp-consensus-aura", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 25.0.0", + "sp-inherents 23.0.0", + "sp-io 27.0.0", "sp-keyring", - "sp-keystore", + "sp-keystore 0.31.0", "sp-offchain", - "sp-runtime", + "sp-runtime 28.0.0", "sp-session", "sp-timestamp", "sp-transaction-pool", + "staging-xcm", "substrate-build-script-utils", - "substrate-frame-rpc-system", + "substrate-frame-rpc-system 26.0.0", "substrate-prometheus-endpoint", "substrate-state-trie-migration-rpc", - "substrate-test-client", - "substrate-test-runtime-client", "tempfile", "tokio", "try-runtime-cli", "wait-timeout", - "xcm", ] [[package]] @@ -3698,12 +4416,12 @@ dependencies = [ "cumulus-primitives-parachain-inherent", "cumulus-primitives-timestamp", "cumulus-primitives-utility", - "frame-benchmarking", + "frame-benchmarking 25.0.0", "frame-executive", - "frame-support", - "frame-system", + "frame-support 25.0.0", + "frame-system 25.0.0", "frame-system-benchmarking", - "frame-system-rpc-runtime-api", + "frame-system-rpc-runtime-api 23.0.0", "frame-try-runtime", "hex", "hex-literal 0.3.4", @@ -3713,8 +4431,8 @@ dependencies = [ "orml-xcm-support", "orml-xtokens", "pallet-aura", - "pallet-balances", - "pallet-bounties", + "pallet-balances 25.0.0", + "pallet-bounties 25.0.0", "pallet-child-bounties", "pallet-claims", "pallet-collective", @@ -3730,34 +4448,34 @@ dependencies = [ "pallet-timestamp", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", - "pallet-treasury", + "pallet-treasury 24.0.0", "pallet-utility", "pallet-vesting", "pallet-xcm", "pallet-xcm-transactor", - "parachain-info", "parachains-common", "parity-scale-codec", - "polkadot-parachain", + "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-runtime-parachains", "scale-info", - "sp-api", - "sp-block-builder", + "sp-api 23.0.0", + "sp-block-builder 23.0.0", "sp-consensus-aura", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 25.0.0", + "sp-inherents 23.0.0", + "sp-io 27.0.0", "sp-offchain", - "sp-runtime", + "sp-runtime 28.0.0", "sp-session", "sp-std", "sp-transaction-pool", - "sp-version", + "sp-version 26.0.0", + "staging-parachain-info", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", "substrate-wasm-builder", - "xcm", - "xcm-builder", - "xcm-executor", "xcm-transactor-primitives", ] @@ -3803,10 +4521,19 @@ 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.25", "windows-sys 0.48.0", ] +[[package]] +name = "is_executable" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa9acdc6d67b75e626ad644734e8bc6df893d9cd2a834129065d3dd6158ea9c8" +dependencies = [ + "winapi", +] + [[package]] name = "itertools" version = "0.10.5" @@ -3893,7 +4620,7 @@ checksum = "a4e70b4439a751a5de7dd5ed55eacff78ebf4ffe0fc009cb1ebb11417f5b536b" dependencies = [ "anyhow", "arrayvec 0.7.4", - "async-lock", + "async-lock 2.7.0", "async-trait", "beef", "futures-channel", @@ -3939,7 +4666,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baa6da1e4199c10d7b1d0a6e5e8bd8e55f351163b6f4b3cbb044672a69bd4c1c" dependencies = [ "heck", - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 1.0.109", @@ -4016,124 +4743,16 @@ dependencies = [ ] [[package]] -name = "kusama-runtime" +name = "keystream" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" -dependencies = [ - "bitvec", - "frame-benchmarking", - "frame-election-provider-support", - "frame-executive", - "frame-support", - "frame-system", - "frame-system-benchmarking", - "frame-system-rpc-runtime-api", - "frame-try-runtime", - "hex-literal 0.4.1", - "kusama-runtime-constants", - "log", - "pallet-authority-discovery", - "pallet-authorship", - "pallet-babe", - "pallet-bags-list", - "pallet-balances", - "pallet-bounties", - "pallet-child-bounties", - "pallet-collective", - "pallet-conviction-voting", - "pallet-democracy", - "pallet-election-provider-multi-phase", - "pallet-election-provider-support-benchmarking", - "pallet-elections-phragmen", - "pallet-fast-unstake", - "pallet-grandpa", - "pallet-identity", - "pallet-im-online", - "pallet-indices", - "pallet-membership", - "pallet-message-queue", - "pallet-multisig", - "pallet-nis", - "pallet-nomination-pools", - "pallet-nomination-pools-benchmarking", - "pallet-nomination-pools-runtime-api", - "pallet-offences", - "pallet-offences-benchmarking", - "pallet-preimage", - "pallet-proxy", - "pallet-ranked-collective", - "pallet-recovery", - "pallet-referenda", - "pallet-scheduler", - "pallet-session", - "pallet-session-benchmarking", - "pallet-society", - "pallet-staking", - "pallet-staking-runtime-api", - "pallet-state-trie-migration", - "pallet-timestamp", - "pallet-tips", - "pallet-transaction-payment", - "pallet-transaction-payment-rpc-runtime-api", - "pallet-treasury", - "pallet-utility", - "pallet-vesting", - "pallet-whitelist", - "pallet-xcm", - "pallet-xcm-benchmarks", - "parity-scale-codec", - "polkadot-primitives", - "polkadot-runtime-common", - "polkadot-runtime-parachains", - "rustc-hex", - "scale-info", - "serde", - "serde_derive", - "smallvec", - "sp-api", - "sp-arithmetic", - "sp-authority-discovery", - "sp-block-builder", - "sp-consensus-babe", - "sp-consensus-beefy", - "sp-core", - "sp-inherents", - "sp-io", - "sp-mmr-primitives", - "sp-npos-elections", - "sp-offchain", - "sp-runtime", - "sp-session", - "sp-staking", - "sp-std", - "sp-transaction-pool", - "sp-version", - "static_assertions", - "substrate-wasm-builder", - "xcm", - "xcm-builder", - "xcm-executor", -] - -[[package]] -name = "kusama-runtime-constants" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" -dependencies = [ - "frame-support", - "polkadot-primitives", - "polkadot-runtime-common", - "smallvec", - "sp-core", - "sp-runtime", - "sp-weights", -] - -[[package]] -name = "kvdb" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7d770dcb02bf6835887c3a979b5107a04ff4bbde97a5f0928d27404a155add9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c33070833c9ee02266356de0c43f723152bd38bd96ddf52c82b3af10c9138b28" + +[[package]] +name = "kvdb" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7d770dcb02bf6835887c3a979b5107a04ff4bbde97a5f0928d27404a155add9" dependencies = [ "smallvec", ] @@ -4164,9 +4783,9 @@ dependencies = [ [[package]] name = "landlock" -version = "0.2.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "520baa32708c4e957d2fc3a186bc5bd8d26637c33137f399ddfc202adb240068" +checksum = "1530c5b973eeed4ac216af7e24baf5737645a6272e361f1fb95710678b67d9cc" dependencies = [ "enumflags2", "libc", @@ -4187,9 +4806,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.147" +version = "0.2.153" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" +checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" [[package]] name = "libloading" @@ -4203,9 +4822,9 @@ dependencies = [ [[package]] name = "libm" -version = "0.1.4" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fc7aa29613bd6a620df431842069224d8bc9011086b1db4c0e0cd47fa03ec9a" +checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" [[package]] name = "libp2p" @@ -4330,11 +4949,11 @@ 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", + "bs58 0.4.0", "ed25519-dalek", "log", "multiaddr", @@ -4428,7 +5047,7 @@ dependencies = [ "snow", "static_assertions", "thiserror", - "x25519-dalek", + "x25519-dalek 1.1.1", "zeroize", ] @@ -4631,7 +5250,7 @@ dependencies = [ "rand 0.8.5", "serde", "sha2 0.9.9", - "typenum 1.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "typenum", ] [[package]] @@ -4642,7 +5261,7 @@ checksum = "5be9b9bb642d8522a44d533eab56c16c738301965504753b03ad1de3425d5451" dependencies = [ "crunchy", "digest 0.9.0", - "subtle", + "subtle 2.4.1", ] [[package]] @@ -4721,9 +5340,21 @@ checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" [[package]] name = "linux-raw-sys" -version = "0.4.3" +version = "0.4.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" + +[[package]] +name = "lioness" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09fc20d2ca12cb9f044c93e3bd6d32d523e6e2ec3db4f7b2939cd99026ecd3f0" +checksum = "4ae926706ba42c425c9457121178330d75e273df2e82e28b758faf3de3a9acb9" +dependencies = [ + "arrayref", + "blake2 0.8.1", + "chacha", + "keystream", +] [[package]] name = "lock_api" @@ -4743,21 +5374,18 @@ checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" [[package]] name = "lru" -version = "0.9.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71e7d46de488603ffdd5f30afbc64fbba2378214a2c3a2fb83abf3d33126df17" +checksum = "718e8fae447df0c7e1ba7f5189829e63fd536945c8988d61444c19039f16b670" dependencies = [ "hashbrown 0.13.2", ] [[package]] name = "lru" -version = "0.10.1" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "718e8fae447df0c7e1ba7f5189829e63fd536945c8988d61444c19039f16b670" -dependencies = [ - "hashbrown 0.13.2", -] +checksum = "a4a83fb7698b3643a0e34f9ae6f2e8f0178c0fd42f8b59d493aa271ff3a5bf21" [[package]] name = "lru-cache" @@ -4799,9 +5427,9 @@ dependencies = [ [[package]] name = "macro_magic" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aee866bfee30d2d7e83835a4574aad5b45adba4cc807f2a3bbba974e5d4383c9" +checksum = "e03844fc635e92f3a0067e25fa4bf3e3dbf3f2927bf3aa01bb7bc8f1c428949d" dependencies = [ "macro_magic_core", "macro_magic_macros", @@ -4811,9 +5439,9 @@ dependencies = [ [[package]] name = "macro_magic_core" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e766a20fd9c72bab3e1e64ed63f36bd08410e75803813df210d1ce297d7ad00" +checksum = "468155613a44cfd825f1fb0ffa532b018253920d404e6fca1e8d43155198a46d" dependencies = [ "const-random", "derive-syn-parse", @@ -4825,9 +5453,9 @@ dependencies = [ [[package]] name = "macro_magic_core_macros" -version = "0.4.3" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d710e1214dffbab3b5dacb21475dde7d6ed84c69ff722b3a47a782668d44fbac" +checksum = "9ea73aa640dc01d62a590d48c0c3521ed739d53b27f919b25c3551e233481654" dependencies = [ "proc-macro2", "quote", @@ -4836,9 +5464,9 @@ dependencies = [ [[package]] name = "macro_magic_macros" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8fb85ec1620619edf2984a7693497d4ec88a9665d8b87e942856884c92dbf2a" +checksum = "ef9d79ae96aaba821963320eb2b6e34d17df1e5a83d8a1985c29cc5be59577b3" dependencies = [ "macro_magic_core", "quote", @@ -4954,6 +5582,18 @@ dependencies = [ "zeroize", ] +[[package]] +name = "merlin" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d" +dependencies = [ + "byteorder", + "keccak", + "rand_core 0.6.4", + "zeroize", +] + [[package]] name = "mick-jaeger" version = "0.1.8" @@ -4991,39 +5631,66 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "mixnet" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "daa3eb39495d8e2e2947a1d862852c90cc6a4a8845f8b41c8829cb9fcc047f4a" +dependencies = [ + "arrayref", + "arrayvec 0.7.4", + "bitflags 1.3.2", + "blake2 0.10.6", + "c2-chacha", + "curve25519-dalek 4.1.1", + "either", + "hashlink", + "lioness", + "log", + "parking_lot 0.12.1", + "rand 0.8.5", + "rand_chacha 0.3.1", + "rand_distr", + "subtle 2.4.1", + "thiserror", + "zeroize", +] + [[package]] name = "mmr-gadget" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62eff76fd1de7bad43b0e9e666970ae11ef8c24f49622585362c21ae5470986f" dependencies = [ "futures", "log", "parity-scale-codec", - "sc-client-api", + "sc-client-api 25.0.0", "sc-offchain", - "sp-api", - "sp-blockchain", - "sp-consensus", + "sp-api 23.0.0", + "sp-blockchain 25.0.0", + "sp-consensus 0.29.0", "sp-consensus-beefy", - "sp-core", + "sp-core 25.0.0", "sp-mmr-primitives", - "sp-runtime", + "sp-runtime 28.0.0", ] [[package]] name = "mmr-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a387f061e68601d268aade23387eaaf6542e82b357ebc1f8d6a95a251b996d30" dependencies = [ "anyhow", "jsonrpsee", "parity-scale-codec", "serde", - "sp-api", - "sp-blockchain", - "sp-core", + "sp-api 23.0.0", + "sp-blockchain 25.0.0", + "sp-core 25.0.0", "sp-mmr-primitives", - "sp-runtime", + "sp-runtime 28.0.0", ] [[package]] @@ -5106,7 +5773,7 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc076939022111618a5026d3be019fd8b366e76314538ff9a1b59ffbcbf98bcd" dependencies = [ - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro-error", "proc-macro2", "quote", @@ -5147,7 +5814,7 @@ dependencies = [ "num-rational", "num-traits", "simba", - "typenum 1.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "typenum", ] [[package]] @@ -5267,6 +5934,18 @@ dependencies = [ "pin-utils", ] +[[package]] +name = "no-std-net" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43794a0ace135be66a25d3ae77d41b91615fb68ae937f904090203e81f755b65" + +[[package]] +name = "nodrop" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" + [[package]] name = "nohash-hasher" version = "0.2.0" @@ -5359,6 +6038,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f30b0abd723be7e2ffca1272140fac1a2f084c77ec3e123c192b66af1ee9e6c2" dependencies = [ "autocfg", + "libm", ] [[package]] @@ -5431,11 +6111,17 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +[[package]] +name = "option-ext" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" + [[package]] name = "orchestra" -version = "0.0.5" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "227585216d05ba65c7ab0a0450a3cf2cbd81a98862a54c4df8e14d5ac6adb015" +checksum = "2356622ffdfe72362a45a1e5e87bb113b8327e596e39b91f11f0ef4395c8da79" dependencies = [ "async-trait", "dyn-clonable", @@ -5443,21 +6129,22 @@ dependencies = [ "futures-timer", "orchestra-proc-macro", "pin-project", - "prioritized-metered-channel", + "prioritized-metered-channel 0.6.1", "thiserror", "tracing", ] [[package]] name = "orchestra-proc-macro" -version = "0.0.5" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2871aadd82a2c216ee68a69837a526dfe788ecbe74c4c5038a6acdbff6653066" +checksum = "eedb646674596266dc9bb2b5c7eea7c36b32ecc7777eba0d510196972d72c4fd" dependencies = [ - "expander 0.0.6", - "itertools 0.10.5", + "expander 2.0.0", + "indexmap 2.0.0", + "itertools 0.11.0", "petgraph", - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 1.0.109", @@ -5474,10 +6161,11 @@ dependencies = [ [[package]] name = "orml-traits" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v1.0.0#2b41f29e749fda52522cb4c7ea0e47f517f6a59d" +version = "0.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fdb88da091cdb145e8db8f9e5f93c4ebc4c5f1200d521472a428f2d83c8f08f2" dependencies = [ - "frame-support", + "frame-support 25.0.0", "impl-trait-for-tuples", "num-traits", "orml-utilities", @@ -5485,235 +6173,276 @@ dependencies = [ "paste", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", - "xcm", + "staging-xcm", ] [[package]] name = "orml-utilities" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v1.0.0#2b41f29e749fda52522cb4c7ea0e47f517f6a59d" +version = "0.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0977821580f68338741a96bee434a464f5d890da3a0721bb9fc1a9b5b28bc87" dependencies = [ - "frame-support", + "frame-support 25.0.0", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "orml-xcm" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v1.0.0#2b41f29e749fda52522cb4c7ea0e47f517f6a59d" +version = "0.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31970807eb8f7721263f198e5c47effb1f15eb91e0dbdb9692490cf124f1e87b" dependencies = [ - "frame-support", - "frame-system", + "frame-support 25.0.0", + "frame-system 25.0.0", "pallet-xcm", "parity-scale-codec", "scale-info", "sp-std", - "xcm", + "staging-xcm", ] [[package]] name = "orml-xcm-support" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v1.0.0#2b41f29e749fda52522cb4c7ea0e47f517f6a59d" +version = "0.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80cc326829280b6cf63f883706b4f847a33970beebaae690a01f3adc80dc9f0f" dependencies = [ - "frame-support", + "frame-support 25.0.0", "orml-traits", "parity-scale-codec", - "sp-runtime", + "sp-runtime 28.0.0", "sp-std", - "xcm", - "xcm-executor", + "staging-xcm", + "staging-xcm-executor", ] [[package]] name = "orml-xtokens" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v1.0.0#2b41f29e749fda52522cb4c7ea0e47f517f6a59d" +version = "0.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2071f7368b4e6c6171ef55b62dc46241772a9351c12e64fa01b6ec87778b2f58" dependencies = [ "cumulus-primitives-core", - "frame-support", - "frame-system", + "frame-support 25.0.0", + "frame-system 25.0.0", + "log", "orml-traits", "orml-xcm-support", "pallet-xcm", "parity-scale-codec", "scale-info", "serde", - "sp-io", - "sp-runtime", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", - "xcm", - "xcm-executor", + "staging-xcm", + "staging-xcm-executor", ] [[package]] -name = "packed_simd_2" -version = "0.3.8" +name = "pallet-asset-rate" +version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1914cd452d8fccd6f9db48147b29fd4ae05bea9dc5d9ad578509f72415de282" +checksum = "740aebbcfefe8528f56ff8a339f810520a28df3ec159d016ef719aaa9f131af4" dependencies = [ - "cfg-if", - "libm", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", + "parity-scale-codec", + "scale-info", + "sp-core 25.0.0", + "sp-runtime 28.0.0", + "sp-std", ] [[package]] name = "pallet-assets" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09b91035c82dc9e64eaf52f3f6a39f4674bcb56333553882d6ff5d12500a9182" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", + "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", + "sp-core 25.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-aura" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04fbef67cf62445b7fd8e68241e6b71d9fb8c77abb3d52259eebf525a4cd5586" dependencies = [ - "frame-support", - "frame-system", + "frame-support 25.0.0", + "frame-system 25.0.0", + "log", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 27.0.0", "sp-consensus-aura", - "sp-runtime", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-authority-discovery" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fda272a66bbf1602579efcede67606ac43cda6d462ad551c527d8cadc871813d" dependencies = [ - "frame-support", - "frame-system", + "frame-support 25.0.0", + "frame-system 25.0.0", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 27.0.0", "sp-authority-discovery", - "sp-runtime", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-authorship" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d38eab59f7d15fe43c81fc3cd92f4c1f895ca6d0efb74fc2a6d6d7d3d34d413" dependencies = [ - "frame-support", - "frame-system", + "frame-support 25.0.0", + "frame-system 25.0.0", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-babe" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b12430ca4b79b27231acb1ff3f99d33d6503fbeba40bfc8380e42d59b6d52b0" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", "pallet-authorship", "pallet-session", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 27.0.0", "sp-consensus-babe", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-session", - "sp-staking", + "sp-staking 23.0.0", "sp-std", ] [[package]] name = "pallet-bags-list" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d49c4448e51a5c64d63a4263aebeb2dfb90dabb48746e178b337fb7f533d45f" dependencies = [ - "frame-benchmarking", + "aquamarine", + "docify", + "frame-benchmarking 25.0.0", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", - "pallet-balances", + "pallet-balances 25.0.0", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", "sp-tracing", ] [[package]] name = "pallet-balances" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9de2915b425ae77d63ba25c194780599b7be25307454a138cfb316c16d001e68" +dependencies = [ + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-runtime 28.0.0", + "sp-std", +] + +[[package]] +name = "pallet-balances" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8784a22a3c2e0cd17d775e08002d5a5ce44267717a9d96fd3644fdf38cfcc4d5" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 26.0.0", + "frame-support 26.0.0", + "frame-system 26.0.0", "log", "parity-scale-codec", "scale-info", - "sp-runtime", + "sp-runtime 29.0.0", "sp-std", ] [[package]] name = "pallet-beefy" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8563fce9fdb0e557015c0b58ed7ea7d5c1a4a1ddb1d27bf56e040d6bbf5c79e9" dependencies = [ - "frame-support", - "frame-system", + "frame-support 25.0.0", + "frame-system 25.0.0", + "log", "pallet-authorship", "pallet-session", "parity-scale-codec", "scale-info", "serde", "sp-consensus-beefy", - "sp-runtime", + "sp-runtime 28.0.0", "sp-session", - "sp-staking", + "sp-staking 23.0.0", "sp-std", ] [[package]] name = "pallet-beefy-mmr" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee3ed75c348ba23064cea40dab623719ef348bfe67ea39f195f82e2e7a7d0115" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "binary-merkle-tree", - "frame-support", - "frame-system", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", "pallet-beefy", "pallet-mmr", @@ -5721,198 +6450,225 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", + "sp-api 23.0.0", "sp-consensus-beefy", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.0", + "sp-std", +] + +[[package]] +name = "pallet-bounties" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74c0fb83c88f217e5bfe07a69a6d8a6c32d01241159ab81705ba5d4c3e24aaab" +dependencies = [ + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", + "log", + "pallet-treasury 24.0.0", + "parity-scale-codec", + "scale-info", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-bounties" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc64da9107b75ab08a5eec8cef34e92e94676869750a62f8f8f53461c056709d" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 26.0.0", + "frame-support 26.0.0", + "frame-system 26.0.0", "log", - "pallet-treasury", + "pallet-treasury 25.0.0", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 26.0.0", + "sp-io 28.0.0", + "sp-runtime 29.0.0", "sp-std", ] [[package]] name = "pallet-child-bounties" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2246ce705aee37f9b6ad818e3646910d31ef4191e1c234bff054a710ef8d8a38" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", - "pallet-bounties", - "pallet-treasury", + "pallet-bounties 24.0.0", + "pallet-treasury 24.0.0", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-claims" version = "0.9.12" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.0.0#fc2999af866276658879555dcf5582bd1dba908e" dependencies = [ "claims-primitives", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "libsecp256k1", "parity-scale-codec", "rustc-hex", "scale-info", "serde", "serde_derive", - "sp-io", - "sp-runtime", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-collective" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dddb120b5ee520146617a8c49b4d4c980ba9188918d43085539bf78815e7ec1d" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-conviction-voting" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c8ff7512a377b708f71772e5169550cebc8f74bc8c26553015698eaa0975356" dependencies = [ "assert_matches", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "parity-scale-codec", "scale-info", "serde", - "sp-io", - "sp-runtime", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-democracy" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed9f24ad18db2eeae0f03ba1743a82aaf300e0bbd6cdcb1119b0da93eef3d77f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-election-provider-multi-phase" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "481178ef558a9409d9c12fc01279b517e3a0a7797664e89761447dba3a182ce6" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 25.0.0", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", "pallet-election-provider-support-benchmarking", "parity-scale-codec", "rand 0.8.5", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", + "sp-arithmetic 20.0.0", + "sp-core 25.0.0", + "sp-io 27.0.0", "sp-npos-elections", - "sp-runtime", + "sp-runtime 28.0.0", "sp-std", "strum 0.24.1", ] [[package]] name = "pallet-election-provider-support-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5ab6413ec88b64acf849a202795c67940dc3bcc846ce03bd0893b90e2119ecf" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 25.0.0", "frame-election-provider-support", - "frame-system", + "frame-system 25.0.0", "parity-scale-codec", "sp-npos-elections", - "sp-runtime", + "sp-runtime 28.0.0", + "sp-std", ] [[package]] name = "pallet-elections-phragmen" -version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "021da1d28b604b3654f895987dcb1ccb47d73102b31bc84c8f784bed261f01d8" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", + "sp-core 25.0.0", + "sp-io 27.0.0", "sp-npos-elections", - "sp-runtime", - "sp-staking", + "sp-runtime 28.0.0", + "sp-staking 23.0.0", "sp-std", ] [[package]] name = "pallet-enclave-bridge" version = "0.12.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.0.0#fc2999af866276658879555dcf5582bd1dba908e" dependencies = [ "enclave-bridge-primitives", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "hex-literal 0.3.4", "log", - "pallet-balances", + "pallet-balances 25.0.0", "pallet-teerex", "pallet-timestamp", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", "teerex-primitives", "test-utils", @@ -5920,261 +6676,279 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05634a197738c999a3032393916182fedccce13cb063fc330ee9bf810cd53b49" dependencies = [ "docify", - "frame-benchmarking", + "frame-benchmarking 25.0.0", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-staking", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-staking 23.0.0", "sp-std", ] [[package]] name = "pallet-grandpa" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b87c7f4cd94a526054dfebf7a84fbcaf6385033defa246ad83e321e71f8c5a92" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", "pallet-authorship", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto", - "sp-consensus-grandpa", - "sp-core", - "sp-io", - "sp-runtime", + "sp-application-crypto 27.0.0", + "sp-consensus-grandpa 10.0.0", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-session", - "sp-staking", + "sp-staking 23.0.0", "sp-std", ] [[package]] name = "pallet-identity" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "735bf6c19d30299e2d448797170a67d41c6a8ba593fb3a71ce4e11d3b85c60e9" dependencies = [ "enumflags2", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-im-online" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59eb1c68cc6b4700ad1d2a81ba847ff7b37406aa0326b7716825155d3f985762" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", "pallet-authorship", "parity-scale-codec", "scale-info", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-runtime", - "sp-staking", + "sp-application-crypto 27.0.0", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-staking 23.0.0", "sp-std", ] [[package]] name = "pallet-indices" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0893ae7f2211010e92bf57fe31f18e2223a2f97f6d6393aa7192e283ec520beb" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", + "sp-core 25.0.0", + "sp-io 27.0.0", "sp-keyring", - "sp-runtime", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-membership" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e1504034588eb733f8ce98b77757e9a7390662313aa133ef1e3b9fbb94359c7" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-message-queue" -version = "7.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0776bf51d03bd746159063fa1357234feb85114273d40ef3aa3efba65d091eb4" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", + "sp-arithmetic 20.0.0", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", - "sp-weights", + "sp-weights 24.0.0", ] [[package]] name = "pallet-mmr" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2b9789cac80b48e9427724d0b400f984fb844fc711fc2dd2d0cdccdedda7169" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", + "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", + "sp-core 25.0.0", + "sp-io 27.0.0", "sp-mmr-primitives", - "sp-runtime", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-multisig" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fea2785a0bfb1884a8283bf65010bb7189c8fce958ced9947a8c71c148ef199f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-nis" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7aa7ec891b7f1801a405095a2ad2c70eef94d2abe86792eee54794de23cbd035" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-runtime", + "sp-arithmetic 20.0.0", + "sp-core 25.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-nomination-pools" -version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "22.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72cec44f1a5752ace99cfc5472d79a758b1cca25b9cc5b2d62ffd8aba6e66a8a" dependencies = [ - "frame-support", - "frame-system", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", + "pallet-balances 25.0.0", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-staking", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-staking 23.0.0", "sp-std", + "sp-tracing", ] [[package]] name = "pallet-nomination-pools-benchmarking" -version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "23.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b27cbf4a47cc79862d254f16b38c68fd2dda087ce58e7c0021859d89718e865a" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 25.0.0", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 25.0.0", + "frame-system 25.0.0", "pallet-bags-list", "pallet-nomination-pools", "pallet-staking", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-runtime-interface", - "sp-staking", + "sp-runtime 28.0.0", + "sp-runtime-interface 21.0.0", + "sp-staking 23.0.0", "sp-std", ] [[package]] name = "pallet-nomination-pools-runtime-api" -version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c256cc530a19ff614f2af9b5c95ae9aa777a2bf1542aa455ae65e842f8c924" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", - "sp-api", + "sp-api 23.0.0", "sp-std", ] [[package]] name = "pallet-offences" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3fd14c02ed4b689652826aa93284aada5a2cf859df3cc34ad88b2fd410a8c50" dependencies = [ - "frame-support", - "frame-system", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", - "pallet-balances", + "pallet-balances 25.0.0", "parity-scale-codec", "scale-info", "serde", - "sp-runtime", - "sp-staking", + "sp-runtime 28.0.0", + "sp-staking 23.0.0", "sp-std", ] [[package]] name = "pallet-offences-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1b3ae77cfb16f0495372853d42a44e34ab7b183bd8996a8cee91715f783ff49" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 25.0.0", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", "pallet-babe", - "pallet-balances", + "pallet-balances 25.0.0", "pallet-grandpa", "pallet-im-online", "pallet-offences", @@ -6182,145 +6956,156 @@ dependencies = [ "pallet-staking", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-staking", + "sp-runtime 28.0.0", + "sp-staking 23.0.0", "sp-std", ] [[package]] name = "pallet-preimage" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1ed40405c758b52375cfc75aac74f10ff9bb9480569e5cfca42682e2db6c387" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-proxy" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fbc0b550f5cbbad51f9daf795cc7046d40bbff256dae8d6072fd710ab40fd3a" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-ranked-collective" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8181da7fd6b9adf4f8641c5bcb156cd209e3226eea87ee9f9b1ac41f8e37c714" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", + "sp-arithmetic 20.0.0", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-recovery" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "889fddd16cfdea09c2ae4dc8e9f67a1ec4b8ac680412cffb772fa572489ec687" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-referenda" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "592ff9873af379bf55e835072afd787cd6435204213ac484e86345b026f4ae4e" dependencies = [ "assert_matches", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-io", - "sp-runtime", + "sp-arithmetic 20.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-scheduler" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3508a51d359c6640577feead9dc00667f38cec385baad77b636c61ff746ffe24" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "docify", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", - "sp-weights", + "sp-weights 24.0.0", ] [[package]] name = "pallet-session" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "768a6fb5333efc2bd2a3538c1d6ffa4178398660d4e3be89f2eb82d4e9088ae6" dependencies = [ - "frame-support", - "frame-system", + "frame-support 25.0.0", + "frame-system 25.0.0", "impl-trait-for-tuples", "log", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-session", - "sp-staking", + "sp-staking 23.0.0", + "sp-state-machine 0.32.0", "sp-std", - "sp-trie", + "sp-trie 26.0.0", ] [[package]] name = "pallet-session-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5401cee669394e86a15851ace4ad60ef1b4d656f11ff22c83d8004051279ea59" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "pallet-session", "pallet-staking", + "parity-scale-codec", "rand 0.8.5", - "sp-runtime", + "sp-runtime 28.0.0", "sp-session", "sp-std", ] @@ -6328,15 +7113,14 @@ dependencies = [ [[package]] name = "pallet-sidechain" version = "0.11.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.0.0#fc2999af866276658879555dcf5582bd1dba908e" dependencies = [ "enclave-bridge-primitives", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "hex-literal 0.3.4", "log", - "pallet-balances", + "pallet-balances 25.0.0", "pallet-enclave-bridge", "pallet-teerex", "pallet-timestamp", @@ -6344,9 +7128,9 @@ dependencies = [ "scale-info", "serde", "sidechain-primitives", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", "teerex-primitives", "test-utils", @@ -6354,32 +7138,33 @@ dependencies = [ [[package]] name = "pallet-society" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36959be2c7f810ba6b8ece8cfe2ee515774c1c776f1ed0bebf3b9e8068f6a435" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "hex-literal 0.3.4", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", "parity-scale-codec", "rand_chacha 0.2.2", "scale-info", - "sp-arithmetic", - "sp-io", - "sp-runtime", + "sp-arithmetic 20.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-staking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bed335abd32d357dd9750dae7fb87b01dfd8fe69faadcb94a6e0e0a43057d923" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 25.0.0", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", "pallet-authorship", "pallet-session", @@ -6387,19 +7172,20 @@ dependencies = [ "rand_chacha 0.2.2", "scale-info", "serde", - "sp-application-crypto", - "sp-io", - "sp-runtime", - "sp-staking", + "sp-application-crypto 27.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-staking 23.0.0", "sp-std", ] [[package]] name = "pallet-staking-reward-curve" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "10.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df8878e29f3d001ac1b1b714621f462e41a9d1fa8f385657f955e8a1ec0684d7" dependencies = [ - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 2.0.39", @@ -6407,71 +7193,75 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "16.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45b6f832653badb5f70bdfecc1ded64b02b8159b27f18515af03f8b80f1b023b" dependencies = [ "log", - "sp-arithmetic", + "sp-arithmetic 20.0.0", ] [[package]] name = "pallet-staking-runtime-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "11.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773c0d24ad4da4b505e47b43e91c8c0af4e835f16104bc770732a4796c174748" dependencies = [ "parity-scale-codec", - "sp-api", + "sp-api 23.0.0", ] [[package]] name = "pallet-state-trie-migration" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "550292d79f281fd1bfbbf2643f10cef3d67068075d46374295f2efe7f7113da0" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-sudo" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fcec9f73ecb8d0439a13043a253a9fd90aa6bf5aece6470194bbfc7f79256d88" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "docify", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-teeracle" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.0.0#fc2999af866276658879555dcf5582bd1dba908e" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "hex-literal 0.3.4", "log", "pallet-teerex", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", "substrate-fixed", "teeracle-primitives", @@ -6482,24 +7272,23 @@ dependencies = [ [[package]] name = "pallet-teerex" version = "0.10.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.0.0#fc2999af866276658879555dcf5582bd1dba908e" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "hex", "hex-literal 0.3.4", "log", - "pallet-balances", + "pallet-balances 25.0.0", "pallet-timestamp", "parity-scale-codec", "rustls-webpki 0.102.0-alpha.3", "scale-info", "serde", "sgx-verify", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", "teerex-primitives", "test-utils", @@ -6507,231 +7296,251 @@ dependencies = [ [[package]] name = "pallet-timestamp" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b25ec8749cf3f481b5e5199be701bac0dea835851b83fc7c455192762711858d" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "docify", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", "parity-scale-codec", "scale-info", - "sp-inherents", - "sp-io", - "sp-runtime", + "sp-inherents 23.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", + "sp-storage", "sp-timestamp", ] [[package]] name = "pallet-tips" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81b17cf8b964e5533f1f5ac1f087f3f69adfead754cb5dd25abe395ec1e7abc9" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", - "pallet-treasury", + "pallet-treasury 24.0.0", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-transaction-payment" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87ef7ceaac786e41613731e3bc48284f1aa3ec260934abda2daed949de6e5ada" dependencies = [ - "frame-support", - "frame-system", + "frame-support 25.0.0", + "frame-system 25.0.0", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-transaction-payment-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "27.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99adb3915b29d04362648a4be9114de3bfe37c431f214b1ef96b71f358950d9d" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-rpc", - "sp-runtime", - "sp-weights", + "sp-api 23.0.0", + "sp-blockchain 25.0.0", + "sp-core 25.0.0", + "sp-rpc 23.0.0", + "sp-runtime 28.0.0", + "sp-weights 24.0.0", ] [[package]] name = "pallet-transaction-payment-rpc-runtime-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07d87fdc4028155367c6ea98143054a6c00b38bfd77ec08681e289e429e35505" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", - "sp-api", - "sp-runtime", - "sp-weights", + "sp-api 23.0.0", + "sp-runtime 28.0.0", + "sp-weights 24.0.0", +] + +[[package]] +name = "pallet-treasury" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8dd462af11574485864023849e0622916b611dbc88111192fb39b1e6d7e666ba" +dependencies = [ + "docify", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", + "impl-trait-for-tuples", + "pallet-balances 25.0.0", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 25.0.0", + "sp-runtime 28.0.0", + "sp-std", ] [[package]] name = "pallet-treasury" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd9ce7a3f30d0689ad7e426b491957df1257371c46a737eda68de048cab71676" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "docify", + "frame-benchmarking 26.0.0", + "frame-support 26.0.0", + "frame-system 26.0.0", "impl-trait-for-tuples", - "pallet-balances", + "pallet-balances 26.0.0", "parity-scale-codec", "scale-info", "serde", - "sp-runtime", + "sp-core 26.0.0", + "sp-runtime 29.0.0", "sp-std", ] [[package]] name = "pallet-utility" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85a8a6941da32837e4297e0d8abe0a5c94f348a119cccbf27b0f99ee01246c0e" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-vesting" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd29411ef24eb6a856adf1bc33b37ead4835a25dafb1c4c8c95b13fa5247748f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", "parity-scale-codec", "scale-info", - "sp-runtime", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-whitelist" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d37304829099cfec7d17df70cfe11ccf6cb7bd624eab80e8e79e895859454540" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "parity-scale-codec", "scale-info", - "sp-api", - "sp-runtime", + "sp-api 23.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "pallet-xcm" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04d5e5404d9dadb39390949aadc2c641c16ce4cb0f47ed7a7ff584ab914c2984" dependencies = [ "bounded-collections", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", - "xcm", - "xcm-executor", + "staging-xcm", + "staging-xcm-executor", ] [[package]] name = "pallet-xcm-benchmarks" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7f50852380d3272accbf4532dc2e46cdc7f66f5452600bfd7d33fc208a5ff1e" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", - "xcm", - "xcm-builder", - "xcm-executor", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", ] [[package]] name = "pallet-xcm-transactor" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.0.0#fc2999af866276658879555dcf5582bd1dba908e" dependencies = [ "cumulus-primitives-core", - "frame-support", - "frame-system", + "frame-support 25.0.0", + "frame-system 25.0.0", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", - "xcm", + "staging-xcm", "xcm-transactor-primitives", ] -[[package]] -name = "parachain-info" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v1.0.0#0d17cf6bef320f156f2859d6d2b0abd4154ae1d5" -dependencies = [ - "cumulus-primitives-core", - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", - "sp-runtime", - "sp-std", -] - [[package]] name = "parachains-common" version = "1.7.0" dependencies = [ "frame-executive", - "frame-support", - "frame-system", + "frame-support 25.0.0", + "frame-system 25.0.0", "pallet-assets", "pallet-authorship", - "pallet-balances", + "pallet-balances 25.0.0", "parity-scale-codec", "polkadot-core-primitives", "polkadot-primitives", @@ -6739,13 +7548,13 @@ dependencies = [ "scale-info", "smallvec", "sp-consensus-aura", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", + "staging-xcm", + "staging-xcm-executor", "substrate-wasm-builder", - "xcm", - "xcm-executor", ] [[package]] @@ -6754,7 +7563,7 @@ version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "78f19d20a0d2cc52327a88d131fa1c4ea81ea4a04714aedcfeca2dd410049cf8" dependencies = [ - "blake2", + "blake2 0.10.6", "crc32fast", "fs2", "hex", @@ -6770,9 +7579,9 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.6.4" +version = "3.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd8e946cc0cc711189c0b0249fb8b599cbeeab9784d83c415719368bb8d4ac64" +checksum = "881331e34fa842a2fb61cc2db9643a8fedc615e47cfcc52597d1af0db9a7e8fe" dependencies = [ "arrayvec 0.7.4", "bitvec", @@ -6785,11 +7594,11 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "3.6.4" +version = "3.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a296c3079b5fefbc499e1de58dc26c09b1b9a5952d26694ee89f04a43ebbb3e" +checksum = "be30eaf4b0a9fba5336683b38de57bb86d179a35862ba6bfcf57625d006bde5b" dependencies = [ - "proc-macro-crate", + "proc-macro-crate 2.0.2", "proc-macro2", "quote", "syn 1.0.109", @@ -6892,12 +7701,21 @@ dependencies = [ ] [[package]] -name = "peeking_take_while" -version = "0.1.2" +name = "pbkdf2" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" - -[[package]] +checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" +dependencies = [ + "digest 0.10.7", +] + +[[package]] +name = "peeking_take_while" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" + +[[package]] name = "pem" version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -6968,18 +7786,18 @@ dependencies = [ [[package]] name = "pin-project" -version = "1.1.2" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "030ad2bc4db10a8944cb0d837f158bdfec4d4a4873ab701a95046770d11f8842" +checksum = "0302c4a0442c456bd56f841aee5c3bfd17967563f6fadc9ceb9f9c23cf3807e0" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.2" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec2e072ecce94ec471b13398d5402c188e76ac03cf74dd1a975161b23a3f6d9c" +checksum = "266c042b60c9c76b8d53061e52b2e0d1116abc57cefc8c5cd671619a56ac3690" dependencies = [ "proc-macro2", "quote", @@ -7004,6 +7822,17 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +[[package]] +name = "piper" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "668d31b1c4eba19242f2088b2bf3316b82ca31082a8335764db4e083db7485d4" +dependencies = [ + "atomic-waker", + "fastrand 2.0.0", + "futures-io", +] + [[package]] name = "pkcs8" version = "0.10.2" @@ -7028,8 +7857,9 @@ checksum = "e3d7ddaed09e0eb771a79ab0fd64609ba0afb0a8366421957936ad14cbd13630" [[package]] name = "polkadot-approval-distribution" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aafcdaca311b3f8ea463548cc2f62289a2689d3198ea8cba2d100fab378fff3c" dependencies = [ "futures", "futures-timer", @@ -7046,9 +7876,11 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "316fa25f773ac3f470578d2dc2ff73cefc2a01c9ea0a9a00767529184701792c" dependencies = [ + "always-assert", "futures", "futures-timer", "polkadot-node-network-protocol", @@ -7061,13 +7893,13 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "118ed63ece1ec1ccf240ab44d932a932ae778ece57a6fba34953b7c0b436f6b1" dependencies = [ "derive_more", "fatality", "futures", - "lru 0.9.0", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -7076,20 +7908,22 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "rand 0.8.5", - "sp-core", - "sp-keystore", + "schnellru", + "sp-core 25.0.0", + "sp-keystore 0.31.0", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-availability-recovery" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13245b9f37a4d409c47cf46f74d2601df82f1bf12678b1a792ad1aa5effebd13" dependencies = [ + "async-trait", "fatality", "futures", - "lru 0.9.0", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -7098,35 +7932,35 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "rand 0.8.5", - "sc-network", + "sc-network 0.31.0", + "schnellru", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-cli" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd0d87ec2b375e4f353d9fc22fa8d405578e44f1f12a7ff74936a3997f69d62f" dependencies = [ "clap", "frame-benchmarking-cli", "futures", "log", - "polkadot-node-core-pvf-execute-worker", - "polkadot-node-core-pvf-prepare-worker", "polkadot-node-metrics", - "polkadot-performance-test", + "polkadot-node-primitives", "polkadot-service", "sc-cli", - "sc-executor", + "sc-executor 0.29.0", "sc-service", "sc-storage-monitor", "sc-sysinfo", "sc-tracing", - "sp-core", - "sp-io", + "sp-core 25.0.0", + "sp-io 27.0.0", "sp-keyring", - "sp-maybe-compressed-blob", + "sp-maybe-compressed-blob 9.0.0", "substrate-build-script-utils", "thiserror", "try-runtime-cli", @@ -7134,10 +7968,10 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f5ed0e739de576e41203ba99b9da1347998174a84fb5ea825f1a8e30e1dff88" dependencies = [ - "always-assert", "bitvec", "fatality", "futures", @@ -7147,36 +7981,38 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-core 25.0.0", + "sp-keystore 0.31.0", + "sp-runtime 28.0.0", "thiserror", + "tokio-util", "tracing-gum", ] [[package]] name = "polkadot-core-primitives" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b08d1d6ca24e1b13f8069e015cfab794344212dd7436aadd61de8086a82664ef" dependencies = [ "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", + "sp-core 25.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "polkadot-dispute-distribution" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffa05fec2897e38a2ec42df5f84110fbb170dbe549d5d1e454f635b141cb2aca" dependencies = [ "derive_more", "fatality", "futures", "futures-timer", "indexmap 1.9.3", - "lru 0.9.0", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -7184,31 +8020,34 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sc-network", - "sp-application-crypto", - "sp-keystore", + "sc-network 0.31.0", + "schnellru", + "sp-application-crypto 27.0.0", + "sp-keystore 0.31.0", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-erasure-coding" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9714c537368095f1bc2e70c45fb8ae3347c19b344f8d5b4722cc781690a74924" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", "polkadot-primitives", "reed-solomon-novelpoly", - "sp-core", - "sp-trie", + "sp-core 25.0.0", + "sp-trie 26.0.0", "thiserror", ] [[package]] name = "polkadot-gossip-support" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9acc782f4c0efb0809cc325a49b50c498255a973dfc665e940043af20936d525" dependencies = [ "futures", "futures-timer", @@ -7218,17 +8057,19 @@ dependencies = [ "polkadot-primitives", "rand 0.8.5", "rand_chacha 0.3.1", - "sc-network", - "sp-application-crypto", - "sp-core", - "sp-keystore", + "sc-network 0.31.0", + "sc-network-common 0.30.0", + "sp-application-crypto 27.0.0", + "sp-core 25.0.0", + "sp-keystore 0.31.0", "tracing-gum", ] [[package]] name = "polkadot-network-bridge" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf7355e7f9cac8e5fe4899796e92aea2ea94678854dc44e21890a33d4c6c6ec3" dependencies = [ "always-assert", "async-trait", @@ -7242,16 +8083,17 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", - "sc-network", - "sp-consensus", + "sc-network 0.31.0", + "sp-consensus 0.29.0", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-node-collation-generation" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bed91a561c9edfc5bd1d8e432cec8cecde63aaf12131cc19881d67e39be0fce" dependencies = [ "futures", "parity-scale-codec", @@ -7260,24 +8102,24 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-core", - "sp-maybe-compressed-blob", + "sp-core 25.0.0", + "sp-maybe-compressed-blob 9.0.0", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-node-core-approval-voting" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "976e5fcd0c10fbe37d120a9e4702324585e529498c56d03fd7b529f17644fe34" dependencies = [ "bitvec", "derive_more", "futures", "futures-timer", "kvdb", - "lru 0.9.0", - "merlin", + "merlin 2.0.1", "parity-scale-codec", "polkadot-node-jaeger", "polkadot-node-primitives", @@ -7286,19 +8128,21 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "sc-keystore", - "schnorrkel", - "sp-application-crypto", - "sp-consensus", + "schnellru", + "schnorrkel 0.9.1", + "sp-application-crypto 27.0.0", + "sp-consensus 0.29.0", "sp-consensus-slots", - "sp-runtime", + "sp-runtime 28.0.0", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-node-core-av-store" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9d1018400db515cec0748e4c83d6010601d1784350dfd465386a7ee47699cd3" dependencies = [ "bitvec", "futures", @@ -7312,15 +8156,16 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", - "sp-consensus", + "sp-consensus 0.29.0", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-node-core-backing" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "051940f4f7214dcc370077ead642052cda2c7316641ea9ff1f05624be2a272d2" dependencies = [ "bitvec", "fatality", @@ -7331,21 +8176,22 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "polkadot-statement-table", - "sp-keystore", + "sp-keystore 0.31.0", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-node-core-bitfield-signing" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77cea47f010914b5e52f2f1eb96c058cb117045c5864c733236e7b24ea103d22" dependencies = [ "futures", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-keystore", + "sp-keystore 0.31.0", "thiserror", "tracing-gum", "wasm-timer", @@ -7353,8 +8199,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fbb2306632d1ee08cc2f4d5945b4ec795fd79ce801ae03e79961c18877220ed2" dependencies = [ "async-trait", "futures", @@ -7365,31 +8212,34 @@ dependencies = [ "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", - "polkadot-parachain", + "polkadot-overseer", + "polkadot-parachain-primitives", "polkadot-primitives", - "sp-maybe-compressed-blob", + "sp-maybe-compressed-blob 9.0.0", "tracing-gum", ] [[package]] name = "polkadot-node-core-chain-api" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e8787fcec6e036d21421adf3db0295c142a878c482e0aba2e5aefcf050f10" dependencies = [ "futures", "polkadot-node-metrics", "polkadot-node-subsystem", "polkadot-primitives", - "sc-client-api", + "sc-client-api 25.0.0", "sc-consensus-babe", - "sp-blockchain", + "sp-blockchain 25.0.0", "tracing-gum", ] [[package]] name = "polkadot-node-core-chain-selection" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8028469b10f5f1fa10ea9b08cb09bb53bcb55a25298e4154928d3aaf7d5d066a" dependencies = [ "futures", "futures-timer", @@ -7405,27 +8255,29 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "662387f0e7b23596326754796fbb6f52e32c3deb0c11f9ff341e23a0a7139608" dependencies = [ "fatality", "futures", "kvdb", - "lru 0.9.0", "parity-scale-codec", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", "sc-keystore", + "schnellru", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-node-core-parachains-inherent" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0f57ce13de845fe1441fa3ab3405dcb142d3dc0ea985c4e28efa35b97d07d0" dependencies = [ "async-trait", "futures", @@ -7433,16 +8285,35 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", - "sp-blockchain", - "sp-inherents", + "sp-blockchain 25.0.0", + "sp-inherents 23.0.0", + "thiserror", + "tracing-gum", +] + +[[package]] +name = "polkadot-node-core-prospective-parachains" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a010a14312c5c5eec800397cc60cce10131d4a29cedf563ee639fc7b9b27ba1" +dependencies = [ + "bitvec", + "fatality", + "futures", + "parity-scale-codec", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-node-core-provisioner" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8a67ac3aa0a0e89ff20d5eb761fca78c124848a2627e35343e824d78cc9fe91" dependencies = [ "bitvec", "fatality", @@ -7452,37 +8323,35 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-node-core-pvf" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f58224dbfbd773947ff3fccc3318bda11909e8a0f7c36f7f1234c0c1f25a62a" dependencies = [ "always-assert", + "cfg-if", "futures", "futures-timer", + "is_executable", "libc", "parity-scale-codec", "pin-project", "polkadot-core-primitives", "polkadot-node-core-pvf-common", - "polkadot-node-core-pvf-execute-worker", - "polkadot-node-core-pvf-prepare-worker", "polkadot-node-metrics", "polkadot-node-primitives", - "polkadot-parachain", + "polkadot-parachain-primitives", "polkadot-primitives", "rand 0.8.5", "slotmap", - "sp-core", - "sp-maybe-compressed-blob", - "sp-tracing", + "sp-core 25.0.0", + "sp-maybe-compressed-blob 9.0.0", "sp-wasm-interface", - "substrate-build-script-utils", "tempfile", "tokio", "tracing-gum", @@ -7490,8 +8359,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7abe14484e66b365748bd4b2988cc2c68e03146bc399bdf8139f9eb5cf6c6cf0" dependencies = [ "futures", "polkadot-node-primitives", @@ -7499,97 +8369,57 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", - "sp-keystore", + "sp-keystore 0.31.0", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-node-core-pvf-common" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94004d011a260b8efdf6ddf80ac815ba6ede84bb46e32d588161c1d860c5a65d" dependencies = [ + "cfg-if", "cpu-time", "futures", "landlock", "libc", "parity-scale-codec", - "polkadot-parachain", + "polkadot-parachain-primitives", "polkadot-primitives", - "sc-executor", - "sc-executor-common", - "sc-executor-wasmtime", - "sp-core", + "sc-executor 0.29.0", + "sc-executor-common 0.26.0", + "sc-executor-wasmtime 0.26.0", + "sp-core 25.0.0", "sp-externalities", - "sp-io", - "sp-tracing", - "substrate-build-script-utils", - "tokio", - "tracing-gum", -] - -[[package]] -name = "polkadot-node-core-pvf-execute-worker" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" -dependencies = [ - "cpu-time", - "futures", - "parity-scale-codec", - "polkadot-node-core-pvf-common", - "polkadot-parachain", - "polkadot-primitives", - "rayon", - "sp-core", - "sp-maybe-compressed-blob", - "sp-tracing", - "tikv-jemalloc-ctl", - "tokio", - "tracing-gum", -] - -[[package]] -name = "polkadot-node-core-pvf-prepare-worker" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" -dependencies = [ - "futures", - "libc", - "parity-scale-codec", - "polkadot-node-core-pvf-common", - "polkadot-parachain", - "polkadot-primitives", - "rayon", - "sc-executor", - "sc-executor-common", - "sc-executor-wasmtime", - "sp-io", - "sp-maybe-compressed-blob", + "sp-io 27.0.0", "sp-tracing", - "tikv-jemalloc-ctl", "tokio", "tracing-gum", ] [[package]] name = "polkadot-node-core-runtime-api" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dccc7a95fea3562bd3a47f22c0e4ddcb755114dc0477f3173db8d5ebf0d84f50" dependencies = [ "futures", - "lru 0.9.0", "polkadot-node-metrics", "polkadot-node-subsystem", "polkadot-node-subsystem-types", "polkadot-primitives", + "schnellru", "sp-consensus-babe", "tracing-gum", ] [[package]] name = "polkadot-node-jaeger" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2cfe6d4769181dce55b1b8fc53f0bd85bb4aa20473702fbce95a94abafa19379" dependencies = [ "lazy_static", "log", @@ -7598,24 +8428,25 @@ dependencies = [ "parking_lot 0.12.1", "polkadot-node-primitives", "polkadot-primitives", - "sc-network", - "sp-core", + "sc-network 0.31.0", + "sp-core 25.0.0", "thiserror", "tokio", ] [[package]] name = "polkadot-node-metrics" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c51a586fc3ef87c685588a650c18882b4cf069d8adc0d7d9bd2670749cb4e82b" dependencies = [ - "bs58", + "bs58 0.5.0", "futures", "futures-timer", "log", "parity-scale-codec", "polkadot-primitives", - "prioritized-metered-channel", + "prioritized-metered-channel 0.5.1", "sc-cli", "sc-service", "sc-tracing", @@ -7625,11 +8456,13 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6de513655bf71400299cda1ccaebfa612fd3965e7ce5a9120b4ff37bfc80931" dependencies = [ - "async-channel", + "async-channel 1.9.0", "async-trait", + "bitvec", "derive_more", "fatality", "futures", @@ -7640,7 +8473,7 @@ dependencies = [ "polkadot-primitives", "rand 0.8.5", "sc-authority-discovery", - "sc-network", + "sc-network 0.31.0", "strum 0.24.1", "thiserror", "tracing-gum", @@ -7648,30 +8481,32 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e82ee5edac871310bd1ce16a035ad2fc901d6ddd69ea0bbabc7f0a70a02770a" dependencies = [ "bounded-vec", "futures", "parity-scale-codec", - "polkadot-parachain", + "polkadot-parachain-primitives", "polkadot-primitives", - "schnorrkel", + "schnorrkel 0.9.1", "serde", - "sp-application-crypto", + "sp-application-crypto 27.0.0", "sp-consensus-babe", - "sp-core", - "sp-keystore", - "sp-maybe-compressed-blob", - "sp-runtime", + "sp-core 25.0.0", + "sp-keystore 0.31.0", + "sp-maybe-compressed-blob 9.0.0", + "sp-runtime 28.0.0", "thiserror", - "zstd 0.11.2+zstd.1.5.2", + "zstd 0.12.4", ] [[package]] name = "polkadot-node-subsystem" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e89d3f964ebd57275c2fff4d3cc755d210698fedeac1a0a238c0eb31534c96d" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -7680,8 +8515,9 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e1013b3bac6e9b76bbd71433c3eba36b5c0fa9306bfc473ec02e3a104e156d2" dependencies = [ "async-trait", "derive_more", @@ -7692,10 +8528,11 @@ dependencies = [ "polkadot-node-primitives", "polkadot-primitives", "polkadot-statement-table", - "sc-network", - "sc-transaction-pool-api", + "sc-client-api 25.0.0", + "sc-network 0.31.0", + "sc-transaction-pool-api 25.0.0", "smallvec", - "sp-api", + "sp-api 23.0.0", "sp-authority-discovery", "sp-consensus-babe", "substrate-prometheus-endpoint", @@ -7704,8 +8541,9 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8134075bfee921305ff229412e9282a3351215bf049c6a403197cc795f919941" dependencies = [ "async-trait", "derive_more", @@ -7714,7 +8552,6 @@ dependencies = [ "futures-channel", "itertools 0.10.5", "kvdb", - "lru 0.9.0", "parity-db", "parity-scale-codec", "parking_lot 0.11.2", @@ -7724,26 +8561,29 @@ dependencies = [ "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem", + "polkadot-node-subsystem-types", "polkadot-overseer", "polkadot-primitives", - "prioritized-metered-channel", + "prioritized-metered-channel 0.5.1", "rand 0.8.5", - "sp-application-crypto", - "sp-core", - "sp-keystore", + "sc-client-api 25.0.0", + "schnellru", + "sp-application-crypto 27.0.0", + "sp-core 25.0.0", + "sp-keystore 0.31.0", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-overseer" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2f547e981cbd72357ba30952193844d30de5063e9d304c117c9b941f12b5f84" dependencies = [ "async-trait", "futures", "futures-timer", - "lru 0.9.0", "orchestra", "parking_lot 0.12.1", "polkadot-node-metrics", @@ -7751,85 +8591,70 @@ dependencies = [ "polkadot-node-primitives", "polkadot-node-subsystem-types", "polkadot-primitives", - "sc-client-api", - "sp-api", - "sp-core", + "sc-client-api 25.0.0", + "sp-api 23.0.0", + "sp-core 25.0.0", "tikv-jemalloc-ctl", "tracing-gum", ] [[package]] -name = "polkadot-parachain" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +name = "polkadot-parachain-primitives" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42265630c0c48e25d7ee5a9f4bdcafd003be65c0a44deeb6541620ca169fa519" dependencies = [ "bounded-collections", "derive_more", - "frame-support", + "frame-support 25.0.0", "parity-scale-codec", "polkadot-core-primitives", "scale-info", "serde", - "sp-core", - "sp-runtime", + "sp-core 25.0.0", + "sp-runtime 28.0.0", "sp-std", ] -[[package]] -name = "polkadot-performance-test" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" -dependencies = [ - "env_logger 0.9.3", - "kusama-runtime", - "log", - "polkadot-erasure-coding", - "polkadot-node-core-pvf-prepare-worker", - "polkadot-node-primitives", - "polkadot-primitives", - "quote", - "sc-executor-common", - "sp-maybe-compressed-blob", - "thiserror", -] - [[package]] name = "polkadot-primitives" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee4508ff6b035edc08c54bb61238500179963f6f1eb8266dce6a5625509124bc" dependencies = [ "bitvec", "hex-literal 0.4.1", "parity-scale-codec", "polkadot-core-primitives", - "polkadot-parachain", + "polkadot-parachain-primitives", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", + "sp-api 23.0.0", + "sp-application-crypto 27.0.0", + "sp-arithmetic 20.0.0", "sp-authority-discovery", "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-runtime", - "sp-staking", + "sp-core 25.0.0", + "sp-inherents 23.0.0", + "sp-io 27.0.0", + "sp-keystore 0.31.0", + "sp-runtime 28.0.0", + "sp-staking 23.0.0", "sp-std", ] [[package]] name = "polkadot-rpc" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce0432643ea2e4923db1f0ba6c82305c53725e18c857e911c4d979e4f7aafae5" dependencies = [ "jsonrpsee", "mmr-rpc", "pallet-transaction-payment-rpc", "polkadot-primitives", - "sc-chain-spec", - "sc-client-api", + "sc-chain-spec 24.0.0", + "sc-client-api 25.0.0", "sc-consensus-babe", "sc-consensus-babe-rpc", "sc-consensus-beefy", @@ -7839,208 +8664,109 @@ dependencies = [ "sc-consensus-grandpa-rpc", "sc-rpc", "sc-sync-state-rpc", - "sc-transaction-pool-api", - "sp-api", - "sp-block-builder", - "sp-blockchain", - "sp-consensus", + "sc-transaction-pool-api 25.0.0", + "sp-api 23.0.0", + "sp-block-builder 23.0.0", + "sp-blockchain 25.0.0", + "sp-consensus 0.29.0", "sp-consensus-babe", - "sp-keystore", - "sp-runtime", - "substrate-frame-rpc-system", + "sp-keystore 0.31.0", + "sp-runtime 28.0.0", + "substrate-frame-rpc-system 25.0.0", "substrate-state-trie-migration-rpc", ] [[package]] -name = "polkadot-runtime" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +name = "polkadot-runtime-common" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a788f8ed8b33262c33f72d78e3416c5991e40d333178ae43000a92181ee44bca" dependencies = [ "bitvec", - "frame-benchmarking", + "frame-benchmarking 25.0.0", "frame-election-provider-support", - "frame-executive", - "frame-support", - "frame-system", - "frame-system-benchmarking", - "frame-system-rpc-runtime-api", - "frame-try-runtime", - "hex-literal 0.4.1", + "frame-support 25.0.0", + "frame-system 25.0.0", + "impl-trait-for-tuples", + "libsecp256k1", "log", - "pallet-authority-discovery", + "pallet-asset-rate", "pallet-authorship", "pallet-babe", - "pallet-bags-list", - "pallet-balances", - "pallet-bounties", - "pallet-child-bounties", - "pallet-collective", - "pallet-conviction-voting", - "pallet-democracy", + "pallet-balances 25.0.0", "pallet-election-provider-multi-phase", - "pallet-election-provider-support-benchmarking", - "pallet-elections-phragmen", "pallet-fast-unstake", - "pallet-grandpa", - "pallet-identity", - "pallet-im-online", - "pallet-indices", - "pallet-membership", - "pallet-message-queue", - "pallet-multisig", - "pallet-nomination-pools", - "pallet-nomination-pools-benchmarking", - "pallet-nomination-pools-runtime-api", - "pallet-offences", - "pallet-offences-benchmarking", - "pallet-preimage", - "pallet-proxy", - "pallet-referenda", - "pallet-scheduler", "pallet-session", - "pallet-session-benchmarking", "pallet-staking", - "pallet-staking-reward-curve", - "pallet-staking-runtime-api", + "pallet-staking-reward-fn", "pallet-timestamp", - "pallet-tips", "pallet-transaction-payment", - "pallet-transaction-payment-rpc-runtime-api", - "pallet-treasury", - "pallet-utility", + "pallet-treasury 24.0.0", "pallet-vesting", - "pallet-whitelist", - "pallet-xcm", + "pallet-xcm-benchmarks", "parity-scale-codec", "polkadot-primitives", - "polkadot-runtime-common", - "polkadot-runtime-constants", "polkadot-runtime-parachains", "rustc-hex", "scale-info", "serde", "serde_derive", - "smallvec", - "sp-api", - "sp-arithmetic", - "sp-authority-discovery", - "sp-block-builder", - "sp-consensus-babe", - "sp-consensus-beefy", - "sp-core", - "sp-inherents", - "sp-io", - "sp-mmr-primitives", + "slot-range-helper", + "sp-api 23.0.0", + "sp-core 25.0.0", + "sp-inherents 23.0.0", + "sp-io 27.0.0", "sp-npos-elections", - "sp-offchain", - "sp-runtime", + "sp-runtime 28.0.0", "sp-session", - "sp-staking", + "sp-staking 23.0.0", "sp-std", - "sp-transaction-pool", - "sp-version", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", "static_assertions", - "substrate-wasm-builder", - "xcm", - "xcm-builder", - "xcm-executor", ] [[package]] -name = "polkadot-runtime-common" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +name = "polkadot-runtime-metrics" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfe45b01d9d621174c9c0eef0871aeead5986393838206fe58df3ae414bcb8d2" +dependencies = [ + "bs58 0.5.0", + "frame-benchmarking 25.0.0", + "parity-scale-codec", + "polkadot-primitives", + "sp-std", + "sp-tracing", +] + +[[package]] +name = "polkadot-runtime-parachains" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "936dbae8a7a88dba07da726d779126716e05364d8475ced1c313f32755050a02" dependencies = [ + "bitflags 1.3.2", "bitvec", - "frame-benchmarking", - "frame-election-provider-support", - "frame-support", - "frame-system", + "derive_more", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "frame-system 25.0.0", "impl-trait-for-tuples", - "libsecp256k1", "log", + "pallet-authority-discovery", "pallet-authorship", "pallet-babe", - "pallet-balances", - "pallet-election-provider-multi-phase", - "pallet-fast-unstake", + "pallet-balances 25.0.0", + "pallet-message-queue", "pallet-session", "pallet-staking", - "pallet-staking-reward-fn", "pallet-timestamp", - "pallet-transaction-payment", - "pallet-treasury", "pallet-vesting", "parity-scale-codec", - "polkadot-primitives", - "polkadot-runtime-parachains", - "rustc-hex", - "scale-info", - "serde", - "serde_derive", - "slot-range-helper", - "sp-api", - "sp-core", - "sp-inherents", - "sp-io", - "sp-npos-elections", - "sp-runtime", - "sp-session", - "sp-staking", - "sp-std", - "static_assertions", - "xcm", -] - -[[package]] -name = "polkadot-runtime-constants" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" -dependencies = [ - "frame-support", - "polkadot-primitives", - "polkadot-runtime-common", - "smallvec", - "sp-core", - "sp-runtime", - "sp-weights", -] - -[[package]] -name = "polkadot-runtime-metrics" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" -dependencies = [ - "bs58", - "parity-scale-codec", - "polkadot-primitives", - "sp-std", - "sp-tracing", -] - -[[package]] -name = "polkadot-runtime-parachains" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" -dependencies = [ - "bitflags 1.3.2", - "bitvec", - "derive_more", - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "pallet-authority-discovery", - "pallet-authorship", - "pallet-babe", - "pallet-balances", - "pallet-message-queue", - "pallet-session", - "pallet-staking", - "pallet-timestamp", - "pallet-vesting", - "parity-scale-codec", - "polkadot-parachain", + "polkadot-core-primitives", + "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-runtime-metrics", "rand 0.8.5", @@ -8048,39 +8774,39 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-runtime", + "sp-api 23.0.0", + "sp-application-crypto 27.0.0", + "sp-core 25.0.0", + "sp-inherents 23.0.0", + "sp-io 27.0.0", + "sp-keystore 0.31.0", + "sp-runtime 28.0.0", "sp-session", - "sp-staking", + "sp-staking 23.0.0", "sp-std", + "staging-xcm", + "staging-xcm-executor", "static_assertions", - "xcm", - "xcm-executor", ] [[package]] name = "polkadot-service" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afc65d44c4dd6a8be74194dcac66552dd4e79ee0bcc287349721925e8238177a" dependencies = [ "async-trait", - "frame-benchmarking", + "frame-benchmarking 25.0.0", "frame-benchmarking-cli", - "frame-support", - "frame-system", - "frame-system-rpc-runtime-api", + "frame-support 25.0.0", + "frame-system 25.0.0", + "frame-system-rpc-runtime-api 23.0.0", "futures", "hex-literal 0.4.1", - "kusama-runtime", + "is_executable", "kvdb", "kvdb-rocksdb", "log", - "lru 0.9.0", "mmr-gadget", "pallet-babe", "pallet-im-online", @@ -8108,7 +8834,9 @@ dependencies = [ "polkadot-node-core-chain-selection", "polkadot-node-core-dispute-coordinator", "polkadot-node-core-parachains-inherent", + "polkadot-node-core-prospective-parachains", "polkadot-node-core-provisioner", + "polkadot-node-core-pvf", "polkadot-node-core-pvf-checker", "polkadot-node-core-runtime-api", "polkadot-node-network-protocol", @@ -8117,11 +8845,9 @@ dependencies = [ "polkadot-node-subsystem-types", "polkadot-node-subsystem-util", "polkadot-overseer", - "polkadot-parachain", + "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-rpc", - "polkadot-runtime", - "polkadot-runtime-common", "polkadot-runtime-parachains", "polkadot-statement-distribution", "rococo-runtime", @@ -8129,52 +8855,52 @@ dependencies = [ "sc-authority-discovery", "sc-basic-authorship", "sc-block-builder", - "sc-chain-spec", - "sc-client-api", + "sc-chain-spec 24.0.0", + "sc-client-api 25.0.0", "sc-client-db", - "sc-consensus", + "sc-consensus 0.30.0", "sc-consensus-babe", "sc-consensus-beefy", "sc-consensus-grandpa", "sc-consensus-slots", - "sc-executor", + "sc-executor 0.29.0", "sc-keystore", - "sc-network", - "sc-network-common", + "sc-network 0.31.0", + "sc-network-common 0.30.0", "sc-network-sync", "sc-offchain", "sc-service", "sc-sync-state-rpc", "sc-sysinfo", - "sc-telemetry", + "sc-telemetry 12.0.0", "sc-transaction-pool", - "sc-transaction-pool-api", + "sc-transaction-pool-api 25.0.0", + "schnellru", "serde", "serde_json", - "sp-api", + "sp-api 23.0.0", "sp-authority-discovery", - "sp-block-builder", - "sp-blockchain", - "sp-consensus", + "sp-block-builder 23.0.0", + "sp-blockchain 25.0.0", + "sp-consensus 0.29.0", "sp-consensus-babe", "sp-consensus-beefy", - "sp-consensus-grandpa", - "sp-core", - "sp-inherents", - "sp-io", + "sp-consensus-grandpa 10.0.0", + "sp-core 25.0.0", + "sp-inherents 23.0.0", + "sp-io 27.0.0", "sp-keyring", - "sp-keystore", + "sp-keystore 0.31.0", "sp-mmr-primitives", "sp-offchain", - "sp-runtime", + "sp-runtime 28.0.0", "sp-session", - "sp-state-machine", + "sp-state-machine 0.32.0", "sp-storage", "sp-timestamp", "sp-transaction-pool", - "sp-trie", - "sp-version", - "sp-weights", + "sp-version 26.0.0", + "sp-weights 24.0.0", "substrate-prometheus-endpoint", "thiserror", "tracing-gum", @@ -8183,10 +8909,12 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6992cb6e2ba744752f9f403cb5e0f70ac5431f39f9ea859a3978f22c79799cb" dependencies = [ - "arrayvec 0.5.2", + "arrayvec 0.7.4", + "bitvec", "fatality", "futures", "futures-timer", @@ -8195,22 +8923,24 @@ dependencies = [ "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem", + "polkadot-node-subsystem-types", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-keystore", - "sp-staking", + "sp-keystore 0.31.0", + "sp-staking 23.0.0", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-statement-table" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22b2a11cb8871f7e30a8f5e455c92d19a186065644ee00f9acda550ff89dacce" dependencies = [ "parity-scale-codec", "polkadot-primitives", - "sp-core", + "sp-core 25.0.0", ] [[package]] @@ -8229,11 +8959,25 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "polling" +version = "3.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "545c980a3880efd47b2e262f6a4bb6daad6555cf3367aa9c4e52895f69537a41" +dependencies = [ + "cfg-if", + "concurrent-queue", + "pin-project-lite 0.2.13", + "rustix 0.38.25", + "tracing", + "windows-sys 0.52.0", +] + [[package]] name = "poly1305" -version = "0.7.2" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "048aeb476be11a4b6ca432ca569e375810de9294ae78f4774e78ea98a9246ede" +checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" dependencies = [ "cpufeatures", "opaque-debug 0.3.0", @@ -8242,9 +8986,9 @@ dependencies = [ [[package]] name = "polyval" -version = "0.5.3" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8419d2b623c7c0896ff2d5d96e2cb4ede590fed28fcc34934f4c33c036e620a1" +checksum = "d52cff9d1d4dee5fe6d03729099f4a310a41179e0a10dbf542039873f2e826fb" dependencies = [ "cfg-if", "cpufeatures", @@ -8341,9 +9085,25 @@ dependencies = [ [[package]] name = "prioritized-metered-channel" -version = "0.2.0" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e99f0c89bd88f393aab44a4ab949351f7bc7e7e1179d11ecbfe50cbe4c47e342" +dependencies = [ + "coarsetime", + "crossbeam-queue", + "derive_more", + "futures", + "futures-timer", + "nanorand", + "thiserror", + "tracing", +] + +[[package]] +name = "prioritized-metered-channel" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "382698e48a268c832d0b181ed438374a6bb708a82a8ca273bb0f61c74cf209c4" +checksum = "a172e6cc603231f2cf004232eabcecccc0da53ba576ab286ef7baa0cfc7927ad" dependencies = [ "coarsetime", "crossbeam-queue", @@ -8362,7 +9122,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" dependencies = [ "once_cell", - "toml_edit", + "toml_edit 0.19.14", +] + +[[package]] +name = "proc-macro-crate" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b00f26d3400549137f92511a46ac1cd8ce37cb5598a96d382381458b992a5d24" +dependencies = [ + "toml_datetime", + "toml_edit 0.20.2", ] [[package]] @@ -8391,9 +9161,9 @@ dependencies = [ [[package]] name = "proc-macro-warning" -version = "0.4.2" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" +checksum = "834da187cfe638ae8abb0203f0b33e5ccdb02a28e7199f2f47b3e2754f50edca" dependencies = [ "proc-macro2", "quote", @@ -8402,9 +9172,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.69" +version = "1.0.78" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "134c189feb4956b20f6f547d2cf727d4c0fe06722b20a0eec87ed445a97f92da" +checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" dependencies = [ "unicode-ident", ] @@ -8663,6 +9433,16 @@ dependencies = [ "getrandom 0.2.10", ] +[[package]] +name = "rand_distr" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31" +dependencies = [ + "num-traits", + "rand 0.8.5", +] + [[package]] name = "rand_hc" version = "0.2.0" @@ -8717,7 +9497,7 @@ checksum = "ffbe84efe2f38dea12e9bfc1f65377fdf03e53a18cb3b995faedf7934c7e785b" dependencies = [ "pem", "ring 0.16.20", - "time 0.3.23", + "time", "yasna", ] @@ -8856,7 +9636,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" dependencies = [ "hmac 0.12.1", - "subtle", + "subtle 2.4.1", ] [[package]] @@ -8925,28 +9705,31 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4198843a4ec01f56b58ee26e15df123593da562a07b838c66c4e519dbfc1922d" dependencies = [ "binary-merkle-tree", - "frame-benchmarking", + "frame-benchmarking 25.0.0", "frame-executive", - "frame-support", - "frame-system", + "frame-support 25.0.0", + "frame-system 25.0.0", "frame-system-benchmarking", - "frame-system-rpc-runtime-api", + "frame-system-rpc-runtime-api 23.0.0", "frame-try-runtime", "hex-literal 0.4.1", "log", + "pallet-asset-rate", "pallet-authority-discovery", "pallet-authorship", "pallet-babe", - "pallet-balances", + "pallet-balances 25.0.0", "pallet-beefy", "pallet-beefy-mmr", - "pallet-bounties", + "pallet-bounties 24.0.0", "pallet-child-bounties", "pallet-collective", + "pallet-conviction-voting", "pallet-democracy", "pallet-elections-phragmen", "pallet-grandpa", @@ -8961,7 +9744,9 @@ dependencies = [ "pallet-offences", "pallet-preimage", "pallet-proxy", + "pallet-ranked-collective", "pallet-recovery", + "pallet-referenda", "pallet-scheduler", "pallet-session", "pallet-society", @@ -8972,13 +9757,14 @@ dependencies = [ "pallet-tips", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", - "pallet-treasury", + "pallet-treasury 24.0.0", "pallet-utility", "pallet-vesting", + "pallet-whitelist", "pallet-xcm", "pallet-xcm-benchmarks", "parity-scale-codec", - "polkadot-parachain", + "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-runtime-common", "polkadot-runtime-parachains", @@ -8987,41 +9773,46 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api", + "sp-api 23.0.0", + "sp-arithmetic 20.0.0", "sp-authority-discovery", - "sp-block-builder", + "sp-block-builder 23.0.0", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 25.0.0", + "sp-genesis-builder 0.4.0", + "sp-inherents 23.0.0", + "sp-io 27.0.0", "sp-mmr-primitives", "sp-offchain", - "sp-runtime", + "sp-runtime 28.0.0", "sp-session", - "sp-staking", + "sp-staking 23.0.0", "sp-std", + "sp-storage", "sp-transaction-pool", - "sp-version", + "sp-version 26.0.0", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", "static_assertions", "substrate-wasm-builder", - "xcm", - "xcm-builder", - "xcm-executor", ] [[package]] name = "rococo-runtime-constants" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "272eaa4f1b4b5357d89d1f8f504cb5ee81a105bf7e5c295f053c6e521f2a199b" dependencies = [ - "frame-support", + "frame-support 25.0.0", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core", - "sp-runtime", - "sp-weights", + "sp-core 25.0.0", + "sp-runtime 28.0.0", + "sp-weights 24.0.0", + "staging-xcm", ] [[package]] @@ -9126,14 +9917,14 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.4" +version = "0.38.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a962918ea88d644592894bc6dc55acc6c0956488adcebbfb6e273506b7fd6e5" +checksum = "dc99bc2d4f1fed22595588a013687477aedf3cdcfb26558c559edb67b4d9b22e" dependencies = [ - "bitflags 2.3.3", + "bitflags 2.4.2", "errno", "libc", - "linux-raw-sys 0.4.3", + "linux-raw-sys 0.4.13", "windows-sys 0.48.0", ] @@ -9214,6 +10005,17 @@ version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" +[[package]] +name = "ruzstd" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3ffab8f9715a0d455df4bbb9d21e91135aab3cd3ca187af0cd0c3c3f868fdc" +dependencies = [ + "byteorder", + "thiserror-core", + "twox-hash", +] + [[package]] name = "rw-stream-sink" version = "0.3.0" @@ -9251,19 +10053,33 @@ dependencies = [ [[package]] name = "sc-allocator" -version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66b4c5976a9cff7fcf24c946276a62ea7837862b6f3bf9f8011f08faf4f08474" +dependencies = [ + "log", + "sp-core 25.0.0", + "sp-wasm-interface", + "thiserror", +] + +[[package]] +name = "sc-allocator" +version = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4d1a02e55b21ba31d7e43406165e89d29f32666b4ed340da51a2936e07f64d1" dependencies = [ "log", - "sp-core", + "sp-core 26.0.0", "sp-wasm-interface", "thiserror", ] [[package]] name = "sc-authority-discovery" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb7e0e8a4ea5304b65d49c0085a458ed2e43394f95457689875d3e0c6e118dee" dependencies = [ "async-trait", "futures", @@ -9276,81 +10092,111 @@ dependencies = [ "prost", "prost-build", "rand 0.8.5", - "sc-client-api", - "sc-network", - "sp-api", + "sc-client-api 25.0.0", + "sc-network 0.31.0", + "sp-api 23.0.0", "sp-authority-discovery", - "sp-blockchain", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-blockchain 25.0.0", + "sp-core 25.0.0", + "sp-keystore 0.31.0", + "sp-runtime 28.0.0", "substrate-prometheus-endpoint", "thiserror", ] [[package]] name = "sc-basic-authorship" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0aa6c85e3e0b5af9cab7078166d8c4575b7b9edac0ade6be1aadee828420104" dependencies = [ "futures", "futures-timer", "log", "parity-scale-codec", "sc-block-builder", - "sc-client-api", + "sc-client-api 25.0.0", "sc-proposer-metrics", - "sc-telemetry", - "sc-transaction-pool-api", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-inherents", - "sp-runtime", + "sc-telemetry 12.0.0", + "sc-transaction-pool-api 25.0.0", + "sp-api 23.0.0", + "sp-blockchain 25.0.0", + "sp-consensus 0.29.0", + "sp-core 25.0.0", + "sp-inherents 23.0.0", + "sp-runtime 28.0.0", "substrate-prometheus-endpoint", ] [[package]] name = "sc-block-builder" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d3999b9b758c09a6c1155e481b683ee87712f071cc5a0679f9ee4906a14a404" dependencies = [ "parity-scale-codec", - "sc-client-api", - "sp-api", - "sp-block-builder", - "sp-blockchain", - "sp-core", - "sp-inherents", - "sp-runtime", + "sc-client-api 25.0.0", + "sp-api 23.0.0", + "sp-block-builder 23.0.0", + "sp-blockchain 25.0.0", + "sp-core 25.0.0", + "sp-inherents 23.0.0", + "sp-runtime 28.0.0", +] + +[[package]] +name = "sc-chain-spec" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec7e711ea9870d3fb8e2a3ea5b601a9e20c63d0d2f457f40146407721e246a77" +dependencies = [ + "memmap2", + "sc-chain-spec-derive", + "sc-client-api 25.0.0", + "sc-executor 0.29.0", + "sc-network 0.31.0", + "sc-telemetry 12.0.0", + "serde", + "serde_json", + "sp-blockchain 25.0.0", + "sp-core 25.0.0", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.0", ] [[package]] name = "sc-chain-spec" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec801fd9522abef8e697c8d4c7bce2f2372dfbe20535b6b673286bba29f0d7e8" dependencies = [ + "array-bytes 6.2.2", + "docify", + "log", "memmap2", + "parity-scale-codec", "sc-chain-spec-derive", - "sc-client-api", - "sc-executor", - "sc-network", - "sc-telemetry", + "sc-client-api 26.0.0", + "sc-executor 0.30.0", + "sc-network 0.32.0", + "sc-telemetry 13.0.0", "serde", "serde_json", - "sp-blockchain", - "sp-core", - "sp-runtime", - "sp-state-machine", + "sp-blockchain 26.0.0", + "sp-core 26.0.0", + "sp-genesis-builder 0.5.0", + "sp-io 28.0.0", + "sp-runtime 29.0.0", + "sp-state-machine 0.33.0", ] [[package]] name = "sc-chain-spec-derive" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "10.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f25158f791eb48715da9322375598b541cadd1f193674e8a4d77c79ffa3d95d" dependencies = [ - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 2.0.39", @@ -9358,10 +10204,11 @@ dependencies = [ [[package]] name = "sc-cli" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22c61058223f80c1f961b03f7737529609a3283eef91129e971a1966101c18ea" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "chrono", "clap", "fdlimit", @@ -9373,23 +10220,24 @@ dependencies = [ "rand 0.8.5", "regex", "rpassword", - "sc-client-api", + "sc-client-api 25.0.0", "sc-client-db", "sc-keystore", - "sc-network", + "sc-mixnet 0.1.0", + "sc-network 0.31.0", "sc-service", - "sc-telemetry", + "sc-telemetry 12.0.0", "sc-tracing", - "sc-utils", + "sc-utils 11.0.0", "serde", "serde_json", - "sp-blockchain", - "sp-core", + "sp-blockchain 25.0.0", + "sp-core 25.0.0", "sp-keyring", - "sp-keystore", + "sp-keystore 0.31.0", "sp-panic-handler", - "sp-runtime", - "sp-version", + "sp-runtime 28.0.0", + "sp-version 26.0.0", "thiserror", "tiny-bip39", "tokio", @@ -9397,34 +10245,65 @@ dependencies = [ [[package]] name = "sc-client-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7d32101f415f4d7ddbe8b5de1c1387a78d6dce070e26407ec605fe9f3fc9e23" +dependencies = [ + "fnv", + "futures", + "log", + "parity-scale-codec", + "parking_lot 0.12.1", + "sc-executor 0.29.0", + "sc-transaction-pool-api 25.0.0", + "sc-utils 11.0.0", + "sp-api 23.0.0", + "sp-blockchain 25.0.0", + "sp-consensus 0.29.0", + "sp-core 25.0.0", + "sp-database", + "sp-externalities", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.0", + "sp-statement-store 7.0.0", + "sp-storage", + "sp-trie 26.0.0", + "substrate-prometheus-endpoint", +] + +[[package]] +name = "sc-client-api" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "528cd3e31f06f8eb10845f5aa370b9bc0f8879789d124a0154f50c51b7e71863" dependencies = [ "fnv", "futures", "log", "parity-scale-codec", "parking_lot 0.12.1", - "sc-executor", - "sc-transaction-pool-api", - "sc-utils", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-core", + "sc-executor 0.30.0", + "sc-transaction-pool-api 26.0.0", + "sc-utils 12.0.0", + "sp-api 24.0.0", + "sp-blockchain 26.0.0", + "sp-consensus 0.30.0", + "sp-core 26.0.0", "sp-database", "sp-externalities", - "sp-runtime", - "sp-state-machine", - "sp-statement-store", + "sp-runtime 29.0.0", + "sp-state-machine 0.33.0", + "sp-statement-store 8.0.0", "sp-storage", + "sp-trie 27.0.0", "substrate-prometheus-endpoint", ] [[package]] name = "sc-client-db" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4ced79f609a44782874d856cf39d256838957195ef34f4fb8ced90bf4b725d0" dependencies = [ "hash-db", "kvdb", @@ -9435,22 +10314,49 @@ dependencies = [ "parity-db", "parity-scale-codec", "parking_lot 0.12.1", - "sc-client-api", + "sc-client-api 25.0.0", "sc-state-db", "schnellru", - "sp-arithmetic", - "sp-blockchain", - "sp-core", + "sp-arithmetic 20.0.0", + "sp-blockchain 25.0.0", + "sp-core 25.0.0", "sp-database", - "sp-runtime", - "sp-state-machine", - "sp-trie", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.0", + "sp-trie 26.0.0", +] + +[[package]] +name = "sc-consensus" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86e4100cc8fb3876708e1ec5a7c63af3baa75febd5051beb9ddd1e4835fdfc27" +dependencies = [ + "async-trait", + "futures", + "futures-timer", + "libp2p-identity", + "log", + "mockall", + "parking_lot 0.12.1", + "sc-client-api 25.0.0", + "sc-utils 11.0.0", + "serde", + "sp-api 23.0.0", + "sp-blockchain 25.0.0", + "sp-consensus 0.29.0", + "sp-core 25.0.0", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.0", + "substrate-prometheus-endpoint", + "thiserror", ] [[package]] name = "sc-consensus" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f318eec030f95a12049d68af4fb02030b687c9853c5ea65b323e380ffddfd504" dependencies = [ "async-trait", "futures", @@ -9459,52 +10365,54 @@ dependencies = [ "log", "mockall", "parking_lot 0.12.1", - "sc-client-api", - "sc-utils", - "serde", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-runtime", - "sp-state-machine", + "sc-client-api 26.0.0", + "sc-utils 12.0.0", + "serde", + "sp-api 24.0.0", + "sp-blockchain 26.0.0", + "sp-consensus 0.30.0", + "sp-core 26.0.0", + "sp-runtime 29.0.0", + "sp-state-machine 0.33.0", "substrate-prometheus-endpoint", "thiserror", ] [[package]] name = "sc-consensus-aura" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e3e282836a7deeeb71d965a0942828f81ae2b03fd67515b733d5f33dd5da855" dependencies = [ "async-trait", "futures", "log", "parity-scale-codec", "sc-block-builder", - "sc-client-api", - "sc-consensus", + "sc-client-api 25.0.0", + "sc-consensus 0.30.0", "sc-consensus-slots", - "sc-telemetry", - "sp-api", - "sp-application-crypto", - "sp-block-builder", - "sp-blockchain", - "sp-consensus", + "sc-telemetry 12.0.0", + "sp-api 23.0.0", + "sp-application-crypto 27.0.0", + "sp-block-builder 23.0.0", + "sp-blockchain 25.0.0", + "sp-consensus 0.29.0", "sp-consensus-aura", "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", + "sp-core 25.0.0", + "sp-inherents 23.0.0", + "sp-keystore 0.31.0", + "sp-runtime 28.0.0", "substrate-prometheus-endpoint", "thiserror", ] [[package]] name = "sc-consensus-babe" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a48ef5eaf7bffc647dfdfd42c7c02a929d89410b065beeb80753fd94f5fe70d" dependencies = [ "async-trait", "fork-tree", @@ -9515,79 +10423,80 @@ dependencies = [ "num-traits", "parity-scale-codec", "parking_lot 0.12.1", - "sc-client-api", - "sc-consensus", + "sc-client-api 25.0.0", + "sc-consensus 0.30.0", "sc-consensus-epochs", "sc-consensus-slots", - "sc-telemetry", - "sc-transaction-pool-api", - "scale-info", - "sp-api", - "sp-application-crypto", - "sp-block-builder", - "sp-blockchain", - "sp-consensus", + "sc-telemetry 12.0.0", + "sc-transaction-pool-api 25.0.0", + "sp-api 23.0.0", + "sp-application-crypto 27.0.0", + "sp-block-builder 23.0.0", + "sp-blockchain 25.0.0", + "sp-consensus 0.29.0", "sp-consensus-babe", "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", + "sp-core 25.0.0", + "sp-inherents 23.0.0", + "sp-keystore 0.31.0", + "sp-runtime 28.0.0", "substrate-prometheus-endpoint", "thiserror", ] [[package]] name = "sc-consensus-babe-rpc" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a78a543d8d2e8d9a6a8b60f16ac12e6fbeffbc2322ef8fa139f733ce53ccaa8" dependencies = [ "futures", "jsonrpsee", "sc-consensus-babe", "sc-consensus-epochs", - "sc-rpc-api", + "sc-rpc-api 0.30.0", "serde", - "sp-api", - "sp-application-crypto", - "sp-blockchain", - "sp-consensus", + "sp-api 23.0.0", + "sp-application-crypto 27.0.0", + "sp-blockchain 25.0.0", + "sp-consensus 0.29.0", "sp-consensus-babe", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-core 25.0.0", + "sp-keystore 0.31.0", + "sp-runtime 28.0.0", "thiserror", ] [[package]] name = "sc-consensus-beefy" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "10.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3709a96723feaeb7a7ca0d3f7995d084029f8effeeb09d45975a8aa3ba1a63b" dependencies = [ - "array-bytes", - "async-channel", + "array-bytes 6.2.2", + "async-channel 1.9.0", "async-trait", "fnv", "futures", "log", "parity-scale-codec", "parking_lot 0.12.1", - "sc-client-api", - "sc-consensus", - "sc-network", + "sc-client-api 25.0.0", + "sc-consensus 0.30.0", + "sc-network 0.31.0", "sc-network-gossip", "sc-network-sync", - "sc-utils", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", - "sp-blockchain", - "sp-consensus", + "sc-utils 11.0.0", + "sp-api 23.0.0", + "sp-application-crypto 27.0.0", + "sp-arithmetic 20.0.0", + "sp-blockchain 25.0.0", + "sp-consensus 0.29.0", "sp-consensus-beefy", - "sp-core", - "sp-keystore", + "sp-core 25.0.0", + "sp-keystore 0.31.0", "sp-mmr-primitives", - "sp-runtime", + "sp-runtime 28.0.0", "substrate-prometheus-endpoint", "thiserror", "wasm-timer", @@ -9595,8 +10504,9 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "10.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1699fe1791dd985a5dd6075c84136027eb3e2ccff46d3e5273fdbd5b246f763" dependencies = [ "futures", "jsonrpsee", @@ -9607,31 +10517,33 @@ dependencies = [ "sc-rpc", "serde", "sp-consensus-beefy", - "sp-core", - "sp-runtime", + "sp-core 25.0.0", + "sp-runtime 28.0.0", "thiserror", ] [[package]] name = "sc-consensus-epochs" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5eafc0534bb118f614fc50fe066e423dbecfedf816cd9c43e0b492e30c1782c8" dependencies = [ "fork-tree", "parity-scale-codec", - "sc-client-api", - "sc-consensus", - "sp-blockchain", - "sp-runtime", + "sc-client-api 25.0.0", + "sc-consensus 0.30.0", + "sp-blockchain 25.0.0", + "sp-runtime 28.0.0", ] [[package]] name = "sc-consensus-grandpa" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30cbc5db21ea2c4ba65b23315e73e69e8155630fb47c84b93d40b0e759c9d86d" dependencies = [ "ahash 0.8.3", - "array-bytes", + "array-bytes 6.2.2", "async-trait", "dyn-clone", "finality-grandpa", @@ -9643,101 +10555,141 @@ dependencies = [ "parking_lot 0.12.1", "rand 0.8.5", "sc-block-builder", - "sc-chain-spec", - "sc-client-api", - "sc-consensus", - "sc-network", - "sc-network-common", + "sc-chain-spec 24.0.0", + "sc-client-api 25.0.0", + "sc-consensus 0.30.0", + "sc-network 0.31.0", + "sc-network-common 0.30.0", "sc-network-gossip", - "sc-telemetry", - "sc-transaction-pool-api", - "sc-utils", + "sc-telemetry 12.0.0", + "sc-transaction-pool-api 25.0.0", + "sc-utils 11.0.0", "serde_json", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", - "sp-blockchain", - "sp-consensus", - "sp-consensus-grandpa", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-api 23.0.0", + "sp-application-crypto 27.0.0", + "sp-arithmetic 20.0.0", + "sp-blockchain 25.0.0", + "sp-consensus 0.29.0", + "sp-consensus-grandpa 10.0.0", + "sp-core 25.0.0", + "sp-keystore 0.31.0", + "sp-runtime 28.0.0", "substrate-prometheus-endpoint", "thiserror", ] [[package]] name = "sc-consensus-grandpa-rpc" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3c545dac29d5dd002170e063ca0725be95ef653be135d251f91dbe053f63173" dependencies = [ "finality-grandpa", "futures", "jsonrpsee", "log", "parity-scale-codec", - "sc-client-api", + "sc-client-api 25.0.0", "sc-consensus-grandpa", "sc-rpc", "serde", - "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-blockchain 25.0.0", + "sp-core 25.0.0", + "sp-runtime 28.0.0", "thiserror", ] [[package]] name = "sc-consensus-slots" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2059681962e33394682627e7bd7245b5094236594f5c97c4c96988d901bda534" dependencies = [ "async-trait", "futures", "futures-timer", "log", "parity-scale-codec", - "sc-client-api", - "sc-consensus", - "sc-telemetry", - "sp-arithmetic", - "sp-blockchain", - "sp-consensus", + "sc-client-api 25.0.0", + "sc-consensus 0.30.0", + "sc-telemetry 12.0.0", + "sp-arithmetic 20.0.0", + "sp-blockchain 25.0.0", + "sp-consensus 0.29.0", "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-state-machine", + "sp-core 25.0.0", + "sp-inherents 23.0.0", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.0", +] + +[[package]] +name = "sc-executor" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "225f2ad733bc7234a6638d5203624194824b2f78ab631bc911223f536a66b9c8" +dependencies = [ + "parity-scale-codec", + "parking_lot 0.12.1", + "sc-executor-common 0.26.0", + "sc-executor-wasmtime 0.26.0", + "schnellru", + "sp-api 23.0.0", + "sp-core 25.0.0", + "sp-externalities", + "sp-io 27.0.0", + "sp-panic-handler", + "sp-runtime-interface 21.0.0", + "sp-trie 26.0.0", + "sp-version 26.0.0", + "sp-wasm-interface", + "tracing", ] [[package]] name = "sc-executor" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfb8238d50c07e842d9e29da4fc7c81407db0d8abaa4b917999376ff460b8735" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", - "sc-executor-common", - "sc-executor-wasmtime", + "sc-executor-common 0.27.0", + "sc-executor-wasmtime 0.27.0", "schnellru", - "sp-api", - "sp-core", + "sp-api 24.0.0", + "sp-core 26.0.0", "sp-externalities", - "sp-io", + "sp-io 28.0.0", "sp-panic-handler", - "sp-runtime-interface", - "sp-trie", - "sp-version", + "sp-runtime-interface 22.0.0", + "sp-trie 27.0.0", + "sp-version 27.0.0", "sp-wasm-interface", "tracing", ] [[package]] name = "sc-executor-common" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.26.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "169c1cfe81ba0e0d44ab4ada1600e30b6a9de588c792db73e32a854a6e3e1a87" +dependencies = [ + "sc-allocator 20.0.0", + "sp-maybe-compressed-blob 9.0.0", + "sp-wasm-interface", + "thiserror", + "wasm-instrument", +] + +[[package]] +name = "sc-executor-common" +version = "0.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "827196953d94bc2d395c1a1f1844296d2d9f6a69f9b802cdf0f4cf76d2472d87" dependencies = [ - "sc-allocator", - "sp-maybe-compressed-blob", + "sc-allocator 21.0.0", + "sp-maybe-compressed-blob 10.0.0", "sp-wasm-interface", "thiserror", "wasm-instrument", @@ -9745,58 +10697,182 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.26.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9167d733e928c528273be63b905ec750cfda85d740453071463da69f7d633bc" +dependencies = [ + "anyhow", + "cfg-if", + "libc", + "log", + "parking_lot 0.12.1", + "rustix 0.36.16", + "sc-allocator 20.0.0", + "sc-executor-common 0.26.0", + "sp-runtime-interface 21.0.0", + "sp-wasm-interface", + "wasmtime", +] + +[[package]] +name = "sc-executor-wasmtime" +version = "0.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa4fec495b706716566984509b4d67ab8feb55a5d40a216ca47821d39bf76b4c" dependencies = [ "anyhow", "cfg-if", "libc", "log", + "parking_lot 0.12.1", "rustix 0.36.16", - "sc-allocator", - "sc-executor-common", - "sp-runtime-interface", + "sc-allocator 21.0.0", + "sc-executor-common 0.27.0", + "sp-runtime-interface 22.0.0", "sp-wasm-interface", "wasmtime", ] [[package]] name = "sc-informant" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7189a0b95fe5d79895a107c6c057bc9351cd9c867552200815199cde25bcdb9d" dependencies = [ "ansi_term", "futures", "futures-timer", "log", - "sc-client-api", - "sc-network", - "sc-network-common", - "sp-blockchain", - "sp-runtime", + "sc-client-api 25.0.0", + "sc-network 0.31.0", + "sc-network-common 0.30.0", + "sp-blockchain 25.0.0", + "sp-runtime 28.0.0", ] [[package]] name = "sc-keystore" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "22.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "abecdf9778fccc254c0b5e227ea8b90fd59247044a30ad293a068b180427d244" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "parking_lot 0.12.1", "serde_json", - "sp-application-crypto", - "sp-core", - "sp-keystore", + "sp-application-crypto 27.0.0", + "sp-core 25.0.0", + "sp-keystore 0.31.0", "thiserror", ] [[package]] -name = "sc-network" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "array-bytes", - "async-channel", +name = "sc-mixnet" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d53ea71ec60601c18d6adcaf7a62698fc2e886c16dc8fdf8d61b3b76244dea38" +dependencies = [ + "array-bytes 4.2.0", + "arrayvec 0.7.4", + "blake2 0.10.6", + "futures", + "futures-timer", + "libp2p-identity", + "log", + "mixnet", + "multiaddr", + "parity-scale-codec", + "parking_lot 0.12.1", + "sc-client-api 25.0.0", + "sc-network 0.31.0", + "sc-transaction-pool-api 25.0.0", + "sp-api 23.0.0", + "sp-consensus 0.29.0", + "sp-core 25.0.0", + "sp-keystore 0.31.0", + "sp-mixnet 0.1.0", + "sp-runtime 28.0.0", + "thiserror", +] + +[[package]] +name = "sc-mixnet" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41675eac37938b82c699344b57349e792197c34f9e039472937ae4c0525cf2d7" +dependencies = [ + "array-bytes 4.2.0", + "arrayvec 0.7.4", + "blake2 0.10.6", + "futures", + "futures-timer", + "libp2p-identity", + "log", + "mixnet", + "multiaddr", + "parity-scale-codec", + "parking_lot 0.12.1", + "sc-client-api 26.0.0", + "sc-network 0.32.0", + "sc-transaction-pool-api 26.0.0", + "sp-api 24.0.0", + "sp-consensus 0.30.0", + "sp-core 26.0.0", + "sp-keystore 0.32.0", + "sp-mixnet 0.2.0", + "sp-runtime 29.0.0", + "thiserror", +] + +[[package]] +name = "sc-network" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01f519592a971199c486d412dbf38ba54096857080bf4b9d29c9ffabcfee3745" +dependencies = [ + "array-bytes 6.2.2", + "async-channel 1.9.0", + "async-trait", + "asynchronous-codec", + "bytes", + "either", + "fnv", + "futures", + "futures-timer", + "ip_network", + "libp2p", + "linked_hash_set", + "log", + "mockall", + "parity-scale-codec", + "parking_lot 0.12.1", + "partial_sort", + "pin-project", + "rand 0.8.5", + "sc-client-api 25.0.0", + "sc-network-common 0.30.0", + "sc-utils 11.0.0", + "serde", + "serde_json", + "smallvec", + "sp-arithmetic 20.0.0", + "sp-blockchain 25.0.0", + "sp-core 25.0.0", + "sp-runtime 28.0.0", + "substrate-prometheus-endpoint", + "thiserror", + "unsigned-varint", + "wasm-timer", + "zeroize", +] + +[[package]] +name = "sc-network" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "160455658aa8bd22c87b22f9375fd63296db8ddbe14875a8688b7172e3007295" +dependencies = [ + "array-bytes 6.2.2", + "async-channel 1.9.0", "async-trait", "asynchronous-codec", "bytes", @@ -9814,16 +10890,16 @@ dependencies = [ "partial_sort", "pin-project", "rand 0.8.5", - "sc-client-api", - "sc-network-common", - "sc-utils", + "sc-client-api 26.0.0", + "sc-network-common 0.31.0", + "sc-utils 12.0.0", "serde", "serde_json", "smallvec", - "sp-arithmetic", - "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-arithmetic 21.0.0", + "sp-blockchain 26.0.0", + "sp-core 26.0.0", + "sp-runtime 29.0.0", "substrate-prometheus-endpoint", "thiserror", "unsigned-varint", @@ -9833,28 +10909,48 @@ dependencies = [ [[package]] name = "sc-network-bitswap" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fe63a55e03d8bc796ff1e94e7fb62a62acfd7a80a47865a97b55c13371c3e05" dependencies = [ - "async-channel", + "async-channel 1.9.0", "cid", "futures", "libp2p-identity", "log", "prost", "prost-build", - "sc-client-api", - "sc-network", - "sp-blockchain", - "sp-runtime", + "sc-client-api 25.0.0", + "sc-network 0.31.0", + "sp-blockchain 25.0.0", + "sp-runtime 28.0.0", "thiserror", "unsigned-varint", ] [[package]] name = "sc-network-common" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d236686d15275e4aa49ca929a06fb6fac28aa70e35ee185b981036c149f9e9d" +dependencies = [ + "async-trait", + "bitflags 1.3.2", + "futures", + "libp2p-identity", + "parity-scale-codec", + "prost-build", + "sc-consensus 0.30.0", + "sp-consensus 0.29.0", + "sp-consensus-grandpa 10.0.0", + "sp-runtime 28.0.0", +] + +[[package]] +name = "sc-network-common" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc64798cde0ccd182d11540a1e118a7fe58cf2b3122cca01ae83870a7aa9d3a9" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -9862,58 +10958,61 @@ dependencies = [ "libp2p-identity", "parity-scale-codec", "prost-build", - "sc-consensus", - "sp-consensus", - "sp-consensus-grandpa", - "sp-runtime", + "sc-consensus 0.31.0", + "sp-consensus 0.30.0", + "sp-consensus-grandpa 11.0.0", + "sp-runtime 29.0.0", ] [[package]] name = "sc-network-gossip" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b884a9f7cd348c4c1899c0bbf95237e39dffba4baec48d4b98c1046f6bb04fa5" dependencies = [ "ahash 0.8.3", "futures", "futures-timer", "libp2p", "log", - "sc-network", - "sc-network-common", + "sc-network 0.31.0", + "sc-network-common 0.30.0", "schnellru", - "sp-runtime", + "sp-runtime 28.0.0", "substrate-prometheus-endpoint", "tracing", ] [[package]] name = "sc-network-light" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aac888fd720ef8bb2ff7d2b7f7b2e54d17bb85a417cf1e1b6f0f64f7e644936d" dependencies = [ - "array-bytes", - "async-channel", + "array-bytes 6.2.2", + "async-channel 1.9.0", "futures", "libp2p-identity", "log", "parity-scale-codec", "prost", "prost-build", - "sc-client-api", - "sc-network", - "sp-blockchain", - "sp-core", - "sp-runtime", + "sc-client-api 25.0.0", + "sc-network 0.31.0", + "sp-blockchain 25.0.0", + "sp-core 25.0.0", + "sp-runtime 28.0.0", "thiserror", ] [[package]] name = "sc-network-sync" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10c697aa8f52cf194b9f00113a7d0d3ce5d1456bedd6169a9caae10737f02907" dependencies = [ - "array-bytes", - "async-channel", + "array-bytes 6.2.2", + "async-channel 1.9.0", "async-trait", "fork-tree", "futures", @@ -9924,47 +11023,50 @@ dependencies = [ "parity-scale-codec", "prost", "prost-build", - "sc-client-api", - "sc-consensus", - "sc-network", - "sc-network-common", - "sc-utils", + "sc-client-api 25.0.0", + "sc-consensus 0.30.0", + "sc-network 0.31.0", + "sc-network-common 0.30.0", + "sc-utils 11.0.0", "schnellru", "smallvec", - "sp-arithmetic", - "sp-blockchain", - "sp-consensus", - "sp-consensus-grandpa", - "sp-core", - "sp-runtime", + "sp-arithmetic 20.0.0", + "sp-blockchain 25.0.0", + "sp-consensus 0.29.0", + "sp-consensus-grandpa 10.0.0", + "sp-core 25.0.0", + "sp-runtime 28.0.0", "substrate-prometheus-endpoint", "thiserror", + "tokio-stream", ] [[package]] name = "sc-network-transactions" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb7c9bfc7b58ce229d1512158b8f13dc849ec24857d1c29a41a867fb8afb5c09" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "futures", "libp2p", "log", "parity-scale-codec", - "sc-network", - "sc-network-common", - "sc-utils", - "sp-consensus", - "sp-runtime", + "sc-network 0.31.0", + "sc-network-common 0.30.0", + "sc-utils 11.0.0", + "sp-consensus 0.29.0", + "sp-runtime 28.0.0", "substrate-prometheus-endpoint", ] [[package]] name = "sc-offchain" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47950facab8dedf71c39667ccce8834252944e8f091f3a3bcdfc0b4503573da4" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "bytes", "fnv", "futures", @@ -9978,25 +11080,26 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "rand 0.8.5", - "sc-client-api", - "sc-network", - "sc-network-common", - "sc-transaction-pool-api", - "sc-utils", - "sp-api", - "sp-core", + "sc-client-api 25.0.0", + "sc-network 0.31.0", + "sc-network-common 0.30.0", + "sc-transaction-pool-api 25.0.0", + "sc-utils 11.0.0", + "sp-api 23.0.0", + "sp-core 25.0.0", "sp-externalities", - "sp-keystore", + "sp-keystore 0.31.0", "sp-offchain", - "sp-runtime", + "sp-runtime 28.0.0", "threadpool", "tracing", ] [[package]] name = "sc-proposer-metrics" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "221845dce4e7adb57eca5f73318699b377cff29aef92a586e71aa5cef62f879b" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -10004,8 +11107,9 @@ dependencies = [ [[package]] name = "sc-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb277280b6b3519e4a2e693b75d4ca516ebb4a928162e6a1791b217b2be60c9f" dependencies = [ "futures", "jsonrpsee", @@ -10013,49 +11117,74 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "sc-block-builder", - "sc-chain-spec", - "sc-client-api", - "sc-rpc-api", + "sc-chain-spec 24.0.0", + "sc-client-api 25.0.0", + "sc-mixnet 0.1.0", + "sc-rpc-api 0.30.0", "sc-tracing", - "sc-transaction-pool-api", - "sc-utils", + "sc-transaction-pool-api 25.0.0", + "sc-utils 11.0.0", "serde_json", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-keystore", + "sp-api 23.0.0", + "sp-blockchain 25.0.0", + "sp-core 25.0.0", + "sp-keystore 0.31.0", "sp-offchain", - "sp-rpc", - "sp-runtime", + "sp-rpc 23.0.0", + "sp-runtime 28.0.0", "sp-session", - "sp-statement-store", - "sp-version", + "sp-statement-store 7.0.0", + "sp-version 26.0.0", "tokio", ] [[package]] name = "sc-rpc-api" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "def499ac717db8442fe18543e52330d5f105027b666df73c0b38e81e9105078b" +dependencies = [ + "jsonrpsee", + "parity-scale-codec", + "sc-chain-spec 24.0.0", + "sc-mixnet 0.1.0", + "sc-transaction-pool-api 25.0.0", + "scale-info", + "serde", + "serde_json", + "sp-core 25.0.0", + "sp-rpc 23.0.0", + "sp-runtime 28.0.0", + "sp-version 26.0.0", + "thiserror", +] + +[[package]] +name = "sc-rpc-api" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e10c23e0454aa53ad9f2b0532aed31891492d7eec2a5f2c497b17684ef7f8f3a" dependencies = [ "jsonrpsee", "parity-scale-codec", - "sc-chain-spec", - "sc-transaction-pool-api", + "sc-chain-spec 25.0.0", + "sc-mixnet 0.2.0", + "sc-transaction-pool-api 26.0.0", "scale-info", "serde", "serde_json", - "sp-core", - "sp-rpc", - "sp-runtime", - "sp-version", + "sp-core 26.0.0", + "sp-rpc 24.0.0", + "sp-runtime 29.0.0", + "sp-version 27.0.0", "thiserror", ] [[package]] name = "sc-rpc-server" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "10.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e8083e1b026dcf397f8c1122b3fba6cc744c6962996df6a30e0fb75223f7637" dependencies = [ "http", "jsonrpsee", @@ -10069,10 +11198,11 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "198ea9287111b4060ce1d70dce99804b99d1a92b5fb23a79d94bf0cb460ca3ce" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "futures", "futures-util", "hex", @@ -10080,23 +11210,26 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sc-chain-spec", - "sc-client-api", - "sc-transaction-pool-api", + "sc-chain-spec 24.0.0", + "sc-client-api 25.0.0", + "sc-transaction-pool-api 25.0.0", + "sc-utils 11.0.0", "serde", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-runtime", - "sp-version", + "sp-api 23.0.0", + "sp-blockchain 25.0.0", + "sp-core 25.0.0", + "sp-runtime 28.0.0", + "sp-version 26.0.0", "thiserror", + "tokio", "tokio-stream", ] [[package]] name = "sc-service" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3623ae5bd7b089da9796a3f1edd974c94f34dd4b4b527146662ef409ae9cd38c" dependencies = [ "async-trait", "directories", @@ -10110,16 +11243,16 @@ dependencies = [ "pin-project", "rand 0.8.5", "sc-block-builder", - "sc-chain-spec", - "sc-client-api", + "sc-chain-spec 24.0.0", + "sc-client-api 25.0.0", "sc-client-db", - "sc-consensus", - "sc-executor", + "sc-consensus 0.30.0", + "sc-executor 0.29.0", "sc-informant", "sc-keystore", - "sc-network", + "sc-network 0.31.0", "sc-network-bitswap", - "sc-network-common", + "sc-network-common 0.30.0", "sc-network-light", "sc-network-sync", "sc-network-transactions", @@ -10127,27 +11260,27 @@ dependencies = [ "sc-rpc-server", "sc-rpc-spec-v2", "sc-sysinfo", - "sc-telemetry", + "sc-telemetry 12.0.0", "sc-tracing", "sc-transaction-pool", - "sc-transaction-pool-api", - "sc-utils", + "sc-transaction-pool-api 25.0.0", + "sc-utils 11.0.0", "serde", "serde_json", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-core", + "sp-api 23.0.0", + "sp-blockchain 25.0.0", + "sp-consensus 0.29.0", + "sp-core 25.0.0", "sp-externalities", - "sp-keystore", - "sp-runtime", + "sp-keystore 0.31.0", + "sp-runtime 28.0.0", "sp-session", - "sp-state-machine", + "sp-state-machine 0.32.0", "sp-storage", "sp-transaction-pool", "sp-transaction-storage-proof", - "sp-trie", - "sp-version", + "sp-trie 26.0.0", + "sp-version 26.0.0", "static_init", "substrate-prometheus-endpoint", "tempfile", @@ -10159,52 +11292,56 @@ dependencies = [ [[package]] name = "sc-state-db" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3635fe572adfe796886e18910c8b94f7ce67f9ae3e2c161176e122ddf0baa7e4" dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sp-core", + "sp-core 25.0.0", ] [[package]] name = "sc-storage-monitor" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f9acfc934aa5b0185e861ce81245685086c7231fcb2b582da4afc4d0bd62a98" dependencies = [ "clap", "fs4", "log", "sc-client-db", - "sp-core", + "sp-core 25.0.0", "thiserror", "tokio", ] [[package]] name = "sc-sync-state-rpc" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe1efc0811813b73b9bb6eccc630ccd43d13b4306255a41ef55b9304d32e64c2" dependencies = [ "jsonrpsee", "parity-scale-codec", - "sc-chain-spec", - "sc-client-api", + "sc-chain-spec 24.0.0", + "sc-client-api 25.0.0", "sc-consensus-babe", "sc-consensus-epochs", "sc-consensus-grandpa", "serde", "serde_json", - "sp-blockchain", - "sp-runtime", + "sp-blockchain 25.0.0", + "sp-runtime 28.0.0", "thiserror", ] [[package]] name = "sc-sysinfo" -version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60967710b85e650652832df73915b64c315f7b437e53c4635bd26106d6d05c21" dependencies = [ "futures", "libc", @@ -10212,18 +11349,39 @@ dependencies = [ "rand 0.8.5", "rand_pcg", "regex", - "sc-telemetry", + "sc-telemetry 12.0.0", "serde", "serde_json", - "sp-core", - "sp-io", + "sp-core 25.0.0", + "sp-io 27.0.0", "sp-std", ] [[package]] name = "sc-telemetry" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28e214e4d46cac02321bc3dc6fd72f019ac10819d1ac8f24f6935a4ae74ef273" +dependencies = [ + "chrono", + "futures", + "libp2p", + "log", + "parking_lot 0.12.1", + "pin-project", + "rand 0.8.5", + "sc-utils 11.0.0", + "serde", + "serde_json", + "thiserror", + "wasm-timer", +] + +[[package]] +name = "sc-telemetry" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "815db4a24dfb16384cb4c9959e7546a0e6b4531ec3d7cef3a28641f95ac8e22e" dependencies = [ "chrono", "futures", @@ -10232,7 +11390,7 @@ dependencies = [ "parking_lot 0.12.1", "pin-project", "rand 0.8.5", - "sc-utils", + "sc-utils 12.0.0", "serde", "serde_json", "thiserror", @@ -10241,8 +11399,9 @@ dependencies = [ [[package]] name = "sc-tracing" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83bcd745ea216ba0c0a344cff2c41b12e27846d5fca4b28f56ff77e1d3ff3634" dependencies = [ "ansi_term", "atty", @@ -10253,14 +11412,14 @@ dependencies = [ "parking_lot 0.12.1", "regex", "rustc-hash", - "sc-client-api", + "sc-client-api 25.0.0", "sc-tracing-proc-macro", "serde", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-rpc", - "sp-runtime", + "sp-api 23.0.0", + "sp-blockchain 25.0.0", + "sp-core 25.0.0", + "sp-rpc 23.0.0", + "sp-runtime 28.0.0", "sp-tracing", "thiserror", "tracing", @@ -10270,10 +11429,11 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "10.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c4ae9e4f957d7274ac6b59d667b66262caf6482dbb1b63f1c370528626b1272" dependencies = [ - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 2.0.39", @@ -10281,8 +11441,9 @@ dependencies = [ [[package]] name = "sc-transaction-pool" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f6db45a057a619670e07deefb4e69aab83386f076363db424907da2b2e82590" dependencies = [ "async-trait", "futures", @@ -10291,14 +11452,14 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sc-client-api", - "sc-transaction-pool-api", - "sc-utils", - "serde", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-runtime", + "sc-client-api 25.0.0", + "sc-transaction-pool-api 25.0.0", + "sc-utils 11.0.0", + "serde", + "sp-api 23.0.0", + "sp-blockchain 25.0.0", + "sp-core 25.0.0", + "sp-runtime 28.0.0", "sp-tracing", "sp-transaction-pool", "substrate-prometheus-endpoint", @@ -10307,33 +11468,68 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1491607f296bb8cce09a5eb3a03320c60ad52bb8120127b26f69c32bcaccd8f2" +dependencies = [ + "async-trait", + "futures", + "log", + "parity-scale-codec", + "serde", + "sp-blockchain 25.0.0", + "sp-core 25.0.0", + "sp-runtime 28.0.0", + "thiserror", +] + +[[package]] +name = "sc-transaction-pool-api" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0ce46a60b0791f45118691a21f673b958fc2ebefb650b1c707de49d0600dd17" dependencies = [ "async-trait", "futures", "log", "parity-scale-codec", "serde", - "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-blockchain 26.0.0", + "sp-core 26.0.0", + "sp-runtime 29.0.0", "thiserror", ] [[package]] name = "sc-utils" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "11.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81a4769c82dde62b9243dcc166be52e0c5d2d61cf2599923271118d9c8b997b1" +dependencies = [ + "async-channel 1.9.0", + "futures", + "futures-timer", + "lazy_static", + "log", + "parking_lot 0.12.1", + "prometheus", + "sp-arithmetic 20.0.0", +] + +[[package]] +name = "sc-utils" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb48b722884a98170e70e0be4d3aa23270c049dbbcf8728550b25a54941ad926" dependencies = [ - "async-channel", + "async-channel 1.9.0", "futures", "futures-timer", "lazy_static", "log", "parking_lot 0.12.1", "prometheus", - "sp-arithmetic", + "sp-arithmetic 21.0.0", ] [[package]] @@ -10356,7 +11552,7 @@ version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "abf2c68b89cafb3b8d918dd07b42be0da66ff202cf1155c5739a4e0c1ea0dc19" dependencies = [ - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 1.0.109", @@ -10392,11 +11588,27 @@ dependencies = [ "arrayvec 0.5.2", "curve25519-dalek 2.1.3", "getrandom 0.1.16", - "merlin", + "merlin 2.0.1", "rand 0.7.3", "rand_core 0.5.1", "sha2 0.8.2", - "subtle", + "subtle 2.4.1", + "zeroize", +] + +[[package]] +name = "schnorrkel" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "844b7645371e6ecdf61ff246ba1958c29e802881a749ae3fb1993675d210d28d" +dependencies = [ + "arrayref", + "arrayvec 0.7.4", + "curve25519-dalek-ng", + "merlin 3.0.0", + "rand_core 0.6.4", + "sha2 0.9.9", + "subtle-ng", "zeroize", ] @@ -10432,7 +11644,7 @@ dependencies = [ "der 0.7.8", "generic-array 0.14.7", "pkcs8", - "subtle", + "subtle 2.4.1", "zeroize", ] @@ -10512,18 +11724,18 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.192" +version = "1.0.193" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bca2a08484b285dcb282d0f67b26cadc0df8b19f8c12502c13d966bf9482f001" +checksum = "25dd9975e68d0cb5aa1120c288333fc98731bd1dd12f561e468ea4728c042b89" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.192" +version = "1.0.193" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6c7207fbec9faa48073f3e3074cbe553af6ea512d7c21ba46e434e70ea9fbc1" +checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3" dependencies = [ "proc-macro2", "quote", @@ -10553,12 +11765,11 @@ dependencies = [ [[package]] name = "sgx-verify" version = "0.1.4" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.0.0#fc2999af866276658879555dcf5582bd1dba908e" dependencies = [ "base64 0.13.1", "chrono", "der 0.6.1", - "frame-support", + "frame-support 25.0.0", "hex", "hex-literal 0.3.4", "log", @@ -10568,8 +11779,8 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-core", - "sp-io", + "sp-core 25.0.0", + "sp-io 27.0.0", "sp-std", "teerex-primitives", "x509-cert", @@ -10656,9 +11867,9 @@ dependencies = [ "cumulus-primitives-timestamp", "cumulus-primitives-utility", "frame-executive", - "frame-support", - "frame-system", - "frame-system-rpc-runtime-api", + "frame-support 25.0.0", + "frame-system 25.0.0", + "frame-system-rpc-runtime-api 23.0.0", "frame-try-runtime", "hex", "hex-literal 0.3.4", @@ -10667,7 +11878,7 @@ dependencies = [ "orml-xcm", "orml-xcm-support", "pallet-aura", - "pallet-balances", + "pallet-balances 25.0.0", "pallet-sudo", "pallet-timestamp", "pallet-transaction-payment", @@ -10675,27 +11886,27 @@ dependencies = [ "pallet-vesting", "pallet-xcm", "pallet-xcm-transactor", - "parachain-info", "parachains-common", "parity-scale-codec", - "polkadot-parachain", + "polkadot-parachain-primitives", "scale-info", - "sp-api", - "sp-block-builder", + "sp-api 23.0.0", + "sp-block-builder 23.0.0", "sp-consensus-aura", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 25.0.0", + "sp-inherents 23.0.0", + "sp-io 27.0.0", "sp-offchain", - "sp-runtime", + "sp-runtime 28.0.0", "sp-session", "sp-std", "sp-transaction-pool", - "sp-version", + "sp-version 26.0.0", + "staging-parachain-info", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", "substrate-wasm-builder", - "xcm", - "xcm-builder", - "xcm-executor", "xcm-transactor-primitives", ] @@ -10708,14 +11919,13 @@ checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" [[package]] name = "sidechain-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.0.0#fc2999af866276658879555dcf5582bd1dba908e" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-std", ] @@ -10728,12 +11938,6 @@ dependencies = [ "libc", ] -[[package]] -name = "signature" -version = "1.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" - [[package]] name = "signature" version = "2.1.0" @@ -10780,13 +11984,14 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e902c6b7e8f86718aee7989d6c8ea851d9772cb54a3389f2d729d8df41167ec" dependencies = [ "enumn", "parity-scale-codec", "paste", - "sp-runtime", + "sp-runtime 28.0.0", "sp-std", ] @@ -10805,6 +12010,113 @@ version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9" +[[package]] +name = "smol" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13f2b548cd8447f8de0fdf1c592929f70f4fc7039a05e47404b0d096ec6987a1" +dependencies = [ + "async-channel 1.9.0", + "async-executor", + "async-fs", + "async-io 1.13.0", + "async-lock 2.7.0", + "async-net", + "async-process", + "blocking", + "futures-lite 1.13.0", +] + +[[package]] +name = "smoldot" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0bb30cf57b7b5f6109ce17c3164445e2d6f270af2cb48f6e4d31c2967c9a9f5" +dependencies = [ + "arrayvec 0.7.4", + "async-lock 2.7.0", + "atomic-take", + "base64 0.21.2", + "bip39", + "blake2-rfc", + "bs58 0.5.0", + "chacha20", + "crossbeam-queue", + "derive_more", + "ed25519-zebra 4.0.3", + "either", + "event-listener 2.5.3", + "fnv", + "futures-lite 1.13.0", + "futures-util", + "hashbrown 0.14.0", + "hex", + "hmac 0.12.1", + "itertools 0.11.0", + "libsecp256k1", + "merlin 3.0.0", + "no-std-net", + "nom", + "num-bigint", + "num-rational", + "num-traits", + "pbkdf2 0.12.2", + "pin-project", + "poly1305", + "rand 0.8.5", + "rand_chacha 0.3.1", + "ruzstd", + "schnorrkel 0.10.2", + "serde", + "serde_json", + "sha2 0.10.7", + "sha3", + "siphasher", + "slab", + "smallvec", + "soketto", + "twox-hash", + "wasmi", + "x25519-dalek 2.0.0", + "zeroize", +] + +[[package]] +name = "smoldot-light" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "256b5bad1d6b49045e95fe87492ce73d5af81545d8b4d8318a872d2007024c33" +dependencies = [ + "async-channel 1.9.0", + "async-lock 2.7.0", + "base64 0.21.2", + "blake2-rfc", + "derive_more", + "either", + "event-listener 2.5.3", + "fnv", + "futures-channel", + "futures-lite 1.13.0", + "futures-util", + "hashbrown 0.14.0", + "hex", + "itertools 0.11.0", + "log", + "lru 0.11.1", + "no-std-net", + "parking_lot 0.12.1", + "pin-project", + "rand 0.8.5", + "rand_chacha 0.3.1", + "serde", + "serde_json", + "siphasher", + "slab", + "smol", + "smoldot", + "zeroize", +] + [[package]] name = "snap" version = "1.1.0" @@ -10813,19 +12125,19 @@ checksum = "5e9f0ab6ef7eb7353d9119c170a436d1bf248eea575ac42d19d12f4e34130831" [[package]] name = "snow" -version = "0.9.2" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ccba027ba85743e09d15c03296797cad56395089b832b48b5a5217880f57733" +checksum = "850948bee068e713b8ab860fe1adc4d109676ab4c3b621fd8147f06b261f2f85" dependencies = [ "aes-gcm", - "blake2", + "blake2 0.10.6", "chacha20poly1305", - "curve25519-dalek 4.0.0-rc.1", + "curve25519-dalek 4.1.1", "rand_core 0.6.4", - "ring 0.16.20", + "ring 0.17.3", "rustc_version", "sha2 0.10.7", - "subtle", + "subtle 2.4.1", ] [[package]] @@ -10867,34 +12179,73 @@ dependencies = [ [[package]] name = "sp-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ +version = "23.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f582f92ce47c86e4ffffe81fdd5120fea7c850dc0800653a7fa203bcc1532335" +dependencies = [ + "hash-db", + "log", + "parity-scale-codec", + "scale-info", + "sp-api-proc-macro 12.0.0", + "sp-core 25.0.0", + "sp-externalities", + "sp-metadata-ir", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.0", + "sp-std", + "sp-trie 26.0.0", + "sp-version 26.0.0", + "thiserror", +] + +[[package]] +name = "sp-api" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4d3518f5454764fb2835b2a0f3b2ed23a432f5c0b7a81ff122ec68361c91de3" +dependencies = [ "hash-db", "log", "parity-scale-codec", "scale-info", - "sp-api-proc-macro", - "sp-core", + "sp-api-proc-macro 13.0.0", + "sp-core 26.0.0", "sp-externalities", "sp-metadata-ir", - "sp-runtime", - "sp-state-machine", + "sp-runtime 29.0.0", + "sp-state-machine 0.33.0", "sp-std", - "sp-trie", - "sp-version", + "sp-trie 27.0.0", + "sp-version 27.0.0", "thiserror", ] [[package]] name = "sp-api-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a896941b2d27365a6f937ebce11e36d55132dc32104f6a48b4cd765b55efd252" dependencies = [ "Inflector", - "blake2", + "blake2 0.10.6", "expander 2.0.0", - "proc-macro-crate", + "proc-macro-crate 1.3.1", + "proc-macro2", + "quote", + "syn 2.0.39", +] + +[[package]] +name = "sp-api-proc-macro" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66f4030c3fe4a7dfb720d9007c32be4c18a4431b934ded41138056d627937894" +dependencies = [ + "Inflector", + "blake2 0.10.6", + "expander 2.0.0", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 2.0.39", @@ -10902,21 +12253,52 @@ dependencies = [ [[package]] name = "sp-application-crypto" -version = "23.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "27.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a93da025616ab59639f8e378df579c5aaa2c8b9999f328a0239156a57c991b53" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-std", +] + +[[package]] +name = "sp-application-crypto" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23030de8eae0272c705cf3e2ce0523a64708a6b53aa23f3cf9053ca63abd08d7" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 26.0.0", + "sp-io 28.0.0", "sp-std", ] [[package]] name = "sp-arithmetic" -version = "16.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f80b5c16afb61dde1037a469d570adcc686440036429e50abe2301ba9d61aad5" +dependencies = [ + "integer-sqrt", + "num-traits", + "parity-scale-codec", + "scale-info", + "serde", + "sp-std", + "static_assertions", +] + +[[package]] +name = "sp-arithmetic" +version = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9cf6e5c0c7c2e7be3a4a10af5316d2d40182915509a70f632a66c238a05c37b" dependencies = [ "integer-sqrt", "num-traits", @@ -10929,138 +12311,213 @@ dependencies = [ [[package]] name = "sp-authority-discovery" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "23.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e204d85bad6f02a5ae8fbba83c365e20459e979fd69db5575ba4b3ea1025ab3c" dependencies = [ "parity-scale-codec", "scale-info", - "sp-api", - "sp-application-crypto", - "sp-runtime", + "sp-api 23.0.0", + "sp-application-crypto 27.0.0", + "sp-runtime 28.0.0", + "sp-std", +] + +[[package]] +name = "sp-block-builder" +version = "23.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6cd16df3d1cdad862d3e764f10f7675876b011e032907423fdfa377ae2ec8575" +dependencies = [ + "sp-api 23.0.0", + "sp-inherents 23.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "sp-block-builder" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cba989f1ce297e58bca29dda518abd221b5b1aa1e97bd8f55e1e35362d610e92" dependencies = [ - "sp-api", - "sp-inherents", - "sp-runtime", + "sp-api 24.0.0", + "sp-inherents 24.0.0", + "sp-runtime 29.0.0", "sp-std", ] [[package]] name = "sp-blockchain" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4932b97cde61874f395bab9b02443e3bd2046943abb280b63f83da9d0b623ea7" +dependencies = [ + "futures", + "log", + "parity-scale-codec", + "parking_lot 0.12.1", + "schnellru", + "sp-api 23.0.0", + "sp-consensus 0.29.0", + "sp-database", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.0", + "thiserror", +] + +[[package]] +name = "sp-blockchain" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa62a9759f1b019b4dc053860a664e031a4a6d1104bdb8df5a64294c4ad58e66" dependencies = [ "futures", "log", "parity-scale-codec", "parking_lot 0.12.1", "schnellru", - "sp-api", - "sp-consensus", + "sp-api 24.0.0", + "sp-consensus 0.30.0", "sp-database", - "sp-runtime", - "sp-state-machine", + "sp-runtime 29.0.0", + "sp-state-machine 0.33.0", "thiserror", ] [[package]] name = "sp-consensus" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c5d7170fb7cfb18024ef7eeb40d272d22b9c3587d85cde2d091e8463b397f06" dependencies = [ "async-trait", "futures", "log", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-state-machine", + "sp-core 25.0.0", + "sp-inherents 23.0.0", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.0", + "thiserror", +] + +[[package]] +name = "sp-consensus" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d159cfbf35fcde8646397d669dcff0858e5d8370974599204b2a3074b6a5baa" +dependencies = [ + "async-trait", + "futures", + "log", + "sp-core 26.0.0", + "sp-inherents 24.0.0", + "sp-runtime 29.0.0", + "sp-state-machine 0.33.0", "thiserror", ] [[package]] name = "sp-consensus-aura" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "643a7c486a645f398d219d1fbcc8a416cad5018164a212fefde5c2ef00a182e4" dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-api", - "sp-application-crypto", + "sp-api 23.0.0", + "sp-application-crypto 27.0.0", "sp-consensus-slots", - "sp-inherents", - "sp-runtime", + "sp-inherents 23.0.0", + "sp-runtime 28.0.0", "sp-std", "sp-timestamp", ] [[package]] name = "sp-consensus-babe" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "268f9b2e36d4e136c09ad87876cdcfd7ff734cb5917f333fefebff248f95a24f" dependencies = [ "async-trait", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", + "sp-api 23.0.0", + "sp-application-crypto 27.0.0", "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-runtime", + "sp-core 25.0.0", + "sp-inherents 23.0.0", + "sp-runtime 28.0.0", "sp-std", "sp-timestamp", ] [[package]] name = "sp-consensus-beefy" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "10.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90e18fe984ea745727e645c43d6a955bc471b3bcd36aa8d260c3bd0deeada0c5" dependencies = [ "lazy_static", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-io", + "sp-api 23.0.0", + "sp-application-crypto 27.0.0", + "sp-core 25.0.0", + "sp-io 27.0.0", "sp-mmr-primitives", - "sp-runtime", + "sp-runtime 28.0.0", "sp-std", "strum 0.24.1", ] [[package]] name = "sp-consensus-grandpa" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "10.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28bbee685900110419913f281ce0f29457fbc17418f00d15f0212c8043aba167" dependencies = [ "finality-grandpa", "log", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-api 23.0.0", + "sp-application-crypto 27.0.0", + "sp-core 25.0.0", + "sp-keystore 0.31.0", + "sp-runtime 28.0.0", + "sp-std", +] + +[[package]] +name = "sp-consensus-grandpa" +version = "11.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "79d8491b15a0459116dbe3f82232df3a33da3ba9ea35b8e225d01b921b8f4696" +dependencies = [ + "finality-grandpa", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 24.0.0", + "sp-application-crypto 28.0.0", + "sp-core 26.0.0", + "sp-keystore 0.32.0", + "sp-runtime 29.0.0", "sp-std", ] [[package]] name = "sp-consensus-slots" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "895b0c176d4eead833ddee5251d3cccbaeb0191ca3f33f84b11d347bebc6e21f" dependencies = [ "parity-scale-codec", "scale-info", @@ -11071,16 +12528,17 @@ dependencies = [ [[package]] name = "sp-core" -version = "21.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9ebb090ead698a6df04347c86a31ba91a387edb8a58534ec70c4f977d1e1e87" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "bitflags 1.3.2", - "blake2", + "blake2 0.10.6", "bounded-collections", - "bs58", + "bs58 0.5.0", "dyn-clonable", - "ed25519-zebra", + "ed25519-zebra 3.1.0", "futures", "hash-db", "hash256-std-hasher", @@ -11088,7 +12546,7 @@ dependencies = [ "lazy_static", "libsecp256k1", "log", - "merlin", + "merlin 2.0.1", "parity-scale-codec", "parking_lot 0.12.1", "paste", @@ -11096,14 +12554,14 @@ dependencies = [ "rand 0.8.5", "regex", "scale-info", - "schnorrkel", + "schnorrkel 0.9.1", "secp256k1", "secrecy", "serde", "sp-core-hashing", "sp-debug-derive", "sp-externalities", - "sp-runtime-interface", + "sp-runtime-interface 21.0.0", "sp-std", "sp-storage", "ss58-registry", @@ -11111,13 +12569,63 @@ dependencies = [ "thiserror", "tiny-bip39", "tracing", + "w3f-bls", + "zeroize", +] + +[[package]] +name = "sp-core" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0db34a19be2efa0398a9506a365392d93a85220856d55e0eb78165ad2e1bedc" +dependencies = [ + "array-bytes 6.2.2", + "bip39", + "bitflags 1.3.2", + "blake2 0.10.6", + "bounded-collections", + "bs58 0.5.0", + "dyn-clonable", + "ed25519-zebra 3.1.0", + "futures", + "hash-db", + "hash256-std-hasher", + "impl-serde", + "itertools 0.10.5", + "lazy_static", + "libsecp256k1", + "log", + "merlin 2.0.1", + "parity-scale-codec", + "parking_lot 0.12.1", + "paste", + "primitive-types", + "rand 0.8.5", + "regex", + "scale-info", + "schnorrkel 0.9.1", + "secp256k1", + "secrecy", + "serde", + "sp-core-hashing", + "sp-debug-derive", + "sp-externalities", + "sp-runtime-interface 22.0.0", + "sp-std", + "sp-storage", + "ss58-registry", + "substrate-bip39", + "thiserror", + "tracing", + "w3f-bls", "zeroize", ] [[package]] name = "sp-core-hashing" -version = "9.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb8524f01591ee58b46cd83c9dbc0fcffd2fd730dabec4f59326cd58a00f17e2" dependencies = [ "blake2b_simd", "byteorder", @@ -11129,8 +12637,9 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" -version = "9.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42ce3e6931303769197da81facefa86159fa1085dcd96ecb7e7407b5b93582a0" dependencies = [ "quote", "sp-core-hashing", @@ -11139,8 +12648,9 @@ dependencies = [ [[package]] name = "sp-database" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "9.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c6e8c710d6a71512af6f42d9dba9c3d1f6ad793846480babf459bbde3d60a94" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -11148,8 +12658,9 @@ dependencies = [ [[package]] name = "sp-debug-derive" -version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50535e1a5708d3ba5c1195b59ebefac61cc8679c2c24716b87a86e8b7ed2e4a1" dependencies = [ "proc-macro2", "quote", @@ -11158,8 +12669,9 @@ dependencies = [ [[package]] name = "sp-externalities" -version = "0.19.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "884d05160bc89d0943d1c9fb8006c3d44b80f37f8af607aeff8d4d9cc82e279a" dependencies = [ "environmental", "parity-scale-codec", @@ -11167,72 +12679,163 @@ dependencies = [ "sp-storage", ] +[[package]] +name = "sp-genesis-builder" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0cb71d40ad47e40bdcce5ae5531c7d7ba579cd495a0e0413642fb063fa66f84" +dependencies = [ + "serde_json", + "sp-api 23.0.0", + "sp-runtime 28.0.0", + "sp-std", +] + +[[package]] +name = "sp-genesis-builder" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65de7e1d4de8ac2645913ed7202c71ba5783e39286f2be40f0c45a8e472ad9fd" +dependencies = [ + "serde_json", + "sp-api 24.0.0", + "sp-runtime 29.0.0", + "sp-std", +] + [[package]] name = "sp-inherents" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "23.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "604229aa145be0cff853b47ffed8bc2c62eb08ec6974d6307b9a559c378e6dc5" +dependencies = [ + "async-trait", + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "sp-runtime 28.0.0", + "sp-std", + "thiserror", +] + +[[package]] +name = "sp-inherents" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c681a65a707014d505bf675e452c28b02eb55d9499f2407b85feef651fce0c2e" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime", + "sp-runtime 29.0.0", "sp-std", "thiserror", ] [[package]] name = "sp-io" -version = "23.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "27.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ced350da15e8ba3a106206840acc42a6d3eb0d7e8bf7aa43ab00eac0bdf956f" +dependencies = [ + "bytes", + "ed25519-dalek", + "libsecp256k1", + "log", + "parity-scale-codec", + "rustversion", + "secp256k1", + "sp-core 25.0.0", + "sp-externalities", + "sp-keystore 0.31.0", + "sp-runtime-interface 21.0.0", + "sp-state-machine 0.32.0", + "sp-std", + "sp-tracing", + "sp-trie 26.0.0", + "tracing", + "tracing-core", +] + +[[package]] +name = "sp-io" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "301c0ce94f80b324465a6f6173183aa07b26bd71d67f94a44de1fd11dea4a7cb" dependencies = [ "bytes", - "ed25519", "ed25519-dalek", "libsecp256k1", "log", "parity-scale-codec", "rustversion", "secp256k1", - "sp-core", + "sp-core 26.0.0", "sp-externalities", - "sp-keystore", - "sp-runtime-interface", - "sp-state-machine", + "sp-keystore 0.32.0", + "sp-runtime-interface 22.0.0", + "sp-state-machine 0.33.0", "sp-std", "sp-tracing", - "sp-trie", + "sp-trie 27.0.0", "tracing", "tracing-core", ] [[package]] name = "sp-keyring" -version = "24.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "655ec0b35cb9cb9029fb323aa676b07d58deb872cecc7566e50278409a00ee95" dependencies = [ "lazy_static", - "sp-core", - "sp-runtime", + "sp-core 25.0.0", + "sp-runtime 28.0.0", "strum 0.24.1", ] [[package]] name = "sp-keystore" -version = "0.27.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b8ec5ebbba70bee83d79c3fe5e49f12df0a4bb6029858ddf9a15eea7539a592" +dependencies = [ + "parity-scale-codec", + "parking_lot 0.12.1", + "sp-core 25.0.0", + "sp-externalities", + "thiserror", +] + +[[package]] +name = "sp-keystore" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1db18ab01b2684856904c973d2be7dbf9ab3607cf706a7bd6648812662e5e7c5" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", - "sp-core", + "sp-core 26.0.0", "sp-externalities", "thiserror", ] [[package]] name = "sp-maybe-compressed-blob" -version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "9.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8846768f036429227e49f6ab523fbee4bc6edfee278a361bf27999590fe020d4" +dependencies = [ + "thiserror", + "zstd 0.12.4", +] + +[[package]] +name = "sp-maybe-compressed-blob" +version = "10.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0950218edb5c5fb4867e28814d7b13c13a3c80ea37f356dc410437105a07cff8" dependencies = [ "thiserror", "zstd 0.12.4", @@ -11240,8 +12843,9 @@ dependencies = [ [[package]] name = "sp-metadata-ir" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ca9ff0e522a74725ac92f009d38deeb12e880f5296afbd78a6c6b970b773278" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -11249,52 +12853,82 @@ dependencies = [ "sp-std", ] +[[package]] +name = "sp-mixnet" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bdf61f28ca97aab6c21a3c6e0ed496e60d505e5de1f43fd4ba748c9afaa4fc85" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-api 23.0.0", + "sp-application-crypto 27.0.0", + "sp-std", +] + +[[package]] +name = "sp-mixnet" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90618b86df9897ad175d05e65d7d34c1fbd90dd4a4de30c84ced3a020156ded0" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-api 24.0.0", + "sp-application-crypto 28.0.0", + "sp-std", +] + [[package]] name = "sp-mmr-primitives" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "23.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c3b33c20a4b1dd5a0069ced6997078a2af5d625f2c53d1b69bef9e131f42d77" dependencies = [ "ckb-merkle-mountain-range", "log", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-core", + "sp-api 23.0.0", + "sp-core 25.0.0", "sp-debug-derive", - "sp-runtime", + "sp-runtime 28.0.0", "sp-std", "thiserror", ] [[package]] name = "sp-npos-elections" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "23.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ee3536d7fd990c30864ca545d7bdbee02dc66a92ac2a7a66ab4e21521992a7b" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-runtime", + "sp-arithmetic 20.0.0", + "sp-core 25.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "sp-offchain" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "23.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9310227f043ed99877b0449a683025a7461431a00995dcd6ef423a273d0fd85d" dependencies = [ - "sp-api", - "sp-core", - "sp-runtime", + "sp-api 23.0.0", + "sp-core 25.0.0", + "sp-runtime 28.0.0", ] [[package]] name = "sp-panic-handler" -version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b00e40857ed3e0187f145b037c733545c5633859f1bd1d1b09deb52805fa696a" dependencies = [ "backtrace", "lazy_static", @@ -11303,18 +12937,54 @@ dependencies = [ [[package]] name = "sp-rpc" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "23.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51867fea921f54bbaa2bf505f373559b5f3b80e8d7f38ecb9677f0d3795a3e6a" dependencies = [ "rustc-hash", "serde", - "sp-core", + "sp-core 25.0.0", ] [[package]] -name = "sp-runtime" +name = "sp-rpc" version = "24.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd589c99b9cd8dae7bca25339153bb48e091c6aef738c7205dfe9dfdc4272968" +dependencies = [ + "rustc-hash", + "serde", + "sp-core 26.0.0", +] + +[[package]] +name = "sp-runtime" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d9c40ff7303e62219b55635e5245d963358cb77d6916250991ebcb82c0be2c6" +dependencies = [ + "either", + "hash256-std-hasher", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "paste", + "rand 0.8.5", + "scale-info", + "serde", + "sp-application-crypto 27.0.0", + "sp-arithmetic 20.0.0", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-std", + "sp-weights 24.0.0", +] + +[[package]] +name = "sp-runtime" +version = "29.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "082bae4a164b8b629ce9cee79ff3c6b20e66d11d8ef37398796567d616325da4" dependencies = [ "either", "hash256-std-hasher", @@ -11325,18 +12995,38 @@ dependencies = [ "rand 0.8.5", "scale-info", "serde", - "sp-application-crypto", - "sp-arithmetic", - "sp-core", - "sp-io", + "sp-application-crypto 28.0.0", + "sp-arithmetic 21.0.0", + "sp-core 26.0.0", + "sp-io 28.0.0", "sp-std", - "sp-weights", + "sp-weights 25.0.0", ] [[package]] name = "sp-runtime-interface" -version = "17.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f365332922a8cfa98ab00c6d08b1b0f24e159e730dd554e720d950ff3371b1f" +dependencies = [ + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec", + "primitive-types", + "sp-externalities", + "sp-runtime-interface-proc-macro", + "sp-std", + "sp-storage", + "sp-tracing", + "sp-wasm-interface", + "static_assertions", +] + +[[package]] +name = "sp-runtime-interface" +version = "22.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "695bba5d981a6fd3131b098d65f620601bd822501612bfb65897d4bb660762b1" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -11353,11 +13043,12 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" -version = "11.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "15.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b2afcbd1bd18d323371111b66b7ac2870bdc1c86c3d7b0dae67b112ca52b4d8" dependencies = [ "Inflector", - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 2.0.39", @@ -11365,37 +13056,77 @@ dependencies = [ [[package]] name = "sp-session" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "248dd8f49aa96b56bf0a7d513691ddb4194f9359fdb93e94397eabdef1036085" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-api 23.0.0", + "sp-core 25.0.0", + "sp-keystore 0.31.0", + "sp-runtime 28.0.0", + "sp-staking 23.0.0", + "sp-std", +] + +[[package]] +name = "sp-staking" +version = "23.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee0feed0137234598bd1f76d0b468c585ea16619ea9ed1acbba82dd24ac79788" dependencies = [ + "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-api", - "sp-core", - "sp-keystore", - "sp-runtime", - "sp-staking", + "serde", + "sp-core 25.0.0", + "sp-runtime 28.0.0", "sp-std", ] [[package]] name = "sp-staking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae2d1164378d66b4b9f672d0c920104c59aeba02655522c0fd511c71c2daf614" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-runtime", + "sp-core 26.0.0", + "sp-runtime 29.0.0", "sp-std", ] [[package]] name = "sp-state-machine" -version = "0.28.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96e087fa4430befd2047b61d912c9d6fa4eaed408c4b58b46c6e9acd7965f2d3" +dependencies = [ + "hash-db", + "log", + "parity-scale-codec", + "parking_lot 0.12.1", + "rand 0.8.5", + "smallvec", + "sp-core 25.0.0", + "sp-externalities", + "sp-panic-handler", + "sp-std", + "sp-trie 26.0.0", + "thiserror", + "tracing", + "trie-db", +] + +[[package]] +name = "sp-state-machine" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df7c6680d9342c22c10d8272ebf9f0339b0e439b3e67b68f5627f9dfc6926a07" dependencies = [ "hash-db", "log", @@ -11403,11 +13134,11 @@ dependencies = [ "parking_lot 0.12.1", "rand 0.8.5", "smallvec", - "sp-core", + "sp-core 26.0.0", "sp-externalities", "sp-panic-handler", "sp-std", - "sp-trie", + "sp-trie 27.0.0", "thiserror", "tracing", "trie-db", @@ -11415,30 +13146,65 @@ dependencies = [ [[package]] name = "sp-statement-store" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b8654bcd37602b1811414050d34d14f543873bd4e64e50d210a0116b660c600" dependencies = [ + "aes-gcm", + "curve25519-dalek 4.1.1", + "ed25519-dalek", + "hkdf", "parity-scale-codec", + "rand 0.8.5", "scale-info", - "sp-api", - "sp-application-crypto", - "sp-core", + "sha2 0.10.7", + "sp-api 23.0.0", + "sp-application-crypto 27.0.0", + "sp-core 25.0.0", "sp-externalities", - "sp-runtime", - "sp-runtime-interface", + "sp-runtime 28.0.0", + "sp-runtime-interface 21.0.0", "sp-std", "thiserror", + "x25519-dalek 2.0.0", ] [[package]] -name = "sp-std" +name = "sp-statement-store" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b160d6673b2f69de7fe133559363339a37c3d226d0d226abaf54d9dc9be0c04" +dependencies = [ + "aes-gcm", + "curve25519-dalek 4.1.1", + "ed25519-dalek", + "hkdf", + "parity-scale-codec", + "rand 0.8.5", + "scale-info", + "sha2 0.10.7", + "sp-api 24.0.0", + "sp-application-crypto 28.0.0", + "sp-core 26.0.0", + "sp-externalities", + "sp-runtime 29.0.0", + "sp-runtime-interface 22.0.0", + "sp-std", + "thiserror", + "x25519-dalek 2.0.0", +] + +[[package]] +name = "sp-std" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54c78c5a66682568cc7b153603c5d01a2cc8f5c221c7b1e921517a0eef18ae05" [[package]] name = "sp-storage" -version = "13.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "17.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "016f20812cc51bd479cc88d048c35d44cd3adde4accdb159d49d6050f2953595" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11450,21 +13216,23 @@ dependencies = [ [[package]] name = "sp-timestamp" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "23.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "004a7f453240db80b2967c0e1c6411836efc7daa7afae98fd16202caa51460e0" dependencies = [ "async-trait", "parity-scale-codec", - "sp-inherents", - "sp-runtime", + "sp-inherents 23.0.0", + "sp-runtime 28.0.0", "sp-std", "thiserror", ] [[package]] name = "sp-tracing" -version = "10.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "14.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d727cb5265641ffbb7d4e42c18b63e29f6cfdbd240aae3bcf093c3d6eb29a19" dependencies = [ "parity-scale-codec", "sp-std", @@ -11475,32 +13243,60 @@ dependencies = [ [[package]] name = "sp-transaction-pool" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "23.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7cd2afe89c474339d15d06e73639171ebe4d280be6904d9349072103da21427" dependencies = [ - "sp-api", - "sp-runtime", + "sp-api 23.0.0", + "sp-runtime 28.0.0", ] [[package]] name = "sp-transaction-storage-proof" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "23.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39ae7c4954431b8479f7b2b6b82f0551cc360a1ee59b6a5276eef86a1099eaed" dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-core", - "sp-inherents", - "sp-runtime", + "sp-core 25.0.0", + "sp-inherents 23.0.0", + "sp-runtime 28.0.0", "sp-std", - "sp-trie", + "sp-trie 26.0.0", ] [[package]] name = "sp-trie" -version = "22.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e359b358263cc322c3f678c272a3a519621d9853dcfa1374dfcbdb5f54c6f85" +dependencies = [ + "ahash 0.8.3", + "hash-db", + "hashbrown 0.13.2", + "lazy_static", + "memory-db", + "nohash-hasher", + "parity-scale-codec", + "parking_lot 0.12.1", + "rand 0.8.5", + "scale-info", + "schnellru", + "sp-core 25.0.0", + "sp-std", + "thiserror", + "tracing", + "trie-db", + "trie-root", +] + +[[package]] +name = "sp-trie" +version = "27.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9c4bf89a5bd74f696cd1f23d83bb6abe6bd0abad1f3c70d4b0d7ebec4098cfe" dependencies = [ "ahash 0.8.3", "hash-db", @@ -11510,9 +13306,10 @@ dependencies = [ "nohash-hasher", "parity-scale-codec", "parking_lot 0.12.1", + "rand 0.8.5", "scale-info", "schnellru", - "sp-core", + "sp-core 26.0.0", "sp-std", "thiserror", "tracing", @@ -11522,8 +13319,27 @@ dependencies = [ [[package]] name = "sp-version" -version = "22.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e93da332eba3cb59a65f128da5edd5c70e1475692b45470104e7465b1278471" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "parity-wasm", + "scale-info", + "serde", + "sp-core-hashing-proc-macro", + "sp-runtime 28.0.0", + "sp-std", + "sp-version-proc-macro", + "thiserror", +] + +[[package]] +name = "sp-version" +version = "27.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "603c3c40bf19dd3004b350e4fcc2a460f833e73dd514406c2361bfdd9795d019" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11531,7 +13347,7 @@ dependencies = [ "scale-info", "serde", "sp-core-hashing-proc-macro", - "sp-runtime", + "sp-runtime 29.0.0", "sp-std", "sp-version-proc-macro", "thiserror", @@ -11539,8 +13355,9 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" -version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49535d8c7184dab46d15639c68374a30cbb1534e392fa09a1ebb059a993ad436" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -11550,8 +13367,9 @@ dependencies = [ [[package]] name = "sp-wasm-interface" -version = "14.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d5d85813d46a22484cdf5e5afddbbe85442dd1b4d84d67a8c7792f92f9f93607" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -11563,15 +13381,32 @@ dependencies = [ [[package]] name = "sp-weights" -version = "20.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "751676c1263e7f3600af16bad26a7978a816bc532676fe05eafa23b862c05b9e" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "smallvec", + "sp-arithmetic 20.0.0", + "sp-core 25.0.0", + "sp-debug-derive", + "sp-std", +] + +[[package]] +name = "sp-weights" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1689f9594c2c4d09ede3d8a991a9eb900654e424fb00b62f2b370170af347acd" dependencies = [ "parity-scale-codec", "scale-info", "serde", "smallvec", - "sp-arithmetic", - "sp-core", + "sp-arithmetic 21.0.0", + "sp-core 26.0.0", "sp-debug-derive", "sp-std", ] @@ -11640,6 +13475,83 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" +[[package]] +name = "staging-parachain-info" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a1bcf863664ca5708d92894fc30d2c6606c7dbb7d7cfcf43b9ae69d5b83f4fb" +dependencies = [ + "cumulus-primitives-core", + "frame-support 25.0.0", + "frame-system 25.0.0", + "parity-scale-codec", + "scale-info", + "sp-runtime 28.0.0", + "sp-std", +] + +[[package]] +name = "staging-xcm" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7abd0c2e401a1e264379131c27676bc65c9631aaa508044bc04d8ce60a7d8524" +dependencies = [ + "bounded-collections", + "derivative", + "environmental", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-weights 24.0.0", + "xcm-procedural", +] + +[[package]] +name = "staging-xcm-builder" +version = "4.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8628fd8878df3978a34da0ef75722b118f4bc40bb47fb3c687cc0899f7ede43c" +dependencies = [ + "frame-support 25.0.0", + "frame-system 25.0.0", + "impl-trait-for-tuples", + "log", + "pallet-transaction-payment", + "parity-scale-codec", + "polkadot-parachain-primitives", + "scale-info", + "sp-arithmetic 20.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-std", + "sp-weights 24.0.0", + "staging-xcm", + "staging-xcm-executor", +] + +[[package]] +name = "staging-xcm-executor" +version = "4.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49bc3b2b8429aacca1897c72b786e7c21d36170a919e9333fe533868d32d2774" +dependencies = [ + "environmental", + "frame-benchmarking 25.0.0", + "frame-support 25.0.0", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "sp-arithmetic 20.0.0", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-std", + "sp-weights 24.0.0", + "staging-xcm", +] + [[package]] name = "static_assertions" version = "1.1.0" @@ -11729,50 +13641,74 @@ checksum = "49eee6965196b32f882dd2ee85a92b1dbead41b04e53907f269de3b0dc04733c" dependencies = [ "hmac 0.11.0", "pbkdf2 0.8.0", - "schnorrkel", + "schnorrkel 0.9.1", "sha2 0.9.9", "zeroize", ] [[package]] name = "substrate-build-script-utils" -version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "9.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a3b7556a62d77b7b8abc34e425817f6f563c2f2aa7142f1c4e93e6422156cc1" [[package]] name = "substrate-fixed" version = "0.5.9" -source = "git+https://github.com/encointer/substrate-fixed.git?tag=v0.5.9#a4fb461aae6205ffc55bed51254a40c52be04e5d" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e83ba2b4f68f12ec6b0f55bac0a23a5bcaaf2676f1109c7a5ead6121c7f0622" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "typenum 1.16.0 (git+https://github.com/encointer/typenum?tag=v1.16.0)", + "substrate-typenum", +] + +[[package]] +name = "substrate-frame-rpc-system" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c241af714c378075b1185e574202cbb9105e849b8c9ea44ef87880bdb3e9a75" +dependencies = [ + "frame-system-rpc-runtime-api 23.0.0", + "futures", + "jsonrpsee", + "log", + "parity-scale-codec", + "sc-rpc-api 0.30.0", + "sc-transaction-pool-api 25.0.0", + "sp-api 23.0.0", + "sp-block-builder 23.0.0", + "sp-blockchain 25.0.0", + "sp-core 25.0.0", + "sp-runtime 28.0.0", ] [[package]] name = "substrate-frame-rpc-system" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d41c43510abbf9e53bd8c5a11f3d1a13a018cb05180e2c38851a347f6e812d1d" dependencies = [ - "frame-system-rpc-runtime-api", + "frame-system-rpc-runtime-api 24.0.0", "futures", "jsonrpsee", "log", "parity-scale-codec", - "sc-rpc-api", - "sc-transaction-pool-api", - "sp-api", - "sp-block-builder", - "sp-blockchain", - "sp-core", - "sp-runtime", + "sc-rpc-api 0.31.0", + "sc-transaction-pool-api 26.0.0", + "sp-api 24.0.0", + "sp-block-builder 24.0.0", + "sp-blockchain 26.0.0", + "sp-core 26.0.0", + "sp-runtime 29.0.0", ] [[package]] name = "substrate-prometheus-endpoint" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ededbe617291db8a47d6e5155486ff1e5425f0bbf5dcb7f752730466a62bd293" dependencies = [ "hyper", "log", @@ -11783,129 +13719,58 @@ dependencies = [ [[package]] name = "substrate-rpc-client" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5575c2bef89385e5406565b8fe5620856d414e3846c60927a78f0788cb288c8c" dependencies = [ "async-trait", "jsonrpsee", "log", - "sc-rpc-api", + "sc-rpc-api 0.30.0", "serde", - "sp-runtime", + "sp-runtime 28.0.0", ] [[package]] name = "substrate-state-trie-migration-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d57888ccce554552c535346893a497d2cfd232f15b6b676d130cdd5bf3f2ccea" dependencies = [ "jsonrpsee", "parity-scale-codec", - "sc-client-api", - "sc-rpc-api", + "sc-client-api 25.0.0", + "sc-rpc-api 0.30.0", "serde", - "sp-core", - "sp-runtime", - "sp-state-machine", - "sp-trie", + "sp-core 25.0.0", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.0", + "sp-trie 26.0.0", "trie-db", ] [[package]] -name = "substrate-test-client" -version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "array-bytes", - "async-trait", - "futures", - "parity-scale-codec", - "sc-client-api", - "sc-client-db", - "sc-consensus", - "sc-executor", - "sc-offchain", - "sc-service", - "serde", - "serde_json", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-keyring", - "sp-keystore", - "sp-runtime", - "sp-state-machine", -] - -[[package]] -name = "substrate-test-runtime" -version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +name = "substrate-typenum" +version = "1.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0f0091e93c2c75b233ae39424c52cb8a662c0811fb68add149e20e5d7e8a788" dependencies = [ - "array-bytes", - "frame-executive", - "frame-support", - "frame-system", - "frame-system-rpc-runtime-api", - "log", - "pallet-babe", - "pallet-balances", - "pallet-timestamp", "parity-scale-codec", - "sc-service", "scale-info", - "sp-api", - "sp-application-crypto", - "sp-block-builder", - "sp-consensus-aura", - "sp-consensus-babe", - "sp-consensus-grandpa", - "sp-core", - "sp-externalities", - "sp-inherents", - "sp-io", - "sp-keyring", - "sp-offchain", - "sp-runtime", - "sp-session", - "sp-state-machine", - "sp-std", - "sp-transaction-pool", - "sp-trie", - "sp-version", - "substrate-wasm-builder", - "trie-db", -] - -[[package]] -name = "substrate-test-runtime-client" -version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "futures", - "sc-block-builder", - "sc-client-api", - "sc-consensus", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-runtime", - "substrate-test-client", - "substrate-test-runtime", ] [[package]] name = "substrate-wasm-builder" -version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "14.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12ab1707dbbd129622b771a9b80b25f0ebf1c04854b907bc44b51ec96fb4005b" dependencies = [ "ansi_term", "build-helper", "cargo_metadata", "filetime", "parity-wasm", - "sp-maybe-compressed-blob", + "sp-maybe-compressed-blob 9.0.0", "strum 0.24.1", "tempfile", "toml 0.7.6", @@ -11913,12 +13778,24 @@ dependencies = [ "wasm-opt", ] +[[package]] +name = "subtle" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d67a5a62ba6e01cb2192ff309324cb4875d0c451d55fe2319433abe7a05a8ee" + [[package]] name = "subtle" version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" +[[package]] +name = "subtle-ng" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "734676eb262c623cec13c3155096e08d1f8f29adce39ba17948b18dad1e54142" + [[package]] name = "syn" version = "1.0.109" @@ -11989,7 +13866,6 @@ checksum = "1d2faeef5759ab89935255b1a4cd98e0baf99d1085e37d36599c625dac49ae8e" [[package]] name = "teeracle-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.0.0#fc2999af866276658879555dcf5582bd1dba908e" dependencies = [ "common-primitives", "sp-std", @@ -11999,7 +13875,6 @@ dependencies = [ [[package]] name = "teerex-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.0.0#fc2999af866276658879555dcf5582bd1dba908e" dependencies = [ "common-primitives", "derive_more", @@ -12007,8 +13882,8 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-runtime", + "sp-core 25.0.0", + "sp-runtime 28.0.0", "sp-std", ] @@ -12021,7 +13896,7 @@ dependencies = [ "cfg-if", "fastrand 2.0.0", "redox_syscall 0.3.5", - "rustix 0.38.4", + "rustix 0.38.25", "windows-sys 0.48.0", ] @@ -12043,7 +13918,6 @@ checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] name = "test-utils" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.0.0#fc2999af866276658879555dcf5582bd1dba908e" dependencies = [ "log", "sgx-verify", @@ -12052,18 +13926,38 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.44" +version = "1.0.55" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "611040a08a0439f8248d1990b111c95baa9c704c805fa1f62104b39655fd7f90" +checksum = "6e3de26b0965292219b4287ff031fcba86837900fe9cd2b34ea8ad893c0953d2" dependencies = [ "thiserror-impl", ] +[[package]] +name = "thiserror-core" +version = "1.0.50" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c001ee18b7e5e3f62cbf58c7fe220119e68d902bb7443179c0c8aef30090e999" +dependencies = [ + "thiserror-core-impl", +] + +[[package]] +name = "thiserror-core-impl" +version = "1.0.50" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4c60d69f36615a077cc7663b9cb8e42275722d23e58a7fa3d2c7f2915d09d04" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.39", +] + [[package]] name = "thiserror-impl" -version = "1.0.44" +version = "1.0.55" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "090198534930841fab3a5d1bb637cde49e339654e606195f8d9c76eeb081dc96" +checksum = "268026685b2be38d7103e9e507c938a1fcb3d7e6eb15e87870b617bf37b6d581" dependencies = [ "proc-macro2", "quote", @@ -12129,17 +14023,6 @@ dependencies = [ "libc", ] -[[package]] -name = "time" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a" -dependencies = [ - "libc", - "wasi 0.10.0+wasi-snapshot-preview1", - "winapi", -] - [[package]] name = "time" version = "0.3.23" @@ -12317,7 +14200,19 @@ dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit", + "toml_edit 0.19.14", +] + +[[package]] +name = "toml" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "185d8ab0dfbb35cf1399a6344d8484209c088f75f8f68230da55d48d95d43e3d" +dependencies = [ + "serde", + "serde_spanned", + "toml_datetime", + "toml_edit 0.20.2", ] [[package]] @@ -12342,6 +14237,19 @@ dependencies = [ "winnow", ] +[[package]] +name = "toml_edit" +version = "0.20.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338" +dependencies = [ + "indexmap 2.0.0", + "serde", + "serde_spanned", + "toml_datetime", + "winnow", +] + [[package]] name = "tower" version = "0.4.13" @@ -12359,7 +14267,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61c5bb1d698276a2443e5ecfabc1008bf15a36c12e6a7176e7bf089ea9131140" dependencies = [ - "bitflags 2.3.3", + "bitflags 2.4.2", "bytes", "futures-core", "futures-util", @@ -12429,9 +14337,11 @@ dependencies = [ [[package]] name = "tracing-gum" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32c0555bd635d9adbf8dec0bf45f7c2aef7541121d648ba37f5f792a211077b6" dependencies = [ + "coarsetime", "polkadot-node-jaeger", "polkadot-primitives", "tracing", @@ -12440,11 +14350,12 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35756d8c1a227ec525853a1080bf890d03d939deb2bc50d4d43c96516c795d0d" dependencies = [ "expander 2.0.0", - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 2.0.39", @@ -12496,9 +14407,9 @@ dependencies = [ [[package]] name = "trie-db" -version = "0.27.1" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "767abe6ffed88a1889671a102c2861ae742726f52e0a5a425b92c9fbfa7e9c85" +checksum = "ff28e0f815c2fea41ebddf148e008b077d2faddb026c9555b29696114d602642" dependencies = [ "hash-db", "hashbrown 0.13.2", @@ -12570,8 +14481,9 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "try-runtime-cli" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +version = "0.35.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "845090aa8572116b06813914fc1d09448fe895d82982b63d58de4f91b4eb79b6" dependencies = [ "async-trait", "clap", @@ -12581,25 +14493,25 @@ dependencies = [ "log", "parity-scale-codec", "sc-cli", - "sc-executor", + "sc-executor 0.29.0", "serde", "serde_json", - "sp-api", + "sp-api 23.0.0", "sp-consensus-aura", "sp-consensus-babe", - "sp-core", + "sp-core 25.0.0", "sp-debug-derive", "sp-externalities", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-rpc", - "sp-runtime", - "sp-state-machine", + "sp-inherents 23.0.0", + "sp-io 27.0.0", + "sp-keystore 0.31.0", + "sp-rpc 23.0.0", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.0", "sp-timestamp", "sp-transaction-storage-proof", - "sp-version", - "sp-weights", + "sp-version 26.0.0", + "sp-weights 24.0.0", "substrate-rpc-client", "zstd 0.12.4", ] @@ -12628,15 +14540,6 @@ version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" -[[package]] -name = "typenum" -version = "1.16.0" -source = "git+https://github.com/encointer/typenum?tag=v1.16.0#4c8dddaa8bdd13130149e43b4085ad14e960617f" -dependencies = [ - "parity-scale-codec", - "scale-info", -] - [[package]] name = "ucd-trie" version = "0.1.6" @@ -12690,12 +14593,12 @@ checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" [[package]] name = "universal-hash" -version = "0.4.1" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f214e8f697e925001e66ec2c6e37a4ef93f0f78c2eed7814394e10c62025b05" +checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" dependencies = [ - "generic-array 0.14.7", - "subtle", + "crypto-common", + "subtle 2.4.1", ] [[package]] @@ -12763,6 +14666,30 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" +[[package]] +name = "w3f-bls" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7335e4c132c28cc43caef6adb339789e599e39adbe78da0c4d547fad48cbc331" +dependencies = [ + "ark-bls12-377", + "ark-bls12-381", + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-serialize-derive", + "arrayref", + "constcat", + "digest 0.10.7", + "rand 0.8.5", + "rand_chacha 0.3.1", + "rand_core 0.6.4", + "sha2 0.10.7", + "sha3", + "thiserror", + "zeroize", +] + [[package]] name = "wait-timeout" version = "0.2.0" @@ -12803,12 +14730,6 @@ version = "0.9.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" -[[package]] -name = "wasi" -version = "0.10.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" - [[package]] name = "wasi" version = "0.11.0+wasi-snapshot-preview1" @@ -12892,9 +14813,9 @@ dependencies = [ [[package]] name = "wasm-opt" -version = "0.112.0" +version = "0.116.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87fef6d0d508f08334e0ab0e6877feb4c0ecb3956bcf2cb950699b22fedf3e9c" +checksum = "fc942673e7684671f0c5708fc18993569d184265fd5223bb51fc8e5b9b6cfd52" dependencies = [ "anyhow", "libc", @@ -12908,9 +14829,9 @@ dependencies = [ [[package]] name = "wasm-opt-cxx-sys" -version = "0.112.0" +version = "0.116.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc816bbc1596c8f2e8127e137a760c798023ef3d378f2ae51f0f1840e2dfa445" +checksum = "8c57b28207aa724318fcec6575fe74803c23f6f266fce10cbc9f3f116762f12e" dependencies = [ "anyhow", "cxx", @@ -12920,9 +14841,9 @@ dependencies = [ [[package]] name = "wasm-opt-sys" -version = "0.112.0" +version = "0.116.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40199e4f68ef1071b3c6d0bd8026a12b481865d4b9e49c156932ea9a6234dd14" +checksum = "8a1cce564dc768dacbdb718fc29df2dba80bd21cb47d8f77ae7e3d95ceb98cbe" dependencies = [ "anyhow", "cc", @@ -12945,6 +14866,37 @@ dependencies = [ "web-sys", ] +[[package]] +name = "wasmi" +version = "0.31.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77a8281d1d660cdf54c76a3efa9ddd0c270cada1383a995db3ccb43d166456c7" +dependencies = [ + "smallvec", + "spin 0.9.8", + "wasmi_arena", + "wasmi_core", + "wasmparser-nostd", +] + +[[package]] +name = "wasmi_arena" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "104a7f73be44570cac297b3035d76b169d6599637631cf37a1703326a0727073" + +[[package]] +name = "wasmi_core" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dcf1a7db34bff95b85c261002720c00c3a6168256dcb93041d3fa2054d19856a" +dependencies = [ + "downcast-rs", + "libm", + "num-traits", + "paste", +] + [[package]] name = "wasmparser" version = "0.102.0" @@ -12955,6 +14907,15 @@ dependencies = [ "url", ] +[[package]] +name = "wasmparser-nostd" +version = "0.100.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9157cab83003221bfd385833ab587a039f5d6fa7304854042ba358a3b09e0724" +dependencies = [ + "indexmap-nostd", +] + [[package]] name = "wasmtime" version = "8.0.1" @@ -13181,26 +15142,32 @@ dependencies = [ [[package]] name = "westend-runtime" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e833bb935995cb8da9848b974f37801c66163502929ecf22ca15878b8e8edbb7" dependencies = [ + "binary-merkle-tree", "bitvec", - "frame-benchmarking", + "frame-benchmarking 25.0.0", "frame-election-provider-support", "frame-executive", - "frame-support", - "frame-system", + "frame-support 25.0.0", + "frame-system 25.0.0", "frame-system-benchmarking", - "frame-system-rpc-runtime-api", + "frame-system-rpc-runtime-api 23.0.0", "frame-try-runtime", "hex-literal 0.4.1", "log", + "pallet-asset-rate", "pallet-authority-discovery", "pallet-authorship", "pallet-babe", "pallet-bags-list", - "pallet-balances", + "pallet-balances 25.0.0", + "pallet-beefy", + "pallet-beefy-mmr", "pallet-collective", + "pallet-conviction-voting", "pallet-democracy", "pallet-election-provider-multi-phase", "pallet-election-provider-support-benchmarking", @@ -13212,6 +15179,7 @@ dependencies = [ "pallet-indices", "pallet-membership", "pallet-message-queue", + "pallet-mmr", "pallet-multisig", "pallet-nomination-pools", "pallet-nomination-pools-benchmarking", @@ -13221,6 +15189,7 @@ dependencies = [ "pallet-preimage", "pallet-proxy", "pallet-recovery", + "pallet-referenda", "pallet-scheduler", "pallet-session", "pallet-session-benchmarking", @@ -13233,13 +15202,14 @@ dependencies = [ "pallet-timestamp", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", - "pallet-treasury", + "pallet-treasury 24.0.0", "pallet-utility", "pallet-vesting", + "pallet-whitelist", "pallet-xcm", "pallet-xcm-benchmarks", "parity-scale-codec", - "polkadot-parachain", + "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-runtime-common", "polkadot-runtime-parachains", @@ -13248,42 +15218,48 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api", + "sp-api 23.0.0", + "sp-application-crypto 27.0.0", + "sp-arithmetic 20.0.0", "sp-authority-discovery", - "sp-block-builder", + "sp-block-builder 23.0.0", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 25.0.0", + "sp-genesis-builder 0.4.0", + "sp-inherents 23.0.0", + "sp-io 27.0.0", "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", - "sp-runtime", + "sp-runtime 28.0.0", "sp-session", - "sp-staking", + "sp-staking 23.0.0", "sp-std", + "sp-storage", "sp-transaction-pool", - "sp-version", + "sp-version 26.0.0", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", "substrate-wasm-builder", "westend-runtime-constants", - "xcm", - "xcm-builder", - "xcm-executor", ] [[package]] name = "westend-runtime-constants" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "682c32c5f5e6d51c431bf66c33fc502c66e7b25488c0bd92f5ee020c329f2beb" dependencies = [ - "frame-support", + "frame-support 25.0.0", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core", - "sp-runtime", - "sp-weights", + "sp-core 25.0.0", + "sp-runtime 28.0.0", + "sp-weights 24.0.0", + "staging-xcm", ] [[package]] @@ -13384,6 +15360,15 @@ dependencies = [ "windows-targets 0.48.1", ] +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.0", +] + [[package]] name = "windows-targets" version = "0.42.2" @@ -13414,6 +15399,21 @@ dependencies = [ "windows_x86_64_msvc 0.48.0", ] +[[package]] +name = "windows-targets" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" +dependencies = [ + "windows_aarch64_gnullvm 0.52.0", + "windows_aarch64_msvc 0.52.0", + "windows_i686_gnu 0.52.0", + "windows_i686_msvc 0.52.0", + "windows_x86_64_gnu 0.52.0", + "windows_x86_64_gnullvm 0.52.0", + "windows_x86_64_msvc 0.52.0", +] + [[package]] name = "windows_aarch64_gnullvm" version = "0.42.2" @@ -13426,6 +15426,12 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" + [[package]] name = "windows_aarch64_msvc" version = "0.34.0" @@ -13444,6 +15450,12 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" + [[package]] name = "windows_i686_gnu" version = "0.34.0" @@ -13462,6 +15474,12 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" +[[package]] +name = "windows_i686_gnu" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" + [[package]] name = "windows_i686_msvc" version = "0.34.0" @@ -13480,6 +15498,12 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" +[[package]] +name = "windows_i686_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" + [[package]] name = "windows_x86_64_gnu" version = "0.34.0" @@ -13498,6 +15522,12 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" + [[package]] name = "windows_x86_64_gnullvm" version = "0.42.2" @@ -13510,6 +15540,12 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" + [[package]] name = "windows_x86_64_msvc" version = "0.34.0" @@ -13528,6 +15564,12 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" + [[package]] name = "winnow" version = "0.5.1" @@ -13567,6 +15609,18 @@ dependencies = [ "zeroize", ] +[[package]] +name = "x25519-dalek" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb66477291e7e8d2b0ff1bcb900bf29489a9692816d79874bea351e7a8b6de96" +dependencies = [ + "curve25519-dalek 4.1.1", + "rand_core 0.6.4", + "serde", + "zeroize", +] + [[package]] name = "x509-cert" version = "0.1.1" @@ -13594,71 +15648,14 @@ dependencies = [ "oid-registry", "rusticata-macros", "thiserror", - "time 0.3.23", -] - -[[package]] -name = "xcm" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" -dependencies = [ - "bounded-collections", - "derivative", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-weights", - "xcm-procedural", -] - -[[package]] -name = "xcm-builder" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" -dependencies = [ - "frame-support", - "frame-system", - "impl-trait-for-tuples", - "log", - "pallet-transaction-payment", - "parity-scale-codec", - "polkadot-parachain", - "scale-info", - "sp-arithmetic", - "sp-io", - "sp-runtime", - "sp-std", - "sp-weights", - "xcm", - "xcm-executor", -] - -[[package]] -name = "xcm-executor" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" -dependencies = [ - "environmental", - "frame-benchmarking", - "frame-support", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-weights", - "xcm", + "time", ] [[package]] name = "xcm-procedural" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot?branch=release-v1.0.0#c9ec8c5a15959ce711bb60aa79add58f560d61e9" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "401e2b62628da9246dececb06fe58118196557dd8deb9ce12d95cc4aaf56003f" dependencies = [ "Inflector", "proc-macro2", @@ -13669,14 +15666,14 @@ dependencies = [ [[package]] name = "xcm-transactor-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.0.0#fc2999af866276658879555dcf5582bd1dba908e" dependencies = [ "common-primitives", "cumulus-primitives-core", - "frame-support", + "frame-support 25.0.0", "parity-scale-codec", + "sp-runtime 28.0.0", "sp-std", - "xcm", + "staging-xcm", ] [[package]] @@ -13747,7 +15744,7 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd" dependencies = [ - "time 0.3.23", + "time", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 9ed2d486..d78af278 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ panic = "unwind" [workspace.dependencies] async-trait = "0.1.59" clap = { version = "4.0.29", features = ["derive"] } -parity-scale-codec = { default-features = false, version = "3.6.1", features = ["derive"] } +parity-scale-codec = { version = "3.6.4", default-features = false, features = ["derive"] } color-print = "0.3.4" futures = "0.3.25" hex-literal = "0.3.4" @@ -33,110 +33,110 @@ pallet-xcm-transactor = { default-features = false, git = "https://github.com/in xcm-transactor-primitives = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.0.0" } # Polkadot-sdk and ecosystem crates [no_std] -cumulus-pallet-aura-ext = { default-features = false, git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -cumulus-pallet-dmp-queue = { default-features = false, git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -cumulus-pallet-parachain-system = { default-features = false, git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -cumulus-pallet-xcm = { default-features = false, git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -cumulus-pallet-xcmp-queue = { default-features = false, git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -cumulus-primitives-core = { default-features = false, git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -cumulus-primitives-timestamp = { default-features = false, git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -cumulus-primitives-utility = { default-features = false, git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -frame-benchmarking = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -frame-executive = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -frame-system-benchmarking = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -frame-system-rpc-runtime-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -frame-try-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v1.0.0" } -orml-traits = { default-features = false, git = "https://github.com/open-web3-stack/open-runtime-module-library.git", branch = "polkadot-v1.0.0" } -orml-xcm = { default-features = false, git = "https://github.com/open-web3-stack/open-runtime-module-library.git", branch = "polkadot-v1.0.0" } -orml-xcm-support = { default-features = false, git = "https://github.com/open-web3-stack/open-runtime-module-library.git", branch = "polkadot-v1.0.0" } -orml-xtokens = { default-features = false, git = "https://github.com/open-web3-stack/open-runtime-module-library.git", branch = "polkadot-v1.0.0" } -pallet-assets = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -pallet-authorship = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -pallet-aura = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -pallet-balances = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -pallet-bounties = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -pallet-child-bounties = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -pallet-collective = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -pallet-democracy = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -pallet-multisig = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v1.0.0" } -pallet-preimage = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v1.0.0" } -pallet-proxy = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v1.0.0" } -pallet-scheduler = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v1.0.0" } -pallet-sudo = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -pallet-timestamp = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -pallet-transaction-payment = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -pallet-transaction-payment-rpc-runtime-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -pallet-treasury = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -pallet-utility = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v1.0.0" } -pallet-vesting = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -pallet-xcm = { default-features = false, git = "https://github.com/paritytech/polkadot", branch = "release-v1.0.0" } -parachain-info = { default-features = false, git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -polkadot-core-primitives = { default-features = false, git = "https://github.com/paritytech/polkadot", branch = "release-v1.0.0" } -polkadot-parachain = { default-features = false, git = "https://github.com/paritytech/polkadot", branch = "release-v1.0.0" } -polkadot-primitives = { default-features = false, git = "https://github.com/paritytech/polkadot", branch = "release-v1.0.0" } -polkadot-runtime-common = { default-features = false, git = "https://github.com/paritytech/polkadot", branch = "release-v1.0.0" } -sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-block-builder = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-consensus-aura = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-inherents = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-offchain = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-session = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-transaction-pool = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-version = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -xcm = { default-features = false, git = "https://github.com/paritytech/polkadot", branch = "release-v1.0.0" } -xcm-builder = { default-features = false, git = "https://github.com/paritytech/polkadot", branch = "release-v1.0.0" } -xcm-executor = { default-features = false, git = "https://github.com/paritytech/polkadot", branch = "release-v1.0.0" } +cumulus-pallet-aura-ext = { version = "0.4.0", default-features = false } +cumulus-pallet-dmp-queue = { version = "0.4.0", default-features = false } +cumulus-pallet-parachain-system = { version = "0.4.1", default-features = false } +cumulus-pallet-xcm = { version = "0.4.0", default-features = false } +cumulus-pallet-xcmp-queue = { version = "0.4.0", default-features = false } +cumulus-primitives-core = { version = "0.4.0", default-features = false } +cumulus-primitives-timestamp = { version = "0.4.0", default-features = false } +cumulus-primitives-utility = { version = "0.4.1", default-features = false } +frame-benchmarking = { version = "25.0.0", default-features = false } +frame-executive = { version = "25.0.0", default-features = false } +frame-support = { version = "25.0.0", default-features = false } +frame-system = { version = "25.0.0", default-features = false } +frame-system-benchmarking = { version = "25.0.0", default-features = false } +frame-system-rpc-runtime-api = { version = "23.0.0", default-features = false } +frame-try-runtime = { version = "0.31.0", default-features = false } +orml-traits = { version = "0.6.7", default-features = false } +orml-xcm = { version = "0.6.7", default-features = false } +orml-xcm-support = { version = "0.6.7", default-features = false } +orml-xtokens = { version = "0.6.7", default-features = false } +pallet-assets = { version = "26.0.0", default-features = false } +pallet-aura = { version = "24.0.0", default-features = false } +pallet-authorship = { version = "25.0.0", default-features = false } +pallet-balances = { version = "25.0.0", default-features = false } +pallet-bounties = { version = "25.0.0", default-features = false } +pallet-child-bounties = { version = "24.0.0", default-features = false } +pallet-collective = { version = "25.0.0", default-features = false } +pallet-democracy = { version = "25.0.0", default-features = false } +pallet-multisig = { version = "25.0.0", default-features = false } +pallet-preimage = { version = "25.0.0", default-features = false } +pallet-proxy = { version = "25.0.0", default-features = false } +pallet-scheduler = { version = "26.0.0", default-features = false } +pallet-sudo = { version = "25.0.0", default-features = false } +pallet-timestamp = { version = "24.0.0", default-features = false } +pallet-transaction-payment = { version = "25.0.0", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { version = "25.0.0", default-features = false } +pallet-treasury = { version = "24.0.0", default-features = false } +pallet-utility = { version = "25.0.0", default-features = false } +pallet-vesting = { version = "25.0.0", default-features = false } +pallet-xcm = { version = "4.0.0", default-features = false } +staging-parachain-info = { version = "0.4.0", default-features = false } +polkadot-core-primitives = { version = "4.0.0", default-features = false } +polkadot-parachain-primitives = { version = "3.0.0", default-features = false } +polkadot-primitives = { version = "4.0.0", default-features = false } +polkadot-runtime-common = { version = "4.0.0", default-features = false } +sp-api = { version = "23.0.0", default-features = false } +sp-block-builder = { version = "23.0.0", default-features = false } +sp-consensus-aura = { version = "0.29.0", default-features = false } +sp-core = { version = "25.0.0", default-features = false } +sp-inherents = { version = "23.0.0", default-features = false } +sp-io = { version = "27.0.0", default-features = false } +sp-offchain = { version = "23.0.0", default-features = false } +sp-runtime = { version = "28.0.0", default-features = false } +sp-session = { version = "24.0.0", default-features = false } +sp-std = { version = "12.0.0", default-features = false } +sp-transaction-pool = { version = "23.0.0", default-features = false } +sp-version = { version = "26.0.0", default-features = false } +staging-xcm = { version = "4.0.0", default-features = false } +staging-xcm-builder = { version = "4.0.1", default-features = false } +staging-xcm-executor = { version = "4.0.2", default-features = false } # std stuff -cumulus-client-cli = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -cumulus-client-consensus-aura = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -cumulus-client-network = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -cumulus-relay-chain-minimal-node = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v1.0.0" } -frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -frame-rpc-system = { package = "substrate-frame-rpc-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } +cumulus-client-cli = "0.4.0" +cumulus-client-consensus-aura = "0.4.0" +cumulus-client-consensus-common = "0.4.0" +cumulus-client-consensus-relay-chain = "0.4.0" +cumulus-client-network = "0.4.0" +cumulus-client-service = "0.4.0" +cumulus-primitives-parachain-inherent = "0.4.0" +cumulus-relay-chain-inprocess-interface = "0.4.0" +cumulus-relay-chain-interface = "0.4.0" +cumulus-relay-chain-minimal-node = "0.4.0" +cumulus-relay-chain-rpc-interface = "0.4.0" +frame-benchmarking-cli = "29.0.0" +frame-rpc-system = { version = "26.0.0", package = "substrate-frame-rpc-system" } jsonrpsee = { version = "0.16.2", features = ["server"] } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "release-v1.0.0" } -polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v1.0.0" } -sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-consensus-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-network-common = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-network-sync = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-sysinfo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -substrate-state-trie-migration-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } +pallet-transaction-payment-rpc = "27.0.0" +polkadot-cli = "4.0.0" +polkadot-service = "4.0.0" +sc-basic-authorship = "0.31.0" +sc-chain-spec = "24.0.0" +sc-cli = "0.33.0" +sc-client-api = "25.0.0" +sc-consensus = "0.30.0" +sc-consensus-grandpa = "0.16.0" +sc-executor = "0.29.0" +sc-network = "0.31.0" +sc-network-common = "0.30.0" +sc-network-sync = "0.30.0" +sc-offchain = "26.0.0" +sc-rpc = "26.0.0" +sc-service = "0.32.0" +sc-sysinfo = "24.0.0" +sc-telemetry = "12.0.0" +sc-tracing = "25.0.0" +sc-transaction-pool = "25.0.0" +sc-transaction-pool-api = "25.0.0" +sp-blockchain = "25.0.0" +sp-consensus = "0.29.0" +sp-keyring = "28.0.0" +sp-keystore = "0.31.0" +sp-timestamp = "23.0.0" +substrate-prometheus-endpoint = "0.16.0" +substrate-state-trie-migration-rpc = "24.0.0" +try-runtime-cli = "0.35.0" # Temporary pin only # See https://github.com/bluejekyll/trust-dns/issues/1946 for more details. @@ -149,28 +149,26 @@ tempfile = "3.3.0" tokio = { version = "1.23.0", features = ["macros", "time", "parking_lot"] } wait-timeout = "0.2" hex = "0.4.3" -polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "release-v1.0.0" } -substrate-test-client = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -substrate-test-runtime-client = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } +polkadot-runtime-parachains = "4.0.0" # build dependencies -substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" } +substrate-build-script-utils = "9.0.0" +substrate-wasm-builder = "14.0.0" -#[patch."https://github.com/integritee-network/pallets.git"] -#pallet-claims = { path = '../pallets/claims' } -#pallet-enclave-bridge = { path = '../pallets/enclave-bridge' } -#pallet-teerex = { path = '../pallets/teerex' } -#pallet-sidechain = { path = '../pallets/sidechain' } -#sgx-verify = { path = '../pallets/teerex/sgx-verify' } -#pallet-teeracle = { path = '../pallets/teeracle' } -#claims-primitives = { path = '../pallets/primitives/claims' } -#enclave-bridge-primitives = { path = '../pallets/primitives/enclave-bridge' } -#teerex-primitives = { path = '../pallets/primitives/teerex' } -#teeracle-primitives = { path = '../pallets/primitives/teeracle' } -#common-primitives = { path = '../pallets/primitives/common' } -#xcm-transactor-primitives = { path = '../pallets/primitives/xcm-transactor' } -#pallet-xcm-transactor = { path = '../pallets/xcm-transactor' } +[patch."https://github.com/integritee-network/pallets.git"] +pallet-claims = { path = '../pallets/claims' } +pallet-enclave-bridge = { path = '../pallets/enclave-bridge' } +pallet-teerex = { path = '../pallets/teerex' } +pallet-sidechain = { path = '../pallets/sidechain' } +sgx-verify = { path = '../pallets/teerex/sgx-verify' } +pallet-teeracle = { path = '../pallets/teeracle' } +claims-primitives = { path = '../pallets/primitives/claims' } +enclave-bridge-primitives = { path = '../pallets/primitives/enclave-bridge' } +teerex-primitives = { path = '../pallets/primitives/teerex' } +teeracle-primitives = { path = '../pallets/primitives/teeracle' } +common-primitives = { path = '../pallets/primitives/common' } +xcm-transactor-primitives = { path = '../pallets/primitives/xcm-transactor' } +pallet-xcm-transactor = { path = '../pallets/xcm-transactor' } [patch.crates-io] ring = { git = "https://github.com/betrusted-io/ring-xous", branch = "0.16.20-cleanup" } diff --git a/polkadot-parachains/Cargo.toml b/polkadot-parachains/Cargo.toml index b14c1786..ba0b2102 100644 --- a/polkadot-parachains/Cargo.toml +++ b/polkadot-parachains/Cargo.toml @@ -92,7 +92,7 @@ cumulus-relay-chain-rpc-interface = { workspace = true } polkadot-cli = { workspace = true } polkadot-primitives = { workspace = true, features = ["std"] } polkadot-service = { workspace = true } -xcm = { workspace = true, features = ["std"] } +staging-xcm = { workspace = true, features = ["std"] } # Temporary pin only # See https://github.com/bluejekyll/trust-dns/issues/1946 for more details. @@ -106,8 +106,6 @@ assert_cmd = { workspace = true } nix = { workspace = true } pallet-sudo = { workspace = true, features = ["std"] } polkadot-cli = { workspace = true, features = ["rococo-native"] } # purge_chain_works works with rococo-local and needs to allow this -substrate-test-client = { workspace = true } -substrate-test-runtime-client = { workspace = true } tempfile = { workspace = true } tokio = { workspace = true } wait-timeout = { workspace = true } diff --git a/polkadot-parachains/common/Cargo.toml b/polkadot-parachains/common/Cargo.toml index 35688c10..68c663b6 100644 --- a/polkadot-parachains/common/Cargo.toml +++ b/polkadot-parachains/common/Cargo.toml @@ -31,8 +31,8 @@ sp-std = { workspace = true } polkadot-core-primitives = { workspace = true } polkadot-primitives = { workspace = true } polkadot-runtime-common = { workspace = true } -xcm = { workspace = true } -xcm-executor = { workspace = true } +staging-xcm = { workspace = true } +staging-xcm-executor = { workspace = true } [build-dependencies] substrate-wasm-builder = { workspace = true } @@ -56,6 +56,6 @@ std = [ "sp-io/std", "sp-runtime/std", "sp-std/std", - "xcm-executor/std", - "xcm/std", + "staging-xcm-executor/std", + "staging-xcm/std", ] diff --git a/polkadot-parachains/integritee-runtime/Cargo.toml b/polkadot-parachains/integritee-runtime/Cargo.toml index 4d5c362f..ecd95a19 100644 --- a/polkadot-parachains/integritee-runtime/Cargo.toml +++ b/polkadot-parachains/integritee-runtime/Cargo.toml @@ -58,8 +58,8 @@ pallet-utility = { workspace = true } pallet-vesting = { workspace = true } pallet-xcm = { workspace = true } pallet-xcm-transactor = { workspace = true } -parachain-info = { workspace = true } -polkadot-parachain = { workspace = true } +staging-parachain-info = { workspace = true } +polkadot-parachain-primitives = { workspace = true } sp-api = { workspace = true } sp-block-builder = { workspace = true } sp-consensus-aura = { workspace = true } @@ -72,9 +72,9 @@ sp-session = { workspace = true } sp-std = { workspace = true } sp-transaction-pool = { workspace = true } sp-version = { workspace = true } -xcm = { workspace = true } -xcm-builder = { workspace = true } -xcm-executor = { workspace = true } +staging-xcm = { workspace = true } +staging-xcm-builder = { workspace = true } +staging-xcm-executor = { workspace = true } xcm-transactor-primitives = { workspace = true } # Benchmarking @@ -136,10 +136,10 @@ std = [ "pallet-vesting/std", "pallet-xcm-transactor/std", "pallet-xcm/std", - "parachain-info/std", + "staging-parachain-info/std", "parachains-common/std", "parity-scale-codec/std", - "polkadot-parachain/std", + "polkadot-parachain-primitives/std", "scale-info/std", "sp-api/std", "sp-block-builder/std", @@ -153,10 +153,10 @@ std = [ "sp-std/std", "sp-transaction-pool/std", "sp-version/std", - "xcm-builder/std", - "xcm-executor/std", + "staging-xcm-builder/std", + "staging-xcm-executor/std", "xcm-transactor-primitives/std", - "xcm/std", + "staging-xcm/std", ] runtime-benchmarks = [ "cumulus-pallet-xcmp-queue/runtime-benchmarks", @@ -186,7 +186,7 @@ runtime-benchmarks = [ "pallet-vesting/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", "sp-runtime/runtime-benchmarks", - "xcm-builder/runtime-benchmarks", + "staging-xcm-builder/runtime-benchmarks", ] try-runtime = [ @@ -222,7 +222,7 @@ try-runtime = [ "pallet-vesting/try-runtime", "pallet-xcm-transactor/try-runtime", "pallet-xcm/try-runtime", - "parachain-info/try-runtime", + "staging-parachain-info/try-runtime", ] # Set timing constants (e.g. session period) to faster versions to speed up testing. fast-runtime = [] diff --git a/polkadot-parachains/integritee-runtime/src/lib.rs b/polkadot-parachains/integritee-runtime/src/lib.rs index b1a0cb46..5750d5ad 100644 --- a/polkadot-parachains/integritee-runtime/src/lib.rs +++ b/polkadot-parachains/integritee-runtime/src/lib.rs @@ -457,7 +457,7 @@ parameter_types! { impl cumulus_pallet_parachain_system::Config for Runtime { type RuntimeEvent = RuntimeEvent; type OnSystemEvent = (); - type SelfParaId = parachain_info::Pallet; + type SelfParaId = staging_parachain_info::Pallet; type DmpMessageHandler = DmpQueue; type ReservedDmpWeight = ReservedDmpWeight; type OutboundXcmpMessageSource = XcmpQueue; @@ -466,7 +466,7 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type CheckAssociatedRelayNumber = RelayNumberStrictlyIncreases; } -impl parachain_info::Config for Runtime {} +impl staging_parachain_info::Config for Runtime {} impl cumulus_pallet_aura_ext::Config for Runtime {} @@ -750,7 +750,7 @@ construct_runtime!( } = 1, // RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Storage} = 2, Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 3, - ParachainInfo: parachain_info::{Pallet, Storage, Config} = 4, + ParachainInfo: staging_parachain_info::{Pallet, Storage, Config} = 4, Preimage: pallet_preimage = 5, Multisig: pallet_multisig::{Pallet, Call, Storage, Event} = 6, Proxy: pallet_proxy::{Pallet, Call, Storage, Event} = 7, diff --git a/polkadot-parachains/integritee-runtime/src/xcm_config.rs b/polkadot-parachains/integritee-runtime/src/xcm_config.rs index 4994b93e..a8faed7d 100644 --- a/polkadot-parachains/integritee-runtime/src/xcm_config.rs +++ b/polkadot-parachains/integritee-runtime/src/xcm_config.rs @@ -41,14 +41,14 @@ use orml_traits::{ use orml_xcm_support::{IsNativeConcrete, MultiNativeAsset}; use pallet_xcm::XcmPassthrough; use parity_scale_codec::{Decode, Encode, MaxEncodedLen}; -use polkadot_parachain::primitives::Sibling; +use polkadot_parachain_primitives::primitives::Sibling; use scale_info::TypeInfo; use sp_core::ConstU32; use sp_std::{ convert::{From, Into}, prelude::*, }; -use xcm::latest::prelude::*; +use staging_xcm::latest::prelude::*; use xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, CurrencyAdapter, DenyReserveTransferToRelayChain, DenyThenTry, diff --git a/polkadot-parachains/shell-runtime/Cargo.toml b/polkadot-parachains/shell-runtime/Cargo.toml index 61aa82f3..4423bfa1 100644 --- a/polkadot-parachains/shell-runtime/Cargo.toml +++ b/polkadot-parachains/shell-runtime/Cargo.toml @@ -41,8 +41,8 @@ pallet-transaction-payment-rpc-runtime-api = { workspace = true } pallet-vesting = { workspace = true } pallet-xcm = { workspace = true } pallet-xcm-transactor = { workspace = true } -parachain-info = { workspace = true } -polkadot-parachain = { workspace = true } +staging-parachain-info = { workspace = true } +polkadot-parachain-primitives = { workspace = true } sp-api = { workspace = true } sp-block-builder = { workspace = true } sp-consensus-aura = { workspace = true } @@ -55,9 +55,9 @@ sp-session = { workspace = true } sp-std = { workspace = true } sp-transaction-pool = { workspace = true } sp-version = { workspace = true } -xcm = { workspace = true } -xcm-builder = { workspace = true } -xcm-executor = { workspace = true } +staging-xcm = { workspace = true } +staging-xcm-builder = { workspace = true } +staging-xcm-executor = { workspace = true } xcm-transactor-primitives = { workspace = true } [dev-dependencies] @@ -95,10 +95,10 @@ std = [ "pallet-vesting/std", "pallet-xcm-transactor/std", "pallet-xcm/std", - "parachain-info/std", + "staging-parachain-info/std", "parachains-common/std", "parity-scale-codec/std", - "polkadot-parachain/std", + "polkadot-parachain-primitives/std", "scale-info/std", "sp-api/std", "sp-block-builder/std", @@ -112,10 +112,10 @@ std = [ "sp-std/std", "sp-transaction-pool/std", "sp-version/std", - "xcm-builder/std", - "xcm-executor/std", + "staging-xcm-builder/std", + "staging-xcm-executor/std", "xcm-transactor-primitives/std", - "xcm/std", + "staging-xcm/std", ] # Weird cargo behaviour: We have to feature gate the `runtime-benchmarks` behind # a feature here. Otherwise the feature is automatically activated in dependencies @@ -124,7 +124,7 @@ std = [ # implemented. runtime-benchmarks = [ "pallet-xcm/runtime-benchmarks", - "xcm-builder/runtime-benchmarks", + "staging-xcm-builder/runtime-benchmarks", ] try-runtime = [ @@ -144,5 +144,5 @@ try-runtime = [ "pallet-vesting/try-runtime", "pallet-xcm-transactor/try-runtime", "pallet-xcm/try-runtime", - "parachain-info/try-runtime", + "staging-parachain-info/try-runtime", ] diff --git a/polkadot-parachains/shell-runtime/src/lib.rs b/polkadot-parachains/shell-runtime/src/lib.rs index 50e1e9f0..a33d2120 100644 --- a/polkadot-parachains/shell-runtime/src/lib.rs +++ b/polkadot-parachains/shell-runtime/src/lib.rs @@ -260,7 +260,7 @@ parameter_types! { impl cumulus_pallet_parachain_system::Config for Runtime { type RuntimeEvent = RuntimeEvent; type OnSystemEvent = (); - type SelfParaId = parachain_info::Pallet; + type SelfParaId = staging_parachain_info::Pallet; type DmpMessageHandler = DmpQueue; type ReservedDmpWeight = ReservedDmpWeight; type OutboundXcmpMessageSource = XcmpQueue; @@ -269,7 +269,7 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type CheckAssociatedRelayNumber = RelayNumberStrictlyIncreases; } -impl parachain_info::Config for Runtime {} +impl staging_parachain_info::Config for Runtime {} impl cumulus_pallet_aura_ext::Config for Runtime {} @@ -299,7 +299,7 @@ construct_runtime!( Pallet, Call, Config, Storage, Inherent, Event, ValidateUnsigned, } = 1, Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 3, - ParachainInfo: parachain_info::{Pallet, Storage, Config} = 4, + ParachainInfo: staging_parachain_info::{Pallet, Storage, Config} = 4, Sudo: pallet_sudo::{Pallet, Call, Storage, Config, Event} = 5, // Monetary stuff. diff --git a/polkadot-parachains/shell-runtime/src/xcm_config.rs b/polkadot-parachains/shell-runtime/src/xcm_config.rs index 60abdfe7..f4bdb472 100644 --- a/polkadot-parachains/shell-runtime/src/xcm_config.rs +++ b/polkadot-parachains/shell-runtime/src/xcm_config.rs @@ -39,14 +39,14 @@ use orml_traits::{ use orml_xcm_support::{IsNativeConcrete, MultiNativeAsset}; use pallet_xcm::XcmPassthrough; use parity_scale_codec::{Decode, Encode, MaxEncodedLen}; -use polkadot_parachain::primitives::Sibling; +use polkadot_parachain_primitives::primitives::Sibling; use scale_info::TypeInfo; use sp_core::ConstU32; use sp_std::{ convert::{From, Into}, prelude::*, }; -use xcm::latest::prelude::*; +use staging_xcm::latest::prelude::*; use xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, CurrencyAdapter, DenyReserveTransferToRelayChain, DenyThenTry, From 393222966723d74be43a2cabd970712ddeb7cbdd Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Thu, 1 Feb 2024 18:03:29 +0100 Subject: [PATCH 02/29] fixes --- Cargo.lock | 742 +++++++----------- Cargo.toml | 2 +- .../integritee-runtime/Cargo.toml | 4 + .../integritee-runtime/src/lib.rs | 32 +- .../integritee-runtime/src/xcm_config.rs | 19 +- polkadot-parachains/shell-runtime/Cargo.toml | 2 + polkadot-parachains/shell-runtime/src/lib.rs | 1 + .../shell-runtime/src/xcm_config.rs | 19 +- 8 files changed, 340 insertions(+), 481 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3401413e..56175145 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1951,8 +1951,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "071cdddd31e2b0d47a74249675de828857f61eb5f6afa36cfcf63ea6ee2b60f2" dependencies = [ "cumulus-pallet-parachain-system", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "pallet-aura", "pallet-timestamp", "parity-scale-codec", @@ -1970,8 +1970,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5d1cb9d43cdfeedea19b4f6b8386e5b6264a97938b29f5c711a84e9dc7105ff7" dependencies = [ "cumulus-primitives-core", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", @@ -1992,8 +1992,8 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", "environmental", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", "parity-scale-codec", @@ -2032,8 +2032,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ff03e14a0f5847bdee67a673ee945d3acd5c1d7238d46993208dcbfb774e27f" dependencies = [ "cumulus-primitives-core", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "sp-io 27.0.0", @@ -2050,9 +2050,9 @@ checksum = "b6af9816dd6564149729ba133c2c984c88fb15c4a2cb66f57be06b9147744e51" dependencies = [ "bp-xcm-bridge-hub-router", "cumulus-primitives-core", - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "polkadot-runtime-common", @@ -2145,7 +2145,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2d0ad7498cb748684f0f309ee037e9a29a91fb3ec5b5276b5fc723c3716bdd8a" dependencies = [ "cumulus-primitives-core", - "frame-support 25.0.0", + "frame-support", "log", "pallet-xcm-benchmarks", "parity-scale-codec", @@ -3149,9 +3149,9 @@ version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3dd4946d63eab00d899f08a7e74e965cc6785c2298efaea6a2752905f4810407" dependencies = [ - "frame-support 25.0.0", - "frame-support-procedural 20.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-support-procedural", + "frame-system", "linregress", "log", "parity-scale-codec", @@ -3169,32 +3169,6 @@ dependencies = [ "static_assertions", ] -[[package]] -name = "frame-benchmarking" -version = "26.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bffc0f167650e08c1c8eb3f564569e9e96d12a7cffebb9e3527041a36ffb7cce" -dependencies = [ - "frame-support 26.0.0", - "frame-support-procedural 21.0.0", - "frame-system 26.0.0", - "linregress", - "log", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "sp-api 24.0.0", - "sp-application-crypto 28.0.0", - "sp-core 26.0.0", - "sp-io 28.0.0", - "sp-runtime 29.0.0", - "sp-runtime-interface 22.0.0", - "sp-std", - "sp-storage", - "static_assertions", -] - [[package]] name = "frame-benchmarking-cli" version = "29.0.0" @@ -3206,9 +3180,9 @@ dependencies = [ "chrono", "clap", "comfy-table", - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "gethostname", "handlebars", "itertools 0.10.5", @@ -3263,8 +3237,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ebad507fb038db2f7ce982d30bd9828a59785c9a4780348d59cd6cceaee80d1a" dependencies = [ "frame-election-provider-solution-type", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "sp-arithmetic 20.0.0", @@ -3280,8 +3254,8 @@ version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2dda2c20ea3267ee20c9a5482f320236510c4ade6aec1dd930cb57dc5651c64f" dependencies = [ - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "frame-try-runtime", "log", "parity-scale-codec", @@ -3338,7 +3312,7 @@ dependencies = [ "docify", "environmental", "frame-metadata", - "frame-support-procedural 20.0.0", + "frame-support-procedural", "impl-trait-for-tuples", "k256", "log", @@ -3359,7 +3333,7 @@ dependencies = [ "sp-io 27.0.0", "sp-metadata-ir", "sp-runtime 28.0.0", - "sp-staking 23.0.0", + "sp-staking", "sp-state-machine 0.32.0", "sp-std", "sp-tracing", @@ -3368,48 +3342,6 @@ dependencies = [ "tt-call", ] -[[package]] -name = "frame-support" -version = "26.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a3c63ec85b8907268d6af6182d29d9a9752daa6979c9928566d56471f5ec731" -dependencies = [ - "aquamarine", - "array-bytes 6.2.2", - "bitflags 1.3.2", - "docify", - "environmental", - "frame-metadata", - "frame-support-procedural 21.0.0", - "impl-trait-for-tuples", - "k256", - "log", - "macro_magic", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "serde_json", - "smallvec", - "sp-api 24.0.0", - "sp-arithmetic 21.0.0", - "sp-core 26.0.0", - "sp-core-hashing-proc-macro", - "sp-debug-derive", - "sp-genesis-builder 0.5.0", - "sp-inherents 24.0.0", - "sp-io 28.0.0", - "sp-metadata-ir", - "sp-runtime 29.0.0", - "sp-staking 24.0.0", - "sp-state-machine 0.33.0", - "sp-std", - "sp-tracing", - "sp-weights 25.0.0", - "static_assertions", - "tt-call", -] - [[package]] name = "frame-support-procedural" version = "20.0.0" @@ -3430,26 +3362,6 @@ dependencies = [ "syn 2.0.39", ] -[[package]] -name = "frame-support-procedural" -version = "21.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "545ed122b36d06c416a6fbe2e66ab57a455200bfd20ece87cdd604d18f674f23" -dependencies = [ - "Inflector", - "cfg-expr", - "derive-syn-parse", - "expander 2.0.0", - "frame-support-procedural-tools", - "itertools 0.10.5", - "macro_magic", - "proc-macro-warning", - "proc-macro2", - "quote", - "sp-core-hashing", - "syn 2.0.39", -] - [[package]] name = "frame-support-procedural-tools" version = "9.0.0" @@ -3481,7 +3393,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "57e316407c45a5093c833966a906301aa0dcbd05048061cd9cde2548d017bfd9" dependencies = [ "cfg-if", - "frame-support 25.0.0", + "frame-support", "log", "parity-scale-codec", "scale-info", @@ -3494,35 +3406,15 @@ dependencies = [ "sp-weights 24.0.0", ] -[[package]] -name = "frame-system" -version = "26.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed5d6c8e319cea3160ec8f6c831edc77ceca442c7488d0a6d2e6a6be54fcb142" -dependencies = [ - "cfg-if", - "frame-support 26.0.0", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 26.0.0", - "sp-io 28.0.0", - "sp-runtime 29.0.0", - "sp-std", - "sp-version 27.0.0", - "sp-weights 25.0.0", -] - [[package]] name = "frame-system-benchmarking" version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b5b1388055d29a7a1c4d41b1623d3fcbc9d7f31d17abe04500b270b26901d926" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "sp-core 25.0.0", @@ -3556,7 +3448,7 @@ version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f082e770275f9b46ddf46b09bc7a993f84db691c39d9e4d038ac07443cb17a18" dependencies = [ - "frame-support 25.0.0", + "frame-support", "parity-scale-codec", "sp-api 23.0.0", "sp-runtime 28.0.0", @@ -4341,7 +4233,7 @@ dependencies = [ "cumulus-relay-chain-minimal-node", "cumulus-relay-chain-rpc-interface", "enum-as-inner", - "frame-benchmarking 25.0.0", + "frame-benchmarking", "frame-benchmarking-cli", "futures", "hex-literal 0.3.4", @@ -4416,10 +4308,10 @@ dependencies = [ "cumulus-primitives-parachain-inherent", "cumulus-primitives-timestamp", "cumulus-primitives-utility", - "frame-benchmarking 25.0.0", + "frame-benchmarking", "frame-executive", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api 23.0.0", "frame-try-runtime", @@ -4431,8 +4323,8 @@ dependencies = [ "orml-xcm-support", "orml-xtokens", "pallet-aura", - "pallet-balances 25.0.0", - "pallet-bounties 25.0.0", + "pallet-balances", + "pallet-bounties", "pallet-child-bounties", "pallet-claims", "pallet-collective", @@ -4448,7 +4340,7 @@ dependencies = [ "pallet-timestamp", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", - "pallet-treasury 24.0.0", + "pallet-treasury", "pallet-utility", "pallet-vesting", "pallet-xcm", @@ -4457,6 +4349,7 @@ dependencies = [ "parity-scale-codec", "polkadot-parachain-primitives", "polkadot-primitives", + "polkadot-runtime-common", "polkadot-runtime-parachains", "scale-info", "sp-api 23.0.0", @@ -6165,7 +6058,7 @@ version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fdb88da091cdb145e8db8f9e5f93c4ebc4c5f1200d521472a428f2d83c8f08f2" dependencies = [ - "frame-support 25.0.0", + "frame-support", "impl-trait-for-tuples", "num-traits", "orml-utilities", @@ -6186,7 +6079,7 @@ version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e0977821580f68338741a96bee434a464f5d890da3a0721bb9fc1a9b5b28bc87" dependencies = [ - "frame-support 25.0.0", + "frame-support", "parity-scale-codec", "scale-info", "serde", @@ -6202,8 +6095,8 @@ version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "31970807eb8f7721263f198e5c47effb1f15eb91e0dbdb9692490cf124f1e87b" dependencies = [ - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "pallet-xcm", "parity-scale-codec", "scale-info", @@ -6217,7 +6110,7 @@ version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "80cc326829280b6cf63f883706b4f847a33970beebaae690a01f3adc80dc9f0f" dependencies = [ - "frame-support 25.0.0", + "frame-support", "orml-traits", "parity-scale-codec", "sp-runtime 28.0.0", @@ -6233,8 +6126,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2071f7368b4e6c6171ef55b62dc46241772a9351c12e64fa01b6ec87778b2f58" dependencies = [ "cumulus-primitives-core", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "log", "orml-traits", "orml-xcm-support", @@ -6255,9 +6148,9 @@ version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "740aebbcfefe8528f56ff8a339f810520a28df3ec159d016ef719aaa9f131af4" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "sp-core 25.0.0", @@ -6271,9 +6164,9 @@ version = "26.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09b91035c82dc9e64eaf52f3f6a39f4674bcb56333553882d6ff5d12500a9182" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", @@ -6288,8 +6181,8 @@ version = "24.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "04fbef67cf62445b7fd8e68241e6b71d9fb8c77abb3d52259eebf525a4cd5586" dependencies = [ - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "log", "pallet-timestamp", "parity-scale-codec", @@ -6306,8 +6199,8 @@ version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fda272a66bbf1602579efcede67606ac43cda6d462ad551c527d8cadc871813d" dependencies = [ - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "pallet-session", "parity-scale-codec", "scale-info", @@ -6323,8 +6216,8 @@ version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2d38eab59f7d15fe43c81fc3cd92f4c1f895ca6d0efb74fc2a6d6d7d3d34d413" dependencies = [ - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", @@ -6338,9 +6231,9 @@ version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6b12430ca4b79b27231acb1ff3f99d33d6503fbeba40bfc8380e42d59b6d52b0" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-authorship", "pallet-session", @@ -6353,7 +6246,7 @@ dependencies = [ "sp-io 27.0.0", "sp-runtime 28.0.0", "sp-session", - "sp-staking 23.0.0", + "sp-staking", "sp-std", ] @@ -6365,12 +6258,12 @@ checksum = "5d49c4448e51a5c64d63a4263aebeb2dfb90dabb48746e178b337fb7f533d45f" dependencies = [ "aquamarine", "docify", - "frame-benchmarking 25.0.0", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "log", - "pallet-balances 25.0.0", + "pallet-balances", "parity-scale-codec", "scale-info", "sp-core 25.0.0", @@ -6386,9 +6279,9 @@ version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9de2915b425ae77d63ba25c194780599b7be25307454a138cfb316c16d001e68" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", @@ -6396,30 +6289,14 @@ dependencies = [ "sp-std", ] -[[package]] -name = "pallet-balances" -version = "26.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8784a22a3c2e0cd17d775e08002d5a5ce44267717a9d96fd3644fdf38cfcc4d5" -dependencies = [ - "frame-benchmarking 26.0.0", - "frame-support 26.0.0", - "frame-system 26.0.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-runtime 29.0.0", - "sp-std", -] - [[package]] name = "pallet-beefy" version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8563fce9fdb0e557015c0b58ed7ea7d5c1a4a1ddb1d27bf56e040d6bbf5c79e9" dependencies = [ - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "log", "pallet-authorship", "pallet-session", @@ -6429,7 +6306,7 @@ dependencies = [ "sp-consensus-beefy", "sp-runtime 28.0.0", "sp-session", - "sp-staking 23.0.0", + "sp-staking", "sp-std", ] @@ -6441,8 +6318,8 @@ checksum = "ee3ed75c348ba23064cea40dab623719ef348bfe67ea39f195f82e2e7a7d0115" dependencies = [ "array-bytes 6.2.2", "binary-merkle-tree", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "log", "pallet-beefy", "pallet-mmr", @@ -6465,11 +6342,11 @@ version = "24.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "74c0fb83c88f217e5bfe07a69a6d8a6c32d01241159ab81705ba5d4c3e24aaab" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-treasury 24.0.0", + "pallet-treasury", "parity-scale-codec", "scale-info", "sp-core 25.0.0", @@ -6478,37 +6355,18 @@ dependencies = [ "sp-std", ] -[[package]] -name = "pallet-bounties" -version = "25.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc64da9107b75ab08a5eec8cef34e92e94676869750a62f8f8f53461c056709d" -dependencies = [ - "frame-benchmarking 26.0.0", - "frame-support 26.0.0", - "frame-system 26.0.0", - "log", - "pallet-treasury 25.0.0", - "parity-scale-codec", - "scale-info", - "sp-core 26.0.0", - "sp-io 28.0.0", - "sp-runtime 29.0.0", - "sp-std", -] - [[package]] name = "pallet-child-bounties" version = "24.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2246ce705aee37f9b6ad818e3646910d31ef4191e1c234bff054a710ef8d8a38" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-bounties 24.0.0", - "pallet-treasury 24.0.0", + "pallet-bounties", + "pallet-treasury", "parity-scale-codec", "scale-info", "sp-core 25.0.0", @@ -6522,9 +6380,9 @@ name = "pallet-claims" version = "0.9.12" dependencies = [ "claims-primitives", - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "libsecp256k1", "parity-scale-codec", "rustc-hex", @@ -6542,9 +6400,9 @@ version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dddb120b5ee520146617a8c49b4d4c980ba9188918d43085539bf78815e7ec1d" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", @@ -6561,9 +6419,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1c8ff7512a377b708f71772e5169550cebc8f74bc8c26553015698eaa0975356" dependencies = [ "assert_matches", - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", @@ -6578,9 +6436,9 @@ version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed9f24ad18db2eeae0f03ba1743a82aaf300e0bbd6cdcb1119b0da93eef3d77f" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", @@ -6597,10 +6455,10 @@ version = "24.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "481178ef558a9409d9c12fc01279b517e3a0a7797664e89761447dba3a182ce6" dependencies = [ - "frame-benchmarking 25.0.0", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "log", "pallet-election-provider-support-benchmarking", "parity-scale-codec", @@ -6621,9 +6479,9 @@ version = "24.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b5ab6413ec88b64acf849a202795c67940dc3bcc846ce03bd0893b90e2119ecf" dependencies = [ - "frame-benchmarking 25.0.0", + "frame-benchmarking", "frame-election-provider-support", - "frame-system 25.0.0", + "frame-system", "parity-scale-codec", "sp-npos-elections", "sp-runtime 28.0.0", @@ -6636,9 +6494,9 @@ version = "26.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "021da1d28b604b3654f895987dcb1ccb47d73102b31bc84c8f784bed261f01d8" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", @@ -6646,7 +6504,7 @@ dependencies = [ "sp-io 27.0.0", "sp-npos-elections", "sp-runtime 28.0.0", - "sp-staking 23.0.0", + "sp-staking", "sp-std", ] @@ -6655,12 +6513,12 @@ name = "pallet-enclave-bridge" version = "0.12.0" dependencies = [ "enclave-bridge-primitives", - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal 0.3.4", "log", - "pallet-balances 25.0.0", + "pallet-balances", "pallet-teerex", "pallet-timestamp", "parity-scale-codec", @@ -6681,16 +6539,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "05634a197738c999a3032393916182fedccce13cb063fc330ee9bf810cd53b49" dependencies = [ "docify", - "frame-benchmarking 25.0.0", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", "sp-io 27.0.0", "sp-runtime 28.0.0", - "sp-staking 23.0.0", + "sp-staking", "sp-std", ] @@ -6700,9 +6558,9 @@ version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b87c7f4cd94a526054dfebf7a84fbcaf6385033defa246ad83e321e71f8c5a92" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-authorship", "pallet-session", @@ -6714,7 +6572,7 @@ dependencies = [ "sp-io 27.0.0", "sp-runtime 28.0.0", "sp-session", - "sp-staking 23.0.0", + "sp-staking", "sp-std", ] @@ -6725,9 +6583,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "735bf6c19d30299e2d448797170a67d41c6a8ba593fb3a71ce4e11d3b85c60e9" dependencies = [ "enumflags2", - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "sp-io 27.0.0", @@ -6741,9 +6599,9 @@ version = "24.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "59eb1c68cc6b4700ad1d2a81ba847ff7b37406aa0326b7716825155d3f985762" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-authorship", "parity-scale-codec", @@ -6752,7 +6610,7 @@ dependencies = [ "sp-core 25.0.0", "sp-io 27.0.0", "sp-runtime 28.0.0", - "sp-staking 23.0.0", + "sp-staking", "sp-std", ] @@ -6762,9 +6620,9 @@ version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0893ae7f2211010e92bf57fe31f18e2223a2f97f6d6393aa7192e283ec520beb" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "sp-core 25.0.0", @@ -6780,9 +6638,9 @@ version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2e1504034588eb733f8ce98b77757e9a7390662313aa133ef1e3b9fbb94359c7" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", @@ -6798,9 +6656,9 @@ version = "28.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0776bf51d03bd746159063fa1357234feb85114273d40ef3aa3efba65d091eb4" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", @@ -6818,9 +6676,9 @@ version = "24.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2b9789cac80b48e9427724d0b400f984fb844fc711fc2dd2d0cdccdedda7169" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", @@ -6837,9 +6695,9 @@ version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fea2785a0bfb1884a8283bf65010bb7189c8fce958ced9947a8c71c148ef199f" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", @@ -6854,9 +6712,9 @@ version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7aa7ec891b7f1801a405095a2ad2c70eef94d2abe86792eee54794de23cbd035" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "sp-arithmetic 20.0.0", @@ -6871,16 +6729,16 @@ version = "22.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "72cec44f1a5752ace99cfc5472d79a758b1cca25b9cc5b2d62ffd8aba6e66a8a" dependencies = [ - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "log", - "pallet-balances 25.0.0", + "pallet-balances", "parity-scale-codec", "scale-info", "sp-core 25.0.0", "sp-io 27.0.0", "sp-runtime 28.0.0", - "sp-staking 23.0.0", + "sp-staking", "sp-std", "sp-tracing", ] @@ -6891,10 +6749,10 @@ version = "23.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b27cbf4a47cc79862d254f16b38c68fd2dda087ce58e7c0021859d89718e865a" dependencies = [ - "frame-benchmarking 25.0.0", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "pallet-bags-list", "pallet-nomination-pools", "pallet-staking", @@ -6902,7 +6760,7 @@ dependencies = [ "scale-info", "sp-runtime 28.0.0", "sp-runtime-interface 21.0.0", - "sp-staking 23.0.0", + "sp-staking", "sp-std", ] @@ -6924,15 +6782,15 @@ version = "24.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f3fd14c02ed4b689652826aa93284aada5a2cf859df3cc34ad88b2fd410a8c50" dependencies = [ - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "log", - "pallet-balances 25.0.0", + "pallet-balances", "parity-scale-codec", "scale-info", "serde", "sp-runtime 28.0.0", - "sp-staking 23.0.0", + "sp-staking", "sp-std", ] @@ -6942,13 +6800,13 @@ version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1b3ae77cfb16f0495372853d42a44e34ab7b183bd8996a8cee91715f783ff49" dependencies = [ - "frame-benchmarking 25.0.0", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "log", "pallet-babe", - "pallet-balances 25.0.0", + "pallet-balances", "pallet-grandpa", "pallet-im-online", "pallet-offences", @@ -6957,7 +6815,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime 28.0.0", - "sp-staking 23.0.0", + "sp-staking", "sp-std", ] @@ -6967,9 +6825,9 @@ version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1ed40405c758b52375cfc75aac74f10ff9bb9480569e5cfca42682e2db6c387" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", @@ -6985,9 +6843,9 @@ version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fbc0b550f5cbbad51f9daf795cc7046d40bbff256dae8d6072fd710ab40fd3a" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "sp-io 27.0.0", @@ -7001,9 +6859,9 @@ version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8181da7fd6b9adf4f8641c5bcb156cd209e3226eea87ee9f9b1ac41f8e37c714" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", @@ -7020,9 +6878,9 @@ version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "889fddd16cfdea09c2ae4dc8e9f67a1ec4b8ac680412cffb772fa572489ec687" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "sp-io 27.0.0", @@ -7037,9 +6895,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "592ff9873af379bf55e835072afd787cd6435204213ac484e86345b026f4ae4e" dependencies = [ "assert_matches", - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", @@ -7057,9 +6915,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3508a51d359c6640577feead9dc00667f38cec385baad77b636c61ff746ffe24" dependencies = [ "docify", - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", @@ -7075,8 +6933,8 @@ version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "768a6fb5333efc2bd2a3538c1d6ffa4178398660d4e3be89f2eb82d4e9088ae6" dependencies = [ - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", "pallet-timestamp", @@ -7086,7 +6944,7 @@ dependencies = [ "sp-io 27.0.0", "sp-runtime 28.0.0", "sp-session", - "sp-staking 23.0.0", + "sp-staking", "sp-state-machine 0.32.0", "sp-std", "sp-trie 26.0.0", @@ -7098,9 +6956,9 @@ version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5401cee669394e86a15851ace4ad60ef1b4d656f11ff22c83d8004051279ea59" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "pallet-session", "pallet-staking", "parity-scale-codec", @@ -7115,12 +6973,12 @@ name = "pallet-sidechain" version = "0.11.0" dependencies = [ "enclave-bridge-primitives", - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal 0.3.4", "log", - "pallet-balances 25.0.0", + "pallet-balances", "pallet-enclave-bridge", "pallet-teerex", "pallet-timestamp", @@ -7142,9 +7000,9 @@ version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "36959be2c7f810ba6b8ece8cfe2ee515774c1c776f1ed0bebf3b9e8068f6a435" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "rand_chacha 0.2.2", @@ -7161,10 +7019,10 @@ version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bed335abd32d357dd9750dae7fb87b01dfd8fe69faadcb94a6e0e0a43057d923" dependencies = [ - "frame-benchmarking 25.0.0", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "log", "pallet-authorship", "pallet-session", @@ -7175,7 +7033,7 @@ dependencies = [ "sp-application-crypto 27.0.0", "sp-io 27.0.0", "sp-runtime 28.0.0", - "sp-staking 23.0.0", + "sp-staking", "sp-std", ] @@ -7217,9 +7075,9 @@ version = "26.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "550292d79f281fd1bfbbf2643f10cef3d67068075d46374295f2efe7f7113da0" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", @@ -7236,9 +7094,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcec9f73ecb8d0439a13043a253a9fd90aa6bf5aece6470194bbfc7f79256d88" dependencies = [ "docify", - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "sp-io 27.0.0", @@ -7250,9 +7108,9 @@ dependencies = [ name = "pallet-teeracle" version = "0.1.0" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal 0.3.4", "log", "pallet-teerex", @@ -7273,13 +7131,13 @@ dependencies = [ name = "pallet-teerex" version = "0.10.0" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "hex", "hex-literal 0.3.4", "log", - "pallet-balances 25.0.0", + "pallet-balances", "pallet-timestamp", "parity-scale-codec", "rustls-webpki 0.102.0-alpha.3", @@ -7301,9 +7159,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b25ec8749cf3f481b5e5199be701bac0dea835851b83fc7c455192762711858d" dependencies = [ "docify", - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", @@ -7321,11 +7179,11 @@ version = "24.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "81b17cf8b964e5533f1f5ac1f087f3f69adfead754cb5dd25abe395ec1e7abc9" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-treasury 24.0.0", + "pallet-treasury", "parity-scale-codec", "scale-info", "serde", @@ -7341,8 +7199,8 @@ version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "87ef7ceaac786e41613731e3bc48284f1aa3ec260934abda2daed949de6e5ada" dependencies = [ - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", @@ -7389,11 +7247,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8dd462af11574485864023849e0622916b611dbc88111192fb39b1e6d7e666ba" dependencies = [ "docify", - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "impl-trait-for-tuples", - "pallet-balances 25.0.0", + "pallet-balances", "parity-scale-codec", "scale-info", "serde", @@ -7402,35 +7260,15 @@ dependencies = [ "sp-std", ] -[[package]] -name = "pallet-treasury" -version = "25.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd9ce7a3f30d0689ad7e426b491957df1257371c46a737eda68de048cab71676" -dependencies = [ - "docify", - "frame-benchmarking 26.0.0", - "frame-support 26.0.0", - "frame-system 26.0.0", - "impl-trait-for-tuples", - "pallet-balances 26.0.0", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 26.0.0", - "sp-runtime 29.0.0", - "sp-std", -] - [[package]] name = "pallet-utility" version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "85a8a6941da32837e4297e0d8abe0a5c94f348a119cccbf27b0f99ee01246c0e" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "sp-core 25.0.0", @@ -7445,9 +7283,9 @@ version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fd29411ef24eb6a856adf1bc33b37ead4835a25dafb1c4c8c95b13fa5247748f" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", @@ -7461,9 +7299,9 @@ version = "24.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d37304829099cfec7d17df70cfe11ccf6cb7bd624eab80e8e79e895859454540" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "sp-api 23.0.0", @@ -7478,9 +7316,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "04d5e5404d9dadb39390949aadc2c641c16ce4cb0f47ed7a7ff584ab914c2984" dependencies = [ "bounded-collections", - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", @@ -7499,9 +7337,9 @@ version = "4.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d7f50852380d3272accbf4532dc2e46cdc7f66f5452600bfd7d33fc208a5ff1e" dependencies = [ - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", @@ -7518,8 +7356,8 @@ name = "pallet-xcm-transactor" version = "0.1.0" dependencies = [ "cumulus-primitives-core", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", @@ -7536,11 +7374,11 @@ name = "parachains-common" version = "1.7.0" dependencies = [ "frame-executive", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "pallet-assets", "pallet-authorship", - "pallet-balances 25.0.0", + "pallet-balances", "parity-scale-codec", "polkadot-core-primitives", "polkadot-primitives", @@ -8606,7 +8444,7 @@ checksum = "42265630c0c48e25d7ee5a9f4bdcafd003be65c0a44deeb6541620ca169fa519" dependencies = [ "bounded-collections", "derive_more", - "frame-support 25.0.0", + "frame-support", "parity-scale-codec", "polkadot-core-primitives", "scale-info", @@ -8639,7 +8477,7 @@ dependencies = [ "sp-io 27.0.0", "sp-keystore 0.31.0", "sp-runtime 28.0.0", - "sp-staking 23.0.0", + "sp-staking", "sp-std", ] @@ -8683,17 +8521,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a788f8ed8b33262c33f72d78e3416c5991e40d333178ae43000a92181ee44bca" dependencies = [ "bitvec", - "frame-benchmarking 25.0.0", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "impl-trait-for-tuples", "libsecp256k1", "log", "pallet-asset-rate", "pallet-authorship", "pallet-babe", - "pallet-balances 25.0.0", + "pallet-balances", "pallet-election-provider-multi-phase", "pallet-fast-unstake", "pallet-session", @@ -8701,7 +8539,7 @@ dependencies = [ "pallet-staking-reward-fn", "pallet-timestamp", "pallet-transaction-payment", - "pallet-treasury 24.0.0", + "pallet-treasury", "pallet-vesting", "pallet-xcm-benchmarks", "parity-scale-codec", @@ -8719,7 +8557,7 @@ dependencies = [ "sp-npos-elections", "sp-runtime 28.0.0", "sp-session", - "sp-staking 23.0.0", + "sp-staking", "sp-std", "staging-xcm", "staging-xcm-builder", @@ -8734,7 +8572,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfe45b01d9d621174c9c0eef0871aeead5986393838206fe58df3ae414bcb8d2" dependencies = [ "bs58 0.5.0", - "frame-benchmarking 25.0.0", + "frame-benchmarking", "parity-scale-codec", "polkadot-primitives", "sp-std", @@ -8750,15 +8588,15 @@ dependencies = [ "bitflags 1.3.2", "bitvec", "derive_more", - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", "pallet-authority-discovery", "pallet-authorship", "pallet-babe", - "pallet-balances 25.0.0", + "pallet-balances", "pallet-message-queue", "pallet-session", "pallet-staking", @@ -8782,7 +8620,7 @@ dependencies = [ "sp-keystore 0.31.0", "sp-runtime 28.0.0", "sp-session", - "sp-staking 23.0.0", + "sp-staking", "sp-std", "staging-xcm", "staging-xcm-executor", @@ -8796,10 +8634,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "afc65d44c4dd6a8be74194dcac66552dd4e79ee0bcc287349721925e8238177a" dependencies = [ "async-trait", - "frame-benchmarking 25.0.0", + "frame-benchmarking", "frame-benchmarking-cli", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "frame-system-rpc-runtime-api 23.0.0", "futures", "hex-literal 0.4.1", @@ -8927,7 +8765,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "sp-keystore 0.31.0", - "sp-staking 23.0.0", + "sp-staking", "thiserror", "tracing-gum", ] @@ -9710,10 +9548,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4198843a4ec01f56b58ee26e15df123593da562a07b838c66c4e519dbfc1922d" dependencies = [ "binary-merkle-tree", - "frame-benchmarking 25.0.0", + "frame-benchmarking", "frame-executive", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api 23.0.0", "frame-try-runtime", @@ -9723,10 +9561,10 @@ dependencies = [ "pallet-authority-discovery", "pallet-authorship", "pallet-babe", - "pallet-balances 25.0.0", + "pallet-balances", "pallet-beefy", "pallet-beefy-mmr", - "pallet-bounties 24.0.0", + "pallet-bounties", "pallet-child-bounties", "pallet-collective", "pallet-conviction-voting", @@ -9757,7 +9595,7 @@ dependencies = [ "pallet-tips", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", - "pallet-treasury 24.0.0", + "pallet-treasury", "pallet-utility", "pallet-vesting", "pallet-whitelist", @@ -9787,7 +9625,7 @@ dependencies = [ "sp-offchain", "sp-runtime 28.0.0", "sp-session", - "sp-staking 23.0.0", + "sp-staking", "sp-std", "sp-storage", "sp-transaction-pool", @@ -9805,7 +9643,7 @@ version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "272eaa4f1b4b5357d89d1f8f504cb5ee81a105bf7e5c295f053c6e521f2a199b" dependencies = [ - "frame-support 25.0.0", + "frame-support", "polkadot-primitives", "polkadot-runtime-common", "smallvec", @@ -11769,7 +11607,7 @@ dependencies = [ "base64 0.13.1", "chrono", "der 0.6.1", - "frame-support 25.0.0", + "frame-support", "hex", "hex-literal 0.3.4", "log", @@ -11867,8 +11705,8 @@ dependencies = [ "cumulus-primitives-timestamp", "cumulus-primitives-utility", "frame-executive", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "frame-system-rpc-runtime-api 23.0.0", "frame-try-runtime", "hex", @@ -11878,7 +11716,7 @@ dependencies = [ "orml-xcm", "orml-xcm-support", "pallet-aura", - "pallet-balances 25.0.0", + "pallet-balances", "pallet-sudo", "pallet-timestamp", "pallet-transaction-payment", @@ -11889,6 +11727,7 @@ dependencies = [ "parachains-common", "parity-scale-codec", "polkadot-parachain-primitives", + "polkadot-runtime-common", "scale-info", "sp-api 23.0.0", "sp-block-builder 23.0.0", @@ -13066,7 +12905,7 @@ dependencies = [ "sp-core 25.0.0", "sp-keystore 0.31.0", "sp-runtime 28.0.0", - "sp-staking 23.0.0", + "sp-staking", "sp-std", ] @@ -13085,21 +12924,6 @@ dependencies = [ "sp-std", ] -[[package]] -name = "sp-staking" -version = "24.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae2d1164378d66b4b9f672d0c920104c59aeba02655522c0fd511c71c2daf614" -dependencies = [ - "impl-trait-for-tuples", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 26.0.0", - "sp-runtime 29.0.0", - "sp-std", -] - [[package]] name = "sp-state-machine" version = "0.32.0" @@ -13482,8 +13306,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3a1bcf863664ca5708d92894fc30d2c6606c7dbb7d7cfcf43b9ae69d5b83f4fb" dependencies = [ "cumulus-primitives-core", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "sp-runtime 28.0.0", @@ -13514,8 +13338,8 @@ version = "4.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8628fd8878df3978a34da0ef75722b118f4bc40bb47fb3c687cc0899f7ede43c" dependencies = [ - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", "pallet-transaction-payment", @@ -13538,8 +13362,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49bc3b2b8429aacca1897c72b786e7c21d36170a919e9333fe533868d32d2774" dependencies = [ "environmental", - "frame-benchmarking 25.0.0", - "frame-support 25.0.0", + "frame-benchmarking", + "frame-support", "impl-trait-for-tuples", "log", "parity-scale-codec", @@ -15148,11 +14972,11 @@ checksum = "e833bb935995cb8da9848b974f37801c66163502929ecf22ca15878b8e8edbb7" dependencies = [ "binary-merkle-tree", "bitvec", - "frame-benchmarking 25.0.0", + "frame-benchmarking", "frame-election-provider-support", "frame-executive", - "frame-support 25.0.0", - "frame-system 25.0.0", + "frame-support", + "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api 23.0.0", "frame-try-runtime", @@ -15163,7 +14987,7 @@ dependencies = [ "pallet-authorship", "pallet-babe", "pallet-bags-list", - "pallet-balances 25.0.0", + "pallet-balances", "pallet-beefy", "pallet-beefy-mmr", "pallet-collective", @@ -15202,7 +15026,7 @@ dependencies = [ "pallet-timestamp", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", - "pallet-treasury 24.0.0", + "pallet-treasury", "pallet-utility", "pallet-vesting", "pallet-whitelist", @@ -15234,7 +15058,7 @@ dependencies = [ "sp-offchain", "sp-runtime 28.0.0", "sp-session", - "sp-staking 23.0.0", + "sp-staking", "sp-std", "sp-storage", "sp-transaction-pool", @@ -15252,7 +15076,7 @@ version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "682c32c5f5e6d51c431bf66c33fc502c66e7b25488c0bd92f5ee020c329f2beb" dependencies = [ - "frame-support 25.0.0", + "frame-support", "polkadot-primitives", "polkadot-runtime-common", "smallvec", @@ -15669,7 +15493,7 @@ version = "0.1.0" dependencies = [ "common-primitives", "cumulus-primitives-core", - "frame-support 25.0.0", + "frame-support", "parity-scale-codec", "sp-runtime 28.0.0", "sp-std", diff --git a/Cargo.toml b/Cargo.toml index d78af278..fc95a086 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -56,7 +56,7 @@ pallet-assets = { version = "26.0.0", default-features = false } pallet-aura = { version = "24.0.0", default-features = false } pallet-authorship = { version = "25.0.0", default-features = false } pallet-balances = { version = "25.0.0", default-features = false } -pallet-bounties = { version = "25.0.0", default-features = false } +pallet-bounties = { version = "24.0.0", default-features = false } pallet-child-bounties = { version = "24.0.0", default-features = false } pallet-collective = { version = "25.0.0", default-features = false } pallet-democracy = { version = "25.0.0", default-features = false } diff --git a/polkadot-parachains/integritee-runtime/Cargo.toml b/polkadot-parachains/integritee-runtime/Cargo.toml index ecd95a19..b20e23f0 100644 --- a/polkadot-parachains/integritee-runtime/Cargo.toml +++ b/polkadot-parachains/integritee-runtime/Cargo.toml @@ -60,6 +60,7 @@ pallet-xcm = { workspace = true } pallet-xcm-transactor = { workspace = true } staging-parachain-info = { workspace = true } polkadot-parachain-primitives = { workspace = true } +polkadot-runtime-common = { workspace = true } sp-api = { workspace = true } sp-block-builder = { workspace = true } sp-consensus-aura = { workspace = true } @@ -140,6 +141,7 @@ std = [ "parachains-common/std", "parity-scale-codec/std", "polkadot-parachain-primitives/std", + "polkadot-runtime-common/std", "scale-info/std", "sp-api/std", "sp-block-builder/std", @@ -185,6 +187,7 @@ runtime-benchmarks = [ "pallet-utility/runtime-benchmarks", "pallet-vesting/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", + "polkadot-runtime-common/runtime-benchmarks", "sp-runtime/runtime-benchmarks", "staging-xcm-builder/runtime-benchmarks", ] @@ -222,6 +225,7 @@ try-runtime = [ "pallet-vesting/try-runtime", "pallet-xcm-transactor/try-runtime", "pallet-xcm/try-runtime", + "polkadot-runtime-common/try-runtime", "staging-parachain-info/try-runtime", ] # Set timing constants (e.g. session period) to faster versions to speed up testing. diff --git a/polkadot-parachains/integritee-runtime/src/lib.rs b/polkadot-parachains/integritee-runtime/src/lib.rs index 5750d5ad..06fe0817 100644 --- a/polkadot-parachains/integritee-runtime/src/lib.rs +++ b/polkadot-parachains/integritee-runtime/src/lib.rs @@ -39,6 +39,8 @@ use sp_runtime::{ transaction_validity::{TransactionSource, TransactionValidity}, ApplyExtrinsicResult, }; +use sp_runtime::traits::IdentityLookup; +use frame_support::traits::tokens::PayFromAccount; use sp_std::prelude::*; #[cfg(feature = "std")] use sp_version::NativeVersion; @@ -58,13 +60,14 @@ pub use frame_support::{ constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight}, IdentityFee, Weight, }, - PalletId, RuntimeDebug, StorageValue, + PalletId, StorageValue, }; use frame_system::{ limits::{BlockLength, BlockWeights}, EnsureRoot, EnsureWithSuccess, }; - +use sp_runtime::RuntimeDebug; +use frame_support::traits::tokens::ConversionFromAssetBalance; pub use parachains_common as common; pub use parachains_common::{ AccountId, Balance, BlockNumber, Hash, Header, Nonce, Signature, MILLISECS_PER_BLOCK, @@ -73,7 +76,6 @@ use parachains_common::{ AuraId, AVERAGE_ON_INITIALIZE_RATIO, DAYS, HOURS, MAXIMUM_BLOCK_WEIGHT, MINUTES, NORMAL_DISPATCH_RATIO, SLOT_DURATION, }; - pub use pallet_balances::Call as BalancesCall; pub use pallet_timestamp::Call as TimestampCall; use scale_info::TypeInfo; @@ -259,6 +261,7 @@ impl pallet_balances::Config for Runtime { type MaxReserves = MaxReserves; type ReserveIdentifier = [u8; 8]; type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); type FreezeIdentifier = (); type MaxHolds = (); type MaxFreezes = (); @@ -445,8 +448,6 @@ impl pallet_preimage::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Balances; type ManagerOrigin = EnsureRoot; - type BaseDeposit = PreimageBaseDeposit; - type ByteDeposit = PreimageByteDeposit; } parameter_types! { @@ -546,11 +547,23 @@ parameter_types! { pub const ProposalBondMinimum: Balance = 100 * MILLITEER; pub const ProposalBondMaximum: Balance = 500 * TEER; pub const SpendPeriod: BlockNumber = prod_or_fast!(6 * DAYS, 6 * MINUTES); + pub const PayoutSpendPeriod: BlockNumber = prod_or_fast!(6 * DAYS, 6 * MINUTES); pub const Burn: Permill = Permill::from_percent(1); pub const TreasuryPalletId: PalletId = PalletId(*b"py/trsry"); pub const DataDepositPerByte: Balance = 100 * MILLITEER; pub const MaxApprovals: u32 = 10; pub const MaxBalance: Balance = Balance::max_value(); + pub TreasuryAccount: AccountId = Treasury::account_id(); +} + +pub struct NoConversion; +impl ConversionFromAssetBalance for NoConversion { + type Error = (); + fn from_asset_balance(balance: Balance, _asset_id: ()) -> Result { + return Ok(balance) + } + #[cfg(feature = "runtime-benchmarks")] + fn ensure_successful(_: ()) {} } impl pallet_treasury::Config for Runtime { @@ -570,6 +583,15 @@ impl pallet_treasury::Config for Runtime { type SpendOrigin = EnsureWithSuccess, AccountId, MaxBalance>; type MaxApprovals = MaxApprovals; //0:cannot approve any proposal type WeightInfo = weights::pallet_treasury::WeightInfo; + type AssetKind = (); + type Beneficiary = AccountId; + type BeneficiaryLookup = IdentityLookup; + type Paymaster = PayFromAccount; + type BalanceConverter = NoConversion; + type PayoutPeriod = PayoutSpendPeriod; + #[cfg(feature = "runtime-benchmarks")] + type BenchmarkHelper = (); + } parameter_types! { diff --git a/polkadot-parachains/integritee-runtime/src/xcm_config.rs b/polkadot-parachains/integritee-runtime/src/xcm_config.rs index a8faed7d..c19a8b9e 100644 --- a/polkadot-parachains/integritee-runtime/src/xcm_config.rs +++ b/polkadot-parachains/integritee-runtime/src/xcm_config.rs @@ -31,7 +31,6 @@ use frame_support::{ parameter_types, traits::{Everything, Nothing}, weights::IdentityFee, - RuntimeDebug, }; use frame_system::EnsureRoot; use orml_traits::{ @@ -42,21 +41,24 @@ use orml_xcm_support::{IsNativeConcrete, MultiNativeAsset}; use pallet_xcm::XcmPassthrough; use parity_scale_codec::{Decode, Encode, MaxEncodedLen}; use polkadot_parachain_primitives::primitives::Sibling; +use polkadot_runtime_common::xcm_sender::NoPriceForMessageDelivery; use scale_info::TypeInfo; use sp_core::ConstU32; +use sp_runtime::RuntimeDebug; use sp_std::{ convert::{From, Into}, prelude::*, }; use staging_xcm::latest::prelude::*; -use xcm_builder::{ +use staging_xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, CurrencyAdapter, DenyReserveTransferToRelayChain, DenyThenTry, - EnsureXcmOrigin, FixedWeightBounds, ParentAsSuperuser, ParentIsPreset, RelayChainAsNative, - SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, - SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, + EnsureXcmOrigin, FixedWeightBounds, FrameTransactionalProcessor, ParentAsSuperuser, + ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, + SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, + UsingComponents, }; -use xcm_executor::XcmExecutor; +use staging_xcm_executor::XcmExecutor; use xcm_transactor_primitives::*; const fn teer_general_key() -> Junction { @@ -261,7 +263,7 @@ parameter_types! { } pub struct XcmExecutorConfig; -impl xcm_executor::Config for XcmExecutorConfig { +impl staging_xcm_executor::Config for XcmExecutorConfig { type RuntimeCall = RuntimeCall; type XcmSender = XcmRouter; // How to withdraw and deposit an asset. @@ -287,6 +289,7 @@ impl xcm_executor::Config for XcmExecutorConfig { type UniversalAliases = Nothing; type SafeCallFilter = SafeCallFilter; type Aliasers = Nothing; + type TransactionalProcessor = FrameTransactionalProcessor; } #[cfg(feature = "runtime-benchmarks")] @@ -357,7 +360,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type ControllerOrigin = EnsureRoot; type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin; type WeightInfo = cumulus_pallet_xcmp_queue::weights::SubstrateWeight; - type PriceForSiblingDelivery = (); + type PriceForSiblingDelivery = NoPriceForMessageDelivery; } impl cumulus_pallet_dmp_queue::Config for Runtime { diff --git a/polkadot-parachains/shell-runtime/Cargo.toml b/polkadot-parachains/shell-runtime/Cargo.toml index 4423bfa1..cb0e081d 100644 --- a/polkadot-parachains/shell-runtime/Cargo.toml +++ b/polkadot-parachains/shell-runtime/Cargo.toml @@ -43,6 +43,7 @@ pallet-xcm = { workspace = true } pallet-xcm-transactor = { workspace = true } staging-parachain-info = { workspace = true } polkadot-parachain-primitives = { workspace = true } +polkadot-runtime-common = { workspace = true } sp-api = { workspace = true } sp-block-builder = { workspace = true } sp-consensus-aura = { workspace = true } @@ -99,6 +100,7 @@ std = [ "parachains-common/std", "parity-scale-codec/std", "polkadot-parachain-primitives/std", + "polkadot-runtime-common/std", "scale-info/std", "sp-api/std", "sp-block-builder/std", diff --git a/polkadot-parachains/shell-runtime/src/lib.rs b/polkadot-parachains/shell-runtime/src/lib.rs index a33d2120..da0b7ac9 100644 --- a/polkadot-parachains/shell-runtime/src/lib.rs +++ b/polkadot-parachains/shell-runtime/src/lib.rs @@ -219,6 +219,7 @@ impl pallet_balances::Config for Runtime { type MaxHolds = (); type MaxFreezes = (); type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); } impl pallet_transaction_payment::Config for Runtime { diff --git a/polkadot-parachains/shell-runtime/src/xcm_config.rs b/polkadot-parachains/shell-runtime/src/xcm_config.rs index f4bdb472..9a9116a9 100644 --- a/polkadot-parachains/shell-runtime/src/xcm_config.rs +++ b/polkadot-parachains/shell-runtime/src/xcm_config.rs @@ -29,7 +29,6 @@ use frame_support::{ parameter_types, traits::{Everything, Nothing}, weights::IdentityFee, - RuntimeDebug, }; use frame_system::EnsureRoot; use orml_traits::{ @@ -40,21 +39,24 @@ use orml_xcm_support::{IsNativeConcrete, MultiNativeAsset}; use pallet_xcm::XcmPassthrough; use parity_scale_codec::{Decode, Encode, MaxEncodedLen}; use polkadot_parachain_primitives::primitives::Sibling; +use polkadot_runtime_common::xcm_sender::NoPriceForMessageDelivery; use scale_info::TypeInfo; use sp_core::ConstU32; +use sp_runtime::RuntimeDebug; use sp_std::{ convert::{From, Into}, prelude::*, }; use staging_xcm::latest::prelude::*; -use xcm_builder::{ +use staging_xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, CurrencyAdapter, DenyReserveTransferToRelayChain, DenyThenTry, - EnsureXcmOrigin, FixedWeightBounds, ParentAsSuperuser, ParentIsPreset, RelayChainAsNative, - SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, - SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, + EnsureXcmOrigin, FixedWeightBounds, FrameTransactionalProcessor, ParentAsSuperuser, + ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, + SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, + UsingComponents, }; -use xcm_executor::XcmExecutor; +use staging_xcm_executor::XcmExecutor; use xcm_transactor_primitives::*; const fn teer_general_key() -> Junction { @@ -256,7 +258,7 @@ parameter_types! { } pub struct XcmExecutorConfig; -impl xcm_executor::Config for XcmExecutorConfig { +impl staging_xcm_executor::Config for XcmExecutorConfig { type RuntimeCall = RuntimeCall; type XcmSender = XcmRouter; // How to withdraw and deposit an asset. @@ -282,6 +284,7 @@ impl xcm_executor::Config for XcmExecutorConfig { type UniversalAliases = Nothing; type SafeCallFilter = SafeCallFilter; type Aliasers = Nothing; + type TransactionalProcessor = FrameTransactionalProcessor; } #[cfg(feature = "runtime-benchmarks")] @@ -353,7 +356,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type ControllerOrigin = EnsureRoot; type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin; type WeightInfo = cumulus_pallet_xcmp_queue::weights::SubstrateWeight; - type PriceForSiblingDelivery = (); + type PriceForSiblingDelivery = NoPriceForMessageDelivery; } impl cumulus_pallet_dmp_queue::Config for Runtime { From b9a3991383acb726c1d3b2bfe24e73725be81dca Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Thu, 1 Feb 2024 18:17:03 +0100 Subject: [PATCH 03/29] fixes --- .../integritee-runtime/src/lib.rs | 25 +- .../src/weights/pallet_preimage.rs | 22 ++ .../src/weights/pallet_treasury.rs | 219 ++++++++++++------ 3 files changed, 189 insertions(+), 77 deletions(-) diff --git a/polkadot-parachains/integritee-runtime/src/lib.rs b/polkadot-parachains/integritee-runtime/src/lib.rs index 06fe0817..687ea5ac 100644 --- a/polkadot-parachains/integritee-runtime/src/lib.rs +++ b/polkadot-parachains/integritee-runtime/src/lib.rs @@ -25,7 +25,8 @@ include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); use cumulus_pallet_parachain_system::RelayNumberStrictlyIncreases; use frame_support::traits::{ - ConstBool, EqualPrivilegeOnly, Imbalance, InstanceFilter, OnUnbalanced, + fungible::HoldConsideration, tokens::PayFromAccount, ConstBool, EqualPrivilegeOnly, Imbalance, + InstanceFilter, LinearStoragePrice, OnUnbalanced, }; pub use opaque::*; use pallet_collective; @@ -35,18 +36,15 @@ use sp_api::impl_runtime_apis; use sp_core::{crypto::KeyTypeId, ConstU32, OpaqueMetadata}; use sp_runtime::{ create_runtime_str, generic, impl_opaque_keys, - traits::{AccountIdLookup, BlakeTwo256, Block as BlockT, Convert, ConvertInto}, + traits::{AccountIdLookup, BlakeTwo256, Block as BlockT, Convert, ConvertInto, IdentityLookup}, transaction_validity::{TransactionSource, TransactionValidity}, ApplyExtrinsicResult, }; -use sp_runtime::traits::IdentityLookup; -use frame_support::traits::tokens::PayFromAccount; use sp_std::prelude::*; #[cfg(feature = "std")] use sp_version::NativeVersion; use sp_version::RuntimeVersion; // A few exports that help ease life for downstream crates. -use frame_support::weights::ConstantMultiplier; pub use frame_support::{ construct_runtime, dispatch::DispatchClass, @@ -62,12 +60,13 @@ pub use frame_support::{ }, PalletId, StorageValue, }; +use frame_support::{traits::tokens::ConversionFromAssetBalance, weights::ConstantMultiplier}; use frame_system::{ limits::{BlockLength, BlockWeights}, EnsureRoot, EnsureWithSuccess, }; -use sp_runtime::RuntimeDebug; -use frame_support::traits::tokens::ConversionFromAssetBalance; +pub use pallet_balances::Call as BalancesCall; +pub use pallet_timestamp::Call as TimestampCall; pub use parachains_common as common; pub use parachains_common::{ AccountId, Balance, BlockNumber, Hash, Header, Nonce, Signature, MILLISECS_PER_BLOCK, @@ -76,11 +75,10 @@ use parachains_common::{ AuraId, AVERAGE_ON_INITIALIZE_RATIO, DAYS, HOURS, MAXIMUM_BLOCK_WEIGHT, MINUTES, NORMAL_DISPATCH_RATIO, SLOT_DURATION, }; -pub use pallet_balances::Call as BalancesCall; -pub use pallet_timestamp::Call as TimestampCall; use scale_info::TypeInfo; #[cfg(any(feature = "std", test))] pub use sp_runtime::BuildStorage; +use sp_runtime::RuntimeDebug; pub use sp_runtime::{Perbill, Permill}; // TEE @@ -441,6 +439,8 @@ impl pallet_utility::Config for Runtime { parameter_types! { pub const PreimageBaseDeposit: Balance = 1 * TEER; pub const PreimageByteDeposit: Balance = deposit(0, 1); + pub const PreimageHoldReason: RuntimeHoldReason = + RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage); } impl pallet_preimage::Config for Runtime { @@ -448,6 +448,12 @@ impl pallet_preimage::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Balances; type ManagerOrigin = EnsureRoot; + type Consideration = HoldConsideration< + AccountId, + Balances, + PreimageHoldReason, + LinearStoragePrice, + >; } parameter_types! { @@ -591,7 +597,6 @@ impl pallet_treasury::Config for Runtime { type PayoutPeriod = PayoutSpendPeriod; #[cfg(feature = "runtime-benchmarks")] type BenchmarkHelper = (); - } parameter_types! { diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_preimage.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_preimage.rs index 3203cd0c..da723ab2 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_preimage.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_preimage.rs @@ -197,4 +197,26 @@ impl pallet_preimage::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } + /// Storage: `Preimage::StatusFor` (r:1023 w:1023) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1023 w:1023) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1023 w:1023) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:0 w:1023) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// The range of component `n` is `[1, 1024]`. + fn ensure_updated(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + n * (227 ±0)` + // Estimated: `990 + n * (2603 ±0)` + // Minimum execution time: 48_466_000 picoseconds. + Weight::from_parts(49_012_000, 0) + .saturating_add(Weight::from_parts(0, 990)) + // Standard Error: 58_393 + .saturating_add(Weight::from_parts(48_359_239, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_parts(0, 2603).saturating_mul(n.into())) + } } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_treasury.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_treasury.rs index 9ee31865..c19a6bc2 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_treasury.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_treasury.rs @@ -1,25 +1,44 @@ +// Copyright (C) Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot 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. + +// Polkadot 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 Polkadot. If not, see . //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-12-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 1024 +//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("../kusama-chain-spec.json")`, DB CACHE: 1024 // Executed Command: -// ./target/release/integritee-collator +// ./target/production/polkadot // benchmark // pallet -// --chain=integritee-rococo-local-dev -// --steps=50 -// --repeat=20 +// --chain=../kusama-chain-spec.json +// --steps +// 50 +// --repeat +// 20 // --pallet=pallet_treasury // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-parachains/integritee-runtime/src/weights/pallet_treasury.rs +// --output +// ./kusama-weights/ +// --header +// ./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,103 +51,169 @@ use core::marker::PhantomData; /// Weight functions for `pallet_treasury`. pub struct WeightInfo(PhantomData); impl pallet_treasury::WeightInfo for WeightInfo { - /// Storage: Treasury ProposalCount (r:1 w:1) - /// Proof: Treasury ProposalCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(41), added: 536, mode: MaxEncodedLen) - /// Storage: Treasury Proposals (r:0 w:1) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - fn spend() -> Weight { + /// Storage: `Treasury::ProposalCount` (r:1 w:1) + /// Proof: `Treasury::ProposalCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Proposals` (r:0 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + fn spend_local() -> Weight { // Proof Size summary in bytes: // Measured: `42` - // Estimated: `1526` - // Minimum execution time: 24_911_000 picoseconds. - Weight::from_parts(25_710_000, 0) - .saturating_add(Weight::from_parts(0, 1526)) + // Estimated: `1887` + // Minimum execution time: 10_093_000 picoseconds. + Weight::from_parts(10_655_000, 0) + .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Treasury ProposalCount (r:1 w:1) - /// Proof: Treasury ProposalCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Treasury Proposals (r:0 w:1) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) + /// Storage: `Treasury::ProposalCount` (r:1 w:1) + /// Proof: `Treasury::ProposalCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Proposals` (r:0 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) fn propose_spend() -> Weight { // Proof Size summary in bytes: // Measured: `143` // Estimated: `1489` - // Minimum execution time: 48_167_000 picoseconds. - Weight::from_parts(49_713_000, 0) + // Minimum execution time: 20_873_000 picoseconds. + Weight::from_parts(21_662_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Treasury Proposals (r:1 w:1) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Treasury::Proposals` (r:1 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn reject_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `301` // Estimated: `3593` - // Minimum execution time: 49_956_000 picoseconds. - Weight::from_parts(50_673_000, 0) + // Minimum execution time: 34_277_000 picoseconds. + Weight::from_parts(35_048_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Treasury Proposals (r:1 w:0) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(41), added: 536, mode: MaxEncodedLen) - /// The range of component `p` is `[0, 9]`. - fn approve_proposal(_p: u32, ) -> Weight { + /// Storage: `Treasury::Proposals` (r:1 w:0) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) + /// The range of component `p` is `[0, 99]`. + fn approve_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `154 + p * (31 ±0)` + // Measured: `470 + p * (8 ±0)` // Estimated: `3573` - // Minimum execution time: 10_555_000 picoseconds. - Weight::from_parts(13_303_916, 0) + // Minimum execution time: 7_220_000 picoseconds. + Weight::from_parts(11_765_443, 0) .saturating_add(Weight::from_parts(0, 3573)) + // Standard Error: 1_732 + .saturating_add(Weight::from_parts(89_274, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(41), added: 536, mode: MaxEncodedLen) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) fn remove_approval() -> Weight { // Proof Size summary in bytes: // Measured: `127` - // Estimated: `1526` - // Minimum execution time: 6_369_000 picoseconds. - Weight::from_parts(6_613_000, 0) - .saturating_add(Weight::from_parts(0, 1526)) + // Estimated: `1887` + // Minimum execution time: 5_588_000 picoseconds. + Weight::from_parts(6_030_000, 0) + .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:21 w:21) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Treasury Deactivated (r:1 w:1) - /// Proof: Treasury Deactivated (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Balances InactiveIssuance (r:1 w:1) - /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(41), added: 536, mode: MaxEncodedLen) - /// Storage: Treasury Proposals (r:10 w:10) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - /// Storage: Bounties BountyApprovals (r:1 w:1) - /// Proof: Bounties BountyApprovals (max_values: Some(1), max_size: Some(41), added: 536, mode: MaxEncodedLen) - /// The range of component `p` is `[0, 10]`. + /// Storage: `Treasury::Deactivated` (r:1 w:1) + /// Proof: `Treasury::Deactivated` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Proposals` (r:99 w:99) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:199 w:199) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Bounties::BountyApprovals` (r:1 w:1) + /// Proof: `Bounties::BountyApprovals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) + /// The range of component `p` is `[0, 99]`. fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `221 + p * (232 ±0)` + // Measured: `331 + p * (251 ±0)` // Estimated: `3593 + p * (5206 ±0)` - // Minimum execution time: 32_773_000 picoseconds. - Weight::from_parts(44_244_231, 0) + // Minimum execution time: 43_318_000 picoseconds. + Weight::from_parts(34_774_675, 0) .saturating_add(Weight::from_parts(0, 3593)) - // Standard Error: 89_406 - .saturating_add(Weight::from_parts(44_905_604, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Standard Error: 19_729 + .saturating_add(Weight::from_parts(32_072_479, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into()))) - .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 5206).saturating_mul(p.into())) } + /// Storage: `AssetRate::ConversionRateToNative` (r:1 w:0) + /// Proof: `AssetRate::ConversionRateToNative` (`max_values`: None, `max_size`: Some(1238), added: 3713, mode: `MaxEncodedLen`) + /// Storage: `Treasury::SpendCount` (r:1 w:1) + /// Proof: `Treasury::SpendCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Spends` (r:0 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(1853), added: 4328, mode: `MaxEncodedLen`) + fn spend() -> Weight { + // Proof Size summary in bytes: + // Measured: `115` + // Estimated: `4703` + // Minimum execution time: 17_134_000 picoseconds. + Weight::from_parts(17_652_000, 0) + .saturating_add(Weight::from_parts(0, 4703)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `Treasury::Spends` (r:1 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(1853), added: 4328, mode: `MaxEncodedLen`) + /// Storage: `XcmPallet::QueryCounter` (r:1 w:1) + /// Proof: `XcmPallet::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `XcmPallet::SupportedVersion` (r:1 w:0) + /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dmp::DownwardMessageQueues` (r:1 w:1) + /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) + /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `XcmPallet::Queries` (r:0 w:1) + /// Proof: `XcmPallet::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn payout() -> Weight { + // Proof Size summary in bytes: + // Measured: `287` + // Estimated: `5318` + // Minimum execution time: 43_303_000 picoseconds. + Weight::from_parts(44_488_000, 0) + .saturating_add(Weight::from_parts(0, 5318)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) + } + /// Storage: `Treasury::Spends` (r:1 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(1853), added: 4328, mode: `MaxEncodedLen`) + /// Storage: `XcmPallet::Queries` (r:1 w:1) + /// Proof: `XcmPallet::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn check_status() -> Weight { + // Proof Size summary in bytes: + // Measured: `206` + // Estimated: `5318` + // Minimum execution time: 22_854_000 picoseconds. + Weight::from_parts(23_185_000, 0) + .saturating_add(Weight::from_parts(0, 5318)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `Treasury::Spends` (r:1 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(1853), added: 4328, mode: `MaxEncodedLen`) + fn void_spend() -> Weight { + // Proof Size summary in bytes: + // Measured: `178` + // Estimated: `5318` + // Minimum execution time: 12_421_000 picoseconds. + Weight::from_parts(12_885_000, 0) + .saturating_add(Weight::from_parts(0, 5318)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } } From e52536992a3dc7e525439f19cf0a24fc500e99d6 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Thu, 1 Feb 2024 19:51:37 +0100 Subject: [PATCH 04/29] runtimes build --- polkadot-parachains/integritee-runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polkadot-parachains/integritee-runtime/src/lib.rs b/polkadot-parachains/integritee-runtime/src/lib.rs index 687ea5ac..7487c08b 100644 --- a/polkadot-parachains/integritee-runtime/src/lib.rs +++ b/polkadot-parachains/integritee-runtime/src/lib.rs @@ -258,7 +258,7 @@ impl pallet_balances::Config for Runtime { type WeightInfo = weights::pallet_balances::WeightInfo; type MaxReserves = MaxReserves; type ReserveIdentifier = [u8; 8]; - type RuntimeHoldReason = (); + type RuntimeHoldReason = RuntimeHoldReason; type RuntimeFreezeReason = (); type FreezeIdentifier = (); type MaxHolds = (); From 3dd28e6ae64d02d09d32cce51878d164f0e314ea Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Thu, 1 Feb 2024 21:34:14 +0100 Subject: [PATCH 05/29] builds, but completely overwrites collator node. dropped shell support --- Cargo.lock | 2776 ++++++----------- Cargo.toml | 5 +- polkadot-parachains/Cargo.toml | 5 +- polkadot-parachains/common/src/lib.rs | 19 +- .../integritee-runtime/src/lib.rs | 37 +- polkadot-parachains/shell-runtime/src/lib.rs | 36 +- polkadot-parachains/src/cli.rs | 21 +- polkadot-parachains/src/command.rs | 260 +- polkadot-parachains/src/main.rs | 18 +- polkadot-parachains/src/rpc.rs | 16 +- polkadot-parachains/src/service.rs | 668 ++-- 11 files changed, 1282 insertions(+), 2579 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 56175145..abc48643 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -759,10 +759,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "93f2635620bf0b9d4576eb7bb9a38a55df78bd1205d26fa994b25911a69f212f" dependencies = [ "bitcoin_hashes", - "rand 0.8.5", - "rand_core 0.6.4", - "serde", - "unicode-normalization", ] [[package]] @@ -946,8 +942,8 @@ checksum = "be3b4fafc31f17da1b4ea403c4118e4f4f1d9a5a696729b374551d582e48633b" dependencies = [ "parity-scale-codec", "scale-info", - "sp-core 25.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-runtime", ] [[package]] @@ -1212,8 +1208,8 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-io", + "sp-runtime", "sp-std", ] @@ -1341,8 +1337,8 @@ dependencies = [ "derive_more", "parity-scale-codec", "scale-info", - "sp-core 25.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-runtime", "sp-std", ] @@ -1713,12 +1709,12 @@ checksum = "858e5a1c2d26c304d75cc7158ed2579f0ff90b68f2d07a2395d073249d485424" dependencies = [ "clap", "parity-scale-codec", - "sc-chain-spec 24.0.0", + "sc-chain-spec", "sc-cli", - "sc-client-api 25.0.0", + "sc-client-api", "sc-service", - "sp-core 25.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-runtime", "url", ] @@ -1738,11 +1734,11 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", - "sc-client-api 25.0.0", - "sp-api 23.0.0", - "sp-consensus 0.29.0", - "sp-core 25.0.0", - "sp-runtime 28.0.0", + "sc-client-api", + "sp-api", + "sp-consensus", + "sp-core", + "sp-runtime", "tracing", ] @@ -1766,24 +1762,24 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", - "sc-client-api 25.0.0", - "sc-consensus 0.30.0", + "sc-client-api", + "sc-consensus", "sc-consensus-aura", "sc-consensus-babe", "sc-consensus-slots", - "sc-telemetry 12.0.0", + "sc-telemetry", "schnellru", - "sp-api 23.0.0", - "sp-application-crypto 27.0.0", - "sp-block-builder 23.0.0", - "sp-blockchain 25.0.0", - "sp-consensus 0.29.0", + "sp-api", + "sp-application-crypto", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", "sp-consensus-aura", - "sp-core 25.0.0", - "sp-inherents 23.0.0", - "sp-keystore 0.31.0", - "sp-runtime 28.0.0", - "sp-state-machine 0.32.0", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", + "sp-state-machine", "sp-timestamp", "substrate-prometheus-endpoint", "tracing", @@ -1804,17 +1800,17 @@ dependencies = [ "log", "parity-scale-codec", "polkadot-primitives", - "sc-client-api 25.0.0", - "sc-consensus 0.30.0", + "sc-client-api", + "sc-consensus", "sc-consensus-babe", "schnellru", - "sp-blockchain 25.0.0", - "sp-consensus 0.29.0", + "sp-blockchain", + "sp-consensus", "sp-consensus-slots", - "sp-core 25.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-runtime", "sp-timestamp", - "sp-trie 26.0.0", + "sp-trie", "substrate-prometheus-endpoint", "tracing", ] @@ -1828,37 +1824,13 @@ dependencies = [ "anyhow", "async-trait", "cumulus-primitives-parachain-inherent", - "sp-consensus 0.29.0", - "sp-inherents 23.0.0", - "sp-runtime 28.0.0", - "sp-state-machine 0.32.0", + "sp-consensus", + "sp-inherents", + "sp-runtime", + "sp-state-machine", "thiserror", ] -[[package]] -name = "cumulus-client-consensus-relay-chain" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef89609477a54e631bc441a03534f14adf3c500b7281682b82608d1aa533d861" -dependencies = [ - "async-trait", - "cumulus-client-consensus-common", - "cumulus-primitives-core", - "cumulus-relay-chain-interface", - "futures", - "parking_lot 0.12.1", - "sc-consensus 0.30.0", - "sp-api 23.0.0", - "sp-block-builder 23.0.0", - "sp-blockchain 25.0.0", - "sp-consensus 0.29.0", - "sp-core 25.0.0", - "sp-inherents 23.0.0", - "sp-runtime 28.0.0", - "substrate-prometheus-endpoint", - "tracing", -] - [[package]] name = "cumulus-client-network" version = "0.4.0" @@ -1874,12 +1846,12 @@ dependencies = [ "polkadot-node-primitives", "polkadot-parachain-primitives", "polkadot-primitives", - "sc-client-api 25.0.0", - "sp-blockchain 25.0.0", - "sp-consensus 0.29.0", - "sp-core 25.0.0", - "sp-runtime 28.0.0", - "sp-state-machine 0.32.0", + "sc-client-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-runtime", + "sp-state-machine", "tracing", ] @@ -1900,11 +1872,11 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "rand 0.8.5", - "sc-client-api 25.0.0", - "sc-consensus 0.30.0", - "sp-consensus 0.29.0", - "sp-maybe-compressed-blob 9.0.0", - "sp-runtime 28.0.0", + "sc-client-api", + "sc-consensus", + "sp-consensus", + "sp-maybe-compressed-blob", + "sp-runtime", "tracing", ] @@ -1925,22 +1897,22 @@ dependencies = [ "cumulus-relay-chain-minimal-node", "futures", "polkadot-primitives", - "sc-client-api 25.0.0", - "sc-consensus 0.30.0", - "sc-network 0.31.0", + "sc-client-api", + "sc-consensus", + "sc-network", "sc-network-sync", "sc-network-transactions", "sc-rpc", "sc-service", "sc-sysinfo", - "sc-telemetry 12.0.0", + "sc-telemetry", "sc-transaction-pool", - "sc-utils 11.0.0", - "sp-api 23.0.0", - "sp-blockchain 25.0.0", - "sp-consensus 0.29.0", - "sp-core 25.0.0", - "sp-runtime 28.0.0", + "sc-utils", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-runtime", "sp-transaction-pool", ] @@ -1957,9 +1929,9 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 27.0.0", + "sp-application-crypto", "sp-consensus-aura", - "sp-runtime 28.0.0", + "sp-runtime", "sp-std", ] @@ -1975,8 +1947,8 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-io", + "sp-runtime", "sp-std", "staging-xcm", ] @@ -2000,15 +1972,15 @@ dependencies = [ "polkadot-parachain-primitives", "polkadot-runtime-parachains", "scale-info", - "sp-core 25.0.0", + "sp-core", "sp-externalities", - "sp-inherents 23.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", - "sp-state-machine 0.32.0", + "sp-inherents", + "sp-io", + "sp-runtime", + "sp-state-machine", "sp-std", - "sp-trie 26.0.0", - "sp-version 26.0.0", + "sp-trie", + "sp-version", "staging-xcm", "trie-db", ] @@ -2036,8 +2008,8 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-io", + "sp-runtime", "sp-std", "staging-xcm", ] @@ -2059,9 +2031,9 @@ dependencies = [ "polkadot-runtime-parachains", "rand_chacha 0.3.1", "scale-info", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", "staging-xcm", "staging-xcm-executor", @@ -2076,9 +2048,9 @@ dependencies = [ "parity-scale-codec", "polkadot-core-primitives", "polkadot-primitives", - "sp-api 23.0.0", + "sp-api", "sp-consensus-aura", - "sp-runtime 28.0.0", + "sp-runtime", "sp-std", ] @@ -2093,10 +2065,10 @@ dependencies = [ "polkadot-parachain-primitives", "polkadot-primitives", "scale-info", - "sp-api 23.0.0", - "sp-runtime 28.0.0", + "sp-api", + "sp-runtime", "sp-std", - "sp-trie 26.0.0", + "sp-trie", "staging-xcm", ] @@ -2111,16 +2083,16 @@ dependencies = [ "cumulus-relay-chain-interface", "cumulus-test-relay-sproof-builder", "parity-scale-codec", - "sc-client-api 25.0.0", + "sc-client-api", "scale-info", - "sp-api 23.0.0", - "sp-core 25.0.0", - "sp-inherents 23.0.0", - "sp-runtime 28.0.0", - "sp-state-machine 0.32.0", + "sp-api", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", "sp-std", "sp-storage", - "sp-trie 26.0.0", + "sp-trie", "tracing", ] @@ -2133,7 +2105,7 @@ dependencies = [ "cumulus-primitives-core", "futures", "parity-scale-codec", - "sp-inherents 23.0.0", + "sp-inherents", "sp-std", "sp-timestamp", ] @@ -2151,8 +2123,8 @@ dependencies = [ "parity-scale-codec", "polkadot-runtime-common", "polkadot-runtime-parachains", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-io", + "sp-runtime", "sp-std", "staging-xcm", "staging-xcm-builder", @@ -2173,15 +2145,15 @@ dependencies = [ "polkadot-cli", "polkadot-service", "sc-cli", - "sc-client-api 25.0.0", + "sc-client-api", "sc-sysinfo", - "sc-telemetry 12.0.0", + "sc-telemetry", "sc-tracing", - "sp-api 23.0.0", - "sp-consensus 0.29.0", - "sp-core 25.0.0", - "sp-runtime 28.0.0", - "sp-state-machine 0.32.0", + "sp-api", + "sp-consensus", + "sp-core", + "sp-runtime", + "sp-state-machine", ] [[package]] @@ -2196,10 +2168,10 @@ dependencies = [ "jsonrpsee-core", "parity-scale-codec", "polkadot-overseer", - "sc-client-api 25.0.0", - "sp-api 23.0.0", - "sp-blockchain 25.0.0", - "sp-state-machine 0.32.0", + "sc-client-api", + "sp-api", + "sp-blockchain", + "sp-state-machine", "thiserror", ] @@ -2226,15 +2198,15 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "sc-authority-discovery", - "sc-network 0.31.0", - "sc-network-common 0.30.0", + "sc-network", + "sc-network-common", "sc-service", "sc-tracing", - "sc-utils 11.0.0", - "sp-api 23.0.0", - "sp-consensus 0.29.0", + "sc-utils", + "sp-api", + "sp-consensus", "sp-consensus-babe", - "sp-runtime 28.0.0", + "sp-runtime", "substrate-prometheus-endpoint", "tracing", ] @@ -2256,20 +2228,20 @@ dependencies = [ "pin-project", "polkadot-overseer", "rand 0.8.5", - "sc-client-api 25.0.0", - "sc-rpc-api 0.30.0", + "sc-client-api", + "sc-rpc-api", "sc-service", "schnellru", "serde", "serde_json", "smoldot", "smoldot-light", - "sp-api 23.0.0", + "sp-api", "sp-authority-discovery", "sp-consensus-babe", - "sp-core 25.0.0", - "sp-runtime 28.0.0", - "sp-state-machine 0.32.0", + "sp-core", + "sp-runtime", + "sp-state-machine", "sp-storage", "thiserror", "tokio", @@ -2287,10 +2259,10 @@ dependencies = [ "cumulus-primitives-core", "parity-scale-codec", "polkadot-primitives", - "sp-runtime 28.0.0", - "sp-state-machine 0.32.0", + "sp-runtime", + "sp-state-machine", "sp-std", - "sp-trie 26.0.0", + "sp-trie", ] [[package]] @@ -2781,9 +2753,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", ] @@ -3158,12 +3130,12 @@ dependencies = [ "paste", "scale-info", "serde", - "sp-api 23.0.0", - "sp-application-crypto 27.0.0", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", - "sp-runtime-interface 21.0.0", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", + "sp-runtime-interface", "sp-std", "sp-storage", "static_assertions", @@ -3194,25 +3166,25 @@ dependencies = [ "rand_pcg", "sc-block-builder", "sc-cli", - "sc-client-api 25.0.0", + "sc-client-api", "sc-client-db", - "sc-executor 0.29.0", + "sc-executor", "sc-service", "sc-sysinfo", "serde", "serde_json", - "sp-api 23.0.0", - "sp-blockchain 25.0.0", - "sp-core 25.0.0", + "sp-api", + "sp-blockchain", + "sp-core", "sp-database", "sp-externalities", - "sp-inherents 23.0.0", - "sp-io 27.0.0", - "sp-keystore 0.31.0", - "sp-runtime 28.0.0", - "sp-state-machine 0.32.0", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-state-machine", "sp-storage", - "sp-trie 26.0.0", + "sp-trie", "sp-wasm-interface", "thiserror", "thousands", @@ -3241,10 +3213,10 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-arithmetic 20.0.0", - "sp-core 25.0.0", + "sp-arithmetic", + "sp-core", "sp-npos-elections", - "sp-runtime 28.0.0", + "sp-runtime", "sp-std", ] @@ -3260,9 +3232,9 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", "sp-tracing", ] @@ -3291,10 +3263,10 @@ dependencies = [ "log", "parity-scale-codec", "serde", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", - "sp-state-machine 0.32.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-state-machine", "spinners", "substrate-rpc-client", "tokio", @@ -3323,21 +3295,21 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-api 23.0.0", - "sp-arithmetic 20.0.0", - "sp-core 25.0.0", + "sp-api", + "sp-arithmetic", + "sp-core", "sp-core-hashing-proc-macro", "sp-debug-derive", - "sp-genesis-builder 0.4.0", - "sp-inherents 23.0.0", - "sp-io 27.0.0", + "sp-genesis-builder", + "sp-inherents", + "sp-io", "sp-metadata-ir", - "sp-runtime 28.0.0", + "sp-runtime", "sp-staking", - "sp-state-machine 0.32.0", + "sp-state-machine", "sp-std", "sp-tracing", - "sp-weights 24.0.0", + "sp-weights", "static_assertions", "tt-call", ] @@ -3398,12 +3370,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", - "sp-version 26.0.0", - "sp-weights 24.0.0", + "sp-version", + "sp-weights", ] [[package]] @@ -3417,8 +3389,8 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-core 25.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-runtime", "sp-std", ] @@ -3429,17 +3401,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "17572a34fd866ad6cab6977a2c30b38645e0a499b3486de00ae9103f7002d6d3" dependencies = [ "parity-scale-codec", - "sp-api 23.0.0", -] - -[[package]] -name = "frame-system-rpc-runtime-api" -version = "24.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14795d8c26589a4a45ae889f1869efb360649fed2c366c1e8e4891d78c3dd731" -dependencies = [ - "parity-scale-codec", - "sp-api 24.0.0", + "sp-api", ] [[package]] @@ -3450,8 +3412,8 @@ checksum = "f082e770275f9b46ddf46b09bc7a993f84db691c39d9e4d038ac07443cb17a18" dependencies = [ "frame-support", "parity-scale-codec", - "sp-api 23.0.0", - "sp-runtime 28.0.0", + "sp-api", + "sp-runtime", "sp-std", ] @@ -4221,9 +4183,10 @@ dependencies = [ "clap", "color-print", "cumulus-client-cli", + "cumulus-client-collator", "cumulus-client-consensus-aura", "cumulus-client-consensus-common", - "cumulus-client-consensus-relay-chain", + "cumulus-client-consensus-proposer", "cumulus-client-network", "cumulus-client-service", "cumulus-primitives-core", @@ -4249,44 +4212,44 @@ dependencies = [ "polkadot-primitives", "polkadot-service", "sc-basic-authorship", - "sc-chain-spec 24.0.0", + "sc-chain-spec", "sc-cli", - "sc-client-api 25.0.0", - "sc-consensus 0.30.0", + "sc-client-api", + "sc-consensus", "sc-consensus-grandpa", - "sc-executor 0.29.0", - "sc-network 0.31.0", - "sc-network-common 0.30.0", + "sc-executor", + "sc-network", + "sc-network-common", "sc-network-sync", "sc-offchain", "sc-rpc", "sc-service", "sc-sysinfo", - "sc-telemetry 12.0.0", + "sc-telemetry", "sc-tracing", "sc-transaction-pool", - "sc-transaction-pool-api 25.0.0", + "sc-transaction-pool-api", "serde", "serde_json", "shell-runtime", - "sp-api 23.0.0", - "sp-block-builder 23.0.0", - "sp-blockchain 25.0.0", - "sp-consensus 0.29.0", + "sp-api", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", "sp-consensus-aura", - "sp-core 25.0.0", - "sp-inherents 23.0.0", - "sp-io 27.0.0", + "sp-core", + "sp-inherents", + "sp-io", "sp-keyring", - "sp-keystore 0.31.0", + "sp-keystore", "sp-offchain", - "sp-runtime 28.0.0", + "sp-runtime", "sp-session", "sp-timestamp", "sp-transaction-pool", "staging-xcm", "substrate-build-script-utils", - "substrate-frame-rpc-system 26.0.0", + "substrate-frame-rpc-system", "substrate-prometheus-endpoint", "substrate-state-trie-migration-rpc", "tempfile", @@ -4313,7 +4276,7 @@ dependencies = [ "frame-support", "frame-system", "frame-system-benchmarking", - "frame-system-rpc-runtime-api 23.0.0", + "frame-system-rpc-runtime-api", "frame-try-runtime", "hex", "hex-literal 0.3.4", @@ -4352,18 +4315,18 @@ dependencies = [ "polkadot-runtime-common", "polkadot-runtime-parachains", "scale-info", - "sp-api 23.0.0", - "sp-block-builder 23.0.0", + "sp-api", + "sp-block-builder", "sp-consensus-aura", - "sp-core 25.0.0", - "sp-inherents 23.0.0", - "sp-io 27.0.0", + "sp-core", + "sp-inherents", + "sp-io", "sp-offchain", - "sp-runtime 28.0.0", + "sp-runtime", "sp-session", "sp-std", "sp-transaction-pool", - "sp-version 26.0.0", + "sp-version", "staging-parachain-info", "staging-xcm", "staging-xcm-builder", @@ -5558,15 +5521,15 @@ dependencies = [ "futures", "log", "parity-scale-codec", - "sc-client-api 25.0.0", + "sc-client-api", "sc-offchain", - "sp-api 23.0.0", - "sp-blockchain 25.0.0", - "sp-consensus 0.29.0", + "sp-api", + "sp-blockchain", + "sp-consensus", "sp-consensus-beefy", - "sp-core 25.0.0", + "sp-core", "sp-mmr-primitives", - "sp-runtime 28.0.0", + "sp-runtime", ] [[package]] @@ -5579,11 +5542,11 @@ dependencies = [ "jsonrpsee", "parity-scale-codec", "serde", - "sp-api 23.0.0", - "sp-blockchain 25.0.0", - "sp-core 25.0.0", + "sp-api", + "sp-blockchain", + "sp-core", "sp-mmr-primitives", - "sp-runtime 28.0.0", + "sp-runtime", ] [[package]] @@ -6066,9 +6029,9 @@ dependencies = [ "paste", "scale-info", "serde", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", "staging-xcm", ] @@ -6083,9 +6046,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", ] @@ -6113,7 +6076,7 @@ dependencies = [ "frame-support", "orml-traits", "parity-scale-codec", - "sp-runtime 28.0.0", + "sp-runtime", "sp-std", "staging-xcm", "staging-xcm-executor", @@ -6135,8 +6098,8 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-io", + "sp-runtime", "sp-std", "staging-xcm", "staging-xcm-executor", @@ -6153,8 +6116,8 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-core 25.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-runtime", "sp-std", ] @@ -6170,8 +6133,8 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 25.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-runtime", "sp-std", ] @@ -6187,9 +6150,9 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 27.0.0", + "sp-application-crypto", "sp-consensus-aura", - "sp-runtime 28.0.0", + "sp-runtime", "sp-std", ] @@ -6204,9 +6167,9 @@ dependencies = [ "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto 27.0.0", + "sp-application-crypto", "sp-authority-discovery", - "sp-runtime 28.0.0", + "sp-runtime", "sp-std", ] @@ -6221,7 +6184,7 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 28.0.0", + "sp-runtime", "sp-std", ] @@ -6240,11 +6203,11 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 27.0.0", + "sp-application-crypto", "sp-consensus-babe", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-session", "sp-staking", "sp-std", @@ -6266,9 +6229,9 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", "sp-tracing", ] @@ -6285,7 +6248,7 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-runtime 28.0.0", + "sp-runtime", "sp-std", ] @@ -6304,7 +6267,7 @@ dependencies = [ "scale-info", "serde", "sp-consensus-beefy", - "sp-runtime 28.0.0", + "sp-runtime", "sp-session", "sp-staking", "sp-std", @@ -6327,12 +6290,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 23.0.0", + "sp-api", "sp-consensus-beefy", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", - "sp-state-machine 0.32.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-state-machine", "sp-std", ] @@ -6349,9 +6312,9 @@ dependencies = [ "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", ] @@ -6369,9 +6332,9 @@ dependencies = [ "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", ] @@ -6389,8 +6352,8 @@ dependencies = [ "scale-info", "serde", "serde_derive", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-io", + "sp-runtime", "sp-std", ] @@ -6406,9 +6369,9 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", ] @@ -6425,8 +6388,8 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-io", + "sp-runtime", "sp-std", ] @@ -6443,9 +6406,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", ] @@ -6464,11 +6427,11 @@ dependencies = [ "parity-scale-codec", "rand 0.8.5", "scale-info", - "sp-arithmetic 20.0.0", - "sp-core 25.0.0", - "sp-io 27.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", "sp-npos-elections", - "sp-runtime 28.0.0", + "sp-runtime", "sp-std", "strum 0.24.1", ] @@ -6484,7 +6447,7 @@ dependencies = [ "frame-system", "parity-scale-codec", "sp-npos-elections", - "sp-runtime 28.0.0", + "sp-runtime", "sp-std", ] @@ -6500,10 +6463,10 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 25.0.0", - "sp-io 27.0.0", + "sp-core", + "sp-io", "sp-npos-elections", - "sp-runtime 28.0.0", + "sp-runtime", "sp-staking", "sp-std", ] @@ -6524,9 +6487,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", "teerex-primitives", "test-utils", @@ -6546,8 +6509,8 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-io", + "sp-runtime", "sp-staking", "sp-std", ] @@ -6566,11 +6529,11 @@ dependencies = [ "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto 27.0.0", - "sp-consensus-grandpa 10.0.0", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-application-crypto", + "sp-consensus-grandpa", + "sp-core", + "sp-io", + "sp-runtime", "sp-session", "sp-staking", "sp-std", @@ -6588,8 +6551,8 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-io", + "sp-runtime", "sp-std", ] @@ -6606,10 +6569,10 @@ dependencies = [ "pallet-authorship", "parity-scale-codec", "scale-info", - "sp-application-crypto 27.0.0", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", "sp-staking", "sp-std", ] @@ -6625,10 +6588,10 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-core 25.0.0", - "sp-io 27.0.0", + "sp-core", + "sp-io", "sp-keyring", - "sp-runtime 28.0.0", + "sp-runtime", "sp-std", ] @@ -6644,9 +6607,9 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", ] @@ -6662,12 +6625,12 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-arithmetic 20.0.0", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", - "sp-weights 24.0.0", + "sp-weights", ] [[package]] @@ -6682,10 +6645,10 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 25.0.0", - "sp-io 27.0.0", + "sp-core", + "sp-io", "sp-mmr-primitives", - "sp-runtime 28.0.0", + "sp-runtime", "sp-std", ] @@ -6701,8 +6664,8 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-io", + "sp-runtime", "sp-std", ] @@ -6717,9 +6680,9 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-arithmetic 20.0.0", - "sp-core 25.0.0", - "sp-runtime 28.0.0", + "sp-arithmetic", + "sp-core", + "sp-runtime", "sp-std", ] @@ -6735,9 +6698,9 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-staking", "sp-std", "sp-tracing", @@ -6758,8 +6721,8 @@ dependencies = [ "pallet-staking", "parity-scale-codec", "scale-info", - "sp-runtime 28.0.0", - "sp-runtime-interface 21.0.0", + "sp-runtime", + "sp-runtime-interface", "sp-staking", "sp-std", ] @@ -6772,7 +6735,7 @@ checksum = "65c256cc530a19ff614f2af9b5c95ae9aa777a2bf1542aa455ae65e842f8c924" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", - "sp-api 23.0.0", + "sp-api", "sp-std", ] @@ -6789,7 +6752,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-runtime 28.0.0", + "sp-runtime", "sp-staking", "sp-std", ] @@ -6814,7 +6777,7 @@ dependencies = [ "pallet-staking", "parity-scale-codec", "scale-info", - "sp-runtime 28.0.0", + "sp-runtime", "sp-staking", "sp-std", ] @@ -6831,9 +6794,9 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", ] @@ -6848,8 +6811,8 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-io", + "sp-runtime", "sp-std", ] @@ -6865,10 +6828,10 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-arithmetic 20.0.0", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", ] @@ -6883,8 +6846,8 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-io", + "sp-runtime", "sp-std", ] @@ -6902,9 +6865,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 20.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-arithmetic", + "sp-io", + "sp-runtime", "sp-std", ] @@ -6921,10 +6884,10 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-io", + "sp-runtime", "sp-std", - "sp-weights 24.0.0", + "sp-weights", ] [[package]] @@ -6940,14 +6903,14 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-session", "sp-staking", - "sp-state-machine 0.32.0", + "sp-state-machine", "sp-std", - "sp-trie 26.0.0", + "sp-trie", ] [[package]] @@ -6963,7 +6926,7 @@ dependencies = [ "pallet-staking", "parity-scale-codec", "rand 0.8.5", - "sp-runtime 28.0.0", + "sp-runtime", "sp-session", "sp-std", ] @@ -6986,9 +6949,9 @@ dependencies = [ "scale-info", "serde", "sidechain-primitives", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", "teerex-primitives", "test-utils", @@ -7007,9 +6970,9 @@ dependencies = [ "parity-scale-codec", "rand_chacha 0.2.2", "scale-info", - "sp-arithmetic 20.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-arithmetic", + "sp-io", + "sp-runtime", "sp-std", ] @@ -7030,9 +6993,9 @@ dependencies = [ "rand_chacha 0.2.2", "scale-info", "serde", - "sp-application-crypto 27.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-application-crypto", + "sp-io", + "sp-runtime", "sp-staking", "sp-std", ] @@ -7056,7 +7019,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "45b6f832653badb5f70bdfecc1ded64b02b8159b27f18515af03f8b80f1b023b" dependencies = [ "log", - "sp-arithmetic 20.0.0", + "sp-arithmetic", ] [[package]] @@ -7066,7 +7029,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "773c0d24ad4da4b505e47b43e91c8c0af4e835f16104bc770732a4796c174748" dependencies = [ "parity-scale-codec", - "sp-api 23.0.0", + "sp-api", ] [[package]] @@ -7081,9 +7044,9 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", ] @@ -7099,8 +7062,8 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-io", + "sp-runtime", "sp-std", ] @@ -7117,9 +7080,9 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", "substrate-fixed", "teeracle-primitives", @@ -7144,9 +7107,9 @@ dependencies = [ "scale-info", "serde", "sgx-verify", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", "teerex-primitives", "test-utils", @@ -7165,9 +7128,9 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-inherents 23.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-inherents", + "sp-io", + "sp-runtime", "sp-std", "sp-storage", "sp-timestamp", @@ -7187,9 +7150,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", ] @@ -7204,9 +7167,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", ] @@ -7219,12 +7182,12 @@ dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", - "sp-api 23.0.0", - "sp-blockchain 25.0.0", - "sp-core 25.0.0", - "sp-rpc 23.0.0", - "sp-runtime 28.0.0", - "sp-weights 24.0.0", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-rpc", + "sp-runtime", + "sp-weights", ] [[package]] @@ -7235,9 +7198,9 @@ checksum = "07d87fdc4028155367c6ea98143054a6c00b38bfd77ec08681e289e429e35505" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", - "sp-api 23.0.0", - "sp-runtime 28.0.0", - "sp-weights 24.0.0", + "sp-api", + "sp-runtime", + "sp-weights", ] [[package]] @@ -7255,8 +7218,8 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 25.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-runtime", "sp-std", ] @@ -7271,9 +7234,9 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", ] @@ -7289,7 +7252,7 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-runtime 28.0.0", + "sp-runtime", "sp-std", ] @@ -7304,8 +7267,8 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-api 23.0.0", - "sp-runtime 28.0.0", + "sp-api", + "sp-runtime", "sp-std", ] @@ -7323,9 +7286,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", "staging-xcm", "staging-xcm-executor", @@ -7343,8 +7306,8 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-io", + "sp-runtime", "sp-std", "staging-xcm", "staging-xcm-builder", @@ -7361,9 +7324,9 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", "staging-xcm", "xcm-transactor-primitives", @@ -7386,9 +7349,9 @@ dependencies = [ "scale-info", "smallvec", "sp-consensus-aura", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", "staging-xcm", "staging-xcm-executor", @@ -7747,8 +7710,8 @@ dependencies = [ "polkadot-primitives", "rand 0.8.5", "schnellru", - "sp-core 25.0.0", - "sp-keystore 0.31.0", + "sp-core", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -7770,7 +7733,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "rand 0.8.5", - "sc-network 0.31.0", + "sc-network", "schnellru", "thiserror", "tracing-gum", @@ -7790,15 +7753,15 @@ dependencies = [ "polkadot-node-primitives", "polkadot-service", "sc-cli", - "sc-executor 0.29.0", + "sc-executor", "sc-service", "sc-storage-monitor", "sc-sysinfo", "sc-tracing", - "sp-core 25.0.0", - "sp-io 27.0.0", + "sp-core", + "sp-io", "sp-keyring", - "sp-maybe-compressed-blob 9.0.0", + "sp-maybe-compressed-blob", "substrate-build-script-utils", "thiserror", "try-runtime-cli", @@ -7819,9 +7782,9 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-core 25.0.0", - "sp-keystore 0.31.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-keystore", + "sp-runtime", "thiserror", "tokio-util", "tracing-gum", @@ -7835,8 +7798,8 @@ checksum = "b08d1d6ca24e1b13f8069e015cfab794344212dd7436aadd61de8086a82664ef" dependencies = [ "parity-scale-codec", "scale-info", - "sp-core 25.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-runtime", "sp-std", ] @@ -7858,10 +7821,10 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sc-network 0.31.0", + "sc-network", "schnellru", - "sp-application-crypto 27.0.0", - "sp-keystore 0.31.0", + "sp-application-crypto", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -7876,8 +7839,8 @@ dependencies = [ "polkadot-node-primitives", "polkadot-primitives", "reed-solomon-novelpoly", - "sp-core 25.0.0", - "sp-trie 26.0.0", + "sp-core", + "sp-trie", "thiserror", ] @@ -7895,11 +7858,11 @@ dependencies = [ "polkadot-primitives", "rand 0.8.5", "rand_chacha 0.3.1", - "sc-network 0.31.0", - "sc-network-common 0.30.0", - "sp-application-crypto 27.0.0", - "sp-core 25.0.0", - "sp-keystore 0.31.0", + "sc-network", + "sc-network-common", + "sp-application-crypto", + "sp-core", + "sp-keystore", "tracing-gum", ] @@ -7921,8 +7884,8 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", - "sc-network 0.31.0", - "sp-consensus 0.29.0", + "sc-network", + "sp-consensus", "thiserror", "tracing-gum", ] @@ -7940,8 +7903,8 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-core 25.0.0", - "sp-maybe-compressed-blob 9.0.0", + "sp-core", + "sp-maybe-compressed-blob", "thiserror", "tracing-gum", ] @@ -7968,10 +7931,10 @@ dependencies = [ "sc-keystore", "schnellru", "schnorrkel 0.9.1", - "sp-application-crypto 27.0.0", - "sp-consensus 0.29.0", + "sp-application-crypto", + "sp-consensus", "sp-consensus-slots", - "sp-runtime 28.0.0", + "sp-runtime", "thiserror", "tracing-gum", ] @@ -7994,7 +7957,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", - "sp-consensus 0.29.0", + "sp-consensus", "thiserror", "tracing-gum", ] @@ -8014,7 +7977,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "polkadot-statement-table", - "sp-keystore 0.31.0", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -8029,7 +7992,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-keystore 0.31.0", + "sp-keystore", "thiserror", "tracing-gum", "wasm-timer", @@ -8053,7 +8016,7 @@ dependencies = [ "polkadot-overseer", "polkadot-parachain-primitives", "polkadot-primitives", - "sp-maybe-compressed-blob 9.0.0", + "sp-maybe-compressed-blob", "tracing-gum", ] @@ -8067,9 +8030,9 @@ dependencies = [ "polkadot-node-metrics", "polkadot-node-subsystem", "polkadot-primitives", - "sc-client-api 25.0.0", + "sc-client-api", "sc-consensus-babe", - "sp-blockchain 25.0.0", + "sp-blockchain", "tracing-gum", ] @@ -8123,8 +8086,8 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", - "sp-blockchain 25.0.0", - "sp-inherents 23.0.0", + "sp-blockchain", + "sp-inherents", "thiserror", "tracing-gum", ] @@ -8187,8 +8150,8 @@ dependencies = [ "polkadot-primitives", "rand 0.8.5", "slotmap", - "sp-core 25.0.0", - "sp-maybe-compressed-blob 9.0.0", + "sp-core", + "sp-maybe-compressed-blob", "sp-wasm-interface", "tempfile", "tokio", @@ -8207,7 +8170,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", - "sp-keystore 0.31.0", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -8226,12 +8189,12 @@ dependencies = [ "parity-scale-codec", "polkadot-parachain-primitives", "polkadot-primitives", - "sc-executor 0.29.0", - "sc-executor-common 0.26.0", - "sc-executor-wasmtime 0.26.0", - "sp-core 25.0.0", + "sc-executor", + "sc-executor-common", + "sc-executor-wasmtime", + "sp-core", "sp-externalities", - "sp-io 27.0.0", + "sp-io", "sp-tracing", "tokio", "tracing-gum", @@ -8266,8 +8229,8 @@ dependencies = [ "parking_lot 0.12.1", "polkadot-node-primitives", "polkadot-primitives", - "sc-network 0.31.0", - "sp-core 25.0.0", + "sc-network", + "sp-core", "thiserror", "tokio", ] @@ -8311,7 +8274,7 @@ dependencies = [ "polkadot-primitives", "rand 0.8.5", "sc-authority-discovery", - "sc-network 0.31.0", + "sc-network", "strum 0.24.1", "thiserror", "tracing-gum", @@ -8330,12 +8293,12 @@ dependencies = [ "polkadot-primitives", "schnorrkel 0.9.1", "serde", - "sp-application-crypto 27.0.0", + "sp-application-crypto", "sp-consensus-babe", - "sp-core 25.0.0", - "sp-keystore 0.31.0", - "sp-maybe-compressed-blob 9.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-keystore", + "sp-maybe-compressed-blob", + "sp-runtime", "thiserror", "zstd 0.12.4", ] @@ -8366,11 +8329,11 @@ dependencies = [ "polkadot-node-primitives", "polkadot-primitives", "polkadot-statement-table", - "sc-client-api 25.0.0", - "sc-network 0.31.0", - "sc-transaction-pool-api 25.0.0", + "sc-client-api", + "sc-network", + "sc-transaction-pool-api", "smallvec", - "sp-api 23.0.0", + "sp-api", "sp-authority-discovery", "sp-consensus-babe", "substrate-prometheus-endpoint", @@ -8404,11 +8367,11 @@ dependencies = [ "polkadot-primitives", "prioritized-metered-channel 0.5.1", "rand 0.8.5", - "sc-client-api 25.0.0", + "sc-client-api", "schnellru", - "sp-application-crypto 27.0.0", - "sp-core 25.0.0", - "sp-keystore 0.31.0", + "sp-application-crypto", + "sp-core", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -8429,9 +8392,9 @@ dependencies = [ "polkadot-node-primitives", "polkadot-node-subsystem-types", "polkadot-primitives", - "sc-client-api 25.0.0", - "sp-api 23.0.0", - "sp-core 25.0.0", + "sc-client-api", + "sp-api", + "sp-core", "tikv-jemalloc-ctl", "tracing-gum", ] @@ -8449,8 +8412,8 @@ dependencies = [ "polkadot-core-primitives", "scale-info", "serde", - "sp-core 25.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-runtime", "sp-std", ] @@ -8467,16 +8430,16 @@ dependencies = [ "polkadot-parachain-primitives", "scale-info", "serde", - "sp-api 23.0.0", - "sp-application-crypto 27.0.0", - "sp-arithmetic 20.0.0", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", "sp-authority-discovery", "sp-consensus-slots", - "sp-core 25.0.0", - "sp-inherents 23.0.0", - "sp-io 27.0.0", - "sp-keystore 0.31.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", "sp-staking", "sp-std", ] @@ -8491,8 +8454,8 @@ dependencies = [ "mmr-rpc", "pallet-transaction-payment-rpc", "polkadot-primitives", - "sc-chain-spec 24.0.0", - "sc-client-api 25.0.0", + "sc-chain-spec", + "sc-client-api", "sc-consensus-babe", "sc-consensus-babe-rpc", "sc-consensus-beefy", @@ -8502,15 +8465,15 @@ dependencies = [ "sc-consensus-grandpa-rpc", "sc-rpc", "sc-sync-state-rpc", - "sc-transaction-pool-api 25.0.0", - "sp-api 23.0.0", - "sp-block-builder 23.0.0", - "sp-blockchain 25.0.0", - "sp-consensus 0.29.0", + "sc-transaction-pool-api", + "sp-api", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", "sp-consensus-babe", - "sp-keystore 0.31.0", - "sp-runtime 28.0.0", - "substrate-frame-rpc-system 25.0.0", + "sp-keystore", + "sp-runtime", + "substrate-frame-rpc-system", "substrate-state-trie-migration-rpc", ] @@ -8550,12 +8513,12 @@ dependencies = [ "serde", "serde_derive", "slot-range-helper", - "sp-api 23.0.0", - "sp-core 25.0.0", - "sp-inherents 23.0.0", - "sp-io 27.0.0", + "sp-api", + "sp-core", + "sp-inherents", + "sp-io", "sp-npos-elections", - "sp-runtime 28.0.0", + "sp-runtime", "sp-session", "sp-staking", "sp-std", @@ -8612,13 +8575,13 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-api 23.0.0", - "sp-application-crypto 27.0.0", - "sp-core 25.0.0", - "sp-inherents 23.0.0", - "sp-io 27.0.0", - "sp-keystore 0.31.0", - "sp-runtime 28.0.0", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", "sp-session", "sp-staking", "sp-std", @@ -8638,7 +8601,7 @@ dependencies = [ "frame-benchmarking-cli", "frame-support", "frame-system", - "frame-system-rpc-runtime-api 23.0.0", + "frame-system-rpc-runtime-api", "futures", "hex-literal 0.4.1", "is_executable", @@ -8693,52 +8656,52 @@ dependencies = [ "sc-authority-discovery", "sc-basic-authorship", "sc-block-builder", - "sc-chain-spec 24.0.0", - "sc-client-api 25.0.0", + "sc-chain-spec", + "sc-client-api", "sc-client-db", - "sc-consensus 0.30.0", + "sc-consensus", "sc-consensus-babe", "sc-consensus-beefy", "sc-consensus-grandpa", "sc-consensus-slots", - "sc-executor 0.29.0", + "sc-executor", "sc-keystore", - "sc-network 0.31.0", - "sc-network-common 0.30.0", + "sc-network", + "sc-network-common", "sc-network-sync", "sc-offchain", "sc-service", "sc-sync-state-rpc", "sc-sysinfo", - "sc-telemetry 12.0.0", + "sc-telemetry", "sc-transaction-pool", - "sc-transaction-pool-api 25.0.0", + "sc-transaction-pool-api", "schnellru", "serde", "serde_json", - "sp-api 23.0.0", + "sp-api", "sp-authority-discovery", - "sp-block-builder 23.0.0", - "sp-blockchain 25.0.0", - "sp-consensus 0.29.0", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", "sp-consensus-babe", "sp-consensus-beefy", - "sp-consensus-grandpa 10.0.0", - "sp-core 25.0.0", - "sp-inherents 23.0.0", - "sp-io 27.0.0", + "sp-consensus-grandpa", + "sp-core", + "sp-inherents", + "sp-io", "sp-keyring", - "sp-keystore 0.31.0", + "sp-keystore", "sp-mmr-primitives", "sp-offchain", - "sp-runtime 28.0.0", + "sp-runtime", "sp-session", - "sp-state-machine 0.32.0", + "sp-state-machine", "sp-storage", "sp-timestamp", "sp-transaction-pool", - "sp-version 26.0.0", - "sp-weights 24.0.0", + "sp-version", + "sp-weights", "substrate-prometheus-endpoint", "thiserror", "tracing-gum", @@ -8764,7 +8727,7 @@ dependencies = [ "polkadot-node-subsystem-types", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-keystore 0.31.0", + "sp-keystore", "sp-staking", "thiserror", "tracing-gum", @@ -8778,7 +8741,7 @@ checksum = "22b2a11cb8871f7e30a8f5e455c92d19a186065644ee00f9acda550ff89dacce" dependencies = [ "parity-scale-codec", "polkadot-primitives", - "sp-core 25.0.0", + "sp-core", ] [[package]] @@ -9553,7 +9516,7 @@ dependencies = [ "frame-support", "frame-system", "frame-system-benchmarking", - "frame-system-rpc-runtime-api 23.0.0", + "frame-system-rpc-runtime-api", "frame-try-runtime", "hex-literal 0.4.1", "log", @@ -9611,25 +9574,25 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api 23.0.0", - "sp-arithmetic 20.0.0", + "sp-api", + "sp-arithmetic", "sp-authority-discovery", - "sp-block-builder 23.0.0", + "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core 25.0.0", - "sp-genesis-builder 0.4.0", - "sp-inherents 23.0.0", - "sp-io 27.0.0", + "sp-core", + "sp-genesis-builder", + "sp-inherents", + "sp-io", "sp-mmr-primitives", "sp-offchain", - "sp-runtime 28.0.0", + "sp-runtime", "sp-session", "sp-staking", "sp-std", "sp-storage", "sp-transaction-pool", - "sp-version 26.0.0", + "sp-version", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -9647,9 +9610,9 @@ dependencies = [ "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core 25.0.0", - "sp-runtime 28.0.0", - "sp-weights 24.0.0", + "sp-core", + "sp-runtime", + "sp-weights", "staging-xcm", ] @@ -9896,19 +9859,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "66b4c5976a9cff7fcf24c946276a62ea7837862b6f3bf9f8011f08faf4f08474" dependencies = [ "log", - "sp-core 25.0.0", - "sp-wasm-interface", - "thiserror", -] - -[[package]] -name = "sc-allocator" -version = "21.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4d1a02e55b21ba31d7e43406165e89d29f32666b4ed340da51a2936e07f64d1" -dependencies = [ - "log", - "sp-core 26.0.0", + "sp-core", "sp-wasm-interface", "thiserror", ] @@ -9930,14 +9881,14 @@ dependencies = [ "prost", "prost-build", "rand 0.8.5", - "sc-client-api 25.0.0", - "sc-network 0.31.0", - "sp-api 23.0.0", + "sc-client-api", + "sc-network", + "sp-api", "sp-authority-discovery", - "sp-blockchain 25.0.0", - "sp-core 25.0.0", - "sp-keystore 0.31.0", - "sp-runtime 28.0.0", + "sp-blockchain", + "sp-core", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -9953,16 +9904,16 @@ dependencies = [ "log", "parity-scale-codec", "sc-block-builder", - "sc-client-api 25.0.0", + "sc-client-api", "sc-proposer-metrics", - "sc-telemetry 12.0.0", - "sc-transaction-pool-api 25.0.0", - "sp-api 23.0.0", - "sp-blockchain 25.0.0", - "sp-consensus 0.29.0", - "sp-core 25.0.0", - "sp-inherents 23.0.0", - "sp-runtime 28.0.0", + "sc-telemetry", + "sc-transaction-pool-api", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-inherents", + "sp-runtime", "substrate-prometheus-endpoint", ] @@ -9973,13 +9924,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d3999b9b758c09a6c1155e481b683ee87712f071cc5a0679f9ee4906a14a404" dependencies = [ "parity-scale-codec", - "sc-client-api 25.0.0", - "sp-api 23.0.0", - "sp-block-builder 23.0.0", - "sp-blockchain 25.0.0", - "sp-core 25.0.0", - "sp-inherents 23.0.0", - "sp-runtime 28.0.0", + "sc-client-api", + "sp-api", + "sp-block-builder", + "sp-blockchain", + "sp-core", + "sp-inherents", + "sp-runtime", ] [[package]] @@ -9990,42 +9941,16 @@ checksum = "ec7e711ea9870d3fb8e2a3ea5b601a9e20c63d0d2f457f40146407721e246a77" dependencies = [ "memmap2", "sc-chain-spec-derive", - "sc-client-api 25.0.0", - "sc-executor 0.29.0", - "sc-network 0.31.0", - "sc-telemetry 12.0.0", - "serde", - "serde_json", - "sp-blockchain 25.0.0", - "sp-core 25.0.0", - "sp-runtime 28.0.0", - "sp-state-machine 0.32.0", -] - -[[package]] -name = "sc-chain-spec" -version = "25.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec801fd9522abef8e697c8d4c7bce2f2372dfbe20535b6b673286bba29f0d7e8" -dependencies = [ - "array-bytes 6.2.2", - "docify", - "log", - "memmap2", - "parity-scale-codec", - "sc-chain-spec-derive", - "sc-client-api 26.0.0", - "sc-executor 0.30.0", - "sc-network 0.32.0", - "sc-telemetry 13.0.0", + "sc-client-api", + "sc-executor", + "sc-network", + "sc-telemetry", "serde", "serde_json", - "sp-blockchain 26.0.0", - "sp-core 26.0.0", - "sp-genesis-builder 0.5.0", - "sp-io 28.0.0", - "sp-runtime 29.0.0", - "sp-state-machine 0.33.0", + "sp-blockchain", + "sp-core", + "sp-runtime", + "sp-state-machine", ] [[package]] @@ -10058,24 +9983,24 @@ dependencies = [ "rand 0.8.5", "regex", "rpassword", - "sc-client-api 25.0.0", + "sc-client-api", "sc-client-db", "sc-keystore", - "sc-mixnet 0.1.0", - "sc-network 0.31.0", + "sc-mixnet", + "sc-network", "sc-service", - "sc-telemetry 12.0.0", + "sc-telemetry", "sc-tracing", - "sc-utils 11.0.0", + "sc-utils", "serde", "serde_json", - "sp-blockchain 25.0.0", - "sp-core 25.0.0", + "sp-blockchain", + "sp-core", "sp-keyring", - "sp-keystore 0.31.0", + "sp-keystore", "sp-panic-handler", - "sp-runtime 28.0.0", - "sp-version 26.0.0", + "sp-runtime", + "sp-version", "thiserror", "tiny-bip39", "tokio", @@ -10092,48 +10017,20 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sc-executor 0.29.0", - "sc-transaction-pool-api 25.0.0", - "sc-utils 11.0.0", - "sp-api 23.0.0", - "sp-blockchain 25.0.0", - "sp-consensus 0.29.0", - "sp-core 25.0.0", - "sp-database", - "sp-externalities", - "sp-runtime 28.0.0", - "sp-state-machine 0.32.0", - "sp-statement-store 7.0.0", - "sp-storage", - "sp-trie 26.0.0", - "substrate-prometheus-endpoint", -] - -[[package]] -name = "sc-client-api" -version = "26.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "528cd3e31f06f8eb10845f5aa370b9bc0f8879789d124a0154f50c51b7e71863" -dependencies = [ - "fnv", - "futures", - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "sc-executor 0.30.0", - "sc-transaction-pool-api 26.0.0", - "sc-utils 12.0.0", - "sp-api 24.0.0", - "sp-blockchain 26.0.0", - "sp-consensus 0.30.0", - "sp-core 26.0.0", + "sc-executor", + "sc-transaction-pool-api", + "sc-utils", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", "sp-database", "sp-externalities", - "sp-runtime 29.0.0", - "sp-state-machine 0.33.0", - "sp-statement-store 8.0.0", + "sp-runtime", + "sp-state-machine", + "sp-statement-store", "sp-storage", - "sp-trie 27.0.0", + "sp-trie", "substrate-prometheus-endpoint", ] @@ -10152,16 +10049,16 @@ dependencies = [ "parity-db", "parity-scale-codec", "parking_lot 0.12.1", - "sc-client-api 25.0.0", + "sc-client-api", "sc-state-db", "schnellru", - "sp-arithmetic 20.0.0", - "sp-blockchain 25.0.0", - "sp-core 25.0.0", + "sp-arithmetic", + "sp-blockchain", + "sp-core", "sp-database", - "sp-runtime 28.0.0", - "sp-state-machine 0.32.0", - "sp-trie 26.0.0", + "sp-runtime", + "sp-state-machine", + "sp-trie", ] [[package]] @@ -10177,41 +10074,15 @@ dependencies = [ "log", "mockall", "parking_lot 0.12.1", - "sc-client-api 25.0.0", - "sc-utils 11.0.0", - "serde", - "sp-api 23.0.0", - "sp-blockchain 25.0.0", - "sp-consensus 0.29.0", - "sp-core 25.0.0", - "sp-runtime 28.0.0", - "sp-state-machine 0.32.0", - "substrate-prometheus-endpoint", - "thiserror", -] - -[[package]] -name = "sc-consensus" -version = "0.31.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f318eec030f95a12049d68af4fb02030b687c9853c5ea65b323e380ffddfd504" -dependencies = [ - "async-trait", - "futures", - "futures-timer", - "libp2p-identity", - "log", - "mockall", - "parking_lot 0.12.1", - "sc-client-api 26.0.0", - "sc-utils 12.0.0", - "serde", - "sp-api 24.0.0", - "sp-blockchain 26.0.0", - "sp-consensus 0.30.0", - "sp-core 26.0.0", - "sp-runtime 29.0.0", - "sp-state-machine 0.33.0", + "sc-client-api", + "sc-utils", + "serde", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-runtime", + "sp-state-machine", "substrate-prometheus-endpoint", "thiserror", ] @@ -10227,21 +10098,21 @@ dependencies = [ "log", "parity-scale-codec", "sc-block-builder", - "sc-client-api 25.0.0", - "sc-consensus 0.30.0", + "sc-client-api", + "sc-consensus", "sc-consensus-slots", - "sc-telemetry 12.0.0", - "sp-api 23.0.0", - "sp-application-crypto 27.0.0", - "sp-block-builder 23.0.0", - "sp-blockchain 25.0.0", - "sp-consensus 0.29.0", + "sc-telemetry", + "sp-api", + "sp-application-crypto", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", "sp-consensus-aura", "sp-consensus-slots", - "sp-core 25.0.0", - "sp-inherents 23.0.0", - "sp-keystore 0.31.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -10261,23 +10132,23 @@ dependencies = [ "num-traits", "parity-scale-codec", "parking_lot 0.12.1", - "sc-client-api 25.0.0", - "sc-consensus 0.30.0", + "sc-client-api", + "sc-consensus", "sc-consensus-epochs", "sc-consensus-slots", - "sc-telemetry 12.0.0", - "sc-transaction-pool-api 25.0.0", - "sp-api 23.0.0", - "sp-application-crypto 27.0.0", - "sp-block-builder 23.0.0", - "sp-blockchain 25.0.0", - "sp-consensus 0.29.0", + "sc-telemetry", + "sc-transaction-pool-api", + "sp-api", + "sp-application-crypto", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", "sp-consensus-babe", "sp-consensus-slots", - "sp-core 25.0.0", - "sp-inherents 23.0.0", - "sp-keystore 0.31.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -10292,16 +10163,16 @@ dependencies = [ "jsonrpsee", "sc-consensus-babe", "sc-consensus-epochs", - "sc-rpc-api 0.30.0", + "sc-rpc-api", "serde", - "sp-api 23.0.0", - "sp-application-crypto 27.0.0", - "sp-blockchain 25.0.0", - "sp-consensus 0.29.0", + "sp-api", + "sp-application-crypto", + "sp-blockchain", + "sp-consensus", "sp-consensus-babe", - "sp-core 25.0.0", - "sp-keystore 0.31.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-keystore", + "sp-runtime", "thiserror", ] @@ -10319,22 +10190,22 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sc-client-api 25.0.0", - "sc-consensus 0.30.0", - "sc-network 0.31.0", + "sc-client-api", + "sc-consensus", + "sc-network", "sc-network-gossip", "sc-network-sync", - "sc-utils 11.0.0", - "sp-api 23.0.0", - "sp-application-crypto 27.0.0", - "sp-arithmetic 20.0.0", - "sp-blockchain 25.0.0", - "sp-consensus 0.29.0", + "sc-utils", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", "sp-consensus-beefy", - "sp-core 25.0.0", - "sp-keystore 0.31.0", + "sp-core", + "sp-keystore", "sp-mmr-primitives", - "sp-runtime 28.0.0", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", "wasm-timer", @@ -10355,8 +10226,8 @@ dependencies = [ "sc-rpc", "serde", "sp-consensus-beefy", - "sp-core 25.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-runtime", "thiserror", ] @@ -10368,10 +10239,10 @@ checksum = "5eafc0534bb118f614fc50fe066e423dbecfedf816cd9c43e0b492e30c1782c8" dependencies = [ "fork-tree", "parity-scale-codec", - "sc-client-api 25.0.0", - "sc-consensus 0.30.0", - "sp-blockchain 25.0.0", - "sp-runtime 28.0.0", + "sc-client-api", + "sc-consensus", + "sp-blockchain", + "sp-runtime", ] [[package]] @@ -10393,25 +10264,25 @@ dependencies = [ "parking_lot 0.12.1", "rand 0.8.5", "sc-block-builder", - "sc-chain-spec 24.0.0", - "sc-client-api 25.0.0", - "sc-consensus 0.30.0", - "sc-network 0.31.0", - "sc-network-common 0.30.0", + "sc-chain-spec", + "sc-client-api", + "sc-consensus", + "sc-network", + "sc-network-common", "sc-network-gossip", - "sc-telemetry 12.0.0", - "sc-transaction-pool-api 25.0.0", - "sc-utils 11.0.0", + "sc-telemetry", + "sc-transaction-pool-api", + "sc-utils", "serde_json", - "sp-api 23.0.0", - "sp-application-crypto 27.0.0", - "sp-arithmetic 20.0.0", - "sp-blockchain 25.0.0", - "sp-consensus 0.29.0", - "sp-consensus-grandpa 10.0.0", - "sp-core 25.0.0", - "sp-keystore 0.31.0", - "sp-runtime 28.0.0", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", + "sp-consensus-grandpa", + "sp-core", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -10427,13 +10298,13 @@ dependencies = [ "jsonrpsee", "log", "parity-scale-codec", - "sc-client-api 25.0.0", + "sc-client-api", "sc-consensus-grandpa", "sc-rpc", "serde", - "sp-blockchain 25.0.0", - "sp-core 25.0.0", - "sp-runtime 28.0.0", + "sp-blockchain", + "sp-core", + "sp-runtime", "thiserror", ] @@ -10448,17 +10319,17 @@ dependencies = [ "futures-timer", "log", "parity-scale-codec", - "sc-client-api 25.0.0", - "sc-consensus 0.30.0", - "sc-telemetry 12.0.0", - "sp-arithmetic 20.0.0", - "sp-blockchain 25.0.0", - "sp-consensus 0.29.0", + "sc-client-api", + "sc-consensus", + "sc-telemetry", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", "sp-consensus-slots", - "sp-core 25.0.0", - "sp-inherents 23.0.0", - "sp-runtime 28.0.0", - "sp-state-machine 0.32.0", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", ] [[package]] @@ -10469,40 +10340,17 @@ checksum = "225f2ad733bc7234a6638d5203624194824b2f78ab631bc911223f536a66b9c8" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", - "sc-executor-common 0.26.0", - "sc-executor-wasmtime 0.26.0", - "schnellru", - "sp-api 23.0.0", - "sp-core 25.0.0", - "sp-externalities", - "sp-io 27.0.0", - "sp-panic-handler", - "sp-runtime-interface 21.0.0", - "sp-trie 26.0.0", - "sp-version 26.0.0", - "sp-wasm-interface", - "tracing", -] - -[[package]] -name = "sc-executor" -version = "0.30.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfb8238d50c07e842d9e29da4fc7c81407db0d8abaa4b917999376ff460b8735" -dependencies = [ - "parity-scale-codec", - "parking_lot 0.12.1", - "sc-executor-common 0.27.0", - "sc-executor-wasmtime 0.27.0", + "sc-executor-common", + "sc-executor-wasmtime", "schnellru", - "sp-api 24.0.0", - "sp-core 26.0.0", + "sp-api", + "sp-core", "sp-externalities", - "sp-io 28.0.0", + "sp-io", "sp-panic-handler", - "sp-runtime-interface 22.0.0", - "sp-trie 27.0.0", - "sp-version 27.0.0", + "sp-runtime-interface", + "sp-trie", + "sp-version", "sp-wasm-interface", "tracing", ] @@ -10513,21 +10361,8 @@ version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "169c1cfe81ba0e0d44ab4ada1600e30b6a9de588c792db73e32a854a6e3e1a87" dependencies = [ - "sc-allocator 20.0.0", - "sp-maybe-compressed-blob 9.0.0", - "sp-wasm-interface", - "thiserror", - "wasm-instrument", -] - -[[package]] -name = "sc-executor-common" -version = "0.27.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "827196953d94bc2d395c1a1f1844296d2d9f6a69f9b802cdf0f4cf76d2472d87" -dependencies = [ - "sc-allocator 21.0.0", - "sp-maybe-compressed-blob 10.0.0", + "sc-allocator", + "sp-maybe-compressed-blob", "sp-wasm-interface", "thiserror", "wasm-instrument", @@ -10545,28 +10380,9 @@ dependencies = [ "log", "parking_lot 0.12.1", "rustix 0.36.16", - "sc-allocator 20.0.0", - "sc-executor-common 0.26.0", - "sp-runtime-interface 21.0.0", - "sp-wasm-interface", - "wasmtime", -] - -[[package]] -name = "sc-executor-wasmtime" -version = "0.27.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa4fec495b706716566984509b4d67ab8feb55a5d40a216ca47821d39bf76b4c" -dependencies = [ - "anyhow", - "cfg-if", - "libc", - "log", - "parking_lot 0.12.1", - "rustix 0.36.16", - "sc-allocator 21.0.0", - "sc-executor-common 0.27.0", - "sp-runtime-interface 22.0.0", + "sc-allocator", + "sc-executor-common", + "sp-runtime-interface", "sp-wasm-interface", "wasmtime", ] @@ -10581,11 +10397,11 @@ dependencies = [ "futures", "futures-timer", "log", - "sc-client-api 25.0.0", - "sc-network 0.31.0", - "sc-network-common 0.30.0", - "sp-blockchain 25.0.0", - "sp-runtime 28.0.0", + "sc-client-api", + "sc-network", + "sc-network-common", + "sp-blockchain", + "sp-runtime", ] [[package]] @@ -10597,9 +10413,9 @@ dependencies = [ "array-bytes 6.2.2", "parking_lot 0.12.1", "serde_json", - "sp-application-crypto 27.0.0", - "sp-core 25.0.0", - "sp-keystore 0.31.0", + "sp-application-crypto", + "sp-core", + "sp-keystore", "thiserror", ] @@ -10620,44 +10436,15 @@ dependencies = [ "multiaddr", "parity-scale-codec", "parking_lot 0.12.1", - "sc-client-api 25.0.0", - "sc-network 0.31.0", - "sc-transaction-pool-api 25.0.0", - "sp-api 23.0.0", - "sp-consensus 0.29.0", - "sp-core 25.0.0", - "sp-keystore 0.31.0", - "sp-mixnet 0.1.0", - "sp-runtime 28.0.0", - "thiserror", -] - -[[package]] -name = "sc-mixnet" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41675eac37938b82c699344b57349e792197c34f9e039472937ae4c0525cf2d7" -dependencies = [ - "array-bytes 4.2.0", - "arrayvec 0.7.4", - "blake2 0.10.6", - "futures", - "futures-timer", - "libp2p-identity", - "log", - "mixnet", - "multiaddr", - "parity-scale-codec", - "parking_lot 0.12.1", - "sc-client-api 26.0.0", - "sc-network 0.32.0", - "sc-transaction-pool-api 26.0.0", - "sp-api 24.0.0", - "sp-consensus 0.30.0", - "sp-core 26.0.0", - "sp-keystore 0.32.0", - "sp-mixnet 0.2.0", - "sp-runtime 29.0.0", + "sc-client-api", + "sc-network", + "sc-transaction-pool-api", + "sp-api", + "sp-consensus", + "sp-core", + "sp-keystore", + "sp-mixnet", + "sp-runtime", "thiserror", ] @@ -10686,58 +10473,16 @@ dependencies = [ "partial_sort", "pin-project", "rand 0.8.5", - "sc-client-api 25.0.0", - "sc-network-common 0.30.0", - "sc-utils 11.0.0", - "serde", - "serde_json", - "smallvec", - "sp-arithmetic 20.0.0", - "sp-blockchain 25.0.0", - "sp-core 25.0.0", - "sp-runtime 28.0.0", - "substrate-prometheus-endpoint", - "thiserror", - "unsigned-varint", - "wasm-timer", - "zeroize", -] - -[[package]] -name = "sc-network" -version = "0.32.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "160455658aa8bd22c87b22f9375fd63296db8ddbe14875a8688b7172e3007295" -dependencies = [ - "array-bytes 6.2.2", - "async-channel 1.9.0", - "async-trait", - "asynchronous-codec", - "bytes", - "either", - "fnv", - "futures", - "futures-timer", - "ip_network", - "libp2p", - "linked_hash_set", - "log", - "mockall", - "parity-scale-codec", - "parking_lot 0.12.1", - "partial_sort", - "pin-project", - "rand 0.8.5", - "sc-client-api 26.0.0", - "sc-network-common 0.31.0", - "sc-utils 12.0.0", + "sc-client-api", + "sc-network-common", + "sc-utils", "serde", "serde_json", "smallvec", - "sp-arithmetic 21.0.0", - "sp-blockchain 26.0.0", - "sp-core 26.0.0", - "sp-runtime 29.0.0", + "sp-arithmetic", + "sp-blockchain", + "sp-core", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", "unsigned-varint", @@ -10758,10 +10503,10 @@ dependencies = [ "log", "prost", "prost-build", - "sc-client-api 25.0.0", - "sc-network 0.31.0", - "sp-blockchain 25.0.0", - "sp-runtime 28.0.0", + "sc-client-api", + "sc-network", + "sp-blockchain", + "sp-runtime", "thiserror", "unsigned-varint", ] @@ -10778,28 +10523,10 @@ dependencies = [ "libp2p-identity", "parity-scale-codec", "prost-build", - "sc-consensus 0.30.0", - "sp-consensus 0.29.0", - "sp-consensus-grandpa 10.0.0", - "sp-runtime 28.0.0", -] - -[[package]] -name = "sc-network-common" -version = "0.31.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc64798cde0ccd182d11540a1e118a7fe58cf2b3122cca01ae83870a7aa9d3a9" -dependencies = [ - "async-trait", - "bitflags 1.3.2", - "futures", - "libp2p-identity", - "parity-scale-codec", - "prost-build", - "sc-consensus 0.31.0", - "sp-consensus 0.30.0", - "sp-consensus-grandpa 11.0.0", - "sp-runtime 29.0.0", + "sc-consensus", + "sp-consensus", + "sp-consensus-grandpa", + "sp-runtime", ] [[package]] @@ -10813,10 +10540,10 @@ dependencies = [ "futures-timer", "libp2p", "log", - "sc-network 0.31.0", - "sc-network-common 0.30.0", + "sc-network", + "sc-network-common", "schnellru", - "sp-runtime 28.0.0", + "sp-runtime", "substrate-prometheus-endpoint", "tracing", ] @@ -10835,11 +10562,11 @@ dependencies = [ "parity-scale-codec", "prost", "prost-build", - "sc-client-api 25.0.0", - "sc-network 0.31.0", - "sp-blockchain 25.0.0", - "sp-core 25.0.0", - "sp-runtime 28.0.0", + "sc-client-api", + "sc-network", + "sp-blockchain", + "sp-core", + "sp-runtime", "thiserror", ] @@ -10861,19 +10588,19 @@ dependencies = [ "parity-scale-codec", "prost", "prost-build", - "sc-client-api 25.0.0", - "sc-consensus 0.30.0", - "sc-network 0.31.0", - "sc-network-common 0.30.0", - "sc-utils 11.0.0", + "sc-client-api", + "sc-consensus", + "sc-network", + "sc-network-common", + "sc-utils", "schnellru", "smallvec", - "sp-arithmetic 20.0.0", - "sp-blockchain 25.0.0", - "sp-consensus 0.29.0", - "sp-consensus-grandpa 10.0.0", - "sp-core 25.0.0", - "sp-runtime 28.0.0", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", + "sp-consensus-grandpa", + "sp-core", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", "tokio-stream", @@ -10890,11 +10617,11 @@ dependencies = [ "libp2p", "log", "parity-scale-codec", - "sc-network 0.31.0", - "sc-network-common 0.30.0", - "sc-utils 11.0.0", - "sp-consensus 0.29.0", - "sp-runtime 28.0.0", + "sc-network", + "sc-network-common", + "sc-utils", + "sp-consensus", + "sp-runtime", "substrate-prometheus-endpoint", ] @@ -10918,17 +10645,17 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "rand 0.8.5", - "sc-client-api 25.0.0", - "sc-network 0.31.0", - "sc-network-common 0.30.0", - "sc-transaction-pool-api 25.0.0", - "sc-utils 11.0.0", - "sp-api 23.0.0", - "sp-core 25.0.0", + "sc-client-api", + "sc-network", + "sc-network-common", + "sc-transaction-pool-api", + "sc-utils", + "sp-api", + "sp-core", "sp-externalities", - "sp-keystore 0.31.0", + "sp-keystore", "sp-offchain", - "sp-runtime 28.0.0", + "sp-runtime", "threadpool", "tracing", ] @@ -10955,24 +10682,24 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "sc-block-builder", - "sc-chain-spec 24.0.0", - "sc-client-api 25.0.0", - "sc-mixnet 0.1.0", - "sc-rpc-api 0.30.0", + "sc-chain-spec", + "sc-client-api", + "sc-mixnet", + "sc-rpc-api", "sc-tracing", - "sc-transaction-pool-api 25.0.0", - "sc-utils 11.0.0", + "sc-transaction-pool-api", + "sc-utils", "serde_json", - "sp-api 23.0.0", - "sp-blockchain 25.0.0", - "sp-core 25.0.0", - "sp-keystore 0.31.0", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-keystore", "sp-offchain", - "sp-rpc 23.0.0", - "sp-runtime 28.0.0", + "sp-rpc", + "sp-runtime", "sp-session", - "sp-statement-store 7.0.0", - "sp-version 26.0.0", + "sp-statement-store", + "sp-version", "tokio", ] @@ -10984,37 +10711,16 @@ checksum = "def499ac717db8442fe18543e52330d5f105027b666df73c0b38e81e9105078b" dependencies = [ "jsonrpsee", "parity-scale-codec", - "sc-chain-spec 24.0.0", - "sc-mixnet 0.1.0", - "sc-transaction-pool-api 25.0.0", + "sc-chain-spec", + "sc-mixnet", + "sc-transaction-pool-api", "scale-info", "serde", "serde_json", - "sp-core 25.0.0", - "sp-rpc 23.0.0", - "sp-runtime 28.0.0", - "sp-version 26.0.0", - "thiserror", -] - -[[package]] -name = "sc-rpc-api" -version = "0.31.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e10c23e0454aa53ad9f2b0532aed31891492d7eec2a5f2c497b17684ef7f8f3a" -dependencies = [ - "jsonrpsee", - "parity-scale-codec", - "sc-chain-spec 25.0.0", - "sc-mixnet 0.2.0", - "sc-transaction-pool-api 26.0.0", - "scale-info", - "serde", - "serde_json", - "sp-core 26.0.0", - "sp-rpc 24.0.0", - "sp-runtime 29.0.0", - "sp-version 27.0.0", + "sp-core", + "sp-rpc", + "sp-runtime", + "sp-version", "thiserror", ] @@ -11048,16 +10754,16 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sc-chain-spec 24.0.0", - "sc-client-api 25.0.0", - "sc-transaction-pool-api 25.0.0", - "sc-utils 11.0.0", + "sc-chain-spec", + "sc-client-api", + "sc-transaction-pool-api", + "sc-utils", "serde", - "sp-api 23.0.0", - "sp-blockchain 25.0.0", - "sp-core 25.0.0", - "sp-runtime 28.0.0", - "sp-version 26.0.0", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-runtime", + "sp-version", "thiserror", "tokio", "tokio-stream", @@ -11081,16 +10787,16 @@ dependencies = [ "pin-project", "rand 0.8.5", "sc-block-builder", - "sc-chain-spec 24.0.0", - "sc-client-api 25.0.0", + "sc-chain-spec", + "sc-client-api", "sc-client-db", - "sc-consensus 0.30.0", - "sc-executor 0.29.0", + "sc-consensus", + "sc-executor", "sc-informant", "sc-keystore", - "sc-network 0.31.0", + "sc-network", "sc-network-bitswap", - "sc-network-common 0.30.0", + "sc-network-common", "sc-network-light", "sc-network-sync", "sc-network-transactions", @@ -11098,27 +10804,27 @@ dependencies = [ "sc-rpc-server", "sc-rpc-spec-v2", "sc-sysinfo", - "sc-telemetry 12.0.0", + "sc-telemetry", "sc-tracing", "sc-transaction-pool", - "sc-transaction-pool-api 25.0.0", - "sc-utils 11.0.0", + "sc-transaction-pool-api", + "sc-utils", "serde", "serde_json", - "sp-api 23.0.0", - "sp-blockchain 25.0.0", - "sp-consensus 0.29.0", - "sp-core 25.0.0", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", "sp-externalities", - "sp-keystore 0.31.0", - "sp-runtime 28.0.0", + "sp-keystore", + "sp-runtime", "sp-session", - "sp-state-machine 0.32.0", + "sp-state-machine", "sp-storage", "sp-transaction-pool", "sp-transaction-storage-proof", - "sp-trie 26.0.0", - "sp-version 26.0.0", + "sp-trie", + "sp-version", "static_init", "substrate-prometheus-endpoint", "tempfile", @@ -11137,7 +10843,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sp-core 25.0.0", + "sp-core", ] [[package]] @@ -11150,7 +10856,7 @@ dependencies = [ "fs4", "log", "sc-client-db", - "sp-core 25.0.0", + "sp-core", "thiserror", "tokio", ] @@ -11163,15 +10869,15 @@ checksum = "fe1efc0811813b73b9bb6eccc630ccd43d13b4306255a41ef55b9304d32e64c2" dependencies = [ "jsonrpsee", "parity-scale-codec", - "sc-chain-spec 24.0.0", - "sc-client-api 25.0.0", + "sc-chain-spec", + "sc-client-api", "sc-consensus-babe", "sc-consensus-epochs", "sc-consensus-grandpa", "serde", "serde_json", - "sp-blockchain 25.0.0", - "sp-runtime 28.0.0", + "sp-blockchain", + "sp-runtime", "thiserror", ] @@ -11187,11 +10893,11 @@ dependencies = [ "rand 0.8.5", "rand_pcg", "regex", - "sc-telemetry 12.0.0", + "sc-telemetry", "serde", "serde_json", - "sp-core 25.0.0", - "sp-io 27.0.0", + "sp-core", + "sp-io", "sp-std", ] @@ -11208,27 +10914,7 @@ dependencies = [ "parking_lot 0.12.1", "pin-project", "rand 0.8.5", - "sc-utils 11.0.0", - "serde", - "serde_json", - "thiserror", - "wasm-timer", -] - -[[package]] -name = "sc-telemetry" -version = "13.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "815db4a24dfb16384cb4c9959e7546a0e6b4531ec3d7cef3a28641f95ac8e22e" -dependencies = [ - "chrono", - "futures", - "libp2p", - "log", - "parking_lot 0.12.1", - "pin-project", - "rand 0.8.5", - "sc-utils 12.0.0", + "sc-utils", "serde", "serde_json", "thiserror", @@ -11250,14 +10936,14 @@ dependencies = [ "parking_lot 0.12.1", "regex", "rustc-hash", - "sc-client-api 25.0.0", + "sc-client-api", "sc-tracing-proc-macro", "serde", - "sp-api 23.0.0", - "sp-blockchain 25.0.0", - "sp-core 25.0.0", - "sp-rpc 23.0.0", - "sp-runtime 28.0.0", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-rpc", + "sp-runtime", "sp-tracing", "thiserror", "tracing", @@ -11290,14 +10976,14 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sc-client-api 25.0.0", - "sc-transaction-pool-api 25.0.0", - "sc-utils 11.0.0", - "serde", - "sp-api 23.0.0", - "sp-blockchain 25.0.0", - "sp-core 25.0.0", - "sp-runtime 28.0.0", + "sc-client-api", + "sc-transaction-pool-api", + "sc-utils", + "serde", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-runtime", "sp-tracing", "sp-transaction-pool", "substrate-prometheus-endpoint", @@ -11315,26 +11001,9 @@ dependencies = [ "log", "parity-scale-codec", "serde", - "sp-blockchain 25.0.0", - "sp-core 25.0.0", - "sp-runtime 28.0.0", - "thiserror", -] - -[[package]] -name = "sc-transaction-pool-api" -version = "26.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0ce46a60b0791f45118691a21f673b958fc2ebefb650b1c707de49d0600dd17" -dependencies = [ - "async-trait", - "futures", - "log", - "parity-scale-codec", - "serde", - "sp-blockchain 26.0.0", - "sp-core 26.0.0", - "sp-runtime 29.0.0", + "sp-blockchain", + "sp-core", + "sp-runtime", "thiserror", ] @@ -11351,23 +11020,7 @@ dependencies = [ "log", "parking_lot 0.12.1", "prometheus", - "sp-arithmetic 20.0.0", -] - -[[package]] -name = "sc-utils" -version = "12.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb48b722884a98170e70e0be4d3aa23270c049dbbcf8728550b25a54941ad926" -dependencies = [ - "async-channel 1.9.0", - "futures", - "futures-timer", - "lazy_static", - "log", - "parking_lot 0.12.1", - "prometheus", - "sp-arithmetic 21.0.0", + "sp-arithmetic", ] [[package]] @@ -11617,8 +11270,8 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-core 25.0.0", - "sp-io 27.0.0", + "sp-core", + "sp-io", "sp-std", "teerex-primitives", "x509-cert", @@ -11707,7 +11360,7 @@ dependencies = [ "frame-executive", "frame-support", "frame-system", - "frame-system-rpc-runtime-api 23.0.0", + "frame-system-rpc-runtime-api", "frame-try-runtime", "hex", "hex-literal 0.3.4", @@ -11729,18 +11382,18 @@ dependencies = [ "polkadot-parachain-primitives", "polkadot-runtime-common", "scale-info", - "sp-api 23.0.0", - "sp-block-builder 23.0.0", + "sp-api", + "sp-block-builder", "sp-consensus-aura", - "sp-core 25.0.0", - "sp-inherents 23.0.0", - "sp-io 27.0.0", + "sp-core", + "sp-inherents", + "sp-io", "sp-offchain", - "sp-runtime 28.0.0", + "sp-runtime", "sp-session", "sp-std", "sp-transaction-pool", - "sp-version 26.0.0", + "sp-version", "staging-parachain-info", "staging-xcm", "staging-xcm-builder", @@ -11762,9 +11415,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", ] @@ -11830,7 +11483,7 @@ dependencies = [ "enumn", "parity-scale-codec", "paste", - "sp-runtime 28.0.0", + "sp-runtime", "sp-std", ] @@ -12026,60 +11679,23 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-api-proc-macro 12.0.0", - "sp-core 25.0.0", + "sp-api-proc-macro", + "sp-core", "sp-externalities", "sp-metadata-ir", - "sp-runtime 28.0.0", - "sp-state-machine 0.32.0", + "sp-runtime", + "sp-state-machine", "sp-std", - "sp-trie 26.0.0", - "sp-version 26.0.0", + "sp-trie", + "sp-version", "thiserror", ] [[package]] -name = "sp-api" -version = "24.0.0" +name = "sp-api-proc-macro" +version = "12.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4d3518f5454764fb2835b2a0f3b2ed23a432f5c0b7a81ff122ec68361c91de3" -dependencies = [ - "hash-db", - "log", - "parity-scale-codec", - "scale-info", - "sp-api-proc-macro 13.0.0", - "sp-core 26.0.0", - "sp-externalities", - "sp-metadata-ir", - "sp-runtime 29.0.0", - "sp-state-machine 0.33.0", - "sp-std", - "sp-trie 27.0.0", - "sp-version 27.0.0", - "thiserror", -] - -[[package]] -name = "sp-api-proc-macro" -version = "12.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a896941b2d27365a6f937ebce11e36d55132dc32104f6a48b4cd765b55efd252" -dependencies = [ - "Inflector", - "blake2 0.10.6", - "expander 2.0.0", - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 2.0.39", -] - -[[package]] -name = "sp-api-proc-macro" -version = "13.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66f4030c3fe4a7dfb720d9007c32be4c18a4431b934ded41138056d627937894" +checksum = "a896941b2d27365a6f937ebce11e36d55132dc32104f6a48b4cd765b55efd252" dependencies = [ "Inflector", "blake2 0.10.6", @@ -12099,22 +11715,8 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-std", -] - -[[package]] -name = "sp-application-crypto" -version = "28.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23030de8eae0272c705cf3e2ce0523a64708a6b53aa23f3cf9053ca63abd08d7" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 26.0.0", - "sp-io 28.0.0", + "sp-core", + "sp-io", "sp-std", ] @@ -12133,21 +11735,6 @@ dependencies = [ "static_assertions", ] -[[package]] -name = "sp-arithmetic" -version = "21.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9cf6e5c0c7c2e7be3a4a10af5316d2d40182915509a70f632a66c238a05c37b" -dependencies = [ - "integer-sqrt", - "num-traits", - "parity-scale-codec", - "scale-info", - "serde", - "sp-std", - "static_assertions", -] - [[package]] name = "sp-authority-discovery" version = "23.0.0" @@ -12156,9 +11743,9 @@ checksum = "e204d85bad6f02a5ae8fbba83c365e20459e979fd69db5575ba4b3ea1025ab3c" dependencies = [ "parity-scale-codec", "scale-info", - "sp-api 23.0.0", - "sp-application-crypto 27.0.0", - "sp-runtime 28.0.0", + "sp-api", + "sp-application-crypto", + "sp-runtime", "sp-std", ] @@ -12168,21 +11755,9 @@ version = "23.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6cd16df3d1cdad862d3e764f10f7675876b011e032907423fdfa377ae2ec8575" dependencies = [ - "sp-api 23.0.0", - "sp-inherents 23.0.0", - "sp-runtime 28.0.0", - "sp-std", -] - -[[package]] -name = "sp-block-builder" -version = "24.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cba989f1ce297e58bca29dda518abd221b5b1aa1e97bd8f55e1e35362d610e92" -dependencies = [ - "sp-api 24.0.0", - "sp-inherents 24.0.0", - "sp-runtime 29.0.0", + "sp-api", + "sp-inherents", + "sp-runtime", "sp-std", ] @@ -12197,30 +11772,11 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "schnellru", - "sp-api 23.0.0", - "sp-consensus 0.29.0", + "sp-api", + "sp-consensus", "sp-database", - "sp-runtime 28.0.0", - "sp-state-machine 0.32.0", - "thiserror", -] - -[[package]] -name = "sp-blockchain" -version = "26.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa62a9759f1b019b4dc053860a664e031a4a6d1104bdb8df5a64294c4ad58e66" -dependencies = [ - "futures", - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "schnellru", - "sp-api 24.0.0", - "sp-consensus 0.30.0", - "sp-database", - "sp-runtime 29.0.0", - "sp-state-machine 0.33.0", + "sp-runtime", + "sp-state-machine", "thiserror", ] @@ -12233,26 +11789,10 @@ dependencies = [ "async-trait", "futures", "log", - "sp-core 25.0.0", - "sp-inherents 23.0.0", - "sp-runtime 28.0.0", - "sp-state-machine 0.32.0", - "thiserror", -] - -[[package]] -name = "sp-consensus" -version = "0.30.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d159cfbf35fcde8646397d669dcff0858e5d8370974599204b2a3074b6a5baa" -dependencies = [ - "async-trait", - "futures", - "log", - "sp-core 26.0.0", - "sp-inherents 24.0.0", - "sp-runtime 29.0.0", - "sp-state-machine 0.33.0", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", "thiserror", ] @@ -12265,11 +11805,11 @@ dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-api 23.0.0", - "sp-application-crypto 27.0.0", + "sp-api", + "sp-application-crypto", "sp-consensus-slots", - "sp-inherents 23.0.0", - "sp-runtime 28.0.0", + "sp-inherents", + "sp-runtime", "sp-std", "sp-timestamp", ] @@ -12284,12 +11824,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 23.0.0", - "sp-application-crypto 27.0.0", + "sp-api", + "sp-application-crypto", "sp-consensus-slots", - "sp-core 25.0.0", - "sp-inherents 23.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-inherents", + "sp-runtime", "sp-std", "sp-timestamp", ] @@ -12304,12 +11844,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 23.0.0", - "sp-application-crypto 27.0.0", - "sp-core 25.0.0", - "sp-io 27.0.0", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-io", "sp-mmr-primitives", - "sp-runtime 28.0.0", + "sp-runtime", "sp-std", "strum 0.24.1", ] @@ -12325,30 +11865,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 23.0.0", - "sp-application-crypto 27.0.0", - "sp-core 25.0.0", - "sp-keystore 0.31.0", - "sp-runtime 28.0.0", - "sp-std", -] - -[[package]] -name = "sp-consensus-grandpa" -version = "11.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79d8491b15a0459116dbe3f82232df3a33da3ba9ea35b8e225d01b921b8f4696" -dependencies = [ - "finality-grandpa", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 24.0.0", - "sp-application-crypto 28.0.0", - "sp-core 26.0.0", - "sp-keystore 0.32.0", - "sp-runtime 29.0.0", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-keystore", + "sp-runtime", "sp-std", ] @@ -12400,7 +11921,7 @@ dependencies = [ "sp-core-hashing", "sp-debug-derive", "sp-externalities", - "sp-runtime-interface 21.0.0", + "sp-runtime-interface", "sp-std", "sp-storage", "ss58-registry", @@ -12412,54 +11933,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "sp-core" -version = "26.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0db34a19be2efa0398a9506a365392d93a85220856d55e0eb78165ad2e1bedc" -dependencies = [ - "array-bytes 6.2.2", - "bip39", - "bitflags 1.3.2", - "blake2 0.10.6", - "bounded-collections", - "bs58 0.5.0", - "dyn-clonable", - "ed25519-zebra 3.1.0", - "futures", - "hash-db", - "hash256-std-hasher", - "impl-serde", - "itertools 0.10.5", - "lazy_static", - "libsecp256k1", - "log", - "merlin 2.0.1", - "parity-scale-codec", - "parking_lot 0.12.1", - "paste", - "primitive-types", - "rand 0.8.5", - "regex", - "scale-info", - "schnorrkel 0.9.1", - "secp256k1", - "secrecy", - "serde", - "sp-core-hashing", - "sp-debug-derive", - "sp-externalities", - "sp-runtime-interface 22.0.0", - "sp-std", - "sp-storage", - "ss58-registry", - "substrate-bip39", - "thiserror", - "tracing", - "w3f-bls", - "zeroize", -] - [[package]] name = "sp-core-hashing" version = "13.0.0" @@ -12525,20 +11998,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a0cb71d40ad47e40bdcce5ae5531c7d7ba579cd495a0e0413642fb063fa66f84" dependencies = [ "serde_json", - "sp-api 23.0.0", - "sp-runtime 28.0.0", - "sp-std", -] - -[[package]] -name = "sp-genesis-builder" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65de7e1d4de8ac2645913ed7202c71ba5783e39286f2be40f0c45a8e472ad9fd" -dependencies = [ - "serde_json", - "sp-api 24.0.0", - "sp-runtime 29.0.0", + "sp-api", + "sp-runtime", "sp-std", ] @@ -12552,22 +12013,7 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 28.0.0", - "sp-std", - "thiserror", -] - -[[package]] -name = "sp-inherents" -version = "24.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c681a65a707014d505bf675e452c28b02eb55d9499f2407b85feef651fce0c2e" -dependencies = [ - "async-trait", - "impl-trait-for-tuples", - "parity-scale-codec", - "scale-info", - "sp-runtime 29.0.0", + "sp-runtime", "sp-std", "thiserror", ] @@ -12585,39 +12031,14 @@ dependencies = [ "parity-scale-codec", "rustversion", "secp256k1", - "sp-core 25.0.0", - "sp-externalities", - "sp-keystore 0.31.0", - "sp-runtime-interface 21.0.0", - "sp-state-machine 0.32.0", - "sp-std", - "sp-tracing", - "sp-trie 26.0.0", - "tracing", - "tracing-core", -] - -[[package]] -name = "sp-io" -version = "28.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "301c0ce94f80b324465a6f6173183aa07b26bd71d67f94a44de1fd11dea4a7cb" -dependencies = [ - "bytes", - "ed25519-dalek", - "libsecp256k1", - "log", - "parity-scale-codec", - "rustversion", - "secp256k1", - "sp-core 26.0.0", + "sp-core", "sp-externalities", - "sp-keystore 0.32.0", - "sp-runtime-interface 22.0.0", - "sp-state-machine 0.33.0", + "sp-keystore", + "sp-runtime-interface", + "sp-state-machine", "sp-std", "sp-tracing", - "sp-trie 27.0.0", + "sp-trie", "tracing", "tracing-core", ] @@ -12629,8 +12050,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "655ec0b35cb9cb9029fb323aa676b07d58deb872cecc7566e50278409a00ee95" dependencies = [ "lazy_static", - "sp-core 25.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-runtime", "strum 0.24.1", ] @@ -12642,20 +12063,7 @@ checksum = "8b8ec5ebbba70bee83d79c3fe5e49f12df0a4bb6029858ddf9a15eea7539a592" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", - "sp-core 25.0.0", - "sp-externalities", - "thiserror", -] - -[[package]] -name = "sp-keystore" -version = "0.32.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1db18ab01b2684856904c973d2be7dbf9ab3607cf706a7bd6648812662e5e7c5" -dependencies = [ - "parity-scale-codec", - "parking_lot 0.12.1", - "sp-core 26.0.0", + "sp-core", "sp-externalities", "thiserror", ] @@ -12670,16 +12078,6 @@ dependencies = [ "zstd 0.12.4", ] -[[package]] -name = "sp-maybe-compressed-blob" -version = "10.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0950218edb5c5fb4867e28814d7b13c13a3c80ea37f356dc410437105a07cff8" -dependencies = [ - "thiserror", - "zstd 0.12.4", -] - [[package]] name = "sp-metadata-ir" version = "0.4.0" @@ -12700,21 +12098,8 @@ checksum = "bdf61f28ca97aab6c21a3c6e0ed496e60d505e5de1f43fd4ba748c9afaa4fc85" dependencies = [ "parity-scale-codec", "scale-info", - "sp-api 23.0.0", - "sp-application-crypto 27.0.0", - "sp-std", -] - -[[package]] -name = "sp-mixnet" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90618b86df9897ad175d05e65d7d34c1fbd90dd4a4de30c84ced3a020156ded0" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-api 24.0.0", - "sp-application-crypto 28.0.0", + "sp-api", + "sp-application-crypto", "sp-std", ] @@ -12729,10 +12114,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 23.0.0", - "sp-core 25.0.0", + "sp-api", + "sp-core", "sp-debug-derive", - "sp-runtime 28.0.0", + "sp-runtime", "sp-std", "thiserror", ] @@ -12746,9 +12131,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 20.0.0", - "sp-core 25.0.0", - "sp-runtime 28.0.0", + "sp-arithmetic", + "sp-core", + "sp-runtime", "sp-std", ] @@ -12758,9 +12143,9 @@ version = "23.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9310227f043ed99877b0449a683025a7461431a00995dcd6ef423a273d0fd85d" dependencies = [ - "sp-api 23.0.0", - "sp-core 25.0.0", - "sp-runtime 28.0.0", + "sp-api", + "sp-core", + "sp-runtime", ] [[package]] @@ -12782,18 +12167,7 @@ checksum = "51867fea921f54bbaa2bf505f373559b5f3b80e8d7f38ecb9677f0d3795a3e6a" dependencies = [ "rustc-hash", "serde", - "sp-core 25.0.0", -] - -[[package]] -name = "sp-rpc" -version = "24.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd589c99b9cd8dae7bca25339153bb48e091c6aef738c7205dfe9dfdc4272968" -dependencies = [ - "rustc-hash", - "serde", - "sp-core 26.0.0", + "sp-core", ] [[package]] @@ -12811,35 +12185,12 @@ dependencies = [ "rand 0.8.5", "scale-info", "serde", - "sp-application-crypto 27.0.0", - "sp-arithmetic 20.0.0", - "sp-core 25.0.0", - "sp-io 27.0.0", + "sp-application-crypto", + "sp-arithmetic", + "sp-core", + "sp-io", "sp-std", - "sp-weights 24.0.0", -] - -[[package]] -name = "sp-runtime" -version = "29.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "082bae4a164b8b629ce9cee79ff3c6b20e66d11d8ef37398796567d616325da4" -dependencies = [ - "either", - "hash256-std-hasher", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "paste", - "rand 0.8.5", - "scale-info", - "serde", - "sp-application-crypto 28.0.0", - "sp-arithmetic 21.0.0", - "sp-core 26.0.0", - "sp-io 28.0.0", - "sp-std", - "sp-weights 25.0.0", + "sp-weights", ] [[package]] @@ -12861,25 +12212,6 @@ dependencies = [ "static_assertions", ] -[[package]] -name = "sp-runtime-interface" -version = "22.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "695bba5d981a6fd3131b098d65f620601bd822501612bfb65897d4bb660762b1" -dependencies = [ - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec", - "primitive-types", - "sp-externalities", - "sp-runtime-interface-proc-macro", - "sp-std", - "sp-storage", - "sp-tracing", - "sp-wasm-interface", - "static_assertions", -] - [[package]] name = "sp-runtime-interface-proc-macro" version = "15.0.0" @@ -12901,10 +12233,10 @@ checksum = "248dd8f49aa96b56bf0a7d513691ddb4194f9359fdb93e94397eabdef1036085" dependencies = [ "parity-scale-codec", "scale-info", - "sp-api 23.0.0", - "sp-core 25.0.0", - "sp-keystore 0.31.0", - "sp-runtime 28.0.0", + "sp-api", + "sp-core", + "sp-keystore", + "sp-runtime", "sp-staking", "sp-std", ] @@ -12919,8 +12251,8 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 25.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-runtime", "sp-std", ] @@ -12936,33 +12268,11 @@ dependencies = [ "parking_lot 0.12.1", "rand 0.8.5", "smallvec", - "sp-core 25.0.0", + "sp-core", "sp-externalities", "sp-panic-handler", "sp-std", - "sp-trie 26.0.0", - "thiserror", - "tracing", - "trie-db", -] - -[[package]] -name = "sp-state-machine" -version = "0.33.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df7c6680d9342c22c10d8272ebf9f0339b0e439b3e67b68f5627f9dfc6926a07" -dependencies = [ - "hash-db", - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "rand 0.8.5", - "smallvec", - "sp-core 26.0.0", - "sp-externalities", - "sp-panic-handler", - "sp-std", - "sp-trie 27.0.0", + "sp-trie", "thiserror", "tracing", "trie-db", @@ -12982,37 +12292,12 @@ dependencies = [ "rand 0.8.5", "scale-info", "sha2 0.10.7", - "sp-api 23.0.0", - "sp-application-crypto 27.0.0", - "sp-core 25.0.0", + "sp-api", + "sp-application-crypto", + "sp-core", "sp-externalities", - "sp-runtime 28.0.0", - "sp-runtime-interface 21.0.0", - "sp-std", - "thiserror", - "x25519-dalek 2.0.0", -] - -[[package]] -name = "sp-statement-store" -version = "8.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b160d6673b2f69de7fe133559363339a37c3d226d0d226abaf54d9dc9be0c04" -dependencies = [ - "aes-gcm", - "curve25519-dalek 4.1.1", - "ed25519-dalek", - "hkdf", - "parity-scale-codec", - "rand 0.8.5", - "scale-info", - "sha2 0.10.7", - "sp-api 24.0.0", - "sp-application-crypto 28.0.0", - "sp-core 26.0.0", - "sp-externalities", - "sp-runtime 29.0.0", - "sp-runtime-interface 22.0.0", + "sp-runtime", + "sp-runtime-interface", "sp-std", "thiserror", "x25519-dalek 2.0.0", @@ -13046,8 +12331,8 @@ checksum = "004a7f453240db80b2967c0e1c6411836efc7daa7afae98fd16202caa51460e0" dependencies = [ "async-trait", "parity-scale-codec", - "sp-inherents 23.0.0", - "sp-runtime 28.0.0", + "sp-inherents", + "sp-runtime", "sp-std", "thiserror", ] @@ -13071,8 +12356,8 @@ version = "23.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7cd2afe89c474339d15d06e73639171ebe4d280be6904d9349072103da21427" dependencies = [ - "sp-api 23.0.0", - "sp-runtime 28.0.0", + "sp-api", + "sp-runtime", ] [[package]] @@ -13084,11 +12369,11 @@ dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-core 25.0.0", - "sp-inherents 23.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-inherents", + "sp-runtime", "sp-std", - "sp-trie 26.0.0", + "sp-trie", ] [[package]] @@ -13108,32 +12393,7 @@ dependencies = [ "rand 0.8.5", "scale-info", "schnellru", - "sp-core 25.0.0", - "sp-std", - "thiserror", - "tracing", - "trie-db", - "trie-root", -] - -[[package]] -name = "sp-trie" -version = "27.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9c4bf89a5bd74f696cd1f23d83bb6abe6bd0abad1f3c70d4b0d7ebec4098cfe" -dependencies = [ - "ahash 0.8.3", - "hash-db", - "hashbrown 0.13.2", - "lazy_static", - "memory-db", - "nohash-hasher", - "parity-scale-codec", - "parking_lot 0.12.1", - "rand 0.8.5", - "scale-info", - "schnellru", - "sp-core 26.0.0", + "sp-core", "sp-std", "thiserror", "tracing", @@ -13153,25 +12413,7 @@ dependencies = [ "scale-info", "serde", "sp-core-hashing-proc-macro", - "sp-runtime 28.0.0", - "sp-std", - "sp-version-proc-macro", - "thiserror", -] - -[[package]] -name = "sp-version" -version = "27.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "603c3c40bf19dd3004b350e4fcc2a460f833e73dd514406c2361bfdd9795d019" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "parity-wasm", - "scale-info", - "serde", - "sp-core-hashing-proc-macro", - "sp-runtime 29.0.0", + "sp-runtime", "sp-std", "sp-version-proc-macro", "thiserror", @@ -13213,24 +12455,8 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-arithmetic 20.0.0", - "sp-core 25.0.0", - "sp-debug-derive", - "sp-std", -] - -[[package]] -name = "sp-weights" -version = "25.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1689f9594c2c4d09ede3d8a991a9eb900654e424fb00b62f2b370170af347acd" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "smallvec", - "sp-arithmetic 21.0.0", - "sp-core 26.0.0", + "sp-arithmetic", + "sp-core", "sp-debug-derive", "sp-std", ] @@ -13310,7 +12536,7 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-runtime 28.0.0", + "sp-runtime", "sp-std", ] @@ -13328,7 +12554,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-weights 24.0.0", + "sp-weights", "xcm-procedural", ] @@ -13346,11 +12572,11 @@ dependencies = [ "parity-scale-codec", "polkadot-parachain-primitives", "scale-info", - "sp-arithmetic 20.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-arithmetic", + "sp-io", + "sp-runtime", "sp-std", - "sp-weights 24.0.0", + "sp-weights", "staging-xcm", "staging-xcm-executor", ] @@ -13367,12 +12593,12 @@ dependencies = [ "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-arithmetic 20.0.0", - "sp-core 25.0.0", - "sp-io 27.0.0", - "sp-runtime 28.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", "sp-std", - "sp-weights 24.0.0", + "sp-weights", "staging-xcm", ] @@ -13494,38 +12720,18 @@ version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c241af714c378075b1185e574202cbb9105e849b8c9ea44ef87880bdb3e9a75" dependencies = [ - "frame-system-rpc-runtime-api 23.0.0", - "futures", - "jsonrpsee", - "log", - "parity-scale-codec", - "sc-rpc-api 0.30.0", - "sc-transaction-pool-api 25.0.0", - "sp-api 23.0.0", - "sp-block-builder 23.0.0", - "sp-blockchain 25.0.0", - "sp-core 25.0.0", - "sp-runtime 28.0.0", -] - -[[package]] -name = "substrate-frame-rpc-system" -version = "26.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d41c43510abbf9e53bd8c5a11f3d1a13a018cb05180e2c38851a347f6e812d1d" -dependencies = [ - "frame-system-rpc-runtime-api 24.0.0", + "frame-system-rpc-runtime-api", "futures", "jsonrpsee", "log", "parity-scale-codec", - "sc-rpc-api 0.31.0", - "sc-transaction-pool-api 26.0.0", - "sp-api 24.0.0", - "sp-block-builder 24.0.0", - "sp-blockchain 26.0.0", - "sp-core 26.0.0", - "sp-runtime 29.0.0", + "sc-rpc-api", + "sc-transaction-pool-api", + "sp-api", + "sp-block-builder", + "sp-blockchain", + "sp-core", + "sp-runtime", ] [[package]] @@ -13550,9 +12756,9 @@ dependencies = [ "async-trait", "jsonrpsee", "log", - "sc-rpc-api 0.30.0", + "sc-rpc-api", "serde", - "sp-runtime 28.0.0", + "sp-runtime", ] [[package]] @@ -13563,13 +12769,13 @@ checksum = "d57888ccce554552c535346893a497d2cfd232f15b6b676d130cdd5bf3f2ccea" dependencies = [ "jsonrpsee", "parity-scale-codec", - "sc-client-api 25.0.0", - "sc-rpc-api 0.30.0", + "sc-client-api", + "sc-rpc-api", "serde", - "sp-core 25.0.0", - "sp-runtime 28.0.0", - "sp-state-machine 0.32.0", - "sp-trie 26.0.0", + "sp-core", + "sp-runtime", + "sp-state-machine", + "sp-trie", "trie-db", ] @@ -13594,7 +12800,7 @@ dependencies = [ "cargo_metadata", "filetime", "parity-wasm", - "sp-maybe-compressed-blob 9.0.0", + "sp-maybe-compressed-blob", "strum 0.24.1", "tempfile", "toml 0.7.6", @@ -13706,8 +12912,8 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 25.0.0", - "sp-runtime 28.0.0", + "sp-core", + "sp-runtime", "sp-std", ] @@ -14317,25 +13523,25 @@ dependencies = [ "log", "parity-scale-codec", "sc-cli", - "sc-executor 0.29.0", + "sc-executor", "serde", "serde_json", - "sp-api 23.0.0", + "sp-api", "sp-consensus-aura", "sp-consensus-babe", - "sp-core 25.0.0", + "sp-core", "sp-debug-derive", "sp-externalities", - "sp-inherents 23.0.0", - "sp-io 27.0.0", - "sp-keystore 0.31.0", - "sp-rpc 23.0.0", - "sp-runtime 28.0.0", - "sp-state-machine 0.32.0", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-rpc", + "sp-runtime", + "sp-state-machine", "sp-timestamp", "sp-transaction-storage-proof", - "sp-version 26.0.0", - "sp-weights 24.0.0", + "sp-version", + "sp-weights", "substrate-rpc-client", "zstd 0.12.4", ] @@ -14978,7 +14184,7 @@ dependencies = [ "frame-support", "frame-system", "frame-system-benchmarking", - "frame-system-rpc-runtime-api 23.0.0", + "frame-system-rpc-runtime-api", "frame-try-runtime", "hex-literal 0.4.1", "log", @@ -15042,27 +14248,27 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api 23.0.0", - "sp-application-crypto 27.0.0", - "sp-arithmetic 20.0.0", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", "sp-authority-discovery", - "sp-block-builder 23.0.0", + "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core 25.0.0", - "sp-genesis-builder 0.4.0", - "sp-inherents 23.0.0", - "sp-io 27.0.0", + "sp-core", + "sp-genesis-builder", + "sp-inherents", + "sp-io", "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", - "sp-runtime 28.0.0", + "sp-runtime", "sp-session", "sp-staking", "sp-std", "sp-storage", "sp-transaction-pool", - "sp-version 26.0.0", + "sp-version", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -15080,9 +14286,9 @@ dependencies = [ "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core 25.0.0", - "sp-runtime 28.0.0", - "sp-weights 24.0.0", + "sp-core", + "sp-runtime", + "sp-weights", "staging-xcm", ] @@ -15495,7 +14701,7 @@ dependencies = [ "cumulus-primitives-core", "frame-support", "parity-scale-codec", - "sp-runtime 28.0.0", + "sp-runtime", "sp-std", "staging-xcm", ] diff --git a/Cargo.toml b/Cargo.toml index fc95a086..2c059ab6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -95,9 +95,10 @@ staging-xcm-executor = { version = "4.0.2", default-features = false } # std stuff cumulus-client-cli = "0.4.0" +cumulus-client-collator = "0.4.0" cumulus-client-consensus-aura = "0.4.0" cumulus-client-consensus-common = "0.4.0" -cumulus-client-consensus-relay-chain = "0.4.0" +cumulus-client-consensus-proposer = "0.4.0" cumulus-client-network = "0.4.0" cumulus-client-service = "0.4.0" cumulus-primitives-parachain-inherent = "0.4.0" @@ -106,7 +107,7 @@ cumulus-relay-chain-interface = "0.4.0" cumulus-relay-chain-minimal-node = "0.4.0" cumulus-relay-chain-rpc-interface = "0.4.0" frame-benchmarking-cli = "29.0.0" -frame-rpc-system = { version = "26.0.0", package = "substrate-frame-rpc-system" } +substrate-frame-rpc-system = "25.0.0" jsonrpsee = { version = "0.16.2", features = ["server"] } pallet-transaction-payment-rpc = "27.0.0" polkadot-cli = "4.0.0" diff --git a/polkadot-parachains/Cargo.toml b/polkadot-parachains/Cargo.toml index ba0b2102..1b6e34b8 100644 --- a/polkadot-parachains/Cargo.toml +++ b/polkadot-parachains/Cargo.toml @@ -67,7 +67,7 @@ substrate-prometheus-endpoint = { workspace = true } try-runtime-cli = { workspace = true } # RPC related dependencies -frame-rpc-system = { workspace = true } +substrate-frame-rpc-system = { workspace = true } jsonrpsee = { workspace = true } pallet-transaction-payment-rpc = { workspace = true } sc-transaction-pool-api = { workspace = true } @@ -76,9 +76,10 @@ substrate-state-trie-migration-rpc = { workspace = true } # Cumulus dependencies color-print = { workspace = true } cumulus-client-cli = { workspace = true } +cumulus-client-collator = { workspace = true } cumulus-client-consensus-aura = { workspace = true } cumulus-client-consensus-common = { workspace = true } -cumulus-client-consensus-relay-chain = { workspace = true } +cumulus-client-consensus-proposer = { workspace = true } cumulus-client-network = { workspace = true } cumulus-client-service = { workspace = true } cumulus-primitives-core = { workspace = true, features = ["std"] } diff --git a/polkadot-parachains/common/src/lib.rs b/polkadot-parachains/common/src/lib.rs index 313d02f8..eead4916 100644 --- a/polkadot-parachains/common/src/lib.rs +++ b/polkadot-parachains/common/src/lib.rs @@ -25,12 +25,14 @@ pub mod fee; pub mod xcm_config; pub use constants::*; -pub use opaque::*; pub use types::*; /// Common types of parachains. mod types { - use sp_runtime::traits::{IdentifyAccount, Verify}; + use sp_runtime::{ + generic, + traits::{BlakeTwo256, IdentifyAccount, Verify}, + }; /// An index to a block. pub type BlockNumber = u32; @@ -63,6 +65,11 @@ mod types { // Id used for identifying assets. pub type AssetIdForTrustBackedAssets = u32; + + /// The address format for describing accounts. + pub type Address = sp_runtime::MultiAddress; + /// Block header type as expected by this runtime. + pub type Header = generic::Header; } /// Common constants of parachains. @@ -104,13 +111,17 @@ mod constants { /// to even the core data structures. pub mod opaque { use super::*; - use sp_runtime::{generic, traits::BlakeTwo256}; - pub use sp_runtime::OpaqueExtrinsic as UncheckedExtrinsic; + use sp_runtime::{ + generic, + traits::{BlakeTwo256, Hash as HashT}, + }; /// Opaque block header type. pub type Header = generic::Header; /// Opaque block type. pub type Block = generic::Block; /// Opaque block identifier type. pub type BlockId = generic::BlockId; + /// Opaque block hash type. + pub type Hash = ::Output; } diff --git a/polkadot-parachains/integritee-runtime/src/lib.rs b/polkadot-parachains/integritee-runtime/src/lib.rs index 7487c08b..8ae84771 100644 --- a/polkadot-parachains/integritee-runtime/src/lib.rs +++ b/polkadot-parachains/integritee-runtime/src/lib.rs @@ -28,7 +28,6 @@ use frame_support::traits::{ fungible::HoldConsideration, tokens::PayFromAccount, ConstBool, EqualPrivilegeOnly, Imbalance, InstanceFilter, LinearStoragePrice, OnUnbalanced, }; -pub use opaque::*; use pallet_collective; use pallet_transaction_payment::{FeeDetails, RuntimeDispatchInfo}; use parity_scale_codec::{Decode, Encode, MaxEncodedLen}; @@ -67,14 +66,14 @@ use frame_system::{ }; pub use pallet_balances::Call as BalancesCall; pub use pallet_timestamp::Call as TimestampCall; -pub use parachains_common as common; -pub use parachains_common::{ - AccountId, Balance, BlockNumber, Hash, Header, Nonce, Signature, MILLISECS_PER_BLOCK, -}; use parachains_common::{ + fee::{SlowAdjustingFeeUpdate, WeightToFee}, AuraId, AVERAGE_ON_INITIALIZE_RATIO, DAYS, HOURS, MAXIMUM_BLOCK_WEIGHT, MINUTES, NORMAL_DISPATCH_RATIO, SLOT_DURATION, }; +pub use parachains_common::{ + AccountId, Address, Balance, BlockNumber, Hash, Header, Nonce, Signature, MILLISECS_PER_BLOCK, +}; use scale_info::TypeInfo; #[cfg(any(feature = "std", test))] pub use sp_runtime::BuildStorage; @@ -82,7 +81,6 @@ use sp_runtime::RuntimeDebug; pub use sp_runtime::{Perbill, Permill}; // TEE -use common::fee::{SlowAdjustingFeeUpdate, WeightToFee}; pub use pallet_claims; pub use pallet_enclave_bridge; pub use pallet_sidechain; @@ -101,16 +99,7 @@ pub type SessionHandlers = (); /// of data like extrinsics, allowing for them to continue syncing the network through upgrades /// to even the core data structures. pub mod opaque { - use super::*; - use sp_runtime::{generic, traits::BlakeTwo256}; - - pub use sp_runtime::OpaqueExtrinsic as UncheckedExtrinsic; - /// Opaque block header type. - pub type Header = generic::Header; - /// Opaque block type. - pub type Block = generic::Block; - /// Opaque block identifier type. - pub type BlockId = generic::BlockId; + pub use parachains_common::opaque::*; } impl_opaque_keys! { @@ -199,7 +188,7 @@ impl frame_system::Config for Runtime { type BaseCallFilter = frame_support::traits::Everything; type BlockWeights = RuntimeBlockWeights; type BlockLength = RuntimeBlockLength; - type Block = generic::Block; + type Block = Block; type AccountId = AccountId; type RuntimeCall = RuntimeCall; type Lookup = AccountIdLookup; @@ -820,14 +809,6 @@ construct_runtime!( } ); -/// The address format for describing accounts. -pub type Address = sp_runtime::MultiAddress; -/// Block type as expected by this runtime. -pub type Block = generic::Block; -/// A Block signed with a Justification -pub type SignedBlock = generic::SignedBlock; -/// BlockId type as expected by this runtime. -pub type BlockId = generic::BlockId; /// The SignedExtension to the basic transaction logic. pub type SignedExtra = ( frame_system::CheckNonZeroSender, @@ -844,6 +825,12 @@ pub type UncheckedExtrinsic = generic::UncheckedExtrinsic; /// Extrinsic type that has already been checked. pub type CheckedExtrinsic = generic::CheckedExtrinsic; +/// Block type as expected by this runtime. +pub type Block = generic::Block; +/// A Block signed with a Justification +pub type SignedBlock = generic::SignedBlock; +/// BlockId type as expected by this runtime. +pub type BlockId = generic::BlockId; /// Migrations to apply on runtime upgrade. pub type Migrations = (); diff --git a/polkadot-parachains/shell-runtime/src/lib.rs b/polkadot-parachains/shell-runtime/src/lib.rs index da0b7ac9..bc692ee3 100644 --- a/polkadot-parachains/shell-runtime/src/lib.rs +++ b/polkadot-parachains/shell-runtime/src/lib.rs @@ -50,13 +50,14 @@ pub use frame_support::{ StorageValue, }; use frame_system::limits::{BlockLength, BlockWeights}; -pub use parachains_common as common; +pub use pallet_balances::Call as BalancesCall; +pub use parachains_common::{ + AccountId, Address, Balance, BlockNumber, Hash, Header, Nonce, Signature, MILLISECS_PER_BLOCK, +}; use parachains_common::{ - AccountId, AuraId, Balance, BlockNumber, Hash, Header, Nonce, Signature, - AVERAGE_ON_INITIALIZE_RATIO, MAXIMUM_BLOCK_WEIGHT, NORMAL_DISPATCH_RATIO, SLOT_DURATION, + AuraId, AVERAGE_ON_INITIALIZE_RATIO, DAYS, HOURS, MAXIMUM_BLOCK_WEIGHT, MINUTES, + NORMAL_DISPATCH_RATIO, SLOT_DURATION, }; - -pub use pallet_balances::Call as BalancesCall; #[cfg(any(feature = "std", test))] pub use sp_runtime::BuildStorage; pub use sp_runtime::{Perbill, Permill}; @@ -75,16 +76,7 @@ pub type SessionHandlers = (); /// of data like extrinsics, allowing for them to continue syncing the network through upgrades /// to even the core data structures. pub mod opaque { - use super::*; - use sp_runtime::{generic, traits::BlakeTwo256}; - - pub use sp_runtime::OpaqueExtrinsic as UncheckedExtrinsic; - /// Opaque block header type. - pub type Header = generic::Header; - /// Opaque block type. - pub type Block = generic::Block; - /// Opaque block identifier type. - pub type BlockId = generic::BlockId; + pub use parachains_common::opaque::*; } impl_opaque_keys! { @@ -319,14 +311,6 @@ construct_runtime!( } ); -/// The address format for describing accounts. -pub type Address = sp_runtime::MultiAddress; -/// Block type as expected by this runtime. -pub type Block = generic::Block; -/// A Block signed with a Justification -pub type SignedBlock = generic::SignedBlock; -/// BlockId type as expected by this runtime. -pub type BlockId = generic::BlockId; /// The SignedExtension to the basic transaction logic. pub type SignedExtra = ( frame_system::CheckNonZeroSender, @@ -343,6 +327,12 @@ pub type UncheckedExtrinsic = generic::UncheckedExtrinsic; /// Extrinsic type that has already been checked. pub type CheckedExtrinsic = generic::CheckedExtrinsic; +/// Block type as expected by this runtime. +pub type Block = generic::Block; +/// A Block signed with a Justification +pub type SignedBlock = generic::SignedBlock; +/// BlockId type as expected by this runtime. +pub type BlockId = generic::BlockId; /// Executive: handles dispatch to the various modules. pub type Executive = frame_executive::Executive< diff --git a/polkadot-parachains/src/cli.rs b/polkadot-parachains/src/cli.rs index cf50577d..098f59b0 100644 --- a/polkadot-parachains/src/cli.rs +++ b/polkadot-parachains/src/cli.rs @@ -3,10 +3,6 @@ use std::path::PathBuf; /// Sub-commands supported by the collator. #[derive(Debug, clap::Subcommand)] pub enum Subcommand { - /// Key management CLI utilities - #[command(subcommand)] - Key(sc_cli::KeySubcommand), - /// Build a chain specification. BuildSpec(sc_cli::BuildSpecCmd), @@ -39,24 +35,21 @@ pub enum Subcommand { #[command(subcommand)] Benchmark(frame_benchmarking_cli::BenchmarkCmd), - /// Try some testing command against a specified runtime state. - #[cfg(feature = "try-runtime")] - TryRuntime(try_runtime_cli::TryRuntimeCmd), - - /// Errors since the binary was not build with `--features try-runtime`. - #[cfg(not(feature = "try-runtime"))] + /// Try-runtime has migrated to a standalone + /// [CLI](). The subcommand exists as a stub and + /// deprecation notice. It will be removed entirely some time after Janurary 2024. TryRuntime, } const AFTER_HELP_EXAMPLE: &str = color_print::cstr!( r#"Examples: - integritee-collator build-spec --disable-default-bootnode > plain-parachain-chainspec.json + parachain-template-node build-spec --disable-default-bootnode > plain-parachain-chainspec.json Export a chainspec for a local testnet in json format. - integritee-collator --chain plain-parachain-chainspec.json --tmp -- --chain rococo-local + parachain-template-node --chain plain-parachain-chainspec.json --tmp -- --chain rococo-local Launch a full node with chain specification loaded from plain-parachain-chainspec.json. - integritee-collator + parachain-template-node Launch a full node with default parachain local-testnet and relay chain rococo-local. - integritee-collator --collator + parachain-template-node --collator Launch a collator with default parachain local-testnet and relay chain rococo-local. "# ); diff --git a/polkadot-parachains/src/command.rs b/polkadot-parachains/src/command.rs index 09a316be..50e614bf 100644 --- a/polkadot-parachains/src/command.rs +++ b/polkadot-parachains/src/command.rs @@ -23,22 +23,17 @@ use crate::{ shell_rococo_config, shell_westend_config, GenesisKeys, RelayChain, ShellChainSpec, }, cli::{Cli, RelayChainCli, Subcommand}, - service::{ - new_partial, Block, IntegriteeParachainRuntimeExecutor, ShellParachainRuntimeExecutor, - }, + service::new_partial, }; -use cumulus_client_cli::generate_genesis_block; use cumulus_primitives_core::ParaId; use frame_benchmarking_cli::{BenchmarkCmd, SUBSTRATE_REFERENCE_HARDWARE}; use log::{info, warn}; -use parachains_common::AuraId; -use parity_scale_codec::Encode; +use parachain_runtime::Block; use sc_cli::{ ChainSpec, CliConfiguration, DefaultConfigurationValues, ImportParams, KeystoreParams, NetworkParams, Result, SharedParams, SubstrateCli, }; use sc_service::config::{BasePath, PrometheusConfig}; -use sp_core::hexdisplay::HexDisplay; use sp_runtime::traits::{AccountIdConversion, Block as BlockT}; use std::net::SocketAddr; @@ -199,47 +194,14 @@ impl SubstrateCli for RelayChainCli { } } -/// Creates partial components for the runtimes that are supported by the benchmarks. -macro_rules! construct_benchmark_partials { - ($config:expr, |$partials:ident| $code:expr) => { - if $config.chain_spec.is_shell() { - let $partials = new_partial::( - &$config, - crate::service::aura_build_import_queue::<_, AuraId>, - )?; - $code - } else { - let $partials = new_partial::( - &$config, - crate::service::aura_build_import_queue::<_, AuraId>, - )?; - $code - } - }; -} - macro_rules! construct_async_run { (|$components:ident, $cli:ident, $cmd:ident, $config:ident| $( $code:tt )* ) => {{ let runner = $cli.create_runner($cmd)?; - if runner.config().chain_spec.is_shell() { - runner.async_run(|$config| { - let $components = new_partial::( - &$config, - crate::service::aura_build_import_queue::<_, AuraId>, - )?; - let task_manager = $components.task_manager; - { $( $code )* }.map(|v| (v, task_manager)) - }) - } else { - runner.async_run(|$config| { - let $components = new_partial::( - &$config, - crate::service::aura_build_import_queue::<_, AuraId>, - )?; + runner.async_run(|$config| { + let $components = new_partial(&$config)?; let task_manager = $components.task_manager; { $( $code )* }.map(|v| (v, task_manager)) }) - } }} } @@ -272,9 +234,11 @@ pub fn run() -> Result<()> { Ok(cmd.run(components.client, components.import_queue)) }) }, - Some(Subcommand::Revert(cmd)) => construct_async_run!(|components, cli, cmd, config| { - Ok(cmd.run(components.client, components.backend, None)) - }), + Some(Subcommand::Revert(cmd)) => { + construct_async_run!(|components, cli, cmd, config| { + Ok(cmd.run(components.client, components.backend, None)) + }) + }, Some(Subcommand::PurgeChain(cmd)) => { let runner = cli.create_runner(cmd)?; @@ -289,15 +253,19 @@ pub fn run() -> Result<()> { &polkadot_cli, config.tokio_handle.clone(), ) - .map_err(|err| format!("Relay chain argument error: {}", err))?; + .map_err(|err| format!("Relay chain argument error: {}", err))?; cmd.run(config, polkadot_config) }) }, - Some(Subcommand::ExportGenesisState(cmd)) => - construct_async_run!(|components, cli, cmd, config| { - Ok(async move { cmd.run(&*config.chain_spec, &*components.client) }) - }), + Some(Subcommand::ExportGenesisState(cmd)) => { + let runner = cli.create_runner(cmd)?; + runner.sync_run(|config| { + let partials = new_partial(&config)?; + + cmd.run(&*config.chain_spec, &*partials.client) + }) + }, Some(Subcommand::ExportGenesisWasm(cmd)) => { let runner = cli.create_runner(cmd)?; runner.sync_run(|_config| { @@ -318,7 +286,8 @@ pub fn run() -> Result<()> { .into()) }, BenchmarkCmd::Block(cmd) => runner.sync_run(|config| { - construct_benchmark_partials!(config, |partials| cmd.run(partials.client)) + let partials = new_partial(&config)?; + cmd.run(partials.client) }), #[cfg(not(feature = "runtime-benchmarks"))] BenchmarkCmd::Storage(_) => @@ -327,15 +296,13 @@ pub fn run() -> Result<()> { to enable storage benchmarks." .into(), ) - .into()), + .into()), #[cfg(feature = "runtime-benchmarks")] BenchmarkCmd::Storage(cmd) => runner.sync_run(|config| { - construct_benchmark_partials!(config, |partials| { - let db = partials.backend.expose_db(); - let storage = partials.backend.expose_storage(); - - cmd.run(config, partials.client.clone(), db, storage) - }) + let partials = new_partial(&config)?; + let db = partials.backend.expose_db(); + let storage = partials.backend.expose_storage(); + cmd.run(config, partials.client.clone(), db, storage) }), BenchmarkCmd::Machine(cmd) => runner.sync_run(|config| cmd.run(&config, SUBSTRATE_REFERENCE_HARDWARE.clone())), @@ -345,33 +312,7 @@ pub fn run() -> Result<()> { _ => Err("Benchmarking sub-command unsupported".into()), } }, - #[cfg(feature = "try-runtime")] - Some(Subcommand::TryRuntime(cmd)) => { - use parachain_runtime::MILLISECS_PER_BLOCK; - use try_runtime_cli::block_building_info::timestamp_with_aura_info; - - let runner = cli.create_runner(cmd)?; - - type HostFunctions = - (sp_io::SubstrateHostFunctions, frame_benchmarking::benchmarking::HostFunctions); - - // grab the task manager. - let registry = &runner.config().prometheus_config.as_ref().map(|cfg| &cfg.registry); - let task_manager = - sc_service::TaskManager::new(runner.config().tokio_handle.clone(), *registry) - .map_err(|e| format!("Error: {:?}", e))?; - - let info_provider = timestamp_with_aura_info(MILLISECS_PER_BLOCK); - - runner.async_run(|_| { - Ok((cmd.run::(Some(info_provider)), task_manager)) - }) - }, - #[cfg(not(feature = "try-runtime"))] - Some(Subcommand::TryRuntime) => Err("Try-runtime was not enabled when building the node. \ - You can enable it with `--features try-runtime`." - .into()), - Some(Subcommand::Key(cmd)) => Ok(cmd.run(&cli)?), + Some(Subcommand::TryRuntime) => Err("The `try-runtime` subcommand has been migrated to a standalone CLI (https://github.com/paritytech/try-runtime-cli). It is no longer being maintained here and will be removed entirely some time after January 2024. Please remove this subcommand from your runtime and use the standalone CLI.".into()), None => { let runner = cli.create_runner(&cli.run.normalize())?; let collator_options = cli.run.collator_options(); @@ -408,36 +349,16 @@ pub fn run() -> Result<()> { info!("Parachain Account: {parachain_account}"); info!("Is collating: {}", if config.role.is_authority() { "yes" } else { "no" }); - if !collator_options.relay_chain_rpc_urls.is_empty() && - !cli.relay_chain_args.is_empty() - { - warn!( - "Detected relay chain node arguments together with --relay-chain-rpc-url. \ - This command starts a minimal Polkadot node that only uses a \ - network-related subset of all relay chain CLI options." - ); - } - - if config.chain_spec.is_shell() { - crate::service::start_generic_aura_node::( - config, - polkadot_config, - collator_options, - id, - hwbench, - ) - .await - .map(|r| r.0) - .map_err(Into::into) - } else { - crate::service::start_generic_aura_node::< - parachain_runtime::RuntimeApi, - AuraId, - >(config, polkadot_config, collator_options, id, hwbench) + crate::service::start_parachain_node( + config, + polkadot_config, + collator_options, + id, + hwbench, + ) .await .map(|r| r.0) .map_err(Into::into) - } }) }, } @@ -567,118 +488,3 @@ impl CliConfiguration for RelayChainCli { self.base.base.node_name() } } - -#[cfg(test)] -mod tests { - use crate::{ - chain_spec::{get_account_id_from_seed, get_from_seed}, - command::{Runtime, RuntimeResolver}, - }; - use sc_chain_spec::{ChainSpec, ChainSpecExtension, ChainSpecGroup, ChainType, Extension}; - use serde::{Deserialize, Serialize}; - use sp_core::sr25519; - use std::path::PathBuf; - use tempfile::TempDir; - - #[derive( - Debug, Clone, PartialEq, Serialize, Deserialize, ChainSpecGroup, ChainSpecExtension, Default, - )] - #[serde(deny_unknown_fields)] - pub struct Extensions1 { - pub attribute1: String, - pub attribute2: u32, - } - - #[derive( - Debug, Clone, PartialEq, Serialize, Deserialize, ChainSpecGroup, ChainSpecExtension, Default, - )] - #[serde(deny_unknown_fields)] - pub struct Extensions2 { - pub attribute_x: String, - pub attribute_y: String, - pub attribute_z: u32, - } - - fn store_configuration(dir: &TempDir, spec: Box) -> PathBuf { - let raw_output = true; - let json = sc_service::chain_ops::build_spec(&*spec, raw_output) - .expect("Failed to build json string"); - let mut cfg_file_path = dir.path().to_path_buf(); - cfg_file_path.push(spec.id()); - cfg_file_path.set_extension("json"); - std::fs::write(&cfg_file_path, json).expect("Failed to write to json file"); - cfg_file_path - } - - pub type DummyChainSpec = - sc_service::GenericChainSpec; - - pub fn create_default_with_extensions( - id: &str, - extension: E, - ) -> DummyChainSpec { - DummyChainSpec::from_genesis( - "Dummy local testnet", - id, - ChainType::Local, - move || { - crate::chain_spec::rococo_parachain::testnet_genesis( - get_account_id_from_seed::("Alice"), - vec![ - get_from_seed::("Alice"), - get_from_seed::("Bob"), - ], - vec![get_account_id_from_seed::("Alice")], - 1000.into(), - ) - }, - Vec::new(), - None, - None, - None, - None, - extension, - ) - } - - #[test] - fn test_resolve_runtime_for_different_configuration_files() { - let temp_dir = tempfile::tempdir().expect("Failed to access tempdir"); - - let path = store_configuration( - &temp_dir, - Box::new(create_default_with_extensions("shell-1", Extensions1::default())), - ); - assert_eq!(Runtime::Shell, path.runtime()); - - let path = store_configuration( - &temp_dir, - Box::new(create_default_with_extensions("shell-2", Extensions2::default())), - ); - assert_eq!(Runtime::Shell, path.runtime()); - - let path = store_configuration( - &temp_dir, - Box::new(create_default_with_extensions("seedling", Extensions2::default())), - ); - assert_eq!(Runtime::Seedling, path.runtime()); - - let path = store_configuration( - &temp_dir, - Box::new(crate::chain_spec::rococo_parachain::rococo_parachain_local_config()), - ); - assert_eq!(Runtime::Default, path.runtime()); - - let path = store_configuration( - &temp_dir, - Box::new(crate::chain_spec::statemint::statemine_local_config()), - ); - assert_eq!(Runtime::Statemine, path.runtime()); - - let path = store_configuration( - &temp_dir, - Box::new(crate::chain_spec::contracts::contracts_rococo_local_config()), - ); - assert_eq!(Runtime::ContractsRococo, path.runtime()); - } -} diff --git a/polkadot-parachains/src/main.rs b/polkadot-parachains/src/main.rs index f317b327..ba9f28b3 100644 --- a/polkadot-parachains/src/main.rs +++ b/polkadot-parachains/src/main.rs @@ -1,20 +1,4 @@ -// Copyright 2019-2021 Parity Technologies (UK) Ltd. -// This file is part of Cumulus. - -// Cumulus 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. - -// Cumulus 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 Cumulus. If not, see . - -//! Cumulus test parachain collator +//! Substrate Parachain Node Template CLI #![warn(missing_docs)] diff --git a/polkadot-parachains/src/rpc.rs b/polkadot-parachains/src/rpc.rs index 5f3d1caf..9193c5b3 100644 --- a/polkadot-parachains/src/rpc.rs +++ b/polkadot-parachains/src/rpc.rs @@ -7,7 +7,7 @@ use std::sync::Arc; -use parachains_common::{AccountId, Balance, Block, Nonce}; +use parachain_runtime::{opaque::Block, AccountId, Balance, Nonce}; use sc_client_api::AuxStore; pub use sc_rpc::{DenyUnsafe, SubscriptionTaskExecutor}; @@ -30,9 +30,8 @@ pub struct FullDeps { } /// Instantiate all RPC extensions. -pub fn create_full( +pub fn create_full( deps: FullDeps, - backend: Arc, ) -> Result> where C: ProvideRuntimeApi @@ -42,23 +41,18 @@ where + Send + Sync + 'static, - C::Api: frame_rpc_system::AccountNonceApi, C::Api: pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi, + C::Api: substrate_frame_rpc_system::AccountNonceApi, C::Api: BlockBuilder, P: TransactionPool + Sync + Send + 'static, - B: sc_client_api::Backend + Send + Sync + 'static, - B::State: sc_client_api::backend::StateBackend>, { - use frame_rpc_system::{System, SystemApiServer}; use pallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApiServer}; - use substrate_state_trie_migration_rpc::{StateMigration, StateMigrationApiServer}; + use substrate_frame_rpc_system::{System, SystemApiServer}; let mut module = RpcExtension::new(()); let FullDeps { client, pool, deny_unsafe } = deps; module.merge(System::new(client.clone(), pool, deny_unsafe).into_rpc())?; - module.merge(TransactionPayment::new(client.clone()).into_rpc())?; - module.merge(StateMigration::new(client.clone(), backend, deny_unsafe).into_rpc())?; - + module.merge(TransactionPayment::new(client).into_rpc())?; Ok(module) } diff --git a/polkadot-parachains/src/service.rs b/polkadot-parachains/src/service.rs index 6b22430c..b28ba7af 100644 --- a/polkadot-parachains/src/service.rs +++ b/polkadot-parachains/src/service.rs @@ -1,81 +1,45 @@ -// Copyright 2021 Integritee AG and Supercomputing Systems AG -// This file is part of the "Integritee parachain" and is -// based on Cumulus from Parity Technologies (UK) Ltd. +//! Service and ServiceFactory implementation. Specialized wrapper over substrate service. -// Integritee parachain 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. - -// Cumulus 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 Integritee parachain. If not, see . +// std +use std::{sync::Arc, time::Duration}; use cumulus_client_cli::CollatorOptions; -use cumulus_client_consensus_aura::{AuraConsensus, BuildAuraConsensusParams, SlotProportion}; -use cumulus_client_consensus_common::{ - ParachainBlockImport as TParachainBlockImport, ParachainCandidate, ParachainConsensus, +// Local Runtime Types +use parachain_runtime::{ + opaque::{Block, Hash}, + RuntimeApi, }; + +// Cumulus Imports +use cumulus_client_collator::service::CollatorService; +use cumulus_client_consensus_common::ParachainBlockImport as TParachainBlockImport; +use cumulus_client_consensus_proposer::Proposer; use cumulus_client_service::{ - build_network, build_relay_chain_interface, prepare_node_config, start_collator, - start_full_node, StartCollatorParams, StartFullNodeParams, -}; -use cumulus_primitives_core::{ - relay_chain::{Hash as PHash, PersistedValidationData}, - ParaId, + build_network, build_relay_chain_interface, prepare_node_config, start_relay_chain_tasks, + BuildNetworkParams, CollatorSybilResistance, DARecoveryProfile, StartRelayChainTasksParams, }; -use cumulus_relay_chain_interface::{RelayChainError, RelayChainInterface}; -use parity_scale_codec::Codec; -use sp_core::Pair; - -use jsonrpsee::RpcModule; - -use crate::rpc; -pub use parachains_common::{AccountId, Balance, Block, BlockNumber, Hash, Header, Nonce}; - -use cumulus_client_consensus_relay_chain::Verifier as RelayChainVerifier; -use futures::lock::Mutex; -use sc_consensus::{ - import_queue::{BasicQueue, Verifier as VerifierT}, - BlockImportParams, ImportQueue, +use cumulus_primitives_core::{relay_chain::CollatorPair, ParaId}; +use cumulus_relay_chain_interface::{OverseerHandle, RelayChainInterface}; + +// Substrate Imports +use frame_benchmarking_cli::SUBSTRATE_REFERENCE_HARDWARE; +use sc_client_api::Backend; +use sc_consensus::ImportQueue; +use sc_executor::{ + HeapAllocStrategy, NativeElseWasmExecutor, WasmExecutor, DEFAULT_HEAP_ALLOC_STRATEGY, }; -use sc_executor::{HeapAllocStrategy, WasmExecutor, DEFAULT_HEAP_ALLOC_STRATEGY}; -use sc_network::{config::FullNetworkConfiguration, NetworkBlock}; +use sc_network::NetworkBlock; use sc_network_sync::SyncingService; use sc_service::{Configuration, PartialComponents, TFullBackend, TFullClient, TaskManager}; use sc_telemetry::{Telemetry, TelemetryHandle, TelemetryWorker, TelemetryWorkerHandle}; -use sp_api::{ApiExt, ConstructRuntimeApi}; -use sp_consensus_aura::AuraApi; +use sc_transaction_pool_api::OffchainTransactionPoolFactory; use sp_keystore::KeystorePtr; -use sp_runtime::{ - app_crypto::AppCrypto, - traits::{BlakeTwo256, Header as HeaderT}, -}; -use std::{marker::PhantomData, sync::Arc, time::Duration}; use substrate_prometheus_endpoint::Registry; -#[cfg(not(feature = "runtime-benchmarks"))] -type HostFunctions = sp_io::SubstrateHostFunctions; - -#[cfg(feature = "runtime-benchmarks")] -type HostFunctions = - (sp_io::SubstrateHostFunctions, frame_benchmarking::benchmarking::HostFunctions); - -type ParachainClient = TFullClient>; - -type ParachainBackend = TFullBackend; - -type ParachainBlockImport = - TParachainBlockImport>, ParachainBackend>; - -/// Native executor instance. -pub struct IntegriteeParachainRuntimeExecutor; +/// Native executor type. +pub struct ParachainNativeExecutor; -impl sc_executor::NativeExecutionDispatch for IntegriteeParachainRuntimeExecutor { +impl sc_executor::NativeExecutionDispatch for ParachainNativeExecutor { type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions; fn dispatch(method: &str, data: &[u8]) -> Option> { @@ -87,61 +51,31 @@ impl sc_executor::NativeExecutionDispatch for IntegriteeParachainRuntimeExecutor } } -/// Native executor instance. -pub struct ShellParachainRuntimeExecutor; +type ParachainExecutor = NativeElseWasmExecutor; -impl sc_executor::NativeExecutionDispatch for ShellParachainRuntimeExecutor { - type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions; +type ParachainClient = TFullClient; - fn dispatch(method: &str, data: &[u8]) -> Option> { - shell_runtime::api::dispatch(method, data) - } +type ParachainBackend = TFullBackend; - fn native_version() -> sc_executor::NativeVersion { - shell_runtime::native_version() - } -} +type ParachainBlockImport = TParachainBlockImport, ParachainBackend>; /// Starts a `ServiceBuilder` for a full service. /// /// Use this macro if you don't actually need the full service, but just the builder in order to /// be able to perform chain operations. -pub fn new_partial( +pub fn new_partial( config: &Configuration, - build_import_queue: BIQ, ) -> Result< PartialComponents< - ParachainClient, + ParachainClient, ParachainBackend, (), - sc_consensus::DefaultImportQueue>, - sc_transaction_pool::FullPool>, - (ParachainBlockImport, Option, Option), + sc_consensus::DefaultImportQueue, + sc_transaction_pool::FullPool, + (ParachainBlockImport, Option, Option), >, sc_service::Error, -> -where - RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, - RuntimeApi::RuntimeApi: sp_transaction_pool::runtime_api::TaggedTransactionQueue - + sp_api::Metadata - + sp_session::SessionKeys - + sp_api::ApiExt< - Block, - StateBackend = sc_client_api::StateBackendFor, - > + sp_offchain::OffchainWorkerApi - + sp_block_builder::BlockBuilder, - sc_client_api::StateBackendFor: sp_api::StateBackend, - BIQ: FnOnce( - Arc>, - ParachainBlockImport, - &Configuration, - Option, - &TaskManager, - ) -> Result< - sc_consensus::DefaultImportQueue>, - sc_service::Error, - >, -{ +> { let telemetry = config .telemetry_endpoints .clone() @@ -156,14 +90,17 @@ where let heap_pages = config .default_heap_pages .map_or(DEFAULT_HEAP_ALLOC_STRATEGY, |h| HeapAllocStrategy::Static { extra_pages: h as _ }); - let executor = WasmExecutor::builder() + + let wasm = WasmExecutor::builder() .with_execution_method(config.wasm_method) - .with_max_runtime_instances(config.max_runtime_instances) - .with_runtime_cache_size(config.runtime_cache_size) .with_onchain_heap_alloc_strategy(heap_pages) .with_offchain_heap_alloc_strategy(heap_pages) + .with_max_runtime_instances(config.max_runtime_instances) + .with_runtime_cache_size(config.runtime_cache_size) .build(); + let executor = ParachainExecutor::new_with_wasm_executor(wasm); + let (client, backend, keystore_container, task_manager) = sc_service::new_full_parts::( config, @@ -213,63 +150,23 @@ where /// /// This is the actual implementation that is abstract over the executor and the runtime api. #[sc_tracing::logging::prefix_logs_with("Parachain")] -async fn start_node_impl( +async fn start_node_impl( parachain_config: Configuration, polkadot_config: Configuration, collator_options: CollatorOptions, para_id: ParaId, - _rpc_ext_builder: RB, - build_import_queue: BIQ, - build_consensus: BIC, hwbench: Option, -) -> sc_service::error::Result<(TaskManager, Arc>)> -where - RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, - RuntimeApi::RuntimeApi: sp_transaction_pool::runtime_api::TaggedTransactionQueue - + sp_api::Metadata - + sp_session::SessionKeys - + sp_api::ApiExt< - Block, - StateBackend = sc_client_api::StateBackendFor, - > + sp_offchain::OffchainWorkerApi - + sp_block_builder::BlockBuilder - + cumulus_primitives_core::CollectCollationInfo - + pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi - + frame_rpc_system::AccountNonceApi, - sc_client_api::StateBackendFor: sp_api::StateBackend, - RB: Fn(Arc>) -> Result, sc_service::Error>, - BIQ: FnOnce( - Arc>, - ParachainBlockImport, - &Configuration, - Option, - &TaskManager, - ) -> Result< - sc_consensus::DefaultImportQueue>, - sc_service::Error, - >, - BIC: FnOnce( - Arc>, - ParachainBlockImport, - Option<&Registry>, - Option, - &TaskManager, - Arc, - Arc>>, - Arc>, - KeystorePtr, - bool, - ) -> Result>, sc_service::Error>, -{ +) -> sc_service::error::Result<(TaskManager, Arc)> { let parachain_config = prepare_node_config(parachain_config); - let params = new_partial::(¶chain_config, build_import_queue)?; + let params = new_partial(¶chain_config)?; let (block_import, mut telemetry, telemetry_worker_handle) = params.other; + let net_config = sc_network::config::FullNetworkConfiguration::new(¶chain_config.network); let client = params.client.clone(); let backend = params.backend.clone(); - let mut task_manager = params.task_manager; + let (relay_chain_interface, collator_key) = build_relay_chain_interface( polkadot_config, ¶chain_config, @@ -279,20 +176,15 @@ where hwbench.clone(), ) .await - .map_err(|e| match e { - RelayChainError::Application(x) => x, - s => s.to_string().into(), - })?; + .map_err(|e| sc_service::Error::Application(Box::new(e) as Box<_>))?; - let force_authoring = parachain_config.force_authoring; let validator = parachain_config.role.is_authority(); let prometheus_registry = parachain_config.prometheus_registry().cloned(); let transaction_pool = params.transaction_pool.clone(); let import_queue_service = params.import_queue.service(); - let net_config = FullNetworkConfiguration::new(¶chain_config.network); let (network, system_rpc_tx, tx_handler_controller, start_network, sync_service) = - build_network(cumulus_client_service::BuildNetworkParams { + build_network(BuildNetworkParams { parachain_config: ¶chain_config, net_config, client: client.clone(), @@ -301,22 +193,45 @@ where spawn_handle: task_manager.spawn_handle(), relay_chain_interface: relay_chain_interface.clone(), import_queue: params.import_queue, + sybil_resistance_level: CollatorSybilResistance::Resistant, // because of Aura }) .await?; + if parachain_config.offchain_worker.enabled { + use futures::FutureExt; + + task_manager.spawn_handle().spawn( + "offchain-workers-runner", + "offchain-work", + sc_offchain::OffchainWorkers::new(sc_offchain::OffchainWorkerOptions { + runtime_api_provider: client.clone(), + keystore: Some(params.keystore_container.keystore()), + offchain_db: backend.offchain_storage(), + transaction_pool: Some(OffchainTransactionPoolFactory::new( + transaction_pool.clone(), + )), + network_provider: network.clone(), + is_validator: parachain_config.role.is_authority(), + enable_http_requests: false, + custom_extensions: move |_| vec![], + }) + .run(client.clone(), task_manager.spawn_handle()) + .boxed(), + ); + } + let rpc_builder = { let client = client.clone(); let transaction_pool = transaction_pool.clone(); - let backend_for_rpc = backend.clone(); Box::new(move |deny_unsafe, _| { - let deps = rpc::FullDeps { + let deps = crate::rpc::FullDeps { client: client.clone(), pool: transaction_pool.clone(), deny_unsafe, }; - rpc::create_full(deps, backend_for_rpc.clone()).map_err(Into::into) + crate::rpc::create_full(deps).map_err(Into::into) }) }; @@ -327,7 +242,7 @@ where task_manager: &mut task_manager, config: parachain_config, keystore: params.keystore_container.keystore(), - backend: backend.clone(), + backend, network: network.clone(), sync_service: sync_service.clone(), system_rpc_tx, @@ -337,8 +252,13 @@ where if let Some(hwbench) = hwbench { sc_sysinfo::print_hwbench(&hwbench); - if validator { - warn_if_slow_hardware(&hwbench); + // Here you can check whether the hardware meets your chains' requirements. Putting a link + // in there and swapping out the requirements for your own are probably a good idea. The + // requirements for a para-chain are dictated by its relay-chain. + if !SUBSTRATE_REFERENCE_HARDWARE.check_hardware(&hwbench) && validator { + log::warn!( + "⚠️ The hardware does not meet the minimal requirements for role 'Authority'." + ); } if let Some(ref mut telemetry) = telemetry { @@ -361,8 +281,26 @@ where let overseer_handle = relay_chain_interface .overseer_handle() .map_err(|e| sc_service::Error::Application(Box::new(e)))?; + + start_relay_chain_tasks(StartRelayChainTasksParams { + client: client.clone(), + announce_block: announce_block.clone(), + para_id, + relay_chain_interface: relay_chain_interface.clone(), + task_manager: &mut task_manager, + da_recovery_profile: if validator { + DARecoveryProfile::Collator + } else { + DARecoveryProfile::FullNode + }, + import_queue: import_queue_service, + relay_chain_slot_duration, + recovery_handle: Box::new(overseer_handle.clone()), + sync_service: sync_service.clone(), + })?; + if validator { - let parachain_consensus = build_consensus( + start_consensus( client.clone(), block_import, prometheus_registry.as_ref(), @@ -372,42 +310,12 @@ where transaction_pool, sync_service.clone(), params.keystore_container.keystore(), - force_authoring, - )?; - - let spawner = task_manager.spawn_handle(); - - let params = StartCollatorParams { - para_id, - block_status: client.clone(), - announce_block, - client: client.clone(), - task_manager: &mut task_manager, - relay_chain_interface: relay_chain_interface.clone(), - spawner, - parachain_consensus, - import_queue: import_queue_service, - collator_key: collator_key.expect("Command line arguments do not allow this. qed"), - sync_service: sync_service.clone(), relay_chain_slot_duration, - recovery_handle: Box::new(overseer_handle), - }; - - start_collator(params).await?; - } else { - let params = StartFullNodeParams { - client: client.clone(), - announce_block, - task_manager: &mut task_manager, para_id, - relay_chain_interface, - relay_chain_slot_duration, - import_queue: import_queue_service, - recovery_handle: Box::new(overseer_handle), - sync_service: sync_service.clone(), - }; - - start_full_node(params)?; + collator_key.expect("Command line arguments do not allow this. qed"), + overseer_handle, + announce_block, + )?; } start_network.start_network(); @@ -415,291 +323,113 @@ where Ok((task_manager, client)) } -enum BuildOnAccess { - Uninitialized(Option R + Send + Sync>>), - Initialized(R), -} - -impl BuildOnAccess { - fn get_mut(&mut self) -> &mut R { - loop { - match self { - Self::Uninitialized(f) => { - *self = Self::Initialized((f.take().unwrap())()); - }, - Self::Initialized(ref mut r) => return r, - } - } - } -} - -/// Special [`ParachainConsensus`] implementation that waits for the upgrade from -/// shell to a parachain runtime that implements Aura. -struct WaitForAuraConsensus { - client: Arc, - aura_consensus: Arc>>>>, - relay_chain_consensus: Arc>>>, - _phantom: PhantomData, +/// Build the import queue for the parachain runtime. +fn build_import_queue( + client: Arc, + block_import: ParachainBlockImport, + config: &Configuration, + telemetry: Option, + task_manager: &TaskManager, +) -> Result, sc_service::Error> { + let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; + + Ok(cumulus_client_consensus_aura::equivocation_import_queue::fully_verifying_import_queue::< + sp_consensus_aura::sr25519::AuthorityPair, + _, + _, + _, + _, + >( + client, + block_import, + move |_, _| async move { + let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); + Ok(timestamp) + }, + slot_duration, + &task_manager.spawn_essential_handle(), + config.prometheus_registry(), + telemetry, + )) } -impl Clone for WaitForAuraConsensus { - fn clone(&self) -> Self { - Self { - client: self.client.clone(), - aura_consensus: self.aura_consensus.clone(), - relay_chain_consensus: self.relay_chain_consensus.clone(), - _phantom: PhantomData, - } - } -} +fn start_consensus( + client: Arc, + block_import: ParachainBlockImport, + prometheus_registry: Option<&Registry>, + telemetry: Option, + task_manager: &TaskManager, + relay_chain_interface: Arc, + transaction_pool: Arc>, + sync_oracle: Arc>, + keystore: KeystorePtr, + relay_chain_slot_duration: Duration, + para_id: ParaId, + collator_key: CollatorPair, + overseer_handle: OverseerHandle, + announce_block: Arc>) + Send + Sync>, +) -> Result<(), sc_service::Error> { + use cumulus_client_consensus_aura::collators::basic::{ + self as basic_aura, Params as BasicAuraParams, + }; -#[async_trait::async_trait] -impl ParachainConsensus for WaitForAuraConsensus -where - Client: sp_api::ProvideRuntimeApi + Send + Sync, - Client::Api: AuraApi, - AuraId: Send + Codec + Sync, -{ - async fn produce_candidate( - &mut self, - parent: &Header, - relay_parent: PHash, - validation_data: &PersistedValidationData, - ) -> Option> { - if self - .client - .runtime_api() - .has_api::>(parent.hash()) - .unwrap_or(false) - { - self.aura_consensus - .lock() - .await - .get_mut() - .produce_candidate(parent, relay_parent, validation_data) - .await - } else { - self.relay_chain_consensus - .lock() - .await - .produce_candidate(parent, relay_parent, validation_data) - .await - } - } -} + // NOTE: because we use Aura here explicitly, we can use `CollatorSybilResistance::Resistant` + // when starting the network. -struct Verifier { - client: Arc, - aura_verifier: BuildOnAccess>>, - relay_chain_verifier: Box>, - _phantom: PhantomData, -} + let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; -#[async_trait::async_trait] -impl VerifierT for Verifier -where - Client: sp_api::ProvideRuntimeApi + Send + Sync, - Client::Api: AuraApi, - AuraId: Send + Sync + Codec, -{ - async fn verify( - &mut self, - block_import: BlockImportParams, - ) -> Result, String> { - if self - .client - .runtime_api() - .has_api::>(*block_import.header.parent_hash()) - .unwrap_or(false) - { - self.aura_verifier.get_mut().verify(block_import).await - } else { - self.relay_chain_verifier.verify(block_import).await - } - } -} + let proposer_factory = sc_basic_authorship::ProposerFactory::with_proof_recording( + task_manager.spawn_handle(), + client.clone(), + transaction_pool, + prometheus_registry, + telemetry.clone(), + ); -/// Build the import queue for Statemint and other Aura-based runtimes. -/// -/// Note: The integritee-runtime and the shell-runtime belong to these. -pub fn aura_build_import_queue( - client: Arc>, - block_import: ParachainBlockImport, - config: &Configuration, - telemetry_handle: Option, - task_manager: &TaskManager, -) -> Result>, sc_service::Error> -where - RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, - RuntimeApi::RuntimeApi: sp_transaction_pool::runtime_api::TaggedTransactionQueue - + sp_api::Metadata - + sp_session::SessionKeys - + sp_api::ApiExt< - Block, - StateBackend = sc_client_api::StateBackendFor, - > + sp_offchain::OffchainWorkerApi - + sp_block_builder::BlockBuilder - + sp_consensus_aura::AuraApi::Pair as Pair>::Public>, - sc_client_api::StateBackendFor: sp_api::StateBackend, - <::Pair as Pair>::Signature: - TryFrom> + std::hash::Hash + sp_runtime::traits::Member + Codec, -{ - let client2 = client.clone(); - - let aura_verifier = move || { - let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client2).unwrap(); - - Box::new(cumulus_client_consensus_aura::build_verifier::< - ::Pair, - _, - _, - _, - >(cumulus_client_consensus_aura::BuildVerifierParams { - client: client2.clone(), - create_inherent_data_providers: move |_, _| async move { - let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); - - let slot = - sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_slot_duration( - *timestamp, - slot_duration, - ); - - Ok((slot, timestamp)) - }, - telemetry: telemetry_handle, - })) as Box<_> - }; + let proposer = Proposer::new(proposer_factory); - let relay_chain_verifier = - Box::new(RelayChainVerifier::new(client.clone(), |_, _| async { Ok(()) })) as Box<_>; + let collator_service = CollatorService::new( + client.clone(), + Arc::new(task_manager.spawn_handle()), + announce_block, + client.clone(), + ); - let verifier = Verifier { - client: client.clone(), - relay_chain_verifier, - aura_verifier: BuildOnAccess::Uninitialized(Some(Box::new(aura_verifier))), - _phantom: PhantomData, + let params = BasicAuraParams { + create_inherent_data_providers: move |_, ()| async move { Ok(()) }, + block_import, + para_client: client, + relay_client: relay_chain_interface, + sync_oracle, + keystore, + collator_key, + para_id, + overseer_handle, + slot_duration, + relay_chain_slot_duration, + proposer, + collator_service, + // Very limited proposal time. + authoring_duration: Duration::from_millis(500), + collation_request_receiver: None, }; - let registry = config.prometheus_registry(); - let spawner = task_manager.spawn_essential_handle(); + let fut = + basic_aura::run::( + params, + ); + task_manager.spawn_essential_handle().spawn("aura", None, fut); - Ok(BasicQueue::new(verifier, Box::new(block_import), None, &spawner, registry)) + Ok(()) } -/// Start an aura powered parachain node. -/// (collective-polkadot and statemine/t use this) -pub async fn start_generic_aura_node( +/// Start a parachain node. +pub async fn start_parachain_node( parachain_config: Configuration, polkadot_config: Configuration, collator_options: CollatorOptions, para_id: ParaId, hwbench: Option, -) -> sc_service::error::Result<(TaskManager, Arc>)> -where - RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, - RuntimeApi::RuntimeApi: sp_transaction_pool::runtime_api::TaggedTransactionQueue - + sp_api::Metadata - + sp_session::SessionKeys - + sp_api::ApiExt< - Block, - StateBackend = sc_client_api::StateBackendFor, - > + sp_offchain::OffchainWorkerApi - + sp_block_builder::BlockBuilder - + cumulus_primitives_core::CollectCollationInfo - + sp_consensus_aura::AuraApi::Pair as Pair>::Public> - + pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi - + frame_rpc_system::AccountNonceApi, - sc_client_api::StateBackendFor: sp_api::StateBackend, - <::Pair as Pair>::Signature: - TryFrom> + std::hash::Hash + sp_runtime::traits::Member + Codec, -{ - start_node_impl::( - parachain_config, - polkadot_config, - collator_options, - para_id, - |_| Ok(RpcModule::new(())), - aura_build_import_queue::<_, AuraId>, - |client, - block_import, - prometheus_registry, - telemetry, - task_manager, - relay_chain_interface, - transaction_pool, - sync_oracle, - keystore, - force_authoring| { - let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client).unwrap(); - - let proposer_factory = sc_basic_authorship::ProposerFactory::with_proof_recording( - task_manager.spawn_handle(), - client.clone(), - transaction_pool, - prometheus_registry, - telemetry.clone(), - ); - - Ok(AuraConsensus::build::<::Pair, _, _, _, _, _, _>( - BuildAuraConsensusParams { - proposer_factory, - create_inherent_data_providers: move |_, (relay_parent, validation_data)| { - let relay_chain_interface = relay_chain_interface.clone(); - async move { - let parachain_inherent = - cumulus_primitives_parachain_inherent::ParachainInherentData::create_at( - relay_parent, - &relay_chain_interface, - &validation_data, - para_id, - ).await; - - let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); - - let slot = - sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_slot_duration( - *timestamp, - slot_duration, - ); - - let parachain_inherent = parachain_inherent.ok_or_else(|| { - Box::::from( - "Failed to create parachain inherent", - ) - })?; - - Ok((slot, timestamp, parachain_inherent)) - } - }, - block_import, - para_client: client, - backoff_authoring_blocks: Option::<()>::None, - sync_oracle, - keystore, - force_authoring, - slot_duration, - // We got around 500ms for proposing - block_proposal_slot_portion: SlotProportion::new(1f32 / 24f32), - // And a maximum of 750ms if slots are skipped - max_block_proposal_slot_portion: Some(SlotProportion::new(1f32 / 16f32)), - telemetry, - }, - )) - }, - hwbench, - ) - .await -} - -/// Checks that the hardware meets the requirements and print a warning otherwise. -fn warn_if_slow_hardware(hwbench: &sc_sysinfo::HwBench) { - // Polkadot para-chains should generally use these requirements to ensure that the relay-chain - // will not take longer than expected to import its blocks. - if !frame_benchmarking_cli::SUBSTRATE_REFERENCE_HARDWARE.check_hardware(hwbench) { - log::warn!( - "⚠️ The hardware does not meet the minimal requirements for role 'Authority' find out more at:\n\ - https://wiki.polkadot.network/docs/maintain-guides-how-to-validate-polkadot#reference-hardware" - ); - } +) -> sc_service::error::Result<(TaskManager, Arc)> { + start_node_impl(parachain_config, polkadot_config, collator_options, para_id, hwbench).await } From ecaa60966be0d6dfe3bb8819d2f248b96ff96e17 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Fri, 2 Feb 2024 11:11:22 +0100 Subject: [PATCH 06/29] split service file simplify maintenance --- polkadot-parachains/Cargo.toml | 10 +- polkadot-parachains/src/chain_spec.rs | 18 +- polkadot-parachains/src/cli.rs | 3 + polkadot-parachains/src/command.rs | 78 ++-- polkadot-parachains/src/main.rs | 5 + polkadot-parachains/src/rpc.rs | 5 +- polkadot-parachains/src/service.rs | 14 +- polkadot-parachains/src/service_shell.rs | 435 +++++++++++++++++++++++ 8 files changed, 525 insertions(+), 43 deletions(-) create mode 100644 polkadot-parachains/src/service_shell.rs diff --git a/polkadot-parachains/Cargo.toml b/polkadot-parachains/Cargo.toml index 1b6e34b8..3912c9d6 100644 --- a/polkadot-parachains/Cargo.toml +++ b/polkadot-parachains/Cargo.toml @@ -24,9 +24,9 @@ serde = { workspace = true } serde_json = { workspace = true } # Parachain runtimes -parachain-runtime = { package = "integritee-runtime", path = "integritee-runtime" } +integritee-runtime = { path = "integritee-runtime" } parachains-common = { path = "common" } -shell-runtime = { package = "shell-runtime", path = "shell-runtime" } +shell-runtime = { path = "shell-runtime" } # Substrate dependencies frame-benchmarking = { workspace = true, features = ["std"] } @@ -116,16 +116,16 @@ default = [] runtime-benchmarks = [ "try-runtime-cli/try-runtime", "polkadot-service/runtime-benchmarks", - "parachain-runtime/runtime-benchmarks", + "integritee-runtime/runtime-benchmarks", "shell-runtime/runtime-benchmarks", "polkadot-cli/runtime-benchmarks", ] fast-runtime = [ "polkadot-service/fast-runtime", - "parachain-runtime/fast-runtime", + "integritee-runtime/fast-runtime", ] try-runtime = [ "try-runtime-cli/try-runtime", - "parachain-runtime/try-runtime", + "integritee-runtime/try-runtime", "shell-runtime/try-runtime", ] diff --git a/polkadot-parachains/src/chain_spec.rs b/polkadot-parachains/src/chain_spec.rs index ba1cc105..974c3b69 100644 --- a/polkadot-parachains/src/chain_spec.rs +++ b/polkadot-parachains/src/chain_spec.rs @@ -17,7 +17,7 @@ #![allow(clippy::inconsistent_digit_grouping)] use cumulus_primitives_core::ParaId; -use parachain_runtime::{ +use integritee_runtime::{ CouncilConfig, DemocracyConfig, TechnicalCommitteeConfig, TeerexConfig, TEER, }; use parachains_common::{AccountId, AuraId}; @@ -30,7 +30,7 @@ use std::str::FromStr; /// Specialized `ChainSpec` for the normal parachain runtime. pub type IntegriteeChainSpec = - sc_service::GenericChainSpec; + sc_service::GenericChainSpec; /// Specialized `ChainSpec` for the shell parachain runtime. pub type ShellChainSpec = @@ -217,15 +217,15 @@ fn integritee_genesis_config( endowed_accounts: Vec, initial_authorities: Vec, id: ParaId, -) -> parachain_runtime::RuntimeGenesisConfig { - parachain_runtime::RuntimeGenesisConfig { - system: parachain_runtime::SystemConfig { - code: parachain_runtime::WASM_BINARY +) -> integritee_runtime::RuntimeGenesisConfig { + integritee_runtime::RuntimeGenesisConfig { + system: integritee_runtime::SystemConfig { + code: integritee_runtime::WASM_BINARY .expect("WASM binary was not build, please build it!") .to_vec(), _config: Default::default(), }, - balances: parachain_runtime::BalancesConfig { + balances: integritee_runtime::BalancesConfig { balances: endowed_accounts.iter().cloned().map(|k| (k, 1_000 * TEER)).collect(), }, democracy: DemocracyConfig::default(), @@ -235,11 +235,11 @@ fn integritee_genesis_config( members: vec![root_key], }, vesting: Default::default(), - parachain_info: parachain_runtime::ParachainInfoConfig { + parachain_info: integritee_runtime::ParachainInfoConfig { parachain_id: id, _config: Default::default(), }, - aura: parachain_runtime::AuraConfig { authorities: initial_authorities }, + aura: integritee_runtime::AuraConfig { authorities: initial_authorities }, aura_ext: Default::default(), parachain_system: Default::default(), polkadot_xcm: Default::default(), diff --git a/polkadot-parachains/src/cli.rs b/polkadot-parachains/src/cli.rs index 098f59b0..b88dd725 100644 --- a/polkadot-parachains/src/cli.rs +++ b/polkadot-parachains/src/cli.rs @@ -1,3 +1,6 @@ +//! this file has no customizations for integritee runtimes. Upon upgrades of polkadot-sdk, +//! just overwrite from parachain_template and replace name of runtime crate + use std::path::PathBuf; /// Sub-commands supported by the collator. diff --git a/polkadot-parachains/src/command.rs b/polkadot-parachains/src/command.rs index 50e614bf..890af779 100644 --- a/polkadot-parachains/src/command.rs +++ b/polkadot-parachains/src/command.rs @@ -15,6 +15,10 @@ // You should have received a copy of the GNU General Public License // along with Integritee parachain. If not, see . +//! +//! this file DOES HAVE CUSTOMIZATIONS for integritee runtimes. Upon upgrades of polkadot-sdk, +//! look for blocks with `is_shell()` branching + use crate::{ chain_spec, chain_spec::{ @@ -23,18 +27,17 @@ use crate::{ shell_rococo_config, shell_westend_config, GenesisKeys, RelayChain, ShellChainSpec, }, cli::{Cli, RelayChainCli, Subcommand}, - service::new_partial, }; use cumulus_primitives_core::ParaId; use frame_benchmarking_cli::{BenchmarkCmd, SUBSTRATE_REFERENCE_HARDWARE}; -use log::{info, warn}; -use parachain_runtime::Block; +use integritee_runtime::Block; +use log::info; use sc_cli::{ ChainSpec, CliConfiguration, DefaultConfigurationValues, ImportParams, KeystoreParams, NetworkParams, Result, SharedParams, SubstrateCli, }; use sc_service::config::{BasePath, PrometheusConfig}; -use sp_runtime::traits::{AccountIdConversion, Block as BlockT}; +use sp_runtime::traits::AccountIdConversion; use std::net::SocketAddr; const LOCAL_PARA_ID: u32 = 2015; @@ -197,11 +200,23 @@ impl SubstrateCli for RelayChainCli { macro_rules! construct_async_run { (|$components:ident, $cli:ident, $cmd:ident, $config:ident| $( $code:tt )* ) => {{ let runner = $cli.create_runner($cmd)?; - runner.async_run(|$config| { - let $components = new_partial(&$config)?; + if runner.config().chain_spec.is_shell() { + runner.async_run(|$config| { + let $components = crate::service_shell::new_partial( + &$config, + )?; + let task_manager = $components.task_manager; + { $( $code )* }.map(|v| (v, task_manager)) + }) + } else { + runner.async_run(|$config| { + let $components = crate::service::new_partial( + &$config, + )?; let task_manager = $components.task_manager; { $( $code )* }.map(|v| (v, task_manager)) }) + } }} } @@ -260,11 +275,18 @@ pub fn run() -> Result<()> { }, Some(Subcommand::ExportGenesisState(cmd)) => { let runner = cli.create_runner(cmd)?; - runner.sync_run(|config| { - let partials = new_partial(&config)?; + if runner.config().chain_spec.is_shell() { + runner.sync_run(|config| { + let partials = crate::service_shell::new_partial(&config)?; + cmd.run(&*config.chain_spec, &*partials.client) + }) - cmd.run(&*config.chain_spec, &*partials.client) - }) + } else { + runner.sync_run(|config| { + let partials = crate::service::new_partial(&config)?; + cmd.run(&*config.chain_spec, &*partials.client) + }) + } }, Some(Subcommand::ExportGenesisWasm(cmd)) => { let runner = cli.create_runner(cmd)?; @@ -286,7 +308,8 @@ pub fn run() -> Result<()> { .into()) }, BenchmarkCmd::Block(cmd) => runner.sync_run(|config| { - let partials = new_partial(&config)?; + // there's no point in benchmarking the shell runitme + let partials = crate::service::new_partial(&config)?; cmd.run(partials.client) }), #[cfg(not(feature = "runtime-benchmarks"))] @@ -349,16 +372,29 @@ pub fn run() -> Result<()> { info!("Parachain Account: {parachain_account}"); info!("Is collating: {}", if config.role.is_authority() { "yes" } else { "no" }); - crate::service::start_parachain_node( - config, - polkadot_config, - collator_options, - id, - hwbench, - ) - .await - .map(|r| r.0) - .map_err(Into::into) + if config.chain_spec.is_shell() { + crate::service_shell::start_parachain_node( + config, + polkadot_config, + collator_options, + id, + hwbench, + ) + .await + .map(|r| r.0) + .map_err(Into::into) + } else { + crate::service::start_parachain_node( + config, + polkadot_config, + collator_options, + id, + hwbench, + ) + .await + .map(|r| r.0) + .map_err(Into::into) + } }) }, } diff --git a/polkadot-parachains/src/main.rs b/polkadot-parachains/src/main.rs index ba9f28b3..d6bc076b 100644 --- a/polkadot-parachains/src/main.rs +++ b/polkadot-parachains/src/main.rs @@ -1,10 +1,15 @@ //! Substrate Parachain Node Template CLI +//! +//! this file has no customizations for integritee runtimes. Upon upgrades of polkadot-sdk, +//! just overwrite from parachain_template and replace name of runtime crate #![warn(missing_docs)] mod chain_spec; #[macro_use] mod service; +#[macro_use] +mod service_shell; mod cli; mod command; mod rpc; diff --git a/polkadot-parachains/src/rpc.rs b/polkadot-parachains/src/rpc.rs index 9193c5b3..b9a40754 100644 --- a/polkadot-parachains/src/rpc.rs +++ b/polkadot-parachains/src/rpc.rs @@ -2,12 +2,15 @@ //! Substrate provides the `sc-rpc` crate, which defines the core RPC layer //! used by Substrate nodes. This file extends those RPC definitions with //! capabilities that are specific to this project's runtime configuration. +//! +//! this file has no customizations for integritee runtimes. Upon upgrades of polkadot-sdk, +//! just overwrite from parachain_template and replace name of runtime crate #![warn(missing_docs)] use std::sync::Arc; -use parachain_runtime::{opaque::Block, AccountId, Balance, Nonce}; +use parachains_common::{opaque::Block, AccountId, Balance, Nonce}; use sc_client_api::AuxStore; pub use sc_rpc::{DenyUnsafe, SubscriptionTaskExecutor}; diff --git a/polkadot-parachains/src/service.rs b/polkadot-parachains/src/service.rs index b28ba7af..45dfe4b4 100644 --- a/polkadot-parachains/src/service.rs +++ b/polkadot-parachains/src/service.rs @@ -1,14 +1,14 @@ //! Service and ServiceFactory implementation. Specialized wrapper over substrate service. - +//! +//! this file has no customizations for integritee runtimes. Upon upgrades of polkadot-sdk, +//! just overwrite from parachain_template and replace name of runtime crate // std use std::{sync::Arc, time::Duration}; use cumulus_client_cli::CollatorOptions; // Local Runtime Types -use parachain_runtime::{ - opaque::{Block, Hash}, - RuntimeApi, -}; +use integritee_runtime::RuntimeApi; +use parachains_common::opaque::{Block, Hash}; // Cumulus Imports use cumulus_client_collator::service::CollatorService; @@ -43,11 +43,11 @@ impl sc_executor::NativeExecutionDispatch for ParachainNativeExecutor { type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions; fn dispatch(method: &str, data: &[u8]) -> Option> { - parachain_runtime::api::dispatch(method, data) + integritee_runtime::api::dispatch(method, data) } fn native_version() -> sc_executor::NativeVersion { - parachain_runtime::native_version() + integritee_runtime::native_version() } } diff --git a/polkadot-parachains/src/service_shell.rs b/polkadot-parachains/src/service_shell.rs new file mode 100644 index 00000000..802c4529 --- /dev/null +++ b/polkadot-parachains/src/service_shell.rs @@ -0,0 +1,435 @@ +//! Service and ServiceFactory implementation. Specialized wrapper over substrate service. +//! +//! this file has no customizations for integritee runtimes. Upon upgrades of polkadot-sdk, +//! just overwrite from parachain_template and replace name of runtime crate +// std +use std::{sync::Arc, time::Duration}; + +use cumulus_client_cli::CollatorOptions; +// Local Runtime Types +use parachains_common::opaque::{Block, Hash}; +use shell_runtime::RuntimeApi; + +// Cumulus Imports +use cumulus_client_collator::service::CollatorService; +use cumulus_client_consensus_common::ParachainBlockImport as TParachainBlockImport; +use cumulus_client_consensus_proposer::Proposer; +use cumulus_client_service::{ + build_network, build_relay_chain_interface, prepare_node_config, start_relay_chain_tasks, + BuildNetworkParams, CollatorSybilResistance, DARecoveryProfile, StartRelayChainTasksParams, +}; +use cumulus_primitives_core::{relay_chain::CollatorPair, ParaId}; +use cumulus_relay_chain_interface::{OverseerHandle, RelayChainInterface}; + +// Substrate Imports +use frame_benchmarking_cli::SUBSTRATE_REFERENCE_HARDWARE; +use sc_client_api::Backend; +use sc_consensus::ImportQueue; +use sc_executor::{ + HeapAllocStrategy, NativeElseWasmExecutor, WasmExecutor, DEFAULT_HEAP_ALLOC_STRATEGY, +}; +use sc_network::NetworkBlock; +use sc_network_sync::SyncingService; +use sc_service::{Configuration, PartialComponents, TFullBackend, TFullClient, TaskManager}; +use sc_telemetry::{Telemetry, TelemetryHandle, TelemetryWorker, TelemetryWorkerHandle}; +use sc_transaction_pool_api::OffchainTransactionPoolFactory; +use sp_keystore::KeystorePtr; +use substrate_prometheus_endpoint::Registry; + +/// Native executor type. +pub struct ParachainNativeExecutor; + +impl sc_executor::NativeExecutionDispatch for ParachainNativeExecutor { + type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions; + + fn dispatch(method: &str, data: &[u8]) -> Option> { + shell_runtime::api::dispatch(method, data) + } + + fn native_version() -> sc_executor::NativeVersion { + shell_runtime::native_version() + } +} + +type ParachainExecutor = NativeElseWasmExecutor; + +type ParachainClient = TFullClient; + +type ParachainBackend = TFullBackend; + +type ParachainBlockImport = TParachainBlockImport, ParachainBackend>; + +/// Starts a `ServiceBuilder` for a full service. +/// +/// Use this macro if you don't actually need the full service, but just the builder in order to +/// be able to perform chain operations. +pub fn new_partial( + config: &Configuration, +) -> Result< + PartialComponents< + ParachainClient, + ParachainBackend, + (), + sc_consensus::DefaultImportQueue, + sc_transaction_pool::FullPool, + (ParachainBlockImport, Option, Option), + >, + sc_service::Error, +> { + let telemetry = config + .telemetry_endpoints + .clone() + .filter(|x| !x.is_empty()) + .map(|endpoints| -> Result<_, sc_telemetry::Error> { + let worker = TelemetryWorker::new(16)?; + let telemetry = worker.handle().new_telemetry(endpoints); + Ok((worker, telemetry)) + }) + .transpose()?; + + let heap_pages = config + .default_heap_pages + .map_or(DEFAULT_HEAP_ALLOC_STRATEGY, |h| HeapAllocStrategy::Static { extra_pages: h as _ }); + + let wasm = WasmExecutor::builder() + .with_execution_method(config.wasm_method) + .with_onchain_heap_alloc_strategy(heap_pages) + .with_offchain_heap_alloc_strategy(heap_pages) + .with_max_runtime_instances(config.max_runtime_instances) + .with_runtime_cache_size(config.runtime_cache_size) + .build(); + + let executor = ParachainExecutor::new_with_wasm_executor(wasm); + + let (client, backend, keystore_container, task_manager) = + sc_service::new_full_parts::( + config, + telemetry.as_ref().map(|(_, telemetry)| telemetry.handle()), + executor, + )?; + let client = Arc::new(client); + + let telemetry_worker_handle = telemetry.as_ref().map(|(worker, _)| worker.handle()); + + let telemetry = telemetry.map(|(worker, telemetry)| { + task_manager.spawn_handle().spawn("telemetry", None, worker.run()); + telemetry + }); + + let transaction_pool = sc_transaction_pool::BasicPool::new_full( + config.transaction_pool.clone(), + config.role.is_authority().into(), + config.prometheus_registry(), + task_manager.spawn_essential_handle(), + client.clone(), + ); + + let block_import = ParachainBlockImport::new(client.clone(), backend.clone()); + + let import_queue = build_import_queue( + client.clone(), + block_import.clone(), + config, + telemetry.as_ref().map(|telemetry| telemetry.handle()), + &task_manager, + )?; + + Ok(PartialComponents { + backend, + client, + import_queue, + keystore_container, + task_manager, + transaction_pool, + select_chain: (), + other: (block_import, telemetry, telemetry_worker_handle), + }) +} + +/// Start a node with the given parachain `Configuration` and relay chain `Configuration`. +/// +/// This is the actual implementation that is abstract over the executor and the runtime api. +#[sc_tracing::logging::prefix_logs_with("Parachain")] +async fn start_node_impl( + parachain_config: Configuration, + polkadot_config: Configuration, + collator_options: CollatorOptions, + para_id: ParaId, + hwbench: Option, +) -> sc_service::error::Result<(TaskManager, Arc)> { + let parachain_config = prepare_node_config(parachain_config); + + let params = new_partial(¶chain_config)?; + let (block_import, mut telemetry, telemetry_worker_handle) = params.other; + let net_config = sc_network::config::FullNetworkConfiguration::new(¶chain_config.network); + + let client = params.client.clone(); + let backend = params.backend.clone(); + let mut task_manager = params.task_manager; + + let (relay_chain_interface, collator_key) = build_relay_chain_interface( + polkadot_config, + ¶chain_config, + telemetry_worker_handle, + &mut task_manager, + collator_options.clone(), + hwbench.clone(), + ) + .await + .map_err(|e| sc_service::Error::Application(Box::new(e) as Box<_>))?; + + let validator = parachain_config.role.is_authority(); + let prometheus_registry = parachain_config.prometheus_registry().cloned(); + let transaction_pool = params.transaction_pool.clone(); + let import_queue_service = params.import_queue.service(); + + let (network, system_rpc_tx, tx_handler_controller, start_network, sync_service) = + build_network(BuildNetworkParams { + parachain_config: ¶chain_config, + net_config, + client: client.clone(), + transaction_pool: transaction_pool.clone(), + para_id, + spawn_handle: task_manager.spawn_handle(), + relay_chain_interface: relay_chain_interface.clone(), + import_queue: params.import_queue, + sybil_resistance_level: CollatorSybilResistance::Resistant, // because of Aura + }) + .await?; + + if parachain_config.offchain_worker.enabled { + use futures::FutureExt; + + task_manager.spawn_handle().spawn( + "offchain-workers-runner", + "offchain-work", + sc_offchain::OffchainWorkers::new(sc_offchain::OffchainWorkerOptions { + runtime_api_provider: client.clone(), + keystore: Some(params.keystore_container.keystore()), + offchain_db: backend.offchain_storage(), + transaction_pool: Some(OffchainTransactionPoolFactory::new( + transaction_pool.clone(), + )), + network_provider: network.clone(), + is_validator: parachain_config.role.is_authority(), + enable_http_requests: false, + custom_extensions: move |_| vec![], + }) + .run(client.clone(), task_manager.spawn_handle()) + .boxed(), + ); + } + + let rpc_builder = { + let client = client.clone(); + let transaction_pool = transaction_pool.clone(); + + Box::new(move |deny_unsafe, _| { + let deps = crate::rpc::FullDeps { + client: client.clone(), + pool: transaction_pool.clone(), + deny_unsafe, + }; + + crate::rpc::create_full(deps).map_err(Into::into) + }) + }; + + sc_service::spawn_tasks(sc_service::SpawnTasksParams { + rpc_builder, + client: client.clone(), + transaction_pool: transaction_pool.clone(), + task_manager: &mut task_manager, + config: parachain_config, + keystore: params.keystore_container.keystore(), + backend, + network: network.clone(), + sync_service: sync_service.clone(), + system_rpc_tx, + tx_handler_controller, + telemetry: telemetry.as_mut(), + })?; + + if let Some(hwbench) = hwbench { + sc_sysinfo::print_hwbench(&hwbench); + // Here you can check whether the hardware meets your chains' requirements. Putting a link + // in there and swapping out the requirements for your own are probably a good idea. The + // requirements for a para-chain are dictated by its relay-chain. + if !SUBSTRATE_REFERENCE_HARDWARE.check_hardware(&hwbench) && validator { + log::warn!( + "⚠️ The hardware does not meet the minimal requirements for role 'Authority'." + ); + } + + if let Some(ref mut telemetry) = telemetry { + let telemetry_handle = telemetry.handle(); + task_manager.spawn_handle().spawn( + "telemetry_hwbench", + None, + sc_sysinfo::initialize_hwbench_telemetry(telemetry_handle, hwbench), + ); + } + } + + let announce_block = { + let sync_service = sync_service.clone(); + Arc::new(move |hash, data| sync_service.announce_block(hash, data)) + }; + + let relay_chain_slot_duration = Duration::from_secs(6); + + let overseer_handle = relay_chain_interface + .overseer_handle() + .map_err(|e| sc_service::Error::Application(Box::new(e)))?; + + start_relay_chain_tasks(StartRelayChainTasksParams { + client: client.clone(), + announce_block: announce_block.clone(), + para_id, + relay_chain_interface: relay_chain_interface.clone(), + task_manager: &mut task_manager, + da_recovery_profile: if validator { + DARecoveryProfile::Collator + } else { + DARecoveryProfile::FullNode + }, + import_queue: import_queue_service, + relay_chain_slot_duration, + recovery_handle: Box::new(overseer_handle.clone()), + sync_service: sync_service.clone(), + })?; + + if validator { + start_consensus( + client.clone(), + block_import, + prometheus_registry.as_ref(), + telemetry.as_ref().map(|t| t.handle()), + &task_manager, + relay_chain_interface.clone(), + transaction_pool, + sync_service.clone(), + params.keystore_container.keystore(), + relay_chain_slot_duration, + para_id, + collator_key.expect("Command line arguments do not allow this. qed"), + overseer_handle, + announce_block, + )?; + } + + start_network.start_network(); + + Ok((task_manager, client)) +} + +/// Build the import queue for the parachain runtime. +fn build_import_queue( + client: Arc, + block_import: ParachainBlockImport, + config: &Configuration, + telemetry: Option, + task_manager: &TaskManager, +) -> Result, sc_service::Error> { + let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; + + Ok(cumulus_client_consensus_aura::equivocation_import_queue::fully_verifying_import_queue::< + sp_consensus_aura::sr25519::AuthorityPair, + _, + _, + _, + _, + >( + client, + block_import, + move |_, _| async move { + let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); + Ok(timestamp) + }, + slot_duration, + &task_manager.spawn_essential_handle(), + config.prometheus_registry(), + telemetry, + )) +} + +fn start_consensus( + client: Arc, + block_import: ParachainBlockImport, + prometheus_registry: Option<&Registry>, + telemetry: Option, + task_manager: &TaskManager, + relay_chain_interface: Arc, + transaction_pool: Arc>, + sync_oracle: Arc>, + keystore: KeystorePtr, + relay_chain_slot_duration: Duration, + para_id: ParaId, + collator_key: CollatorPair, + overseer_handle: OverseerHandle, + announce_block: Arc>) + Send + Sync>, +) -> Result<(), sc_service::Error> { + use cumulus_client_consensus_aura::collators::basic::{ + self as basic_aura, Params as BasicAuraParams, + }; + + // NOTE: because we use Aura here explicitly, we can use `CollatorSybilResistance::Resistant` + // when starting the network. + + let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; + + let proposer_factory = sc_basic_authorship::ProposerFactory::with_proof_recording( + task_manager.spawn_handle(), + client.clone(), + transaction_pool, + prometheus_registry, + telemetry.clone(), + ); + + let proposer = Proposer::new(proposer_factory); + + let collator_service = CollatorService::new( + client.clone(), + Arc::new(task_manager.spawn_handle()), + announce_block, + client.clone(), + ); + + let params = BasicAuraParams { + create_inherent_data_providers: move |_, ()| async move { Ok(()) }, + block_import, + para_client: client, + relay_client: relay_chain_interface, + sync_oracle, + keystore, + collator_key, + para_id, + overseer_handle, + slot_duration, + relay_chain_slot_duration, + proposer, + collator_service, + // Very limited proposal time. + authoring_duration: Duration::from_millis(500), + collation_request_receiver: None, + }; + + let fut = + basic_aura::run::( + params, + ); + task_manager.spawn_essential_handle().spawn("aura", None, fut); + + Ok(()) +} + +/// Start a parachain node. +pub async fn start_parachain_node( + parachain_config: Configuration, + polkadot_config: Configuration, + collator_options: CollatorOptions, + para_id: ParaId, + hwbench: Option, +) -> sc_service::error::Result<(TaskManager, Arc)> { + start_node_impl(parachain_config, polkadot_config, collator_options, para_id, hwbench).await +} From 9abd8580b3c69138b31bda21a1b6c49d99987beb Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Fri, 2 Feb 2024 11:17:14 +0100 Subject: [PATCH 07/29] cosmetics --- polkadot-parachains/src/cli.rs | 2 +- polkadot-parachains/src/main.rs | 2 +- polkadot-parachains/src/rpc.rs | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/polkadot-parachains/src/cli.rs b/polkadot-parachains/src/cli.rs index b88dd725..3ce51381 100644 --- a/polkadot-parachains/src/cli.rs +++ b/polkadot-parachains/src/cli.rs @@ -1,5 +1,5 @@ //! this file has no customizations for integritee runtimes. Upon upgrades of polkadot-sdk, -//! just overwrite from parachain_template and replace name of runtime crate +//! just overwrite from parachain_template use std::path::PathBuf; diff --git a/polkadot-parachains/src/main.rs b/polkadot-parachains/src/main.rs index d6bc076b..ed46e382 100644 --- a/polkadot-parachains/src/main.rs +++ b/polkadot-parachains/src/main.rs @@ -1,7 +1,7 @@ //! Substrate Parachain Node Template CLI //! //! this file has no customizations for integritee runtimes. Upon upgrades of polkadot-sdk, -//! just overwrite from parachain_template and replace name of runtime crate +//! just overwrite from parachain_template #![warn(missing_docs)] diff --git a/polkadot-parachains/src/rpc.rs b/polkadot-parachains/src/rpc.rs index b9a40754..9a4c4203 100644 --- a/polkadot-parachains/src/rpc.rs +++ b/polkadot-parachains/src/rpc.rs @@ -10,6 +10,7 @@ use std::sync::Arc; +// Integritee: keep this. only customization here use parachains_common::{opaque::Block, AccountId, Balance, Nonce}; use sc_client_api::AuxStore; From 8a708f802793abda203d0ca839fb60b0cbaaa5a7 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Fri, 2 Feb 2024 11:17:53 +0100 Subject: [PATCH 08/29] taplo fmt --- Cargo.toml | 14 +++++++------- polkadot-parachains/Cargo.toml | 2 +- polkadot-parachains/integritee-runtime/Cargo.toml | 2 +- polkadot-parachains/shell-runtime/Cargo.toml | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2c059ab6..a26a5bfd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -157,19 +157,19 @@ substrate-build-script-utils = "9.0.0" substrate-wasm-builder = "14.0.0" [patch."https://github.com/integritee-network/pallets.git"] +claims-primitives = { path = '../pallets/primitives/claims' } +common-primitives = { path = '../pallets/primitives/common' } +enclave-bridge-primitives = { path = '../pallets/primitives/enclave-bridge' } pallet-claims = { path = '../pallets/claims' } pallet-enclave-bridge = { path = '../pallets/enclave-bridge' } -pallet-teerex = { path = '../pallets/teerex' } pallet-sidechain = { path = '../pallets/sidechain' } -sgx-verify = { path = '../pallets/teerex/sgx-verify' } pallet-teeracle = { path = '../pallets/teeracle' } -claims-primitives = { path = '../pallets/primitives/claims' } -enclave-bridge-primitives = { path = '../pallets/primitives/enclave-bridge' } -teerex-primitives = { path = '../pallets/primitives/teerex' } +pallet-teerex = { path = '../pallets/teerex' } +pallet-xcm-transactor = { path = '../pallets/xcm-transactor' } +sgx-verify = { path = '../pallets/teerex/sgx-verify' } teeracle-primitives = { path = '../pallets/primitives/teeracle' } -common-primitives = { path = '../pallets/primitives/common' } +teerex-primitives = { path = '../pallets/primitives/teerex' } xcm-transactor-primitives = { path = '../pallets/primitives/xcm-transactor' } -pallet-xcm-transactor = { path = '../pallets/xcm-transactor' } [patch.crates-io] ring = { git = "https://github.com/betrusted-io/ring-xous", branch = "0.16.20-cleanup" } diff --git a/polkadot-parachains/Cargo.toml b/polkadot-parachains/Cargo.toml index 3912c9d6..5fb08e85 100644 --- a/polkadot-parachains/Cargo.toml +++ b/polkadot-parachains/Cargo.toml @@ -67,10 +67,10 @@ substrate-prometheus-endpoint = { workspace = true } try-runtime-cli = { workspace = true } # RPC related dependencies -substrate-frame-rpc-system = { workspace = true } jsonrpsee = { workspace = true } pallet-transaction-payment-rpc = { workspace = true } sc-transaction-pool-api = { workspace = true } +substrate-frame-rpc-system = { workspace = true } substrate-state-trie-migration-rpc = { workspace = true } # Cumulus dependencies diff --git a/polkadot-parachains/integritee-runtime/Cargo.toml b/polkadot-parachains/integritee-runtime/Cargo.toml index b20e23f0..20d7989d 100644 --- a/polkadot-parachains/integritee-runtime/Cargo.toml +++ b/polkadot-parachains/integritee-runtime/Cargo.toml @@ -58,7 +58,6 @@ pallet-utility = { workspace = true } pallet-vesting = { workspace = true } pallet-xcm = { workspace = true } pallet-xcm-transactor = { workspace = true } -staging-parachain-info = { workspace = true } polkadot-parachain-primitives = { workspace = true } polkadot-runtime-common = { workspace = true } sp-api = { workspace = true } @@ -73,6 +72,7 @@ sp-session = { workspace = true } sp-std = { workspace = true } sp-transaction-pool = { workspace = true } sp-version = { workspace = true } +staging-parachain-info = { workspace = true } staging-xcm = { workspace = true } staging-xcm-builder = { workspace = true } staging-xcm-executor = { workspace = true } diff --git a/polkadot-parachains/shell-runtime/Cargo.toml b/polkadot-parachains/shell-runtime/Cargo.toml index cb0e081d..f7d22e0a 100644 --- a/polkadot-parachains/shell-runtime/Cargo.toml +++ b/polkadot-parachains/shell-runtime/Cargo.toml @@ -41,7 +41,6 @@ pallet-transaction-payment-rpc-runtime-api = { workspace = true } pallet-vesting = { workspace = true } pallet-xcm = { workspace = true } pallet-xcm-transactor = { workspace = true } -staging-parachain-info = { workspace = true } polkadot-parachain-primitives = { workspace = true } polkadot-runtime-common = { workspace = true } sp-api = { workspace = true } @@ -56,6 +55,7 @@ sp-session = { workspace = true } sp-std = { workspace = true } sp-transaction-pool = { workspace = true } sp-version = { workspace = true } +staging-parachain-info = { workspace = true } staging-xcm = { workspace = true } staging-xcm-builder = { workspace = true } staging-xcm-executor = { workspace = true } From 8ecc06231e2fc0eb2d0ec67e84f0bcb79ab50eee Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Fri, 2 Feb 2024 11:20:02 +0100 Subject: [PATCH 09/29] lift patch and point to pallet release branch --- Cargo.toml | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a26a5bfd..83ef0912 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,13 +24,13 @@ serde_json = "1.0.102" smallvec = "1.9.0" # integritee pallets -pallet-claims = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.0.0" } -pallet-enclave-bridge = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.0.0" } -pallet-sidechain = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.0.0" } -pallet-teeracle = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.0.0" } -pallet-teerex = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.0.0" } -pallet-xcm-transactor = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.0.0" } -xcm-transactor-primitives = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.0.0" } +pallet-claims = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.3.0" } +pallet-enclave-bridge = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.3.0" } +pallet-sidechain = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.3.0" } +pallet-teeracle = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.3.0" } +pallet-teerex = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.3.0" } +pallet-xcm-transactor = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.3.0" } +xcm-transactor-primitives = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.3.0" } # Polkadot-sdk and ecosystem crates [no_std] cumulus-pallet-aura-ext = { version = "0.4.0", default-features = false } @@ -156,20 +156,20 @@ polkadot-runtime-parachains = "4.0.0" substrate-build-script-utils = "9.0.0" substrate-wasm-builder = "14.0.0" -[patch."https://github.com/integritee-network/pallets.git"] -claims-primitives = { path = '../pallets/primitives/claims' } -common-primitives = { path = '../pallets/primitives/common' } -enclave-bridge-primitives = { path = '../pallets/primitives/enclave-bridge' } -pallet-claims = { path = '../pallets/claims' } -pallet-enclave-bridge = { path = '../pallets/enclave-bridge' } -pallet-sidechain = { path = '../pallets/sidechain' } -pallet-teeracle = { path = '../pallets/teeracle' } -pallet-teerex = { path = '../pallets/teerex' } -pallet-xcm-transactor = { path = '../pallets/xcm-transactor' } -sgx-verify = { path = '../pallets/teerex/sgx-verify' } -teeracle-primitives = { path = '../pallets/primitives/teeracle' } -teerex-primitives = { path = '../pallets/primitives/teerex' } -xcm-transactor-primitives = { path = '../pallets/primitives/xcm-transactor' } +#[patch."https://github.com/integritee-network/pallets.git"] +#claims-primitives = { path = '../pallets/primitives/claims' } +#common-primitives = { path = '../pallets/primitives/common' } +#enclave-bridge-primitives = { path = '../pallets/primitives/enclave-bridge' } +#pallet-claims = { path = '../pallets/claims' } +#pallet-enclave-bridge = { path = '../pallets/enclave-bridge' } +#pallet-sidechain = { path = '../pallets/sidechain' } +#pallet-teeracle = { path = '../pallets/teeracle' } +#pallet-teerex = { path = '../pallets/teerex' } +#pallet-xcm-transactor = { path = '../pallets/xcm-transactor' } +#sgx-verify = { path = '../pallets/teerex/sgx-verify' } +#teeracle-primitives = { path = '../pallets/primitives/teeracle' } +#teerex-primitives = { path = '../pallets/primitives/teerex' } +#xcm-transactor-primitives = { path = '../pallets/primitives/xcm-transactor' } [patch.crates-io] ring = { git = "https://github.com/betrusted-io/ring-xous", branch = "0.16.20-cleanup" } From f548cde84f4d165db25ac21483d9c9b3035b4094 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Fri, 2 Feb 2024 11:39:09 +0100 Subject: [PATCH 10/29] bump versions --- Cargo.lock | 23 +++++++++++++++---- polkadot-parachains/Cargo.toml | 2 +- polkadot-parachains/common/Cargo.toml | 2 +- .../integritee-runtime/Cargo.toml | 2 +- .../integritee-runtime/src/lib.rs | 2 +- polkadot-parachains/shell-runtime/Cargo.toml | 2 +- polkadot-parachains/shell-runtime/src/lib.rs | 2 +- 7 files changed, 25 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index abc48643..e4197c38 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1203,6 +1203,7 @@ dependencies = [ [[package]] name = "claims-primitives" version = "0.1.0" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "parity-scale-codec", "rustc-hex", @@ -1333,6 +1334,7 @@ checksum = "2382f75942f4b3be3690fe4f86365e9c853c1587d6ee58212cebf6e2a9ccd101" [[package]] name = "common-primitives" version = "0.1.0" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "derive_more", "parity-scale-codec", @@ -2747,6 +2749,7 @@ dependencies = [ [[package]] name = "enclave-bridge-primitives" version = "0.1.0" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "common-primitives", "log", @@ -4176,7 +4179,7 @@ dependencies = [ [[package]] name = "integritee-collator" -version = "1.7.8" +version = "1.8.0" dependencies = [ "assert_cmd", "async-trait", @@ -4260,7 +4263,7 @@ dependencies = [ [[package]] name = "integritee-runtime" -version = "1.7.44" +version = "1.8.45" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -6341,6 +6344,7 @@ dependencies = [ [[package]] name = "pallet-claims" version = "0.9.12" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "claims-primitives", "frame-benchmarking", @@ -6474,6 +6478,7 @@ dependencies = [ [[package]] name = "pallet-enclave-bridge" version = "0.12.0" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "enclave-bridge-primitives", "frame-benchmarking", @@ -6934,6 +6939,7 @@ dependencies = [ [[package]] name = "pallet-sidechain" version = "0.11.0" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "enclave-bridge-primitives", "frame-benchmarking", @@ -7070,6 +7076,7 @@ dependencies = [ [[package]] name = "pallet-teeracle" version = "0.1.0" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "frame-benchmarking", "frame-support", @@ -7093,6 +7100,7 @@ dependencies = [ [[package]] name = "pallet-teerex" version = "0.10.0" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "frame-benchmarking", "frame-support", @@ -7317,6 +7325,7 @@ dependencies = [ [[package]] name = "pallet-xcm-transactor" version = "0.1.0" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -7334,7 +7343,7 @@ dependencies = [ [[package]] name = "parachains-common" -version = "1.7.0" +version = "1.8.0" dependencies = [ "frame-executive", "frame-support", @@ -11256,6 +11265,7 @@ dependencies = [ [[package]] name = "sgx-verify" version = "0.1.4" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "base64 0.13.1", "chrono", @@ -11347,7 +11357,7 @@ dependencies = [ [[package]] name = "shell-runtime" -version = "1.7.13" +version = "1.8.14" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -11411,6 +11421,7 @@ checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" [[package]] name = "sidechain-primitives" version = "0.1.0" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "parity-scale-codec", "scale-info", @@ -12896,6 +12907,7 @@ checksum = "1d2faeef5759ab89935255b1a4cd98e0baf99d1085e37d36599c625dac49ae8e" [[package]] name = "teeracle-primitives" version = "0.1.0" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "common-primitives", "sp-std", @@ -12905,6 +12917,7 @@ dependencies = [ [[package]] name = "teerex-primitives" version = "0.1.0" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "common-primitives", "derive_more", @@ -12948,6 +12961,7 @@ checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] name = "test-utils" version = "0.1.0" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "log", "sgx-verify", @@ -14696,6 +14710,7 @@ dependencies = [ [[package]] name = "xcm-transactor-primitives" version = "0.1.0" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "common-primitives", "cumulus-primitives-core", diff --git a/polkadot-parachains/Cargo.toml b/polkadot-parachains/Cargo.toml index 5fb08e85..0306ea37 100644 --- a/polkadot-parachains/Cargo.toml +++ b/polkadot-parachains/Cargo.toml @@ -2,7 +2,7 @@ name = "integritee-collator" description = "The Integritee parachain collator binary" # align major.minor revision with the runtimes. bump patch revision ad lib. make this the github release tag -version = "1.7.8" +version = "1.8.0" authors = ["Integritee AG "] homepage = "https://integritee.network/" repository = "https://github.com/integritee-network/parachain" diff --git a/polkadot-parachains/common/Cargo.toml b/polkadot-parachains/common/Cargo.toml index 68c663b6..a69d7bef 100644 --- a/polkadot-parachains/common/Cargo.toml +++ b/polkadot-parachains/common/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "parachains-common" # major.minor revision must match collator node. patch bump ad lib -version = "1.7.0" +version = "1.8.0" authors = ["Parity Technologies "] edition = "2021" description = "Logic which is common to all parachain runtimes" diff --git a/polkadot-parachains/integritee-runtime/Cargo.toml b/polkadot-parachains/integritee-runtime/Cargo.toml index 20d7989d..f5200eca 100644 --- a/polkadot-parachains/integritee-runtime/Cargo.toml +++ b/polkadot-parachains/integritee-runtime/Cargo.toml @@ -2,7 +2,7 @@ name = "integritee-runtime" description = "The Integritee parachain runtime" # patch revision must match runtime spec_version -version = "1.7.44" +version = "1.8.45" authors = ["Integritee AG "] homepage = "https://integritee.network/" repository = "https://github.com/integritee-network/parachain" diff --git a/polkadot-parachains/integritee-runtime/src/lib.rs b/polkadot-parachains/integritee-runtime/src/lib.rs index 8ae84771..cbf572d5 100644 --- a/polkadot-parachains/integritee-runtime/src/lib.rs +++ b/polkadot-parachains/integritee-runtime/src/lib.rs @@ -113,7 +113,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("integritee-parachain"), impl_name: create_runtime_str!("integritee-full"), authoring_version: 2, - spec_version: 44, + spec_version: 45, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 6, diff --git a/polkadot-parachains/shell-runtime/Cargo.toml b/polkadot-parachains/shell-runtime/Cargo.toml index f7d22e0a..daa17a30 100644 --- a/polkadot-parachains/shell-runtime/Cargo.toml +++ b/polkadot-parachains/shell-runtime/Cargo.toml @@ -2,7 +2,7 @@ name = "shell-runtime" description = "The Integritee shell parachain runtime" # major.minor revision must match collator node. patch should match spec_version -version = "1.7.13" +version = "1.8.14" authors = ["Integritee AG "] homepage = "https://integritee.network/" repository = "https://github.com/integritee-network/parachain" diff --git a/polkadot-parachains/shell-runtime/src/lib.rs b/polkadot-parachains/shell-runtime/src/lib.rs index bc692ee3..697d01dc 100644 --- a/polkadot-parachains/shell-runtime/src/lib.rs +++ b/polkadot-parachains/shell-runtime/src/lib.rs @@ -91,7 +91,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("integritee-parachain"), impl_name: create_runtime_str!("integritee-shell"), authoring_version: 0, - spec_version: 13, + spec_version: 14, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From 7217b153220500d4edc3411cda2712b7100bd4b6 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Fri, 2 Feb 2024 12:06:39 +0100 Subject: [PATCH 11/29] update README --- README.md | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 90c14b20..6a3d6c1e 100644 --- a/README.md +++ b/README.md @@ -76,13 +76,24 @@ The benchmarks are run with the following script: ``` cargo build --release --features try-runtime -./target/release/integritee-collator try-runtime \ - --chain integritee-kusama \ - --runtime ./target/release/wbuild/integritee-runtime/integritee_runtime.wasm \ - on-runtime-upgrade --checks=all \ - live --uri wss://kusama.api.integritee.network:443 +try-runtime --runtime ./target/release/wbuild/integritee-runtime/integritee_runtime.compact.compressed.wasm on-runtime-upgrade --checks=pre-and-post --disable-spec-version-check --disable-idempotency-checks live --uri wss://kusama.api.integritee.network:443 ``` +## testing with chopsticks + +To test runtime upgrades + +``` +nvm use 20 +npx @acala-network/chopsticks@latest --config integritee-kusama --wasm-override ./target/release/wbuild/integritee-runtime/integritee_runtime.compact.compressed.wasm +``` +to test XCM + +``` +npx @acala-network/chopsticks@latest xcm --p=karura --p=integritee-kusama +``` +see other options in chopsticks help + ## More Resources * Thorough Readme about Rococo and Collators in general in the original [repository](https://github.com/paritytech/cumulus) of this fork. * Parachains Development in the [Polkadot Wiki](https://wiki.polkadot.network/docs/build-pdk) From 32feb589ee4889bb6155034d18ea3cf4071b3db7 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Fri, 2 Feb 2024 12:10:30 +0100 Subject: [PATCH 12/29] fixes --- Cargo.lock | 18 ------------- Cargo.toml | 1 - polkadot-parachains/common/Cargo.toml | 2 -- .../integritee-runtime/src/lib.rs | 25 +++---------------- polkadot-parachains/shell-runtime/src/lib.rs | 3 +-- polkadot-parachains/src/command.rs | 2 +- 6 files changed, 5 insertions(+), 46 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e4197c38..6bb0b5d1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6124,23 +6124,6 @@ dependencies = [ "sp-std", ] -[[package]] -name = "pallet-assets" -version = "26.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09b91035c82dc9e64eaf52f3f6a39f4674bcb56333553882d6ff5d12500a9182" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "parity-scale-codec", - "scale-info", - "sp-core", - "sp-runtime", - "sp-std", -] - [[package]] name = "pallet-aura" version = "24.0.0" @@ -7348,7 +7331,6 @@ dependencies = [ "frame-executive", "frame-support", "frame-system", - "pallet-assets", "pallet-authorship", "pallet-balances", "parity-scale-codec", diff --git a/Cargo.toml b/Cargo.toml index 83ef0912..8f165336 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -52,7 +52,6 @@ orml-traits = { version = "0.6.7", default-features = false } orml-xcm = { version = "0.6.7", default-features = false } orml-xcm-support = { version = "0.6.7", default-features = false } orml-xtokens = { version = "0.6.7", default-features = false } -pallet-assets = { version = "26.0.0", default-features = false } pallet-aura = { version = "24.0.0", default-features = false } pallet-authorship = { version = "25.0.0", default-features = false } pallet-balances = { version = "25.0.0", default-features = false } diff --git a/polkadot-parachains/common/Cargo.toml b/polkadot-parachains/common/Cargo.toml index a69d7bef..71b4638d 100644 --- a/polkadot-parachains/common/Cargo.toml +++ b/polkadot-parachains/common/Cargo.toml @@ -18,7 +18,6 @@ smallvec = { workspace = true } frame-executive = { workspace = true } frame-support = { workspace = true } frame-system = { workspace = true } -pallet-assets = { workspace = true } pallet-authorship = { workspace = true } pallet-balances = { workspace = true } sp-consensus-aura = { workspace = true } @@ -44,7 +43,6 @@ std = [ "frame-executive/std", "frame-support/std", "frame-system/std", - "pallet-assets/std", "pallet-authorship/std", "pallet-balances/std", "polkadot-core-primitives/std", diff --git a/polkadot-parachains/integritee-runtime/src/lib.rs b/polkadot-parachains/integritee-runtime/src/lib.rs index cbf572d5..abcc9942 100644 --- a/polkadot-parachains/integritee-runtime/src/lib.rs +++ b/polkadot-parachains/integritee-runtime/src/lib.rs @@ -1050,31 +1050,12 @@ impl_runtime_apis! { fn dispatch_benchmark( config: frame_benchmarking::BenchmarkConfig ) -> Result, sp_runtime::RuntimeString> { - use frame_benchmarking::{Benchmarking, BenchmarkBatch, TrackedStorageKey}; - + use frame_benchmarking::{Benchmarking, BenchmarkBatch}; use frame_system_benchmarking::Pallet as SystemBench; impl frame_system_benchmarking::Config for Runtime {} - // Whitelisted keys to be ignored in benchmarking DB-access tracking. - // - // Reasoning: - // Previously accessed storage keys are stored in the `StorageOverlay`, i.e. the runtime cache. - // A cache with the life-time of one block. - // Accessing these keys afterwards in the same block is considered as negligible overhead. - // Hence, we whitelist storage keys that are accessed every block anyhow because accessing them - // in our pallet can be considered free. - let whitelist: Vec = vec![ - // Block Number - hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef702a5c1b19ab7a04f536c519aca4983ac").to_vec().into(), - // Total Issuance - hex_literal::hex!("c2261276cc9d1f8598ea4b6a74b15c2f57c875e4cff74148e4628f264b974c80").to_vec().into(), - // Execution Phase - hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef7ff553b5a9862a516939d82b3d3d8661a").to_vec().into(), - // Event Count - hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef70a98fdbe9ce6c55837576c60c7af3850").to_vec().into(), - // System Events - hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef780d41e5e16056765bc8461851072c9d7").to_vec().into(), - ]; + use frame_support::traits::WhitelistedStorageKeys; + let whitelist = AllPalletsWithSystem::whitelisted_storage_keys(); let mut batches = Vec::::new(); let params = (&config, &whitelist); diff --git a/polkadot-parachains/shell-runtime/src/lib.rs b/polkadot-parachains/shell-runtime/src/lib.rs index 697d01dc..7c81eae7 100644 --- a/polkadot-parachains/shell-runtime/src/lib.rs +++ b/polkadot-parachains/shell-runtime/src/lib.rs @@ -55,8 +55,7 @@ pub use parachains_common::{ AccountId, Address, Balance, BlockNumber, Hash, Header, Nonce, Signature, MILLISECS_PER_BLOCK, }; use parachains_common::{ - AuraId, AVERAGE_ON_INITIALIZE_RATIO, DAYS, HOURS, MAXIMUM_BLOCK_WEIGHT, MINUTES, - NORMAL_DISPATCH_RATIO, SLOT_DURATION, + AuraId, AVERAGE_ON_INITIALIZE_RATIO, MAXIMUM_BLOCK_WEIGHT, NORMAL_DISPATCH_RATIO, SLOT_DURATION, }; #[cfg(any(feature = "std", test))] pub use sp_runtime::BuildStorage; diff --git a/polkadot-parachains/src/command.rs b/polkadot-parachains/src/command.rs index 890af779..250e5bf7 100644 --- a/polkadot-parachains/src/command.rs +++ b/polkadot-parachains/src/command.rs @@ -322,7 +322,7 @@ pub fn run() -> Result<()> { .into()), #[cfg(feature = "runtime-benchmarks")] BenchmarkCmd::Storage(cmd) => runner.sync_run(|config| { - let partials = new_partial(&config)?; + let partials = crate::service::new_partial(&config)?; let db = partials.backend.expose_db(); let storage = partials.backend.expose_storage(); cmd.run(config, partials.client.clone(), db, storage) From 0024bbf58b83cb8a22264092eaf1fc0729bce1b0 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Fri, 2 Feb 2024 13:49:03 +0100 Subject: [PATCH 13/29] fix feature propagation --- polkadot-parachains/integritee-runtime/Cargo.toml | 2 +- polkadot-parachains/shell-runtime/Cargo.toml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/polkadot-parachains/integritee-runtime/Cargo.toml b/polkadot-parachains/integritee-runtime/Cargo.toml index f5200eca..e32b0e47 100644 --- a/polkadot-parachains/integritee-runtime/Cargo.toml +++ b/polkadot-parachains/integritee-runtime/Cargo.toml @@ -162,11 +162,11 @@ std = [ ] runtime-benchmarks = [ "cumulus-pallet-xcmp-queue/runtime-benchmarks", + "cumulus-pallet-parachain-system/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system-benchmarking/runtime-benchmarks", "frame-system/runtime-benchmarks", - "frame-system/runtime-benchmarks", "hex-literal", "pallet-balances/runtime-benchmarks", "pallet-bounties/runtime-benchmarks", diff --git a/polkadot-parachains/shell-runtime/Cargo.toml b/polkadot-parachains/shell-runtime/Cargo.toml index daa17a30..74caad18 100644 --- a/polkadot-parachains/shell-runtime/Cargo.toml +++ b/polkadot-parachains/shell-runtime/Cargo.toml @@ -127,6 +127,11 @@ std = [ runtime-benchmarks = [ "pallet-xcm/runtime-benchmarks", "staging-xcm-builder/runtime-benchmarks", + "cumulus-pallet-parachain-system/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "polkadot-runtime-common/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", ] try-runtime = [ From 9a3b2c8d1e0b9d026affc00738ae629988aa9d28 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Sat, 3 Feb 2024 10:09:28 +0100 Subject: [PATCH 14/29] review fixes --- README.md | 2 +- polkadot-parachains/src/cli.rs | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6a3d6c1e..807279f2 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ The benchmarks are run with the following script: ``` cargo build --release --features try-runtime -try-runtime --runtime ./target/release/wbuild/integritee-runtime/integritee_runtime.compact.compressed.wasm on-runtime-upgrade --checks=pre-and-post --disable-spec-version-check --disable-idempotency-checks live --uri wss://kusama.api.integritee.network:443 +try-runtime --runtime ./target/release/wbuild/integritee-runtime/integritee_runtime.compact.compressed.wasm on-runtime-upgrade --checks=pre-and-post live --uri wss://kusama.api.integritee.network:443 ``` ## testing with chopsticks diff --git a/polkadot-parachains/src/cli.rs b/polkadot-parachains/src/cli.rs index 3ce51381..05caf997 100644 --- a/polkadot-parachains/src/cli.rs +++ b/polkadot-parachains/src/cli.rs @@ -1,5 +1,5 @@ //! this file has no customizations for integritee runtimes. Upon upgrades of polkadot-sdk, -//! just overwrite from parachain_template +//! just overwrite from parachain_template and replace template strings use std::path::PathBuf; @@ -46,13 +46,13 @@ pub enum Subcommand { const AFTER_HELP_EXAMPLE: &str = color_print::cstr!( r#"Examples: - parachain-template-node build-spec --disable-default-bootnode > plain-parachain-chainspec.json + integritee-collator build-spec --disable-default-bootnode > plain-parachain-chainspec.json Export a chainspec for a local testnet in json format. - parachain-template-node --chain plain-parachain-chainspec.json --tmp -- --chain rococo-local + integritee-collator --chain plain-parachain-chainspec.json --tmp -- --chain rococo-local Launch a full node with chain specification loaded from plain-parachain-chainspec.json. - parachain-template-node + integritee-collator Launch a full node with default parachain local-testnet and relay chain rococo-local. - parachain-template-node --collator + integritee-collator --collator Launch a collator with default parachain local-testnet and relay chain rococo-local. "# ); From a7ea43acdb1cfd707b2751f3da9ee21997087fc1 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Sat, 3 Feb 2024 10:17:31 +0100 Subject: [PATCH 15/29] try to fix feature propagation for runtime-benchmarks --- polkadot-parachains/integritee-runtime/Cargo.toml | 2 +- polkadot-parachains/shell-runtime/Cargo.toml | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/polkadot-parachains/integritee-runtime/Cargo.toml b/polkadot-parachains/integritee-runtime/Cargo.toml index e32b0e47..af187d97 100644 --- a/polkadot-parachains/integritee-runtime/Cargo.toml +++ b/polkadot-parachains/integritee-runtime/Cargo.toml @@ -161,8 +161,8 @@ std = [ "staging-xcm/std", ] runtime-benchmarks = [ - "cumulus-pallet-xcmp-queue/runtime-benchmarks", "cumulus-pallet-parachain-system/runtime-benchmarks", + "cumulus-pallet-xcmp-queue/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system-benchmarking/runtime-benchmarks", diff --git a/polkadot-parachains/shell-runtime/Cargo.toml b/polkadot-parachains/shell-runtime/Cargo.toml index 74caad18..a1a9bcc7 100644 --- a/polkadot-parachains/shell-runtime/Cargo.toml +++ b/polkadot-parachains/shell-runtime/Cargo.toml @@ -125,13 +125,18 @@ std = [ # leads to compiler erros in the `shell-runtime` because the benchmarks are not # implemented. runtime-benchmarks = [ - "pallet-xcm/runtime-benchmarks", - "staging-xcm-builder/runtime-benchmarks", "cumulus-pallet-parachain-system/runtime-benchmarks", + "cumulus-pallet-xcmp-queue/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", + "pallet-sudo/runtime-benchmarks", + "pallet-timestamp/runtime-benchmarks", + "pallet-vesting/runtime-benchmarks", + "pallet-xcm/runtime-benchmarks", "polkadot-runtime-common/runtime-benchmarks", "sp-runtime/runtime-benchmarks", + "staging-xcm-builder/runtime-benchmarks", ] try-runtime = [ From 266b3f610080bf20e34e0eeb19c2171bcaa73a8c Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Sat, 3 Feb 2024 10:23:35 +0100 Subject: [PATCH 16/29] try to fix feature propagation for runtime-benchmarks --- polkadot-parachains/integritee-runtime/Cargo.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/polkadot-parachains/integritee-runtime/Cargo.toml b/polkadot-parachains/integritee-runtime/Cargo.toml index af187d97..99b9a53b 100644 --- a/polkadot-parachains/integritee-runtime/Cargo.toml +++ b/polkadot-parachains/integritee-runtime/Cargo.toml @@ -137,7 +137,6 @@ std = [ "pallet-vesting/std", "pallet-xcm-transactor/std", "pallet-xcm/std", - "staging-parachain-info/std", "parachains-common/std", "parity-scale-codec/std", "polkadot-parachain-primitives/std", @@ -155,10 +154,11 @@ std = [ "sp-std/std", "sp-transaction-pool/std", "sp-version/std", + "staging-parachain-info/std", "staging-xcm-builder/std", "staging-xcm-executor/std", - "xcm-transactor-primitives/std", "staging-xcm/std", + "xcm-transactor-primitives/std", ] runtime-benchmarks = [ "cumulus-pallet-parachain-system/runtime-benchmarks", @@ -187,9 +187,11 @@ runtime-benchmarks = [ "pallet-utility/runtime-benchmarks", "pallet-vesting/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", + "polkadot-parachain-primitives/runtime-benchmarks", "polkadot-runtime-common/runtime-benchmarks", "sp-runtime/runtime-benchmarks", "staging-xcm-builder/runtime-benchmarks", + "staging-xcm-executor/runtime-benchmarks", ] try-runtime = [ From 904248fda5f062e39aaaad2532b4939a1edb7771 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Sat, 3 Feb 2024 10:36:02 +0100 Subject: [PATCH 17/29] try to fix feature propagation for runtime-benchmarks --- Cargo.lock | 4 ++++ Cargo.toml | 1 + polkadot-parachains/integritee-runtime/Cargo.toml | 1 + polkadot-parachains/shell-runtime/Cargo.toml | 1 + 4 files changed, 7 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 6bb0b5d1..62b8526f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3641,8 +3641,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" dependencies = [ "cfg-if", + "js-sys", "libc", "wasi 0.11.0+wasi-snapshot-preview1", + "wasm-bindgen", ] [[package]] @@ -4281,6 +4283,7 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", + "getrandom 0.2.10", "hex", "hex-literal 0.3.4", "log", @@ -11354,6 +11357,7 @@ dependencies = [ "frame-system", "frame-system-rpc-runtime-api", "frame-try-runtime", + "getrandom 0.2.10", "hex", "hex-literal 0.3.4", "log", diff --git a/Cargo.toml b/Cargo.toml index 8f165336..bc3bf562 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,6 +16,7 @@ clap = { version = "4.0.29", features = ["derive"] } parity-scale-codec = { version = "3.6.4", default-features = false, features = ["derive"] } color-print = "0.3.4" futures = "0.3.25" +getrandom = { version = "0.2", features = ["js"] } hex-literal = "0.3.4" log = { version = "0.4.17", default-features = false } scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } diff --git a/polkadot-parachains/integritee-runtime/Cargo.toml b/polkadot-parachains/integritee-runtime/Cargo.toml index 99b9a53b..9d09c9a6 100644 --- a/polkadot-parachains/integritee-runtime/Cargo.toml +++ b/polkadot-parachains/integritee-runtime/Cargo.toml @@ -9,6 +9,7 @@ repository = "https://github.com/integritee-network/parachain" edition = "2021" [dependencies] +getrandom = { workspace = true } log = { workspace = true } parity-scale-codec = { workspace = true } scale-info = { workspace = true } diff --git a/polkadot-parachains/shell-runtime/Cargo.toml b/polkadot-parachains/shell-runtime/Cargo.toml index a1a9bcc7..03cba691 100644 --- a/polkadot-parachains/shell-runtime/Cargo.toml +++ b/polkadot-parachains/shell-runtime/Cargo.toml @@ -9,6 +9,7 @@ repository = "https://github.com/integritee-network/parachain" edition = "2021" [dependencies] +getrandom = { workspace = true } log = { workspace = true } parity-scale-codec = { workspace = true } scale-info = { workspace = true } From 05ad89850f4e604bf28f048c1db1c8e7eaa8e45a Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Sat, 3 Feb 2024 11:28:51 +0100 Subject: [PATCH 18/29] fixed runtime-benchamrks build --- Cargo.toml | 2 +- polkadot-parachains/Cargo.toml | 6 +++--- polkadot-parachains/integritee-runtime/Cargo.toml | 3 +++ polkadot-parachains/shell-runtime/Cargo.toml | 1 + 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index bc3bf562..60280150 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ clap = { version = "4.0.29", features = ["derive"] } parity-scale-codec = { version = "3.6.4", default-features = false, features = ["derive"] } color-print = "0.3.4" futures = "0.3.25" -getrandom = { version = "0.2", features = ["js"] } +getrandom = { version = "0.2", default-features = false, features = ["js"] } hex-literal = "0.3.4" log = { version = "0.4.17", default-features = false } scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } diff --git a/polkadot-parachains/Cargo.toml b/polkadot-parachains/Cargo.toml index 0306ea37..b6319484 100644 --- a/polkadot-parachains/Cargo.toml +++ b/polkadot-parachains/Cargo.toml @@ -114,11 +114,11 @@ wait-timeout = { workspace = true } [features] default = [] runtime-benchmarks = [ - "try-runtime-cli/try-runtime", - "polkadot-service/runtime-benchmarks", "integritee-runtime/runtime-benchmarks", - "shell-runtime/runtime-benchmarks", "polkadot-cli/runtime-benchmarks", + "polkadot-service/runtime-benchmarks", + "shell-runtime/runtime-benchmarks", + "try-runtime-cli/try-runtime", ] fast-runtime = [ "polkadot-service/fast-runtime", diff --git a/polkadot-parachains/integritee-runtime/Cargo.toml b/polkadot-parachains/integritee-runtime/Cargo.toml index 9d09c9a6..c6642cdc 100644 --- a/polkadot-parachains/integritee-runtime/Cargo.toml +++ b/polkadot-parachains/integritee-runtime/Cargo.toml @@ -110,6 +110,7 @@ std = [ "frame-system-rpc-runtime-api/std", "frame-system/std", "frame-try-runtime/std", + "getrandom/std", "log/std", "orml-traits/std", "orml-xcm-support/std", @@ -169,6 +170,7 @@ runtime-benchmarks = [ "frame-system-benchmarking/runtime-benchmarks", "frame-system/runtime-benchmarks", "hex-literal", + "orml-xtokens/runtime-benchmarks", "pallet-balances/runtime-benchmarks", "pallet-bounties/runtime-benchmarks", "pallet-child-bounties/runtime-benchmarks", @@ -188,6 +190,7 @@ runtime-benchmarks = [ "pallet-utility/runtime-benchmarks", "pallet-vesting/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", + "pallet-xcm-transactor/runtime-benchmarks", "polkadot-parachain-primitives/runtime-benchmarks", "polkadot-runtime-common/runtime-benchmarks", "sp-runtime/runtime-benchmarks", diff --git a/polkadot-parachains/shell-runtime/Cargo.toml b/polkadot-parachains/shell-runtime/Cargo.toml index 03cba691..3cca66aa 100644 --- a/polkadot-parachains/shell-runtime/Cargo.toml +++ b/polkadot-parachains/shell-runtime/Cargo.toml @@ -84,6 +84,7 @@ std = [ "frame-support/std", "frame-system-rpc-runtime-api/std", "frame-system/std", + "getrandom/std", "log/std", "orml-traits/std", "orml-xcm-support/std", From 6222fb8ea0196b915a9aec42ffadd526d2bf681c Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Sat, 3 Feb 2024 11:37:05 +0100 Subject: [PATCH 19/29] cleanup unnecessary dep pin --- Cargo.lock | 4 ---- Cargo.toml | 1 - polkadot-parachains/integritee-runtime/Cargo.toml | 2 -- polkadot-parachains/shell-runtime/Cargo.toml | 2 -- 4 files changed, 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 62b8526f..6bb0b5d1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3641,10 +3641,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" dependencies = [ "cfg-if", - "js-sys", "libc", "wasi 0.11.0+wasi-snapshot-preview1", - "wasm-bindgen", ] [[package]] @@ -4283,7 +4281,6 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "getrandom 0.2.10", "hex", "hex-literal 0.3.4", "log", @@ -11357,7 +11354,6 @@ dependencies = [ "frame-system", "frame-system-rpc-runtime-api", "frame-try-runtime", - "getrandom 0.2.10", "hex", "hex-literal 0.3.4", "log", diff --git a/Cargo.toml b/Cargo.toml index 60280150..8f165336 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,6 @@ clap = { version = "4.0.29", features = ["derive"] } parity-scale-codec = { version = "3.6.4", default-features = false, features = ["derive"] } color-print = "0.3.4" futures = "0.3.25" -getrandom = { version = "0.2", default-features = false, features = ["js"] } hex-literal = "0.3.4" log = { version = "0.4.17", default-features = false } scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } diff --git a/polkadot-parachains/integritee-runtime/Cargo.toml b/polkadot-parachains/integritee-runtime/Cargo.toml index c6642cdc..f92f6c98 100644 --- a/polkadot-parachains/integritee-runtime/Cargo.toml +++ b/polkadot-parachains/integritee-runtime/Cargo.toml @@ -9,7 +9,6 @@ repository = "https://github.com/integritee-network/parachain" edition = "2021" [dependencies] -getrandom = { workspace = true } log = { workspace = true } parity-scale-codec = { workspace = true } scale-info = { workspace = true } @@ -110,7 +109,6 @@ std = [ "frame-system-rpc-runtime-api/std", "frame-system/std", "frame-try-runtime/std", - "getrandom/std", "log/std", "orml-traits/std", "orml-xcm-support/std", diff --git a/polkadot-parachains/shell-runtime/Cargo.toml b/polkadot-parachains/shell-runtime/Cargo.toml index 3cca66aa..a1a9bcc7 100644 --- a/polkadot-parachains/shell-runtime/Cargo.toml +++ b/polkadot-parachains/shell-runtime/Cargo.toml @@ -9,7 +9,6 @@ repository = "https://github.com/integritee-network/parachain" edition = "2021" [dependencies] -getrandom = { workspace = true } log = { workspace = true } parity-scale-codec = { workspace = true } scale-info = { workspace = true } @@ -84,7 +83,6 @@ std = [ "frame-support/std", "frame-system-rpc-runtime-api/std", "frame-system/std", - "getrandom/std", "log/std", "orml-traits/std", "orml-xcm-support/std", From cdda1bddb712440d7de97017549f5060e56d7840 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Sat, 3 Feb 2024 11:48:25 +0100 Subject: [PATCH 20/29] trying to fix benchmarks --- polkadot-parachains/Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/polkadot-parachains/Cargo.toml b/polkadot-parachains/Cargo.toml index b6319484..c5ac9dd8 100644 --- a/polkadot-parachains/Cargo.toml +++ b/polkadot-parachains/Cargo.toml @@ -114,10 +114,15 @@ wait-timeout = { workspace = true } [features] default = [] runtime-benchmarks = [ + "frame-benchmarking-cli/runtime-benchmarks", + "frame-benchmarking/runtime-benchmarks", "integritee-runtime/runtime-benchmarks", "polkadot-cli/runtime-benchmarks", + "polkadot-primitives/runtime-benchmarks", "polkadot-service/runtime-benchmarks", + "sc-service/runtime-benchmarks", "shell-runtime/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", "try-runtime-cli/try-runtime", ] fast-runtime = [ From 4a8593ccfe91bf340f6f8d51610837a687221861 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Sat, 3 Feb 2024 12:09:12 +0100 Subject: [PATCH 21/29] next try. nope --- Cargo.lock | 16 ++++++++++++++++ Cargo.toml | 1 + .../integritee-runtime/Cargo.toml | 3 +++ 3 files changed, 20 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 6bb0b5d1..b52daea8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1999,6 +1999,21 @@ dependencies = [ "syn 2.0.39", ] +[[package]] +name = "cumulus-pallet-session-benchmarking" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bf9aaa60ed60ee9cbfc55535a6e2a01353c8308135e24d6c50ba989e518f17d" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "pallet-session", + "parity-scale-codec", + "sp-runtime", + "sp-std", +] + [[package]] name = "cumulus-pallet-xcm" version = "0.4.0" @@ -4268,6 +4283,7 @@ dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", "cumulus-pallet-parachain-system", + "cumulus-pallet-session-benchmarking", "cumulus-pallet-xcm", "cumulus-pallet-xcmp-queue", "cumulus-primitives-core", diff --git a/Cargo.toml b/Cargo.toml index 8f165336..74fb2200 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,6 +36,7 @@ xcm-transactor-primitives = { default-features = false, git = "https://github.co cumulus-pallet-aura-ext = { version = "0.4.0", default-features = false } cumulus-pallet-dmp-queue = { version = "0.4.0", default-features = false } cumulus-pallet-parachain-system = { version = "0.4.1", default-features = false } +cumulus-pallet-session-benchmarking = { version = "6.0.0", default-features = false } cumulus-pallet-xcm = { version = "0.4.0", default-features = false } cumulus-pallet-xcmp-queue = { version = "0.4.0", default-features = false } cumulus-primitives-core = { version = "0.4.0", default-features = false } diff --git a/polkadot-parachains/integritee-runtime/Cargo.toml b/polkadot-parachains/integritee-runtime/Cargo.toml index f92f6c98..fbcf216c 100644 --- a/polkadot-parachains/integritee-runtime/Cargo.toml +++ b/polkadot-parachains/integritee-runtime/Cargo.toml @@ -21,6 +21,7 @@ parachains-common = { path = "../common", default-features = false } cumulus-pallet-aura-ext = { workspace = true } cumulus-pallet-dmp-queue = { workspace = true } cumulus-pallet-parachain-system = { workspace = true } +cumulus-pallet-session-benchmarking = { workspace = true } cumulus-pallet-xcm = { workspace = true } cumulus-pallet-xcmp-queue = { workspace = true } cumulus-primitives-core = { workspace = true } @@ -99,6 +100,7 @@ std = [ "cumulus-pallet-aura-ext/std", "cumulus-pallet-dmp-queue/std", "cumulus-pallet-parachain-system/std", + "cumulus-pallet-session-benchmarking/std", "cumulus-pallet-xcm/std", "cumulus-pallet-xcmp-queue/std", "cumulus-primitives-core/std", @@ -162,6 +164,7 @@ std = [ ] runtime-benchmarks = [ "cumulus-pallet-parachain-system/runtime-benchmarks", + "cumulus-pallet-session-benchmarking/runtime-benchmarks", "cumulus-pallet-xcmp-queue/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", From 73c7793173c43a2fe3e4445b8bf95e69dbe3a09e Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Sat, 3 Feb 2024 18:18:59 +0100 Subject: [PATCH 22/29] more tries to fix benchmarking build --- Cargo.lock | 15 ---------- Cargo.toml | 28 +++++++++---------- polkadot-parachains/Cargo.toml | 4 +-- .../integritee-runtime/Cargo.toml | 3 ++ 4 files changed, 18 insertions(+), 32 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b52daea8..1c34779d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1203,7 +1203,6 @@ dependencies = [ [[package]] name = "claims-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "parity-scale-codec", "rustc-hex", @@ -1334,7 +1333,6 @@ checksum = "2382f75942f4b3be3690fe4f86365e9c853c1587d6ee58212cebf6e2a9ccd101" [[package]] name = "common-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "derive_more", "parity-scale-codec", @@ -2764,7 +2762,6 @@ dependencies = [ [[package]] name = "enclave-bridge-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "common-primitives", "log", @@ -6343,7 +6340,6 @@ dependencies = [ [[package]] name = "pallet-claims" version = "0.9.12" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "claims-primitives", "frame-benchmarking", @@ -6477,7 +6473,6 @@ dependencies = [ [[package]] name = "pallet-enclave-bridge" version = "0.12.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "enclave-bridge-primitives", "frame-benchmarking", @@ -6938,7 +6933,6 @@ dependencies = [ [[package]] name = "pallet-sidechain" version = "0.11.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "enclave-bridge-primitives", "frame-benchmarking", @@ -7075,7 +7069,6 @@ dependencies = [ [[package]] name = "pallet-teeracle" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "frame-benchmarking", "frame-support", @@ -7099,7 +7092,6 @@ dependencies = [ [[package]] name = "pallet-teerex" version = "0.10.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "frame-benchmarking", "frame-support", @@ -7324,7 +7316,6 @@ dependencies = [ [[package]] name = "pallet-xcm-transactor" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -11263,7 +11254,6 @@ dependencies = [ [[package]] name = "sgx-verify" version = "0.1.4" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "base64 0.13.1", "chrono", @@ -11419,7 +11409,6 @@ checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" [[package]] name = "sidechain-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "parity-scale-codec", "scale-info", @@ -12905,7 +12894,6 @@ checksum = "1d2faeef5759ab89935255b1a4cd98e0baf99d1085e37d36599c625dac49ae8e" [[package]] name = "teeracle-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "common-primitives", "sp-std", @@ -12915,7 +12903,6 @@ dependencies = [ [[package]] name = "teerex-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "common-primitives", "derive_more", @@ -12959,7 +12946,6 @@ checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] name = "test-utils" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "log", "sgx-verify", @@ -14708,7 +14694,6 @@ dependencies = [ [[package]] name = "xcm-transactor-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#0525c08c12b7701bda1f45973bbfcdadd5973b80" dependencies = [ "common-primitives", "cumulus-primitives-core", diff --git a/Cargo.toml b/Cargo.toml index 74fb2200..06a750d6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -156,20 +156,20 @@ polkadot-runtime-parachains = "4.0.0" substrate-build-script-utils = "9.0.0" substrate-wasm-builder = "14.0.0" -#[patch."https://github.com/integritee-network/pallets.git"] -#claims-primitives = { path = '../pallets/primitives/claims' } -#common-primitives = { path = '../pallets/primitives/common' } -#enclave-bridge-primitives = { path = '../pallets/primitives/enclave-bridge' } -#pallet-claims = { path = '../pallets/claims' } -#pallet-enclave-bridge = { path = '../pallets/enclave-bridge' } -#pallet-sidechain = { path = '../pallets/sidechain' } -#pallet-teeracle = { path = '../pallets/teeracle' } -#pallet-teerex = { path = '../pallets/teerex' } -#pallet-xcm-transactor = { path = '../pallets/xcm-transactor' } -#sgx-verify = { path = '../pallets/teerex/sgx-verify' } -#teeracle-primitives = { path = '../pallets/primitives/teeracle' } -#teerex-primitives = { path = '../pallets/primitives/teerex' } -#xcm-transactor-primitives = { path = '../pallets/primitives/xcm-transactor' } +[patch."https://github.com/integritee-network/pallets.git"] +claims-primitives = { path = '../pallets/primitives/claims' } +common-primitives = { path = '../pallets/primitives/common' } +enclave-bridge-primitives = { path = '../pallets/primitives/enclave-bridge' } +pallet-claims = { path = '../pallets/claims' } +pallet-enclave-bridge = { path = '../pallets/enclave-bridge' } +pallet-sidechain = { path = '../pallets/sidechain' } +pallet-teeracle = { path = '../pallets/teeracle' } +pallet-teerex = { path = '../pallets/teerex' } +pallet-xcm-transactor = { path = '../pallets/xcm-transactor' } +sgx-verify = { path = '../pallets/teerex/sgx-verify' } +teeracle-primitives = { path = '../pallets/primitives/teeracle' } +teerex-primitives = { path = '../pallets/primitives/teerex' } +xcm-transactor-primitives = { path = '../pallets/primitives/xcm-transactor' } [patch.crates-io] ring = { git = "https://github.com/betrusted-io/ring-xous", branch = "0.16.20-cleanup" } diff --git a/polkadot-parachains/Cargo.toml b/polkadot-parachains/Cargo.toml index c5ac9dd8..22be68bc 100644 --- a/polkadot-parachains/Cargo.toml +++ b/polkadot-parachains/Cargo.toml @@ -119,11 +119,9 @@ runtime-benchmarks = [ "integritee-runtime/runtime-benchmarks", "polkadot-cli/runtime-benchmarks", "polkadot-primitives/runtime-benchmarks", - "polkadot-service/runtime-benchmarks", "sc-service/runtime-benchmarks", - "shell-runtime/runtime-benchmarks", + #"shell-runtime/runtime-benchmarks", we don't need benchmarking for shell "sp-runtime/runtime-benchmarks", - "try-runtime-cli/try-runtime", ] fast-runtime = [ "polkadot-service/fast-runtime", diff --git a/polkadot-parachains/integritee-runtime/Cargo.toml b/polkadot-parachains/integritee-runtime/Cargo.toml index fbcf216c..27c95ebc 100644 --- a/polkadot-parachains/integritee-runtime/Cargo.toml +++ b/polkadot-parachains/integritee-runtime/Cargo.toml @@ -106,8 +106,10 @@ std = [ "cumulus-primitives-core/std", "cumulus-primitives-timestamp/std", "cumulus-primitives-utility/std", + "frame-benchmarking?/std", "frame-executive/std", "frame-support/std", + "frame-system-benchmarking?/std", "frame-system-rpc-runtime-api/std", "frame-system/std", "frame-try-runtime/std", @@ -166,6 +168,7 @@ runtime-benchmarks = [ "cumulus-pallet-parachain-system/runtime-benchmarks", "cumulus-pallet-session-benchmarking/runtime-benchmarks", "cumulus-pallet-xcmp-queue/runtime-benchmarks", + "cumulus-primitives-utility/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system-benchmarking/runtime-benchmarks", From dfad5739ad0a7a572084c116e98602f7af8b1dd0 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Mon, 5 Feb 2024 15:34:10 +0100 Subject: [PATCH 23/29] more attempts to fix benchmark feature propagation --- Cargo.lock | 7 ++++--- Cargo.toml | 10 +++++----- polkadot-parachains/Cargo.toml | 1 + polkadot-parachains/integritee-runtime/Cargo.toml | 5 +++-- 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1c34779d..91fc879d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4214,7 +4214,7 @@ dependencies = [ "frame-benchmarking", "frame-benchmarking-cli", "futures", - "hex-literal 0.3.4", + "hex-literal 0.4.1", "integritee-runtime", "jsonrpsee", "log", @@ -4295,7 +4295,7 @@ dependencies = [ "frame-system-rpc-runtime-api", "frame-try-runtime", "hex", - "hex-literal 0.3.4", + "hex-literal 0.4.1", "log", "orml-traits", "orml-xcm", @@ -7318,6 +7318,7 @@ name = "pallet-xcm-transactor" version = "0.1.0" dependencies = [ "cumulus-primitives-core", + "frame-benchmarking", "frame-support", "frame-system", "log", @@ -11361,7 +11362,7 @@ dependencies = [ "frame-system-rpc-runtime-api", "frame-try-runtime", "hex", - "hex-literal 0.3.4", + "hex-literal 0.4.1", "log", "orml-traits", "orml-xcm", diff --git a/Cargo.toml b/Cargo.toml index 06a750d6..7b7e5cef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,12 +16,12 @@ clap = { version = "4.0.29", features = ["derive"] } parity-scale-codec = { version = "3.6.4", default-features = false, features = ["derive"] } color-print = "0.3.4" futures = "0.3.25" -hex-literal = "0.3.4" -log = { version = "0.4.17", default-features = false } +hex-literal = "0.4.1" +log = { version = "0.4.20", default-features = false } scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -serde = { version = "1.0.171", features = ["derive"] } -serde_json = "1.0.102" -smallvec = "1.9.0" +serde = { version = "1.0.188", features = ["derive"] } +serde_json = "1.0" +smallvec = "1.11.0" # integritee pallets pallet-claims = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.3.0" } diff --git a/polkadot-parachains/Cargo.toml b/polkadot-parachains/Cargo.toml index 22be68bc..0f29c4ee 100644 --- a/polkadot-parachains/Cargo.toml +++ b/polkadot-parachains/Cargo.toml @@ -122,6 +122,7 @@ runtime-benchmarks = [ "sc-service/runtime-benchmarks", #"shell-runtime/runtime-benchmarks", we don't need benchmarking for shell "sp-runtime/runtime-benchmarks", + ] fast-runtime = [ "polkadot-service/fast-runtime", diff --git a/polkadot-parachains/integritee-runtime/Cargo.toml b/polkadot-parachains/integritee-runtime/Cargo.toml index 27c95ebc..9619674c 100644 --- a/polkadot-parachains/integritee-runtime/Cargo.toml +++ b/polkadot-parachains/integritee-runtime/Cargo.toml @@ -92,7 +92,7 @@ polkadot-primitives = { workspace = true, features = ["std"] } polkadot-runtime-parachains = { workspace = true, features = ["std"] } [build-dependencies] -substrate-wasm-builder = { workspace = true } +substrate-wasm-builder = { workspace = true, optional = true } [features] default = ["std"] @@ -112,7 +112,7 @@ std = [ "frame-system-benchmarking?/std", "frame-system-rpc-runtime-api/std", "frame-system/std", - "frame-try-runtime/std", + "frame-try-runtime?/std", "log/std", "orml-traits/std", "orml-xcm-support/std", @@ -162,6 +162,7 @@ std = [ "staging-xcm-builder/std", "staging-xcm-executor/std", "staging-xcm/std", + "substrate-wasm-builder", "xcm-transactor-primitives/std", ] runtime-benchmarks = [ From d34b69329a1ab1cd1a87fc81611f3b4fc5033201 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Mon, 5 Feb 2024 16:06:58 +0100 Subject: [PATCH 24/29] remove try-runtime-cli stuff --- Cargo.lock | 2 -- Cargo.toml | 2 -- polkadot-parachains/Cargo.toml | 5 ++--- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 91fc879d..a81feb19 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4266,10 +4266,8 @@ dependencies = [ "substrate-build-script-utils", "substrate-frame-rpc-system", "substrate-prometheus-endpoint", - "substrate-state-trie-migration-rpc", "tempfile", "tokio", - "try-runtime-cli", "wait-timeout", ] diff --git a/Cargo.toml b/Cargo.toml index 7b7e5cef..48a4895e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -136,8 +136,6 @@ sp-keyring = "28.0.0" sp-keystore = "0.31.0" sp-timestamp = "23.0.0" substrate-prometheus-endpoint = "0.16.0" -substrate-state-trie-migration-rpc = "24.0.0" -try-runtime-cli = "0.35.0" # Temporary pin only # See https://github.com/bluejekyll/trust-dns/issues/1946 for more details. diff --git a/polkadot-parachains/Cargo.toml b/polkadot-parachains/Cargo.toml index 0f29c4ee..516c5875 100644 --- a/polkadot-parachains/Cargo.toml +++ b/polkadot-parachains/Cargo.toml @@ -64,14 +64,12 @@ sp-session = { workspace = true, features = ["std"] } sp-timestamp = { workspace = true, features = ["std"] } sp-transaction-pool = { workspace = true, features = ["std"] } substrate-prometheus-endpoint = { workspace = true } -try-runtime-cli = { workspace = true } # RPC related dependencies jsonrpsee = { workspace = true } pallet-transaction-payment-rpc = { workspace = true } sc-transaction-pool-api = { workspace = true } substrate-frame-rpc-system = { workspace = true } -substrate-state-trie-migration-rpc = { workspace = true } # Cumulus dependencies color-print = { workspace = true } @@ -129,7 +127,8 @@ fast-runtime = [ "integritee-runtime/fast-runtime", ] try-runtime = [ - "try-runtime-cli/try-runtime", + "polkadot-cli/try-runtime", + "sp-runtime/try-runtime", "integritee-runtime/try-runtime", "shell-runtime/try-runtime", ] From ae81ebf0359b6c41fc3a7b870ce8311e8bc7d047 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Mon, 5 Feb 2024 18:29:34 +0100 Subject: [PATCH 25/29] fixed benchmarks build --- Cargo.lock | 30 ++++++++++++------------------ polkadot-parachains/Cargo.toml | 2 +- 2 files changed, 13 insertions(+), 19 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a81feb19..dfb92288 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3821,12 +3821,6 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" -[[package]] -name = "hex-literal" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ebdb29d2ea9ed0083cd8cece49bbd968021bd99b0849edb4a9a7ee0fdf6a4e0" - [[package]] name = "hex-literal" version = "0.4.1" @@ -4214,7 +4208,7 @@ dependencies = [ "frame-benchmarking", "frame-benchmarking-cli", "futures", - "hex-literal 0.4.1", + "hex-literal", "integritee-runtime", "jsonrpsee", "log", @@ -4293,7 +4287,7 @@ dependencies = [ "frame-system-rpc-runtime-api", "frame-try-runtime", "hex", - "hex-literal 0.4.1", + "hex-literal", "log", "orml-traits", "orml-xcm", @@ -6476,7 +6470,7 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "hex-literal 0.3.4", + "hex-literal", "log", "pallet-balances", "pallet-teerex", @@ -6936,7 +6930,7 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "hex-literal 0.3.4", + "hex-literal", "log", "pallet-balances", "pallet-enclave-bridge", @@ -7071,7 +7065,7 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "hex-literal 0.3.4", + "hex-literal", "log", "pallet-teerex", "pallet-timestamp", @@ -7095,7 +7089,7 @@ dependencies = [ "frame-support", "frame-system", "hex", - "hex-literal 0.3.4", + "hex-literal", "log", "pallet-balances", "pallet-timestamp", @@ -8421,7 +8415,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ee4508ff6b035edc08c54bb61238500179963f6f1eb8266dce6a5625509124bc" dependencies = [ "bitvec", - "hex-literal 0.4.1", + "hex-literal", "parity-scale-codec", "polkadot-core-primitives", "polkadot-parachain-primitives", @@ -8600,7 +8594,7 @@ dependencies = [ "frame-system", "frame-system-rpc-runtime-api", "futures", - "hex-literal 0.4.1", + "hex-literal", "is_executable", "kvdb", "kvdb-rocksdb", @@ -9515,7 +9509,7 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "hex-literal 0.4.1", + "hex-literal", "log", "pallet-asset-rate", "pallet-authority-discovery", @@ -11259,7 +11253,7 @@ dependencies = [ "der 0.6.1", "frame-support", "hex", - "hex-literal 0.3.4", + "hex-literal", "log", "parity-scale-codec", "ring 0.16.20", @@ -11360,7 +11354,7 @@ dependencies = [ "frame-system-rpc-runtime-api", "frame-try-runtime", "hex", - "hex-literal 0.4.1", + "hex-literal", "log", "orml-traits", "orml-xcm", @@ -14183,7 +14177,7 @@ dependencies = [ "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", - "hex-literal 0.4.1", + "hex-literal", "log", "pallet-asset-rate", "pallet-authority-discovery", diff --git a/polkadot-parachains/Cargo.toml b/polkadot-parachains/Cargo.toml index 516c5875..3597876a 100644 --- a/polkadot-parachains/Cargo.toml +++ b/polkadot-parachains/Cargo.toml @@ -118,7 +118,7 @@ runtime-benchmarks = [ "polkadot-cli/runtime-benchmarks", "polkadot-primitives/runtime-benchmarks", "sc-service/runtime-benchmarks", - #"shell-runtime/runtime-benchmarks", we don't need benchmarking for shell + "shell-runtime/runtime-benchmarks", "sp-runtime/runtime-benchmarks", ] From de33d62e4d95e51d3ad6ad29e07f6d3d926434e8 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Tue, 6 Feb 2024 08:35:27 +0100 Subject: [PATCH 26/29] alignment with parachain-template --- Cargo.lock | 1 + Cargo.toml | 1 + .../integritee-runtime/Cargo.toml | 2 + .../integritee-runtime/src/lib.rs | 116 ++++++++++++------ 4 files changed, 80 insertions(+), 40 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index dfb92288..88e64ce1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4327,6 +4327,7 @@ dependencies = [ "sp-block-builder", "sp-consensus-aura", "sp-core", + "sp-genesis-builder", "sp-inherents", "sp-io", "sp-offchain", diff --git a/Cargo.toml b/Cargo.toml index 48a4895e..fbff507e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -81,6 +81,7 @@ sp-api = { version = "23.0.0", default-features = false } sp-block-builder = { version = "23.0.0", default-features = false } sp-consensus-aura = { version = "0.29.0", default-features = false } sp-core = { version = "25.0.0", default-features = false } +sp-genesis-builder = { version = "0.4.0", default-features = false } sp-inherents = { version = "23.0.0", default-features = false } sp-io = { version = "27.0.0", default-features = false } sp-offchain = { version = "23.0.0", default-features = false } diff --git a/polkadot-parachains/integritee-runtime/Cargo.toml b/polkadot-parachains/integritee-runtime/Cargo.toml index 9619674c..bf1b4e36 100644 --- a/polkadot-parachains/integritee-runtime/Cargo.toml +++ b/polkadot-parachains/integritee-runtime/Cargo.toml @@ -65,6 +65,7 @@ sp-api = { workspace = true } sp-block-builder = { workspace = true } sp-consensus-aura = { workspace = true } sp-core = { workspace = true } +sp-genesis-builder = { workspace = true } sp-inherents = { workspace = true } sp-io = { workspace = true } sp-offchain = { workspace = true } @@ -150,6 +151,7 @@ std = [ "sp-block-builder/std", "sp-consensus-aura/std", "sp-core/std", + "sp-genesis-builder/std", "sp-inherents/std", "sp-io/std", "sp-offchain/std", diff --git a/polkadot-parachains/integritee-runtime/src/lib.rs b/polkadot-parachains/integritee-runtime/src/lib.rs index abcc9942..f6e73f46 100644 --- a/polkadot-parachains/integritee-runtime/src/lib.rs +++ b/polkadot-parachains/integritee-runtime/src/lib.rs @@ -29,7 +29,6 @@ use frame_support::traits::{ InstanceFilter, LinearStoragePrice, OnUnbalanced, }; use pallet_collective; -use pallet_transaction_payment::{FeeDetails, RuntimeDispatchInfo}; use parity_scale_codec::{Decode, Encode, MaxEncodedLen}; use sp_api::impl_runtime_apis; use sp_core::{crypto::KeyTypeId, ConstU32, OpaqueMetadata}; @@ -59,7 +58,11 @@ pub use frame_support::{ }, PalletId, StorageValue, }; -use frame_support::{traits::tokens::ConversionFromAssetBalance, weights::ConstantMultiplier}; +use frame_support::{ + genesis_builder_helper::{build_config, create_default_config}, + traits::tokens::ConversionFromAssetBalance, + weights::ConstantMultiplier, +}; use frame_system::{ limits::{BlockLength, BlockWeights}, EnsureRoot, EnsureWithSuccess, @@ -481,6 +484,8 @@ impl pallet_aura::Config for Runtime { type DisabledValidators = (); type MaxAuthorities = MaxAuthorities; type AllowMultipleBlocksPerSlot = ConstBool; + #[cfg(feature = "experimental")] + type SlotDuration = pallet_aura::MinimumPeriodTimesTwo; } // Integritee pallet @@ -760,52 +765,50 @@ construct_runtime!( pub enum Runtime { // Basic. - System: frame_system::{Pallet, Call, Config, Storage, Event} = 0, - ParachainSystem: cumulus_pallet_parachain_system::{ - Pallet, Call, Config, Storage, Inherent, Event, ValidateUnsigned, - } = 1, - // RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Storage} = 2, - Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 3, - ParachainInfo: staging_parachain_info::{Pallet, Storage, Config} = 4, + System: frame_system = 0, + ParachainSystem: cumulus_pallet_parachain_system = 1, + // RandomnessCollectiveFlip: pallet_randomness_collective_flip = 2, + Timestamp: pallet_timestamp = 3, + ParachainInfo: staging_parachain_info = 4, Preimage: pallet_preimage = 5, - Multisig: pallet_multisig::{Pallet, Call, Storage, Event} = 6, - Proxy: pallet_proxy::{Pallet, Call, Storage, Event} = 7, - Scheduler: pallet_scheduler::{Pallet, Call, Storage, Event} = 8, - Utility: pallet_utility::{Pallet, Call, Event} = 9, + Multisig: pallet_multisig = 6, + Proxy: pallet_proxy = 7, + Scheduler: pallet_scheduler = 8, + Utility: pallet_utility = 9, // Funds and fees. - Balances: pallet_balances::{Pallet, Call, Storage, Config, Event} = 10, - TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Event} = 11, - Vesting: pallet_vesting::{Pallet, Call, Storage, Event, Config} = 12, + Balances: pallet_balances = 10, + TransactionPayment: pallet_transaction_payment = 11, + Vesting: pallet_vesting = 12, // Governance. - Treasury: pallet_treasury::{Pallet, Call, Storage, Config, Event} = 13, - Democracy: pallet_democracy::{Pallet, Storage, Config, Event, Call} = 14, - Council: pallet_collective::::{Pallet, Call, Storage, Origin, Event, Config} = 15, + Treasury: pallet_treasury = 13, + Democracy: pallet_democracy = 14, + Council: pallet_collective:: = 15, TechnicalCommittee: - pallet_collective::::{Pallet, Call, Storage, Event, Origin, Config} = 16, - Bounties: pallet_bounties::{Pallet, Call, Storage, Event} = 18, + pallet_collective:: = 16, + Bounties: pallet_bounties = 18, ChildBounties: pallet_child_bounties = 19, // Consensus. - Aura: pallet_aura::{Pallet, Storage, Config} = 23, - AuraExt: cumulus_pallet_aura_ext::{Pallet, Storage, Config} = 24, + Aura: pallet_aura = 23, + AuraExt: cumulus_pallet_aura_ext = 24, // XCM helpers. - XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event} = 30, - PolkadotXcm: pallet_xcm::{Pallet, Call, Event, Origin, Storage, Config} = 31, - CumulusXcm: cumulus_pallet_xcm::{Pallet, Call, Event, Origin} = 32, - DmpQueue: cumulus_pallet_dmp_queue::{Pallet, Call, Storage, Event} = 33, - XTokens: orml_xtokens::{Pallet, Call, Storage, Event} = 34, + XcmpQueue: cumulus_pallet_xcmp_queue = 30, + PolkadotXcm: pallet_xcm = 31, + CumulusXcm: cumulus_pallet_xcm = 32, + DmpQueue: cumulus_pallet_dmp_queue = 33, + XTokens: orml_xtokens = 34, OrmlXcm: orml_xcm = 35, XcmTransactor: pallet_xcm_transactor = 36, // Integritee pallets. - Teerex: pallet_teerex::{Pallet, Call, Config, Storage, Event} = 50, - Claims: pallet_claims::{Pallet, Call, Storage, Config, Event, ValidateUnsigned} = 51, - Teeracle: pallet_teeracle::{Pallet, Call, Storage, Event} = 52, - Sidechain: pallet_sidechain::{Pallet, Call, Storage, Event} = 53, - EnclaveBridge: pallet_enclave_bridge::{Pallet, Call, Storage, Event} = 54, + Teerex: pallet_teerex = 50, + Claims: pallet_claims = 51, + Teeracle: pallet_teeracle = 52, + Sidechain: pallet_sidechain= 53, + EnclaveBridge: pallet_enclave_bridge = 54, } ); @@ -875,6 +878,7 @@ mod benches { [pallet_treasury, Treasury] [pallet_vesting, Vesting] [pallet_xcm, PolkadotXcm] + [cumulus_pallet_xcmp_queue, XcmpQueue] [pallet_utility, Utility] ); } @@ -974,10 +978,16 @@ impl_runtime_apis! { } impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi for Runtime { - fn query_info(uxt: ::Extrinsic, len: u32) -> RuntimeDispatchInfo { + fn query_info( + uxt: ::Extrinsic, + len: u32, + ) -> pallet_transaction_payment_rpc_runtime_api::RuntimeDispatchInfo { TransactionPayment::query_info(uxt, len) } - fn query_fee_details(uxt: ::Extrinsic, len: u32) -> FeeDetails { + fn query_fee_details( + uxt: ::Extrinsic, + len: u32, + ) -> pallet_transaction_payment::FeeDetails { TransactionPayment::query_fee_details(uxt, len) } fn query_weight_to_fee(weight: Weight) -> Balance { @@ -991,10 +1001,16 @@ impl_runtime_apis! { impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentCallApi for Runtime { - fn query_call_info(call: RuntimeCall, len: u32) -> RuntimeDispatchInfo { + fn query_call_info( + call: RuntimeCall, + len: u32, + ) -> pallet_transaction_payment::RuntimeDispatchInfo { TransactionPayment::query_call_info(call, len) } - fn query_call_fee_details(call: RuntimeCall, len: u32) -> FeeDetails { + 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 { @@ -1044,15 +1060,25 @@ impl_runtime_apis! { list_benchmarks!(list, extra); let storage_info = AllPalletsWithSystem::storage_info(); - return (list, storage_info) + (list, storage_info) } fn dispatch_benchmark( config: frame_benchmarking::BenchmarkConfig ) -> Result, sp_runtime::RuntimeString> { - use frame_benchmarking::{Benchmarking, BenchmarkBatch}; + use frame_benchmarking::{BenchmarkError, Benchmarking, BenchmarkBatch}; + use frame_system_benchmarking::Pallet as SystemBench; - impl frame_system_benchmarking::Config for Runtime {} + impl frame_system_benchmarking::Config for Runtime { + fn setup_set_code_requirements(code: &sp_std::vec::Vec) -> Result<(), BenchmarkError> { + ParachainSystem::initialize_for_set_code_benchmark(code.len() as u32); + Ok(()) + } + + fn verify_set_code() { + System::assert_last_event(cumulus_pallet_parachain_system::Event::::ValidationFunctionStored.into()); + } + } use frame_support::traits::WhitelistedStorageKeys; let whitelist = AllPalletsWithSystem::whitelisted_storage_keys(); @@ -1065,6 +1091,16 @@ impl_runtime_apis! { Ok(batches) } } + + impl sp_genesis_builder::GenesisBuilder for Runtime { + fn create_default_config() -> Vec { + create_default_config::() + } + + fn build_config(config: Vec) -> sp_genesis_builder::Result { + build_config::(config) + } + } } struct CheckInherents; From 6ec337f0688813d9c0a8449b8737f81cff9aeba6 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Tue, 6 Feb 2024 09:49:35 +0100 Subject: [PATCH 27/29] use construct_partials macro. doesn't help --- polkadot-parachains/src/chain_spec.rs | 1 + polkadot-parachains/src/command.rs | 42 +++++++++++++++------------ 2 files changed, 24 insertions(+), 19 deletions(-) diff --git a/polkadot-parachains/src/chain_spec.rs b/polkadot-parachains/src/chain_spec.rs index 974c3b69..6fd83306 100644 --- a/polkadot-parachains/src/chain_spec.rs +++ b/polkadot-parachains/src/chain_spec.rs @@ -250,6 +250,7 @@ fn integritee_genesis_config( }, claims: Default::default(), treasury: Default::default(), + transaction_payment: Default::default(), } } diff --git a/polkadot-parachains/src/command.rs b/polkadot-parachains/src/command.rs index 250e5bf7..3ffb8fae 100644 --- a/polkadot-parachains/src/command.rs +++ b/polkadot-parachains/src/command.rs @@ -197,6 +197,19 @@ impl SubstrateCli for RelayChainCli { } } +/// Creates partial components for the runtimes that are supported by the benchmarks. +macro_rules! construct_partials { + ($config:expr, |$partials:ident| $code:expr) => { + if $config.chain_spec.is_shell() { + let $partials = crate::service_shell::new_partial(&$config)?; + $code + } else { + let $partials = crate::service::new_partial(&$config)?; + $code + } + }; +} + macro_rules! construct_async_run { (|$components:ident, $cli:ident, $cmd:ident, $config:ident| $( $code:tt )* ) => {{ let runner = $cli.create_runner($cmd)?; @@ -275,18 +288,9 @@ pub fn run() -> Result<()> { }, Some(Subcommand::ExportGenesisState(cmd)) => { let runner = cli.create_runner(cmd)?; - if runner.config().chain_spec.is_shell() { - runner.sync_run(|config| { - let partials = crate::service_shell::new_partial(&config)?; - cmd.run(&*config.chain_spec, &*partials.client) - }) - - } else { - runner.sync_run(|config| { - let partials = crate::service::new_partial(&config)?; - cmd.run(&*config.chain_spec, &*partials.client) - }) - } + runner.sync_run(|config| { + construct_partials!(config, |partials| cmd.run(&*config.chain_spec, &*partials.client)) + }) }, Some(Subcommand::ExportGenesisWasm(cmd)) => { let runner = cli.create_runner(cmd)?; @@ -308,9 +312,7 @@ pub fn run() -> Result<()> { .into()) }, BenchmarkCmd::Block(cmd) => runner.sync_run(|config| { - // there's no point in benchmarking the shell runitme - let partials = crate::service::new_partial(&config)?; - cmd.run(partials.client) + construct_partials!(config, |partials| cmd.run(partials.client)) }), #[cfg(not(feature = "runtime-benchmarks"))] BenchmarkCmd::Storage(_) => @@ -322,10 +324,12 @@ pub fn run() -> Result<()> { .into()), #[cfg(feature = "runtime-benchmarks")] BenchmarkCmd::Storage(cmd) => runner.sync_run(|config| { - let partials = crate::service::new_partial(&config)?; - let db = partials.backend.expose_db(); - let storage = partials.backend.expose_storage(); - cmd.run(config, partials.client.clone(), db, storage) + construct_partials!(config, |partials| { + let db = partials.backend.expose_db(); + let storage = partials.backend.expose_storage(); + + cmd.run(config, partials.client.clone(), db, storage) + }) }), BenchmarkCmd::Machine(cmd) => runner.sync_run(|config| cmd.run(&config, SUBSTRATE_REFERENCE_HARDWARE.clone())), From d516799f7c4eed36eb96d1df6aec94d7e90481f9 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Tue, 6 Feb 2024 11:34:25 +0100 Subject: [PATCH 28/29] further aligning with parachain-template --- Cargo.lock | 1 + polkadot-parachains/shell-runtime/Cargo.toml | 2 + polkadot-parachains/shell-runtime/src/lib.rs | 41 ++++++++++++-------- polkadot-parachains/src/chain_spec.rs | 1 + 4 files changed, 29 insertions(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 88e64ce1..759ef08e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -11349,6 +11349,7 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-timestamp", "cumulus-primitives-utility", + "frame-benchmarking", "frame-executive", "frame-support", "frame-system", diff --git a/polkadot-parachains/shell-runtime/Cargo.toml b/polkadot-parachains/shell-runtime/Cargo.toml index a1a9bcc7..1fd879e6 100644 --- a/polkadot-parachains/shell-runtime/Cargo.toml +++ b/polkadot-parachains/shell-runtime/Cargo.toml @@ -24,6 +24,7 @@ cumulus-pallet-xcmp-queue = { workspace = true } cumulus-primitives-core = { workspace = true } cumulus-primitives-timestamp = { workspace = true } cumulus-primitives-utility = { workspace = true } +frame-benchmarking = { workspace = true, optional = true } frame-executive = { workspace = true } frame-support = { workspace = true } frame-system = { workspace = true } @@ -127,6 +128,7 @@ std = [ runtime-benchmarks = [ "cumulus-pallet-parachain-system/runtime-benchmarks", "cumulus-pallet-xcmp-queue/runtime-benchmarks", + "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "pallet-balances/runtime-benchmarks", diff --git a/polkadot-parachains/shell-runtime/src/lib.rs b/polkadot-parachains/shell-runtime/src/lib.rs index 7c81eae7..3da350b0 100644 --- a/polkadot-parachains/shell-runtime/src/lib.rs +++ b/polkadot-parachains/shell-runtime/src/lib.rs @@ -286,26 +286,24 @@ construct_runtime!( pub enum Runtime { // System support stuff. - System: frame_system::{Pallet, Call, Config, Storage, Event} = 0, - ParachainSystem: cumulus_pallet_parachain_system::{ - Pallet, Call, Config, Storage, Inherent, Event, ValidateUnsigned, - } = 1, - Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 3, - ParachainInfo: staging_parachain_info::{Pallet, Storage, Config} = 4, - Sudo: pallet_sudo::{Pallet, Call, Storage, Config, Event} = 5, + System: frame_system = 0, + ParachainSystem: cumulus_pallet_parachain_system = 1, + Timestamp: pallet_timestamp = 3, + ParachainInfo: staging_parachain_info = 4, + Sudo: pallet_sudo = 5, // Monetary stuff. - Balances: pallet_balances::{Pallet, Call, Storage, Config, Event} = 10, - TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Event} = 11, - Vesting: pallet_vesting::{Pallet, Call, Storage, Event, Config} = 12, + Balances: pallet_balances = 10, + TransactionPayment: pallet_transaction_payment = 11, + Vesting: pallet_vesting = 12, - Aura: pallet_aura::{Pallet, Storage, Config} = 23, - AuraExt: cumulus_pallet_aura_ext::{Pallet, Config} = 24, + Aura: pallet_aura = 23, + AuraExt: cumulus_pallet_aura_ext = 24, - XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event} = 30, - PolkadotXcm: pallet_xcm::{Pallet, Call, Event, Origin, Storage, Config} = 31, - CumulusXcm: cumulus_pallet_xcm::{Pallet, Call, Event, Origin} = 32, - DmpQueue: cumulus_pallet_dmp_queue::{Pallet, Call, Storage, Event} = 33, + XcmpQueue: cumulus_pallet_xcmp_queue = 30, + PolkadotXcm: pallet_xcm = 31, + CumulusXcm: cumulus_pallet_xcm = 32, + DmpQueue: cumulus_pallet_dmp_queue = 33, XcmTransactor: pallet_xcm_transactor = 34, } ); @@ -343,6 +341,17 @@ pub type Executive = frame_executive::Executive< (), >; +#[cfg(feature = "runtime-benchmarks")] +mod benches { + frame_benchmarking::define_benchmarks!( + [frame_system, SystemBench::] + [pallet_balances, Balances] + [pallet_timestamp, Timestamp] + [pallet_sudo, Sudo] + [cumulus_pallet_xcmp_queue, XcmpQueue] + ); +} + impl_runtime_apis! { impl sp_consensus_aura::AuraApi for Runtime { fn slot_duration() -> sp_consensus_aura::SlotDuration { diff --git a/polkadot-parachains/src/chain_spec.rs b/polkadot-parachains/src/chain_spec.rs index 6fd83306..91afa2cf 100644 --- a/polkadot-parachains/src/chain_spec.rs +++ b/polkadot-parachains/src/chain_spec.rs @@ -280,6 +280,7 @@ fn shell_genesis_config( aura: shell_runtime::AuraConfig { authorities: initial_authorities }, aura_ext: Default::default(), polkadot_xcm: Default::default(), + transaction_payment: Default::default(), } } From 46365ce41b3ea2077ef414191eb0e74e7bf14d4d Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Wed, 7 Feb 2024 14:11:42 +0100 Subject: [PATCH 29/29] re-ran benchmarks. manual corrections were necessary --- Cargo.lock | 32 +- Cargo.toml | 31 +- polkadot-parachains/Cargo.toml | 2 +- .../integritee-runtime/Cargo.toml | 5 +- .../integritee-runtime/src/lib.rs | 38 +- .../src/weights/cumulus_pallet_xcmp_queue.rs | 59 +++ .../src/weights/pallet_balances.rs | 74 +-- .../src/weights/pallet_child_bounties.rs | 170 +++--- .../src/weights/pallet_claims.rs | 158 +++--- .../src/weights/pallet_collective.rs | 256 +++++---- .../src/weights/pallet_democracy.rs | 490 +++++++++--------- .../src/weights/pallet_enclave_bridge.rs | 94 ++-- .../src/weights/pallet_multisig.rs | 102 ++-- .../src/weights/pallet_proxy.rs | 162 +++--- .../src/weights/pallet_scheduler.rs | 130 ++--- .../src/weights/pallet_sidechain.rs | 30 +- .../src/weights/pallet_teeracle.rs | 54 +- .../src/weights/pallet_teerex.rs | 96 ++-- .../src/weights/pallet_timestamp.rs | 18 +- .../src/weights/pallet_utility.rs | 38 +- .../src/weights/pallet_vesting.rs | 216 ++++---- .../src/weights/pallet_xcm.rs | 234 ++++----- 22 files changed, 1277 insertions(+), 1212 deletions(-) create mode 100644 polkadot-parachains/integritee-runtime/src/weights/cumulus_pallet_xcmp_queue.rs diff --git a/Cargo.lock b/Cargo.lock index 759ef08e..31f41063 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1203,6 +1203,7 @@ dependencies = [ [[package]] name = "claims-primitives" version = "0.1.0" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#a6a00e74170eea8bc22c636befbcd2207228eaf3" dependencies = [ "parity-scale-codec", "rustc-hex", @@ -1333,6 +1334,7 @@ checksum = "2382f75942f4b3be3690fe4f86365e9c853c1587d6ee58212cebf6e2a9ccd101" [[package]] name = "common-primitives" version = "0.1.0" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#a6a00e74170eea8bc22c636befbcd2207228eaf3" dependencies = [ "derive_more", "parity-scale-codec", @@ -1997,21 +1999,6 @@ dependencies = [ "syn 2.0.39", ] -[[package]] -name = "cumulus-pallet-session-benchmarking" -version = "6.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bf9aaa60ed60ee9cbfc55535a6e2a01353c8308135e24d6c50ba989e518f17d" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "pallet-session", - "parity-scale-codec", - "sp-runtime", - "sp-std", -] - [[package]] name = "cumulus-pallet-xcm" version = "0.4.0" @@ -2762,6 +2749,7 @@ dependencies = [ [[package]] name = "enclave-bridge-primitives" version = "0.1.0" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#a6a00e74170eea8bc22c636befbcd2207228eaf3" dependencies = [ "common-primitives", "log", @@ -4272,7 +4260,6 @@ dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", "cumulus-pallet-parachain-system", - "cumulus-pallet-session-benchmarking", "cumulus-pallet-xcm", "cumulus-pallet-xcmp-queue", "cumulus-primitives-core", @@ -4334,6 +4321,7 @@ dependencies = [ "sp-runtime", "sp-session", "sp-std", + "sp-storage", "sp-transaction-pool", "sp-version", "staging-parachain-info", @@ -6333,6 +6321,7 @@ dependencies = [ [[package]] name = "pallet-claims" version = "0.9.12" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#a6a00e74170eea8bc22c636befbcd2207228eaf3" dependencies = [ "claims-primitives", "frame-benchmarking", @@ -6466,6 +6455,7 @@ dependencies = [ [[package]] name = "pallet-enclave-bridge" version = "0.12.0" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#a6a00e74170eea8bc22c636befbcd2207228eaf3" dependencies = [ "enclave-bridge-primitives", "frame-benchmarking", @@ -6926,6 +6916,7 @@ dependencies = [ [[package]] name = "pallet-sidechain" version = "0.11.0" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#a6a00e74170eea8bc22c636befbcd2207228eaf3" dependencies = [ "enclave-bridge-primitives", "frame-benchmarking", @@ -7062,6 +7053,7 @@ dependencies = [ [[package]] name = "pallet-teeracle" version = "0.1.0" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#a6a00e74170eea8bc22c636befbcd2207228eaf3" dependencies = [ "frame-benchmarking", "frame-support", @@ -7085,6 +7077,7 @@ dependencies = [ [[package]] name = "pallet-teerex" version = "0.10.0" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#a6a00e74170eea8bc22c636befbcd2207228eaf3" dependencies = [ "frame-benchmarking", "frame-support", @@ -7309,6 +7302,7 @@ dependencies = [ [[package]] name = "pallet-xcm-transactor" version = "0.1.0" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#a6a00e74170eea8bc22c636befbcd2207228eaf3" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -11248,6 +11242,7 @@ dependencies = [ [[package]] name = "sgx-verify" version = "0.1.4" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#a6a00e74170eea8bc22c636befbcd2207228eaf3" dependencies = [ "base64 0.13.1", "chrono", @@ -11404,6 +11399,7 @@ checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" [[package]] name = "sidechain-primitives" version = "0.1.0" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#a6a00e74170eea8bc22c636befbcd2207228eaf3" dependencies = [ "parity-scale-codec", "scale-info", @@ -12889,6 +12885,7 @@ checksum = "1d2faeef5759ab89935255b1a4cd98e0baf99d1085e37d36599c625dac49ae8e" [[package]] name = "teeracle-primitives" version = "0.1.0" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#a6a00e74170eea8bc22c636befbcd2207228eaf3" dependencies = [ "common-primitives", "sp-std", @@ -12898,6 +12895,7 @@ dependencies = [ [[package]] name = "teerex-primitives" version = "0.1.0" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#a6a00e74170eea8bc22c636befbcd2207228eaf3" dependencies = [ "common-primitives", "derive_more", @@ -12941,6 +12939,7 @@ checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] name = "test-utils" version = "0.1.0" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#a6a00e74170eea8bc22c636befbcd2207228eaf3" dependencies = [ "log", "sgx-verify", @@ -14689,6 +14688,7 @@ dependencies = [ [[package]] name = "xcm-transactor-primitives" version = "0.1.0" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.3.0#a6a00e74170eea8bc22c636befbcd2207228eaf3" dependencies = [ "common-primitives", "cumulus-primitives-core", diff --git a/Cargo.toml b/Cargo.toml index fbff507e..09a0ce3a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,7 +36,6 @@ xcm-transactor-primitives = { default-features = false, git = "https://github.co cumulus-pallet-aura-ext = { version = "0.4.0", default-features = false } cumulus-pallet-dmp-queue = { version = "0.4.0", default-features = false } cumulus-pallet-parachain-system = { version = "0.4.1", default-features = false } -cumulus-pallet-session-benchmarking = { version = "6.0.0", default-features = false } cumulus-pallet-xcm = { version = "0.4.0", default-features = false } cumulus-pallet-xcmp-queue = { version = "0.4.0", default-features = false } cumulus-primitives-core = { version = "0.4.0", default-features = false } @@ -88,6 +87,7 @@ sp-offchain = { version = "23.0.0", default-features = false } sp-runtime = { version = "28.0.0", default-features = false } sp-session = { version = "24.0.0", default-features = false } sp-std = { version = "12.0.0", default-features = false } +sp-storage = { version = "17.0.0", default-features = false } sp-transaction-pool = { version = "23.0.0", default-features = false } sp-version = { version = "26.0.0", default-features = false } staging-xcm = { version = "4.0.0", default-features = false } @@ -155,20 +155,21 @@ polkadot-runtime-parachains = "4.0.0" substrate-build-script-utils = "9.0.0" substrate-wasm-builder = "14.0.0" -[patch."https://github.com/integritee-network/pallets.git"] -claims-primitives = { path = '../pallets/primitives/claims' } -common-primitives = { path = '../pallets/primitives/common' } -enclave-bridge-primitives = { path = '../pallets/primitives/enclave-bridge' } -pallet-claims = { path = '../pallets/claims' } -pallet-enclave-bridge = { path = '../pallets/enclave-bridge' } -pallet-sidechain = { path = '../pallets/sidechain' } -pallet-teeracle = { path = '../pallets/teeracle' } -pallet-teerex = { path = '../pallets/teerex' } -pallet-xcm-transactor = { path = '../pallets/xcm-transactor' } -sgx-verify = { path = '../pallets/teerex/sgx-verify' } -teeracle-primitives = { path = '../pallets/primitives/teeracle' } -teerex-primitives = { path = '../pallets/primitives/teerex' } -xcm-transactor-primitives = { path = '../pallets/primitives/xcm-transactor' } +#[patch."https://github.com/integritee-network/pallets.git"] +#claims-primitives = { path = '../pallets/primitives/claims' } +#common-primitives = { path = '../pallets/primitives/common' } +#enclave-bridge-primitives = { path = '../pallets/primitives/enclave-bridge' } +#pallet-claims = { path = '../pallets/claims' } +#pallet-enclave-bridge = { path = '../pallets/enclave-bridge' } +#pallet-sidechain = { path = '../pallets/sidechain' } +#pallet-teeracle = { path = '../pallets/teeracle' } +#pallet-teerex = { path = '../pallets/teerex' } +#pallet-xcm-transactor = { path = '../pallets/xcm-transactor' } +#sgx-verify = { path = '../pallets/teerex/sgx-verify' } +#teeracle-primitives = { path = '../pallets/primitives/teeracle' } +#teerex-primitives = { path = '../pallets/primitives/teerex' } +#xcm-transactor-primitives = { path = '../pallets/primitives/xcm-transactor' } +#test-utils = { path = '../pallets/test-utils' } [patch.crates-io] ring = { git = "https://github.com/betrusted-io/ring-xous", branch = "0.16.20-cleanup" } diff --git a/polkadot-parachains/Cargo.toml b/polkadot-parachains/Cargo.toml index 3597876a..d553df1a 100644 --- a/polkadot-parachains/Cargo.toml +++ b/polkadot-parachains/Cargo.toml @@ -120,7 +120,7 @@ runtime-benchmarks = [ "sc-service/runtime-benchmarks", "shell-runtime/runtime-benchmarks", "sp-runtime/runtime-benchmarks", - + "polkadot-service/runtime-benchmarks", ] fast-runtime = [ "polkadot-service/fast-runtime", diff --git a/polkadot-parachains/integritee-runtime/Cargo.toml b/polkadot-parachains/integritee-runtime/Cargo.toml index bf1b4e36..983ebfb8 100644 --- a/polkadot-parachains/integritee-runtime/Cargo.toml +++ b/polkadot-parachains/integritee-runtime/Cargo.toml @@ -21,7 +21,6 @@ parachains-common = { path = "../common", default-features = false } cumulus-pallet-aura-ext = { workspace = true } cumulus-pallet-dmp-queue = { workspace = true } cumulus-pallet-parachain-system = { workspace = true } -cumulus-pallet-session-benchmarking = { workspace = true } cumulus-pallet-xcm = { workspace = true } cumulus-pallet-xcmp-queue = { workspace = true } cumulus-primitives-core = { workspace = true } @@ -72,6 +71,7 @@ sp-offchain = { workspace = true } sp-runtime = { workspace = true } sp-session = { workspace = true } sp-std = { workspace = true } +sp-storage = { workspace = true } sp-transaction-pool = { workspace = true } sp-version = { workspace = true } staging-parachain-info = { workspace = true } @@ -101,7 +101,6 @@ std = [ "cumulus-pallet-aura-ext/std", "cumulus-pallet-dmp-queue/std", "cumulus-pallet-parachain-system/std", - "cumulus-pallet-session-benchmarking/std", "cumulus-pallet-xcm/std", "cumulus-pallet-xcmp-queue/std", "cumulus-primitives-core/std", @@ -158,6 +157,7 @@ std = [ "sp-runtime/std", "sp-session/std", "sp-std/std", + "sp-storage/std", "sp-transaction-pool/std", "sp-version/std", "staging-parachain-info/std", @@ -169,7 +169,6 @@ std = [ ] runtime-benchmarks = [ "cumulus-pallet-parachain-system/runtime-benchmarks", - "cumulus-pallet-session-benchmarking/runtime-benchmarks", "cumulus-pallet-xcmp-queue/runtime-benchmarks", "cumulus-primitives-utility/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks", diff --git a/polkadot-parachains/integritee-runtime/src/lib.rs b/polkadot-parachains/integritee-runtime/src/lib.rs index f6e73f46..1d572642 100644 --- a/polkadot-parachains/integritee-runtime/src/lib.rs +++ b/polkadot-parachains/integritee-runtime/src/lib.rs @@ -1066,22 +1066,32 @@ impl_runtime_apis! { fn dispatch_benchmark( config: frame_benchmarking::BenchmarkConfig ) -> Result, sp_runtime::RuntimeString> { - use frame_benchmarking::{BenchmarkError, Benchmarking, BenchmarkBatch}; + use frame_benchmarking::{Benchmarking, BenchmarkBatch}; + use sp_storage::TrackedStorageKey; use frame_system_benchmarking::Pallet as SystemBench; - impl frame_system_benchmarking::Config for Runtime { - fn setup_set_code_requirements(code: &sp_std::vec::Vec) -> Result<(), BenchmarkError> { - ParachainSystem::initialize_for_set_code_benchmark(code.len() as u32); - Ok(()) - } - - fn verify_set_code() { - System::assert_last_event(cumulus_pallet_parachain_system::Event::::ValidationFunctionStored.into()); - } - } - - use frame_support::traits::WhitelistedStorageKeys; - let whitelist = AllPalletsWithSystem::whitelisted_storage_keys(); + impl frame_system_benchmarking::Config for Runtime {} + + // Whitelisted keys to be ignored in benchmarking DB-access tracking. + // + // Reasoning: + // Previously accessed storage keys are stored in the `StorageOverlay`, i.e. the runtime cache. + // A cache with the life-time of one block. + // Accessing these keys afterwards in the same block is considered as negligible overhead. + // Hence, we whitelist storage keys that are accessed every block anyhow because accessing them + // in our pallet can be considered free. + let whitelist: Vec = vec![ + // Block Number + hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef702a5c1b19ab7a04f536c519aca4983ac").to_vec().into(), + // Total Issuance + hex_literal::hex!("c2261276cc9d1f8598ea4b6a74b15c2f57c875e4cff74148e4628f264b974c80").to_vec().into(), + // Execution Phase + hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef7ff553b5a9862a516939d82b3d3d8661a").to_vec().into(), + // Event Count + hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef70a98fdbe9ce6c55837576c60c7af3850").to_vec().into(), + // System Events + hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef780d41e5e16056765bc8461851072c9d7").to_vec().into(), + ]; let mut batches = Vec::::new(); let params = (&config, &whitelist); diff --git a/polkadot-parachains/integritee-runtime/src/weights/cumulus_pallet_xcmp_queue.rs b/polkadot-parachains/integritee-runtime/src/weights/cumulus_pallet_xcmp_queue.rs new file mode 100644 index 00000000..187b3d1a --- /dev/null +++ b/polkadot-parachains/integritee-runtime/src/weights/cumulus_pallet_xcmp_queue.rs @@ -0,0 +1,59 @@ + +//! Autogenerated weights for `cumulus_pallet_xcmp_queue` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 +//! DATE: 2024-02-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 + +// Executed Command: +// ./target/release/integritee-collator +// benchmark +// pallet +// --chain=integritee-rococo-local-dev +// --steps=50 +// --repeat=20 +// --pallet=cumulus_pallet_xcmp_queue +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --output=./polkadot-parachains/integritee-runtime/src/weights/cumulus_pallet_xcmp_queue.rs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `cumulus_pallet_xcmp_queue`. +pub struct WeightInfo(PhantomData); +impl cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn set_config_with_u32() -> Weight { + // Proof Size summary in bytes: + // Measured: `76` + // Estimated: `1561` + // Minimum execution time: 6_722_000 picoseconds. + Weight::from_parts(7_764_000, 0) + .saturating_add(Weight::from_parts(0, 1561)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn set_config_with_weight() -> Weight { + // Proof Size summary in bytes: + // Measured: `76` + // Estimated: `1561` + // Minimum execution time: 6_388_000 picoseconds. + Weight::from_parts(6_926_000, 0) + .saturating_add(Weight::from_parts(0, 1561)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } +} diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_balances.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_balances.rs index 7c81751b..575300a4 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_balances.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_balances.rs @@ -1,11 +1,11 @@ //! Autogenerated weights for `pallet_balances` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 +//! DATE: 2024-02-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 // Executed Command: // ./target/release/integritee-collator @@ -32,102 +32,102 @@ use core::marker::PhantomData; /// Weight functions for `pallet_balances`. pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_allow_death() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 91_815_000 picoseconds. - Weight::from_parts(93_004_000, 0) + // Minimum execution time: 47_492_000 picoseconds. + Weight::from_parts(49_008_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 69_664_000 picoseconds. - Weight::from_parts(70_412_000, 0) + // Minimum execution time: 38_298_000 picoseconds. + Weight::from_parts(38_676_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_set_balance_creating() -> Weight { // Proof Size summary in bytes: // Measured: `103` // Estimated: `3593` - // Minimum execution time: 22_130_000 picoseconds. - Weight::from_parts(22_880_000, 0) + // Minimum execution time: 12_671_000 picoseconds. + Weight::from_parts(13_153_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_set_balance_killing() -> Weight { // Proof Size summary in bytes: // Measured: `103` // Estimated: `3593` - // Minimum execution time: 33_633_000 picoseconds. - Weight::from_parts(34_220_000, 0) + // Minimum execution time: 18_047_000 picoseconds. + Weight::from_parts(18_673_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `103` // Estimated: `6196` - // Minimum execution time: 86_787_000 picoseconds. - Weight::from_parts(90_183_000, 0) + // Minimum execution time: 48_743_000 picoseconds. + Weight::from_parts(50_311_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 79_890_000 picoseconds. - Weight::from_parts(80_531_000, 0) + // Minimum execution time: 47_454_000 picoseconds. + Weight::from_parts(48_189_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_unreserve() -> Weight { // Proof Size summary in bytes: // Measured: `103` // Estimated: `3593` - // Minimum execution time: 25_397_000 picoseconds. - Weight::from_parts(26_729_000, 0) + // Minimum execution time: 14_855_000 picoseconds. + Weight::from_parts(15_239_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:999 w:999) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:999 w:999) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `u` is `[1, 1000]`. fn upgrade_accounts(u: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + u * (136 ±0)` // Estimated: `990 + u * (2603 ±0)` - // Minimum execution time: 24_994_000 picoseconds. - Weight::from_parts(25_305_000, 0) + // Minimum execution time: 14_792_000 picoseconds. + Weight::from_parts(14_938_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 24_927 - .saturating_add(Weight::from_parts(16_709_490, 0).saturating_mul(u.into())) + // Standard Error: 54_838 + .saturating_add(Weight::from_parts(14_717_365, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into())) diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_child_bounties.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_child_bounties.rs index 49c780ec..72d01355 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_child_bounties.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_child_bounties.rs @@ -1,11 +1,11 @@ //! Autogenerated weights for `pallet_child_bounties` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 +//! DATE: 2024-02-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 // Executed Command: // ./target/release/integritee-collator @@ -32,149 +32,149 @@ use core::marker::PhantomData; /// Weight functions for `pallet_child_bounties`. pub struct WeightInfo(PhantomData); impl pallet_child_bounties::WeightInfo for WeightInfo { - /// Storage: ChildBounties ParentChildBounties (r:1 w:1) - /// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen) - /// Storage: Bounties Bounties (r:1 w:0) - /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ChildBounties ChildBountyCount (r:1 w:1) - /// Proof: ChildBounties ChildBountyCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1) - /// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen) - /// Storage: ChildBounties ChildBounties (r:0 w:1) - /// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen) + /// Storage: `ChildBounties::ParentChildBounties` (r:1 w:1) + /// Proof: `ChildBounties::ParentChildBounties` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`) + /// Storage: `Bounties::Bounties` (r:1 w:0) + /// Proof: `Bounties::Bounties` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ChildBounties::ChildBountyCount` (r:1 w:1) + /// Proof: `ChildBounties::ChildBountyCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ChildBounties::ChildBountyDescriptions` (r:0 w:1) + /// Proof: `ChildBounties::ChildBountyDescriptions` (`max_values`: None, `max_size`: Some(16400), added: 18875, mode: `MaxEncodedLen`) + /// Storage: `ChildBounties::ChildBounties` (r:0 w:1) + /// Proof: `ChildBounties::ChildBounties` (`max_values`: None, `max_size`: Some(145), added: 2620, mode: `MaxEncodedLen`) /// The range of component `d` is `[0, 16384]`. fn add_child_bounty(_d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `511` // Estimated: `6196` - // Minimum execution time: 74_467_000 picoseconds. - Weight::from_parts(89_810_999, 0) + // Minimum execution time: 70_530_000 picoseconds. + Weight::from_parts(94_386_360, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) } - /// Storage: Bounties Bounties (r:1 w:0) - /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - /// Storage: ChildBounties ChildBounties (r:1 w:1) - /// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen) - /// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1) - /// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: `Bounties::Bounties` (r:1 w:0) + /// Proof: `Bounties::Bounties` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `ChildBounties::ChildBounties` (r:1 w:1) + /// Proof: `ChildBounties::ChildBounties` (`max_values`: None, `max_size`: Some(145), added: 2620, mode: `MaxEncodedLen`) + /// Storage: `ChildBounties::ChildrenCuratorFees` (r:1 w:1) + /// Proof: `ChildBounties::ChildrenCuratorFees` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn propose_curator() -> Weight { // Proof Size summary in bytes: // Measured: `565` // Estimated: `3642` - // Minimum execution time: 16_848_000 picoseconds. - Weight::from_parts(17_754_000, 0) + // Minimum execution time: 19_470_000 picoseconds. + Weight::from_parts(20_181_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Bounties Bounties (r:1 w:0) - /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - /// Storage: ChildBounties ChildBounties (r:1 w:1) - /// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Bounties::Bounties` (r:1 w:0) + /// Proof: `Bounties::Bounties` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `ChildBounties::ChildBounties` (r:1 w:1) + /// Proof: `ChildBounties::ChildBounties` (`max_values`: None, `max_size`: Some(145), added: 2620, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn accept_curator() -> Weight { // Proof Size summary in bytes: // Measured: `711` // Estimated: `3642` - // Minimum execution time: 32_075_000 picoseconds. - Weight::from_parts(32_890_000, 0) + // Minimum execution time: 33_488_000 picoseconds. + Weight::from_parts(34_396_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: ChildBounties ChildBounties (r:1 w:1) - /// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen) - /// Storage: Bounties Bounties (r:1 w:0) - /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `ChildBounties::ChildBounties` (r:1 w:1) + /// Proof: `ChildBounties::ChildBounties` (`max_values`: None, `max_size`: Some(145), added: 2620, mode: `MaxEncodedLen`) + /// Storage: `Bounties::Bounties` (r:1 w:0) + /// Proof: `Bounties::Bounties` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn unassign_curator() -> Weight { // Proof Size summary in bytes: // Measured: `711` // Estimated: `3642` - // Minimum execution time: 34_117_000 picoseconds. - Weight::from_parts(35_721_000, 0) + // Minimum execution time: 34_939_000 picoseconds. + Weight::from_parts(35_802_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Bounties Bounties (r:1 w:0) - /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - /// Storage: ChildBounties ChildBounties (r:1 w:1) - /// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen) + /// Storage: `Bounties::Bounties` (r:1 w:0) + /// Proof: `Bounties::Bounties` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `ChildBounties::ChildBounties` (r:1 w:1) + /// Proof: `ChildBounties::ChildBounties` (`max_values`: None, `max_size`: Some(145), added: 2620, mode: `MaxEncodedLen`) fn award_child_bounty() -> Weight { // Proof Size summary in bytes: // Measured: `608` // Estimated: `3642` - // Minimum execution time: 21_044_000 picoseconds. - Weight::from_parts(21_820_000, 0) + // Minimum execution time: 20_633_000 picoseconds. + Weight::from_parts(21_357_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: ChildBounties ChildBounties (r:1 w:1) - /// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen) - /// Storage: System Account (r:3 w:3) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ChildBounties ParentChildBounties (r:1 w:1) - /// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen) - /// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1) - /// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen) + /// Storage: `ChildBounties::ChildBounties` (r:1 w:1) + /// Proof: `ChildBounties::ChildBounties` (`max_values`: None, `max_size`: Some(145), added: 2620, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:3) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ChildBounties::ParentChildBounties` (r:1 w:1) + /// Proof: `ChildBounties::ParentChildBounties` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`) + /// Storage: `ChildBounties::ChildBountyDescriptions` (r:0 w:1) + /// Proof: `ChildBounties::ChildBountyDescriptions` (`max_values`: None, `max_size`: Some(16400), added: 18875, mode: `MaxEncodedLen`) fn claim_child_bounty() -> Weight { // Proof Size summary in bytes: // Measured: `562` // Estimated: `8799` - // Minimum execution time: 121_173_000 picoseconds. - Weight::from_parts(122_606_000, 0) + // Minimum execution time: 122_505_000 picoseconds. + Weight::from_parts(124_825_000, 0) .saturating_add(Weight::from_parts(0, 8799)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) } - /// Storage: Bounties Bounties (r:1 w:0) - /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - /// Storage: ChildBounties ChildBounties (r:1 w:1) - /// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen) - /// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1) - /// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - /// Storage: ChildBounties ParentChildBounties (r:1 w:1) - /// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1) - /// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen) + /// Storage: `Bounties::Bounties` (r:1 w:0) + /// Proof: `Bounties::Bounties` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `ChildBounties::ChildBounties` (r:1 w:1) + /// Proof: `ChildBounties::ChildBounties` (`max_values`: None, `max_size`: Some(145), added: 2620, mode: `MaxEncodedLen`) + /// Storage: `ChildBounties::ChildrenCuratorFees` (r:1 w:1) + /// Proof: `ChildBounties::ChildrenCuratorFees` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `ChildBounties::ParentChildBounties` (r:1 w:1) + /// Proof: `ChildBounties::ParentChildBounties` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ChildBounties::ChildBountyDescriptions` (r:0 w:1) + /// Proof: `ChildBounties::ChildBountyDescriptions` (`max_values`: None, `max_size`: Some(16400), added: 18875, mode: `MaxEncodedLen`) fn close_child_bounty_added() -> Weight { // Proof Size summary in bytes: // Measured: `811` // Estimated: `6196` - // Minimum execution time: 71_641_000 picoseconds. - Weight::from_parts(75_441_000, 0) + // Minimum execution time: 80_004_000 picoseconds. + Weight::from_parts(82_583_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } - /// Storage: Bounties Bounties (r:1 w:0) - /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) - /// Storage: ChildBounties ChildBounties (r:1 w:1) - /// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen) - /// Storage: System Account (r:3 w:3) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1) - /// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) - /// Storage: ChildBounties ParentChildBounties (r:1 w:1) - /// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen) - /// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1) - /// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen) + /// Storage: `Bounties::Bounties` (r:1 w:0) + /// Proof: `Bounties::Bounties` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `ChildBounties::ChildBounties` (r:1 w:1) + /// Proof: `ChildBounties::ChildBounties` (`max_values`: None, `max_size`: Some(145), added: 2620, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:3) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ChildBounties::ChildrenCuratorFees` (r:1 w:1) + /// Proof: `ChildBounties::ChildrenCuratorFees` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `ChildBounties::ParentChildBounties` (r:1 w:1) + /// Proof: `ChildBounties::ParentChildBounties` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`) + /// Storage: `ChildBounties::ChildBountyDescriptions` (r:0 w:1) + /// Proof: `ChildBounties::ChildBountyDescriptions` (`max_values`: None, `max_size`: Some(16400), added: 18875, mode: `MaxEncodedLen`) fn close_child_bounty_active() -> Weight { // Proof Size summary in bytes: // Measured: `998` // Estimated: `8799` - // Minimum execution time: 95_281_000 picoseconds. - Weight::from_parts(97_896_000, 0) + // Minimum execution time: 103_155_000 picoseconds. + Weight::from_parts(105_629_000, 0) .saturating_add(Weight::from_parts(0, 8799)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(7)) diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_claims.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_claims.rs index 1df4e4fb..989e05a3 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_claims.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_claims.rs @@ -1,11 +1,11 @@ //! Autogenerated weights for `pallet_claims` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 +//! DATE: 2024-02-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 // Executed Command: // ./target/release/integritee-collator @@ -32,118 +32,118 @@ use core::marker::PhantomData; /// Weight functions for `pallet_claims`. pub struct WeightInfo(PhantomData); impl pallet_claims::WeightInfo for WeightInfo { - /// Storage: Claims Claims (r:1 w:1) - /// Proof Skipped: Claims Claims (max_values: None, max_size: None, mode: Measured) - /// Storage: Claims Signing (r:1 w:1) - /// Proof Skipped: Claims Signing (max_values: None, max_size: None, mode: Measured) - /// Storage: Claims Total (r:1 w:1) - /// Proof Skipped: Claims Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Claims Vesting (r:1 w:1) - /// Proof Skipped: Claims Vesting (max_values: None, max_size: None, mode: Measured) - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `Claims::Claims` (r:1 w:1) + /// Proof: `Claims::Claims` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Claims::Signing` (r:1 w:1) + /// Proof: `Claims::Signing` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Claims::Total` (r:1 w:1) + /// Proof: `Claims::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Claims::Vesting` (r:1 w:1) + /// Proof: `Claims::Vesting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn claim() -> Weight { // Proof Size summary in bytes: // Measured: `363` // Estimated: `4764` - // Minimum execution time: 184_865_000 picoseconds. - Weight::from_parts(206_046_000, 0) + // Minimum execution time: 178_950_000 picoseconds. + Weight::from_parts(209_579_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) } - /// Storage: Claims Total (r:1 w:1) - /// Proof Skipped: Claims Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Claims Vesting (r:0 w:1) - /// Proof Skipped: Claims Vesting (max_values: None, max_size: None, mode: Measured) - /// Storage: Claims Claims (r:0 w:1) - /// Proof Skipped: Claims Claims (max_values: None, max_size: None, mode: Measured) - /// Storage: Claims Signing (r:0 w:1) - /// Proof Skipped: Claims Signing (max_values: None, max_size: None, mode: Measured) + /// Storage: `Claims::Total` (r:1 w:1) + /// Proof: `Claims::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Claims::Vesting` (r:0 w:1) + /// Proof: `Claims::Vesting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Claims::Claims` (r:0 w:1) + /// Proof: `Claims::Claims` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Claims::Signing` (r:0 w:1) + /// Proof: `Claims::Signing` (`max_values`: None, `max_size`: None, mode: `Measured`) fn mint_claim() -> Weight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `1630` - // Minimum execution time: 12_816_000 picoseconds. - Weight::from_parts(15_507_000, 0) + // Minimum execution time: 11_448_000 picoseconds. + Weight::from_parts(15_715_000, 0) .saturating_add(Weight::from_parts(0, 1630)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: Claims Claims (r:1 w:1) - /// Proof Skipped: Claims Claims (max_values: None, max_size: None, mode: Measured) - /// Storage: Claims Signing (r:1 w:1) - /// Proof Skipped: Claims Signing (max_values: None, max_size: None, mode: Measured) - /// Storage: Claims Total (r:1 w:1) - /// Proof Skipped: Claims Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Claims Vesting (r:1 w:1) - /// Proof Skipped: Claims Vesting (max_values: None, max_size: None, mode: Measured) - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `Claims::Claims` (r:1 w:1) + /// Proof: `Claims::Claims` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Claims::Signing` (r:1 w:1) + /// Proof: `Claims::Signing` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Claims::Total` (r:1 w:1) + /// Proof: `Claims::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Claims::Vesting` (r:1 w:1) + /// Proof: `Claims::Vesting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn claim_attest() -> Weight { // Proof Size summary in bytes: // Measured: `363` // Estimated: `4764` - // Minimum execution time: 185_361_000 picoseconds. - Weight::from_parts(204_262_000, 0) + // Minimum execution time: 186_461_000 picoseconds. + Weight::from_parts(202_521_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) } - /// Storage: Claims Preclaims (r:1 w:1) - /// Proof Skipped: Claims Preclaims (max_values: None, max_size: None, mode: Measured) - /// Storage: Claims Signing (r:1 w:1) - /// Proof Skipped: Claims Signing (max_values: None, max_size: None, mode: Measured) - /// Storage: Claims Claims (r:1 w:1) - /// Proof Skipped: Claims Claims (max_values: None, max_size: None, mode: Measured) - /// Storage: Claims Total (r:1 w:1) - /// Proof Skipped: Claims Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Claims Vesting (r:1 w:1) - /// Proof Skipped: Claims Vesting (max_values: None, max_size: None, mode: Measured) - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `Claims::Preclaims` (r:1 w:1) + /// Proof: `Claims::Preclaims` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Claims::Signing` (r:1 w:1) + /// Proof: `Claims::Signing` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Claims::Claims` (r:1 w:1) + /// Proof: `Claims::Claims` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Claims::Total` (r:1 w:1) + /// Proof: `Claims::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Claims::Vesting` (r:1 w:1) + /// Proof: `Claims::Vesting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn attest() -> Weight { // Proof Size summary in bytes: // Measured: `437` // Estimated: `4764` - // Minimum execution time: 113_490_000 picoseconds. - Weight::from_parts(134_234_000, 0) + // Minimum execution time: 107_304_000 picoseconds. + Weight::from_parts(123_039_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(7)) } - /// Storage: Claims Claims (r:1 w:2) - /// Proof Skipped: Claims Claims (max_values: None, max_size: None, mode: Measured) - /// Storage: Claims Vesting (r:1 w:2) - /// Proof Skipped: Claims Vesting (max_values: None, max_size: None, mode: Measured) - /// Storage: Claims Signing (r:1 w:2) - /// Proof Skipped: Claims Signing (max_values: None, max_size: None, mode: Measured) - /// Storage: Claims Preclaims (r:1 w:1) - /// Proof Skipped: Claims Preclaims (max_values: None, max_size: None, mode: Measured) + /// Storage: `Claims::Claims` (r:1 w:2) + /// Proof: `Claims::Claims` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Claims::Vesting` (r:1 w:2) + /// Proof: `Claims::Vesting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Claims::Signing` (r:1 w:2) + /// Proof: `Claims::Signing` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Claims::Preclaims` (r:1 w:1) + /// Proof: `Claims::Preclaims` (`max_values`: None, `max_size`: None, mode: `Measured`) fn move_claim() -> Weight { // Proof Size summary in bytes: // Measured: `369` // Estimated: `3834` - // Minimum execution time: 27_679_000 picoseconds. - Weight::from_parts(29_763_000, 0) + // Minimum execution time: 30_174_000 picoseconds. + Weight::from_parts(32_678_000, 0) .saturating_add(Weight::from_parts(0, 3834)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(7)) diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_collective.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_collective.rs index ce1fcae7..fbe668fc 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_collective.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_collective.rs @@ -1,11 +1,11 @@ //! Autogenerated weights for `pallet_collective` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 +//! DATE: 2024-02-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 // Executed Command: // ./target/release/integritee-collator @@ -32,14 +32,14 @@ use core::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { - /// Storage: Council Members (r:1 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:100 w:100) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:100 w:100) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. @@ -47,13 +47,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)` // Estimated: `15728 + m * (1967 ±24) + p * (4332 ±24)` - // Minimum execution time: 19_375_000 picoseconds. - Weight::from_parts(19_780_000, 0) + // Minimum execution time: 17_882_000 picoseconds. + Weight::from_parts(18_123_000, 0) .saturating_add(Weight::from_parts(0, 15728)) - // Standard Error: 66_994 - .saturating_add(Weight::from_parts(4_733_097, 0).saturating_mul(m.into())) - // Standard Error: 66_994 - .saturating_add(Weight::from_parts(7_913_656, 0).saturating_mul(p.into())) + // Standard Error: 55_691 + .saturating_add(Weight::from_parts(3_790_031, 0).saturating_mul(m.into())) + // Standard Error: 55_691 + .saturating_add(Weight::from_parts(7_365_411, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -61,52 +61,52 @@ impl pallet_collective::WeightInfo for WeightInfo { .saturating_add(Weight::from_parts(0, 1967).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 4332).saturating_mul(p.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `69 + m * (32 ±0)` // Estimated: `1555 + m * (32 ±0)` - // Minimum execution time: 14_648_000 picoseconds. - Weight::from_parts(13_918_872, 0) + // Minimum execution time: 12_696_000 picoseconds. + Weight::from_parts(8_112_961, 0) .saturating_add(Weight::from_parts(0, 1555)) - // Standard Error: 91 - .saturating_add(Weight::from_parts(5_406, 0).saturating_mul(b.into())) - // Standard Error: 941 - .saturating_add(Weight::from_parts(2_299, 0).saturating_mul(m.into())) + // Standard Error: 615 + .saturating_add(Weight::from_parts(6_091, 0).saturating_mul(b.into())) + // Standard Error: 6_347 + .saturating_add(Weight::from_parts(63_342, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:0) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:0) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn propose_execute(_b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `69 + m * (32 ±0)` // Estimated: `3535 + m * (32 ±0)` - // Minimum execution time: 19_071_000 picoseconds. - Weight::from_parts(21_774_765, 0) + // Minimum execution time: 15_122_000 picoseconds. + Weight::from_parts(21_699_748, 0) .saturating_add(Weight::from_parts(0, 3535)) - // Standard Error: 1_483 - .saturating_add(Weight::from_parts(25_811, 0).saturating_mul(m.into())) + // Standard Error: 818 + .saturating_add(Weight::from_parts(12_954, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalCount (r:1 w:1) - /// Proof Skipped: Council ProposalCount (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:0 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalCount` (r:1 w:1) + /// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:0 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. @@ -114,72 +114,72 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `359 + m * (32 ±0) + p * (36 ±0)` // Estimated: `3751 + m * (33 ±0) + p * (36 ±0)` - // Minimum execution time: 23_701_000 picoseconds. - Weight::from_parts(26_192_081, 0) + // Minimum execution time: 19_910_000 picoseconds. + Weight::from_parts(15_519_452, 0) .saturating_add(Weight::from_parts(0, 3751)) - // Standard Error: 111 - .saturating_add(Weight::from_parts(2_273, 0).saturating_mul(b.into())) - // Standard Error: 1_161 - .saturating_add(Weight::from_parts(10_434, 0).saturating_mul(m.into())) - // Standard Error: 1_146 - .saturating_add(Weight::from_parts(198_442, 0).saturating_mul(p.into())) + // Standard Error: 378 + .saturating_add(Weight::from_parts(3_593, 0).saturating_mul(b.into())) + // Standard Error: 3_944 + .saturating_add(Weight::from_parts(34_652, 0).saturating_mul(m.into())) + // Standard Error: 3_894 + .saturating_add(Weight::from_parts(240_493, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `808 + m * (64 ±0)` // Estimated: `4272 + m * (64 ±0)` - // Minimum execution time: 24_163_000 picoseconds. - Weight::from_parts(25_796_554, 0) + // Minimum execution time: 20_868_000 picoseconds. + Weight::from_parts(23_488_416, 0) .saturating_add(Weight::from_parts(0, 4272)) - // Standard Error: 903 - .saturating_add(Weight::from_parts(39_017, 0).saturating_mul(m.into())) + // Standard Error: 2_502 + .saturating_add(Weight::from_parts(6_986, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `397 + m * (64 ±0) + p * (36 ±0)` // Estimated: `3842 + m * (65 ±0) + p * (36 ±0)` - // Minimum execution time: 26_480_000 picoseconds. - Weight::from_parts(28_160_714, 0) + // Minimum execution time: 22_499_000 picoseconds. + Weight::from_parts(23_690_998, 0) .saturating_add(Weight::from_parts(0, 3842)) - // Standard Error: 1_228 - .saturating_add(Weight::from_parts(26_069, 0).saturating_mul(m.into())) - // Standard Error: 1_198 - .saturating_add(Weight::from_parts(191_528, 0).saturating_mul(p.into())) + // Standard Error: 3_474 + .saturating_add(Weight::from_parts(12_485, 0).saturating_mul(m.into())) + // Standard Error: 3_387 + .saturating_add(Weight::from_parts(203_794, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. @@ -187,55 +187,55 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `699 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` // Estimated: `4016 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` - // Minimum execution time: 35_612_000 picoseconds. - Weight::from_parts(43_958_190, 0) + // Minimum execution time: 30_418_000 picoseconds. + Weight::from_parts(40_041_217, 0) .saturating_add(Weight::from_parts(0, 4016)) - // Standard Error: 5_753 - .saturating_add(Weight::from_parts(241_670, 0).saturating_mul(p.into())) + // Standard Error: 5_705 + .saturating_add(Weight::from_parts(211_316, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:0) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:0) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `417 + m * (64 ±0) + p * (36 ±0)` // Estimated: `3862 + m * (65 ±0) + p * (36 ±0)` - // Minimum execution time: 28_084_000 picoseconds. - Weight::from_parts(30_046_473, 0) + // Minimum execution time: 24_096_000 picoseconds. + Weight::from_parts(24_915_501, 0) .saturating_add(Weight::from_parts(0, 3862)) - // Standard Error: 875 - .saturating_add(Weight::from_parts(22_074, 0).saturating_mul(m.into())) - // Standard Error: 853 - .saturating_add(Weight::from_parts(180_626, 0).saturating_mul(p.into())) + // Standard Error: 4_328 + .saturating_add(Weight::from_parts(16_915, 0).saturating_mul(m.into())) + // Standard Error: 4_221 + .saturating_add(Weight::from_parts(216_961, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:0) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:0) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. @@ -243,37 +243,35 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `719 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` // Estimated: `4036 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` - // Minimum execution time: 38_462_000 picoseconds. - Weight::from_parts(40_816_742, 0) + // Minimum execution time: 31_948_000 picoseconds. + Weight::from_parts(31_635_946, 0) .saturating_add(Weight::from_parts(0, 4036)) - // Standard Error: 124 - .saturating_add(Weight::from_parts(1_842, 0).saturating_mul(b.into())) - // Standard Error: 1_311 - .saturating_add(Weight::from_parts(20_012, 0).saturating_mul(m.into())) - // Standard Error: 1_278 - .saturating_add(Weight::from_parts(208_678, 0).saturating_mul(p.into())) + // Standard Error: 697 + .saturating_add(Weight::from_parts(5_878, 0).saturating_mul(b.into())) + // Standard Error: 7_186 + .saturating_add(Weight::from_parts(257_341, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:0 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:0 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `226 + p * (32 ±0)` // Estimated: `1711 + p * (32 ±0)` - // Minimum execution time: 13_798_000 picoseconds. - Weight::from_parts(16_378_506, 0) + // Minimum execution time: 14_052_000 picoseconds. + Weight::from_parts(16_028_699, 0) .saturating_add(Weight::from_parts(0, 1711)) - // Standard Error: 978 - .saturating_add(Weight::from_parts(169_311, 0).saturating_mul(p.into())) + // Standard Error: 2_400 + .saturating_add(Weight::from_parts(151_337, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_democracy.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_democracy.rs index cc564959..1aa83459 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_democracy.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_democracy.rs @@ -1,11 +1,11 @@ //! Autogenerated weights for `pallet_democracy` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 +//! DATE: 2024-02-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 // Executed Command: // ./target/release/integritee-collator @@ -32,477 +32,483 @@ use core::marker::PhantomData; /// Weight functions for `pallet_democracy`. pub struct WeightInfo(PhantomData); impl pallet_democracy::WeightInfo for WeightInfo { - /// Storage: Democracy PublicPropCount (r:1 w:1) - /// Proof: Democracy PublicPropCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:0) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:0 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicPropCount` (r:1 w:1) + /// Proof: `Democracy::PublicPropCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:0 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) fn propose() -> Weight { // Proof Size summary in bytes: // Measured: `4734` // Estimated: `18187` - // Minimum execution time: 54_236_000 picoseconds. - Weight::from_parts(58_488_000, 0) + // Minimum execution time: 51_054_000 picoseconds. + Weight::from_parts(54_473_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) fn second() -> Weight { // Proof Size summary in bytes: // Measured: `3489` // Estimated: `6695` - // Minimum execution time: 41_244_000 picoseconds. - Weight::from_parts(43_574_000, 0) + // Minimum execution time: 42_168_000 picoseconds. + Weight::from_parts(44_584_000, 0) .saturating_add(Weight::from_parts(0, 6695)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn vote_new() -> Weight { // Proof Size summary in bytes: // Measured: `3365` // Estimated: `7260` - // Minimum execution time: 52_896_000 picoseconds. - Weight::from_parts(54_476_000, 0) + // Minimum execution time: 52_762_000 picoseconds. + Weight::from_parts(57_090_000, 0) .saturating_add(Weight::from_parts(0, 7260)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn vote_existing() -> Weight { // Proof Size summary in bytes: // Measured: `3387` // Estimated: `7260` - // Minimum execution time: 56_485_000 picoseconds. - Weight::from_parts(58_900_000, 0) + // Minimum execution time: 52_319_000 picoseconds. + Weight::from_parts(55_264_000, 0) .saturating_add(Weight::from_parts(0, 7260)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy Cancellations (r:1 w:1) - /// Proof: Democracy Cancellations (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Cancellations` (r:1 w:1) + /// Proof: `Democracy::Cancellations` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn emergency_cancel() -> Weight { // Proof Size summary in bytes: // Measured: `299` // Estimated: `3666` - // Minimum execution time: 23_557_000 picoseconds. - Weight::from_parts(24_117_000, 0) + // Minimum execution time: 21_410_000 picoseconds. + Weight::from_parts(22_591_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:3 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:0 w:1) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:3 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:0 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) fn blacklist() -> Weight { // Proof Size summary in bytes: // Measured: `6182` // Estimated: `18187` - // Minimum execution time: 107_400_000 picoseconds. - Weight::from_parts(109_037_000, 0) + // Minimum execution time: 97_168_000 picoseconds. + Weight::from_parts(99_044_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:0) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) fn external_propose() -> Weight { // Proof Size summary in bytes: // Measured: `3349` // Estimated: `6703` - // Minimum execution time: 11_521_000 picoseconds. - Weight::from_parts(11_946_000, 0) + // Minimum execution time: 10_709_000 picoseconds. + Weight::from_parts(11_275_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:0 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_majority() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_900_000 picoseconds. - Weight::from_parts(3_048_000, 0) + // Minimum execution time: 2_551_000 picoseconds. + Weight::from_parts(2_667_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:0 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_default() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_867_000 picoseconds. - Weight::from_parts(3_023_000, 0) + // Minimum execution time: 2_555_000 picoseconds. + Weight::from_parts(2_673_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:1) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:2) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:1) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:2) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn fast_track() -> Weight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3518` - // Minimum execution time: 25_541_000 picoseconds. - Weight::from_parts(26_197_000, 0) + // Minimum execution time: 20_678_000 picoseconds. + Weight::from_parts(21_450_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:1) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn veto_external() -> Weight { // Proof Size summary in bytes: // Measured: `3452` // Estimated: `6703` - // Minimum execution time: 28_590_000 picoseconds. - Weight::from_parts(29_337_000, 0) + // Minimum execution time: 23_769_000 picoseconds. + Weight::from_parts(24_458_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn cancel_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `6093` // Estimated: `18187` - // Minimum execution time: 88_484_000 picoseconds. - Weight::from_parts(91_023_000, 0) + // Minimum execution time: 79_378_000 picoseconds. + Weight::from_parts(82_252_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn cancel_referendum() -> Weight { // Proof Size summary in bytes: // Measured: `204` // Estimated: `3518` - // Minimum execution time: 17_936_000 picoseconds. - Weight::from_parts(18_587_000, 0) + // Minimum execution time: 15_174_000 picoseconds. + Weight::from_parts(15_618_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Democracy LowestUnbaked (r:1 w:1) - /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `177 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 5_999_000 picoseconds. - Weight::from_parts(8_007_126, 0) + // Minimum execution time: 4_632_000 picoseconds. + Weight::from_parts(5_869_440, 0) .saturating_add(Weight::from_parts(0, 1489)) - // Standard Error: 4_463 - .saturating_add(Weight::from_parts(2_758_733, 0).saturating_mul(r.into())) + // Standard Error: 18_134 + .saturating_add(Weight::from_parts(3_047_572, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy LowestUnbaked (r:1 w:1) - /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy LastTabledWasExternal (r:1 w:0) - /// Proof: Democracy LastTabledWasExternal (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::LastTabledWasExternal` (r:1 w:0) + /// Proof: `Democracy::LastTabledWasExternal` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `177 + r * (86 ±0)` // Estimated: `18187 + r * (2676 ±0)` - // Minimum execution time: 8_609_000 picoseconds. - Weight::from_parts(11_058_666, 0) + // Minimum execution time: 6_733_000 picoseconds. + Weight::from_parts(11_128_241, 0) .saturating_add(Weight::from_parts(0, 18187)) - // Standard Error: 4_432 - .saturating_add(Weight::from_parts(2_756_856, 0).saturating_mul(r.into())) + // Standard Error: 17_278 + .saturating_add(Weight::from_parts(2_996_712, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy VotingOf (r:3 w:3) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:99) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:3 w:3) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `729 + r * (108 ±0)` // Estimated: `19800 + r * (2676 ±0)` - // Minimum execution time: 37_129_000 picoseconds. - Weight::from_parts(45_954_119, 0) + // Minimum execution time: 37_822_000 picoseconds. + Weight::from_parts(39_473_471, 0) .saturating_add(Weight::from_parts(0, 19800)) - // Standard Error: 5_659 - .saturating_add(Weight::from_parts(4_010_359, 0).saturating_mul(r.into())) + // Standard Error: 25_265 + .saturating_add(Weight::from_parts(4_036_644, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy VotingOf (r:2 w:2) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:99) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:2 w:2) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `426 + r * (108 ±0)` // Estimated: `13530 + r * (2676 ±0)` - // Minimum execution time: 18_887_000 picoseconds. - Weight::from_parts(22_080_284, 0) + // Minimum execution time: 20_041_000 picoseconds. + Weight::from_parts(18_655_196, 0) .saturating_add(Weight::from_parts(0, 13530)) - // Standard Error: 4_374 - .saturating_add(Weight::from_parts(3_950_719, 0).saturating_mul(r.into())) + // Standard Error: 26_412 + .saturating_add(Weight::from_parts(3_860_295, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy PublicProps (r:0 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:0 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) fn clear_public_proposals() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_910_000 picoseconds. - Weight::from_parts(3_088_000, 0) + // Minimum execution time: 2_282_000 picoseconds. + Weight::from_parts(2_457_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `421` // Estimated: `7260` - // Minimum execution time: 21_236_000 picoseconds. - Weight::from_parts(36_353_471, 0) + // Minimum execution time: 21_692_000 picoseconds. + Weight::from_parts(34_334_165, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 3_620 - .saturating_add(Weight::from_parts(91_700, 0).saturating_mul(r.into())) + // Standard Error: 4_660 + .saturating_add(Weight::from_parts(111_569, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `422 + r * (22 ±0)` // Estimated: `7260` - // Minimum execution time: 31_888_000 picoseconds. - Weight::from_parts(34_942_455, 0) + // Minimum execution time: 29_633_000 picoseconds. + Weight::from_parts(32_549_966, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_467 - .saturating_add(Weight::from_parts(109_395, 0).saturating_mul(r.into())) + // Standard Error: 5_649 + .saturating_add(Weight::from_parts(135_143, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `661 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 14_166_000 picoseconds. - Weight::from_parts(18_135_042, 0) + // Minimum execution time: 14_643_000 picoseconds. + Weight::from_parts(18_191_011, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_423 - .saturating_add(Weight::from_parts(101_048, 0).saturating_mul(r.into())) + // Standard Error: 1_418 + .saturating_add(Weight::from_parts(88_619, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `661 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 14_354_000 picoseconds. - Weight::from_parts(18_025_595, 0) + // Minimum execution time: 14_215_000 picoseconds. + Weight::from_parts(20_080_263, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_462 - .saturating_add(Weight::from_parts(101_940, 0).saturating_mul(r.into())) + // Standard Error: 2_879 + .saturating_add(Weight::from_parts(74_354, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `323` // Estimated: `3556` - // Minimum execution time: 16_724_000 picoseconds. - Weight::from_parts(17_245_000, 0) + // Minimum execution time: 16_693_000 picoseconds. + Weight::from_parts(17_074_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3518` - // Minimum execution time: 14_648_000 picoseconds. - Weight::from_parts(15_170_000, 0) + // Minimum execution time: 13_200_000 picoseconds. + Weight::from_parts(13_761_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `4855` // Estimated: `18187` - // Minimum execution time: 37_810_000 picoseconds. - Weight::from_parts(38_393_000, 0) + // Minimum execution time: 41_678_000 picoseconds. + Weight::from_parts(42_882_000, 0) .saturating_add(Weight::from_parts(0, 18187)) - .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `4755` // Estimated: `18187` - // Minimum execution time: 34_877_000 picoseconds. - Weight::from_parts(35_538_000, 0) + // Minimum execution time: 36_193_000 picoseconds. + Weight::from_parts(36_903_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 12_855_000 picoseconds. - Weight::from_parts(13_081_000, 0) + // Minimum execution time: 12_937_000 picoseconds. + Weight::from_parts(13_449_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `235` // Estimated: `3666` - // Minimum execution time: 16_481_000 picoseconds. - Weight::from_parts(17_020_000, 0) + // Minimum execution time: 16_122_000 picoseconds. + Weight::from_parts(16_465_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_enclave_bridge.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_enclave_bridge.rs index 33fde159..25c919fc 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_enclave_bridge.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_enclave_bridge.rs @@ -1,11 +1,11 @@ //! Autogenerated weights for `pallet_enclave_bridge` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 +//! DATE: 2024-02-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 // Executed Command: // ./target/release/integritee-collator @@ -36,93 +36,93 @@ impl pallet_enclave_bridge::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `408` // Estimated: `3873` - // Minimum execution time: 36_270_000 picoseconds. - Weight::from_parts(37_521_000, 0) + // Minimum execution time: 33_046_000 picoseconds. + Weight::from_parts(34_598_000, 0) .saturating_add(Weight::from_parts(0, 3873)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn shield_funds() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 88_755_000 picoseconds. - Weight::from_parts(90_452_000, 0) + // Minimum execution time: 77_757_000 picoseconds. + Weight::from_parts(79_722_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Teerex SovereignEnclaves (r:1 w:0) - /// Proof Skipped: Teerex SovereignEnclaves (max_values: None, max_size: None, mode: Measured) - /// Storage: EnclaveBridge ShardConfigRegistry (r:1 w:0) - /// Proof Skipped: EnclaveBridge ShardConfigRegistry (max_values: None, max_size: None, mode: Measured) - /// Storage: EnclaveBridge ShardStatus (r:1 w:1) - /// Proof Skipped: EnclaveBridge ShardStatus (max_values: None, max_size: None, mode: Measured) - /// Storage: EnclaveBridge ExecutedUnshieldCalls (r:1 w:1) - /// Proof Skipped: EnclaveBridge ExecutedUnshieldCalls (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Teerex::SovereignEnclaves` (r:1 w:0) + /// Proof: `Teerex::SovereignEnclaves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `EnclaveBridge::ShardConfigRegistry` (r:1 w:0) + /// Proof: `EnclaveBridge::ShardConfigRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `EnclaveBridge::ShardStatus` (r:1 w:1) + /// Proof: `EnclaveBridge::ShardStatus` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `EnclaveBridge::ExecutedUnshieldCalls` (r:1 w:1) + /// Proof: `EnclaveBridge::ExecutedUnshieldCalls` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn unshield_funds() -> Weight { // Proof Size summary in bytes: // Measured: `511` // Estimated: `6196` - // Minimum execution time: 120_600_000 picoseconds. - Weight::from_parts(122_273_000, 0) + // Minimum execution time: 119_848_000 picoseconds. + Weight::from_parts(160_906_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: Teerex SovereignEnclaves (r:1 w:0) - /// Proof Skipped: Teerex SovereignEnclaves (max_values: None, max_size: None, mode: Measured) - /// Storage: EnclaveBridge ShardStatus (r:1 w:1) - /// Proof Skipped: EnclaveBridge ShardStatus (max_values: None, max_size: None, mode: Measured) - /// Storage: System EventTopics (r:6 w:6) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) + /// Storage: `Teerex::SovereignEnclaves` (r:1 w:0) + /// Proof: `Teerex::SovereignEnclaves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `EnclaveBridge::ShardStatus` (r:1 w:1) + /// Proof: `EnclaveBridge::ShardStatus` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::EventTopics` (r:6 w:6) + /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `l` is `[0, 100]`. /// The range of component `t` is `[1, 5]`. fn publish_hash(_l: u32, t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `408` // Estimated: `3873 + t * (2475 ±0)` - // Minimum execution time: 24_021_000 picoseconds. - Weight::from_parts(39_366_456, 0) + // Minimum execution time: 25_303_000 picoseconds. + Weight::from_parts(45_826_189, 0) .saturating_add(Weight::from_parts(0, 3873)) - // Standard Error: 33_262 - .saturating_add(Weight::from_parts(1_722_781, 0).saturating_mul(t.into())) + // Standard Error: 88_974 + .saturating_add(Weight::from_parts(1_590_683, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) } - /// Storage: Teerex SovereignEnclaves (r:1 w:0) - /// Proof Skipped: Teerex SovereignEnclaves (max_values: None, max_size: None, mode: Measured) - /// Storage: EnclaveBridge ShardConfigRegistry (r:1 w:1) - /// Proof Skipped: EnclaveBridge ShardConfigRegistry (max_values: None, max_size: None, mode: Measured) - /// Storage: EnclaveBridge ShardStatus (r:1 w:1) - /// Proof Skipped: EnclaveBridge ShardStatus (max_values: None, max_size: None, mode: Measured) + /// Storage: `EnclaveBridge::ShardConfigRegistry` (r:1 w:1) + /// Proof: `EnclaveBridge::ShardConfigRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Teerex::SovereignEnclaves` (r:1 w:0) + /// Proof: `Teerex::SovereignEnclaves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `EnclaveBridge::ShardStatus` (r:1 w:1) + /// Proof: `EnclaveBridge::ShardStatus` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_shard_config() -> Weight { // Proof Size summary in bytes: // Measured: `521` // Estimated: `3986` - // Minimum execution time: 27_492_000 picoseconds. - Weight::from_parts(28_568_000, 0) + // Minimum execution time: 33_096_000 picoseconds. + Weight::from_parts(34_534_000, 0) .saturating_add(Weight::from_parts(0, 3986)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_multisig.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_multisig.rs index 077f460e..c1b51cf9 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_multisig.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_multisig.rs @@ -1,11 +1,11 @@ //! Autogenerated weights for `pallet_multisig` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 +//! DATE: 2024-02-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 // Executed Command: // ./target/release/integritee-collator @@ -37,110 +37,106 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_428_000 picoseconds. - Weight::from_parts(9_434_591, 0) + // Minimum execution time: 6_799_000 picoseconds. + Weight::from_parts(7_113_352, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 7 - .saturating_add(Weight::from_parts(1, 0).saturating_mul(z.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(304, 0).saturating_mul(z.into())) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(465), added: 2940, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(465), added: 2940, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 10]`. /// The range of component `z` is `[0, 10000]`. - fn as_multi_create(s: u32, z: u32, ) -> Weight { + fn as_multi_create(_s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `159 + s * (11 ±0)` // Estimated: `3930` - // Minimum execution time: 32_030_000 picoseconds. - Weight::from_parts(30_902_909, 0) + // Minimum execution time: 28_646_000 picoseconds. + Weight::from_parts(32_124_998, 0) .saturating_add(Weight::from_parts(0, 3930)) - // Standard Error: 8_894 - .saturating_add(Weight::from_parts(249_624, 0).saturating_mul(s.into())) - // Standard Error: 7 - .saturating_add(Weight::from_parts(1_162, 0).saturating_mul(z.into())) + // Standard Error: 49 + .saturating_add(Weight::from_parts(958, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(465), added: 2940, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(465), added: 2940, mode: `MaxEncodedLen`) /// The range of component `s` is `[3, 10]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_approve(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `282` // Estimated: `3930` - // Minimum execution time: 17_652_000 picoseconds. - Weight::from_parts(17_078_329, 0) + // Minimum execution time: 19_167_000 picoseconds. + Weight::from_parts(16_417_724, 0) .saturating_add(Weight::from_parts(0, 3930)) - // Standard Error: 5_738 - .saturating_add(Weight::from_parts(182_578, 0).saturating_mul(s.into())) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_062, 0).saturating_mul(z.into())) + // Standard Error: 23_885 + .saturating_add(Weight::from_parts(260_477, 0).saturating_mul(s.into())) + // Standard Error: 17 + .saturating_add(Weight::from_parts(1_125, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(465), added: 2940, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(465), added: 2940, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 10]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_complete(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `301 + s * (43 ±0)` // Estimated: `3930` - // Minimum execution time: 35_671_000 picoseconds. - Weight::from_parts(33_222_478, 0) + // Minimum execution time: 32_496_000 picoseconds. + Weight::from_parts(38_136_776, 0) .saturating_add(Weight::from_parts(0, 3930)) - // Standard Error: 9_196 - .saturating_add(Weight::from_parts(346_157, 0).saturating_mul(s.into())) - // Standard Error: 7 - .saturating_add(Weight::from_parts(1_181, 0).saturating_mul(z.into())) + // Standard Error: 73_892 + .saturating_add(Weight::from_parts(81_320, 0).saturating_mul(s.into())) + // Standard Error: 63 + .saturating_add(Weight::from_parts(481, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(465), added: 2940, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(465), added: 2940, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 10]`. fn approve_as_multi_create(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `159 + s * (11 ±0)` // Estimated: `3930` - // Minimum execution time: 29_571_000 picoseconds. - Weight::from_parts(30_323_391, 0) + // Minimum execution time: 25_399_000 picoseconds. + Weight::from_parts(26_076_856, 0) .saturating_add(Weight::from_parts(0, 3930)) - // Standard Error: 9_570 - .saturating_add(Weight::from_parts(291_970, 0).saturating_mul(s.into())) + // Standard Error: 7_586 + .saturating_add(Weight::from_parts(217_490, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(465), added: 2940, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(465), added: 2940, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 10]`. fn approve_as_multi_approve(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `282` // Estimated: `3930` - // Minimum execution time: 15_890_000 picoseconds. - Weight::from_parts(16_436_811, 0) + // Minimum execution time: 13_883_000 picoseconds. + Weight::from_parts(13_776_063, 0) .saturating_add(Weight::from_parts(0, 3930)) - // Standard Error: 3_966 - .saturating_add(Weight::from_parts(170_864, 0).saturating_mul(s.into())) + // Standard Error: 6_442 + .saturating_add(Weight::from_parts(303_267, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(465), added: 2940, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(465), added: 2940, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 10]`. - fn cancel_as_multi(s: u32, ) -> Weight { + fn cancel_as_multi(_s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `365 + s * (11 ±0)` // Estimated: `3930` - // Minimum execution time: 30_766_000 picoseconds. - Weight::from_parts(31_005_857, 0) + // Minimum execution time: 27_694_000 picoseconds. + Weight::from_parts(29_523_665, 0) .saturating_add(Weight::from_parts(0, 3930)) - // Standard Error: 6_723 - .saturating_add(Weight::from_parts(272_297, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_proxy.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_proxy.rs index 6e6d5ca0..659f593e 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_proxy.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_proxy.rs @@ -1,11 +1,11 @@ //! Autogenerated weights for `pallet_proxy` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 +//! DATE: 2024-02-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 // Executed Command: // ./target/release/integritee-collator @@ -32,174 +32,170 @@ use core::marker::PhantomData; /// Weight functions for `pallet_proxy`. pub struct WeightInfo(PhantomData); impl pallet_proxy::WeightInfo for WeightInfo { - /// Storage: Proxy Proxies (r:1 w:0) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. fn proxy(_p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `161 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 15_283_000 picoseconds. - Weight::from_parts(23_018_486, 0) + // Minimum execution time: 13_264_000 picoseconds. + Weight::from_parts(18_697_501, 0) .saturating_add(Weight::from_parts(0, 4706)) .saturating_add(T::DbWeight::get().reads(1)) } - /// Storage: Proxy Proxies (r:1 w:0) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `451 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 35_452_000 picoseconds. - Weight::from_parts(35_819_455, 0) + // Minimum execution time: 30_844_000 picoseconds. + Weight::from_parts(29_882_823, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 3_279 - .saturating_add(Weight::from_parts(190_996, 0).saturating_mul(a.into())) - // Standard Error: 3_388 - .saturating_add(Weight::from_parts(48_725, 0).saturating_mul(p.into())) + // Standard Error: 10_114 + .saturating_add(Weight::from_parts(263_837, 0).saturating_mul(a.into())) + // Standard Error: 10_450 + .saturating_add(Weight::from_parts(109_799, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn remove_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `366 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 23_304_000 picoseconds. - Weight::from_parts(24_352_886, 0) + // Minimum execution time: 21_364_000 picoseconds. + Weight::from_parts(19_759_108, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 1_801 - .saturating_add(Weight::from_parts(164_553, 0).saturating_mul(a.into())) - // Standard Error: 1_860 - .saturating_add(Weight::from_parts(3_472, 0).saturating_mul(p.into())) + // Standard Error: 5_160 + .saturating_add(Weight::from_parts(228_897, 0).saturating_mul(a.into())) + // Standard Error: 5_332 + .saturating_add(Weight::from_parts(69_410, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn reject_announcement(a: u32, p: u32, ) -> Weight { + fn reject_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `366 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 23_145_000 picoseconds. - Weight::from_parts(22_928_870, 0) + // Minimum execution time: 22_680_000 picoseconds. + Weight::from_parts(27_043_113, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 3_581 - .saturating_add(Weight::from_parts(242_891, 0).saturating_mul(a.into())) - // Standard Error: 3_700 - .saturating_add(Weight::from_parts(45_575, 0).saturating_mul(p.into())) + // Standard Error: 6_029 + .saturating_add(Weight::from_parts(104_432, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Proxies (r:1 w:0) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) - /// Storage: Proxy Announcements (r:1 w:1) - /// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `383 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 34_410_000 picoseconds. - Weight::from_parts(29_549_711, 0) + // Minimum execution time: 28_150_000 picoseconds. + Weight::from_parts(26_018_087, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 37_345 - .saturating_add(Weight::from_parts(529_586, 0).saturating_mul(a.into())) - // Standard Error: 38_585 - .saturating_add(Weight::from_parts(149_137, 0).saturating_mul(p.into())) + // Standard Error: 7_360 + .saturating_add(Weight::from_parts(232_178, 0).saturating_mul(a.into())) + // Standard Error: 7_605 + .saturating_add(Weight::from_parts(86_370, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Proxy Proxies (r:1 w:1) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. - fn add_proxy(p: u32, ) -> Weight { + fn add_proxy(_p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `161 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 26_746_000 picoseconds. - Weight::from_parts(27_818_270, 0) + // Minimum execution time: 20_638_000 picoseconds. + Weight::from_parts(22_451_906, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 2_264 - .saturating_add(Weight::from_parts(34_236, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Proxy Proxies (r:1 w:1) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. fn remove_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `161 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 26_032_000 picoseconds. - Weight::from_parts(27_601_107, 0) + // Minimum execution time: 20_534_000 picoseconds. + Weight::from_parts(21_527_835, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 3_006 - .saturating_add(Weight::from_parts(41_162, 0).saturating_mul(p.into())) + // Standard Error: 2_587 + .saturating_add(Weight::from_parts(26_189, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Proxy Proxies (r:1 w:1) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `161 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 22_975_000 picoseconds. - Weight::from_parts(24_222_274, 0) + // Minimum execution time: 19_693_000 picoseconds. + Weight::from_parts(21_064_336, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 2_411 - .saturating_add(Weight::from_parts(10_655, 0).saturating_mul(p.into())) + // Standard Error: 2_888 + .saturating_add(Weight::from_parts(21_488, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Proxy Proxies (r:1 w:1) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. fn create_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `173` // Estimated: `4706` - // Minimum execution time: 27_225_000 picoseconds. - Weight::from_parts(28_643_514, 0) + // Minimum execution time: 21_808_000 picoseconds. + Weight::from_parts(23_035_635, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 3_217 - .saturating_add(Weight::from_parts(41_997, 0).saturating_mul(p.into())) + // Standard Error: 3_504 + .saturating_add(Weight::from_parts(22_793, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Proxy Proxies (r:1 w:1) - /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 30]`. fn kill_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `198 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 23_802_000 picoseconds. - Weight::from_parts(24_880_619, 0) + // Minimum execution time: 20_543_000 picoseconds. + Weight::from_parts(21_313_415, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 2_123 - .saturating_add(Weight::from_parts(45_192, 0).saturating_mul(p.into())) + // Standard Error: 1_632 + .saturating_add(Weight::from_parts(21_500, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_scheduler.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_scheduler.rs index 6d87df7a..d6352b29 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_scheduler.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_scheduler.rs @@ -1,11 +1,11 @@ //! Autogenerated weights for `pallet_scheduler` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 +//! DATE: 2024-02-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 // Executed Command: // ./target/release/integritee-collator @@ -32,30 +32,30 @@ use core::marker::PhantomData; /// Weight functions for `pallet_scheduler`. pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { - /// Storage: Scheduler IncompleteSince (r:1 w:1) - /// Proof: Scheduler IncompleteSince (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: `Scheduler::IncompleteSince` (r:1 w:1) + /// Proof: `Scheduler::IncompleteSince` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn service_agendas_base() -> Weight { // Proof Size summary in bytes: // Measured: `31` // Estimated: `1489` - // Minimum execution time: 6_418_000 picoseconds. - Weight::from_parts(6_909_000, 0) + // Minimum execution time: 3_083_000 picoseconds. + Weight::from_parts(3_251_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 5_766_000 picoseconds. - Weight::from_parts(21_069_120, 0) + // Minimum execution time: 3_951_000 picoseconds. + Weight::from_parts(6_885_009, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 72_290 - .saturating_add(Weight::from_parts(1_311_090, 0).saturating_mul(s.into())) + // Standard Error: 5_322 + .saturating_add(Weight::from_parts(762_176, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -63,36 +63,38 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_619_000 picoseconds. - Weight::from_parts(7_029_000, 0) + // Minimum execution time: 3_594_000 picoseconds. + Weight::from_parts(3_773_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: Preimage PreimageFor (r:1 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: Measured) - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::PreimageFor` (r:1 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `Measured`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `213 + s * (1 ±0)` // Estimated: `3678 + s * (1 ±0)` - // Minimum execution time: 25_002_000 picoseconds. - Weight::from_parts(25_243_000, 0) + // Minimum execution time: 19_163_000 picoseconds. + Weight::from_parts(19_555_000, 0) .saturating_add(Weight::from_parts(0, 3678)) - // Standard Error: 2 - .saturating_add(Weight::from_parts(908, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Standard Error: 12 + .saturating_add(Weight::from_parts(1_110, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) } - /// Storage: Scheduler Lookup (r:0 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn service_task_named() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_133_000 picoseconds. - Weight::from_parts(7_421_000, 0) + // Minimum execution time: 4_536_000 picoseconds. + Weight::from_parts(4_787_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -100,89 +102,89 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_635_000 picoseconds. - Weight::from_parts(5_893_000, 0) + // Minimum execution time: 3_208_000 picoseconds. + Weight::from_parts(3_329_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_672_000 picoseconds. - Weight::from_parts(2_833_000, 0) + // Minimum execution time: 2_434_000 picoseconds. + Weight::from_parts(2_553_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_765_000 picoseconds. - Weight::from_parts(2_985_000, 0) + // Minimum execution time: 2_412_000 picoseconds. + Weight::from_parts(2_535_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 12_312_000 picoseconds. - Weight::from_parts(16_268_835, 0) + // Minimum execution time: 9_375_000 picoseconds. + Weight::from_parts(10_110_373, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_416 - .saturating_add(Weight::from_parts(714_822, 0).saturating_mul(s.into())) + // Standard Error: 6_478 + .saturating_add(Weight::from_parts(851_707, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) - /// Storage: Scheduler Lookup (r:0 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 14_994_000 picoseconds. - Weight::from_parts(15_262_448, 0) + // Minimum execution time: 15_104_000 picoseconds. + Weight::from_parts(13_278_403, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_678 - .saturating_add(Weight::from_parts(1_318_388, 0).saturating_mul(s.into())) + // Standard Error: 4_997 + .saturating_add(Weight::from_parts(1_404_367, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `255 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 13_747_000 picoseconds. - Weight::from_parts(18_364_770, 0) + // Minimum execution time: 12_736_000 picoseconds. + Weight::from_parts(20_359_341, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_947 - .saturating_add(Weight::from_parts(794_277, 0).saturating_mul(s.into())) + // Standard Error: 8_100 + .saturating_add(Weight::from_parts(701_654, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `281 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 17_121_000 picoseconds. - Weight::from_parts(17_704_325, 0) + // Minimum execution time: 15_542_000 picoseconds. + Weight::from_parts(16_386_749, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_519 - .saturating_add(Weight::from_parts(1_350_999, 0).saturating_mul(s.into())) + // Standard Error: 5_477 + .saturating_add(Weight::from_parts(1_358_263, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_sidechain.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_sidechain.rs index 3d3436e3..ec9a4aad 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_sidechain.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_sidechain.rs @@ -1,11 +1,11 @@ //! Autogenerated weights for `pallet_sidechain` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 +//! DATE: 2024-02-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 // Executed Command: // ./target/release/integritee-collator @@ -32,24 +32,22 @@ use core::marker::PhantomData; /// Weight functions for `pallet_sidechain`. pub struct WeightInfo(PhantomData); impl pallet_sidechain::WeightInfo for WeightInfo { - /// Storage: Teerex SovereignEnclaves (r:1 w:0) - /// Proof Skipped: Teerex SovereignEnclaves (max_values: None, max_size: None, mode: Measured) - /// Storage: EnclaveBridge ShardConfigRegistry (r:1 w:0) - /// Proof Skipped: EnclaveBridge ShardConfigRegistry (max_values: None, max_size: None, mode: Measured) - /// Storage: EnclaveBridge ShardStatus (r:1 w:1) - /// Proof Skipped: EnclaveBridge ShardStatus (max_values: None, max_size: None, mode: Measured) - /// Storage: Sidechain SidechainBlockFinalizationCandidate (r:1 w:1) - /// Proof Skipped: Sidechain SidechainBlockFinalizationCandidate (max_values: None, max_size: None, mode: Measured) - /// Storage: Sidechain LatestSidechainBlockConfirmation (r:0 w:1) - /// Proof Skipped: Sidechain LatestSidechainBlockConfirmation (max_values: None, max_size: None, mode: Measured) + /// Storage: `Teerex::SovereignEnclaves` (r:1 w:0) + /// Proof: `Teerex::SovereignEnclaves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `EnclaveBridge::ShardConfigRegistry` (r:1 w:0) + /// Proof: `EnclaveBridge::ShardConfigRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `EnclaveBridge::ShardStatus` (r:1 w:1) + /// Proof: `EnclaveBridge::ShardStatus` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Sidechain::LatestSidechainBlockConfirmation` (r:1 w:1) + /// Proof: `Sidechain::LatestSidechainBlockConfirmation` (`max_values`: None, `max_size`: None, mode: `Measured`) fn confirm_imported_sidechain_block() -> Weight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3877` - // Minimum execution time: 41_875_000 picoseconds. - Weight::from_parts(43_161_000, 0) + // Minimum execution time: 97_736_000 picoseconds. + Weight::from_parts(100_639_000, 0) .saturating_add(Weight::from_parts(0, 3877)) .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_teeracle.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_teeracle.rs index 6f68da9a..c8cb81e6 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_teeracle.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_teeracle.rs @@ -1,11 +1,11 @@ //! Autogenerated weights for `pallet_teeracle` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 +//! DATE: 2024-02-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 // Executed Command: // ./target/release/integritee-collator @@ -32,58 +32,58 @@ use core::marker::PhantomData; /// Weight functions for `pallet_teeracle`. pub struct WeightInfo(PhantomData); impl pallet_teeracle::WeightInfo for WeightInfo { - /// Storage: Teerex SovereignEnclaves (r:1 w:0) - /// Proof Skipped: Teerex SovereignEnclaves (max_values: None, max_size: None, mode: Measured) - /// Storage: Teeracle Whitelists (r:1 w:0) - /// Proof Skipped: Teeracle Whitelists (max_values: None, max_size: None, mode: Measured) - /// Storage: Teeracle ExchangeRates (r:1 w:1) - /// Proof Skipped: Teeracle ExchangeRates (max_values: None, max_size: None, mode: Measured) + /// Storage: `Teerex::SovereignEnclaves` (r:1 w:0) + /// Proof: `Teerex::SovereignEnclaves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Teeracle::Whitelists` (r:1 w:0) + /// Proof: `Teeracle::Whitelists` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Teeracle::ExchangeRates` (r:1 w:1) + /// Proof: `Teeracle::ExchangeRates` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_exchange_rate() -> Weight { // Proof Size summary in bytes: // Measured: `491` // Estimated: `3956` - // Minimum execution time: 36_732_000 picoseconds. - Weight::from_parts(40_409_000, 0) + // Minimum execution time: 25_036_000 picoseconds. + Weight::from_parts(27_367_000, 0) .saturating_add(Weight::from_parts(0, 3956)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Teerex SovereignEnclaves (r:1 w:0) - /// Proof Skipped: Teerex SovereignEnclaves (max_values: None, max_size: None, mode: Measured) - /// Storage: Teeracle Whitelists (r:1 w:0) - /// Proof Skipped: Teeracle Whitelists (max_values: None, max_size: None, mode: Measured) - /// Storage: Teeracle OracleData (r:0 w:1) - /// Proof Skipped: Teeracle OracleData (max_values: None, max_size: None, mode: Measured) + /// Storage: `Teerex::SovereignEnclaves` (r:1 w:0) + /// Proof: `Teerex::SovereignEnclaves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Teeracle::Whitelists` (r:1 w:0) + /// Proof: `Teeracle::Whitelists` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Teeracle::OracleData` (r:0 w:1) + /// Proof: `Teeracle::OracleData` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_oracle() -> Weight { // Proof Size summary in bytes: // Measured: `482` // Estimated: `3947` - // Minimum execution time: 28_204_000 picoseconds. - Weight::from_parts(30_318_000, 0) + // Minimum execution time: 20_400_000 picoseconds. + Weight::from_parts(21_787_000, 0) .saturating_add(Weight::from_parts(0, 3947)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Teeracle Whitelists (r:1 w:1) - /// Proof Skipped: Teeracle Whitelists (max_values: None, max_size: None, mode: Measured) + /// Storage: `Teeracle::Whitelists` (r:1 w:1) + /// Proof: `Teeracle::Whitelists` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_to_whitelist() -> Weight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3507` - // Minimum execution time: 16_591_000 picoseconds. - Weight::from_parts(16_885_000, 0) + // Minimum execution time: 10_924_000 picoseconds. + Weight::from_parts(11_518_000, 0) .saturating_add(Weight::from_parts(0, 3507)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Teeracle Whitelists (r:1 w:1) - /// Proof Skipped: Teeracle Whitelists (max_values: None, max_size: None, mode: Measured) + /// Storage: `Teeracle::Whitelists` (r:1 w:1) + /// Proof: `Teeracle::Whitelists` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_from_whitelist() -> Weight { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3609` - // Minimum execution time: 19_536_000 picoseconds. - Weight::from_parts(20_247_000, 0) + // Minimum execution time: 13_739_000 picoseconds. + Weight::from_parts(14_117_000, 0) .saturating_add(Weight::from_parts(0, 3609)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_teerex.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_teerex.rs index bd7d4b20..c80468d9 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_teerex.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_teerex.rs @@ -1,11 +1,11 @@ //! Autogenerated weights for `pallet_teerex` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 +//! DATE: 2024-02-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 // Executed Command: // ./target/release/integritee-collator @@ -32,92 +32,92 @@ use core::marker::PhantomData; /// Weight functions for `pallet_teerex`. pub struct WeightInfo(PhantomData); impl pallet_teerex::WeightInfo for WeightInfo { - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Teerex SgxQuotingEnclaveRegistry (r:1 w:0) - /// Proof Skipped: Teerex SgxQuotingEnclaveRegistry (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Teerex SgxTcbInfo (r:1 w:0) - /// Proof Skipped: Teerex SgxTcbInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: Teerex SgxAllowDebugMode (r:1 w:0) - /// Proof Skipped: Teerex SgxAllowDebugMode (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Teerex SovereignEnclaves (r:0 w:1) - /// Proof Skipped: Teerex SovereignEnclaves (max_values: None, max_size: None, mode: Measured) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Teerex::SgxQuotingEnclaveRegistry` (r:1 w:0) + /// Proof: `Teerex::SgxQuotingEnclaveRegistry` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Teerex::SgxTcbInfo` (r:1 w:0) + /// Proof: `Teerex::SgxTcbInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Teerex::SgxAllowDebugMode` (r:1 w:0) + /// Proof: `Teerex::SgxAllowDebugMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Teerex::SovereignEnclaves` (r:0 w:1) + /// Proof: `Teerex::SovereignEnclaves` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_sgx_enclave() -> Weight { // Proof Size summary in bytes: - // Measured: `451` - // Estimated: `3916` - // Minimum execution time: 2_821_014_000 picoseconds. - Weight::from_parts(3_057_351_000, 0) - .saturating_add(Weight::from_parts(0, 3916)) + // Measured: `784` + // Estimated: `4249` + // Minimum execution time: 2_772_309_000 picoseconds. + Weight::from_parts(2_920_097_000, 0) + .saturating_add(Weight::from_parts(0, 4249)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Teerex SgxQuotingEnclaveRegistry (r:0 w:1) - /// Proof Skipped: Teerex SgxQuotingEnclaveRegistry (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Teerex::SgxQuotingEnclaveRegistry` (r:0 w:1) + /// Proof: `Teerex::SgxQuotingEnclaveRegistry` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn register_quoting_enclave() -> Weight { // Proof Size summary in bytes: // Measured: `132` // Estimated: `1493` - // Minimum execution time: 1_356_417_000 picoseconds. - Weight::from_parts(1_363_262_000, 0) + // Minimum execution time: 1_378_427_000 picoseconds. + Weight::from_parts(1_385_370_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: Teerex SgxTcbInfo (r:0 w:1) - /// Proof Skipped: Teerex SgxTcbInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Teerex::SgxTcbInfo` (r:0 w:1) + /// Proof: `Teerex::SgxTcbInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_tcb_info() -> Weight { // Proof Size summary in bytes: // Measured: `132` // Estimated: `1493` - // Minimum execution time: 1_376_167_000 picoseconds. - Weight::from_parts(1_421_038_000, 0) + // Minimum execution time: 1_462_220_000 picoseconds. + Weight::from_parts(1_475_369_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Teerex SovereignEnclaves (r:1 w:1) - /// Proof Skipped: Teerex SovereignEnclaves (max_values: None, max_size: None, mode: Measured) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: `Teerex::SovereignEnclaves` (r:1 w:1) + /// Proof: `Teerex::SovereignEnclaves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn unregister_sovereign_enclave() -> Weight { // Proof Size summary in bytes: // Measured: `531` // Estimated: `3996` - // Minimum execution time: 18_996_000 picoseconds. - Weight::from_parts(19_953_000, 0) + // Minimum execution time: 17_436_000 picoseconds. + Weight::from_parts(18_168_000, 0) .saturating_add(Weight::from_parts(0, 3996)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Teerex ProxiedEnclaves (r:1 w:1) - /// Proof Skipped: Teerex ProxiedEnclaves (max_values: None, max_size: None, mode: Measured) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: `Teerex::ProxiedEnclaves` (r:1 w:1) + /// Proof: `Teerex::ProxiedEnclaves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn unregister_proxied_enclave() -> Weight { // Proof Size summary in bytes: // Measured: `633` // Estimated: `4098` - // Minimum execution time: 24_638_000 picoseconds. - Weight::from_parts(25_704_000, 0) + // Minimum execution time: 29_910_000 picoseconds. + Weight::from_parts(31_140_000, 0) .saturating_add(Weight::from_parts(0, 4098)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Teerex SgxAllowDebugMode (r:0 w:1) - /// Proof Skipped: Teerex SgxAllowDebugMode (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Teerex AllowSkippingAttestation (r:0 w:1) - /// Proof Skipped: Teerex AllowSkippingAttestation (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Teerex::SgxAllowDebugMode` (r:0 w:1) + /// Proof: `Teerex::SgxAllowDebugMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Teerex::AllowSkippingAttestation` (r:0 w:1) + /// Proof: `Teerex::AllowSkippingAttestation` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_security_flags() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_677_000 picoseconds. - Weight::from_parts(9_973_000, 0) + // Minimum execution time: 6_858_000 picoseconds. + Weight::from_parts(7_182_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_timestamp.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_timestamp.rs index 3c5b69b2..1d2ef053 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_timestamp.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_timestamp.rs @@ -1,11 +1,11 @@ //! Autogenerated weights for `pallet_timestamp` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 +//! DATE: 2024-02-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 // Executed Command: // ./target/release/integritee-collator @@ -32,14 +32,14 @@ use core::marker::PhantomData; /// Weight functions for `pallet_timestamp`. pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { - /// Storage: Timestamp Now (r:1 w:1) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: `Timestamp::Now` (r:1 w:1) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn set() -> Weight { // Proof Size summary in bytes: // Measured: `80` // Estimated: `1493` - // Minimum execution time: 11_414_000 picoseconds. - Weight::from_parts(12_005_000, 0) + // Minimum execution time: 7_495_000 picoseconds. + Weight::from_parts(7_859_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -48,8 +48,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `132` // Estimated: `0` - // Minimum execution time: 6_845_000 picoseconds. - Weight::from_parts(7_333_000, 0) + // Minimum execution time: 5_364_000 picoseconds. + Weight::from_parts(5_689_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_utility.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_utility.rs index 52620856..29d86ccd 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_utility.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_utility.rs @@ -1,11 +1,11 @@ //! Autogenerated weights for `pallet_utility` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 +//! DATE: 2024-02-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 // Executed Command: // ./target/release/integritee-collator @@ -37,18 +37,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_041_000 picoseconds. - Weight::from_parts(85_352_237, 0) + // Minimum execution time: 6_313_000 picoseconds. + Weight::from_parts(102_607_836, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 5_972 - .saturating_add(Weight::from_parts(5_224_246, 0).saturating_mul(c.into())) + // Standard Error: 10_188 + .saturating_add(Weight::from_parts(3_213_490, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_200_000 picoseconds. - Weight::from_parts(5_378_000, 0) + // Minimum execution time: 4_613_000 picoseconds. + Weight::from_parts(4_774_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -56,18 +56,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_804_000 picoseconds. - Weight::from_parts(12_491_487, 0) + // Minimum execution time: 4_453_000 picoseconds. + Weight::from_parts(57_730_799, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 7_108 - .saturating_add(Weight::from_parts(5_703_988, 0).saturating_mul(c.into())) + // Standard Error: 15_967 + .saturating_add(Weight::from_parts(3_642_054, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_043_000 picoseconds. - Weight::from_parts(9_383_000, 0) + // Minimum execution time: 6_280_000 picoseconds. + Weight::from_parts(6_593_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -75,10 +75,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_696_000 picoseconds. - Weight::from_parts(6_822_000, 0) + // Minimum execution time: 4_089_000 picoseconds. + Weight::from_parts(4_272_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 16_703 - .saturating_add(Weight::from_parts(5_525_340, 0).saturating_mul(c.into())) + // Standard Error: 11_434 + .saturating_add(Weight::from_parts(3_544_259, 0).saturating_mul(c.into())) } } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_vesting.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_vesting.rs index 34a9a5a8..0e7a5080 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_vesting.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_vesting.rs @@ -1,11 +1,11 @@ //! Autogenerated weights for `pallet_vesting` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 +//! DATE: 2024-02-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 // Executed Command: // ./target/release/integritee-collator @@ -32,183 +32,183 @@ use core::marker::PhantomData; /// Weight functions for `pallet_vesting`. pub struct WeightInfo(PhantomData); impl pallet_vesting::WeightInfo for WeightInfo { - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. - fn vest_locked(_l: u32, s: u32, ) -> Weight { + fn vest_locked(_l: u32, _s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `205 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 33_083_000 picoseconds. - Weight::from_parts(36_002_632, 0) + // Minimum execution time: 28_394_000 picoseconds. + Weight::from_parts(37_781_415, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 8_925 - .saturating_add(Weight::from_parts(73_554, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `205 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 36_579_000 picoseconds. - Weight::from_parts(26_430_531, 0) + // Minimum execution time: 30_698_000 picoseconds. + Weight::from_parts(27_821_334, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 18_169 - .saturating_add(Weight::from_parts(228_441, 0).saturating_mul(l.into())) - // Standard Error: 32_327 - .saturating_add(Weight::from_parts(395_622, 0).saturating_mul(s.into())) + // Standard Error: 5_047 + .saturating_add(Weight::from_parts(78_144, 0).saturating_mul(l.into())) + // Standard Error: 8_979 + .saturating_add(Weight::from_parts(211_054, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. - fn vest_other_locked(_l: u32, s: u32, ) -> Weight { + fn vest_other_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `308 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 33_961_000 picoseconds. - Weight::from_parts(37_267_856, 0) + // Minimum execution time: 30_163_000 picoseconds. + Weight::from_parts(32_197_447, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 6_112 - .saturating_add(Weight::from_parts(69_316, 0).saturating_mul(s.into())) + // Standard Error: 6_522 + .saturating_add(Weight::from_parts(31_075, 0).saturating_mul(l.into())) + // Standard Error: 11_604 + .saturating_add(Weight::from_parts(100_566, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. - fn vest_other_unlocked(_l: u32, _s: u32, ) -> Weight { + fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `308 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 38_167_000 picoseconds. - Weight::from_parts(45_850_154, 0) + // Minimum execution time: 32_537_000 picoseconds. + Weight::from_parts(31_772_347, 0) .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 4_966 + .saturating_add(Weight::from_parts(65_133, 0).saturating_mul(l.into())) + // Standard Error: 8_835 + .saturating_add(Weight::from_parts(134_917, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. - fn vested_transfer(l: u32, s: u32, ) -> Weight { + fn vested_transfer(_l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `308 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 73_233_000 picoseconds. - Weight::from_parts(59_910_288, 0) + // Minimum execution time: 64_923_000 picoseconds. + Weight::from_parts(74_316_578, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 38_069 - .saturating_add(Weight::from_parts(489_110, 0).saturating_mul(l.into())) - // Standard Error: 67_732 - .saturating_add(Weight::from_parts(411_972, 0).saturating_mul(s.into())) + // Standard Error: 22_830 + .saturating_add(Weight::from_parts(12_039, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. - fn force_vested_transfer(l: u32, s: u32, ) -> Weight { + fn force_vested_transfer(l: u32, _s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `411 + l * (25 ±0) + s * (36 ±0)` // Estimated: `6196` - // Minimum execution time: 76_601_000 picoseconds. - Weight::from_parts(77_522_220, 0) + // Minimum execution time: 67_077_000 picoseconds. + Weight::from_parts(77_211_657, 0) .saturating_add(Weight::from_parts(0, 6196)) - // Standard Error: 20_460 - .saturating_add(Weight::from_parts(206_202, 0).saturating_mul(l.into())) - // Standard Error: 36_403 - .saturating_add(Weight::from_parts(69_866, 0).saturating_mul(s.into())) + // Standard Error: 11_693 + .saturating_add(Weight::from_parts(50_495, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[2, 28]`. fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `306 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 35_347_000 picoseconds. - Weight::from_parts(34_825_982, 0) + // Minimum execution time: 31_036_000 picoseconds. + Weight::from_parts(33_962_379, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_752 - .saturating_add(Weight::from_parts(51_388, 0).saturating_mul(l.into())) - // Standard Error: 3_236 - .saturating_add(Weight::from_parts(100_664, 0).saturating_mul(s.into())) + // Standard Error: 5_486 + .saturating_add(Weight::from_parts(17_056, 0).saturating_mul(l.into())) + // Standard Error: 10_132 + .saturating_add(Weight::from_parts(64_700, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: Vesting Vesting (r:1 w:1) - /// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[2, 28]`. fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `306 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 41_049_000 picoseconds. - Weight::from_parts(36_867_268, 0) + // Minimum execution time: 33_767_000 picoseconds. + Weight::from_parts(31_292_090, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 8_419 - .saturating_add(Weight::from_parts(95_340, 0).saturating_mul(l.into())) - // Standard Error: 15_547 - .saturating_add(Weight::from_parts(193_490, 0).saturating_mul(s.into())) + // Standard Error: 6_381 + .saturating_add(Weight::from_parts(83_211, 0).saturating_mul(l.into())) + // Standard Error: 11_784 + .saturating_add(Weight::from_parts(188_465, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_xcm.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_xcm.rs index 839d8037..885bf75e 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_xcm.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_xcm.rs @@ -1,11 +1,11 @@ //! Autogenerated weights for `pallet_xcm` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 +//! DATE: 2024-02-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("integritee-rococo-local-dev"), DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 // Executed Command: // ./target/release/integritee-collator @@ -32,28 +32,28 @@ use core::marker::PhantomData; /// Weight functions for `pallet_xcm`. pub struct WeightInfo(PhantomData); impl pallet_xcm::WeightInfo for WeightInfo { - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) + /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) + /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn send() -> Weight { // Proof Size summary in bytes: // Measured: `111` // Estimated: `3576` - // Minimum execution time: 47_057_000 picoseconds. - Weight::from_parts(48_215_000, 0) + // Minimum execution time: 33_480_000 picoseconds. + Weight::from_parts(36_336_000, 0) .saturating_add(Weight::from_parts(0, 3576)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: Benchmark Override (r:0 w:0) - /// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn teleport_assets() -> Weight { // Proof Size summary in bytes: // Measured: `0` @@ -62,19 +62,19 @@ impl pallet_xcm::WeightInfo for WeightInfo { Weight::from_parts(22_338_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: ParachainInfo ParachainId (r:1 w:0) - /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: // Measured: `32` // Estimated: `1489` - // Minimum execution time: 30_055_000 picoseconds. - Weight::from_parts(31_086_000, 0) + // Minimum execution time: 23_303_000 picoseconds. + Weight::from_parts(23_842_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) } - /// Storage: Benchmark Override (r:0 w:0) - /// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn execute() -> Weight { // Proof Size summary in bytes: // Measured: `0` @@ -82,187 +82,187 @@ impl pallet_xcm::WeightInfo for WeightInfo { Weight::from_parts(10_240_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: PolkadotXcm SupportedVersion (r:0 w:1) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_xcm_version() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_949_000 picoseconds. - Weight::from_parts(16_433_000, 0) + // Minimum execution time: 11_635_000 picoseconds. + Weight::from_parts(12_160_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: PolkadotXcm SafeXcmVersion (r:0 w:1) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::SafeXcmVersion` (r:0 w:1) + /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn force_default_xcm_version() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_796_000 picoseconds. - Weight::from_parts(4_987_000, 0) + // Minimum execution time: 3_975_000 picoseconds. + Weight::from_parts(4_168_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: PolkadotXcm VersionNotifiers (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm QueryCounter (r:1 w:1) - /// Proof Skipped: PolkadotXcm QueryCounter (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm Queries (r:0 w:1) - /// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) + /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) + /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) + /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) + /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::Queries` (r:0 w:1) + /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_subscribe_version_notify() -> Weight { // Proof Size summary in bytes: // Measured: `111` // Estimated: `3576` - // Minimum execution time: 54_050_000 picoseconds. - Weight::from_parts(55_719_000, 0) + // Minimum execution time: 39_268_000 picoseconds. + Weight::from_parts(40_642_000, 0) .saturating_add(Weight::from_parts(0, 3576)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: PolkadotXcm VersionNotifiers (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm Queries (r:0 w:1) - /// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) + /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) + /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) + /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::Queries` (r:0 w:1) + /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_unsubscribe_version_notify() -> Weight { // Proof Size summary in bytes: // Measured: `294` // Estimated: `3759` - // Minimum execution time: 52_949_000 picoseconds. - Weight::from_parts(55_082_000, 0) + // Minimum execution time: 41_808_000 picoseconds. + Weight::from_parts(43_116_000, 0) .saturating_add(Weight::from_parts(0, 3759)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: PolkadotXcm XcmExecutionSuspended (r:0 w:1) - /// Proof Skipped: PolkadotXcm XcmExecutionSuspended (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1) + /// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn force_suspension() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_626_000 picoseconds. - Weight::from_parts(4_866_000, 0) + // Minimum execution time: 3_841_000 picoseconds. + Weight::from_parts(4_035_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: PolkadotXcm SupportedVersion (r:4 w:2) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::SupportedVersion` (r:4 w:2) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: // Measured: `205` // Estimated: `11095` - // Minimum execution time: 27_000_000 picoseconds. - Weight::from_parts(27_336_000, 0) + // Minimum execution time: 26_976_000 picoseconds. + Weight::from_parts(27_826_000, 0) .saturating_add(Weight::from_parts(0, 11095)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: PolkadotXcm VersionNotifiers (r:4 w:2) - /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::VersionNotifiers` (r:4 w:2) + /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notifiers() -> Weight { // Proof Size summary in bytes: // Measured: `209` // Estimated: `11099` - // Minimum execution time: 26_028_000 picoseconds. - Weight::from_parts(27_732_000, 0) + // Minimum execution time: 25_805_000 picoseconds. + Weight::from_parts(26_441_000, 0) .saturating_add(Weight::from_parts(0, 11099)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: PolkadotXcm VersionNotifyTargets (r:5 w:0) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn already_notified_target() -> Weight { // Proof Size summary in bytes: // Measured: `216` // Estimated: `13581` - // Minimum execution time: 27_970_000 picoseconds. - Weight::from_parts(28_607_000, 0) + // Minimum execution time: 28_082_000 picoseconds. + Weight::from_parts(28_928_000, 0) .saturating_add(Weight::from_parts(0, 13581)) .saturating_add(T::DbWeight::get().reads(5)) } - /// Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) + /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) + /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn notify_current_targets() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `6118` - // Minimum execution time: 45_634_000 picoseconds. - Weight::from_parts(47_261_000, 0) + // Minimum execution time: 35_847_000 picoseconds. + Weight::from_parts(37_715_000, 0) .saturating_add(Weight::from_parts(0, 6118)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: PolkadotXcm VersionNotifyTargets (r:3 w:0) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:3 w:0) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn notify_target_migration_fail() -> Weight { // Proof Size summary in bytes: // Measured: `172` // Estimated: `8587` - // Minimum execution time: 14_177_000 picoseconds. - Weight::from_parts(15_256_000, 0) + // Minimum execution time: 15_137_000 picoseconds. + Weight::from_parts(15_624_000, 0) .saturating_add(Weight::from_parts(0, 8587)) .saturating_add(T::DbWeight::get().reads(3)) } - /// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:2) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notify_targets() -> Weight { // Proof Size summary in bytes: // Measured: `216` // Estimated: `11106` - // Minimum execution time: 25_135_000 picoseconds. - Weight::from_parts(25_634_000, 0) + // Minimum execution time: 25_137_000 picoseconds. + Weight::from_parts(25_867_000, 0) .saturating_add(Weight::from_parts(0, 11106)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:2) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) + /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) + /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn migrate_and_notify_old_targets() -> Weight { // Proof Size summary in bytes: // Measured: `258` // Estimated: `11148` - // Minimum execution time: 56_231_000 picoseconds. - Weight::from_parts(57_320_000, 0) + // Minimum execution time: 46_286_000 picoseconds. + Weight::from_parts(48_030_000, 0) .saturating_add(Weight::from_parts(0, 11148)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4))