diff --git a/Cargo.lock b/Cargo.lock index a938deff8..557eb08b6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -110,7 +110,7 @@ dependencies = [ "cipher 0.3.0", "ctr 0.8.0", "ghash 0.4.4", - "subtle", + "subtle 2.4.1", ] [[package]] @@ -124,7 +124,7 @@ dependencies = [ "cipher 0.4.4", "ctr 0.9.2", "ghash 0.5.0", - "subtle", + "subtle 2.4.1", ] [[package]] @@ -192,6 +192,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 = "android-tzdata" version = "0.1.1" @@ -279,6 +285,20 @@ 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", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "arbitrary" version = "1.3.0" @@ -291,6 +311,135 @@ version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bddcadddf5e9015d310179a59bb28c4d4b9920ad0f11e8e14dbadf654890c9a6" +[[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", + "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", + "num-bigint", + "num-traits", + "paste 1.0.13", + "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" @@ -343,7 +492,7 @@ dependencies = [ "num-traits", "rusticata-macros", "thiserror", - "time 0.3.23", + "time", ] [[package]] @@ -359,7 +508,7 @@ dependencies = [ "num-traits", "rusticata-macros", "thiserror", - "time 0.3.23", + "time", ] [[package]] @@ -497,17 +646,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "async-recursion" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e97ce7de6cf12de5d7226c73f5ba9811622f4db3a5b91b55c53e987e5f91cba" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.32", -] - [[package]] name = "async-signal" version = "0.2.4" @@ -545,7 +683,7 @@ checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193" dependencies = [ "proc-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -562,7 +700,7 @@ checksum = "a66537f1bb974b254c98ed142ff995236e81b9d0fe4db0575f46612cb15eb0f9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -668,7 +806,7 @@ dependencies = [ "heck 0.4.1", "proc-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -764,7 +902,7 @@ dependencies = [ "regex", "rustc-hash", "shlex", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -818,6 +956,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" @@ -1039,6 +1189,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" @@ -1089,7 +1249,7 @@ checksum = "5aca1a8fbc20b50ac9673ff014abfb2b5f4085ee1a850d408f14a159c5853ac7" dependencies = [ "aead 0.3.2", "cipher 0.2.5", - "subtle", + "subtle 2.4.1", ] [[package]] @@ -1103,9 +1263,9 @@ dependencies = [ [[package]] name = "cfg-expr" -version = "0.15.3" +version = "0.15.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "215c0072ecc28f92eeb0eea38ba63ddfcb65c2828c46311d646f1a3ff5f9841c" +checksum = "6100bc57b6209840798d95cb2775684849d332f7bd788db2a8c8caf7ef82a41a" dependencies = [ "smallvec", ] @@ -1122,6 +1282,16 @@ 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" @@ -1173,17 +1343,16 @@ dependencies = [ [[package]] name = "chrono" -version = "0.4.26" +version = "0.4.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5" +checksum = "41daef31d7a747c5c847246f36de49ced6f7403b4cdabc807a97b5cc184cda7a" dependencies = [ "android-tzdata", "iana-time-zone", "js-sys", "num-traits", - "time 0.1.45", "wasm-bindgen", - "winapi", + "windows-targets 0.52.0", ] [[package]] @@ -1306,7 +1475,7 @@ dependencies = [ "heck 0.4.1", "proc-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -1362,6 +1531,12 @@ dependencies = [ "unicode-width", ] +[[package]] +name = "common-path" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2382f75942f4b3be3690fe4f86365e9c853c1587d6ee58212cebf6e2a9ccd101" + [[package]] name = "concurrent-queue" version = "2.2.0" @@ -1430,6 +1605,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" @@ -1776,7 +1957,7 @@ checksum = "ef2b4b23cddf68b89b8f8069890e8c270d54e2d5fe1b143820234805e4cb17ef" dependencies = [ "generic-array 0.14.7", "rand_core 0.6.4", - "subtle", + "subtle 2.4.1", "zeroize", ] @@ -1789,7 +1970,7 @@ dependencies = [ "generic-array 0.14.7", "rand_core 0.6.4", "serdect", - "subtle", + "subtle 2.4.1", "zeroize", ] @@ -1804,6 +1985,16 @@ dependencies = [ "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]] name = "crypto-mac" version = "0.8.0" @@ -1811,7 +2002,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]] @@ -1821,7 +2012,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1d1a86f49236c215f271d40892d5fc950490551400b02ef360692c29815c714" dependencies = [ "generic-array 0.14.7", - "subtle", + "subtle 2.4.1", ] [[package]] @@ -1861,7 +2052,7 @@ dependencies = [ "byteorder", "digest 0.8.1", "rand_core 0.5.1", - "subtle", + "subtle 2.4.1", "zeroize", ] @@ -1874,7 +2065,7 @@ dependencies = [ "byteorder", "digest 0.9.0", "rand_core 0.5.1", - "subtle", + "subtle 2.4.1", "zeroize", ] @@ -1887,10 +2078,11 @@ dependencies = [ "cfg-if", "cpufeatures", "curve25519-dalek-derive", + "digest 0.10.7", "fiat-crypto", "platforms", - "rustc_version 0.4.0", - "subtle", + "rustc_version", + "subtle 2.4.1", "zeroize", ] @@ -1902,7 +2094,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -1942,7 +2134,7 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -1959,7 +2151,7 @@ checksum = "81b2dab6991c7ab1572fea8cb049db819b1aeea1e2dac74c0869f244d9f21a7c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -2007,7 +2199,7 @@ dependencies = [ "proc-macro2", "quote", "strsim 0.10.0", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -2029,7 +2221,7 @@ checksum = "836a9bbc7ad63342d6d6e7b815ccab164bc77a2d95d84bc3117a8c0d5c98e2d5" dependencies = [ "darling_core 0.20.3", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -2178,7 +2370,7 @@ dependencies = [ "convert_case", "proc-macro2", "quote", - "rustc_version 0.4.0", + "rustc_version", "syn 1.0.109", ] @@ -2215,14 +2407,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", ] @@ -2239,13 +2431,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]] @@ -2267,7 +2460,34 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", +] + +[[package]] +name = "docify" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cc4fd38aaa9fb98ac70794c82a00360d1e165a87fbf96a8a91f9dfc602aaee2" +dependencies = [ + "docify_macros", +] + +[[package]] +name = "docify_macros" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63fa215f3a0d40fb2a221b3aa90d8e1fbb8379785a990cb60d62ac71ebdc6460" +dependencies = [ + "common-path", + "derive-syn-parse", + "once_cell", + "proc-macro2", + "quote", + "regex", + "syn 2.0.43", + "termcolor", + "toml 0.8.2", + "walkdir", ] [[package]] @@ -2350,6 +2570,16 @@ dependencies = [ "signature 1.6.4", ] +[[package]] +name = "ed25519" +version = "2.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" +dependencies = [ + "pkcs8 0.10.2", + "signature 2.1.0", +] + [[package]] name = "ed25519-dalek" version = "1.0.1" @@ -2357,13 +2587,26 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" dependencies = [ "curve25519-dalek 3.2.0", - "ed25519", - "rand 0.7.3", - "serde", + "ed25519 1.5.3", "sha2 0.9.9", "zeroize", ] +[[package]] +name = "ed25519-dalek" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f628eaec48bfd21b865dc2950cfa014450c01d2fa2b69a86c2fd5844ec523c0" +dependencies = [ + "curve25519-dalek 4.1.1", + "ed25519 2.2.3", + "rand_core 0.6.4", + "serde", + "sha2 0.10.8", + "subtle 2.4.1", + "zeroize", +] + [[package]] name = "ed25519-zebra" version = "3.1.0" @@ -2402,7 +2645,7 @@ dependencies = [ "pkcs8 0.9.0", "rand_core 0.6.4", "sec1 0.3.0", - "subtle", + "subtle 2.4.1", "zeroize", ] @@ -2421,7 +2664,7 @@ dependencies = [ "pkcs8 0.10.2", "rand_core 0.6.4", "sec1 0.7.3", - "subtle", + "subtle 2.4.1", "zeroize", ] @@ -2458,10 +2701,7 @@ dependencies = [ "jsonrpsee 0.16.2", "lazy_static", "log", - "node-inspect", - "node-primitives", "pallet-asset-conversion-tx-payment", - "pallet-asset-tx-payment", "pallet-balances", "pallet-free-tx", "pallet-im-online", @@ -2477,7 +2717,6 @@ dependencies = [ "sc-cli", "sc-client-api", "sc-consensus", - "sc-consensus-aura", "sc-consensus-babe", "sc-consensus-babe-rpc", "sc-consensus-epochs", @@ -2485,7 +2724,6 @@ dependencies = [ "sc-consensus-grandpa-rpc", "sc-consensus-slots", "sc-executor", - "sc-keystore", "sc-network", "sc-network-common", "sc-network-sync", @@ -2506,22 +2744,20 @@ dependencies = [ "sp-block-builder", "sp-blockchain", "sp-consensus", - "sp-consensus-aura", "sp-consensus-babe", "sp-consensus-grandpa", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", "sp-inherents", - "sp-keyring 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-keyring 28.0.0", + "sp-keystore 0.31.0", + "sp-runtime 28.0.0", "sp-timestamp", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-tracing 14.0.0", "sp-transaction-storage-proof", + "staging-node-inspect", "structopt", "substrate-build-script-utils", - "substrate-frame-cli", "substrate-frame-rpc-system", - "substrate-state-trie-migration-rpc", "tempfile", "try-runtime-cli", ] @@ -2540,7 +2776,7 @@ dependencies = [ "serde", "serial_test 0.6.0", "sled", - "sp-core 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 21.0.0", "synedrion", "thiserror", "tokio", @@ -2588,7 +2824,7 @@ dependencies = [ "axum", "base64 0.13.1", "bincode", - "blake2", + "blake2 0.10.6", "chacha20poly1305 0.10.1", "entropy-shared", "futures", @@ -2602,8 +2838,8 @@ dependencies = [ "serde", "serde_json", "snow", - "sp-core 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-keyring 24.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 21.0.0", + "sp-keyring 24.0.0", "subxt", "synedrion", "thiserror", @@ -2632,7 +2868,6 @@ dependencies = [ "frame-try-runtime", "hex-literal", "log", - "node-primitives", "pallet-assets", "pallet-authority-discovery", "pallet-authorship", @@ -2651,8 +2886,6 @@ dependencies = [ "pallet-identity", "pallet-im-online", "pallet-indices", - "pallet-insecure-randomness-collective-flip", - "pallet-lottery", "pallet-membership", "pallet-multisig", "pallet-nomination-pools", @@ -2671,7 +2904,6 @@ dependencies = [ "pallet-session", "pallet-session-benchmarking", "pallet-slashing", - "pallet-society", "pallet-staking", "pallet-staking-extension", "pallet-staking-reward-curve", @@ -2691,16 +2923,17 @@ dependencies = [ "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", "sp-inherents", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-keyring 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-io 27.0.0", + "sp-keyring 28.0.0", "sp-npos-elections", "sp-offchain", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", "sp-session", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-std 12.0.0", + "sp-storage 17.0.0", "sp-transaction-pool", "sp-version", "static_assertions", @@ -2711,13 +2944,12 @@ dependencies = [ name = "entropy-shared" version = "0.1.0" dependencies = [ - "frame-support", - "node-primitives", "parity-scale-codec", "scale-info", "serde", "serde_derive", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", + "sp-std 12.0.0", "strum 0.25.0", "strum_macros 0.25.3", ] @@ -2732,8 +2964,8 @@ dependencies = [ "colored", "entropy-testing-utils", "hex", - "sp-core 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 21.0.0", + "sp-runtime 24.0.0", "subxt", "tokio", "x25519-dalek 2.0.0", @@ -2746,7 +2978,7 @@ dependencies = [ "anyhow", "axum", "base64 0.13.1", - "blake2", + "blake2 0.10.6", "entropy-kvdb", "entropy-protocol", "entropy-shared", @@ -2764,8 +2996,8 @@ dependencies = [ "serde", "serde_json", "sha3", - "sp-core 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-keyring 24.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 21.0.0", + "sp-keyring 24.0.0", "subxt", "synedrion", "thiserror", @@ -2789,7 +3021,7 @@ dependencies = [ "base64 0.13.1", "bincode", "bip39", - "blake2", + "blake2 0.10.6", "blake3", "bytes", "clap 4.4.8", @@ -2818,8 +3050,8 @@ dependencies = [ "sha2 0.10.8", "sha3", "snow", - "sp-core 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-keyring 24.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 21.0.0", + "sp-keyring 24.0.0", "strum 0.25.0", "subxt", "synedrion", @@ -2867,7 +3099,7 @@ checksum = "5e9a1f9f7d83e59740248a6e14ecf93929ade55027844dfcea78beafccc15745" dependencies = [ "proc-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -2959,11 +3191,11 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f86a749cf851891866c10515ef6c299b5c69661465e9c3bbe7e07a2b77fb0f7" dependencies = [ - "blake2", + "blake2 0.10.6", "fs-err", "proc-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -3009,7 +3241,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d013fc25338cc558c5c2cfbad646908fb23591e2404481826742b651c9af7160" dependencies = [ "rand_core 0.6.4", - "subtle", + "subtle 2.4.1", ] [[package]] @@ -3019,7 +3251,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" dependencies = [ "rand_core 0.6.4", - "subtle", + "subtle 2.4.1", ] [[package]] @@ -3137,8 +3369,9 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[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", ] @@ -3160,8 +3393,9 @@ 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", "frame-support-procedural", @@ -3173,20 +3407,21 @@ dependencies = [ "scale-info", "serde", "sp-api", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.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 12.0.0", + "sp-storage 17.0.0", "static_assertions", ] [[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 6.1.0", @@ -3216,64 +3451,68 @@ dependencies = [ "serde_json", "sp-api", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", "sp-database", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-externalities 0.23.0", "sp-inherents", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-trie 22.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-wasm-interface 14.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.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 17.0.0", + "sp-trie 26.0.0", + "sp-wasm-interface 18.0.0", "thiserror", "thousands", ] [[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-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[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", "parity-scale-codec", "scale-info", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-arithmetic 20.0.0", + "sp-core 25.0.0", "sp-npos-elections", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[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-try-runtime", + "log", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", + "sp-tracing 14.0.0", ] [[package]] @@ -3301,19 +3540,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 0.16.2", "log", "parity-scale-codec", "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "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", @@ -3322,10 +3562,13 @@ 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 16.0.0", "frame-support-procedural", @@ -3337,27 +3580,32 @@ dependencies = [ "paste 1.0.13", "scale-info", "serde", + "serde_json", "smallvec", "sp-api", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-arithmetic 20.0.0", + "sp-core 25.0.0", "sp-core-hashing-proc-macro", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-debug-derive 12.0.0", + "sp-genesis-builder", "sp-inherents", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-io 27.0.0", + "sp-metadata-ir", + "sp-runtime 28.0.0", "sp-staking", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-weights 20.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-state-machine 0.32.0", + "sp-std 12.0.0", + "sp-tracing 14.0.0", + "sp-weights 24.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", @@ -3369,35 +3617,39 @@ dependencies = [ "proc-macro-warning", "proc-macro2", "quote", - "syn 2.0.32", + "sp-core-hashing 13.0.0", + "syn 2.0.43", ] [[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-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[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", - "syn 2.0.32", + "syn 2.0.43", ] [[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", @@ -3405,33 +3657,35 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", "sp-version", - "sp-weights 20.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-weights 24.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", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[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", @@ -3439,14 +3693,15 @@ dependencies = [ [[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", "parity-scale-codec", "sp-api", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[package]] @@ -3553,7 +3808,7 @@ checksum = "53b153fd91e4b0147f4aced87be237c98248656bb01050b96bf3ee89220a8ddb" dependencies = [ "proc-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -3789,7 +4044,7 @@ checksum = "5dfbfb3a6cfbd390d5c9564ab283a0349b9b9fcd46a706c1eb10e0db70bfbac7" dependencies = [ "ff 0.12.1", "rand_core 0.6.4", - "subtle", + "subtle 2.4.1", ] [[package]] @@ -3800,7 +4055,7 @@ checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ "ff 0.13.0", "rand_core 0.6.4", - "subtle", + "subtle 2.4.1", ] [[package]] @@ -3875,9 +4130,20 @@ 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" version = "0.3.3" @@ -4226,6 +4492,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" @@ -4693,6 +4978,12 @@ dependencies = [ "cpufeatures", ] +[[package]] +name = "keystream" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c33070833c9ee02266356de0c43f723152bd38bd96ddf52c82b3af10c9138b28" + [[package]] name = "kvdb" version = "0.13.0" @@ -4893,12 +5184,12 @@ dependencies = [ [[package]] name = "libp2p-identity" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e2d584751cecb2aabaa56106be6be91338a60a0f4e420cf2af639204f596fc1" +checksum = "276bb57e7af15d8f100d3c11cbdd32c6752b7eef4ba7a18ecf464972c07abcce" dependencies = [ "bs58 0.4.0", - "ed25519-dalek", + "ed25519-dalek 2.1.0", "log", "multiaddr", "multihash", @@ -5236,7 +5527,7 @@ checksum = "5be9b9bb642d8522a44d533eab56c16c738301965504753b03ad1de3425d5451" dependencies = [ "crunchy", "digest 0.9.0", - "subtle", + "subtle 2.4.1", ] [[package]] @@ -5320,7 +5611,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da2479e8c062e40bf0066ffa0bc823de0a9368974af99c9f6df941d2c231e03f" [[package]] -name = "lite-json" +name = "lioness" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ae926706ba42c425c9457121178330d75e273df2e82e28b758faf3de3a9acb9" +dependencies = [ + "arrayref", + "blake2 0.8.1", + "chacha", + "keystream", +] + +[[package]] +name = "lite-json" version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0460d985423a026b4d9b828a7c6eed1bcf606f476322f3f9b507529686a61715" @@ -5412,50 +5715,50 @@ 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", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[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", "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[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", - "syn 2.0.32", + "syn 2.0.43", ] [[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", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -5635,6 +5938,31 @@ 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 = "mockall" version = "0.11.4" @@ -5887,31 +6215,6 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43794a0ace135be66a25d3ae77d41b91615fb68ae937f904090203e81f755b65" -[[package]] -name = "node-inspect" -version = "0.9.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "clap 4.4.8", - "parity-scale-codec", - "sc-cli", - "sc-client-api", - "sc-service", - "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "thiserror", -] - -[[package]] -name = "node-primitives" -version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", -] - [[package]] name = "nodrop" version = "0.1.14" @@ -6034,6 +6337,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" dependencies = [ "autocfg", + "libm", ] [[package]] @@ -6144,7 +6448,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -6165,6 +6469,12 @@ dependencies = [ "vcpkg", ] +[[package]] +name = "option-ext" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" + [[package]] name = "os_str_bytes" version = "6.5.1" @@ -6200,86 +6510,94 @@ dependencies = [ ] [[package]] -name = "pallet-asset-conversion-tx-payment" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +name = "pallet-asset-conversion" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd7f0ae643c877d9a36d7335bcda6614861b846a60f448da8cf3276d4042ef33" dependencies = [ + "frame-benchmarking", "frame-support", "frame-system", - "pallet-transaction-payment", "parity-scale-codec", "scale-info", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-api", + "sp-arithmetic 20.0.0", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[package]] -name = "pallet-asset-tx-payment" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +name = "pallet-asset-conversion-tx-payment" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64952179a5a409dead964a387c86a29d16d40a34cf54bf88e4d74ffdcdddf7a6" dependencies = [ - "frame-benchmarking", "frame-support", "frame-system", + "pallet-asset-conversion", "pallet-transaction-payment", "parity-scale-codec", "scale-info", - "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[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", + "log", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[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", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-application-crypto 27.0.0", "sp-authority-discovery", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[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", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[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", @@ -6290,21 +6608,24 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-application-crypto 27.0.0", "sp-consensus-babe", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-session", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-std 12.0.0", ] [[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 = [ + "aquamarine", + "docify", "frame-benchmarking", "frame-election-provider-support", "frame-support", @@ -6313,17 +6634,18 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", + "sp-tracing 14.0.0", ] [[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", "frame-support", @@ -6331,14 +6653,15 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[package]] name = "pallet-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 = "74c0fb83c88f217e5bfe07a69a6d8a6c32d01241159ab81705ba5d4c3e24aaab" dependencies = [ "frame-benchmarking", "frame-support", @@ -6347,16 +6670,17 @@ dependencies = [ "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[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", @@ -6364,16 +6688,17 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[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", @@ -6382,15 +6707,16 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[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", @@ -6399,16 +6725,17 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[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-election-provider-support", @@ -6419,32 +6746,35 @@ dependencies = [ "parity-scale-codec", "rand 0.8.5", "scale-info", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-arithmetic 20.0.0", + "sp-core 25.0.0", + "sp-io 27.0.0", "sp-npos-elections", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", + "sp-std 12.0.0", "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-election-provider-support", "frame-system", "parity-scale-codec", "sp-npos-elections", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[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", @@ -6452,12 +6782,12 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-io 27.0.0", "sp-npos-elections", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-std 12.0.0", ] [[package]] @@ -6480,19 +6810,20 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-io 27.0.0", "sp-npos-elections", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-std 12.0.0", + "sp-tracing 14.0.0", ] [[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", @@ -6502,20 +6833,21 @@ dependencies = [ "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-application-crypto 27.0.0", "sp-consensus-grandpa", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-session", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-std 12.0.0", ] [[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", @@ -6523,15 +6855,16 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[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", @@ -6540,63 +6873,37 @@ dependencies = [ "pallet-authorship", "parity-scale-codec", "scale-info", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-application-crypto 27.0.0", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-std 12.0.0", ] [[package]] name = "pallet-indices" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-keyring 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", -] - -[[package]] -name = "pallet-insecure-randomness-collective-flip" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "frame-support", - "frame-system", - "parity-scale-codec", - "safe-mix", - "scale-info", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", -] - -[[package]] -name = "pallet-lottery" -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", "parity-scale-codec", "scale-info", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-keyring 28.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[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", @@ -6604,16 +6911,17 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[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", @@ -6621,32 +6929,36 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[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.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1896f33fff0c41934532fb492078d78b784f301ddd81e5041dd8e8279e652c49" dependencies = [ "frame-support", "frame-system", "log", + "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-std 12.0.0", + "sp-tracing 14.0.0", ] [[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-election-provider-support", @@ -6657,27 +6969,29 @@ dependencies = [ "pallet-staking", "parity-scale-codec", "scale-info", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", + "sp-runtime-interface 21.0.0", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-std 12.0.0", ] [[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-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-std 12.0.0", ] [[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", @@ -6686,15 +7000,16 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-std 12.0.0", ] [[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-election-provider-support", @@ -6710,15 +7025,16 @@ dependencies = [ "pallet-staking", "parity-scale-codec", "scale-info", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-std 12.0.0", ] [[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", @@ -6726,10 +7042,10 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[package]] @@ -6744,11 +7060,11 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-std 12.0.0", ] [[package]] @@ -6776,49 +7092,52 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.11.2", "scale-info", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-application-crypto 27.0.0", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-keystore 0.31.0", "sp-npos-elections", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", "sp-staking", ] [[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", "parity-scale-codec", "scale-info", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[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", "parity-scale-codec", "scale-info", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[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", @@ -6828,10 +7147,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-arithmetic 20.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[package]] @@ -6855,35 +7174,38 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-io 27.0.0", "sp-npos-elections", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-std 12.0.0", ] [[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 = [ + "docify", "frame-benchmarking", "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-weights 20.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", + "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", @@ -6892,29 +7214,32 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-session", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-trie 22.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-state-machine 0.32.0", + "sp-std 12.0.0", + "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", "pallet-session", "pallet-staking", + "parity-scale-codec", "rand 0.8.5", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", "sp-session", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-std 12.0.0", ] [[package]] @@ -6934,37 +7259,20 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-application-crypto 27.0.0", + "sp-core 25.0.0", + "sp-io 27.0.0", "sp-npos-elections", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", "sp-staking", -] - -[[package]] -name = "pallet-society" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "hex-literal", - "log", - "parity-scale-codec", - "rand_chacha 0.2.2", - "scale-info", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-std 12.0.0", ] [[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-election-provider-support", @@ -6977,11 +7285,11 @@ dependencies = [ "rand_chacha 0.2.2", "scale-info", "serde", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-application-crypto 27.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-std 12.0.0", ] [[package]] @@ -7003,45 +7311,50 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-io 27.0.0", "sp-npos-elections", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-std 12.0.0", ] [[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-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[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 = [ + "docify", "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[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 = [ + "docify", "frame-benchmarking", "frame-support", "frame-system", @@ -7049,16 +7362,18 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-inherents", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", + "sp-storage 17.0.0", "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", @@ -7068,10 +7383,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[package]] @@ -7086,60 +7401,64 @@ dependencies = [ "parity-scale-codec", "scale-info", "smallvec", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[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", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[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 0.16.2", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", "sp-api", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", "sp-rpc", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-weights 20.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.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 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-weights 20.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", + "sp-weights 24.0.0", ] [[package]] name = "pallet-transaction-storage" -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 = "97fac70256b29e473af84fa47fd3538a9acc2e811433059a899df060acb83572" dependencies = [ "array-bytes 6.1.0", "frame-benchmarking", @@ -7151,17 +7470,19 @@ dependencies = [ "scale-info", "serde", "sp-inherents", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", "sp-transaction-storage-proof", ] [[package]] name = "pallet-treasury" -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 = "8dd462af11574485864023849e0622916b611dbc88111192fb39b1e6d7e666ba" dependencies = [ + "docify", "frame-benchmarking", "frame-support", "frame-system", @@ -7170,30 +7491,33 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[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", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[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", @@ -7201,8 +7525,8 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[package]] @@ -7211,7 +7535,7 @@ version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0dab3ac198341b2f0fec6e7f8a6eeed07a41201d98a124260611598c142e76df" dependencies = [ - "blake2", + "blake2 0.10.6", "crc32fast", "fs2", "hex", @@ -7332,7 +7656,7 @@ checksum = "346f04948ba92c43e8469c1ee6736c7563d71012b17d40745260fe106aac2166" dependencies = [ "base64ct", "rand_core 0.6.4", - "subtle", + "subtle 2.4.1", ] [[package]] @@ -7448,7 +7772,7 @@ dependencies = [ "pest_meta", "proc-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -7489,7 +7813,7 @@ checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" dependencies = [ "proc-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -7674,7 +7998,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "92139198957b410250d43fad93e630d956499a625c527eda65175c8680f83387" dependencies = [ "proc-macro2", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -7732,13 +8056,13 @@ checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" [[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", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -8012,6 +8336,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" @@ -8075,7 +8409,7 @@ checksum = "6413f3de1edee53342e6138e75b56d32e7bc6e332b3bd62d497b1929d4cfbcdd" dependencies = [ "pem", "ring 0.16.20", - "time 0.3.23", + "time", "x509-parser 0.13.2", "yasna", ] @@ -8088,7 +8422,7 @@ checksum = "ffbe84efe2f38dea12e9bfc1f65377fdf03e53a18cb3b995faedf7934c7e785b" dependencies = [ "pem", "ring 0.16.20", - "time 0.3.23", + "time", "yasna", ] @@ -8138,7 +8472,7 @@ checksum = "68bf53dad9b6086826722cdc99140793afd9f62faa14a1ad07eb4f955e7a7216" dependencies = [ "proc-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -8293,7 +8627,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" dependencies = [ "hmac 0.12.1", - "subtle", + "subtle 2.4.1", ] [[package]] @@ -8414,15 +8748,6 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" -[[package]] -name = "rustc_version" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" -dependencies = [ - "semver 0.9.0", -] - [[package]] name = "rustc_version" version = "0.4.0" @@ -8584,15 +8909,6 @@ version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fe232bdf6be8c8de797b22184ee71118d63780ea42ac85b61d1baa6d3b782ae9" -[[package]] -name = "safe-mix" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d3d055a2582e6b00ed7a31c1524040aa391092bf636328350813f3a0605215c" -dependencies = [ - "rustc_version 0.2.3", -] - [[package]] name = "safe_arch" version = "0.7.0" @@ -8622,19 +8938,21 @@ 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 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-wasm-interface 14.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-wasm-interface 18.0.0", "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", @@ -8652,17 +8970,18 @@ dependencies = [ "sp-api", "sp-authority-discovery", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.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", @@ -8676,31 +8995,33 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", "sp-inherents", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.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 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", "sp-inherents", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.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 = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec7e711ea9870d3fb8e2a3ea5b601a9e20c63d0d2f457f40146407721e246a77" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -8711,26 +9032,28 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.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-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[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 6.1.0", "chrono", @@ -8747,6 +9070,7 @@ dependencies = [ "sc-client-api", "sc-client-db", "sc-keystore", + "sc-mixnet", "sc-network", "sc-service", "sc-telemetry", @@ -8755,11 +9079,11 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-keyring 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-panic-handler 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-keyring 28.0.0", + "sp-keystore 0.31.0", + "sp-panic-handler 12.0.0", + "sp-runtime 28.0.0", "sp-version", "thiserror", "tiny-bip39", @@ -8768,8 +9092,9 @@ 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", @@ -8782,20 +9107,22 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", "sp-database", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-externalities 0.23.0", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.0", "sp-statement-store", - "sp-storage 13.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-storage 17.0.0", + "sp-trie 26.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", @@ -8809,19 +9136,20 @@ dependencies = [ "sc-client-api", "sc-state-db", "schnellru", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-arithmetic 20.0.0", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", "sp-database", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-trie 22.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.0", + "sp-trie 26.0.0", ] [[package]] name = "sc-consensus" -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 = "86e4100cc8fb3876708e1ec5a7c63af3baa75febd5051beb9ddd1e4835fdfc27" dependencies = [ "async-trait", "futures", @@ -8836,46 +9164,18 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.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" -dependencies = [ - "async-trait", - "futures", - "log", - "parity-scale-codec", - "sc-block-builder", - "sc-client-api", - "sc-consensus", - "sc-consensus-slots", - "sc-telemetry", - "sp-api", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-block-builder", - "sp-blockchain", - "sp-consensus", - "sp-consensus-aura", - "sp-consensus-slots", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-inherents", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.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-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", @@ -8892,26 +9192,26 @@ dependencies = [ "sc-consensus-slots", "sc-telemetry", "sc-transaction-pool-api", - "scale-info", "sp-api", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-application-crypto 27.0.0", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", "sp-consensus-slots", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", "sp-inherents", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.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 0.16.2", @@ -8920,33 +9220,35 @@ dependencies = [ "sc-rpc-api", "serde", "sp-api", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-application-crypto 27.0.0", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-keystore 0.31.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 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.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 6.1.0", @@ -8972,22 +9274,23 @@ dependencies = [ "sc-utils", "serde_json", "sp-api", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-application-crypto 27.0.0", + "sp-arithmetic 20.0.0", "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.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", @@ -8999,15 +9302,16 @@ dependencies = [ "sc-rpc", "serde", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.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", @@ -9017,20 +9321,21 @@ dependencies = [ "sc-client-api", "sc-consensus", "sc-telemetry", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-arithmetic 20.0.0", "sp-blockchain", "sp-consensus", "sp-consensus-slots", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", "sp-inherents", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.0", ] [[package]] name = "sc-executor" -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 = "225f2ad733bc7234a6638d5203624194824b2f78ab631bc911223f536a66b9c8" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -9038,50 +9343,54 @@ dependencies = [ "sc-executor-wasmtime", "schnellru", "sp-api", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-panic-handler 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-trie 22.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-externalities 0.23.0", + "sp-io 27.0.0", + "sp-panic-handler 12.0.0", + "sp-runtime-interface 21.0.0", + "sp-trie 26.0.0", "sp-version", - "sp-wasm-interface 14.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-wasm-interface 18.0.0", "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", "sp-maybe-compressed-blob", - "sp-wasm-interface 14.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-wasm-interface 18.0.0", "thiserror", "wasm-instrument", ] [[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.15", "sc-allocator", "sc-executor-common", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-wasm-interface 14.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime-interface 21.0.0", + "sp-wasm-interface 18.0.0", "wasmtime 8.0.1", ] [[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", @@ -9091,27 +9400,58 @@ dependencies = [ "sc-network", "sc-network-common", "sp-blockchain", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.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 6.1.0", "parking_lot 0.12.1", "serde_json", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-application-crypto 27.0.0", + "sp-core 25.0.0", + "sp-keystore 0.31.0", + "thiserror", +] + +[[package]] +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", + "sc-network", + "sc-transaction-pool-api", + "sp-api", + "sp-consensus", + "sp-core 25.0.0", + "sp-keystore 0.31.0", + "sp-mixnet", + "sp-runtime 28.0.0", "thiserror", ] [[package]] name = "sc-network" -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 = "01f519592a971199c486d412dbf38ba54096857080bf4b9d29c9ffabcfee3745" dependencies = [ "array-bytes 6.1.0", "async-channel", @@ -9138,10 +9478,10 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-arithmetic 20.0.0", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-runtime 28.0.0", "substrate-prometheus-endpoint", "thiserror", "unsigned-varint", @@ -9151,8 +9491,9 @@ 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", "cid", @@ -9164,15 +9505,16 @@ dependencies = [ "sc-client-api", "sc-network", "sp-blockchain", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.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", @@ -9183,13 +9525,14 @@ dependencies = [ "sc-consensus", "sp-consensus", "sp-consensus-grandpa", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.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", @@ -9199,15 +9542,16 @@ dependencies = [ "sc-network", "sc-network-common", "schnellru", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "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 6.1.0", "async-channel", @@ -9220,15 +9564,16 @@ dependencies = [ "sc-client-api", "sc-network", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.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 6.1.0", "async-channel", @@ -9249,20 +9594,22 @@ dependencies = [ "sc-utils", "schnellru", "smallvec", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-arithmetic 20.0.0", "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.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 6.1.0", "futures", @@ -9273,14 +9620,15 @@ dependencies = [ "sc-network-common", "sc-utils", "sp-consensus", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.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 6.1.0", "bytes", @@ -9302,19 +9650,20 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "sp-api", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-externalities 0.23.0", + "sp-keystore 0.31.0", "sp-offchain", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "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", @@ -9322,8 +9671,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 0.16.2", @@ -9333,6 +9683,7 @@ dependencies = [ "sc-block-builder", "sc-chain-spec", "sc-client-api", + "sc-mixnet", "sc-rpc-api", "sc-tracing", "sc-transaction-pool-api", @@ -9340,11 +9691,11 @@ dependencies = [ "serde_json", "sp-api", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-keystore 0.31.0", "sp-offchain", "sp-rpc", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", "sp-session", "sp-statement-store", "sp-version", @@ -9353,27 +9704,30 @@ dependencies = [ [[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 0.16.2", "parity-scale-codec", "sc-chain-spec", + "sc-mixnet", "sc-transaction-pool-api", "scale-info", "serde", "serde_json", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", "sp-rpc", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", "sp-version", "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 0.16.2", @@ -9387,8 +9741,9 @@ 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 6.1.0", "futures", @@ -9401,20 +9756,23 @@ dependencies = [ "sc-chain-spec", "sc-client-api", "sc-transaction-pool-api", + "sc-utils", "serde", "sp-api", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-runtime 28.0.0", "sp-version", "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", @@ -9455,16 +9813,16 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-externalities 0.23.0", + "sp-keystore 0.31.0", + "sp-runtime 28.0.0", "sp-session", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-state-machine 0.32.0", + "sp-storage 17.0.0", "sp-transaction-pool", "sp-transaction-storage-proof", - "sp-trie 22.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-trie 26.0.0", "sp-version", "static_init", "substrate-prometheus-endpoint", @@ -9477,33 +9835,36 @@ 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 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "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 4.4.8", "fs4", "log", "sc-client-db", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "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 0.16.2", "parity-scale-codec", @@ -9515,14 +9876,15 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.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", @@ -9533,15 +9895,16 @@ dependencies = [ "sc-telemetry", "serde", "serde_json", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-std 12.0.0", ] [[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", @@ -9559,8 +9922,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", @@ -9576,10 +9940,10 @@ dependencies = [ "serde", "sp-api", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", "sp-rpc", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", + "sp-tracing 14.0.0", "thiserror", "tracing", "tracing-log", @@ -9588,19 +9952,21 @@ 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-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[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", @@ -9615,9 +9981,9 @@ dependencies = [ "serde", "sp-api", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-runtime 28.0.0", + "sp-tracing 14.0.0", "sp-transaction-pool", "substrate-prometheus-endpoint", "thiserror", @@ -9625,8 +9991,9 @@ 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", @@ -9634,15 +10001,16 @@ dependencies = [ "parity-scale-codec", "serde", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-runtime 28.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", "futures", @@ -9651,7 +10019,7 @@ dependencies = [ "log", "parking_lot 0.12.1", "prometheus", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-arithmetic 20.0.0", ] [[package]] @@ -9754,7 +10122,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6538d1cc1af9c0baf401c57da8a6d4730ef582db0d330d2efa56ec946b5b0283" dependencies = [ "base58", - "blake2", + "blake2 0.10.6", "derive_more", "either", "frame-metadata 15.1.0", @@ -9801,7 +10169,7 @@ dependencies = [ "rand 0.7.3", "rand_core 0.5.1", "sha2 0.8.2", - "subtle", + "subtle 2.4.1", "zeroize", ] @@ -9887,7 +10255,7 @@ dependencies = [ "der 0.6.1", "generic-array 0.14.7", "pkcs8 0.9.0", - "subtle", + "subtle 2.4.1", "zeroize", ] @@ -9901,7 +10269,7 @@ dependencies = [ "der 0.7.7", "generic-array 0.14.7", "pkcs8 0.10.2", - "subtle", + "subtle 2.4.1", "zeroize", ] @@ -9964,15 +10332,6 @@ dependencies = [ "semver-parser", ] -[[package]] -name = "semver" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" -dependencies = [ - "semver-parser", -] - [[package]] name = "semver" version = "1.0.17" @@ -10017,7 +10376,7 @@ checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -10413,14 +10772,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "58021967fd0a5eeeb23b08df6cc244a4d4a5b4aec1d27c9e02fad1a58b4cd74e" dependencies = [ "aes-gcm 0.10.2", - "blake2", + "blake2 0.10.6", "chacha20poly1305 0.10.1", "curve25519-dalek 4.1.1", "rand_core 0.6.4", "ring 0.17.5", - "rustc_version 0.4.0", + "rustc_version", "sha2 0.10.8", - "subtle", + "subtle 2.4.1", ] [[package]] @@ -10462,37 +10821,39 @@ dependencies = [ [[package]] name = "sp-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 = "f582f92ce47c86e4ffffe81fdd5120fea7c850dc0800653a7fa203bcc1532335" dependencies = [ "hash-db", "log", "parity-scale-codec", "scale-info", "sp-api-proc-macro", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-externalities 0.23.0", "sp-metadata-ir", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-trie 22.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.0", + "sp-std 12.0.0", + "sp-trie 26.0.0", "sp-version", "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", "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -10504,22 +10865,23 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-io 23.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-std 8.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-std 8.0.0", ] [[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 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-std 12.0.0", ] [[package]] @@ -10533,52 +10895,56 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std 8.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 8.0.0", "static_assertions", ] [[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 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-std 12.0.0", "static_assertions", ] [[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 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-application-crypto 27.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[package]] name = "sp-block-builder" -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 = "6cd16df3d1cdad862d3e764f10f7675876b011e032907423fdfa377ae2ec8575" dependencies = [ "sp-api", "sp-inherents", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[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", @@ -10588,66 +10954,70 @@ dependencies = [ "sp-api", "sp-consensus", "sp-database", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.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 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", "sp-inherents", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.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 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-application-crypto 27.0.0", "sp-consensus-slots", "sp-inherents", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", + "sp-std 12.0.0", "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 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-application-crypto 27.0.0", "sp-consensus-slots", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", "sp-inherents", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", + "sp-std 12.0.0", "sp-timestamp", ] [[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", @@ -10655,22 +11025,23 @@ dependencies = [ "scale-info", "serde", "sp-api", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.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 12.0.0", ] [[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", "serde", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-std 12.0.0", "sp-timestamp", ] @@ -10682,7 +11053,7 @@ checksum = "f18d9e2f67d8661f9729f35347069ac29d92758b59135176799db966947a7336" dependencies = [ "array-bytes 4.2.0", "bitflags 1.3.2", - "blake2", + "blake2 0.10.6", "bounded-collections", "bs58 0.4.0", "dyn-clonable", @@ -10706,12 +11077,12 @@ dependencies = [ "secp256k1", "secrecy", "serde", - "sp-core-hashing 9.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-debug-derive 8.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-externalities 0.19.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-runtime-interface 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-std 8.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-storage 13.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core-hashing 9.0.0", + "sp-debug-derive 8.0.0", + "sp-externalities 0.19.0", + "sp-runtime-interface 17.0.0", + "sp-std 8.0.0", + "sp-storage 13.0.0", "ss58-registry", "substrate-bip39", "thiserror", @@ -10721,14 +11092,15 @@ 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 6.1.0", "bitflags 1.3.2", - "blake2", + "blake2 0.10.6", "bounded-collections", - "bs58 0.4.0", + "bs58 0.5.0", "dyn-clonable", "ed25519-zebra", "futures", @@ -10750,17 +11122,18 @@ dependencies = [ "secp256k1", "secrecy", "serde", - "sp-core-hashing 9.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core-hashing 13.0.0", + "sp-debug-derive 12.0.0", + "sp-externalities 0.23.0", + "sp-runtime-interface 21.0.0", + "sp-std 12.0.0", + "sp-storage 17.0.0", "ss58-registry", "substrate-bip39", "thiserror", "tiny-bip39", "tracing", + "w3f-bls", "zeroize", ] @@ -10775,14 +11148,15 @@ dependencies = [ "digest 0.10.7", "sha2 0.10.8", "sha3", - "sp-std 8.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 8.0.0", "twox-hash", ] [[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", @@ -10794,18 +11168,20 @@ 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 9.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "syn 2.0.32", + "sp-core-hashing 13.0.0", + "syn 2.0.43", ] [[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", @@ -10819,17 +11195,18 @@ checksum = "c7f531814d2f16995144c74428830ccf7d94ff4a7749632b83ad8199b181140c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[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", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -10840,32 +11217,46 @@ checksum = "a0f71c671e01a8ca60da925d43a1b351b69626e268b8837f8371e320cf1dd100" dependencies = [ "environmental", "parity-scale-codec", - "sp-std 8.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-storage 13.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 8.0.0", + "sp-storage 13.0.0", ] [[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", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-std 12.0.0", + "sp-storage 17.0.0", +] + +[[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", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[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 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", + "sp-std 12.0.0", "thiserror", ] @@ -10876,47 +11267,47 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d597e35a9628fe7454b08965b2442e3ec0f264b0a90d41328e87422cec02e99" dependencies = [ "bytes", - "ed25519", - "ed25519-dalek", + "ed25519 1.5.3", + "ed25519-dalek 1.0.1", "futures", "libsecp256k1", "log", "parity-scale-codec", "rustversion", "secp256k1", - "sp-core 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-externalities 0.19.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-keystore 0.27.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-runtime-interface 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-state-machine 0.28.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-std 8.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-tracing 10.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-trie 22.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "sp-keystore 0.27.0", + "sp-runtime-interface 17.0.0", + "sp-state-machine 0.28.0", + "sp-std 8.0.0", + "sp-tracing 10.0.0", + "sp-trie 22.0.0", "tracing", "tracing-core", ] [[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", - "ed25519-dalek", + "ed25519-dalek 2.1.0", "libsecp256k1", "log", "parity-scale-codec", "rustversion", "secp256k1", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-trie 22.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-externalities 0.23.0", + "sp-keystore 0.31.0", + "sp-runtime-interface 21.0.0", + "sp-state-machine 0.32.0", + "sp-std 12.0.0", + "sp-tracing 14.0.0", + "sp-trie 26.0.0", "tracing", "tracing-core", ] @@ -10928,19 +11319,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4673405248580504a8bc4e09615ab25ccb182dfaccd27e000fda9dcb2ca1dab1" dependencies = [ "lazy_static", - "sp-core 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-runtime 24.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 21.0.0", + "sp-runtime 24.0.0", "strum 0.24.1", ] [[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 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-runtime 28.0.0", "strum 0.24.1", ] @@ -10953,65 +11345,83 @@ dependencies = [ "futures", "parity-scale-codec", "parking_lot 0.12.1", - "sp-core 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-externalities 0.19.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 21.0.0", + "sp-externalities 0.19.0", "thiserror", ] [[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 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-externalities 0.23.0", "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.3+zstd.1.5.2", + "zstd 0.12.4", ] [[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 16.0.0", "parity-scale-codec", "scale-info", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-std 12.0.0", +] + +[[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", + "sp-application-crypto 27.0.0", + "sp-std 12.0.0", ] [[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 16.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-arithmetic 20.0.0", + "sp-core 25.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[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 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-runtime 28.0.0", ] [[package]] @@ -11027,8 +11437,9 @@ dependencies = [ [[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", @@ -11037,12 +11448,13 @@ 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 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", ] [[package]] @@ -11060,18 +11472,19 @@ dependencies = [ "rand 0.8.5", "scale-info", "serde", - "sp-application-crypto 23.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-arithmetic 16.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-core 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-io 23.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-std 8.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-weights 20.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-application-crypto 23.0.0", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-std 8.0.0", + "sp-weights 20.0.0", ] [[package]] name = "sp-runtime" -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 = "6d9c40ff7303e62219b55635e5245d963358cb77d6916250991ebcb82c0be2c6" dependencies = [ "either", "hash256-std-hasher", @@ -11082,12 +11495,12 @@ dependencies = [ "rand 0.8.5", "scale-info", "serde", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-weights 20.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-application-crypto 27.0.0", + "sp-arithmetic 20.0.0", + "sp-core 25.0.0", + "sp-io 27.0.0", + "sp-std 12.0.0", + "sp-weights 24.0.0", ] [[package]] @@ -11100,30 +11513,31 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "primitive-types", - "sp-externalities 0.19.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-runtime-interface-proc-macro 11.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-std 8.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-storage 13.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-tracing 10.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-wasm-interface 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.19.0", + "sp-runtime-interface-proc-macro 11.0.0", + "sp-std 8.0.0", + "sp-storage 13.0.0", + "sp-tracing 10.0.0", + "sp-wasm-interface 14.0.0", "static_assertions", ] [[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 0.19.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime-interface-proc-macro 11.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-wasm-interface 14.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-externalities 0.23.0", + "sp-runtime-interface-proc-macro 15.0.0", + "sp-std 12.0.0", + "sp-storage 17.0.0", + "sp-tracing 14.0.0", + "sp-wasm-interface 18.0.0", "static_assertions", ] @@ -11137,48 +11551,51 @@ dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[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-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[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", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-keystore 0.31.0", + "sp-runtime 28.0.0", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-std 12.0.0", ] [[package]] name = "sp-staking" -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 = "ee0feed0137234598bd1f76d0b468c585ea16619ea9ed1acbba82dd24ac79788" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-runtime 28.0.0", + "sp-std 12.0.0", ] [[package]] @@ -11193,19 +11610,20 @@ dependencies = [ "parking_lot 0.12.1", "rand 0.8.5", "smallvec", - "sp-core 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-externalities 0.19.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-panic-handler 8.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-std 8.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-trie 22.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "sp-panic-handler 8.0.0", + "sp-std 8.0.0", + "sp-trie 22.0.0", "thiserror", "tracing", ] [[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", @@ -11213,31 +11631,39 @@ dependencies = [ "parking_lot 0.12.1", "rand 0.8.5", "smallvec", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-panic-handler 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-trie 22.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-externalities 0.23.0", + "sp-panic-handler 12.0.0", + "sp-std 12.0.0", + "sp-trie 26.0.0", "thiserror", "tracing", - "trie-db", + "trie-db 0.28.0", ] [[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 0.10.2", + "curve25519-dalek 4.1.1", + "ed25519-dalek 2.1.0", + "hkdf", "parity-scale-codec", + "rand 0.8.5", "scale-info", + "sha2 0.10.8", "sp-api", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-application-crypto 27.0.0", + "sp-core 25.0.0", + "sp-externalities 0.23.0", + "sp-runtime 28.0.0", + "sp-runtime-interface 21.0.0", + "sp-std 12.0.0", "thiserror", + "x25519-dalek 2.0.0", ] [[package]] @@ -11248,8 +11674,9 @@ checksum = "53458e3c57df53698b3401ec0934bea8e8cfce034816873c0b0abbd83d7bac0d" [[package]] name = "sp-std" -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 = "54c78c5a66682568cc7b153603c5d01a2cc8f5c221c7b1e921517a0eef18ae05" [[package]] name = "sp-storage" @@ -11261,33 +11688,35 @@ dependencies = [ "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 8.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-std 8.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-debug-derive 8.0.0", + "sp-std 8.0.0", ] [[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", "ref-cast", "serde", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-debug-derive 12.0.0", + "sp-std 12.0.0", ] [[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 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", + "sp-std 12.0.0", "thiserror", ] @@ -11298,7 +11727,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "357f7591980dd58305956d32f8f6646d0a8ea9ea0e7e868e46f53b68ddf00cec" dependencies = [ "parity-scale-codec", - "sp-std 8.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 8.0.0", "tracing", "tracing-core", "tracing-subscriber 0.2.25", @@ -11306,11 +11735,12 @@ dependencies = [ [[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 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-std 12.0.0", "tracing", "tracing-core", "tracing-subscriber 0.2.25", @@ -11318,26 +11748,28 @@ 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 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.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 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", "sp-inherents", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-trie 22.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", + "sp-std 12.0.0", + "sp-trie 26.0.0", ] [[package]] @@ -11356,18 +11788,19 @@ dependencies = [ "parking_lot 0.12.1", "scale-info", "schnellru", - "sp-core 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-std 8.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 21.0.0", + "sp-std 8.0.0", "thiserror", "tracing", - "trie-db", + "trie-db 0.27.1", "trie-root", ] [[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", @@ -11377,20 +11810,22 @@ dependencies = [ "nohash-hasher", "parity-scale-codec", "parking_lot 0.12.1", + "rand 0.8.5", "scale-info", "schnellru", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-std 12.0.0", "thiserror", "tracing", - "trie-db", + "trie-db 0.28.0", "trie-root", ] [[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", @@ -11398,21 +11833,22 @@ dependencies = [ "scale-info", "serde", "sp-core-hashing-proc-macro", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", + "sp-std 12.0.0", "sp-version-proc-macro", "thiserror", ] [[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", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -11425,20 +11861,21 @@ dependencies = [ "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std 8.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 8.0.0", "wasmtime 8.0.1", ] [[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", "log", "parity-scale-codec", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-std 12.0.0", "wasmtime 8.0.1", ] @@ -11452,25 +11889,26 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-arithmetic 16.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-core 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-debug-derive 8.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-std 8.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-debug-derive 8.0.0", + "sp-std 8.0.0", ] [[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 16.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-arithmetic 20.0.0", + "sp-core 25.0.0", + "sp-debug-derive 12.0.0", + "sp-std 12.0.0", ] [[package]] @@ -11543,6 +11981,23 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" +[[package]] +name = "staging-node-inspect" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75e1cf52c30fec35faf9c0b28ae0bdc3c3d2a56d696b942100f026cfd54ef54d" +dependencies = [ + "clap 4.4.8", + "parity-scale-codec", + "sc-cli", + "sc-client-api", + "sc-service", + "sp-blockchain", + "sp-core 25.0.0", + "sp-runtime 28.0.0", + "thiserror", +] + [[package]] name = "static_assertions" version = "1.1.0" @@ -11651,7 +12106,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -11666,7 +12121,7 @@ dependencies = [ "md-5", "rand 0.8.5", "ring 0.16.20", - "subtle", + "subtle 2.4.1", "thiserror", "tokio", "url", @@ -11688,26 +12143,15 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" -version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" - -[[package]] -name = "substrate-frame-cli" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" -dependencies = [ - "clap 4.4.8", - "frame-support", - "frame-system", - "sc-cli", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", -] +version = "9.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a3b7556a62d77b7b8abc34e425817f6f563c2f2aa7142f1c4e93e6422156cc1" [[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 = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c241af714c378075b1185e574202cbb9105e849b8c9ea44ef87880bdb3e9a75" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -11719,14 +12163,15 @@ dependencies = [ "sp-api", "sp-block-builder", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-runtime 28.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", @@ -11737,38 +12182,23 @@ 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 0.16.2", "log", "sc-rpc-api", "serde", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.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" -dependencies = [ - "jsonrpsee 0.16.2", - "parity-scale-codec", - "sc-client-api", - "sc-rpc-api", - "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-trie 22.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "trie-db", + "sp-runtime 28.0.0", ] [[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", @@ -11792,6 +12222,12 @@ dependencies = [ "autocfg", ] +[[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" @@ -11811,7 +12247,7 @@ source = "git+https://github.com/paritytech/subxt.git?tag=v0.32.1#761fee0b07b977 dependencies = [ "async-trait", "base58", - "blake2", + "blake2 0.10.6", "derivative", "either", "frame-metadata 16.0.0", @@ -11829,9 +12265,9 @@ dependencies = [ "scale-value", "serde", "serde_json", - "sp-core 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-core-hashing 9.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-runtime 24.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 21.0.0", + "sp-core-hashing 9.0.0", + "sp-runtime 24.0.0", "subxt-lightclient", "subxt-macro", "subxt-metadata", @@ -11854,7 +12290,7 @@ dependencies = [ "quote", "scale-info", "subxt-metadata", - "syn 2.0.32", + "syn 2.0.43", "thiserror", "tokio", ] @@ -11892,7 +12328,7 @@ dependencies = [ "darling 0.20.3", "proc-macro-error", "subxt-codegen", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -11903,7 +12339,7 @@ dependencies = [ "frame-metadata 16.0.0", "parity-scale-codec", "scale-info", - "sp-core-hashing 9.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core-hashing 9.0.0", "thiserror", ] @@ -11920,9 +12356,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.32" +version = "2.0.43" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "239814284fd6f1a4ffe4ca893952cdd93c224b6a1571c9a9eadd670295c0c9e2" +checksum = "ee659fb5f3d355364e1f3e5bc10fb82068efbf824a1e9d1c9504244a6469ad53" dependencies = [ "proc-macro2", "quote", @@ -12104,7 +12540,7 @@ checksum = "266b2e40bc00e5a6c09c3584011e08b06f123c00362c92b975ba9843aaaa14b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -12142,17 +12578,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" @@ -12262,7 +12687,7 @@ checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -12376,7 +12801,19 @@ dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit", + "toml_edit 0.19.12", +] + +[[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]] @@ -12398,7 +12835,20 @@ dependencies = [ "serde", "serde_spanned", "toml_datetime", - "winnow", + "winnow 0.4.9", +] + +[[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 0.5.34", ] [[package]] @@ -12486,7 +12936,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -12500,7 +12950,7 @@ dependencies = [ "log", "serde", "serde_json", - "time 0.3.23", + "time", "tracing", "tracing-core", "tracing-log", @@ -12626,6 +13076,19 @@ dependencies = [ "smallvec", ] +[[package]] +name = "trie-db" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff28e0f815c2fea41ebddf148e008b077d2faddb026c9555b29696114d602642" +dependencies = [ + "hash-db", + "hashbrown 0.13.2", + "log", + "rustc-hex", + "smallvec", +] + [[package]] name = "trie-root" version = "0.18.0" @@ -12689,8 +13152,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 4.4.8", @@ -12706,21 +13170,21 @@ dependencies = [ "sp-api", "sp-consensus-aura", "sp-consensus-babe", - "sp-core 21.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-core 25.0.0", + "sp-debug-derive 12.0.0", + "sp-externalities 0.23.0", "sp-inherents", - "sp-io 23.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-io 27.0.0", + "sp-keystore 0.31.0", "sp-rpc", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-runtime 28.0.0", + "sp-state-machine 0.32.0", "sp-timestamp", "sp-transaction-storage-proof", "sp-version", - "sp-weights 20.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0)", + "sp-weights 24.0.0", "substrate-rpc-client", - "zstd 0.12.3+zstd.1.5.2", + "zstd 0.12.4", ] [[package]] @@ -12877,7 +13341,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9f214e8f697e925001e66ec2c6e37a4ef93f0f78c2eed7814394e10c62025b05" dependencies = [ "generic-array 0.14.7", - "subtle", + "subtle 2.4.1", ] [[package]] @@ -12887,7 +13351,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" dependencies = [ "crypto-common", - "subtle", + "subtle 2.4.1", ] [[package]] @@ -12972,7 +13436,7 @@ checksum = "bbc5ad0d9d26b2c49a5ab7da76c3e79d3ee37e7821799f8223fcb8f2f391a2e7" dependencies = [ "anyhow", "rustversion", - "time 0.3.23", + "time", ] [[package]] @@ -12987,6 +13451,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.8", + "sha3", + "thiserror", + "zeroize", +] + [[package]] name = "waitgroup" version = "0.1.2" @@ -13027,12 +13515,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" @@ -13060,7 +13542,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", "wasm-bindgen-shared", ] @@ -13116,7 +13598,7 @@ checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -13178,9 +13660,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", @@ -13194,9 +13676,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", @@ -13206,9 +13688,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", @@ -13469,7 +13951,7 @@ dependencies = [ "anyhow", "proc-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", "wasmtime-component-util", "wasmtime-wit-bindgen", "wit-parser 0.9.2", @@ -13793,7 +14275,7 @@ checksum = "39ca36fa6cad8ef885bc27d7d50c8b1cb7da0534251188a824f4953b07875703" dependencies = [ "proc-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -13911,7 +14393,7 @@ dependencies = [ "sha2 0.10.8", "stun", "thiserror", - "time 0.3.23", + "time", "tokio", "turn", "url", @@ -13973,7 +14455,7 @@ dependencies = [ "sha1", "sha2 0.10.8", "signature 1.6.4", - "subtle", + "subtle 2.4.1", "thiserror", "tokio", "webpki 0.21.4", @@ -14067,7 +14549,7 @@ dependencies = [ "rtcp", "rtp", "sha-1", - "subtle", + "subtle 2.4.1", "thiserror", "tokio", "webrtc-util", @@ -14238,6 +14720,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" @@ -14250,6 +14747,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" @@ -14268,6 +14771,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" @@ -14286,6 +14795,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" @@ -14304,6 +14819,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" @@ -14322,6 +14843,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" @@ -14334,6 +14861,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" @@ -14352,6 +14885,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.4.9" @@ -14361,6 +14900,15 @@ dependencies = [ "memchr", ] +[[package]] +name = "winnow" +version = "0.5.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7cf47b659b318dccbd69cc4797a39ae128f533dce7902a1096044d1967b9c16" +dependencies = [ + "memchr", +] + [[package]] name = "winreg" version = "0.10.1" @@ -14432,7 +14980,7 @@ checksum = "78cce32dd08007af45dbaa00e225eb73d05524096f93933d7ecba852d50d8af3" dependencies = [ "anyhow", "proc-macro2", - "syn 2.0.32", + "syn 2.0.43", "wit-bindgen-core", "wit-bindgen-rust", "wit-component", @@ -14572,7 +15120,7 @@ dependencies = [ "ring 0.16.20", "rusticata-macros", "thiserror", - "time 0.3.23", + "time", ] [[package]] @@ -14590,7 +15138,7 @@ dependencies = [ "oid-registry 0.6.1", "rusticata-macros", "thiserror", - "time 0.3.23", + "time", ] [[package]] @@ -14619,7 +15167,7 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd" dependencies = [ - "time 0.3.23", + "time", ] [[package]] @@ -14639,7 +15187,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.32", + "syn 2.0.43", ] [[package]] @@ -14653,9 +15201,9 @@ dependencies = [ [[package]] name = "zstd" -version = "0.12.3+zstd.1.5.2" +version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76eea132fb024e0e13fd9c2f5d5d595d8a967aa72382ac2f9d39fcc95afd0806" +checksum = "1a27595e173641171fc74a1232b7b1c7a7cb6e18222c11e9dfb9888fa424c53c" dependencies = [ "zstd-safe 6.0.5+zstd.1.5.4", ] diff --git a/crates/shared/Cargo.toml b/crates/shared/Cargo.toml index c70338100..c57fd2c3d 100644 --- a/crates/shared/Cargo.toml +++ b/crates/shared/Cargo.toml @@ -8,25 +8,18 @@ repository='https://github.com/entropyxyz/entropy-core' edition ='2021' [dependencies] -codec ={ package="parity-scale-codec", version="3.0.0", default-features=false } -scale-info ={ version='2.0.1', default-features=false, features=['derive'] } -serde ={ version="1.0", default-features=false, features=["derive"] } -serde_derive ="1.0.147" -sp-std ={ package="sp-std", git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0", default-features=false } -frame-support ={ package="frame-support", git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0", default-features=false, optional=true } -node-primitives={ version="2.0.0", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0", optional=true } -strum ="0.25.0" -strum_macros ="0.25.3" +codec ={ package="parity-scale-codec", version="3.0.0", default-features=false } +scale-info ={ version='2.0.1', default-features=false, features=['derive'] } +serde ={ version="1.0", default-features=false, features=["derive"] } +serde_derive="1.0.147" +strum ="0.25.0" +strum_macros="0.25.3" + +sp-runtime={ version="28.0.0", default-features=false, optional=true } +sp-std ={ version="12.0.0", default-features=false } [features] -default=["std"] -std=[ - "codec/std", - "scale-info/std", - "serde/std", - "sp-std/std", - "frame-support/std", - "dep:node-primitives", -] -wasm=["codec/std", "scale-info/std", "serde/std", "sp-std/std"] -wasm-no-std=["frame-support", "dep:node-primitives"] +default =["std"] +std =["codec/std", "scale-info/std", "serde/std", "sp-runtime/std", "sp-std/std"] +wasm =["codec/std", "scale-info/std", "serde/std", "sp-std/std"] +wasm-no-std=["sp-runtime"] diff --git a/crates/shared/src/types.rs b/crates/shared/src/types.rs index a8e1c7d76..79b17f7bc 100644 --- a/crates/shared/src/types.rs +++ b/crates/shared/src/types.rs @@ -1,5 +1,4 @@ // Copyright (C) 2023 Entropy Cryptography Inc. -// // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Software Foundation, either version 3 of the License, or @@ -17,13 +16,11 @@ #[cfg(not(feature = "wasm"))] use codec::alloc::vec::Vec; use codec::{Decode, Encode, MaxEncodedLen}; -#[cfg(feature = "wasm-no-std")] -use frame_support::RuntimeDebug; -#[cfg(not(feature = "wasm"))] -use node_primitives::BlockNumber; use scale_info::TypeInfo; #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; +#[cfg(feature = "wasm-no-std")] +use sp_runtime::RuntimeDebug; #[cfg(feature = "std")] use strum_macros::EnumIter; @@ -31,6 +28,10 @@ use strum_macros::EnumIter; /// interactions with the threshold server (eg distributing threshold shares). pub type X25519PublicKey = [u8; 32]; +/// This should match the type found in `entropy-runtime`. We define it ourselves manually here +/// since we don't want to pull that whole crate it just for a `u32`. +type BlockNumber = u32; + /// Defines an application's accessibility /// Public -> Anyone can request a signature /// Permissioned -> Only permissioned users can request a signature @@ -55,8 +56,8 @@ pub enum KeyVisibility { Eq, PartialEq, TypeInfo, - frame_support::Serialize, - frame_support::Deserialize, + sp_runtime::Serialize, + sp_runtime::Deserialize, )] pub struct ValidatorInfo { pub x25519_public_key: X25519PublicKey, @@ -84,8 +85,8 @@ pub struct OcwMessageDkg { Eq, PartialEq, TypeInfo, - frame_support::Serialize, - frame_support::Deserialize, + sp_runtime::Serialize, + sp_runtime::Deserialize, )] pub struct OcwMessageProactiveRefresh { pub validators_info: Vec, diff --git a/crates/test-cli/Cargo.toml b/crates/test-cli/Cargo.toml index 9aed92512..0253062fc 100644 --- a/crates/test-cli/Cargo.toml +++ b/crates/test-cli/Cargo.toml @@ -18,4 +18,4 @@ tokio ={ version="1.16", features=["macros", "rt-multi-thread", " hex ="0.4.3" bincode ="1.3.3" x25519-dalek ="2.0.0" -sp-runtime ={ version="24.0.0", default-features=false, git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0" } +sp-runtime ={ version="24.0.0", default-features=false } diff --git a/crates/threshold-signature-server/entropy_metadata.scale b/crates/threshold-signature-server/entropy_metadata.scale index e3783e1e5..74bae0350 100644 Binary files a/crates/threshold-signature-server/entropy_metadata.scale and b/crates/threshold-signature-server/entropy_metadata.scale differ diff --git a/node/cli/Cargo.toml b/node/cli/Cargo.toml index 3246da7f3..62783f754 100644 --- a/node/cli/Cargo.toml +++ b/node/cli/Cargo.toml @@ -16,207 +16,108 @@ targets=['x86_64-unknown-linux-gnu'] name='entropy' [dependencies] -jsonrpc-core ='18.0.0' -serde_json ='1.0.0' -log ="0.4.17" -lazy_static ={ version="1.4.0", features=["spin_no_std"] } -clap ={ version="4.0.9", features=["derive"], optional=true } -codec ={ package="parity-scale-codec", version="3.0.0" } -structopt ='0.3.8' -grandpa-primitives ={ version="4.0.0-dev", package="sp-consensus-grandpa", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -hex-literal ="0.3.1" -pallet-im-online ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -sc-chain-spec ={ version="4.0.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -serde ={ version="1.0.126", features=["derive"] } -sp-authority-discovery ={ version="4.0.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -sp-consensus-babe ={ version="0.10.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -node-primitives ={ version="2.0.0", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -rand ="0.7.2" -sc-sync-state-rpc ={ version="0.10.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -futures ="0.3.16" -sc-consensus-babe ={ version="0.10.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -sc-network ={ version="0.10.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -sc-network-common ={ version="0.10.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -sc-consensus-slots ={ version="0.10.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -grandpa ={ version="0.10.0-dev", package="sc-consensus-grandpa", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -sc-consensus-grandpa-rpc ={ version="0.10.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -sp-transaction-storage-proof ={ version="4.0.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -sc-authority-discovery ={ version="0.10.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -sc-consensus-babe-rpc ={ version="0.10.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -sc-consensus-epochs ={ version="0.10.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -sp-keystore ={ version="0.27.0", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -jsonrpsee ={ version="0.16.2", features=["server"] } -sp-inherents ={ version="4.0.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -sp-keyring ={ version="24.0.0", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -frame-system ={ version="4.0.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -frame-system-rpc-runtime-api ={ version="4.0.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -pallet-transaction-payment ={ version="4.0.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -pallet-staking-extension ={ version="0.0.9", path="../../pallets/staking" } -pallet-asset-conversion-tx-payment={ version="4.0.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -pallet-free-tx ={ version="0.0.9", path="../../pallets/free-tx" } -pallet-relayer ={ version="0.0.9", path="../../pallets/relayer" } -node-inspect ={ version="0.9.0-dev", optional=true, git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -substrate-frame-cli ={ version="4.0.0-dev", optional=true, git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -sc-sysinfo ={ version="6.0.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -substrate-state-trie-migration-rpc={ version="4.0.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -sc-cli ={ version="0.10.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0", optional=true } -sc-network-sync ={ version="0.10.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -sc-storage-monitor ={ version="0.1.0", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -pallet-asset-tx-payment ={ version="4.0.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -sc-offchain ={ version="4.0.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -entropy-shared ={ path="../../crates/shared", default-features=false, features=["wasm-no-std"] } + +# Third-party dependencies +clap ={ version="4.0.9", features=["derive"], optional=true } +codec ={ package="parity-scale-codec", version="3.0.0" } +futures ="0.3.16" +hex-literal ="0.3.1" +jsonrpc-core ='18.0.0' +jsonrpsee ={ version="0.16.2", features=["server"] } +lazy_static ={ version="1.4.0", features=["spin_no_std"] } +log ="0.4.17" +pallet-im-online={ version="24.0.0" } +rand ="0.7.2" +serde ={ version="1.0.126", features=["derive"] } +serde_json ='1.0.0' +structopt ='0.3.8' + +# Substrate Client + +grandpa ={ version="0.16.0", package="sc-consensus-grandpa" } +node-inspect ={ version="0.9.0", package="staging-node-inspect", optional=true } +sc-authority-discovery ={ version="0.31.0" } +sc-basic-authorship ={ version="0.31.0" } +sc-chain-spec ={ version="24.0.0" } +sc-cli ={ version="0.33.0", optional=true } +sc-client-api ={ version="25.0.0" } +sc-consensus ={ version="0.30.0" } +sc-consensus-babe ={ version="0.31.0" } +sc-consensus-babe-rpc ={ version="0.31.0" } +sc-consensus-epochs ={ version="0.30.0" } +sc-consensus-grandpa-rpc={ version="0.16.0" } +sc-consensus-slots ={ version="0.30.0" } +sc-executor ={ version="0.29.0" } +sc-network ={ version="0.31.0" } +sc-network-common ={ version="0.30.0" } +sc-network-sync ={ version="0.30.0" } +sc-offchain ={ version="26.0.0" } +sc-rpc ={ version="26.0.0" } +sc-rpc-api ={ version="0.30.0" } +sc-service ={ version="0.32.0" } +sc-storage-monitor ={ version="0.13.0" } +sc-sync-state-rpc ={ version="0.31.0" } +sc-sysinfo ={ version="24.0.0" } +sc-telemetry ={ version="12.0.0" } +sc-transaction-pool ={ version="25.0.0" } +sc-transaction-pool-api ={ version="25.0.0" } + +# Substrate Primitives +grandpa-primitives ={ version="10.0.0", package="sp-consensus-grandpa" } +sp-api ={ version="23.0.0" } +sp-authority-discovery ={ version="23.0.0" } +sp-block-builder ={ version="23.0.0" } +sp-blockchain ={ version="25.0.0" } +sp-consensus ={ version="0.29.0" } +sp-consensus-babe ={ version="0.29.0" } +sp-core ={ version="25.0.0" } +sp-inherents ={ version="23.0.0" } +sp-keyring ={ version="28.0.0" } +sp-keystore ={ version="0.31.0" } +sp-runtime ={ version="28.0.0" } +sp-timestamp ={ version="23.0.0" } +sp-transaction-storage-proof={ version="23.0.0" } +substrate-frame-rpc-system ={ version="25.0.0" } + +# FRAME Dependencies +frame-benchmarking ={ version="25.0.0" } +frame-benchmarking-cli ={ version="29.0.0", optional=true } +frame-system ={ version="25.0.0" } +frame-system-rpc-runtime-api={ version="23.0.0" } + +# Substrate Pallets +pallet-asset-conversion-tx-payment={ version="7.0.0" } +pallet-transaction-payment ={ version="25.0.0" } +pallet-transaction-payment-rpc ={ version="27.0.0" } + +# Entropy Dependencies +entropy-runtime ={ version="0.0.9", path="../../runtime" } +entropy-shared ={ path="../../crates/shared", default-features=false, features=["wasm-no-std"] } +pallet-free-tx ={ version="0.0.9", path="../../pallets/free-tx" } +pallet-relayer ={ version="0.0.9", path="../../pallets/relayer" } +pallet-staking-extension={ version="0.0.9", path="../../pallets/staking" } [build-dependencies] -clap ={ version="4.2.5", optional=true } -clap_complete ={ version="3.0", optional=true } -node-inspect ={ version="0.9.0-dev", optional=true, git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -substrate-build-script-utils={ version="3.0.0", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0", optional=true } -substrate-frame-cli ={ version="4.0.0-dev", optional=true, git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -try-runtime-cli ={ version="0.10.0-dev", optional=true, git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -sc-cli ={ version="0.10.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0", optional=true } -pallet-balances ={ version="4.0.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } +clap ={ version="4.2.5", optional=true } +clap_complete={ version="3.0", optional=true } + +pallet-balances ={ version="25.0.0" } +substrate-build-script-utils={ version="9.0.0" } +try-runtime-cli ={ version="0.35.0" } [dev-dependencies] tempfile ="3.1.0" -sp-tracing={ version="10.0.0", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } - -[dependencies.entropy-runtime] -path ='../../runtime' -version='0.0.9' - -[dependencies.frame-benchmarking] -git ='https://github.com/paritytech/substrate' -branch ="polkadot-v1.0.0" -version='4.0.0-dev' - -[dependencies.frame-benchmarking-cli] -git ='https://github.com/paritytech/substrate' -branch ="polkadot-v1.0.0" -version ='4.0.0-dev' -optional=true - -[dependencies.pallet-transaction-payment-rpc] -git ='https://github.com/paritytech/substrate' -branch ="polkadot-v1.0.0" -version='4.0.0-dev' - -[dependencies.sc-basic-authorship] -git ='https://github.com/paritytech/substrate' -branch ="polkadot-v1.0.0" -version='0.10.0-dev' - -[dependencies.sc-client-api] -git ='https://github.com/paritytech/substrate' -branch ="polkadot-v1.0.0" -version='4.0.0-dev' - -[dependencies.sc-consensus] -git ='https://github.com/paritytech/substrate' -branch ="polkadot-v1.0.0" -version='0.10.0-dev' - -[dependencies.sc-consensus-aura] -git ='https://github.com/paritytech/substrate' -branch ="polkadot-v1.0.0" -version='0.10.0-dev' - -[dependencies.sc-executor] -git ='https://github.com/paritytech/substrate' -branch ="polkadot-v1.0.0" -version='0.10.0-dev' - -[dependencies.sc-keystore] -git ='https://github.com/paritytech/substrate' -branch ="polkadot-v1.0.0" -version='4.0.0-dev' - -[dependencies.sc-rpc] -git ='https://github.com/paritytech/substrate' -branch ="polkadot-v1.0.0" -version='4.0.0-dev' - -[dependencies.sc-rpc-api] -git ='https://github.com/paritytech/substrate' -branch ="polkadot-v1.0.0" -version='0.10.0-dev' - -[dependencies.sc-service] -git ='https://github.com/paritytech/substrate' -branch ="polkadot-v1.0.0" -version='0.10.0-dev' - -[dependencies.sc-telemetry] -git ='https://github.com/paritytech/substrate' -branch ="polkadot-v1.0.0" -version='4.0.0-dev' - -[dependencies.sc-transaction-pool] -git ='https://github.com/paritytech/substrate' -branch ="polkadot-v1.0.0" -version='4.0.0-dev' - -[dependencies.sc-transaction-pool-api] -git ='https://github.com/paritytech/substrate' -branch ="polkadot-v1.0.0" -version='4.0.0-dev' - -[dependencies.sp-api] -git ='https://github.com/paritytech/substrate' -branch ="polkadot-v1.0.0" -version='4.0.0-dev' - -[dependencies.sp-block-builder] -git ='https://github.com/paritytech/substrate' -branch ="polkadot-v1.0.0" -version='4.0.0-dev' - -[dependencies.sp-blockchain] -git ='https://github.com/paritytech/substrate' -branch ="polkadot-v1.0.0" -version='4.0.0-dev' - -[dependencies.sp-consensus] -git ='https://github.com/paritytech/substrate' -branch ="polkadot-v1.0.0" -version='0.10.0-dev' - -[dependencies.sp-consensus-aura] -git ='https://github.com/paritytech/substrate' -branch ="polkadot-v1.0.0" -version='0.10.0-dev' - -[dependencies.sp-core] -git ='https://github.com/paritytech/substrate' -branch ="polkadot-v1.0.0" -version='21.0.0' - -[dependencies.sp-runtime] -git ='https://github.com/paritytech/substrate' -branch ="polkadot-v1.0.0" -version='24.0.0' - -[dependencies.sp-timestamp] -git ='https://github.com/paritytech/substrate' -branch ="polkadot-v1.0.0" -version='4.0.0-dev' - -[dependencies.substrate-frame-rpc-system] -git ='https://github.com/paritytech/substrate' -branch ="polkadot-v1.0.0" -version='4.0.0-dev' +sp-tracing={ version="14.0.0" } [features] default=["cli"] cli=[ + "clap", + "clap_complete", + "frame-benchmarking-cli", "node-inspect", "sc-cli", - "frame-benchmarking-cli", - "substrate-frame-cli", "sc-service/rocksdb", - "clap", - "clap_complete", - "substrate-build-script-utils", - "try-runtime-cli", ] runtime-benchmarks=[ "entropy-runtime/runtime-benchmarks", diff --git a/node/cli/src/benchmarking.rs b/node/cli/src/benchmarking.rs index 34eb46c43..a2d12cc34 100644 --- a/node/cli/src/benchmarking.rs +++ b/node/cli/src/benchmarking.rs @@ -32,8 +32,7 @@ use std::{sync::Arc, time::Duration}; -use entropy_runtime::{self as runtime, BalancesCall, SystemCall}; -use node_primitives::{AccountId, Balance}; +use entropy_runtime::{self as runtime, AccountId, Balance, BalancesCall, SystemCall}; use sc_cli::Result; use sc_client_api::BlockBackend; use sp_core::{Encode, Pair}; diff --git a/node/cli/src/chain_spec/dev.rs b/node/cli/src/chain_spec/dev.rs index f92423097..420ba593f 100644 --- a/node/cli/src/chain_spec/dev.rs +++ b/node/cli/src/chain_spec/dev.rs @@ -23,8 +23,8 @@ use entropy_runtime::{ StakerStatus, StakingConfig, StakingExtensionConfig, SudoConfig, SystemConfig, TechnicalCommitteeConfig, }; +use entropy_runtime::{AccountId, Balance}; use grandpa_primitives::AuthorityId as GrandpaId; -use node_primitives::{AccountId, Balance}; use pallet_im_online::sr25519::AuthorityId as ImOnlineId; use sc_service::ChainType; use sp_authority_discovery::AuthorityId as AuthorityDiscoveryId; diff --git a/node/cli/src/chain_spec/integration_tests.rs b/node/cli/src/chain_spec/integration_tests.rs index 13084c50c..6caad1dee 100644 --- a/node/cli/src/chain_spec/integration_tests.rs +++ b/node/cli/src/chain_spec/integration_tests.rs @@ -23,8 +23,8 @@ use entropy_runtime::{ StakerStatus, StakingConfig, StakingExtensionConfig, SudoConfig, SystemConfig, TechnicalCommitteeConfig, }; +use entropy_runtime::{AccountId, Balance}; use grandpa_primitives::AuthorityId as GrandpaId; -use node_primitives::{AccountId, Balance}; use pallet_im_online::sr25519::AuthorityId as ImOnlineId; use sc_service::ChainType; use sp_authority_discovery::AuthorityId as AuthorityDiscoveryId; diff --git a/node/cli/src/chain_spec/mod.rs b/node/cli/src/chain_spec/mod.rs index 743a90dd4..87407892e 100644 --- a/node/cli/src/chain_spec/mod.rs +++ b/node/cli/src/chain_spec/mod.rs @@ -35,8 +35,7 @@ pub mod dev; pub mod integration_tests; pub mod testnet; -pub use entropy_runtime::RuntimeGenesisConfig; -pub use node_primitives::{AccountId, Signature}; +pub use entropy_runtime::{AccountId, RuntimeGenesisConfig, Signature}; use entropy_runtime::{Block, SessionKeys}; use grandpa_primitives::AuthorityId as GrandpaId; diff --git a/node/cli/src/chain_spec/testnet.rs b/node/cli/src/chain_spec/testnet.rs index 8a95695cd..c1e20671c 100644 --- a/node/cli/src/chain_spec/testnet.rs +++ b/node/cli/src/chain_spec/testnet.rs @@ -23,9 +23,9 @@ use entropy_runtime::{ StakerStatus, StakingConfig, StakingExtensionConfig, SudoConfig, SystemConfig, TechnicalCommitteeConfig, }; +use entropy_runtime::{AccountId, Balance}; use grandpa_primitives::AuthorityId as GrandpaId; use hex_literal::hex; -use node_primitives::{AccountId, Balance}; use pallet_im_online::sr25519::AuthorityId as ImOnlineId; use sc_service::ChainType; use sc_telemetry::TelemetryEndpoints; diff --git a/node/cli/src/endowed_accounts.rs b/node/cli/src/endowed_accounts.rs index e8d6b6867..bd269754b 100644 --- a/node/cli/src/endowed_accounts.rs +++ b/node/cli/src/endowed_accounts.rs @@ -13,7 +13,7 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -pub use node_primitives::AccountId; +use entropy_runtime::AccountId; use sp_core::sr25519; use crate::chain_spec::get_account_id_from_seed; diff --git a/node/cli/src/rpc.rs b/node/cli/src/rpc.rs index 0ee5ac8bf..01900072f 100644 --- a/node/cli/src/rpc.rs +++ b/node/cli/src/rpc.rs @@ -50,7 +50,6 @@ use grandpa::{ FinalityProofProvider, GrandpaJustificationStream, SharedAuthoritySet, SharedVoterState, }; use jsonrpsee::RpcModule; -use node_primitives::{AccountId, Balance, Block, BlockNumber, Hash, Nonce}; use sc_client_api::AuxStore; use sc_consensus_babe::BabeWorkerHandle; use sc_rpc::SubscriptionTaskExecutor; @@ -63,6 +62,8 @@ use sp_consensus::SelectChain; use sp_consensus_babe::BabeApi; use sp_keystore::KeystorePtr; +use entropy_runtime::{opaque::Block, AccountId, Balance, BlockNumber, Hash, Nonce}; + /// Extra dependencies for BABE. pub struct BabeDeps { /// A handle to the BABE worker for issuing requests. diff --git a/node/cli/src/service.rs b/node/cli/src/service.rs index f2dc0b2bd..3f496ca7c 100644 --- a/node/cli/src/service.rs +++ b/node/cli/src/service.rs @@ -35,15 +35,15 @@ use std::sync::Arc; +use entropy_runtime::opaque::Block; use entropy_runtime::RuntimeApi; use frame_benchmarking_cli::SUBSTRATE_REFERENCE_HARDWARE; use futures::prelude::*; -use node_primitives::Block; use sc_client_api::{Backend, BlockBackend}; use sc_consensus_babe::{self, SlotProportion}; use sc_executor::NativeElseWasmExecutor; use sc_network::{event::Event, NetworkEventStream, NetworkService}; -use sc_network_common::sync::warp::WarpSyncParams; +use sc_network_sync::warp::WarpSyncParams; use sc_network_sync::SyncingService; use sc_offchain::OffchainDb; use sc_service::{config::Configuration, error::Error as ServiceError, RpcHandlers, TaskManager}; @@ -64,6 +64,10 @@ type FullGrandpaBlockImport = /// The transaction pool type defintion. pub type TransactionPool = sc_transaction_pool::FullPool; +/// The minimum period of blocks on which justifications will be +/// imported and generated. +const GRANDPA_JUSTIFICATION_PERIOD: u32 = 512; + // Our native executor instance. pub struct ExecutorDispatch; @@ -93,7 +97,7 @@ pub fn new_partial( FullClient, FullBackend, FullSelectChain, - sc_consensus::DefaultImportQueue, + sc_consensus::DefaultImportQueue, sc_transaction_pool::FullPool, ( impl Fn( @@ -149,6 +153,7 @@ pub fn new_partial( let (grandpa_block_import, grandpa_link) = grandpa::block_import( client.clone(), + GRANDPA_JUSTIFICATION_PERIOD, #[allow(clippy::redundant_clone)] &(client.clone() as Arc<_>), select_chain.clone(), @@ -163,8 +168,8 @@ pub fn new_partial( )?; let slot_duration = babe_link.config().slot_duration(); - let (import_queue, babe_worker_handle) = - sc_consensus_babe::import_queue(sc_consensus_babe::ImportQueueParams { + let (import_queue, babe_worker_handle) = sc_consensus_babe::import_queue( + sc_consensus_babe::ImportQueueParams { link: babe_link.clone(), block_import: block_import.clone(), justification_import: Some(Box::new(justification_import)), @@ -174,10 +179,10 @@ pub fn new_partial( let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); let slot = - sp_consensus_babe::inherents::InherentDataProvider::from_timestamp_and_slot_duration( - *timestamp, - slot_duration, - ); + sp_consensus_babe::inherents::InherentDataProvider::from_timestamp_and_slot_duration( + *timestamp, + slot_duration, + ); Ok((slot, timestamp)) }, @@ -185,7 +190,8 @@ pub fn new_partial( registry: config.prometheus_registry(), telemetry: telemetry.as_ref().map(|x| x.handle()), offchain_tx_pool_factory: OffchainTransactionPoolFactory::new(transaction_pool.clone()), - })?; + }, + )?; let import_setup = (block_import, grandpa_link, babe_link); @@ -319,6 +325,7 @@ pub fn new_full_base( import_queue, block_announce_validator_builder: None, warp_sync_params: Some(WarpSyncParams::WithProvider(warp_sync)), + block_relay: None, })?; if config.offchain_worker.enabled { @@ -430,10 +437,10 @@ pub fn new_full_base( let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); let slot = - sp_consensus_babe::inherents::InherentDataProvider::from_timestamp_and_slot_duration( - *timestamp, - slot_duration, - ); + sp_consensus_babe::inherents::InherentDataProvider::from_timestamp_and_slot_duration( + *timestamp, + slot_duration, + ); let storage_proof = sp_transaction_storage_proof::registration::new_data_provider( @@ -498,7 +505,7 @@ pub fn new_full_base( let config = grandpa::Config { // FIXME #1578 make this available through chainspec gossip_duration: std::time::Duration::from_millis(333), - justification_period: 512, + justification_generation_period: GRANDPA_JUSTIFICATION_PERIOD, name: Some(name), observer_enabled: false, keystore, diff --git a/pallets/free-tx/Cargo.toml b/pallets/free-tx/Cargo.toml index 650c51cb2..e3fa87e6d 100644 --- a/pallets/free-tx/Cargo.toml +++ b/pallets/free-tx/Cargo.toml @@ -9,31 +9,33 @@ edition ='2021' publish =false [dependencies] -codec ={ package="parity-scale-codec", version="3.6.3", default-features=false } -scale-info ={ version="2.1.1", default-features=false, features=["derive"] } -sp-runtime ={ git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0", default-features=false } -sp-staking ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -frame-benchmarking={ git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0", optional=true, default-features=false } -frame-support ={ git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0", default-features=false } -frame-system ={ git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0", default-features=false } -pallet-staking ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -sp-std ={ git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0", default-features=false } -log ={ version="0.4.0", default-features=false } +codec ={ package="parity-scale-codec", version="3.6.3", default-features=false } +scale-info={ version="2.1.1", default-features=false, features=["derive"] } +log ={ version="0.4.0", default-features=false } + +frame-benchmarking={ version="25.0.0", default-features=false, optional=true } +frame-support ={ version="25.0.0", default-features=false } +frame-system ={ version="25.0.0", default-features=false } +pallet-staking ={ version="25.0.0", default-features=false } +sp-runtime ={ version="28.0.0", default-features=false } +sp-staking ={ version="23.0.0", default-features=false } +sp-std ={ version="12.0.0", default-features=false } [dev-dependencies] -sp-core ={ version="21.0.0", git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0" } -sp-io ={ git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0" } -pallet-balances ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-session ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-timestamp ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-bags-list ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-staking-reward-curve ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -sp-npos-elections ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -frame-election-provider-support={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-staking-extension ={ version="0.0.9", default-features=false, path="../staking" } -pallet-relayer ={ version="0.0.9", default-features=false, path="../relayer" } -pallet-authorship ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -sp-tracing ={ version="10.0.0", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } +frame-election-provider-support={ version="25.0.0", default-features=false } +pallet-authorship ={ version="25.0.0", default-features=false } +pallet-bags-list ={ version="24.0.0", default-features=false } +pallet-balances ={ version="25.0.0", default-features=false } +pallet-session ={ version="25.0.0", default-features=false } +pallet-staking-reward-curve ={ version="10.0.0" } +pallet-timestamp ={ version="24.0.0", default-features=false } +sp-core ={ version="25.0.0", default-features=false } +sp-io ={ version="27.0.0", default-features=false } +sp-npos-elections ={ version="23.0.0", default-features=false } +sp-tracing ={ version="14.0.0", default-features=false } + +pallet-staking-extension={ version="0.0.9", path="../staking", default-features=false } +pallet-relayer ={ version="0.0.9", path="../relayer", default-features=false } [features] default=["std"] @@ -43,14 +45,15 @@ runtime-benchmarks=[ 'frame-system/runtime-benchmarks', ] std=[ - "scale-info/std", - "sp-runtime/std", "frame-support/std", "frame-system/std", - "sp-staking/std", - "pallet-staking/std", - 'pallet-staking-extension/std', - "pallet-balances/std", "log/std", + "pallet-balances/std", + "pallet-relayer/std", + "pallet-staking-extension/std", + "pallet-staking/std", + "scale-info/std", + "sp-runtime/std", + "sp-staking/std", ] try-runtime=["frame-support/try-runtime"] diff --git a/pallets/free-tx/src/lib.rs b/pallets/free-tx/src/lib.rs index e35eaf5f5..064b13ca9 100644 --- a/pallets/free-tx/src/lib.rs +++ b/pallets/free-tx/src/lib.rs @@ -36,14 +36,14 @@ pub mod weights; #[frame_support::pallet] pub mod pallet { use frame_support::{ - dispatch::{Dispatchable, GetDispatchInfo, PostDispatchInfo}, + dispatch::{GetDispatchInfo, PostDispatchInfo}, pallet_prelude::*, traits::IsSubType, }; use frame_system::{pallet_prelude::*, RawOrigin}; use scale_info::TypeInfo; use sp_runtime::{ - traits::{DispatchInfoOf, SignedExtension}, + traits::{DispatchInfoOf, Dispatchable, SignedExtension}, transaction_validity::{InvalidTransaction, TransactionValidityError}, }; use sp_staking::EraIndex; diff --git a/pallets/free-tx/src/mock.rs b/pallets/free-tx/src/mock.rs index cde13f423..af772dd8d 100644 --- a/pallets/free-tx/src/mock.rs +++ b/pallets/free-tx/src/mock.rs @@ -15,7 +15,10 @@ use core::convert::{TryFrom, TryInto}; -use frame_election_provider_support::{onchain, SequentialPhragmen, VoteWeight}; +use frame_election_provider_support::{ + bounds::{ElectionBounds, ElectionBoundsBuilder}, + onchain, SequentialPhragmen, VoteWeight, +}; use frame_support::{ ord_parameter_types, parameter_types, traits::{ConstU32, Get, Hooks, OneSessionHandler}, @@ -118,6 +121,7 @@ impl pallet_balances::Config for Test { type MaxReserves = (); type ReserveIdentifier = [u8; 8]; type RuntimeEvent = RuntimeEvent; + type RuntimeFreezeReason = RuntimeFreezeReason; type RuntimeHoldReason = RuntimeHoldReason; type WeightInfo = (); } @@ -158,14 +162,17 @@ sp_runtime::impl_opaque_keys! { } } +parameter_types! { + pub static ElectionsBounds: ElectionBounds = ElectionBoundsBuilder::default().build(); +} + pub struct OnChainSeqPhragmen; impl onchain::Config for OnChainSeqPhragmen { type DataProvider = FrameStaking; type MaxWinners = ConstU32<100>; type Solver = SequentialPhragmen; type System = Test; - type TargetsBound = ConstU32<{ u32::MAX }>; - type VotersBound = ConstU32<{ u32::MAX }>; + type Bounds = ElectionsBounds; type WeightInfo = (); } @@ -218,7 +225,6 @@ parameter_types! { pub const ElectionLookahead: u64 = 0; pub const StakingUnsignedPriority: u64 = u64::MAX / 2; pub const OffendingValidatorsThreshold: Perbill = Perbill::from_percent(17); - pub static MaxNominations: u32 = 16; } pub struct StakingBenchmarkingConfig; @@ -239,10 +245,10 @@ impl pallet_staking::Config for Test { type EventListeners = (); type GenesisElectionProvider = Self::ElectionProvider; type HistoryDepth = ConstU32<84>; - type MaxNominations = MaxNominations; type MaxNominatorRewardedPerValidator = ConstU32<64>; type MaxUnlockingChunks = ConstU32<32>; type NextNewSession = Session; + type NominationsQuota = pallet_staking::FixedNominationsQuota<16>; type OffendingValidatorsThreshold = OffendingValidatorsThreshold; type Reward = (); type RewardRemainder = (); diff --git a/pallets/programs/Cargo.toml b/pallets/programs/Cargo.toml index 568673e1b..b3bfd718a 100644 --- a/pallets/programs/Cargo.toml +++ b/pallets/programs/Cargo.toml @@ -11,61 +11,36 @@ publish =false [package.metadata.docs.rs] targets=['x86_64-unknown-linux-gnu'] -[dev-dependencies.sp-core] -default-features=false -git ='https://github.com/paritytech/substrate.git' -branch ="polkadot-v1.0.0" -version ='21.0.0' - -[dependencies.codec] -default-features=false -features =['derive'] -package ='parity-scale-codec' -version ='3.0.0' - -[dependencies.frame-benchmarking] -default-features=false -git ='https://github.com/paritytech/substrate.git' -branch ="polkadot-v1.0.0" -optional =true -version ='4.0.0-dev' - -[dependencies.frame-support] -default-features=false -git ='https://github.com/paritytech/substrate.git' -branch ="polkadot-v1.0.0" -version ='4.0.0-dev' - -[dependencies.frame-system] -default-features=false -git ='https://github.com/paritytech/substrate.git' -branch ="polkadot-v1.0.0" -version ='4.0.0-dev' - [dependencies] +codec ={ package="parity-scale-codec", version="3.6.3", default-features=false, features=["derive"] } +scale-info={ version="2.1", default-features=false, features=["derive"] } +log ={ version="0.4.0", default-features=false } + +frame-benchmarking={ version="25.0.0", default-features=false, optional=true } +frame-support ={ version="25.0.0", default-features=false } +frame-system ={ version="25.0.0", default-features=false } +sp-io ={ version="27.0.0", default-features=false } +sp-runtime ={ version="28.0.0", default-features=false } +sp-staking ={ version="23.0.0", default-features=false } +sp-std ={ version="12.0.0", default-features=false } -scale-info ={ version="2.0.1", default-features=false, features=["derive"] } -log ={ version="0.4.0", default-features=false } -sp-staking ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -sp-io ={ version="23.0.0", default-features=false, git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0" } -sp-runtime ={ version="24.0.0", default-features=false, git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0" } -sp-std ={ package="sp-std", git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0", default-features=false } entropy-shared={ path="../../crates/shared", default-features=false, features=["wasm-no-std"] } [dev-dependencies] -pallet-balances={ version="4.0.0-dev", git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0" } +pallet-balances={ version="25.0.0" } +sp-core ={ version="25.0.0", default-features=false } [features] default=['std'] runtime-benchmarks=['frame-benchmarking'] std=[ - 'codec/std', - 'log/std', "scale-info/std", - 'frame-support/std', - 'frame-system/std', - 'frame-benchmarking/std', "sp-io/std", "sp-runtime/std", + 'codec/std', + 'frame-benchmarking/std', + 'frame-support/std', + 'frame-system/std', + 'log/std', ] try-runtime=['frame-support/try-runtime'] diff --git a/pallets/programs/src/benchmarking.rs b/pallets/programs/src/benchmarking.rs index 36341bec4..fe34213dd 100644 --- a/pallets/programs/src/benchmarking.rs +++ b/pallets/programs/src/benchmarking.rs @@ -15,13 +15,14 @@ //! Benchmarking setup for pallet-propgation -use frame_benchmarking::{benchmarks, impl_benchmark_test_suite, vec, whitelisted_caller, Vec}; +use frame_benchmarking::{benchmarks, impl_benchmark_test_suite, whitelisted_caller}; use frame_support::{ traits::{Currency, Get}, BoundedVec, }; use frame_system::{EventRecord, RawOrigin}; use sp_runtime::{traits::Hash, Saturating}; +use sp_std::{vec, vec::Vec}; use super::*; #[allow(unused)] diff --git a/pallets/programs/src/lib.rs b/pallets/programs/src/lib.rs index 6aef0ca89..1b869e308 100644 --- a/pallets/programs/src/lib.rs +++ b/pallets/programs/src/lib.rs @@ -53,13 +53,12 @@ pub mod weights; pub mod pallet { use frame_support::{ - dispatch::Vec, pallet_prelude::*, traits::{Currency, ReservableCurrency}, }; use frame_system::{pallet_prelude::*, Config as SystemConfig}; use sp_runtime::{sp_std::str, traits::Hash, Saturating}; - use sp_std::vec; + use sp_std::{vec, vec::Vec}; pub use crate::weights::WeightInfo; diff --git a/pallets/programs/src/mock.rs b/pallets/programs/src/mock.rs index 8e63c49d5..61f36ca50 100644 --- a/pallets/programs/src/mock.rs +++ b/pallets/programs/src/mock.rs @@ -89,6 +89,7 @@ impl pallet_balances::Config for Test { type ReserveIdentifier = [u8; 8]; type RuntimeEvent = RuntimeEvent; type RuntimeHoldReason = RuntimeHoldReason; + type RuntimeFreezeReason = RuntimeFreezeReason; type WeightInfo = (); } diff --git a/pallets/propagation/Cargo.toml b/pallets/propagation/Cargo.toml index 47ade39d2..3df7ddaf4 100644 --- a/pallets/propagation/Cargo.toml +++ b/pallets/propagation/Cargo.toml @@ -11,80 +11,60 @@ publish =false [package.metadata.docs.rs] targets=['x86_64-unknown-linux-gnu'] -[dependencies.codec] -default-features=false -features =['derive'] -package ='parity-scale-codec' -version ='3.0.0' - -[dependencies.frame-benchmarking] -default-features=false -git ='https://github.com/paritytech/substrate.git' -branch ="polkadot-v1.0.0" -optional =true -version ='4.0.0-dev' - -[dependencies.frame-support] -default-features=false -git ='https://github.com/paritytech/substrate.git' -branch ="polkadot-v1.0.0" -version ='4.0.0-dev' - -[dependencies.frame-system] -default-features=false -git ='https://github.com/paritytech/substrate.git' -branch ="polkadot-v1.0.0" -version ='4.0.0-dev' - [dependencies] -pallet-authorship ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-relayer ={ version="0.0.9", default-features=false, path="../relayer" } -pallet-programs ={ version="0.0.9", default-features=false, path="../programs" } -pallet-staking-extension={ version="0.0.9", default-features=false, path="../staking" } +codec ={ package="parity-scale-codec", version="3.6.3", default-features=false, features=["derive"] } +lite-json ={ version="0.1", default-features=false } +log ={ version="0.4.0", default-features=false } +scale-info={ version="2.1", default-features=false, features=["derive"] } -scale-info ={ version="2.0.1", default-features=false, features=["derive"] } -log ={ version="0.4.0", default-features=false } -sp-staking ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -sp-io ={ version="23.0.0", default-features=false, git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0" } -lite-json ={ version="0.1", default-features=false } -sp-runtime ={ version="24.0.0", default-features=false, git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0" } -sp-core ={ version="21.0.0", default-features=false, git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0" } -entropy-shared ={ path="../../crates/shared", default-features=false, features=["wasm-no-std"] } -sp-application-crypto={ version="23.0.0", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } +frame-benchmarking ={ version="25.0.0", default-features=false, optional=true } +frame-support ={ version="25.0.0", default-features=false } +frame-system ={ version="25.0.0", default-features=false } +pallet-authorship ={ version="25.0.0", default-features=false } +sp-application-crypto={ version="27.0.0", default-features=false } +sp-core ={ version="25.0.0", default-features=false } +sp-io ={ version="27.0.0", default-features=false } +sp-runtime ={ version="28.0.0", default-features=false } +sp-staking ={ version="23.0.0", default-features=false } + +entropy-shared ={ path="../../crates/shared", default-features=false, features=["wasm-no-std"] } +pallet-relayer ={ version="0.0.9", path="../relayer", default-features=false } +pallet-programs ={ version="0.0.9", path="../programs", default-features=false } +pallet-staking-extension={ version="0.0.9", path="../staking", default-features=false } [dev-dependencies] -sp-keystore ={ version="0.27.0", git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0" } -parking_lot ="0.11.2" -pallet-staking ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -sp-staking ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-timestamp ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -frame-election-provider-support={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-balances ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-staking-reward-curve ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-session ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-babe ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -sp-npos-elections ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-bags-list ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } +parking_lot="0.11.2" + +frame-election-provider-support={ version="25.0.0", default-features=false } +pallet-babe ={ version="25.0.0", default-features=false } +pallet-bags-list ={ version="24.0.0", default-features=false } +pallet-balances ={ version="25.0.0", default-features=false } +pallet-session ={ version="25.0.0", default-features=false } +pallet-staking ={ version="25.0.0", default-features=false } +pallet-staking-reward-curve ={ version="10.0.0" } +pallet-timestamp ={ version="24.0.0", default-features=false } +sp-keystore ={ version="0.31.0" } +sp-npos-elections ={ version="23.0.0", default-features=false } [features] default=['std'] runtime-benchmarks=['frame-benchmarking'] std=[ - 'codec/std', - 'log/std', "scale-info/std", + "sp-application-crypto/std", + "sp-io/std", + "sp-npos-elections/std", + "sp-runtime/std", + 'codec/std', + 'frame-benchmarking/std', 'frame-support/std', 'frame-system/std', - 'frame-benchmarking/std', + 'log/std', 'pallet-authorship/std', - 'pallet-staking-extension/std', - 'pallet-programs/std', - 'pallet-balances/std', 'pallet-babe/std', + 'pallet-balances/std', + 'pallet-programs/std', 'pallet-relayer/std', - "sp-io/std", - "sp-runtime/std", - "sp-npos-elections/std", - "sp-application-crypto/std", + 'pallet-staking-extension/std', ] try-runtime=['frame-support/try-runtime'] diff --git a/pallets/propagation/src/lib.rs b/pallets/propagation/src/lib.rs index 13246354a..925337d2e 100644 --- a/pallets/propagation/src/lib.rs +++ b/pallets/propagation/src/lib.rs @@ -31,13 +31,12 @@ mod tests; pub mod pallet { use codec::Encode; use entropy_shared::{OcwMessageDkg, OcwMessageProactiveRefresh, ValidatorInfo}; - use frame_support::{dispatch::Vec, pallet_prelude::*, sp_runtime::traits::Saturating}; + use frame_support::{pallet_prelude::*, sp_runtime::traits::Saturating}; use frame_system::pallet_prelude::*; - use scale_info::prelude::vec; - use sp_core; use sp_runtime::{ offchain::{http, Duration}, - sp_std::str, + sp_std::vec, + sp_std::{str, vec::Vec}, }; #[pallet::config] diff --git a/pallets/propagation/src/mock.rs b/pallets/propagation/src/mock.rs index f5c94ce64..fc5b3011a 100644 --- a/pallets/propagation/src/mock.rs +++ b/pallets/propagation/src/mock.rs @@ -13,7 +13,10 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -use frame_election_provider_support::{onchain, SequentialPhragmen, VoteWeight}; +use frame_election_provider_support::{ + bounds::{ElectionBounds, ElectionBoundsBuilder}, + onchain, SequentialPhragmen, VoteWeight, +}; use frame_support::{ parameter_types, traits::{ConstU32, FindAuthor, OneSessionHandler}, @@ -116,6 +119,7 @@ impl pallet_balances::Config for Test { type ReserveIdentifier = [u8; 8]; type RuntimeEvent = RuntimeEvent; type RuntimeHoldReason = RuntimeHoldReason; + type RuntimeFreezeReason = RuntimeFreezeReason; type WeightInfo = (); } @@ -155,14 +159,17 @@ sp_runtime::impl_opaque_keys! { } } +parameter_types! { + pub static ElectionsBounds: ElectionBounds = ElectionBoundsBuilder::default().build(); +} + pub struct OnChainSeqPhragmen; impl onchain::Config for OnChainSeqPhragmen { type DataProvider = FrameStaking; type MaxWinners = ConstU32<100>; type Solver = SequentialPhragmen; type System = Test; - type TargetsBound = ConstU32<{ u32::MAX }>; - type VotersBound = ConstU32<{ u32::MAX }>; + type Bounds = ElectionsBounds; type WeightInfo = (); } @@ -236,10 +243,10 @@ impl pallet_staking::Config for Test { type EventListeners = (); type GenesisElectionProvider = Self::ElectionProvider; type HistoryDepth = ConstU32<84>; - type MaxNominations = MaxNominations; type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator; type MaxUnlockingChunks = ConstU32<32>; type NextNewSession = Session; + type NominationsQuota = pallet_staking::FixedNominationsQuota<16>; type OffendingValidatorsThreshold = OffendingValidatorsThreshold; type Reward = (); type RewardRemainder = (); diff --git a/pallets/relayer/Cargo.toml b/pallets/relayer/Cargo.toml index 9532d7b38..397b31cba 100644 --- a/pallets/relayer/Cargo.toml +++ b/pallets/relayer/Cargo.toml @@ -11,89 +11,50 @@ publish =false [package.metadata.docs.rs] targets=['x86_64-unknown-linux-gnu'] -[dependencies.codec] -default-features=false -features =['derive'] -package ='parity-scale-codec' -version ='3.0.0' - -[dependencies.frame-benchmarking] -default-features=false -git ='https://github.com/paritytech/substrate.git' -branch ="polkadot-v1.0.0" -optional =true -version ='4.0.0-dev' - -[dependencies.frame-support] -default-features=false -git ='https://github.com/paritytech/substrate.git' -branch ="polkadot-v1.0.0" -version ='4.0.0-dev' - -[dependencies.frame-system] -default-features=false -git ='https://github.com/paritytech/substrate.git' -branch ="polkadot-v1.0.0" -version ='4.0.0-dev' - -[dependencies.scale-info] -default-features=false -features =['derive'] -version ='2.0.1' - -[dependencies.sp-core] -default-features=false -git ='https://github.com/paritytech/substrate.git' -branch ="polkadot-v1.0.0" -version ='21.0.0' - -[dev-dependencies.sp-io] -default-features=false -git ='https://github.com/paritytech/substrate.git' -branch ="polkadot-v1.0.0" -version ='23.0.0' - -[dependencies.sp-runtime] -default-features=false -git ='https://github.com/paritytech/substrate.git' -branch ="polkadot-v1.0.0" -version ='24.0.0' - [dependencies] +codec ={ package="parity-scale-codec", version="3.6.3", default-features=false, features=["derive"] } +scale-info={ version="2.1", default-features=false, features=["derive"] } +log ={ version="0.4.0", default-features=false } + +frame-benchmarking={ version="25.0.0", default-features=false, optional=true } +frame-support ={ version="25.0.0", default-features=false } +frame-system ={ version="25.0.0", default-features=false } +pallet-authorship ={ version="25.0.0", default-features=false } +pallet-session ={ version="25.0.0", default-features=false } +pallet-staking ={ version="25.0.0", default-features=false } +sp-core ={ version="25.0.0", default-features=false } +sp-runtime ={ version="28.0.0", default-features=false } +sp-std ={ version="12.0.0", default-features=false } -entropy-shared ={ path="../../crates/shared", default-features=false, features=["wasm-no-std"] } -sp-std ={ package="sp-std", git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0", default-features=false } -pallet-authorship ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -log ={ version="0.4.0", default-features=false } +entropy-shared ={ path="../../crates/shared", features=["wasm-no-std"], default-features=false } pallet-programs ={ version="0.0.9", path="../programs", default-features=false } -pallet-session ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-staking ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-staking-extension={ version="0.0.9", default-features=false, path="../staking" } +pallet-staking-extension={ version="0.0.9", path="../staking", default-features=false } [dev-dependencies] -pallet-balances ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-timestamp ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-bags-list ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-staking-reward-curve ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -sp-staking ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -sp-npos-elections ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -frame-election-provider-support={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } +frame-election-provider-support={ version="25.0.0", default-features=false } +pallet-bags-list ={ version="24.0.0", default-features=false } +pallet-balances ={ version="25.0.0", default-features=false } +pallet-staking-reward-curve ={ version="10.0.0" } +pallet-timestamp ={ version="24.0.0", default-features=false } +sp-io ={ version="27.0.0", default-features=false } +sp-npos-elections ={ version="23.0.0", default-features=false } +sp-staking ={ version="23.0.0", default-features=false } [features] std=[ + "sp-npos-elections/std", + "sp-runtime/std", + "sp-std/std", 'codec/std', - 'log/std', - 'scale-info/std', + 'frame-benchmarking/std', 'frame-support/std', 'frame-system/std', - 'frame-benchmarking/std', + 'log/std', 'pallet-balances/std', 'pallet-programs/std', 'pallet-staking-extension/std', - "sp-std/std", - "sp-runtime/std", - "sp-npos-elections/std", + 'scale-info/std', ] default=['std'] runtime-benchmarks=[ diff --git a/pallets/relayer/src/benchmarking.rs b/pallets/relayer/src/benchmarking.rs index c4cb8fd6f..409bf4bb1 100644 --- a/pallets/relayer/src/benchmarking.rs +++ b/pallets/relayer/src/benchmarking.rs @@ -15,9 +15,7 @@ //! Benchmarking setup for pallet-propgation use entropy_shared::{KeyVisibility, SIGNING_PARTY_SIZE as SIG_PARTIES}; -use frame_benchmarking::{ - account, benchmarks, impl_benchmark_test_suite, vec, whitelisted_caller, Vec, -}; +use frame_benchmarking::{account, benchmarks, impl_benchmark_test_suite, whitelisted_caller}; use frame_support::{ traits::{Currency, Get}, BoundedVec, @@ -29,6 +27,7 @@ use pallet_staking_extension::{ ThresholdServers, ThresholdToStash, }; use sp_runtime::traits::Hash; +use sp_std::{vec, vec::Vec}; use super::*; #[allow(unused)] diff --git a/pallets/relayer/src/lib.rs b/pallets/relayer/src/lib.rs index bb4ef605e..2e72ad77e 100644 --- a/pallets/relayer/src/lib.rs +++ b/pallets/relayer/src/lib.rs @@ -55,7 +55,7 @@ pub mod weights; pub mod pallet { use entropy_shared::{KeyVisibility, SIGNING_PARTY_SIZE}; use frame_support::{ - dispatch::{DispatchResultWithPostInfo, Pays, Vec}, + dispatch::{DispatchResultWithPostInfo, Pays}, pallet_prelude::*, traits::{ConstU32, IsSubType}, }; @@ -63,7 +63,8 @@ pub mod pallet { use pallet_staking_extension::ServerInfo; use scale_info::TypeInfo; use sp_runtime::traits::{DispatchInfoOf, SignedExtension}; - use sp_std::{fmt::Debug, vec}; + use sp_std::vec; + use sp_std::{fmt::Debug, vec::Vec}; pub use crate::weights::WeightInfo; diff --git a/pallets/relayer/src/mock.rs b/pallets/relayer/src/mock.rs index 9be9322a6..b93e146de 100644 --- a/pallets/relayer/src/mock.rs +++ b/pallets/relayer/src/mock.rs @@ -13,7 +13,10 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -use frame_election_provider_support::{onchain, SequentialPhragmen, VoteWeight}; +use frame_election_provider_support::{ + bounds::{ElectionBounds, ElectionBoundsBuilder}, + onchain, SequentialPhragmen, VoteWeight, +}; use frame_support::{ parameter_types, traits::{ConstU32, FindAuthor, OneSessionHandler}, @@ -114,6 +117,7 @@ impl pallet_balances::Config for Test { type ReserveIdentifier = [u8; 8]; type RuntimeEvent = RuntimeEvent; type RuntimeHoldReason = RuntimeHoldReason; + type RuntimeFreezeReason = RuntimeFreezeReason; type WeightInfo = (); } @@ -153,14 +157,17 @@ sp_runtime::impl_opaque_keys! { } } +parameter_types! { + pub static ElectionsBounds: ElectionBounds = ElectionBoundsBuilder::default().build(); +} + pub struct OnChainSeqPhragmen; impl onchain::Config for OnChainSeqPhragmen { type DataProvider = FrameStaking; type MaxWinners = ConstU32<100>; type Solver = SequentialPhragmen; type System = Test; - type TargetsBound = ConstU32<{ u32::MAX }>; - type VotersBound = ConstU32<{ u32::MAX }>; + type Bounds = ElectionsBounds; type WeightInfo = (); } @@ -213,7 +220,6 @@ parameter_types! { pub const ElectionLookahead: u64 = 0; pub const StakingUnsignedPriority: u64 = u64::MAX / 2; pub const OffendingValidatorsThreshold: Perbill = Perbill::from_percent(17); - pub static MaxNominations: u32 = 16; } pub struct StakingBenchmarkingConfig; @@ -234,10 +240,10 @@ impl pallet_staking::Config for Test { type EventListeners = (); type GenesisElectionProvider = Self::ElectionProvider; type HistoryDepth = ConstU32<84>; - type MaxNominations = MaxNominations; type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator; type MaxUnlockingChunks = ConstU32<32>; type NextNewSession = Session; + type NominationsQuota = pallet_staking::FixedNominationsQuota<16>; type OffendingValidatorsThreshold = OffendingValidatorsThreshold; type Reward = (); type RewardRemainder = (); diff --git a/pallets/slashing/Cargo.toml b/pallets/slashing/Cargo.toml index a2ec48044..cc2dde79f 100644 --- a/pallets/slashing/Cargo.toml +++ b/pallets/slashing/Cargo.toml @@ -11,70 +11,47 @@ publish =false [package.metadata.docs.rs] targets=['x86_64-unknown-linux-gnu'] -[dev-dependencies.sp-core] -default-features=false -git ='https://github.com/paritytech/substrate.git' -branch ="polkadot-v1.0.0" -version ='21.0.0' - -[dependencies.codec] -default-features=false -features =['derive'] -package ='parity-scale-codec' -version ='3.0.0' - -[dependencies.frame-benchmarking] -default-features=false -git ='https://github.com/paritytech/substrate.git' -branch ="polkadot-v1.0.0" -optional =true -version ='4.0.0-dev' - -[dependencies.frame-support] -default-features=false -git ='https://github.com/paritytech/substrate.git' -branch ="polkadot-v1.0.0" -version ='4.0.0-dev' - -[dependencies.frame-system] -default-features=false -git ='https://github.com/paritytech/substrate.git' -branch ="polkadot-v1.0.0" -version ='4.0.0-dev' - [dependencies] -scale-info ={ version="2.0.1", default-features=false, features=["derive"] } -log ={ version="0.4.0", default-features=false } -sp-staking ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -sp-io ={ version="23.0.0", default-features=false, git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0" } -sp-runtime ={ version="24.0.0", default-features=false, git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0" } -sp-application-crypto={ version="23.0.0", default-features=false, git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0" } +codec ={ package="parity-scale-codec", version="3.6.3", default-features=false, features=["derive"] } +scale-info={ version="2.1", default-features=false, features=["derive"] } +log ={ version="0.4.0", default-features=false } + +frame-benchmarking ={ version="25.0.0", default-features=false, optional=true } +frame-support ={ version="25.0.0", default-features=false } +frame-system ={ version="25.0.0", default-features=false } +sp-application-crypto={ version="27.0.0", default-features=false } +sp-io ={ version="27.0.0", default-features=false } +sp-runtime ={ version="28.0.0", default-features=false } +sp-staking ={ version="23.0.0", default-features=false } +sp-std ={ version="12.0.0", default-features=false } [dev-dependencies] -pallet-session ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-staking-reward-curve ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -frame-election-provider-support={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-timestamp ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-staking ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-balances ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-bags-list ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -sp-npos-elections ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } +frame-election-provider-support={ version="25.0.0", default-features=false } +pallet-bags-list ={ version="24.0.0", default-features=false } +pallet-balances ={ version="25.0.0", default-features=false } +pallet-session ={ version="25.0.0", default-features=false } +pallet-staking ={ version="25.0.0", default-features=false } +pallet-staking-reward-curve ={ version="10.0.0", default-features=false } +pallet-timestamp ={ version="24.0.0", default-features=false } +sp-core ={ version="25.0.0", default-features=false } +sp-npos-elections ={ version="23.0.0", default-features=false } [features] default=['std'] runtime-benchmarks=['frame-benchmarking'] std=[ - 'codec/std', - 'log/std', + "pallet-balances/std", + "pallet-staking/std", "scale-info/std", "sp-application-crypto/std", - 'frame-support/std', - 'frame-system/std', - 'frame-benchmarking/std', "sp-io/std", - "sp-runtime/std", "sp-npos-elections/std", - "pallet-staking/std", - "pallet-balances/std", + "sp-runtime/std", + "sp-std/std", + 'codec/std', + 'frame-benchmarking/std', + 'frame-support/std', + 'frame-system/std', + 'log/std', ] try-runtime=['frame-support/try-runtime'] diff --git a/pallets/slashing/src/lib.rs b/pallets/slashing/src/lib.rs index 8c967ca20..c62a1df49 100644 --- a/pallets/slashing/src/lib.rs +++ b/pallets/slashing/src/lib.rs @@ -34,19 +34,20 @@ mod benchmarking; #[frame_support::pallet] pub mod pallet { use frame_support::{ - dispatch::{DispatchResult, Vec}, + dispatch::DispatchResult, pallet_prelude::*, sp_runtime::{Perbill, RuntimeDebug}, traits::{ValidatorSet, ValidatorSetWithIdentification}, }; use frame_system::pallet_prelude::*; - use scale_info::prelude::vec; use sp_application_crypto::RuntimeAppPublic; use sp_runtime::{sp_std::str, traits::Convert}; use sp_staking::{ offence::{Kind, Offence, ReportOffence}, SessionIndex, }; + use sp_std::vec; + use sp_std::vec::Vec; #[pallet::config] pub trait Config: frame_system::Config { diff --git a/pallets/slashing/src/mock.rs b/pallets/slashing/src/mock.rs index 9dc004ec8..a68533b70 100644 --- a/pallets/slashing/src/mock.rs +++ b/pallets/slashing/src/mock.rs @@ -15,7 +15,10 @@ use std::cell::RefCell; -use frame_election_provider_support::{onchain, SequentialPhragmen, VoteWeight}; +use frame_election_provider_support::{ + bounds::{ElectionBounds, ElectionBoundsBuilder}, + onchain, SequentialPhragmen, VoteWeight, +}; use frame_support::{ parameter_types, traits::{ConstU32, OneSessionHandler}, @@ -192,14 +195,17 @@ impl pallet_bags_list::Config for Test { type WeightInfo = (); } +parameter_types! { + pub static ElectionsBounds: ElectionBounds = ElectionBoundsBuilder::default().build(); +} + pub struct OnChainSeqPhragmen; impl onchain::Config for OnChainSeqPhragmen { type DataProvider = Staking; type MaxWinners = ConstU32<100>; type Solver = SequentialPhragmen; type System = Test; - type TargetsBound = ConstU32<{ u32::MAX }>; - type VotersBound = ConstU32<{ u32::MAX }>; + type Bounds = ElectionsBounds; type WeightInfo = (); } @@ -221,10 +227,10 @@ impl pallet_staking::Config for Test { type EventListeners = (); type GenesisElectionProvider = Self::ElectionProvider; type HistoryDepth = ConstU32<84>; - type MaxNominations = MaxNominations; type MaxNominatorRewardedPerValidator = ConstU32<64>; type MaxUnlockingChunks = ConstU32<32>; type NextNewSession = Session; + type NominationsQuota = pallet_staking::FixedNominationsQuota<16>; type OffendingValidatorsThreshold = OffendingValidatorsThreshold; type Reward = (); type RewardRemainder = (); @@ -256,6 +262,7 @@ impl pallet_balances::Config for Test { type ReserveIdentifier = [u8; 8]; type RuntimeEvent = RuntimeEvent; type RuntimeHoldReason = RuntimeHoldReason; + type RuntimeFreezeReason = RuntimeFreezeReason; type WeightInfo = (); } diff --git a/pallets/staking/Cargo.toml b/pallets/staking/Cargo.toml index 3d231544f..fa27d94a0 100644 --- a/pallets/staking/Cargo.toml +++ b/pallets/staking/Cargo.toml @@ -11,83 +11,50 @@ publish =false [package.metadata.docs.rs] targets=['x86_64-unknown-linux-gnu'] -[dependencies.codec] -default-features=false -features =['derive'] -package ='parity-scale-codec' -version ='3.2.1' - -[dependencies.frame-benchmarking] -default-features=false -git ='https://github.com/paritytech/substrate.git' -optional =true -branch ="polkadot-v1.0.0" - -[dependencies.frame-support] -default-features=false -git ='https://github.com/paritytech/substrate.git' -branch ="polkadot-v1.0.0" - -[dependencies.frame-system] -default-features=false -git ='https://github.com/paritytech/substrate.git' -branch ="polkadot-v1.0.0" - -[dependencies.scale-info] -default-features=false -features =['derive'] -version ='2.0.1' - -[dev-dependencies.sp-core] -default-features=false -git ='https://github.com/paritytech/substrate.git' -branch ="polkadot-v1.0.0" -version ="21.0.0" - -[dev-dependencies.sp-io] -default-features=false -git ='https://github.com/paritytech/substrate.git' -branch ="polkadot-v1.0.0" -version ="23.0.0" - [dependencies] -pallet-staking={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -sp-runtime ={ version="24.0.0", default-features=false, git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -sp-std ={ package="sp-std", git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0", default-features=false } -sp-core ={ version="21.0.0", package="sp-core", git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0", default-features=false } -log ={ version="0.4.0", default-features=false } -pallet-session={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -sp-staking ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -entropy-shared={ path="../../crates/shared", default-features=false, features=["wasm-no-std"] } -serde ={ version="1.0.147", default-features=false } +codec ={ package="parity-scale-codec", version="3.6.3", default-features=false, features=["derive"] } +scale-info={ version="2.1", default-features=false, features=["derive"] } +log ={ version="0.4.0", default-features=false } +serde ={ version="1.0.147", default-features=false } + +frame-benchmarking={ version="25.0.0", default-features=false, optional=true } +frame-support ={ version="25.0.0", default-features=false } +frame-system ={ version="25.0.0", default-features=false } +pallet-session ={ version="25.0.0", default-features=false } +pallet-staking ={ version="25.0.0", default-features=false } +sp-core ={ version="25.0.0", default-features=false } +sp-runtime ={ version="28.0.0", default-features=false } +sp-staking ={ version="23.0.0", default-features=false } +sp-std ={ version="12.0.0", default-features=false } + +entropy-shared={ path="../../crates/shared", features=["wasm-no-std"], default-features=false } [dev-dependencies] -pallet-balances ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -pallet-timestamp ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -frame-election-provider-support={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -pallet-session ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -sp-staking ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -pallet-staking-reward-curve ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -pallet-bags-list ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } -sp-npos-elections ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" } +frame-election-provider-support={ version="25.0.0", default-features=false } +pallet-bags-list ={ version="24.0.0", default-features=false } +pallet-balances ={ version="25.0.0", default-features=false } +pallet-staking-reward-curve ={ version="10.0.0" } +pallet-timestamp ={ version="24.0.0", default-features=false } +sp-io ={ version="27.0.0", default-features=false } +sp-npos-elections ={ version="23.0.0", default-features=false } [features] default=['std'] runtime-benchmarks=['frame-benchmarking'] std=[ + "sp-npos-elections/std", + "sp-staking/std", + "sp-std/std", 'codec/std', - 'scale-info/std', + 'frame-benchmarking/std', 'frame-support/std', 'frame-system/std', - 'sp-runtime/std', - "sp-std/std", - 'pallet-staking/std', - 'pallet-session/std', - 'pallet-balances/std', - 'frame-benchmarking/std', - "sp-npos-elections/std", - "sp-staking/std", 'log/std', + 'pallet-balances/std', + 'pallet-session/std', + 'pallet-staking/std', + 'scale-info/std', + 'sp-runtime/std', ] try-runtime=['frame-support/try-runtime'] diff --git a/pallets/staking/src/benchmarking.rs b/pallets/staking/src/benchmarking.rs index 9d9286e81..e85457405 100644 --- a/pallets/staking/src/benchmarking.rs +++ b/pallets/staking/src/benchmarking.rs @@ -15,9 +15,7 @@ //! Benchmarking setup for pallet-propgation #![allow(unused_imports)] -use frame_benchmarking::{ - account, benchmarks, impl_benchmark_test_suite, vec, whitelisted_caller, Vec, -}; +use frame_benchmarking::{account, benchmarks, impl_benchmark_test_suite, whitelisted_caller}; use frame_support::{ assert_ok, ensure, sp_runtime::traits::StaticLookup, @@ -25,6 +23,7 @@ use frame_support::{ }; use frame_system::{EventRecord, RawOrigin}; use pallet_staking::{Pallet as FrameStaking, RewardDestination, ValidatorPrefs}; +use sp_std::{vec, vec::Vec}; use super::*; #[allow(unused_imports)] diff --git a/pallets/staking/src/lib.rs b/pallets/staking/src/lib.rs index fa6063ea2..23d7b8f24 100644 --- a/pallets/staking/src/lib.rs +++ b/pallets/staking/src/lib.rs @@ -61,12 +61,11 @@ use crate as pallet_staking_extension; pub mod pallet { use entropy_shared::{ValidatorInfo, X25519PublicKey, SIGNING_PARTY_SIZE}; use frame_support::{ - dispatch::{DispatchResult, Vec}, - pallet_prelude::*, - traits::Currency, - DefaultNoBound, + dispatch::DispatchResult, pallet_prelude::*, traits::Currency, DefaultNoBound, }; use frame_system::pallet_prelude::*; + use sp_staking::StakingAccount; + use sp_std::vec::Vec; use super::*; @@ -255,8 +254,10 @@ pub mod pallet { Error::::EndpointTooLong ); - pallet_staking::Pallet::::ledger(&who).ok_or(Error::::NoBond)?; - let ledger = pallet_staking::Pallet::::ledger(&who).ok_or(Error::::NoBond)?; + pallet_staking::Pallet::::ledger(StakingAccount::Stash(who.clone())) + .map_err(|_| Error::::NoBond)?; + let ledger = pallet_staking::Pallet::::ledger(StakingAccount::Stash(who.clone())) + .map_err(|_| Error::::NoBond)?; let validator_id = ::ValidatorId::try_from(ledger.stash) .or(Err(Error::::InvalidValidatorId))?; @@ -309,14 +310,16 @@ pub mod pallet { num_slashing_spans: u32, ) -> DispatchResultWithPostInfo { let controller = ensure_signed(origin.clone())?; - let ledger = pallet_staking::Pallet::::ledger(&controller) - .ok_or(Error::::NoThresholdKey)?; + let ledger = + pallet_staking::Pallet::::ledger(StakingAccount::Controller(controller.clone())) + .map_err(|_| Error::::NoThresholdKey)?; let validator_id = ::ValidatorId::try_from(ledger.stash) .or(Err(Error::::InvalidValidatorId))?; pallet_staking::Pallet::::withdraw_unbonded(origin, num_slashing_spans)?; - if pallet_staking::Pallet::::ledger(&controller).is_none() { + + if pallet_staking::Pallet::::bonded(&controller).is_none() { let server_info = ThresholdServers::::take(&validator_id).ok_or(Error::::NoThresholdKey)?; ThresholdToStash::::remove(&server_info.tss_account); @@ -377,7 +380,8 @@ pub mod pallet { impl Pallet { pub fn get_stash(controller: &T::AccountId) -> Result { let ledger = - pallet_staking::Pallet::::ledger(controller).ok_or(Error::::NotController)?; + pallet_staking::Pallet::::ledger(StakingAccount::Controller(controller.clone())) + .map_err(|_| Error::::NotController)?; Ok(ledger.stash) } diff --git a/pallets/staking/src/mock.rs b/pallets/staking/src/mock.rs index 17b6f3ec6..91552a09c 100644 --- a/pallets/staking/src/mock.rs +++ b/pallets/staking/src/mock.rs @@ -16,7 +16,10 @@ use core::convert::{TryFrom, TryInto}; use std::cell::RefCell; -use frame_election_provider_support::{onchain, SequentialPhragmen, VoteWeight}; +use frame_election_provider_support::{ + bounds::{ElectionBounds, ElectionBoundsBuilder}, + onchain, SequentialPhragmen, VoteWeight, +}; use frame_support::{ parameter_types, traits::{ConstU32, Get, Hooks, OneSessionHandler}, @@ -127,6 +130,7 @@ impl pallet_balances::Config for Test { type ReserveIdentifier = [u8; 8]; type RuntimeEvent = RuntimeEvent; type RuntimeHoldReason = RuntimeHoldReason; + type RuntimeFreezeReason = RuntimeFreezeReason; type WeightInfo = (); } @@ -220,14 +224,17 @@ sp_runtime::impl_opaque_keys! { } } +parameter_types! { + pub static ElectionsBounds: ElectionBounds = ElectionBoundsBuilder::default().build(); +} + pub struct OnChainSeqPhragmen; impl onchain::Config for OnChainSeqPhragmen { type DataProvider = FrameStaking; type MaxWinners = ConstU32<100>; type Solver = SequentialPhragmen; type System = Test; - type TargetsBound = ConstU32<{ u32::MAX }>; - type VotersBound = ConstU32<{ u32::MAX }>; + type Bounds = ElectionsBounds; type WeightInfo = (); } @@ -280,7 +287,6 @@ parameter_types! { pub const ElectionLookahead: u64 = 0; pub const StakingUnsignedPriority: u64 = u64::MAX / 2; pub const OffendingValidatorsThreshold: Perbill = Perbill::from_percent(17); - pub static MaxNominations: u32 = 16; } pub struct StakingBenchmarkingConfig; @@ -301,10 +307,10 @@ impl pallet_staking::Config for Test { type EventListeners = (); type GenesisElectionProvider = Self::ElectionProvider; type HistoryDepth = ConstU32<84>; - type MaxNominations = MaxNominations; type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator; type MaxUnlockingChunks = ConstU32<32>; type NextNewSession = Session; + type NominationsQuota = pallet_staking::FixedNominationsQuota<16>; type OffendingValidatorsThreshold = OffendingValidatorsThreshold; type Reward = (); type RewardRemainder = (); @@ -356,7 +362,6 @@ impl pallet_staking_extension::Config for Test { type Currency = Balances; type MaxEndpointLength = MaxEndpointLength; type RuntimeEvent = RuntimeEvent; - // type ValidatorId = AccountId; type WeightInfo = (); } diff --git a/pallets/staking/src/tests.rs b/pallets/staking/src/tests.rs index bf6aedfc3..b5426a18a 100644 --- a/pallets/staking/src/tests.rs +++ b/pallets/staking/src/tests.rs @@ -166,7 +166,7 @@ fn it_deletes_when_no_bond_left() { lock = Balances::locks(2); assert_eq!(lock[0].amount, 100); assert_eq!(lock.len(), 1); - println!(":{:?}", FrameStaking::ledger(1)); + println!(":{:?}", FrameStaking::ledger(1.into())); MockSessionManager::new_session(0); assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(2), 0,)); diff --git a/pallets/transaction-pause/Cargo.toml b/pallets/transaction-pause/Cargo.toml index 60cb60317..e958a4af8 100644 --- a/pallets/transaction-pause/Cargo.toml +++ b/pallets/transaction-pause/Cargo.toml @@ -9,20 +9,23 @@ edition ='2021' publish =false [dependencies] -codec ={ package="parity-scale-codec", version="3.6.3", default-features=false } -scale-info ={ version="2.1", default-features=false, features=["derive"] } -sp-runtime ={ git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0", default-features=false } -frame-benchmarking={ git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0", optional=true, default-features=false } -frame-support ={ git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0", default-features=false } -frame-system ={ git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0", default-features=false } -sp-std ={ git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0", default-features=false } +codec ={ package="parity-scale-codec", version="3.6.3", default-features=false, features=["derive"] } +scale-info={ version="2.1", default-features=false, features=["derive"] } + +frame-benchmarking={ version="25.0.0", default-features=false, optional=true } +frame-support ={ version="25.0.0", default-features=false } +frame-system ={ version="25.0.0", default-features=false } +sp-runtime ={ version="28.0.0", default-features=false } +sp-std ={ version="12.0.0", default-features=false } [dev-dependencies] -pallet-balances={ git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0" } +smallvec="1.4.1" + +pallet-balances={ version="25.0.0" } +sp-core ={ version="25.0.0" } +sp-io ={ version="27.0.0" } + pallet-programs={ version="0.0.9", default-features=false, path="../programs" } -smallvec ="1.4.1" -sp-core ={ version="21.0.0", git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0" } -sp-io ={ git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0" } [features] default=["std"] @@ -32,11 +35,11 @@ runtime-benchmarks=[ 'frame-system/runtime-benchmarks', ] std=[ - "scale-info/std", - "sp-runtime/std", "frame-support/std", "frame-system/std", "pallet-programs/std", + "scale-info/std", + "sp-runtime/std", "sp-std/std", ] try-runtime=["frame-support/try-runtime"] diff --git a/pallets/transaction-pause/src/lib.rs b/pallets/transaction-pause/src/lib.rs index 01b68b8ac..137cf6f40 100644 --- a/pallets/transaction-pause/src/lib.rs +++ b/pallets/transaction-pause/src/lib.rs @@ -20,9 +20,8 @@ #![allow(clippy::unused_unit)] use frame_support::{ - dispatch::{CallMetadata, GetCallMetadata}, pallet_prelude::*, - traits::{Contains, PalletInfoAccess}, + traits::{CallMetadata, Contains, GetCallMetadata, PalletInfoAccess}, transactional, }; use frame_system::pallet_prelude::*; diff --git a/pallets/transaction-pause/src/mock.rs b/pallets/transaction-pause/src/mock.rs index 576376b32..8fdb35aab 100644 --- a/pallets/transaction-pause/src/mock.rs +++ b/pallets/transaction-pause/src/mock.rs @@ -77,6 +77,7 @@ impl pallet_balances::Config for Runtime { type ReserveIdentifier = [u8; 8]; type RuntimeEvent = RuntimeEvent; type RuntimeHoldReason = RuntimeHoldReason; + type RuntimeFreezeReason = RuntimeFreezeReason; type WeightInfo = (); } diff --git a/pallets/transaction-pause/src/tests.rs b/pallets/transaction-pause/src/tests.rs index 0393783c6..fe8f23894 100644 --- a/pallets/transaction-pause/src/tests.rs +++ b/pallets/transaction-pause/src/tests.rs @@ -27,7 +27,10 @@ use sp_runtime::traits::BadOrigin; use super::*; const BALANCE_TRANSFER: &::RuntimeCall = - &mock::RuntimeCall::Balances(pallet_balances::Call::transfer { dest: ALICE, value: 10 }); + &mock::RuntimeCall::Balances(pallet_balances::Call::transfer_allow_death { + dest: ALICE, + value: 10, + }); #[test] fn pause_transaction_work() { @@ -38,28 +41,34 @@ fn pause_transaction_work() { TransactionPause::pause_transaction( RuntimeOrigin::signed(5), b"Balances".to_vec(), - b"transfer".to_vec() + b"transfer_allow_death".to_vec() ), BadOrigin ); assert_eq!( - TransactionPause::paused_transactions((b"Balances".to_vec(), b"transfer".to_vec())), + TransactionPause::paused_transactions(( + b"Balances".to_vec(), + b"transfer_allow_death".to_vec() + )), None ); assert_ok!(TransactionPause::pause_transaction( RuntimeOrigin::signed(1), b"Balances".to_vec(), - b"transfer".to_vec() + b"transfer_allow_death".to_vec() )); System::assert_last_event(RuntimeEvent::TransactionPause( crate::Event::TransactionPaused { pallet_name_bytes: b"Balances".to_vec(), - function_name_bytes: b"transfer".to_vec(), + function_name_bytes: b"transfer_allow_death".to_vec(), }, )); assert_eq!( - TransactionPause::paused_transactions((b"Balances".to_vec(), b"transfer".to_vec())), + TransactionPause::paused_transactions(( + b"Balances".to_vec(), + b"transfer_allow_death".to_vec() + )), Some(()) ); @@ -95,10 +104,13 @@ fn unpause_transaction_work() { assert_ok!(TransactionPause::pause_transaction( RuntimeOrigin::signed(1), b"Balances".to_vec(), - b"transfer".to_vec() + b"transfer_allow_death".to_vec() )); assert_eq!( - TransactionPause::paused_transactions((b"Balances".to_vec(), b"transfer".to_vec())), + TransactionPause::paused_transactions(( + b"Balances".to_vec(), + b"transfer_allow_death".to_vec() + )), Some(()) ); @@ -106,7 +118,7 @@ fn unpause_transaction_work() { TransactionPause::unpause_transaction( RuntimeOrigin::signed(5), b"Balances".to_vec(), - b"transfer".to_vec() + b"transfer_allow_death".to_vec() ), BadOrigin ); @@ -114,16 +126,19 @@ fn unpause_transaction_work() { assert_ok!(TransactionPause::unpause_transaction( RuntimeOrigin::signed(1), b"Balances".to_vec(), - b"transfer".to_vec() + b"transfer_allow_death".to_vec() )); System::assert_last_event(RuntimeEvent::TransactionPause( crate::Event::TransactionUnpaused { pallet_name_bytes: b"Balances".to_vec(), - function_name_bytes: b"transfer".to_vec(), + function_name_bytes: b"transfer_allow_death".to_vec(), }, )); assert_eq!( - TransactionPause::paused_transactions((b"Balances".to_vec(), b"transfer".to_vec())), + TransactionPause::paused_transactions(( + b"Balances".to_vec(), + b"transfer_allow_death".to_vec() + )), None ); }); @@ -142,7 +157,7 @@ fn paused_transaction_filter_work() { assert_ok!(TransactionPause::pause_transaction( RuntimeOrigin::signed(1), b"Balances".to_vec(), - b"transfer".to_vec() + b"transfer_allow_death".to_vec() )); assert_ok!(TransactionPause::pause_transaction( RuntimeOrigin::signed(1), @@ -155,7 +170,7 @@ fn paused_transaction_filter_work() { assert_ok!(TransactionPause::unpause_transaction( RuntimeOrigin::signed(1), b"Balances".to_vec(), - b"transfer".to_vec() + b"transfer_allow_death".to_vec() )); assert_ok!(TransactionPause::unpause_transaction( RuntimeOrigin::signed(1), diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index aa2b85420..a066cfbd3 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -14,223 +14,218 @@ targets=["x86_64-unknown-linux-gnu"] [dependencies] -# third-party dependencies -codec={ package="parity-scale-codec", version="3.0.0", default-features=false, features=[ +# Third-party dependencies +codec={ package="parity-scale-codec", version="3.6.3", default-features=false, features=[ "derive", "max-encoded-len", ] } -scale-info={ version="2.0.1", default-features=false, features=["derive"] } -static_assertions="1.1.0" hex-literal={ version="0.3.4", optional=true } log={ version="0.4.14", default-features=false } +scale-info={ version="2.1", default-features=false, features=["derive"] } +static_assertions="1.1.0" -# primitives -sp-authority-discovery={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -sp-consensus-babe ={ version="0.10.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -sp-block-builder ={ git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0", default-features=false, version="4.0.0-dev" } -sp-inherents ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -node-primitives ={ version="2.0.0", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -sp-offchain ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -sp-core ={ version="21.0.0", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -sp-std ={ version="8.0.0", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -sp-api ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -sp-runtime ={ version="24.0.0", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -sp-staking ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -sp-keyring ={ version="24.0.0", optional=true, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -sp-session ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -sp-transaction-pool ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -sp-version ={ version="22.0.0", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -sp-npos-elections ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -sp-io ={ version="23.0.0", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } +# Substrate Primitives +sp-api ={ version="23.0.0", default-features=false } +sp-authority-discovery={ version="23.0.0", default-features=false } +sp-block-builder ={ version="23.0.0", default-features=false } +sp-consensus-babe ={ 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-keyring ={ version="28.0.0", default-features=false, optional=true } +sp-npos-elections ={ version="23.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-staking ={ version="23.0.0", default-features=false } +sp-std ={ version="12.0.0", default-features=false } +sp-storage ={ version="17.0.0", default-features=false, optional=true } +sp-transaction-pool ={ version="23.0.0", default-features=false } +sp-version ={ version="26.0.0", default-features=false } -# frame dependencies -frame-executive={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -frame-benchmarking={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0", optional=true } -frame-support={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -frame-system={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -frame-system-benchmarking={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0", optional=true } -frame-election-provider-support={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -frame-system-rpc-runtime-api={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -frame-try-runtime={ version="0.10.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0", optional=true } -pallet-assets={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-authority-discovery={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-authorship={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-babe={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-bags-list={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-balances={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-bounties={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-collective={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-conviction-voting={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-democracy={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-election-provider-multi-phase={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-election-provider-support-benchmarking={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0", optional=true } -pallet-elections-phragmen={ version="5.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-grandpa={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-im-online={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-indices={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-insecure-randomness-collective-flip={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-identity={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-lottery={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-membership={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-multisig={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-offences={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-offences-benchmarking={ version="4.0.0-dev", git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0", default-features=false, optional=true } -pallet-preimage={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-proxy={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-referenda={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-recovery={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-session={ version="4.0.0-dev", features=[ - "historical", -], git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0", default-features=false } -pallet-session-benchmarking={ version="4.0.0-dev", git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0", default-features=false, optional=true } -pallet-staking={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-staking-reward-curve={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-scheduler={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-society={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-sudo={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-timestamp={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-tips={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-treasury={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-utility={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-transaction-payment={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-transaction-payment-rpc-runtime-api={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-transaction-storage={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-nomination-pools={ version="1.0.0", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-nomination-pools-benchmarking={ version="1.0.0", default-features=false, optional=true, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-nomination-pools-runtime-api={ version="1.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } -pallet-vesting={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" } +# FRAME Dependencies +frame-benchmarking ={ version="25.0.0", default-features=false, optional=true } +frame-election-provider-support={ 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, optional=true } +frame-system-rpc-runtime-api ={ version="23.0.0", default-features=false } +frame-try-runtime ={ version="0.31.0", default-features=false, optional=true } -pallet-relayer ={ version='0.0.9', default-features=false, path='../pallets/relayer' } -pallet-slashing ={ version='0.0.9', default-features=false, path='../pallets/slashing' } -pallet-programs ={ version='0.0.9', default-features=false, path='../pallets/programs' } -pallet-staking-extension={ version='0.0.9', default-features=false, path='../pallets/staking' } -pallet-transaction-pause={ version='0.0.9', default-features=false, path='../pallets/transaction-pause' } -pallet-free-tx ={ version='0.0.9', default-features=false, path='../pallets/free-tx' } -pallet-propagation ={ version='0.0.9', default-features=false, path='../pallets/propagation' } +# Substrate Pallets +pallet-assets ={ version="26.0.0", default-features=false } +pallet-authority-discovery ={ version="25.0.0", default-features=false } +pallet-authorship ={ version="25.0.0", default-features=false } +pallet-babe ={ version="25.0.0", default-features=false } +pallet-bags-list ={ version="24.0.0", default-features=false } +pallet-balances ={ version="25.0.0", default-features=false } +pallet-bounties ={ version="24.0.0", default-features=false } +pallet-collective ={ version="25.0.0", default-features=false } +pallet-conviction-voting ={ version="25.0.0", default-features=false } +pallet-democracy ={ version="25.0.0", default-features=false } +pallet-election-provider-multi-phase ={ version="24.0.0", default-features=false } +pallet-election-provider-support-benchmarking={ version="24.0.0", default-features=false, optional=true } +pallet-elections-phragmen ={ version="26.0.0", default-features=false } +pallet-grandpa ={ version="25.0.0", default-features=false } +pallet-identity ={ version="25.0.0", default-features=false } +pallet-im-online ={ version="24.0.0", default-features=false } +pallet-indices ={ version="25.0.0", default-features=false } +pallet-membership ={ version="25.0.0", default-features=false } +pallet-multisig ={ version="25.0.0", default-features=false } +pallet-nomination-pools ={ version="22.0.0", default-features=false } +pallet-nomination-pools-benchmarking ={ version="23.0.0", default-features=false, optional=true } +pallet-nomination-pools-runtime-api ={ version="20.0.0", default-features=false } +pallet-offences ={ version="24.0.0", default-features=false } +pallet-offences-benchmarking ={ version="25.0.0", default-features=false, optional=true } +pallet-preimage ={ version="25.0.0", default-features=false } +pallet-proxy ={ version="25.0.0", default-features=false } +pallet-recovery ={ version="25.0.0", default-features=false } +pallet-referenda ={ version="25.0.0", default-features=false } +pallet-scheduler ={ version="26.0.0", default-features=false } +pallet-session-benchmarking ={ version="25.0.0", default-features=false, optional=true } +pallet-session ={ version="25.0.0", default-features=false, features=["historical"] } +pallet-staking ={ version="25.0.0", default-features=false } +pallet-staking-reward-curve ={ version="10.0.0", default-features=false } +pallet-sudo ={ version="25.0.0", default-features=false, optional=true } +pallet-timestamp ={ version="24.0.0", default-features=false } +pallet-tips ={ 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-transaction-storage ={ version="24.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 } + +# Entropy Pallets +pallet-free-tx ={ version='0.0.9', path='../pallets/free-tx', default-features=false } +pallet-programs ={ version='0.0.9', path='../pallets/programs', default-features=false } +pallet-propagation ={ version='0.0.9', path='../pallets/propagation', default-features=false } +pallet-relayer ={ version='0.0.9', path='../pallets/relayer', default-features=false } +pallet-slashing ={ version='0.0.9', path='../pallets/slashing', default-features=false } +pallet-staking-extension={ version='0.0.9', path='../pallets/staking', default-features=false } +pallet-transaction-pause={ version='0.0.9', path='../pallets/transaction-pause', default-features=false } entropy-shared={ path="../crates/shared", default-features=false, features=["wasm-no-std"] } [build-dependencies] -substrate-wasm-builder={ version="5.0.0-dev", git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0", optional=true } +substrate-wasm-builder={ version="14.0.0", optional=true } [features] default=["std"] with-tracing=["frame-executive/with-tracing"] std=[ - "sp-authority-discovery/std", + "codec/std", + "frame-benchmarking/std", + "frame-executive/std", + "frame-support/std", + "frame-system-rpc-runtime-api/std", + "frame-system/std", + "frame-try-runtime/std", + "log/std", "pallet-assets/std", "pallet-authority-discovery/std", "pallet-authorship/std", - "sp-consensus-babe/std", "pallet-babe/std", "pallet-bags-list/std", "pallet-balances/std", "pallet-bounties/std", - "sp-block-builder/std", - "codec/std", - "scale-info/std", "pallet-collective/std", - "pallet-programs/std", "pallet-conviction-voting/std", "pallet-democracy/std", + "pallet-election-provider-multi-phase/std", "pallet-elections-phragmen/std", - "frame-executive/std", + "pallet-free-tx/std", "pallet-grandpa/std", + "pallet-identity/std", "pallet-im-online/std", "pallet-indices/std", - "sp-inherents/std", - "pallet-relayer/std", - "pallet-lottery/std", "pallet-membership/std", "pallet-multisig/std", - "pallet-identity/std", - "pallet-propagation/std", - "pallet-scheduler/std", - "pallet-preimage/std", - "pallet-referenda/std", - "pallet-slashing/std", - "node-primitives/std", - "sp-offchain/std", + "pallet-nomination-pools-benchmarking?/std", + "pallet-nomination-pools-runtime-api/std", + "pallet-nomination-pools/std", "pallet-offences/std", + "pallet-preimage/std", + "pallet-programs/std", + "pallet-propagation/std", "pallet-proxy/std", - "sp-core/std", - "pallet-nomination-pools/std", - "pallet-nomination-pools-runtime-api/std", - "pallet-nomination-pools-benchmarking?/std", - "sp-std/std", + "pallet-recovery/std", + "pallet-referenda/std", + "pallet-relayer/std", + "pallet-scheduler/std", "pallet-session/std", - "sp-api/std", - "sp-runtime/std", - "sp-staking/std", - "pallet-staking/std", + "pallet-slashing/std", "pallet-staking-extension/std", - "sp-keyring", - "sp-session/std", + "pallet-staking/std", "pallet-sudo/std", - "frame-support/std", - "frame-benchmarking/std", - "frame-system-rpc-runtime-api/std", - "frame-system/std", - "pallet-election-provider-multi-phase/std", "pallet-timestamp/std", "pallet-tips/std", "pallet-transaction-pause/std", - "pallet-free-tx/std", "pallet-transaction-payment-rpc-runtime-api/std", "pallet-transaction-payment/std", "pallet-transaction-storage/std", "pallet-treasury/std", - "sp-transaction-pool/std", "pallet-utility/std", - "sp-version/std", - "pallet-society/std", - "pallet-recovery/std", "pallet-vesting/std", - "pallet-insecure-randomness-collective-flip/std", - "log/std", - "frame-try-runtime/std", - "sp-npos-elections/std", + "scale-info/std", + "sp-api/std", + "sp-authority-discovery/std", + "sp-block-builder/std", + "sp-consensus-babe/std", + "sp-core/std", + "sp-inherents/std", "sp-io/std", + "sp-keyring", + "sp-npos-elections/std", + "sp-offchain/std", + "sp-runtime/std", + "sp-session/std", + "sp-staking/std", + "sp-std/std", + "sp-transaction-pool/std", + "sp-version/std", "substrate-wasm-builder", ] runtime-benchmarks=[ "frame-benchmarking/runtime-benchmarks", "frame-election-provider-support/runtime-benchmarks", "frame-support/runtime-benchmarks", + "frame-system-benchmarking/runtime-benchmarks", "frame-system/runtime-benchmarks", - "pallet-election-provider-multi-phase/runtime-benchmarks", - "pallet-election-provider-support-benchmarking/runtime-benchmarks", - "sp-runtime/runtime-benchmarks", + "hex-literal", "pallet-assets/runtime-benchmarks", "pallet-babe/runtime-benchmarks", - "pallet-balances/runtime-benchmarks", "pallet-bags-list/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", "pallet-bounties/runtime-benchmarks", "pallet-collective/runtime-benchmarks", - "pallet-programs/runtime-benchmarks", - "pallet-nomination-pools-benchmarking/runtime-benchmarks", "pallet-conviction-voting/runtime-benchmarks", "pallet-democracy/runtime-benchmarks", + "pallet-election-provider-multi-phase/runtime-benchmarks", + "pallet-election-provider-support-benchmarking/runtime-benchmarks", "pallet-elections-phragmen/runtime-benchmarks", "pallet-free-tx/runtime-benchmarks", - "pallet-staking-extension/runtime-benchmarks", "pallet-grandpa/runtime-benchmarks", "pallet-identity/runtime-benchmarks", + "pallet-identity/runtime-benchmarks", "pallet-im-online/runtime-benchmarks", "pallet-indices/runtime-benchmarks", - "pallet-identity/runtime-benchmarks", - "pallet-lottery/runtime-benchmarks", "pallet-membership/runtime-benchmarks", "pallet-multisig/runtime-benchmarks", + "pallet-nomination-pools-benchmarking/runtime-benchmarks", + "pallet-offences-benchmarking/runtime-benchmarks", "pallet-preimage/runtime-benchmarks", + "pallet-programs/runtime-benchmarks", "pallet-proxy/runtime-benchmarks", - "pallet-referenda/runtime-benchmarks", "pallet-recovery/runtime-benchmarks", + "pallet-referenda/runtime-benchmarks", "pallet-relayer/runtime-benchmarks", - "pallet-sudo/runtime-benchmarks", "pallet-scheduler/runtime-benchmarks", - "pallet-society/runtime-benchmarks", + "pallet-session-benchmarking/runtime-benchmarks", + "pallet-staking-extension/runtime-benchmarks", "pallet-staking/runtime-benchmarks", + "pallet-sudo/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "pallet-tips/runtime-benchmarks", "pallet-transaction-pause/runtime-benchmarks", @@ -238,50 +233,46 @@ runtime-benchmarks=[ "pallet-treasury/runtime-benchmarks", "pallet-utility/runtime-benchmarks", "pallet-vesting/runtime-benchmarks", - "pallet-offences-benchmarking/runtime-benchmarks", - "pallet-session-benchmarking/runtime-benchmarks", - "frame-system-benchmarking/runtime-benchmarks", - "hex-literal", + "sp-runtime/runtime-benchmarks", + "sp-storage", ] try-runtime=[ "frame-executive/try-runtime", - "frame-try-runtime", "frame-system/try-runtime", + "frame-try-runtime", "pallet-assets/try-runtime", "pallet-authority-discovery/try-runtime", "pallet-authorship/try-runtime", "pallet-babe/try-runtime", - "pallet-nomination-pools/try-runtime", "pallet-balances/try-runtime", "pallet-bounties/try-runtime", "pallet-collective/try-runtime", "pallet-conviction-voting/try-runtime", "pallet-democracy/try-runtime", + "pallet-election-provider-multi-phase/try-runtime", "pallet-elections-phragmen/try-runtime", "pallet-free-tx/try-runtime", "pallet-grandpa/try-runtime", + "pallet-identity/try-runtime", "pallet-im-online/try-runtime", "pallet-indices/try-runtime", - "pallet-lottery/try-runtime", "pallet-membership/try-runtime", "pallet-multisig/try-runtime", - "pallet-identity/try-runtime", - "pallet-scheduler/try-runtime", + "pallet-nomination-pools/try-runtime", "pallet-offences/try-runtime", "pallet-preimage/try-runtime", - "pallet-proxy/try-runtime", "pallet-propagation/try-runtime", + "pallet-proxy/try-runtime", + "pallet-recovery/try-runtime", "pallet-referenda/try-runtime", + "pallet-scheduler/try-runtime", "pallet-session/try-runtime", "pallet-staking/try-runtime", "pallet-sudo/try-runtime", - "pallet-election-provider-multi-phase/try-runtime", "pallet-timestamp/try-runtime", "pallet-tips/try-runtime", "pallet-transaction-payment/try-runtime", "pallet-treasury/try-runtime", "pallet-utility/try-runtime", - "pallet-society/try-runtime", - "pallet-recovery/try-runtime", "pallet-vesting/try-runtime", ] diff --git a/runtime/src/constants.rs b/runtime/src/constants.rs index 7bf3a20fe..e929b202d 100644 --- a/runtime/src/constants.rs +++ b/runtime/src/constants.rs @@ -32,7 +32,7 @@ /// Money matters. pub mod currency { - use node_primitives::Balance; + use crate::Balance; pub const MILLICENTS: Balance = 1_000_000_000; pub const CENTS: Balance = 1_000 * MILLICENTS; // assume this is worth about a cent. @@ -45,7 +45,7 @@ pub mod currency { /// Time. pub mod time { - use node_primitives::{BlockNumber, Moment}; + use crate::{BlockNumber, Moment}; /// Since BABE is probabilistic this is the average expected block time that /// we are targeting. Blocks will be produced at a minimum duration defined diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 2956e388e..d031e23c0 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -39,16 +39,24 @@ use codec::{Decode, Encode, MaxEncodedLen}; use entropy_shared::SIGNING_PARTY_SIZE; use frame_election_provider_support::{ - onchain, BalancingConfig, ElectionDataProvider, ExtendedBalance, SequentialPhragmen, VoteWeight, + bounds::ElectionBoundsBuilder, generate_solution_type, onchain, BalancingConfig, + ElectionDataProvider, ExtendedBalance, NposSolution, SequentialPhragmen, VoteWeight, }; use frame_support::{ construct_runtime, dispatch::DispatchClass, pallet_prelude::Get, parameter_types, + sp_runtime::RuntimeDebug, traits::{ + fungible::HoldConsideration, + tokens::{ + nonfungibles_v2::Inspect, pay::PayAssetFromAccount, GetSalary, PayFromAccount, + UnityAssetBalanceConversion, + }, ConstU16, ConstU32, Contains, Currency, EitherOfDiverse, EqualPrivilegeOnly, Imbalance, - InstanceFilter, KeyOwnerProofSystem, LockIdentifier, OnUnbalanced, WithdrawReasons, + InstanceFilter, KeyOwnerProofSystem, LinearStoragePrice, LockIdentifier, OnUnbalanced, + WithdrawReasons, }, weights::{ constants::{ @@ -56,7 +64,7 @@ use frame_support::{ }, IdentityFee, Weight, }, - PalletId, RuntimeDebug, + PalletId, }; #[cfg(any(feature = "std", test))] pub use frame_system::Call as SystemCall; @@ -64,14 +72,14 @@ use frame_system::{ limits::{BlockLength, BlockWeights}, EnsureRoot, EnsureSigned, }; -pub use node_primitives::{AccountId, Signature}; -use node_primitives::{AccountIndex, Balance, BlockNumber, Hash, Moment, Nonce}; + #[cfg(any(feature = "std", test))] pub use pallet_balances::Call as BalancesCall; -use pallet_election_provider_multi_phase::SolutionAccuracyOf; +use pallet_election_provider_multi_phase::{GeometricDepositBase, SolutionAccuracyOf}; use pallet_grandpa::{ fg_primitives, AuthorityId as GrandpaId, AuthorityList as GrandpaAuthorityList, }; +use pallet_identity::simple::IdentityInfo; use pallet_im_online::sr25519::AuthorityId as ImOnlineId; use pallet_session::historical as pallet_session_historical; #[cfg(any(feature = "std", test))] @@ -112,6 +120,7 @@ mod weights; pub mod constants; use constants::{currency::*, time::*}; use sp_runtime::generic::Era; +use sp_runtime::traits::{IdentifyAccount, Verify}; // Make the WASM binary available. #[cfg(feature = "std")] @@ -127,6 +136,57 @@ pub fn wasm_binary_unwrap() -> &'static [u8] { ) } +/// An index to a block. +pub type BlockNumber = u32; + +/// Alias to 512-bit hash when used in the context of a transaction signature on the chain. +pub type Signature = sp_runtime::MultiSignature; + +/// Some way of identifying an account on the chain. We intentionally make it equivalent +/// to the public key of our transaction signing scheme. +pub type AccountId = <::Signer as IdentifyAccount>::AccountId; + +/// The type for looking up accounts. We don't expect more than 4 billion of them. +pub type AccountIndex = u32; + +/// Balance of an account. +pub type Balance = u128; + +/// Type used for expressing timestamp. +pub type Moment = u64; + +/// Index of a transaction in the chain. +pub type Nonce = u32; + +/// A hash of some data used by the chain. +pub type Hash = sp_core::H256; + +/// Opaque types. These are used by the CLI to instantiate machinery that don't need to know +/// the specifics of the runtime. They can then be made to be agnostic over specific formats +/// 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::*; + + 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; + + impl_opaque_keys! { + pub struct SessionKeys { + pub grandpa: Grandpa, + pub babe: Babe, + pub im_online: ImOnline, + pub authority_discovery: AuthorityDiscovery, + } + } +} + /// Runtime version. #[sp_version::runtime_version] pub const VERSION: RuntimeVersion = RuntimeVersion { @@ -294,8 +354,6 @@ impl frame_system::Config for Runtime { type Version = Version; } -impl pallet_insecure_randomness_collective_flip::Config for Runtime {} - impl pallet_utility::Config for Runtime { type PalletsOrigin = OriginCaller; type RuntimeCall = RuntimeCall; @@ -412,6 +470,7 @@ parameter_types! { pub const ExpectedBlockTime: Moment = MILLISECS_PER_BLOCK; pub const ReportLongevity: u64 = BondingDuration::get() as u64 * SessionsPerEra::get() as u64 * EpochDuration::get(); + } impl pallet_babe::Config for Runtime { @@ -424,6 +483,7 @@ impl pallet_babe::Config for Runtime { type KeyOwnerProof = >::Proof; type MaxAuthorities = MaxAuthorities; + type MaxNominators = MaxNominatorRewardedPerValidator; type WeightInfo = (); } @@ -463,14 +523,15 @@ impl pallet_balances::Config for Runtime { type Balance = Balance; type DustRemoval = (); type ExistentialDeposit = ExistentialDeposit; - type FreezeIdentifier = (); - type MaxFreezes = (); + type FreezeIdentifier = RuntimeFreezeReason; + type MaxFreezes = ConstU32<8>; type MaxHolds = ConstU32<2>; type MaxLocks = MaxLocks; type MaxReserves = MaxReserves; type ReserveIdentifier = [u8; 8]; type RuntimeEvent = RuntimeEvent; type RuntimeHoldReason = RuntimeHoldReason; + type RuntimeFreezeReason = RuntimeFreezeReason; type WeightInfo = weights::pallet_balances::WeightInfo; } @@ -578,8 +639,7 @@ impl onchain::Config for OnChainSeqPhragmen { pallet_election_provider_multi_phase::SolutionAccuracyOf, >; type System = Runtime; - type TargetsBound = MaxOnChainElectableTargets; - type VotersBound = MaxOnChainElectingVoters; + type Bounds = ElectionBounds; type WeightInfo = weights::frame_election_provider_support::WeightInfo; } @@ -590,7 +650,7 @@ impl pallet_election_provider_multi_phase::MinerConfig for Runtime { <::DataProvider as ElectionDataProvider>::MaxVotesPerVoter; type MaxWeight = MinerMaxWeight; type MaxWinners = MaxActiveValidators; - type Solution = NposSolution16; + type Solution = NposCompactSolution16; // The unsigned submissions have to respect the weight of the submit_unsigned call, thus their // weight estimate function is wired to this call's weight. @@ -625,7 +685,7 @@ impl pallet_staking::Config for Runtime { type EventListeners = NominationPools; type GenesisElectionProvider = onchain::OnChainExecution; type HistoryDepth = HistoryDepth; - type MaxNominations = MaxNominations; + type NominationsQuota = pallet_staking::FixedNominationsQuota<{ MaxNominations::get() }>; type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator; type MaxUnlockingChunks = ConstU32<32>; type NextNewSession = Session; @@ -662,7 +722,8 @@ parameter_types! { // signed config pub const SignedRewardBase: Balance = DOLLARS; - pub const SignedDepositBase: Balance = DOLLARS; + pub const SignedFixedDeposit: Balance = DOLLARS; + pub const SignedDepositIncreaseFactor: Percent = Percent::from_percent(10); pub const SignedDepositByte: Balance = CENTS; pub BetterUnsignedThreshold: Perbill = Perbill::from_rational(1u32, 10_000); @@ -680,25 +741,35 @@ parameter_types! { .get(DispatchClass::Normal); } -frame_election_provider_support::generate_solution_type!( - #[compact] - pub struct NposSolution16::< - VoterIndex = u32, - TargetIndex = u16, - Accuracy = sp_runtime::PerU16, - MaxVoters = MaxElectingVoters, - >(16) +generate_solution_type!( + #[compact] + pub struct NposCompactSolution16::< + VoterIndex = u32, + TargetIndex = u16, + Accuracy = sp_runtime::PerU16, + MaxVoters = MaxElectingVoters, + >(16) ); parameter_types! { - pub MaxNominations: u32 = ::LIMIT as u32; + // 16 + pub const MaxNominations: u32 = ::LIMIT as u32; + pub MaxElectingVoters: u32 = 10_000; pub MaxOnChainElectingVoters: u32 = 5000; pub MaxElectableTargets: u16 = 10_000; - pub MaxOnChainElectableTargets: u16 = 1250; - // The maximum winners that can be elected by the Election pallet which is equivalent to the - // maximum active validators the staking pallet can have. - pub MaxActiveValidators: u32 = 1000; + pub MaxOnChainElectableTargets: u16 = 1250; + + // The maximum winners that can be elected by the Election pallet which is equivalent to the + // maximum active validators the staking pallet can have. + pub MaxActiveValidators: u32 = 1000; + + /// We take the top 10_000 nominators as electing voters and all of the validators as electable + /// targets. Whilst this is the case, we cannot and shall not increase the size of the + /// validator intentions. + pub ElectionBounds: frame_election_provider_support::bounds::ElectionBounds = + ElectionBoundsBuilder::default().voters_count(MaxElectingVoters::get().into()).build(); + } /// The numbers configured here could always be more than the the maximum limits of staking pallet /// to ensure election snapshot will not run out of memory. For now, we set them to smaller values @@ -743,6 +814,7 @@ impl pallet_election_provider_multi_phase::Config for Runtime { type BenchmarkingConfig = ElectionProviderBenchmarkConfig; type BetterSignedThreshold = (); type BetterUnsignedThreshold = BetterUnsignedThreshold; + type ElectionBounds = ElectionBounds; type Currency = Balances; // nothing to do upon rewards type DataProvider = Staking; @@ -750,8 +822,6 @@ impl pallet_election_provider_multi_phase::Config for Runtime { type Fallback = onchain::OnChainExecution; type ForceOrigin = EnsureRootOrHalfCouncil; type GovernanceFallback = onchain::OnChainExecution; - type MaxElectableTargets = MaxElectableTargets; - type MaxElectingVoters = MaxElectingVoters; type MaxWinners = MaxActiveValidators; type MinerConfig = Self; type MinerTxPriority = MultiPhaseUnsignedPriority; @@ -759,7 +829,8 @@ impl pallet_election_provider_multi_phase::Config for Runtime { // burn slashes type RewardHandler = (); type RuntimeEvent = RuntimeEvent; - type SignedDepositBase = SignedDepositBase; + type SignedDepositBase = + GeometricDepositBase; type SignedDepositByte = SignedDepositByte; type SignedDepositWeight = (); type SignedMaxRefunds = ConstU32<3>; @@ -942,10 +1013,12 @@ parameter_types! { pub const TipCountdown: BlockNumber = DAYS; pub const TipFindersFee: Percent = Percent::from_percent(20); pub const TipReportDepositBase: Balance = DOLLARS; + pub const MaxTipAmount: Balance = 500 * DOLLARS; pub const DataDepositPerByte: Balance = CENTS; pub const BountyDepositBase: Balance = DOLLARS; pub const BountyDepositPayoutDelay: BlockNumber = DAYS; pub const TreasuryPalletId: PalletId = PalletId(*b"py/trsry"); + pub TreasuryAccount: AccountId = Treasury::account_id(); pub const BountyUpdatePeriod: BlockNumber = 14 * DAYS; pub const MaximumReasonLength: u32 = 16384; pub const BountyCuratorDeposit: Permill = Permill::from_percent(50); @@ -954,6 +1027,7 @@ parameter_types! { pub const CuratorDepositMultiplier: Permill = Permill::from_percent(50); pub const CuratorDepositMin: Balance = DOLLARS; pub const CuratorDepositMax: Balance = 100 * DOLLARS; + pub const SpendPayoutPeriod: BlockNumber = 30 * DAYS; } impl pallet_treasury::Config for Runtime { @@ -978,7 +1052,15 @@ impl pallet_treasury::Config for Runtime { type SpendFunds = Bounties; type SpendOrigin = frame_support::traits::NeverEnsureOrigin; type SpendPeriod = SpendPeriod; + type AssetKind = (); + type Beneficiary = AccountId; + type BeneficiaryLookup = Indices; + type BalanceConverter = UnityAssetBalanceConversion; + type Paymaster = PayFromAccount; + type PayoutPeriod = SpendPayoutPeriod; type WeightInfo = weights::pallet_treasury::WeightInfo; + #[cfg(feature = "runtime-benchmarks")] + type BenchmarkHelper = (); } impl pallet_bounties::Config for Runtime { @@ -999,6 +1081,7 @@ impl pallet_bounties::Config for Runtime { impl pallet_tips::Config for Runtime { type DataDepositPerByte = DataDepositPerByte; type MaximumReasonLength = MaximumReasonLength; + type MaxTipAmount = MaxTipAmount; type RuntimeEvent = RuntimeEvent; type TipCountdown = TipCountdown; type TipFindersFee = TipFindersFee; @@ -1026,15 +1109,19 @@ impl pallet_scheduler::Config for Runtime { } parameter_types! { - pub const PreimageMaxSize: u32 = 4096 * 1024; - pub const PreimageBaseDeposit: Balance = DOLLARS; - // One cent: $10,000 / MB - pub const PreimageByteDeposit: Balance = CENTS; + pub const PreimageBaseDeposit: Balance = deposit(2, 64); + pub const PreimageByteDeposit: Balance = deposit(0, 1); + pub const PreimageHoldReason: RuntimeHoldReason = + RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage); } impl pallet_preimage::Config for Runtime { - type BaseDeposit = PreimageBaseDeposit; - type ByteDeposit = PreimageByteDeposit; + type Consideration = HoldConsideration< + AccountId, + Balances, + PreimageHoldReason, + LinearStoragePrice, + >; type Currency = Balances; type ManagerOrigin = EnsureRoot; type RuntimeEvent = RuntimeEvent; @@ -1144,6 +1231,7 @@ impl pallet_grandpa::Config for Runtime { pallet_grandpa::EquivocationReportSystem; type KeyOwnerProof = >::Proof; type MaxAuthorities = MaxAuthorities; + type MaxNominators = MaxNominatorRewardedPerValidator; type MaxSetIdSessionEntries = MaxSetIdSessionEntries; type RuntimeEvent = RuntimeEvent; type WeightInfo = (); @@ -1161,6 +1249,7 @@ parameter_types! { impl pallet_identity::Config for Runtime { type BasicDeposit = BasicDeposit; type Currency = Balances; + type IdentityInformation = IdentityInfo; type FieldDeposit = FieldDeposit; type ForceOrigin = EnsureRootOrHalfCouncil; type MaxAdditionalFields = MaxAdditionalFields; @@ -1264,6 +1353,7 @@ impl pallet_nomination_pools::Config for Runtime { type MaxUnbonding = ConstU32<8>; type PalletId = NominationPoolsPalletId; type PostUnbondingPoolsWindow = PostUnbondPoolsWindow; + type RuntimeFreezeReason = RuntimeFreezeReason; type RewardCounter = FixedU128; type RuntimeEvent = RuntimeEvent; type Staking = Staking; @@ -1366,7 +1456,6 @@ construct_runtime!( AuthorityDiscovery: pallet_authority_discovery =34, Offences: pallet_offences = 35, Historical: pallet_session_historical = 36, - RandomnessCollectiveFlip: pallet_insecure_randomness_collective_flip = 37, Identity: pallet_identity = 38, Recovery: pallet_recovery = 40, @@ -1403,6 +1492,7 @@ pub type Block = generic::Block; pub type SignedBlock = generic::SignedBlock; /// BlockId type as expected by this runtime. pub type BlockId = generic::BlockId; + /// The SignedExtension to the basic transaction logic. /// /// When you change this, you **MUST** modify [`sign`] in `bin/node/testing/src/keyring.rs`! @@ -1717,7 +1807,8 @@ impl_runtime_apis! { fn dispatch_benchmark( config: frame_benchmarking::BenchmarkConfig ) -> Result, sp_runtime::RuntimeString> { - use frame_benchmarking::{baseline, Benchmarking, BenchmarkBatch, TrackedStorageKey}; + use frame_benchmarking::{baseline, Benchmarking, BenchmarkBatch}; + use sp_storage::TrackedStorageKey; // Trying to add benchmarks directly to the Session Pallet caused cyclic dependency // issues. To get around that, we separated the Session benchmarks into its own crate, diff --git a/runtime/src/weights/pallet_nomination_pools.rs b/runtime/src/weights/pallet_nomination_pools.rs index e6d26bd17..9446d12a8 100644 --- a/runtime/src/weights/pallet_nomination_pools.rs +++ b/runtime/src/weights/pallet_nomination_pools.rs @@ -75,20 +75,19 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// 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: `BagsList::ListNodes` (r:3 w:3) - /// Proof: `BagsList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) - /// Storage: `BagsList::ListBags` (r:2 w:2) - /// Proof: `BagsList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) + /// Storage: `VoterList::ListNodes` (r:3 w:3) + /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) + /// Storage: `VoterList::ListBags` (r:2 w:2) + /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) fn join() -> Weight { // Proof Size summary in bytes: - // Measured: `3426` + // Measured: `3388` // Estimated: `8877` - // Minimum execution time: 177_000_000 picoseconds. - Weight::from_parts(180_000_000, 0) - .saturating_add(Weight::from_parts(0, 8877)) - .saturating_add(T::DbWeight::get().reads(19)) - .saturating_add(T::DbWeight::get().writes(12)) + // Minimum execution time: 203_377_000 picoseconds. + Weight::from_parts(206_359_000, 8877) + .saturating_add(T::DbWeight::get().reads(19_u64)) + .saturating_add(T::DbWeight::get().writes(12_u64)) } /// Storage: `NominationPools::PoolMembers` (r:1 w:1) /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(237), added: 2712, mode: `MaxEncodedLen`) @@ -107,20 +106,19 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// 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: `BagsList::ListNodes` (r:3 w:3) - /// Proof: `BagsList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) - /// Storage: `BagsList::ListBags` (r:2 w:2) - /// Proof: `BagsList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) + /// Storage: `VoterList::ListNodes` (r:3 w:3) + /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) + /// Storage: `VoterList::ListBags` (r:2 w:2) + /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) fn bond_extra_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `3440` + // Measured: `3398` // Estimated: `8877` - // Minimum execution time: 173_000_000 picoseconds. - Weight::from_parts(177_000_000, 0) - .saturating_add(Weight::from_parts(0, 8877)) - .saturating_add(T::DbWeight::get().reads(16)) - .saturating_add(T::DbWeight::get().writes(12)) + // Minimum execution time: 199_792_000 picoseconds. + Weight::from_parts(206_871_000, 8877) + .saturating_add(T::DbWeight::get().reads(16_u64)) + .saturating_add(T::DbWeight::get().writes(12_u64)) } /// Storage: `NominationPools::ClaimPermissions` (r:1 w:0) /// Proof: `NominationPools::ClaimPermissions` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) @@ -141,20 +139,19 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// 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: `BagsList::ListNodes` (r:2 w:2) - /// Proof: `BagsList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) - /// Storage: `BagsList::ListBags` (r:2 w:2) - /// Proof: `BagsList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) + /// Storage: `VoterList::ListNodes` (r:3 w:3) + /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) + /// Storage: `VoterList::ListBags` (r:2 w:2) + /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) fn bond_extra_other() -> Weight { // Proof Size summary in bytes: - // Measured: `3348` - // Estimated: `8799` - // Minimum execution time: 206_000_000 picoseconds. - Weight::from_parts(214_000_000, 0) - .saturating_add(Weight::from_parts(0, 8799)) - .saturating_add(T::DbWeight::get().reads(16)) - .saturating_add(T::DbWeight::get().writes(12)) + // Measured: `3463` + // Estimated: `8877` + // Minimum execution time: 246_362_000 picoseconds. + Weight::from_parts(253_587_000, 8877) + .saturating_add(T::DbWeight::get().reads(17_u64)) + .saturating_add(T::DbWeight::get().writes(13_u64)) } /// Storage: `NominationPools::ClaimPermissions` (r:1 w:0) /// Proof: `NominationPools::ClaimPermissions` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) @@ -170,13 +167,12 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn claim_payout() -> Weight { // Proof Size summary in bytes: - // Measured: `1270` + // Measured: `1171` // Estimated: `3702` - // Minimum execution time: 73_000_000 picoseconds. - Weight::from_parts(74_000_000, 0) - .saturating_add(Weight::from_parts(0, 3702)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 81_115_000 picoseconds. + Weight::from_parts(83_604_000, 3702) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `NominationPools::PoolMembers` (r:1 w:1) /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(237), added: 2712, mode: `MaxEncodedLen`) @@ -201,24 +197,23 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// 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: `BagsList::ListNodes` (r:3 w:3) - /// Proof: `BagsList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) - /// Storage: `BagsList::ListBags` (r:2 w:2) - /// Proof: `BagsList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) + /// Storage: `VoterList::ListNodes` (r:3 w:3) + /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) + /// Storage: `VoterList::ListBags` (r:2 w:2) + /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) /// Storage: `NominationPools::SubPoolsStorage` (r:1 w:1) /// Proof: `NominationPools::SubPoolsStorage` (`max_values`: None, `max_size`: Some(24382), added: 26857, mode: `MaxEncodedLen`) /// Storage: `NominationPools::CounterForSubPoolsStorage` (r:1 w:1) /// Proof: `NominationPools::CounterForSubPoolsStorage` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn unbond() -> Weight { // Proof Size summary in bytes: - // Measured: `3705` + // Measured: `3674` // Estimated: `27847` - // Minimum execution time: 153_000_000 picoseconds. - Weight::from_parts(156_000_000, 0) - .saturating_add(Weight::from_parts(0, 27847)) - .saturating_add(T::DbWeight::get().reads(20)) - .saturating_add(T::DbWeight::get().writes(13)) + // Minimum execution time: 187_210_000 picoseconds. + Weight::from_parts(189_477_000, 27847) + .saturating_add(T::DbWeight::get().reads(20_u64)) + .saturating_add(T::DbWeight::get().writes(13_u64)) } /// Storage: `NominationPools::BondedPools` (r:1 w:0) /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`) @@ -231,19 +226,18 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// 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`) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 100]`. fn pool_withdraw_unbonded(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1807` + // Measured: `1743` // Estimated: `4764` - // Minimum execution time: 53_000_000 picoseconds. - Weight::from_parts(55_268_300, 0) - .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_782 - .saturating_add(Weight::from_parts(5_244, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 66_384_000 picoseconds. + Weight::from_parts(69_498_267, 4764) + // Standard Error: 2_566 + .saturating_add(Weight::from_parts(34_528, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `NominationPools::PoolMembers` (r:1 w:1) /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(237), added: 2712, mode: `MaxEncodedLen`) @@ -260,7 +254,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// 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`) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `NominationPools::CounterForPoolMembers` (r:1 w:1) @@ -270,15 +264,14 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_update(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2234` + // Measured: `2171` // Estimated: `27847` - // Minimum execution time: 120_000_000 picoseconds. - Weight::from_parts(124_078_093, 0) - .saturating_add(Weight::from_parts(0, 27847)) - // Standard Error: 2_352 - .saturating_add(Weight::from_parts(19_949, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().writes(8)) + // Minimum execution time: 137_474_000 picoseconds. + Weight::from_parts(142_341_215, 27847) + // Standard Error: 3_468 + .saturating_add(Weight::from_parts(66_597, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(10_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } /// Storage: `NominationPools::PoolMembers` (r:1 w:1) /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(237), added: 2712, mode: `MaxEncodedLen`) @@ -300,10 +293,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, 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) + /// Storage: `Balances::Locks` (r:2 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: `Balances::Freezes` (r:2 w:1) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) /// Storage: `NominationPools::CounterForPoolMembers` (r:1 w:1) /// Proof: `NominationPools::CounterForPoolMembers` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `NominationPools::ReversePoolIdLookup` (r:1 w:1) @@ -327,13 +320,12 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_kill(_s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2684` + // Measured: `2526` // Estimated: `27847` - // Minimum execution time: 212_000_000 picoseconds. - Weight::from_parts(218_656_997, 0) - .saturating_add(Weight::from_parts(0, 27847)) - .saturating_add(T::DbWeight::get().reads(21)) - .saturating_add(T::DbWeight::get().writes(18)) + // Minimum execution time: 249_135_000 picoseconds. + Weight::from_parts(263_632_571, 27847) + .saturating_add(T::DbWeight::get().reads(23_u64)) + .saturating_add(T::DbWeight::get().writes(19_u64)) } /// Storage: `NominationPools::LastPoolId` (r:1 w:1) /// Proof: `NominationPools::LastPoolId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -363,10 +355,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) /// Storage: `Staking::CurrentEra` (r:1 w:0) /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Balances::Locks` (r:1 w:1) + /// Storage: `Balances::Locks` (r:2 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: `Balances::Freezes` (r:2 w:1) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) /// Storage: `NominationPools::RewardPools` (r:1 w:1) /// Proof: `NominationPools::RewardPools` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) /// Storage: `NominationPools::CounterForRewardPools` (r:1 w:1) @@ -381,13 +373,12 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `1300` - // Estimated: `6196` - // Minimum execution time: 186_000_000 picoseconds. - Weight::from_parts(195_000_000, 0) - .saturating_add(Weight::from_parts(0, 6196)) - .saturating_add(T::DbWeight::get().reads(22)) - .saturating_add(T::DbWeight::get().writes(15)) + // Measured: `1289` + // Estimated: `8538` + // Minimum execution time: 214_207_000 picoseconds. + Weight::from_parts(221_588_000, 8538) + .saturating_add(T::DbWeight::get().reads(24_u64)) + .saturating_add(T::DbWeight::get().writes(16_u64)) } /// Storage: `NominationPools::BondedPools` (r:1 w:0) /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`) @@ -405,27 +396,26 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`) /// Storage: `Staking::CurrentEra` (r:1 w:0) /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `BagsList::ListNodes` (r:1 w:1) - /// Proof: `BagsList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) - /// Storage: `BagsList::ListBags` (r:1 w:1) - /// Proof: `BagsList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) - /// Storage: `BagsList::CounterForListNodes` (r:1 w:1) - /// Proof: `BagsList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `VoterList::ListNodes` (r:1 w:1) + /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) + /// Storage: `VoterList::ListBags` (r:1 w:1) + /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) + /// Storage: `VoterList::CounterForListNodes` (r:1 w:1) + /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Staking::CounterForNominators` (r:1 w:1) /// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 16]`. fn nominate(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2022` + // Measured: `1849` // Estimated: `4556 + n * (2520 ±0)` - // Minimum execution time: 59_000_000 picoseconds. - Weight::from_parts(58_865_865, 0) - .saturating_add(Weight::from_parts(0, 4556)) - // Standard Error: 10_322 - .saturating_add(Weight::from_parts(1_466_600, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(12)) + // Minimum execution time: 70_626_000 picoseconds. + Weight::from_parts(73_830_182, 4556) + // Standard Error: 24_496 + .saturating_add(Weight::from_parts(1_561_416, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes(5_u64)) .saturating_add(Weight::from_parts(0, 2520).saturating_mul(n.into())) } /// Storage: `NominationPools::BondedPools` (r:1 w:1) @@ -436,13 +426,12 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) fn set_state() -> Weight { // Proof Size summary in bytes: - // Measured: `1490` + // Measured: `1438` // Estimated: `4556` - // Minimum execution time: 29_000_000 picoseconds. - Weight::from_parts(30_000_000, 0) - .saturating_add(Weight::from_parts(0, 4556)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 36_542_000 picoseconds. + Weight::from_parts(37_644_000, 4556) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `NominationPools::BondedPools` (r:1 w:0) /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`) @@ -453,15 +442,14 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// The range of component `n` is `[1, 256]`. fn set_metadata(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `597` + // Measured: `531` // Estimated: `3735` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(12_077_007, 0) - .saturating_add(Weight::from_parts(0, 3735)) - // Standard Error: 258 - .saturating_add(Weight::from_parts(1_570, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 15_130_000 picoseconds. + Weight::from_parts(16_319_671, 3735) + // Standard Error: 351 + .saturating_add(Weight::from_parts(2_024, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `NominationPools::MinJoinBond` (r:0 w:1) /// Proof: `NominationPools::MinJoinBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) @@ -479,22 +467,20 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) - .saturating_add(Weight::from_parts(0, 0)) - .saturating_add(T::DbWeight::get().writes(6)) + // Minimum execution time: 6_819_000 picoseconds. + Weight::from_parts(7_253_000, 0) + .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: `NominationPools::BondedPools` (r:1 w:1) /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`) fn update_roles() -> Weight { // Proof Size summary in bytes: - // Measured: `597` + // Measured: `531` // Estimated: `3685` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) - .saturating_add(Weight::from_parts(0, 3685)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 19_596_000 picoseconds. + Weight::from_parts(20_828_000, 3685) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `NominationPools::BondedPools` (r:1 w:0) /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`) @@ -508,21 +494,20 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) /// Storage: `Staking::CounterForNominators` (r:1 w:1) /// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `BagsList::ListNodes` (r:1 w:1) - /// Proof: `BagsList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) - /// Storage: `BagsList::ListBags` (r:1 w:1) - /// Proof: `BagsList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) - /// Storage: `BagsList::CounterForListNodes` (r:1 w:1) - /// Proof: `BagsList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `VoterList::ListNodes` (r:1 w:1) + /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) + /// Storage: `VoterList::ListBags` (r:1 w:1) + /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) + /// Storage: `VoterList::CounterForListNodes` (r:1 w:1) + /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn chill() -> Weight { // Proof Size summary in bytes: - // Measured: `2191` + // Measured: `2012` // Estimated: `4556` - // Minimum execution time: 54_000_000 picoseconds. - Weight::from_parts(55_000_000, 0) - .saturating_add(Weight::from_parts(0, 4556)) - .saturating_add(T::DbWeight::get().reads(9)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 68_551_000 picoseconds. + Weight::from_parts(71_768_000, 4556) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `NominationPools::BondedPools` (r:1 w:1) /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`) @@ -534,13 +519,12 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn set_commission() -> Weight { // Proof Size summary in bytes: - // Measured: `836` + // Measured: `770` // Estimated: `3685` - // Minimum execution time: 27_000_000 picoseconds. - Weight::from_parts(28_000_000, 0) - .saturating_add(Weight::from_parts(0, 3685)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 36_128_000 picoseconds. + Weight::from_parts(38_547_000, 3685) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `NominationPools::BondedPools` (r:1 w:1) /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`) @@ -548,25 +532,23 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `NominationPools::GlobalMaxCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn set_commission_max() -> Weight { // Proof Size summary in bytes: - // Measured: `637` + // Measured: `571` // Estimated: `3685` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) - .saturating_add(Weight::from_parts(0, 3685)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 20_067_000 picoseconds. + Weight::from_parts(21_044_000, 3685) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `NominationPools::BondedPools` (r:1 w:1) /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`) fn set_commission_change_rate() -> Weight { // Proof Size summary in bytes: - // Measured: `597` + // Measured: `531` // Estimated: `3685` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) - .saturating_add(Weight::from_parts(0, 3685)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 19_186_000 picoseconds. + Weight::from_parts(20_189_000, 3685) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `NominationPools::PoolMembers` (r:1 w:0) /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(237), added: 2712, mode: `MaxEncodedLen`) @@ -574,13 +556,12 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `NominationPools::ClaimPermissions` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) fn set_claim_permission() -> Weight { // Proof Size summary in bytes: - // Measured: `608` + // Measured: `542` // Estimated: `3702` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(12_000_000, 0) - .saturating_add(Weight::from_parts(0, 3702)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 15_275_000 picoseconds. + Weight::from_parts(15_932_000, 3702) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `NominationPools::BondedPools` (r:1 w:0) /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`) @@ -592,12 +573,28 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn claim_commission() -> Weight { // Proof Size summary in bytes: - // Measured: `1067` + // Measured: `968` // Estimated: `3685` - // Minimum execution time: 60_000_000 picoseconds. - Weight::from_parts(61_000_000, 0) - .saturating_add(Weight::from_parts(0, 3685)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 67_931_000 picoseconds. + Weight::from_parts(72_202_000, 3685) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `NominationPools::BondedPools` (r:1 w:0) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:1) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(67), added: 2542, 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:0) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + fn adjust_pool_deposit() -> Weight { + // Proof Size summary in bytes: + // Measured: `900` + // Estimated: `4764` + // Minimum execution time: 72_783_000 picoseconds. + Weight::from_parts(75_841_000, 4764) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } } \ No newline at end of file diff --git a/runtime/src/weights/pallet_preimage.rs b/runtime/src/weights/pallet_preimage.rs index efa5d9f32..803a3b5f9 100644 --- a/runtime/src/weights/pallet_preimage.rs +++ b/runtime/src/weights/pallet_preimage.rs @@ -215,4 +215,25 @@ impl pallet_preimage::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } + /// Storage: `Preimage::StatusFor` (r:1024 w:1024) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:0 w:1024) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 1024]`. + fn ensure_updated(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `193 + n * (91 ±0)` + // Estimated: `3593 + n * (2566 ±0)` + // Minimum execution time: 2_452_000 picoseconds. + Weight::from_parts(2_641_000, 3593) + // Standard Error: 19_797 + .saturating_add(Weight::from_parts(15_620_946, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_parts(0, 2566).saturating_mul(n.into())) + } } diff --git a/runtime/src/weights/pallet_treasury.rs b/runtime/src/weights/pallet_treasury.rs index 6c849193b..3068e38e4 100644 --- a/runtime/src/weights/pallet_treasury.rs +++ b/runtime/src/weights/pallet_treasury.rs @@ -58,6 +58,60 @@ impl pallet_treasury::WeightInfo for WeightInfo { Weight::from_parts(0, 0) .saturating_add(Weight::from_parts(0, 0)) } + /// 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: `76` + // Estimated: `1887` + // Minimum execution time: 179_000_000 picoseconds. + Weight::from_parts(190_000_000, 1887) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: Treasury Spends (r:1 w:1) + /// Proof: Treasury Spends (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen) + /// Storage: Assets Asset (r:1 w:1) + /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) + /// Storage: Assets Account (r:2 w:2) + /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + fn payout() -> Weight { + // Proof Size summary in bytes: + // Measured: `705` + // Estimated: `6208` + // Minimum execution time: 760_000_000 picoseconds. + Weight::from_parts(822_000_000, 6208) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) + } + /// Storage: Treasury Spends (r:1 w:1) + /// Proof: Treasury Spends (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen) + fn check_status() -> Weight { + // Proof Size summary in bytes: + // Measured: `194` + // Estimated: `3534` + // Minimum execution time: 153_000_000 picoseconds. + Weight::from_parts(160_000_000, 3534) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: Treasury Spends (r:1 w:1) + /// Proof: Treasury Spends (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen) + fn void_spend() -> Weight { + // Proof Size summary in bytes: + // Measured: `194` + // Estimated: `3534` + // Minimum execution time: 147_000_000 picoseconds. + Weight::from_parts(181_000_000, 3534) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } /// 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)