diff --git a/.github/workflows/check-and-test.yml b/.github/workflows/check-and-test.yml index 0f8cc5a0..85a0fb98 100644 --- a/.github/workflows/check-and-test.yml +++ b/.github/workflows/check-and-test.yml @@ -63,7 +63,7 @@ jobs: if: steps.check.outputs.pallets != '' with: issue-number: ${{ github.event.pull_request.number }} - comment-author: 'github-actions[bot]' + comment-author: "github-actions[bot]" body-includes: This PR updates the following pallets - name: Create comment uses: peter-evans/create-or-update-comment@v4 @@ -92,6 +92,7 @@ jobs: rustup toolchain install ${{ needs.get-version.outputs.toolchain }} rustup target add wasm32-unknown-unknown --toolchain ${{ needs.get-version.outputs.toolchain }} rustup component add rust-src + cargo update - name: install protobuf compiler run: sudo apt-get install protobuf-compiler - name: Install sccache diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f08a3050..2ffd58df 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -71,6 +71,7 @@ jobs: rustup target add ${{ matrix.architectures.target-tupl }} --toolchain ${{ needs.get-version.outputs.toolchain }} rustup target add wasm32-unknown-unknown --toolchain ${{ needs.get-version.outputs.toolchain }} rustup component add rust-src + cargo update - name: install deps run: sudo apt-get update && sudo apt-get install ${{ matrix.architectures.dependencies }} - name: Install sccache @@ -124,7 +125,7 @@ jobs: name: sqnc-node-${{ matrix.architectures.arch }} path: | ./target/${{ matrix.architectures.target-tupl }}/production/sqnc-node - ./target/${{ matrix.architectures.target-tupl }}/production/wbuild/sqnc-node-runtime/sqnc_node_runtime.compact.wasm + ./target/${{ matrix.architectures.target-tupl }}/production/wbuild/sqnc-runtime/sqnc_runtime.compact.wasm build-release: name: Build release @@ -150,16 +151,16 @@ jobs: ls -R . pushd ./x86_64 echo $BUILD_VERSION | tee ./VERSION.txt - mv ./wbuild/sqnc-node-runtime/sqnc_node_runtime.compact.wasm ./sqnc_node_runtime.compact.wasm + mv ./wbuild/sqnc-runtime/sqnc_runtime.compact.wasm ./sqnc_runtime.compact.wasm chmod +x ./sqnc-node shasum -a 256 ./sqnc-node | cut -d ' ' -f 1 | tee ./sqnc-node.sha256 - shasum -a 256 ./sqnc_node_runtime.compact.wasm | cut -d ' ' -f 1 | tee ./sqnc_node_runtime.compact.wasm.sha256 + shasum -a 256 ./sqnc_runtime.compact.wasm | cut -d ' ' -f 1 | tee ./sqnc_runtime.compact.wasm.sha256 tar -czvf ../sqnc-node-${BUILD_VERSION}-x86_64-unknown-linux-gnu.tar.gz ./VERSION.txt ./sqnc-node ./sqnc-node.sha256 - tar -czvf ../sqnc-node-${BUILD_VERSION}-runtime-wasm.tar.gz ./VERSION.txt ./sqnc_node_runtime.compact.wasm ./sqnc_node_runtime.compact.wasm.sha256 + tar -czvf ../sqnc-node-${BUILD_VERSION}-runtime-wasm.tar.gz ./VERSION.txt ./sqnc_runtime.compact.wasm ./sqnc_runtime.compact.wasm.sha256 popd; pushd ./aarch64 echo $BUILD_VERSION | tee ./VERSION.txt - mv ./wbuild/sqnc-node-runtime/sqnc_node_runtime.compact.wasm ./sqnc_node_runtime.compact.wasm + mv ./wbuild/sqnc-runtime/sqnc_runtime.compact.wasm ./sqnc_runtime.compact.wasm chmod +x ./sqnc-node shasum -a 256 ./sqnc-node | cut -d ' ' -f 1 | tee ./sqnc-node.sha256 tar -czvf ../sqnc-node-${BUILD_VERSION}-aarch64-unknown-linux-gnu.tar.gz ./VERSION.txt ./sqnc-node ./sqnc-node.sha256 diff --git a/Cargo.lock b/Cargo.lock index b889f154..9efc8b01 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -197,20 +197,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "aquamarine" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1da02abba9f9063d786eab1509833ebb2fac0f966862ca59439c76b9c566760" -dependencies = [ - "include_dir", - "itertools 0.10.5", - "proc-macro-error", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "aquamarine" version = "0.5.0" @@ -542,8 +528,24 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f6fd5ddaf0351dff5b8da21b2fb4ff8e08ddd02857f0bf69c47639106c0fff0" dependencies = [ - "asn1-rs-derive", - "asn1-rs-impl", + "asn1-rs-derive 0.4.0", + "asn1-rs-impl 0.1.0", + "displaydoc", + "nom", + "num-traits", + "rusticata-macros", + "thiserror", + "time", +] + +[[package]] +name = "asn1-rs" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5493c3bedbacf7fd7382c6346bbd66687d12bbaad3a89a2d2c303ee6cf20b048" +dependencies = [ + "asn1-rs-derive 0.5.1", + "asn1-rs-impl 0.2.0", "displaydoc", "nom", "num-traits", @@ -561,7 +563,19 @@ dependencies = [ "proc-macro2", "quote", "syn 1.0.109", - "synstructure", + "synstructure 0.12.6", +] + +[[package]] +name = "asn1-rs-derive" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "965c2d33e53cb6b267e148a4cb0760bc01f4904c1cd4bb4002a085bb016d1490" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.87", + "synstructure 0.13.1", ] [[package]] @@ -575,6 +589,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "asn1-rs-impl" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.87", +] + [[package]] name = "assert_matches" version = "1.5.0" @@ -646,6 +671,23 @@ dependencies = [ "pin-project-lite 0.2.14", ] +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + +[[package]] +name = "attohttpc" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d9a9bf8b79a749ee0b911b91b671cc2b6c670bdbc7e3dfd537576ddc94bb2a2" +dependencies = [ + "http 0.2.12", + "log", + "url", +] + [[package]] name = "autocfg" version = "1.2.0" @@ -714,6 +756,12 @@ version = "0.21.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" +[[package]] +name = "base64" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" + [[package]] name = "base64ct" version = "1.6.0" @@ -754,7 +802,7 @@ dependencies = [ "proc-macro2", "quote", "regex", - "rustc-hash", + "rustc-hash 1.1.0", "shlex", "syn 2.0.87", ] @@ -1094,9 +1142,22 @@ checksum = "b9b68e3193982cd54187d71afdb2a271ad4cf8af157858e9cb911b91321de143" dependencies = [ "core2", "multibase", - "multihash", + "multihash 0.17.0", + "serde", + "unsigned-varint 0.7.2", +] + +[[package]] +name = "cid" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd94671561e36e4e7de75f753f577edafb0e7c05d6e4547229fdf7938fbcd2c3" +dependencies = [ + "core2", + "multibase", + "multihash 0.18.1", "serde", - "unsigned-varint", + "unsigned-varint 0.7.2", ] [[package]] @@ -1187,6 +1248,16 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" +[[package]] +name = "combine" +version = "4.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd" +dependencies = [ + "bytes", + "memchr", +] + [[package]] name = "comfy-table" version = "7.1.0" @@ -1427,6 +1498,21 @@ dependencies = [ "wasmtime-types", ] +[[package]] +name = "crc" +version = "3.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69e6e4d7b33a94f0991c26729976b10ebde1d34c3ee82408fb536164fa10d636" +dependencies = [ + "crc-catalog", +] + +[[package]] +name = "crc-catalog" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" + [[package]] name = "crc32fast" version = "1.4.0" @@ -1534,16 +1620,15 @@ dependencies = [ [[package]] name = "curve25519-dalek" -version = "4.1.2" +version = "4.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a677b8922c94e01bdbb12126b0bc852f00447528dee1782229af9c720c3f348" +checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" dependencies = [ "cfg-if", "cpufeatures", "curve25519-dalek-derive", "digest 0.10.7", "fiat-crypto", - "platforms", "rustc_version", "subtle 2.5.0", "zeroize", @@ -1619,9 +1704,9 @@ dependencies = [ [[package]] name = "data-encoding" -version = "2.5.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" +checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2" [[package]] name = "data-encoding-macro" @@ -1659,7 +1744,21 @@ version = "8.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dbd676fbbab537128ef0278adb5576cf363cff6aa22a7b24effe97347cfab61e" dependencies = [ - "asn1-rs", + "asn1-rs 0.5.2", + "displaydoc", + "nom", + "num-bigint", + "num-traits", + "rusticata-macros", +] + +[[package]] +name = "der-parser" +version = "9.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5cd0a5c643689626bec213c4d8bd4d96acc8ffdb4ad4bb6bc16abf27d5f4b553" +dependencies = [ + "asn1-rs 0.6.2", "displaydoc", "nom", "num-bigint", @@ -1687,17 +1786,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "derive-syn-parse" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e79116f119dd1dba1abf1f3405f03b9b0e79a27a3883864bfebded8a3dc768cd" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "derive-syn-parse" version = "0.2.0" @@ -1742,12 +1830,6 @@ dependencies = [ "syn 2.0.87", ] -[[package]] -name = "diff" -version = "0.1.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" - [[package]] name = "difflib" version = "0.4.0" @@ -1837,12 +1919,6 @@ dependencies = [ "syn 2.0.87", ] -[[package]] -name = "dissimilar" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86e3bdc80eee6e16b2b6b0f87fbc98c04bee3455e35174c0de1a125d0688c632" - [[package]] name = "dleq_vrf" version = "0.0.2" @@ -1875,7 +1951,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a081e51fb188742f5a7a1164ad752121abcb22874b21e2c3b0dd040c515fdad" dependencies = [ "common-path", - "derive-syn-parse 0.2.0", + "derive-syn-parse", "once_cell", "proc-macro2", "quote", @@ -1956,7 +2032,7 @@ version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" dependencies = [ - "curve25519-dalek 4.1.2", + "curve25519-dalek 4.1.3", "ed25519", "rand_core 0.6.4", "serde", @@ -1979,6 +2055,21 @@ dependencies = [ "zeroize", ] +[[package]] +name = "ed25519-zebra" +version = "4.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d9ce6874da5d4415896cd45ffbc4d1cfc0c4f9c079427bd870742c30f2f65a9" +dependencies = [ + "curve25519-dalek 4.1.3", + "ed25519", + "hashbrown 0.14.3", + "hex", + "rand_core 0.6.4", + "sha2 0.10.8", + "zeroize", +] + [[package]] name = "either" version = "1.10.0" @@ -2023,6 +2114,18 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "enum-as-inner" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1e6a265c649f3f5979b601d26f1d05ada116434c87741c9493cb56218f76cbc" +dependencies = [ + "heck 0.5.0", + "proc-macro2", + "quote", + "syn 2.0.87", +] + [[package]] name = "env_logger" version = "0.10.2" @@ -2205,7 +2308,7 @@ dependencies = [ "log", "num-traits", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "scale-info", ] @@ -2253,6 +2356,27 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +[[package]] +name = "foldhash" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f81ec6369c545a7d40e4589b5597581fa1c441fe1cce96dd1de43159910a36a2" + +[[package]] +name = "foreign-types" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" +dependencies = [ + "foreign-types-shared", +] + +[[package]] +name = "foreign-types-shared" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" + [[package]] name = "fork-tree" version = "12.0.0" @@ -2261,6 +2385,15 @@ dependencies = [ "parity-scale-codec", ] +[[package]] +name = "fork-tree" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad4cc2314d3be8b49c555f6a7e550f5559e73ffd6ef9690ffbd9a706774452e0" +dependencies = [ + "parity-scale-codec", +] + [[package]] name = "form_urlencoded" version = "1.2.1" @@ -2270,6 +2403,16 @@ dependencies = [ "percent-encoding", ] +[[package]] +name = "forwarded-header-value" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8835f84f38484cc86f110a805655697908257fb9a7af005234060891557198e9" +dependencies = [ + "nonempty", + "thiserror", +] + [[package]] name = "fragile" version = "2.0.0" @@ -2278,8 +2421,9 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a01bdd47c2d541b38bd892da647d1e972c9d85b4ecd7094ad64f7600175da54d" dependencies = [ "frame-support", "frame-support-procedural", @@ -2290,21 +2434,21 @@ dependencies = [ "paste", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-runtime", - "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "sp-api 34.0.0", + "sp-application-crypto 38.0.0", + "sp-core 34.0.0", + "sp-io 38.0.0", + "sp-runtime 39.0.2", + "sp-runtime-interface 28.0.0", + "sp-storage 21.0.0", "static_assertions", ] [[package]] name = "frame-benchmarking-cli" -version = "32.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "43.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9767c33709062605ba6876fcc3e5f31fb37da393c1ab384813614870209dd94" dependencies = [ "Inflector", "array-bytes 6.2.2", @@ -2316,56 +2460,58 @@ dependencies = [ "frame-system", "gethostname", "handlebars", - "itertools 0.10.5", + "itertools 0.11.0", "lazy_static", "linked-hash-map", "log", "parity-scale-codec", "rand", "rand_pcg", - "sc-block-builder", - "sc-cli", - "sc-client-api", - "sc-client-db", - "sc-executor", - "sc-service", - "sc-sysinfo", + "sc-block-builder 0.42.0", + "sc-chain-spec 38.0.0", + "sc-cli 0.47.0", + "sc-client-api 37.0.0", + "sc-client-db 0.44.1", + "sc-executor 0.40.1", + "sc-service 0.46.0", + "sc-sysinfo 38.0.0", "serde", "serde_json", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-database", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-runtime", - "sp-state-machine", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-trie", - "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "sp-api 34.0.0", + "sp-blockchain 37.0.1", + "sp-core 34.0.0", + "sp-database 10.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0", + "sp-genesis-builder 0.15.1", + "sp-inherents 34.0.0", + "sp-io 38.0.0", + "sp-keystore 0.40.0", + "sp-runtime 39.0.2", + "sp-state-machine 0.43.0", + "sp-storage 21.0.0", + "sp-trie 37.0.0", + "sp-wasm-interface 21.0.1", "thiserror", "thousands", ] [[package]] name = "frame-executive" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c365bf3879de25bbee28e9584096955a02fbe8d7e7624e10675800317f1cee5b" dependencies = [ - "aquamarine 0.3.3", + "aquamarine", "frame-support", "frame-system", "frame-try-runtime", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "sp-core 34.0.0", + "sp-io 38.0.0", + "sp-runtime 39.0.2", + "sp-tracing 17.0.1", ] [[package]] @@ -2387,15 +2533,15 @@ source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polk dependencies = [ "futures", "indicatif", - "jsonrpsee", + "jsonrpsee 0.22.3", "log", "parity-scale-codec", "serde", - "sp-core", - "sp-crypto-hashing", - "sp-io", - "sp-runtime", - "sp-state-machine", + "sp-core 28.0.0", + "sp-crypto-hashing 0.0.0", + "sp-io 30.0.0", + "sp-runtime 31.0.1", + "sp-state-machine 0.35.0", "spinners", "substrate-rpc-client", "tokio", @@ -2404,10 +2550,11 @@ dependencies = [ [[package]] name = "frame-support" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e44af69fa61bc5005ffe0339e198957e77f0f255704a9bee720da18a733e3dc" dependencies = [ - "aquamarine 0.5.0", + "aquamarine", "array-bytes 6.2.2", "bitflags 1.3.2", "docify", @@ -2424,48 +2571,50 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-api", - "sp-arithmetic", - "sp-core", - "sp-crypto-hashing-proc-macro", - "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-genesis-builder", - "sp-inherents", - "sp-io", - "sp-metadata-ir", - "sp-runtime", - "sp-staking", - "sp-state-machine", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-weights", + "sp-api 34.0.0", + "sp-arithmetic 26.0.0", + "sp-core 34.0.0", + "sp-crypto-hashing-proc-macro 0.1.0", + "sp-debug-derive 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-genesis-builder 0.15.1", + "sp-inherents 34.0.0", + "sp-io 38.0.0", + "sp-metadata-ir 0.7.0", + "sp-runtime 39.0.2", + "sp-staking 36.0.0", + "sp-state-machine 0.43.0", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-tracing 17.0.1", + "sp-weights 31.0.0", "static_assertions", "tt-call", ] [[package]] name = "frame-support-procedural" -version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "30.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e8f9b6bc1517a6fcbf0b2377e5c8c6d39f5bb7862b191a59a9992081d63972d" dependencies = [ "Inflector", "cfg-expr", - "derive-syn-parse 0.1.5", + "derive-syn-parse", "expander", "frame-support-procedural-tools", - "itertools 0.10.5", + "itertools 0.11.0", "macro_magic", - "proc-macro-warning", + "proc-macro-warning 1.0.2", "proc-macro2", "quote", - "sp-crypto-hashing", + "sp-crypto-hashing 0.1.0", "syn 2.0.87", ] [[package]] name = "frame-support-procedural-tools" -version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bead15a320be1764cdd50458c4cfacb23e0cee65f64f500f8e34136a94c7eeca" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.1.0", @@ -2476,59 +2625,20 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" -version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed971c6435503a099bdac99fe4c5bea08981709e5b5a0a8535a1856f48561191" dependencies = [ "proc-macro2", "quote", "syn 2.0.87", ] -[[package]] -name = "frame-support-test" -version = "3.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" -dependencies = [ - "frame-benchmarking", - "frame-executive", - "frame-metadata", - "frame-support", - "frame-support-test-pallet", - "frame-system", - "parity-scale-codec", - "pretty_assertions", - "rustversion", - "scale-info", - "serde", - "sp-api", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-metadata-ir", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-version", - "static_assertions", - "trybuild", -] - -[[package]] -name = "frame-support-test-pallet" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" -dependencies = [ - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", - "serde", - "sp-runtime", -] - [[package]] name = "frame-system" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3c7fa02f8c305496d2ae52edaecdb9d165f11afa965e05686d7d7dd1ce93611" dependencies = [ "cfg-if", "docify", @@ -2537,48 +2647,50 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-version", - "sp-weights", + "sp-core 34.0.0", + "sp-io 38.0.0", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-version 37.0.0", + "sp-weights 31.0.0", ] [[package]] name = "frame-system-benchmarking" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9693b2a736beb076e673520e1e8dee4fc128b8d35b020ef3e8a4b1b5ad63d9f2" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "sp-core 34.0.0", + "sp-runtime 39.0.2", ] [[package]] name = "frame-system-rpc-runtime-api" -version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "475c4f8604ba7e4f05cd2c881ba71105093e638b9591ec71a8db14a64b3b4ec3" dependencies = [ + "docify", "parity-scale-codec", - "sp-api", + "sp-api 34.0.0", ] [[package]] name = "frame-try-runtime" -version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "0.44.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83c811a5a1f5429c7fb5ebbf6cf9502d8f9b673fd395c12cf46c44a30a7daf0e" dependencies = [ "frame-support", "parity-scale-codec", - "sp-api", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "sp-api 34.0.0", + "sp-runtime 39.0.2", ] [[package]] @@ -2622,12 +2734,22 @@ dependencies = [ ] [[package]] -name = "futures-channel" -version = "0.3.31" +name = "futures-bounded" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" +checksum = "8b07bbbe7d7e78809544c6f718d875627addc73a7c3582447abc052cd3dc67e0" dependencies = [ - "futures-core", + "futures-timer", + "futures-util", +] + +[[package]] +name = "futures-channel" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" +dependencies = [ + "futures-core", "futures-sink", ] @@ -2687,6 +2809,16 @@ dependencies = [ "webpki", ] +[[package]] +name = "futures-rustls" +version = "0.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35bd3cf68c183738046838e300353e4716c674dc5e56890de4826801a6622a28" +dependencies = [ + "futures-io", + "rustls 0.21.10", +] + [[package]] name = "futures-sink" version = "0.3.31" @@ -2843,7 +2975,7 @@ dependencies = [ "futures-timer", "no-std-compat", "nonzero_ext", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "portable-atomic", "quanta", "rand", @@ -2873,7 +3005,26 @@ dependencies = [ "futures-core", "futures-sink", "futures-util", - "http", + "http 0.2.12", + "indexmap 2.2.6", + "slab", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "h2" +version = "0.4.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccae279728d634d083c00f6099cb58f01cc99c145b84b8be2f6c74618d79922e" +dependencies = [ + "atomic-waker", + "bytes", + "fnv", + "futures-core", + "futures-sink", + "http 1.1.0", "indexmap 2.2.6", "slab", "tokio", @@ -2938,6 +3089,17 @@ dependencies = [ "allocator-api2", ] +[[package]] +name = "hashbrown" +version = "0.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a9bfc1af68b1726ea47d3d5109de126281def866b33970e10fbab11b5dafab3" +dependencies = [ + "allocator-api2", + "equivalent", + "foldhash", +] + [[package]] name = "hashlink" version = "0.8.4" @@ -3053,6 +3215,17 @@ dependencies = [ "itoa", ] +[[package]] +name = "http" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + [[package]] name = "http-body" version = "0.4.6" @@ -3060,7 +3233,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ "bytes", - "http", + "http 0.2.12", + "pin-project-lite 0.2.14", +] + +[[package]] +name = "http-body" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" +dependencies = [ + "bytes", + "http 1.1.0", +] + +[[package]] +name = "http-body-util" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" +dependencies = [ + "bytes", + "futures-util", + "http 1.1.0", + "http-body 1.0.1", "pin-project-lite 0.2.14", ] @@ -3090,28 +3286,48 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hyper" -version = "0.14.28" +version = "0.14.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf96e135eb83a2a8ddf766e426a841d8ddd7449d5f00d34ea02b41d2f19eef80" +checksum = "8c08302e8fa335b151b788c775ff56e7a03ae64ff85c548ee820fecb70356e85" dependencies = [ "bytes", "futures-channel", "futures-core", "futures-util", - "h2", - "http", - "http-body", + "h2 0.3.25", + "http 0.2.12", + "http-body 0.4.6", "httparse", "httpdate", "itoa", "pin-project-lite 0.2.14", - "socket2 0.5.6", + "socket2 0.5.7", "tokio", "tower-service", "tracing", "want", ] +[[package]] +name = "hyper" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97818827ef4f364230e16705d4706e2897df2bb60617d6ca15d598025a3c481f" +dependencies = [ + "bytes", + "futures-channel", + "futures-util", + "h2 0.4.7", + "http 1.1.0", + "http-body 1.0.1", + "httparse", + "httpdate", + "itoa", + "pin-project-lite 0.2.14", + "smallvec", + "tokio", +] + [[package]] name = "hyper-rustls" version = "0.24.2" @@ -3119,8 +3335,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" dependencies = [ "futures-util", - "http", - "hyper", + "http 0.2.12", + "hyper 0.14.31", "log", "rustls 0.21.10", "rustls-native-certs 0.6.3", @@ -3128,6 +3344,23 @@ dependencies = [ "tokio-rustls 0.24.1", ] +[[package]] +name = "hyper-util" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cde7055719c54e36e95e8719f95883f22072a48ede39db7fc17a4e1d5281e9b9" +dependencies = [ + "bytes", + "futures-util", + "http 1.1.0", + "http-body 1.0.1", + "hyper 1.5.1", + "pin-project-lite 0.2.14", + "tokio", + "tower", + "tower-service", +] + [[package]] name = "iana-time-zone" version = "0.1.60" @@ -3162,6 +3395,16 @@ dependencies = [ "unicode-normalization", ] +[[package]] +name = "idna" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" +dependencies = [ + "unicode-bidi", + "unicode-normalization", +] + [[package]] name = "idna" version = "0.5.0" @@ -3201,6 +3444,25 @@ dependencies = [ "windows", ] +[[package]] +name = "igd-next" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "064d90fec10d541084e7b39ead8875a5a80d9114a2b18791565253bae25f49e4" +dependencies = [ + "async-trait", + "attohttpc", + "bytes", + "futures", + "http 0.2.12", + "hyper 0.14.31", + "log", + "rand", + "tokio", + "url", + "xmltree", +] + [[package]] name = "impl-codec" version = "0.6.0" @@ -3333,7 +3595,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f" dependencies = [ - "socket2 0.5.6", + "socket2 0.5.7", "widestring", "windows-sys 0.48.0", "winreg", @@ -3404,16 +3666,30 @@ version = "0.22.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3cdbb7cb6f3ba28f5b212dd250ab4483105efc3e381f5c8bb90340f14f0a2cc3" dependencies = [ - "jsonrpsee-core", + "jsonrpsee-core 0.22.3", "jsonrpsee-http-client", - "jsonrpsee-proc-macros", - "jsonrpsee-server", - "jsonrpsee-types", + "jsonrpsee-proc-macros 0.22.3", + "jsonrpsee-server 0.22.3", + "jsonrpsee-types 0.22.3", "jsonrpsee-ws-client", "tokio", "tracing", ] +[[package]] +name = "jsonrpsee" +version = "0.24.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c5c71d8c1a731cc4227c2f698d377e7848ca12c8a48866fc5e6951c43a4db843" +dependencies = [ + "jsonrpsee-core 0.24.7", + "jsonrpsee-proc-macros 0.24.7", + "jsonrpsee-server 0.24.7", + "jsonrpsee-types 0.24.7", + "tokio", + "tracing", +] + [[package]] name = "jsonrpsee-client-transport" version = "0.22.3" @@ -3421,12 +3697,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ab2e14e727d2faf388c99d9ca5210566ed3b044f07d92c29c3611718d178380" dependencies = [ "futures-util", - "http", - "jsonrpsee-core", + "http 0.2.12", + "jsonrpsee-core 0.22.3", "pin-project", "rustls-native-certs 0.7.0", "rustls-pki-types", - "soketto", + "soketto 0.7.1", "thiserror", "tokio", "tokio-rustls 0.25.0", @@ -3447,12 +3723,12 @@ dependencies = [ "beef", "futures-timer", "futures-util", - "hyper", - "jsonrpsee-types", - "parking_lot 0.12.1", + "hyper 0.14.31", + "jsonrpsee-types 0.22.3", + "parking_lot 0.12.3", "pin-project", "rand", - "rustc-hash", + "rustc-hash 1.1.0", "serde", "serde_json", "thiserror", @@ -3461,6 +3737,29 @@ dependencies = [ "tracing", ] +[[package]] +name = "jsonrpsee-core" +version = "0.24.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2882f6f8acb9fdaec7cefc4fd607119a9bd709831df7d7672a1d3b644628280" +dependencies = [ + "async-trait", + "bytes", + "futures-util", + "http 1.1.0", + "http-body 1.0.1", + "http-body-util", + "jsonrpsee-types 0.24.7", + "parking_lot 0.12.3", + "rand", + "rustc-hash 2.0.0", + "serde", + "serde_json", + "thiserror", + "tokio", + "tracing", +] + [[package]] name = "jsonrpsee-http-client" version = "0.22.3" @@ -3468,10 +3767,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8c13987da51270bda2c1c9b40c19be0fe9b225c7a0553963d8f17e683a50ce84" dependencies = [ "async-trait", - "hyper", + "hyper 0.14.31", "hyper-rustls", - "jsonrpsee-core", - "jsonrpsee-types", + "jsonrpsee-core 0.22.3", + "jsonrpsee-types 0.22.3", "serde", "serde_json", "thiserror", @@ -3494,6 +3793,19 @@ dependencies = [ "syn 2.0.87", ] +[[package]] +name = "jsonrpsee-proc-macros" +version = "0.24.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c06c01ae0007548e73412c08e2285ffe5d723195bf268bce67b1b77c3bb2a14d" +dependencies = [ + "heck 0.5.0", + "proc-macro-crate 3.1.0", + "proc-macro2", + "quote", + "syn 2.0.87", +] + [[package]] name = "jsonrpsee-server" version = "0.22.3" @@ -3501,15 +3813,42 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4882e640e70c2553e3d9487e6f4dddd5fd11918f25e40fa45218f9fe29ed2152" dependencies = [ "futures-util", - "http", - "hyper", - "jsonrpsee-core", - "jsonrpsee-types", + "http 0.2.12", + "hyper 0.14.31", + "jsonrpsee-core 0.22.3", + "jsonrpsee-types 0.22.3", + "pin-project", + "route-recognizer", + "serde", + "serde_json", + "soketto 0.7.1", + "thiserror", + "tokio", + "tokio-stream", + "tokio-util", + "tower", + "tracing", +] + +[[package]] +name = "jsonrpsee-server" +version = "0.24.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82ad8ddc14be1d4290cd68046e7d1d37acd408efed6d3ca08aefcc3ad6da069c" +dependencies = [ + "futures-util", + "http 1.1.0", + "http-body 1.0.1", + "http-body-util", + "hyper 1.5.1", + "hyper-util", + "jsonrpsee-core 0.24.7", + "jsonrpsee-types 0.24.7", "pin-project", "route-recognizer", "serde", "serde_json", - "soketto", + "soketto 0.8.0", "thiserror", "tokio", "tokio-stream", @@ -3531,16 +3870,28 @@ dependencies = [ "thiserror", ] +[[package]] +name = "jsonrpsee-types" +version = "0.24.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a178c60086f24cc35bb82f57c651d0d25d99c4742b4d335de04e97fa1f08a8a1" +dependencies = [ + "http 1.1.0", + "serde", + "serde_json", + "thiserror", +] + [[package]] name = "jsonrpsee-ws-client" version = "0.22.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c8a07ab8da9a283b906f6735ddd17d3680158bb72259e853441d1dd0167079ec" dependencies = [ - "http", + "http 0.2.12", "jsonrpsee-client-transport", - "jsonrpsee-core", - "jsonrpsee-types", + "jsonrpsee-core 0.22.3", + "jsonrpsee-types 0.22.3", "url", ] @@ -3589,7 +3940,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf7a85fe66f9ff9cd74e169fdd2c94c6e1e74c412c99a73b4df3200b5d3760b2" dependencies = [ "kvdb", - "parking_lot 0.12.1", + "parking_lot 0.12.3", ] [[package]] @@ -3600,7 +3951,7 @@ checksum = "b644c70b92285f66bfc2032922a79000ea30af7bc2ab31902992a5dcb9b434f6" dependencies = [ "kvdb", "num_cpus", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "regex", "rocksdb", "smallvec", @@ -3620,9 +3971,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.153" +version = "0.2.164" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" +checksum = "433bfe06b8c75da9b2e3fbea6e5329ff87748f0b144ef75306e674c3f6f7c13f" [[package]] name = "libloading" @@ -3651,26 +4002,63 @@ dependencies = [ "futures-timer", "getrandom 0.2.12", "instant", - "libp2p-allow-block-list", - "libp2p-connection-limits", - "libp2p-core", - "libp2p-dns", - "libp2p-identify", - "libp2p-identity", - "libp2p-kad", - "libp2p-mdns", - "libp2p-metrics", - "libp2p-noise", - "libp2p-ping", - "libp2p-quic", - "libp2p-request-response", - "libp2p-swarm", - "libp2p-tcp", - "libp2p-wasm-ext", - "libp2p-websocket", - "libp2p-yamux", - "multiaddr", + "libp2p-allow-block-list 0.1.1", + "libp2p-connection-limits 0.1.0", + "libp2p-core 0.39.2", + "libp2p-dns 0.39.0", + "libp2p-identify 0.42.2", + "libp2p-identity 0.1.3", + "libp2p-kad 0.43.3", + "libp2p-mdns 0.43.1", + "libp2p-metrics 0.12.0", + "libp2p-noise 0.42.2", + "libp2p-ping 0.42.0", + "libp2p-quic 0.7.0-alpha.3", + "libp2p-request-response 0.24.1", + "libp2p-swarm 0.42.2", + "libp2p-tcp 0.39.0", + "libp2p-wasm-ext 0.39.0", + "libp2p-websocket 0.41.0", + "libp2p-yamux 0.43.1", + "multiaddr 0.17.1", + "pin-project", +] + +[[package]] +name = "libp2p" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e94495eb319a85b70a68b85e2389a95bb3555c71c49025b78c691a854a7e6464" +dependencies = [ + "bytes", + "either", + "futures", + "futures-timer", + "getrandom 0.2.12", + "instant", + "libp2p-allow-block-list 0.2.0", + "libp2p-connection-limits 0.2.1", + "libp2p-core 0.40.1", + "libp2p-dns 0.40.1", + "libp2p-identify 0.43.1", + "libp2p-identity 0.2.10", + "libp2p-kad 0.44.6", + "libp2p-mdns 0.44.0", + "libp2p-metrics 0.13.1", + "libp2p-noise 0.43.2", + "libp2p-ping 0.43.1", + "libp2p-quic 0.9.3", + "libp2p-request-response 0.25.3", + "libp2p-swarm 0.43.7", + "libp2p-tcp 0.40.1", + "libp2p-upnp", + "libp2p-wasm-ext 0.40.0", + "libp2p-websocket 0.42.2", + "libp2p-yamux 0.44.1", + "multiaddr 0.18.2", "pin-project", + "rw-stream-sink 0.4.0", + "thiserror", ] [[package]] @@ -3679,9 +4067,21 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "510daa05efbc25184458db837f6f9a5143888f1caa742426d92e1833ddd38a50" dependencies = [ - "libp2p-core", - "libp2p-identity", - "libp2p-swarm", + "libp2p-core 0.39.2", + "libp2p-identity 0.1.3", + "libp2p-swarm 0.42.2", + "void", +] + +[[package]] +name = "libp2p-allow-block-list" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55b46558c5c0bf99d3e2a1a38fd54ff5476ca66dd1737b12466a1824dd219311" +dependencies = [ + "libp2p-core 0.40.1", + "libp2p-identity 0.2.10", + "libp2p-swarm 0.43.7", "void", ] @@ -3691,9 +4091,21 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4caa33f1d26ed664c4fe2cca81a08c8e07d4c1c04f2f4ac7655c2dd85467fda0" dependencies = [ - "libp2p-core", - "libp2p-identity", - "libp2p-swarm", + "libp2p-core 0.39.2", + "libp2p-identity 0.1.3", + "libp2p-swarm 0.42.2", + "void", +] + +[[package]] +name = "libp2p-connection-limits" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f5107ad45cb20b2f6c3628c7b6014b996fcb13a88053f4569c872c6e30abf58" +dependencies = [ + "libp2p-core 0.40.1", + "libp2p-identity 0.2.10", + "libp2p-swarm 0.43.7", "void", ] @@ -3708,20 +4120,48 @@ dependencies = [ "futures", "futures-timer", "instant", - "libp2p-identity", + "libp2p-identity 0.1.3", + "log", + "multiaddr 0.17.1", + "multihash 0.17.0", + "multistream-select 0.12.1", + "once_cell", + "parking_lot 0.12.3", + "pin-project", + "quick-protobuf", + "rand", + "rw-stream-sink 0.3.0", + "smallvec", + "thiserror", + "unsigned-varint 0.7.2", + "void", +] + +[[package]] +name = "libp2p-core" +version = "0.40.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd44289ab25e4c9230d9246c475a22241e301b23e8f4061d3bdef304a1a99713" +dependencies = [ + "either", + "fnv", + "futures", + "futures-timer", + "instant", + "libp2p-identity 0.2.10", "log", - "multiaddr", - "multihash", - "multistream-select", + "multiaddr 0.18.2", + "multihash 0.19.2", + "multistream-select 0.13.0", "once_cell", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "pin-project", "quick-protobuf", "rand", - "rw-stream-sink", + "rw-stream-sink 0.4.0", "smallvec", "thiserror", - "unsigned-varint", + "unsigned-varint 0.7.2", "void", ] @@ -3732,11 +4172,27 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "146ff7034daae62077c415c2376b8057368042df6ab95f5432ad5e88568b1554" dependencies = [ "futures", - "libp2p-core", + "libp2p-core 0.39.2", + "log", + "parking_lot 0.12.3", + "smallvec", + "trust-dns-resolver 0.22.0", +] + +[[package]] +name = "libp2p-dns" +version = "0.40.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6a18db73084b4da2871438f6239fef35190b05023de7656e877c18a00541a3b" +dependencies = [ + "async-trait", + "futures", + "libp2p-core 0.40.1", + "libp2p-identity 0.2.10", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "smallvec", - "trust-dns-resolver", + "trust-dns-resolver 0.23.2", ] [[package]] @@ -3749,13 +4205,36 @@ dependencies = [ "either", "futures", "futures-timer", - "libp2p-core", - "libp2p-identity", - "libp2p-swarm", + "libp2p-core 0.39.2", + "libp2p-identity 0.1.3", + "libp2p-swarm 0.42.2", + "log", + "lru 0.10.1", + "quick-protobuf", + "quick-protobuf-codec 0.1.0", + "smallvec", + "thiserror", + "void", +] + +[[package]] +name = "libp2p-identify" +version = "0.43.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45a96638a0a176bec0a4bcaebc1afa8cf909b114477209d7456ade52c61cd9cd" +dependencies = [ + "asynchronous-codec", + "either", + "futures", + "futures-bounded", + "futures-timer", + "libp2p-core 0.40.1", + "libp2p-identity 0.2.10", + "libp2p-swarm 0.43.7", "log", - "lru", + "lru 0.12.5", "quick-protobuf", - "quick-protobuf-codec", + "quick-protobuf-codec 0.2.0", "smallvec", "thiserror", "void", @@ -3770,8 +4249,8 @@ dependencies = [ "bs58 0.4.0", "ed25519-dalek", "log", - "multiaddr", - "multihash", + "multiaddr 0.17.1", + "multihash 0.17.0", "quick-protobuf", "rand", "sha2 0.10.8", @@ -3780,7 +4259,25 @@ dependencies = [ ] [[package]] -name = "libp2p-kad" +name = "libp2p-identity" +version = "0.2.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "257b5621d159b32282eac446bed6670c39c7dc68a200a992d8f056afa0066f6d" +dependencies = [ + "bs58 0.5.1", + "ed25519-dalek", + "hkdf", + "multihash 0.19.2", + "quick-protobuf", + "rand", + "sha2 0.10.8", + "thiserror", + "tracing", + "zeroize", +] + +[[package]] +name = "libp2p-kad" version = "0.43.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39d5ef876a2b2323d63c258e63c2f8e36f205fe5a11f0b3095d59635650790ff" @@ -3793,17 +4290,46 @@ dependencies = [ "futures", "futures-timer", "instant", - "libp2p-core", - "libp2p-identity", - "libp2p-swarm", + "libp2p-core 0.39.2", + "libp2p-identity 0.1.3", + "libp2p-swarm 0.42.2", + "log", + "quick-protobuf", + "rand", + "sha2 0.10.8", + "smallvec", + "thiserror", + "uint", + "unsigned-varint 0.7.2", + "void", +] + +[[package]] +name = "libp2p-kad" +version = "0.44.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16ea178dabba6dde6ffc260a8e0452ccdc8f79becf544946692fff9d412fc29d" +dependencies = [ + "arrayvec", + "asynchronous-codec", + "bytes", + "either", + "fnv", + "futures", + "futures-timer", + "instant", + "libp2p-core 0.40.1", + "libp2p-identity 0.2.10", + "libp2p-swarm 0.43.7", "log", "quick-protobuf", + "quick-protobuf-codec 0.2.0", "rand", "sha2 0.10.8", "smallvec", "thiserror", "uint", - "unsigned-varint", + "unsigned-varint 0.7.2", "void", ] @@ -3816,15 +4342,36 @@ dependencies = [ "data-encoding", "futures", "if-watch", - "libp2p-core", - "libp2p-identity", - "libp2p-swarm", + "libp2p-core 0.39.2", + "libp2p-identity 0.1.3", + "libp2p-swarm 0.42.2", "log", "rand", "smallvec", "socket2 0.4.10", "tokio", - "trust-dns-proto", + "trust-dns-proto 0.22.0", + "void", +] + +[[package]] +name = "libp2p-mdns" +version = "0.44.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42a2567c305232f5ef54185e9604579a894fd0674819402bb0ac0246da82f52a" +dependencies = [ + "data-encoding", + "futures", + "if-watch", + "libp2p-core 0.40.1", + "libp2p-identity 0.2.10", + "libp2p-swarm 0.43.7", + "log", + "rand", + "smallvec", + "socket2 0.5.7", + "tokio", + "trust-dns-proto 0.22.0", "void", ] @@ -3834,12 +4381,29 @@ version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a42ec91e227d7d0dafa4ce88b333cdf5f277253873ab087555c92798db2ddd46" dependencies = [ - "libp2p-core", - "libp2p-identify", - "libp2p-kad", - "libp2p-ping", - "libp2p-swarm", - "prometheus-client", + "libp2p-core 0.39.2", + "libp2p-identify 0.42.2", + "libp2p-kad 0.43.3", + "libp2p-ping 0.42.0", + "libp2p-swarm 0.42.2", + "prometheus-client 0.19.0", +] + +[[package]] +name = "libp2p-metrics" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "239ba7d28f8d0b5d77760dc6619c05c7e88e74ec8fbbe97f856f20a56745e620" +dependencies = [ + "instant", + "libp2p-core 0.40.1", + "libp2p-identify 0.43.1", + "libp2p-identity 0.2.10", + "libp2p-kad 0.44.6", + "libp2p-ping 0.43.1", + "libp2p-swarm 0.43.7", + "once_cell", + "prometheus-client 0.21.2", ] [[package]] @@ -3851,8 +4415,8 @@ dependencies = [ "bytes", "curve25519-dalek 3.2.0", "futures", - "libp2p-core", - "libp2p-identity", + "libp2p-core 0.39.2", + "libp2p-identity 0.1.3", "log", "once_cell", "quick-protobuf", @@ -3865,6 +4429,31 @@ dependencies = [ "zeroize", ] +[[package]] +name = "libp2p-noise" +version = "0.43.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2eeec39ad3ad0677551907dd304b2f13f17208ccebe333bef194076cd2e8921" +dependencies = [ + "bytes", + "curve25519-dalek 4.1.3", + "futures", + "libp2p-core 0.40.1", + "libp2p-identity 0.2.10", + "log", + "multiaddr 0.18.2", + "multihash 0.19.2", + "once_cell", + "quick-protobuf", + "rand", + "sha2 0.10.8", + "snow", + "static_assertions", + "thiserror", + "x25519-dalek 2.0.1", + "zeroize", +] + [[package]] name = "libp2p-ping" version = "0.42.0" @@ -3875,8 +4464,26 @@ dependencies = [ "futures", "futures-timer", "instant", - "libp2p-core", - "libp2p-swarm", + "libp2p-core 0.39.2", + "libp2p-swarm 0.42.2", + "log", + "rand", + "void", +] + +[[package]] +name = "libp2p-ping" +version = "0.43.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e702d75cd0827dfa15f8fd92d15b9932abe38d10d21f47c50438c71dd1b5dae3" +dependencies = [ + "either", + "futures", + "futures-timer", + "instant", + "libp2p-core 0.40.1", + "libp2p-identity 0.2.10", + "libp2p-swarm 0.43.7", "log", "rand", "void", @@ -3892,18 +4499,42 @@ dependencies = [ "futures", "futures-timer", "if-watch", - "libp2p-core", - "libp2p-identity", - "libp2p-tls", + "libp2p-core 0.39.2", + "libp2p-identity 0.1.3", + "libp2p-tls 0.1.0", "log", - "parking_lot 0.12.1", - "quinn-proto", + "parking_lot 0.12.3", + "quinn-proto 0.9.6", "rand", "rustls 0.20.9", "thiserror", "tokio", ] +[[package]] +name = "libp2p-quic" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "130d451d83f21b81eb7b35b360bc7972aeafb15177784adc56528db082e6b927" +dependencies = [ + "bytes", + "futures", + "futures-timer", + "if-watch", + "libp2p-core 0.40.1", + "libp2p-identity 0.2.10", + "libp2p-tls 0.2.1", + "log", + "parking_lot 0.12.3", + "quinn 0.10.2", + "rand", + "ring 0.16.20", + "rustls 0.21.10", + "socket2 0.5.7", + "thiserror", + "tokio", +] + [[package]] name = "libp2p-request-response" version = "0.24.1" @@ -3913,11 +4544,29 @@ dependencies = [ "async-trait", "futures", "instant", - "libp2p-core", - "libp2p-identity", - "libp2p-swarm", + "libp2p-core 0.39.2", + "libp2p-identity 0.1.3", + "libp2p-swarm 0.42.2", + "rand", + "smallvec", +] + +[[package]] +name = "libp2p-request-response" +version = "0.25.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8e3b4d67870478db72bac87bfc260ee6641d0734e0e3e275798f089c3fecfd4" +dependencies = [ + "async-trait", + "futures", + "instant", + "libp2p-core 0.40.1", + "libp2p-identity 0.2.10", + "libp2p-swarm 0.43.7", + "log", "rand", "smallvec", + "void", ] [[package]] @@ -3931,10 +4580,33 @@ dependencies = [ "futures", "futures-timer", "instant", - "libp2p-core", - "libp2p-identity", - "libp2p-swarm-derive", + "libp2p-core 0.39.2", + "libp2p-identity 0.1.3", + "libp2p-swarm-derive 0.32.0", + "log", + "rand", + "smallvec", + "tokio", + "void", +] + +[[package]] +name = "libp2p-swarm" +version = "0.43.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "580189e0074af847df90e75ef54f3f30059aedda37ea5a1659e8b9fca05c0141" +dependencies = [ + "either", + "fnv", + "futures", + "futures-timer", + "instant", + "libp2p-core 0.40.1", + "libp2p-identity 0.2.10", + "libp2p-swarm-derive 0.33.0", "log", + "multistream-select 0.13.0", + "once_cell", "rand", "smallvec", "tokio", @@ -3952,6 +4624,19 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "libp2p-swarm-derive" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4d5ec2a3df00c7836d7696c136274c9c59705bac69133253696a6c932cd1d74" +dependencies = [ + "heck 0.4.1", + "proc-macro-warning 0.4.2", + "proc-macro2", + "quote", + "syn 2.0.87", +] + [[package]] name = "libp2p-tcp" version = "0.39.0" @@ -3962,12 +4647,29 @@ dependencies = [ "futures-timer", "if-watch", "libc", - "libp2p-core", + "libp2p-core 0.39.2", "log", "socket2 0.4.10", "tokio", ] +[[package]] +name = "libp2p-tcp" +version = "0.40.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b558dd40d1bcd1aaaed9de898e9ec6a436019ecc2420dd0016e712fbb61c5508" +dependencies = [ + "futures", + "futures-timer", + "if-watch", + "libc", + "libp2p-core 0.40.1", + "libp2p-identity 0.2.10", + "log", + "socket2 0.5.7", + "tokio", +] + [[package]] name = "libp2p-tls" version = "0.1.0" @@ -3975,18 +4677,53 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff08d13d0dc66e5e9ba6279c1de417b84fa0d0adc3b03e5732928c180ec02781" dependencies = [ "futures", - "futures-rustls", - "libp2p-core", - "libp2p-identity", + "futures-rustls 0.22.2", + "libp2p-core 0.39.2", + "libp2p-identity 0.1.3", "rcgen", "ring 0.16.20", "rustls 0.20.9", "thiserror", "webpki", - "x509-parser", + "x509-parser 0.14.0", + "yasna", +] + +[[package]] +name = "libp2p-tls" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8218d1d5482b122ccae396bbf38abdcb283ecc96fa54760e1dfd251f0546ac61" +dependencies = [ + "futures", + "futures-rustls 0.24.0", + "libp2p-core 0.40.1", + "libp2p-identity 0.2.10", + "rcgen", + "ring 0.16.20", + "rustls 0.21.10", + "rustls-webpki 0.101.7", + "thiserror", + "x509-parser 0.15.1", "yasna", ] +[[package]] +name = "libp2p-upnp" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82775a47b34f10f787ad3e2a22e2c1541e6ebef4fe9f28f3ac553921554c94c1" +dependencies = [ + "futures", + "futures-timer", + "igd-next", + "libp2p-core 0.40.1", + "libp2p-swarm 0.43.7", + "log", + "tokio", + "void", +] + [[package]] name = "libp2p-wasm-ext" version = "0.39.0" @@ -3995,12 +4732,26 @@ checksum = "77dff9d32353a5887adb86c8afc1de1a94d9e8c3bc6df8b2201d7cdf5c848f43" dependencies = [ "futures", "js-sys", - "libp2p-core", + "libp2p-core 0.39.2", "parity-send-wrapper", "wasm-bindgen", "wasm-bindgen-futures", ] +[[package]] +name = "libp2p-wasm-ext" +version = "0.40.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e5d8e3a9e07da0ef5b55a9f26c009c8fb3c725d492d8bb4b431715786eea79c" +dependencies = [ + "futures", + "js-sys", + "libp2p-core 0.40.1", + "send_wrapper", + "wasm-bindgen", + "wasm-bindgen-futures", +] + [[package]] name = "libp2p-websocket" version = "0.41.0" @@ -4009,15 +4760,36 @@ checksum = "111273f7b3d3510524c752e8b7a5314b7f7a1fee7e68161c01a7d72cbb06db9f" dependencies = [ "either", "futures", - "futures-rustls", - "libp2p-core", + "futures-rustls 0.22.2", + "libp2p-core 0.39.2", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "quicksink", - "rw-stream-sink", - "soketto", + "rw-stream-sink 0.3.0", + "soketto 0.7.1", + "url", + "webpki-roots 0.22.6", +] + +[[package]] +name = "libp2p-websocket" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "004ee9c4a4631435169aee6aad2f62e3984dc031c43b6d29731e8e82a016c538" +dependencies = [ + "either", + "futures", + "futures-rustls 0.24.0", + "libp2p-core 0.40.1", + "libp2p-identity 0.2.10", + "log", + "parking_lot 0.12.3", + "pin-project-lite 0.2.14", + "rw-stream-sink 0.4.0", + "soketto 0.8.0", + "thiserror", "url", - "webpki-roots", + "webpki-roots 0.25.4", ] [[package]] @@ -4027,10 +4799,23 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4dcd21d950662700a385d4c6d68e2f5f54d778e97068cdd718522222ef513bda" dependencies = [ "futures", - "libp2p-core", + "libp2p-core 0.39.2", + "log", + "thiserror", + "yamux 0.10.2", +] + +[[package]] +name = "libp2p-yamux" +version = "0.44.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8eedcb62824c4300efb9cfd4e2a6edaf3ca097b9e68b36dabe45a44469fd6a85" +dependencies = [ + "futures", + "libp2p-core 0.40.1", "log", "thiserror", - "yamux", + "yamux 0.12.1", ] [[package]] @@ -4175,44 +4960,108 @@ dependencies = [ ] [[package]] -name = "lock_api" -version = "0.4.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" -dependencies = [ - "autocfg", - "scopeguard", -] - -[[package]] -name = "log" -version = "0.4.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" - -[[package]] -name = "lru" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "718e8fae447df0c7e1ba7f5189829e63fd536945c8988d61444c19039f16b670" -dependencies = [ - "hashbrown 0.13.2", -] - -[[package]] -name = "lru-cache" -version = "0.1.2" +name = "litep2p" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31e24f1ad8321ca0e8a1e0ac13f23cb668e6f5466c2c57319f6a5cf1cc8e3b1c" +checksum = "0f46c51c205264b834ceed95c8b195026e700494bc3991aaba3b4ea9e20626d9" dependencies = [ - "linked-hash-map", -] - -[[package]] -name = "lz4" -version = "1.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e9e2dd86df36ce760a60f6ff6ad526f7ba1f14ba0356f8254fb6905e6494df1" + "async-trait", + "bs58 0.4.0", + "bytes", + "cid 0.10.1", + "ed25519-dalek", + "futures", + "futures-timer", + "hex-literal", + "indexmap 2.2.6", + "libc", + "mockall 0.12.1", + "multiaddr 0.17.1", + "multihash 0.17.0", + "network-interface", + "nohash-hasher", + "parking_lot 0.12.3", + "pin-project", + "prost 0.12.6", + "prost-build 0.11.9", + "quinn 0.9.4", + "rand", + "rcgen", + "ring 0.16.20", + "rustls 0.20.9", + "serde", + "sha2 0.10.8", + "simple-dns", + "smallvec", + "snow", + "socket2 0.5.7", + "static_assertions", + "str0m", + "thiserror", + "tokio", + "tokio-stream", + "tokio-tungstenite", + "tokio-util", + "tracing", + "trust-dns-resolver 0.23.2", + "uint", + "unsigned-varint 0.8.0", + "url", + "webpki", + "x25519-dalek 2.0.1", + "x509-parser 0.16.0", + "yasna", + "zeroize", +] + +[[package]] +name = "lock_api" +version = "0.4.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" +dependencies = [ + "autocfg", + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" + +[[package]] +name = "lru" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "718e8fae447df0c7e1ba7f5189829e63fd536945c8988d61444c19039f16b670" +dependencies = [ + "hashbrown 0.13.2", +] + +[[package]] +name = "lru" +version = "0.12.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38" +dependencies = [ + "hashbrown 0.15.1", +] + +[[package]] +name = "lru-cache" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31e24f1ad8321ca0e8a1e0ac13f23cb668e6f5466c2c57319f6a5cf1cc8e3b1c" +dependencies = [ + "linked-hash-map", +] + +[[package]] +name = "lz4" +version = "1.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e9e2dd86df36ce760a60f6ff6ad526f7ba1f14ba0356f8254fb6905e6494df1" dependencies = [ "libc", "lz4-sys", @@ -4239,9 +5088,9 @@ dependencies = [ [[package]] name = "macro_magic" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e03844fc635e92f3a0067e25fa4bf3e3dbf3f2927bf3aa01bb7bc8f1c428949d" +checksum = "cc33f9f0351468d26fbc53d9ce00a096c8522ecb42f19b50f34f2c422f76d21d" dependencies = [ "macro_magic_core", "macro_magic_macros", @@ -4251,12 +5100,12 @@ dependencies = [ [[package]] name = "macro_magic_core" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "468155613a44cfd825f1fb0ffa532b018253920d404e6fca1e8d43155198a46d" +checksum = "1687dc887e42f352865a393acae7cf79d98fab6351cde1f58e9e057da89bf150" dependencies = [ "const-random", - "derive-syn-parse 0.1.5", + "derive-syn-parse", "macro_magic_core_macros", "proc-macro2", "quote", @@ -4265,9 +5114,9 @@ dependencies = [ [[package]] name = "macro_magic_core_macros" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ea73aa640dc01d62a590d48c0c3521ed739d53b27f919b25c3551e233481654" +checksum = "b02abfe41815b5bd98dbd4260173db2c116dda171dc0fe7838cb206333b83308" dependencies = [ "proc-macro2", "quote", @@ -4276,9 +5125,9 @@ dependencies = [ [[package]] name = "macro_magic_macros" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef9d79ae96aaba821963320eb2b6e34d17df1e5a83d8a1985c29cc5be59577b3" +checksum = "73ea28ee64b88876bf45277ed9a5817c1817df061a74f2b988971a12570e5869" dependencies = [ "macro_magic_core", "quote", @@ -4306,6 +5155,15 @@ dependencies = [ "regex-automata 0.1.10", ] +[[package]] +name = "matchers" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558" +dependencies = [ + "regex-automata 0.1.10", +] + [[package]] name = "matches" version = "0.1.10" @@ -4422,12 +5280,12 @@ dependencies = [ "bitflags 1.3.2", "blake2 0.10.6", "c2-chacha", - "curve25519-dalek 4.1.2", + "curve25519-dalek 4.1.3", "either", "hashlink", "lioness", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand", "rand_chacha", "rand_distr", @@ -4446,8 +5304,23 @@ dependencies = [ "downcast", "fragile", "lazy_static", - "mockall_derive", - "predicates", + "mockall_derive 0.11.4", + "predicates 2.1.5", + "predicates-tree", +] + +[[package]] +name = "mockall" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43766c2b5203b10de348ffe19f7e54564b64f3d6018ff7648d1e2d6d3a0f0a48" +dependencies = [ + "cfg-if", + "downcast", + "fragile", + "lazy_static", + "mockall_derive 0.12.1", + "predicates 3.1.2", "predicates-tree", ] @@ -4463,6 +5336,18 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "mockall_derive" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af7cbce79ec385a1d4f54baa90a76401eb15d9cab93685f62e7e9f942aa00ae2" +dependencies = [ + "cfg-if", + "proc-macro2", + "quote", + "syn 2.0.87", +] + [[package]] name = "multiaddr" version = "0.17.1" @@ -4474,11 +5359,30 @@ dependencies = [ "data-encoding", "log", "multibase", - "multihash", + "multihash 0.17.0", + "percent-encoding", + "serde", + "static_assertions", + "unsigned-varint 0.7.2", + "url", +] + +[[package]] +name = "multiaddr" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe6351f60b488e04c1d21bc69e56b89cb3f5e8f5d22557d6e8031bdfd79b6961" +dependencies = [ + "arrayref", + "byteorder", + "data-encoding", + "libp2p-identity 0.2.10", + "multibase", + "multihash 0.19.2", "percent-encoding", "serde", "static_assertions", - "unsigned-varint", + "unsigned-varint 0.8.0", "url", ] @@ -4507,7 +5411,34 @@ dependencies = [ "multihash-derive", "sha2 0.10.8", "sha3", - "unsigned-varint", + "unsigned-varint 0.7.2", +] + +[[package]] +name = "multihash" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfd8a792c1694c6da4f68db0a9d707c72bd260994da179e6030a5dcee00bb815" +dependencies = [ + "blake2b_simd", + "blake2s_simd", + "blake3", + "core2", + "digest 0.10.7", + "multihash-derive", + "sha2 0.10.8", + "sha3", + "unsigned-varint 0.7.2", +] + +[[package]] +name = "multihash" +version = "0.19.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc41f430805af9d1cf4adae4ed2149c759b877b01d909a1f40256188d09345d2" +dependencies = [ + "core2", + "unsigned-varint 0.8.0", ] [[package]] @@ -4521,7 +5452,7 @@ dependencies = [ "proc-macro2", "quote", "syn 1.0.109", - "synstructure", + "synstructure 0.12.6", ] [[package]] @@ -4541,7 +5472,21 @@ dependencies = [ "log", "pin-project", "smallvec", - "unsigned-varint", + "unsigned-varint 0.7.2", +] + +[[package]] +name = "multistream-select" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea0df8e5eec2298a62b326ee4f0d7fe1a6b90a09dfcf9df37b38f947a8c42f19" +dependencies = [ + "bytes", + "futures", + "log", + "pin-project", + "smallvec", + "unsigned-varint 0.7.2", ] [[package]] @@ -4646,6 +5591,18 @@ dependencies = [ "tokio", ] +[[package]] +name = "network-interface" +version = "1.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4a43439bf756eed340bdf8feba761e2d50c7d47175d87545cd5cbe4a137c4d1" +dependencies = [ + "cc", + "libc", + "thiserror", + "winapi", +] + [[package]] name = "nix" version = "0.24.3" @@ -4679,6 +5636,12 @@ dependencies = [ "minimal-lexical", ] +[[package]] +name = "nonempty" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9e591e719385e6ebaeb5ce5d3887f7d5676fceca6411d1925ccc95745f3d6f7" + [[package]] name = "nonzero_ext" version = "0.3.0" @@ -4691,6 +5654,16 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" +[[package]] +name = "nu-ansi-term" +version = "0.46.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" +dependencies = [ + "overload", + "winapi", +] + [[package]] name = "num-bigint" version = "0.4.4" @@ -4801,7 +5774,16 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9bedf36ffb6ba96c2eb7144ef6270557b52e54b20c0a8e1eb2ff99a6c6959bff" dependencies = [ - "asn1-rs", + "asn1-rs 0.5.2", +] + +[[package]] +name = "oid-registry" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8d8034d9489cdaf79228eb9f6a3b8d7bb32ba00d6645ebd48eef4077ceb5bd9" +dependencies = [ + "asn1-rs 0.6.2", ] [[package]] @@ -4822,36 +5804,91 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" +[[package]] +name = "openssl" +version = "0.10.68" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6174bc48f102d208783c2c84bf931bb75927a617866870de8a4ea85597f871f5" +dependencies = [ + "bitflags 2.5.0", + "cfg-if", + "foreign-types", + "libc", + "once_cell", + "openssl-macros", + "openssl-sys", +] + +[[package]] +name = "openssl-macros" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.87", +] + [[package]] name = "openssl-probe" version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +[[package]] +name = "openssl-src" +version = "300.4.1+3.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "faa4eac4138c62414b5622d1b31c5c304f34b406b013c079c2bbc652fdd6678c" +dependencies = [ + "cc", +] + +[[package]] +name = "openssl-sys" +version = "0.9.104" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45abf306cbf99debc8195b66b7346498d7b10c210de50418b5ccd7ceba08c741" +dependencies = [ + "cc", + "libc", + "openssl-src", + "pkg-config", + "vcpkg", +] + [[package]] name = "option-ext" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" +[[package]] +name = "overload" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" + [[package]] name = "pallet-authorship" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "625d47577cabbe1318ccec5d612e2379002d1b6af1ab6edcef3243c66ec246df" dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "sp-runtime 39.0.2", ] [[package]] name = "pallet-babe" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ee096c0def13832475b340d00121025e0225de29604d44bc6dfcaa294c995b4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4862,20 +5899,20 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto", - "sp-consensus-babe", - "sp-core", - "sp-io", - "sp-runtime", - "sp-session", - "sp-staking", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "sp-application-crypto 38.0.0", + "sp-consensus-babe 0.40.0", + "sp-core 34.0.0", + "sp-io 38.0.0", + "sp-runtime 39.0.2", + "sp-session 36.0.0", + "sp-staking 36.0.0", ] [[package]] name = "pallet-balances" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "39.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c6945b078919acb14d126490e4b0973a688568b30142476ca69c6df2bed27ad" dependencies = [ "docify", "frame-benchmarking", @@ -4884,14 +5921,14 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "sp-runtime 39.0.2", ] [[package]] name = "pallet-collective" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e149f1aefd444c9a1da6ec5a94bc8a7671d7a33078f85dd19ae5b06e3438e60" dependencies = [ "frame-benchmarking", "frame-support", @@ -4899,15 +5936,14 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "sp-core 34.0.0", + "sp-io 38.0.0", + "sp-runtime 39.0.2", ] [[package]] name = "pallet-doas" -version = "2.2.0" +version = "2.3.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4915,16 +5951,17 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "sp-core 34.0.0", + "sp-io 38.0.0", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "pallet-grandpa" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d3a570a4aac3173ea46b600408183ca2bcfdaadc077f802f11e6055963e2449" dependencies = [ "frame-benchmarking", "frame-support", @@ -4934,20 +5971,20 @@ dependencies = [ "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto", - "sp-consensus-grandpa", - "sp-core", - "sp-io", - "sp-runtime", - "sp-session", - "sp-staking", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "sp-application-crypto 38.0.0", + "sp-consensus-grandpa 21.0.0", + "sp-core 34.0.0", + "sp-io 38.0.0", + "sp-runtime 39.0.2", + "sp-session 36.0.0", + "sp-staking 36.0.0", ] [[package]] name = "pallet-membership" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1868b5dca4bbfd1f4a222cbb80735a5197020712a71577b496bbb7e19aaa5394" dependencies = [ "frame-benchmarking", "frame-support", @@ -4955,32 +5992,32 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "sp-core 34.0.0", + "sp-io 38.0.0", + "sp-runtime 39.0.2", ] [[package]] name = "pallet-node-authorization" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39ec3133be9e767b8feafbb26edd805824faa59956da008d2dc7fcf4b4720e56" dependencies = [ "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "sp-core 34.0.0", + "sp-io 38.0.0", + "sp-runtime 39.0.2", ] [[package]] name = "pallet-preimage" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "407828bc48c6193ac076fdf909b2fadcaaecd65f42b0b0a04afe22fe8e563834" dependencies = [ "frame-benchmarking", "frame-support", @@ -4988,15 +6025,14 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "sp-core 34.0.0", + "sp-io 38.0.0", + "sp-runtime 39.0.2", ] [[package]] name = "pallet-process-validation" -version = "3.6.0" +version = "3.7.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5004,17 +6040,18 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "sp-core 34.0.0", + "sp-io 38.0.0", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "sqnc-pallet-traits", ] [[package]] name = "pallet-scheduler" -version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "39.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26899a331e7ab5f7d5966cbf203e1cf5bd99cd110356d7ddcaa7597087cdc0b5" dependencies = [ "docify", "frame-benchmarking", @@ -5023,16 +6060,16 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-weights", + "sp-io 38.0.0", + "sp-runtime 39.0.2", + "sp-weights 31.0.0", ] [[package]] name = "pallet-session" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8474b62b6b7622f891e83d922a589e2ad5be5471f5ca47d45831a797dba0b3f4" dependencies = [ "frame-support", "frame-system", @@ -5041,20 +6078,20 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-session", - "sp-staking", - "sp-state-machine", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-trie", + "sp-core 34.0.0", + "sp-io 38.0.0", + "sp-runtime 39.0.2", + "sp-session 36.0.0", + "sp-staking 36.0.0", + "sp-state-machine 0.43.0", + "sp-trie 37.0.0", ] [[package]] name = "pallet-sudo" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1574fe2aed3d52db4a389b77b53d8c9758257b121e3e7bbe24c4904e11681e0e" dependencies = [ "docify", "frame-benchmarking", @@ -5062,33 +6099,35 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "sp-io 38.0.0", + "sp-runtime 39.0.2", ] [[package]] name = "pallet-symmetric-key" -version = "2.2.0" +version = "2.3.0" dependencies = [ "frame-benchmarking", "frame-support", - "frame-support-test", "frame-system", + "hex-literal", + "log", + "pallet-preimage", "pallet-scheduler", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "sp-core 34.0.0", + "sp-io 38.0.0", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "pallet-timestamp" -version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9ba9b71bbfd33ae672f23ba7efaeed2755fdac37b8f946cb7474fc37841b7e1" dependencies = [ "docify", "frame-benchmarking", @@ -5097,33 +6136,32 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-timestamp", + "sp-inherents 34.0.0", + "sp-io 38.0.0", + "sp-runtime 39.0.2", + "sp-storage 21.0.0", + "sp-timestamp 34.0.0", ] [[package]] name = "pallet-transaction-payment" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47b1aa3498107a30237f941b0f02180db3b79012c3488878ff01a4ac3e8ee04e" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "sp-core 34.0.0", + "sp-io 38.0.0", + "sp-runtime 39.0.2", ] [[package]] name = "pallet-transaction-payment-free" -version = "2.2.0" +version = "2.3.0" dependencies = [ "frame-support", "frame-system", @@ -5132,43 +6170,45 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "sp-core 34.0.0", + "sp-io 38.0.0", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "pallet-transaction-payment-rpc" -version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "41.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "291a021e6828d43b5165042d31691c5c20b5748ea8d5fc51e0359752482a04c2" dependencies = [ - "jsonrpsee", + "jsonrpsee 0.24.7", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-rpc", - "sp-runtime", - "sp-weights", + "sp-api 34.0.0", + "sp-blockchain 37.0.1", + "sp-core 34.0.0", + "sp-rpc 32.0.0", + "sp-runtime 39.0.2", + "sp-weights 31.0.0", ] [[package]] name = "pallet-transaction-payment-rpc-runtime-api" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49fdf5ab71e9dbcadcf7139736b6ea6bac8ec4a83985d46cbd130e1eec770e41" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", - "sp-api", - "sp-runtime", - "sp-weights", + "sp-api 34.0.0", + "sp-runtime 39.0.2", + "sp-weights 31.0.0", ] [[package]] name = "pallet-utxo-nft" -version = "6.3.0" +version = "6.4.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5176,10 +6216,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "sp-core 34.0.0", + "sp-io 38.0.0", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "sqnc-pallet-traits", ] @@ -5210,7 +6250,7 @@ dependencies = [ "log", "lz4", "memmap2 0.5.10", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand", "siphasher", "snap", @@ -5276,9 +6316,9 @@ dependencies = [ [[package]] name = "parking_lot" -version = "0.12.1" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" +checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" dependencies = [ "lock_api", "parking_lot_core 0.9.9", @@ -5330,9 +6370,9 @@ dependencies = [ [[package]] name = "paste" -version = "1.0.14" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" +checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" [[package]] name = "pbkdf2" @@ -5474,12 +6514,6 @@ version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" -[[package]] -name = "platforms" -version = "3.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db23d408679286588f4d4644f965003d056e3dd5abcaaa938116871d7ce2fee7" - [[package]] name = "polkavm" version = "0.9.3" @@ -5633,6 +6667,16 @@ dependencies = [ "regex", ] +[[package]] +name = "predicates" +version = "3.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e9086cc7640c29a356d1a29fd134380bee9d8f79a17410aa76e7ad295f42c97" +dependencies = [ + "anstyle", + "predicates-core", +] + [[package]] name = "predicates-core" version = "1.0.6" @@ -5659,16 +6703,6 @@ dependencies = [ "syn 2.0.87", ] -[[package]] -name = "pretty_assertions" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af7cee1a6c8a5b9208b3cb1061f10c0cb689087b3d8ce85fb9d2dd7a29b6ba66" -dependencies = [ - "diff", - "yansi", -] - [[package]] name = "prettyplease" version = "0.1.11" @@ -5745,6 +6779,17 @@ dependencies = [ "version_check", ] +[[package]] +name = "proc-macro-warning" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.87", +] + [[package]] name = "proc-macro-warning" version = "1.0.2" @@ -5775,7 +6820,7 @@ dependencies = [ "fnv", "lazy_static", "memchr", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "thiserror", ] @@ -5787,7 +6832,19 @@ checksum = "5d6fa99d535dd930d1249e6c79cb3c2915f9172a540fe2b02a4c8f9ca954721e" dependencies = [ "dtoa", "itoa", - "parking_lot 0.12.1", + "parking_lot 0.12.3", + "prometheus-client-derive-encode", +] + +[[package]] +name = "prometheus-client" +version = "0.21.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c99afa9a01501019ac3a14d71d9f94050346f55ca471ce90c799a15c58f61e2" +dependencies = [ + "dtoa", + "itoa", + "parking_lot 0.12.3", "prometheus-client-derive-encode", ] @@ -5814,12 +6871,12 @@ dependencies = [ [[package]] name = "prost" -version = "0.12.3" +version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "146c289cda302b98a28d40c8b3b90498d6e526dd24ac2ecea73e4e491685b94a" +checksum = "deb1435c188b76130da55f17a466d252ff7b1418b2ad3e037d127b94e3411f29" dependencies = [ "bytes", - "prost-derive 0.12.3", + "prost-derive 0.12.6", ] [[package]] @@ -5837,13 +6894,34 @@ dependencies = [ "petgraph", "prettyplease 0.1.11", "prost 0.11.9", - "prost-types", + "prost-types 0.11.9", "regex", "syn 1.0.109", "tempfile", "which", ] +[[package]] +name = "prost-build" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22505a5c94da8e3b7c2996394d1c933236c4d743e81a410bcca4e6989fc066a4" +dependencies = [ + "bytes", + "heck 0.5.0", + "itertools 0.11.0", + "log", + "multimap", + "once_cell", + "petgraph", + "prettyplease 0.2.17", + "prost 0.12.6", + "prost-types 0.12.6", + "regex", + "syn 2.0.87", + "tempfile", +] + [[package]] name = "prost-derive" version = "0.11.9" @@ -5859,9 +6937,9 @@ dependencies = [ [[package]] name = "prost-derive" -version = "0.12.3" +version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efb6c9a1dd1def8e2124d17e83a20af56f1570d6c2d2bd9e266ccb768df3840e" +checksum = "81bddcdb20abf9501610992b6759a4c888aef7d1a7247ef75e2404275ac24af1" dependencies = [ "anyhow", "itertools 0.11.0", @@ -5879,6 +6957,15 @@ dependencies = [ "prost 0.11.9", ] +[[package]] +name = "prost-types" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9091c90b0a32608e984ff2fa4091273cbdd755d54935c51d520887f4a1dbd5b0" +dependencies = [ + "prost 0.12.6", +] + [[package]] name = "psm" version = "0.1.21" @@ -5928,7 +7015,20 @@ dependencies = [ "bytes", "quick-protobuf", "thiserror", - "unsigned-varint", + "unsigned-varint 0.7.2", +] + +[[package]] +name = "quick-protobuf-codec" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8ededb1cd78531627244d51dd0c7139fbe736c7d57af0092a76f0ffb2f56e98" +dependencies = [ + "asynchronous-codec", + "bytes", + "quick-protobuf", + "thiserror", + "unsigned-varint 0.7.2", ] [[package]] @@ -5942,6 +7042,42 @@ dependencies = [ "pin-project-lite 0.1.12", ] +[[package]] +name = "quinn" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e8b432585672228923edbbf64b8b12c14e1112f62e88737655b4a083dbcd78e" +dependencies = [ + "bytes", + "pin-project-lite 0.2.14", + "quinn-proto 0.9.6", + "quinn-udp 0.3.2", + "rustc-hash 1.1.0", + "rustls 0.20.9", + "thiserror", + "tokio", + "tracing", + "webpki", +] + +[[package]] +name = "quinn" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8cc2c5017e4b43d5995dcea317bc46c1e09404c0a9664d2908f7f02dfe943d75" +dependencies = [ + "bytes", + "futures-io", + "pin-project-lite 0.2.14", + "quinn-proto 0.10.6", + "quinn-udp 0.4.1", + "rustc-hash 1.1.0", + "rustls 0.21.10", + "thiserror", + "tokio", + "tracing", +] + [[package]] name = "quinn-proto" version = "0.9.6" @@ -5951,7 +7087,7 @@ dependencies = [ "bytes", "rand", "ring 0.16.20", - "rustc-hash", + "rustc-hash 1.1.0", "rustls 0.20.9", "slab", "thiserror", @@ -5960,6 +7096,49 @@ dependencies = [ "webpki", ] +[[package]] +name = "quinn-proto" +version = "0.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "141bf7dfde2fbc246bfd3fe12f2455aa24b0fbd9af535d8c86c7bd1381ff2b1a" +dependencies = [ + "bytes", + "rand", + "ring 0.16.20", + "rustc-hash 1.1.0", + "rustls 0.21.10", + "slab", + "thiserror", + "tinyvec", + "tracing", +] + +[[package]] +name = "quinn-udp" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "641538578b21f5e5c8ea733b736895576d0fe329bb883b937db6f4d163dbaaf4" +dependencies = [ + "libc", + "quinn-proto 0.9.6", + "socket2 0.4.10", + "tracing", + "windows-sys 0.42.0", +] + +[[package]] +name = "quinn-udp" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "055b4e778e8feb9f93c4e439f71dc2156ef13360b432b799e179a8c4cdf0b1d7" +dependencies = [ + "bytes", + "libc", + "socket2 0.5.7", + "tracing", + "windows-sys 0.48.0", +] + [[package]] name = "quote" version = "1.0.35" @@ -6149,7 +7328,7 @@ checksum = "ad156d539c879b7a24a363a2016d77961786e71f48f2e2fc8302a92abd2429a6" dependencies = [ "hashbrown 0.13.2", "log", - "rustc-hash", + "rustc-hash 1.1.0", "slice-group-by", "smallvec", ] @@ -6328,6 +7507,12 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" +[[package]] +name = "rustc-hash" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "583034fd73374156e66797ed8e5b0d5690409c9226b22d87cb7f19821c05d152" + [[package]] name = "rustc-hex" version = "2.1.0" @@ -6505,6 +7690,17 @@ dependencies = [ "static_assertions", ] +[[package]] +name = "rw-stream-sink" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8c9026ff5d2f23da5e45bbc283f156383001bfb09c4e44256d02c1a685fe9a1" +dependencies = [ + "futures", + "pin-project", + "static_assertions", +] + [[package]] name = "ryu" version = "1.0.17" @@ -6535,31 +7731,44 @@ version = "23.0.0" source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" dependencies = [ "log", - "sp-core", + "sp-core 28.0.0", "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", "thiserror", ] +[[package]] +name = "sc-allocator" +version = "29.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b975ee3a95eaacb611e7b415737a7fa2db4d8ad7b880cc1b97371b04e95c7903" +dependencies = [ + "log", + "sp-core 34.0.0", + "sp-wasm-interface 21.0.1", + "thiserror", +] + [[package]] name = "sc-basic-authorship" -version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d3f4152eda19b140abc876a3b7434fce27c4c8cd47eff4095af0398d82f8141" dependencies = [ "futures", "futures-timer", "log", "parity-scale-codec", - "sc-block-builder", + "sc-block-builder 0.42.0", "sc-proposer-metrics", - "sc-telemetry", - "sc-transaction-pool-api", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-inherents", - "sp-runtime", - "substrate-prometheus-endpoint", + "sc-telemetry 25.0.0", + "sc-transaction-pool-api 37.0.0", + "sp-api 34.0.0", + "sp-blockchain 37.0.1", + "sp-consensus 0.40.0", + "sp-core 34.0.0", + "sp-inherents 34.0.0", + "sp-runtime 39.0.2", + "substrate-prometheus-endpoint 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -6568,13 +7777,29 @@ version = "0.33.0" source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" dependencies = [ "parity-scale-codec", - "sp-api", - "sp-block-builder", - "sp-blockchain", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-trie", + "sp-api 26.0.0", + "sp-block-builder 26.0.0", + "sp-blockchain 28.0.0", + "sp-core 28.0.0", + "sp-inherents 26.0.0", + "sp-runtime 31.0.1", + "sp-trie 29.0.0", +] + +[[package]] +name = "sc-block-builder" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f666f8ff11f96bf6d90676739eb7ccb6a156a4507634b7af83b94f0aa8195a50" +dependencies = [ + "parity-scale-codec", + "sp-api 34.0.0", + "sp-block-builder 34.0.0", + "sp-blockchain 37.0.1", + "sp-core 34.0.0", + "sp-inherents 34.0.0", + "sp-runtime 39.0.2", + "sp-trie 37.0.0", ] [[package]] @@ -6587,20 +7812,48 @@ dependencies = [ "log", "memmap2 0.9.4", "parity-scale-codec", - "sc-chain-spec-derive", - "sc-client-api", - "sc-executor", - "sc-network", - "sc-telemetry", + "sc-chain-spec-derive 11.0.0", + "sc-client-api 28.0.0", + "sc-executor 0.32.0", + "sc-network 0.34.0", + "sc-telemetry 15.0.0", + "serde", + "serde_json", + "sp-blockchain 28.0.0", + "sp-core 28.0.0", + "sp-crypto-hashing 0.0.0", + "sp-genesis-builder 0.7.0", + "sp-io 30.0.0", + "sp-runtime 31.0.1", + "sp-state-machine 0.35.0", +] + +[[package]] +name = "sc-chain-spec" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3534c5dc910e6c9e0f25871948e7bb683852d1aef44b8b7753062feef4235e7c" +dependencies = [ + "array-bytes 6.2.2", + "docify", + "log", + "memmap2 0.9.4", + "parity-scale-codec", + "sc-chain-spec-derive 12.0.0", + "sc-client-api 37.0.0", + "sc-executor 0.40.1", + "sc-network 0.45.1", + "sc-telemetry 25.0.0", "serde", "serde_json", - "sp-blockchain", - "sp-core", - "sp-crypto-hashing", - "sp-genesis-builder", - "sp-io", - "sp-runtime", - "sp-state-machine", + "sp-blockchain 37.0.1", + "sp-core 34.0.0", + "sp-crypto-hashing 0.1.0", + "sp-genesis-builder 0.15.1", + "sp-io 38.0.0", + "sp-runtime 39.0.2", + "sp-state-machine 0.43.0", + "sp-tracing 17.0.1", ] [[package]] @@ -6614,6 +7867,18 @@ dependencies = [ "syn 2.0.87", ] +[[package]] +name = "sc-chain-spec-derive" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b18cef11d2c69703e0d7c3528202ef4ed1cd2b47a6f063e9e17cad8255b1fa94" +dependencies = [ + "proc-macro-crate 3.1.0", + "proc-macro2", + "quote", + "syn 2.0.87", +] + [[package]] name = "sc-cli" version = "0.36.0" @@ -6625,7 +7890,7 @@ dependencies = [ "fdlimit", "futures", "itertools 0.10.5", - "libp2p-identity", + "libp2p-identity 0.1.3", "log", "names", "parity-bip39", @@ -6633,53 +7898,123 @@ dependencies = [ "rand", "regex", "rpassword", - "sc-client-api", - "sc-client-db", - "sc-keystore", - "sc-mixnet", - "sc-network", - "sc-service", - "sc-telemetry", - "sc-tracing", - "sc-utils", + "sc-client-api 28.0.0", + "sc-client-db 0.35.0", + "sc-keystore 25.0.0", + "sc-mixnet 0.4.0", + "sc-network 0.34.0", + "sc-service 0.35.0", + "sc-telemetry 15.0.0", + "sc-tracing 28.0.0", + "sc-utils 14.0.0", "serde", "serde_json", - "sp-blockchain", - "sp-core", - "sp-keyring", - "sp-keystore", - "sp-panic-handler", - "sp-runtime", - "sp-version", + "sp-blockchain 28.0.0", + "sp-core 28.0.0", + "sp-keyring 31.0.0", + "sp-keystore 0.34.0", + "sp-panic-handler 13.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "sp-runtime 31.0.1", + "sp-version 29.0.0", "thiserror", "tokio", ] [[package]] -name = "sc-client-api" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +name = "sc-cli" +version = "0.47.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55a161ee7bf9d571c567f208b89ef4f2fd3c082180a54399403f7fdc44e94da5" dependencies = [ - "fnv", + "array-bytes 6.2.2", + "chrono", + "clap", + "fdlimit", "futures", + "itertools 0.11.0", + "libp2p-identity 0.2.10", "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "sc-executor", - "sc-transaction-pool-api", - "sc-utils", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-database", + "names", + "parity-bip39", + "parity-scale-codec", + "rand", + "regex", + "rpassword", + "sc-client-api 37.0.0", + "sc-client-db 0.44.1", + "sc-keystore 33.0.0", + "sc-mixnet 0.15.0", + "sc-network 0.45.1", + "sc-service 0.46.0", + "sc-telemetry 25.0.0", + "sc-tracing 37.0.1", + "sc-utils 17.0.0", + "serde", + "serde_json", + "sp-blockchain 37.0.1", + "sp-core 34.0.0", + "sp-keyring 39.0.0", + "sp-keystore 0.40.0", + "sp-panic-handler 13.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-version 37.0.0", + "thiserror", + "tokio", +] + +[[package]] +name = "sc-client-api" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +dependencies = [ + "fnv", + "futures", + "log", + "parity-scale-codec", + "parking_lot 0.12.3", + "sc-executor 0.32.0", + "sc-transaction-pool-api 28.0.0", + "sc-utils 14.0.0", + "sp-api 26.0.0", + "sp-blockchain 28.0.0", + "sp-consensus 0.32.0", + "sp-core 28.0.0", + "sp-database 10.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-runtime", - "sp-state-machine", - "sp-statement-store", + "sp-runtime 31.0.1", + "sp-state-machine 0.35.0", + "sp-statement-store 10.0.0", "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-trie", - "substrate-prometheus-endpoint", + "sp-trie 29.0.0", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", +] + +[[package]] +name = "sc-client-api" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e73f1673cdfe658c4be6ffd5113b71c0de74616717e604455dcfd29e15781729" +dependencies = [ + "fnv", + "futures", + "log", + "parity-scale-codec", + "parking_lot 0.12.3", + "sc-executor 0.40.1", + "sc-transaction-pool-api 37.0.0", + "sc-utils 17.0.0", + "sp-api 34.0.0", + "sp-blockchain 37.0.1", + "sp-consensus 0.40.0", + "sp-core 34.0.0", + "sp-database 10.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0", + "sp-runtime 39.0.2", + "sp-state-machine 0.43.0", + "sp-statement-store 18.0.0", + "sp-storage 21.0.0", + "sp-trie 37.0.0", + "substrate-prometheus-endpoint 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -6695,17 +8030,44 @@ dependencies = [ "log", "parity-db", "parity-scale-codec", - "parking_lot 0.12.1", - "sc-client-api", - "sc-state-db", + "parking_lot 0.12.3", + "sc-client-api 28.0.0", + "sc-state-db 0.30.0", "schnellru", - "sp-arithmetic", - "sp-blockchain", - "sp-core", - "sp-database", - "sp-runtime", - "sp-state-machine", - "sp-trie", + "sp-arithmetic 23.0.0", + "sp-blockchain 28.0.0", + "sp-core 28.0.0", + "sp-database 10.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "sp-runtime 31.0.1", + "sp-state-machine 0.35.0", + "sp-trie 29.0.0", +] + +[[package]] +name = "sc-client-db" +version = "0.44.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5517718f03357325c6f51a780710fac652f125316f3577d1a25a7fbdc1816db2" +dependencies = [ + "hash-db", + "kvdb", + "kvdb-memorydb", + "kvdb-rocksdb", + "linked-hash-map", + "log", + "parity-db", + "parity-scale-codec", + "parking_lot 0.12.3", + "sc-client-api 37.0.0", + "sc-state-db 0.36.0", + "schnellru", + "sp-arithmetic 26.0.0", + "sp-blockchain 37.0.1", + "sp-core 34.0.0", + "sp-database 10.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-state-machine 0.43.0", + "sp-trie 37.0.0", ] [[package]] @@ -6716,222 +8078,255 @@ dependencies = [ "async-trait", "futures", "futures-timer", - "libp2p-identity", + "libp2p-identity 0.1.3", + "log", + "mockall 0.11.4", + "parking_lot 0.12.3", + "sc-client-api 28.0.0", + "sc-utils 14.0.0", + "serde", + "sp-api 26.0.0", + "sp-blockchain 28.0.0", + "sp-consensus 0.32.0", + "sp-core 28.0.0", + "sp-runtime 31.0.1", + "sp-state-machine 0.35.0", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "thiserror", +] + +[[package]] +name = "sc-consensus" +version = "0.44.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f64e538ab9edefbf0ddc105ff5b088344c88bc86f21650a2d2020be04a957730" +dependencies = [ + "async-trait", + "futures", "log", - "mockall", - "parking_lot 0.12.1", - "sc-client-api", - "sc-utils", + "mockall 0.11.4", + "parking_lot 0.12.3", + "sc-client-api 37.0.0", + "sc-network-types", + "sc-utils 17.0.0", "serde", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-runtime", - "sp-state-machine", - "substrate-prometheus-endpoint", + "sp-api 34.0.0", + "sp-blockchain 37.0.1", + "sp-consensus 0.40.0", + "sp-core 34.0.0", + "sp-runtime 39.0.2", + "sp-state-machine 0.43.0", + "substrate-prometheus-endpoint 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", "thiserror", ] [[package]] name = "sc-consensus-aura" -version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "067552bcf461c0089272b2575b2ac512fd8ca7a7bd7098aee49ccc4d67041787" dependencies = [ "async-trait", "futures", "log", "parity-scale-codec", - "sc-block-builder", - "sc-client-api", - "sc-consensus", + "sc-block-builder 0.42.0", + "sc-client-api 37.0.0", + "sc-consensus 0.44.0", "sc-consensus-slots", - "sc-telemetry", - "sp-api", - "sp-application-crypto", - "sp-block-builder", - "sp-blockchain", - "sp-consensus", - "sp-consensus-aura", - "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", - "substrate-prometheus-endpoint", + "sc-telemetry 25.0.0", + "sp-api 34.0.0", + "sp-application-crypto 38.0.0", + "sp-block-builder 34.0.0", + "sp-blockchain 37.0.1", + "sp-consensus 0.40.0", + "sp-consensus-aura 0.40.0", + "sp-consensus-slots 0.40.1", + "sp-core 34.0.0", + "sp-inherents 34.0.0", + "sp-keystore 0.40.0", + "sp-runtime 39.0.2", + "substrate-prometheus-endpoint 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", "thiserror", ] [[package]] name = "sc-consensus-babe" -version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39a6aecbb63f5e046c83055d656cf9f203715b38e000ae0df157461582c90eba" dependencies = [ "async-trait", - "fork-tree", + "fork-tree 13.0.0", "futures", "log", "num-bigint", "num-rational", "num-traits", "parity-scale-codec", - "parking_lot 0.12.1", - "sc-client-api", - "sc-consensus", + "parking_lot 0.12.3", + "sc-client-api 37.0.0", + "sc-consensus 0.44.0", "sc-consensus-epochs", "sc-consensus-slots", - "sc-telemetry", - "sc-transaction-pool-api", - "sp-api", - "sp-application-crypto", - "sp-block-builder", - "sp-blockchain", - "sp-consensus", - "sp-consensus-babe", - "sp-consensus-slots", - "sp-core", - "sp-crypto-hashing", - "sp-inherents", - "sp-keystore", - "sp-runtime", - "substrate-prometheus-endpoint", + "sc-telemetry 25.0.0", + "sc-transaction-pool-api 37.0.0", + "sp-api 34.0.0", + "sp-application-crypto 38.0.0", + "sp-block-builder 34.0.0", + "sp-blockchain 37.0.1", + "sp-consensus 0.40.0", + "sp-consensus-babe 0.40.0", + "sp-consensus-slots 0.40.1", + "sp-core 34.0.0", + "sp-crypto-hashing 0.1.0", + "sp-inherents 34.0.0", + "sp-keystore 0.40.0", + "sp-runtime 39.0.2", + "substrate-prometheus-endpoint 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", "thiserror", ] [[package]] name = "sc-consensus-babe-rpc" -version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78556a2fc64c45518eab6f059ad379da808431fe351475df216e2bc66ac7af65" dependencies = [ "futures", - "jsonrpsee", + "jsonrpsee 0.24.7", "sc-consensus-babe", "sc-consensus-epochs", - "sc-rpc-api", + "sc-rpc-api 0.44.0", "serde", - "sp-api", - "sp-application-crypto", - "sp-blockchain", - "sp-consensus", - "sp-consensus-babe", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-api 34.0.0", + "sp-application-crypto 38.0.0", + "sp-blockchain 37.0.1", + "sp-consensus 0.40.0", + "sp-consensus-babe 0.40.0", + "sp-core 34.0.0", + "sp-keystore 0.40.0", + "sp-runtime 39.0.2", "thiserror", ] [[package]] name = "sc-consensus-epochs" -version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "0.44.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3634e8f5dfc397e0d3fc8e3a714c21338eacb3ed276089a6df47e7aa926d51d4" dependencies = [ - "fork-tree", + "fork-tree 13.0.0", "parity-scale-codec", - "sc-client-api", - "sc-consensus", - "sp-blockchain", - "sp-runtime", + "sc-client-api 37.0.0", + "sc-consensus 0.44.0", + "sp-blockchain 37.0.1", + "sp-runtime 39.0.2", ] [[package]] name = "sc-consensus-grandpa" -version = "0.19.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3aaab70cf6f93ceea829ef0a4980ce95d84d5c7f4b5419b29bbed17fa04e1a6" dependencies = [ "ahash 0.8.11", "array-bytes 6.2.2", "async-trait", "dyn-clone", "finality-grandpa", - "fork-tree", + "fork-tree 13.0.0", "futures", "futures-timer", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand", - "sc-block-builder", - "sc-chain-spec", - "sc-client-api", - "sc-consensus", - "sc-network", - "sc-network-common", + "sc-block-builder 0.42.0", + "sc-chain-spec 38.0.0", + "sc-client-api 37.0.0", + "sc-consensus 0.44.0", + "sc-network 0.45.1", + "sc-network-common 0.44.0", "sc-network-gossip", - "sc-network-sync", - "sc-telemetry", - "sc-transaction-pool-api", - "sc-utils", + "sc-network-sync 0.44.1", + "sc-network-types", + "sc-telemetry 25.0.0", + "sc-transaction-pool-api 37.0.0", + "sc-utils 17.0.0", "serde_json", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", - "sp-blockchain", - "sp-consensus", - "sp-consensus-grandpa", - "sp-core", - "sp-crypto-hashing", - "sp-keystore", - "sp-runtime", - "substrate-prometheus-endpoint", + "sp-api 34.0.0", + "sp-application-crypto 38.0.0", + "sp-arithmetic 26.0.0", + "sp-blockchain 37.0.1", + "sp-consensus 0.40.0", + "sp-consensus-grandpa 21.0.0", + "sp-core 34.0.0", + "sp-crypto-hashing 0.1.0", + "sp-keystore 0.40.0", + "sp-runtime 39.0.2", + "substrate-prometheus-endpoint 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", "thiserror", ] [[package]] name = "sc-consensus-manual-seal" -version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "0.46.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98b4b6feaedf2f6e7b05f27a8add78f5835f026d642e387ef379a48baf9a96e9" dependencies = [ "assert_matches", "async-trait", "futures", "futures-timer", - "jsonrpsee", + "jsonrpsee 0.24.7", "log", "parity-scale-codec", - "sc-client-api", - "sc-consensus", + "sc-client-api 37.0.0", + "sc-consensus 0.44.0", "sc-consensus-aura", "sc-consensus-babe", "sc-consensus-epochs", - "sc-transaction-pool", - "sc-transaction-pool-api", + "sc-transaction-pool 37.0.0", + "sc-transaction-pool-api 37.0.0", "serde", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-consensus-aura", - "sp-consensus-babe", - "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", - "sp-timestamp", - "substrate-prometheus-endpoint", + "sp-api 34.0.0", + "sp-blockchain 37.0.1", + "sp-consensus 0.40.0", + "sp-consensus-aura 0.40.0", + "sp-consensus-babe 0.40.0", + "sp-consensus-slots 0.40.1", + "sp-core 34.0.0", + "sp-inherents 34.0.0", + "sp-keystore 0.40.0", + "sp-runtime 39.0.2", + "sp-timestamp 34.0.0", + "substrate-prometheus-endpoint 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", "thiserror", ] [[package]] name = "sc-consensus-slots" -version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "0.44.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30fcce6ff513c2479c57eac880ba8d4254c146b678a0072d90f81796d47091df" dependencies = [ "async-trait", "futures", "futures-timer", "log", "parity-scale-codec", - "sc-client-api", - "sc-consensus", - "sc-telemetry", - "sp-arithmetic", - "sp-blockchain", - "sp-consensus", - "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-state-machine", + "sc-client-api 37.0.0", + "sc-consensus 0.44.0", + "sc-telemetry 25.0.0", + "sp-arithmetic 26.0.0", + "sp-blockchain 37.0.1", + "sp-consensus 0.40.0", + "sp-consensus-slots 0.40.1", + "sp-core 34.0.0", + "sp-inherents 34.0.0", + "sp-runtime 39.0.2", + "sp-state-machine 0.43.0", ] [[package]] @@ -6940,36 +8335,74 @@ version = "0.32.0" source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" dependencies = [ "parity-scale-codec", - "parking_lot 0.12.1", - "sc-executor-common", - "sc-executor-polkavm", - "sc-executor-wasmtime", + "parking_lot 0.12.3", + "sc-executor-common 0.29.0", + "sc-executor-polkavm 0.29.0", + "sc-executor-wasmtime 0.29.0", "schnellru", - "sp-api", - "sp-core", + "sp-api 26.0.0", + "sp-core 28.0.0", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-io", - "sp-panic-handler", + "sp-io 30.0.0", + "sp-panic-handler 13.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-trie", - "sp-version", + "sp-trie 29.0.0", + "sp-version 29.0.0", "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", "tracing", ] +[[package]] +name = "sc-executor" +version = "0.40.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f0cc0a3728fd033589183460c5a49b2e7545d09dc89a098216ef9e9aadcd9dc" +dependencies = [ + "parity-scale-codec", + "parking_lot 0.12.3", + "sc-executor-common 0.35.0", + "sc-executor-polkavm 0.32.0", + "sc-executor-wasmtime 0.35.0", + "schnellru", + "sp-api 34.0.0", + "sp-core 34.0.0", + "sp-externalities 0.29.0", + "sp-io 38.0.0", + "sp-panic-handler 13.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime-interface 28.0.0", + "sp-trie 37.0.0", + "sp-version 37.0.0", + "sp-wasm-interface 21.0.1", + "tracing", +] + [[package]] name = "sc-executor-common" version = "0.29.0" source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" dependencies = [ "polkavm", - "sc-allocator", - "sp-maybe-compressed-blob", + "sc-allocator 23.0.0", + "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", "thiserror", "wasm-instrument", ] +[[package]] +name = "sc-executor-common" +version = "0.35.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c3b703a33dcb7cddf19176fdf12294b9a6408125836b0f4afee3e6969e7f190" +dependencies = [ + "polkavm", + "sc-allocator 29.0.0", + "sp-maybe-compressed-blob 11.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-wasm-interface 21.0.1", + "thiserror", + "wasm-instrument", +] + [[package]] name = "sc-executor-polkavm" version = "0.29.0" @@ -6977,10 +8410,22 @@ source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polk dependencies = [ "log", "polkavm", - "sc-executor-common", + "sc-executor-common 0.29.0", "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", ] +[[package]] +name = "sc-executor-polkavm" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26fe58d9cacfab73e5595fa84b80f7bd03efebe54a0574daaeb221a1d1f7ab80" +dependencies = [ + "log", + "polkavm", + "sc-executor-common 0.35.0", + "sp-wasm-interface 21.0.1", +] + [[package]] name = "sc-executor-wasmtime" version = "0.29.0" @@ -6990,15 +8435,34 @@ dependencies = [ "cfg-if", "libc", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rustix 0.36.17", - "sc-allocator", - "sc-executor-common", + "sc-allocator 23.0.0", + "sc-executor-common 0.29.0", "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", "wasmtime", ] +[[package]] +name = "sc-executor-wasmtime" +version = "0.35.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8cd498f2f77ec1f861c30804f5bfd796d4afcc8ce44ea1f11bfbe2847551d161" +dependencies = [ + "anyhow", + "cfg-if", + "libc", + "log", + "parking_lot 0.12.3", + "rustix 0.36.17", + "sc-allocator 29.0.0", + "sc-executor-common 0.35.0", + "sp-runtime-interface 28.0.0", + "sp-wasm-interface 21.0.1", + "wasmtime", +] + [[package]] name = "sc-informant" version = "0.33.0" @@ -7008,12 +8472,30 @@ dependencies = [ "futures", "futures-timer", "log", - "sc-client-api", - "sc-network", - "sc-network-common", - "sc-network-sync", - "sp-blockchain", - "sp-runtime", + "sc-client-api 28.0.0", + "sc-network 0.34.0", + "sc-network-common 0.33.0", + "sc-network-sync 0.33.0", + "sp-blockchain 28.0.0", + "sp-runtime 31.0.1", +] + +[[package]] +name = "sc-informant" +version = "0.44.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c24f636bccd2df534d75b75bd61d96d8abb68a5fe6f6c427e9faee7d7a07a96" +dependencies = [ + "console", + "futures", + "futures-timer", + "log", + "sc-client-api 37.0.0", + "sc-network 0.45.1", + "sc-network-common 0.44.0", + "sc-network-sync 0.44.1", + "sp-blockchain 37.0.1", + "sp-runtime 39.0.2", ] [[package]] @@ -7022,11 +8504,26 @@ version = "25.0.0" source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" dependencies = [ "array-bytes 6.2.2", - "parking_lot 0.12.1", + "parking_lot 0.12.3", + "serde_json", + "sp-application-crypto 30.0.0", + "sp-core 28.0.0", + "sp-keystore 0.34.0", + "thiserror", +] + +[[package]] +name = "sc-keystore" +version = "33.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ebd4b5b5713006117641c049cb082e8a439dd6ac5e7b171e5cef5ce1c9f8af8" +dependencies = [ + "array-bytes 6.2.2", + "parking_lot 0.12.3", "serde_json", - "sp-application-crypto", - "sp-core", - "sp-keystore", + "sp-application-crypto 38.0.0", + "sp-core 34.0.0", + "sp-keystore 0.40.0", "thiserror", ] @@ -7041,21 +8538,51 @@ dependencies = [ "bytes", "futures", "futures-timer", - "libp2p-identity", + "libp2p-identity 0.1.3", "log", "mixnet", - "multiaddr", + "multiaddr 0.17.1", "parity-scale-codec", - "parking_lot 0.12.1", - "sc-client-api", - "sc-network", - "sc-transaction-pool-api", - "sp-api", - "sp-consensus", - "sp-core", - "sp-keystore", - "sp-mixnet", - "sp-runtime", + "parking_lot 0.12.3", + "sc-client-api 28.0.0", + "sc-network 0.34.0", + "sc-transaction-pool-api 28.0.0", + "sp-api 26.0.0", + "sp-consensus 0.32.0", + "sp-core 28.0.0", + "sp-keystore 0.34.0", + "sp-mixnet 0.4.0", + "sp-runtime 31.0.1", + "thiserror", +] + +[[package]] +name = "sc-mixnet" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "781a1ffd953074e060a5f9e253f7a029bedd935fe9621bb7483cc2d442a6b1d1" +dependencies = [ + "array-bytes 6.2.2", + "arrayvec", + "blake2 0.10.6", + "bytes", + "futures", + "futures-timer", + "log", + "mixnet", + "multiaddr 0.18.2", + "parity-scale-codec", + "parking_lot 0.12.3", + "sc-client-api 37.0.0", + "sc-network 0.45.1", + "sc-network-types", + "sc-transaction-pool-api 37.0.0", + "sp-api 34.0.0", + "sp-consensus 0.40.0", + "sp-core 34.0.0", + "sp-keystore 0.40.0", + "sp-mixnet 0.12.0", + "sp-runtime 39.0.2", "thiserror", ] @@ -7074,30 +8601,82 @@ dependencies = [ "futures", "futures-timer", "ip_network", - "libp2p", + "libp2p 0.51.4", + "linked_hash_set", + "log", + "mockall 0.11.4", + "parity-scale-codec", + "parking_lot 0.12.3", + "partial_sort", + "pin-project", + "rand", + "sc-client-api 28.0.0", + "sc-network-common 0.33.0", + "sc-utils 14.0.0", + "serde", + "serde_json", + "smallvec", + "sp-arithmetic 23.0.0", + "sp-blockchain 28.0.0", + "sp-core 28.0.0", + "sp-runtime 31.0.1", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "thiserror", + "tokio", + "tokio-stream", + "unsigned-varint 0.7.2", + "wasm-timer", + "zeroize", +] + +[[package]] +name = "sc-network" +version = "0.45.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e729c49834b3c5cfd514cdd1209ad7ae9707abebef92c991b2d41db5a0191396" +dependencies = [ + "array-bytes 6.2.2", + "async-channel", + "async-trait", + "asynchronous-codec", + "bytes", + "cid 0.9.0", + "either", + "fnv", + "futures", + "futures-timer", + "ip_network", + "libp2p 0.52.4", "linked_hash_set", + "litep2p", "log", - "mockall", + "mockall 0.11.4", + "once_cell", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "partial_sort", "pin-project", + "prost 0.12.6", + "prost-build 0.12.6", "rand", - "sc-client-api", - "sc-network-common", - "sc-utils", + "sc-client-api 37.0.0", + "sc-network-common 0.44.0", + "sc-network-types", + "sc-utils 17.0.0", + "schnellru", "serde", "serde_json", "smallvec", - "sp-arithmetic", - "sp-blockchain", - "sp-core", - "sp-runtime", - "substrate-prometheus-endpoint", + "sp-arithmetic 26.0.0", + "sp-blockchain 37.0.1", + "sp-core 34.0.0", + "sp-runtime 39.0.2", + "substrate-prometheus-endpoint 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", "thiserror", "tokio", "tokio-stream", - "unsigned-varint", + "unsigned-varint 0.7.2", + "void", "wasm-timer", "zeroize", ] @@ -7108,18 +8687,18 @@ version = "0.33.0" source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" dependencies = [ "async-channel", - "cid", + "cid 0.9.0", "futures", - "libp2p-identity", + "libp2p-identity 0.1.3", "log", - "prost 0.12.3", - "prost-build", - "sc-client-api", - "sc-network", - "sp-blockchain", - "sp-runtime", + "prost 0.12.6", + "prost-build 0.11.9", + "sc-client-api 28.0.0", + "sc-network 0.34.0", + "sp-blockchain 28.0.0", + "sp-runtime 31.0.1", "thiserror", - "unsigned-varint", + "unsigned-varint 0.7.2", ] [[package]] @@ -7130,31 +8709,51 @@ dependencies = [ "async-trait", "bitflags 1.3.2", "futures", - "libp2p-identity", + "libp2p-identity 0.1.3", + "parity-scale-codec", + "prost-build 0.11.9", + "sc-consensus 0.33.0", + "sp-consensus 0.32.0", + "sp-consensus-grandpa 13.0.0", + "sp-runtime 31.0.1", +] + +[[package]] +name = "sc-network-common" +version = "0.44.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dbff059c0ca497757f633cfa13625fbaa3028f23a77a9696e94e700008f8dd5a" +dependencies = [ + "async-trait", + "bitflags 1.3.2", + "futures", + "libp2p-identity 0.2.10", "parity-scale-codec", - "prost-build", - "sc-consensus", - "sp-consensus", - "sp-consensus-grandpa", - "sp-runtime", + "prost-build 0.12.6", + "sc-consensus 0.44.0", + "sc-network-types", + "sp-consensus 0.40.0", + "sp-consensus-grandpa 21.0.0", + "sp-runtime 39.0.2", ] [[package]] name = "sc-network-gossip" -version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4086f4ac6b94ff2efd24f1776280c580454c5990b8665aa9f293fcd33c80630" dependencies = [ "ahash 0.8.11", "futures", "futures-timer", - "libp2p", "log", - "sc-network", - "sc-network-common", - "sc-network-sync", + "sc-network 0.45.1", + "sc-network-common 0.44.0", + "sc-network-sync 0.44.1", + "sc-network-types", "schnellru", - "sp-runtime", - "substrate-prometheus-endpoint", + "sp-runtime 39.0.2", + "substrate-prometheus-endpoint 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", "tracing", ] @@ -7166,16 +8765,38 @@ dependencies = [ "array-bytes 6.2.2", "async-channel", "futures", - "libp2p-identity", + "libp2p-identity 0.1.3", + "log", + "parity-scale-codec", + "prost 0.12.6", + "prost-build 0.11.9", + "sc-client-api 28.0.0", + "sc-network 0.34.0", + "sp-blockchain 28.0.0", + "sp-core 28.0.0", + "sp-runtime 31.0.1", + "thiserror", +] + +[[package]] +name = "sc-network-light" +version = "0.44.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8150e7a09695c60b09939a7815be4cc3fb48592779c197ba9442d29c0a98f8ad" +dependencies = [ + "array-bytes 6.2.2", + "async-channel", + "futures", "log", "parity-scale-codec", - "prost 0.12.3", - "prost-build", - "sc-client-api", - "sc-network", - "sp-blockchain", - "sp-core", - "sp-runtime", + "prost 0.12.6", + "prost-build 0.12.6", + "sc-client-api 37.0.0", + "sc-network 0.45.1", + "sc-network-types", + "sp-blockchain 37.0.1", + "sp-core 34.0.0", + "sp-runtime 39.0.2", "thiserror", ] @@ -7187,29 +8808,67 @@ dependencies = [ "array-bytes 6.2.2", "async-channel", "async-trait", - "fork-tree", + "fork-tree 12.0.0", "futures", "futures-timer", - "libp2p", + "libp2p 0.51.4", "log", - "mockall", + "mockall 0.11.4", "parity-scale-codec", - "prost 0.12.3", - "prost-build", - "sc-client-api", - "sc-consensus", - "sc-network", - "sc-network-common", - "sc-utils", + "prost 0.12.6", + "prost-build 0.11.9", + "sc-client-api 28.0.0", + "sc-consensus 0.33.0", + "sc-network 0.34.0", + "sc-network-common 0.33.0", + "sc-utils 14.0.0", "schnellru", "smallvec", - "sp-arithmetic", - "sp-blockchain", - "sp-consensus", - "sp-consensus-grandpa", - "sp-core", - "sp-runtime", - "substrate-prometheus-endpoint", + "sp-arithmetic 23.0.0", + "sp-blockchain 28.0.0", + "sp-consensus 0.32.0", + "sp-consensus-grandpa 13.0.0", + "sp-core 28.0.0", + "sp-runtime 31.0.1", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "thiserror", + "tokio", + "tokio-stream", +] + +[[package]] +name = "sc-network-sync" +version = "0.44.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82cb3b9939d57083495b3ed1304094b939c99ebdc651fb779ab6d2c83428679e" +dependencies = [ + "array-bytes 6.2.2", + "async-channel", + "async-trait", + "fork-tree 13.0.0", + "futures", + "futures-timer", + "libp2p 0.52.4", + "log", + "mockall 0.11.4", + "parity-scale-codec", + "prost 0.12.6", + "prost-build 0.12.6", + "sc-client-api 37.0.0", + "sc-consensus 0.44.0", + "sc-network 0.45.1", + "sc-network-common 0.44.0", + "sc-network-types", + "sc-utils 17.0.0", + "schnellru", + "smallvec", + "sp-arithmetic 26.0.0", + "sp-blockchain 37.0.1", + "sp-consensus 0.40.0", + "sp-consensus-grandpa 21.0.0", + "sp-core 34.0.0", + "sp-runtime 39.0.2", + "substrate-prometheus-endpoint 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", "thiserror", "tokio", "tokio-stream", @@ -7222,59 +8881,99 @@ source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polk dependencies = [ "array-bytes 6.2.2", "futures", - "libp2p", + "libp2p 0.51.4", "log", "parity-scale-codec", - "sc-network", - "sc-network-common", - "sc-network-sync", - "sc-utils", - "sp-consensus", - "sp-runtime", - "substrate-prometheus-endpoint", + "sc-network 0.34.0", + "sc-network-common 0.33.0", + "sc-network-sync 0.33.0", + "sc-utils 14.0.0", + "sp-consensus 0.32.0", + "sp-runtime 31.0.1", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", +] + +[[package]] +name = "sc-network-transactions" +version = "0.44.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67c5bcf5f5437194d5fa9277fd4b832e187a595798f08b8df154bc62d88bbae2" +dependencies = [ + "array-bytes 6.2.2", + "futures", + "log", + "parity-scale-codec", + "sc-network 0.45.1", + "sc-network-common 0.44.0", + "sc-network-sync 0.44.1", + "sc-network-types", + "sc-utils 17.0.0", + "sp-consensus 0.40.0", + "sp-runtime 39.0.2", + "substrate-prometheus-endpoint 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "sc-network-types" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c372dbda66644a1df0daa8c0d99c36b6f74db7dca213d2416cd84f507125224" +dependencies = [ + "bs58 0.5.1", + "ed25519-dalek", + "libp2p-identity 0.2.10", + "litep2p", + "log", + "multiaddr 0.18.2", + "multihash 0.19.2", + "rand", + "thiserror", + "zeroize", ] [[package]] name = "sc-offchain" -version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "40.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9185b82ad10f21f3eb977a079f772219bd216bf4eafedad7d5e4a0ff32383c75" dependencies = [ "array-bytes 6.2.2", "bytes", "fnv", "futures", "futures-timer", - "hyper", + "hyper 0.14.31", "hyper-rustls", - "libp2p", "log", "num_cpus", "once_cell", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand", - "sc-client-api", - "sc-network", - "sc-network-common", - "sc-transaction-pool-api", - "sc-utils", - "sp-api", - "sp-core", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-keystore", - "sp-offchain", - "sp-runtime", + "sc-client-api 37.0.0", + "sc-network 0.45.1", + "sc-network-common 0.44.0", + "sc-network-types", + "sc-transaction-pool-api 37.0.0", + "sc-utils 17.0.0", + "sp-api 34.0.0", + "sp-core 34.0.0", + "sp-externalities 0.29.0", + "sp-keystore 0.40.0", + "sp-offchain 34.0.0", + "sp-runtime 39.0.2", "threadpool", "tracing", ] [[package]] name = "sc-proposer-metrics" -version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f680a0bed67dab19898624246376ba85d5f70a89859ba030830aacd079c28d3c" dependencies = [ "log", - "substrate-prometheus-endpoint", + "substrate-prometheus-endpoint 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -7283,49 +8982,103 @@ version = "29.0.0" source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" dependencies = [ "futures", - "jsonrpsee", - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "sc-block-builder", - "sc-chain-spec", - "sc-client-api", - "sc-mixnet", - "sc-rpc-api", - "sc-tracing", - "sc-transaction-pool-api", - "sc-utils", + "jsonrpsee 0.22.3", + "log", + "parity-scale-codec", + "parking_lot 0.12.3", + "sc-block-builder 0.33.0", + "sc-chain-spec 27.0.0", + "sc-client-api 28.0.0", + "sc-mixnet 0.4.0", + "sc-rpc-api 0.33.0", + "sc-tracing 28.0.0", + "sc-transaction-pool-api 28.0.0", + "sc-utils 14.0.0", + "serde_json", + "sp-api 26.0.0", + "sp-blockchain 28.0.0", + "sp-core 28.0.0", + "sp-keystore 0.34.0", + "sp-offchain 26.0.0", + "sp-rpc 26.0.0", + "sp-runtime 31.0.1", + "sp-session 27.0.0", + "sp-statement-store 10.0.0", + "sp-version 29.0.0", + "tokio", +] + +[[package]] +name = "sc-rpc" +version = "40.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7137ecfd837c9b6e57244b59a99320a53c7e31f160b5581a325734f3c169aaba" +dependencies = [ + "futures", + "jsonrpsee 0.24.7", + "log", + "parity-scale-codec", + "parking_lot 0.12.3", + "sc-block-builder 0.42.0", + "sc-chain-spec 38.0.0", + "sc-client-api 37.0.0", + "sc-mixnet 0.15.0", + "sc-rpc-api 0.44.0", + "sc-tracing 37.0.1", + "sc-transaction-pool-api 37.0.0", + "sc-utils 17.0.0", + "serde_json", + "sp-api 34.0.0", + "sp-blockchain 37.0.1", + "sp-core 34.0.0", + "sp-keystore 0.40.0", + "sp-offchain 34.0.0", + "sp-rpc 32.0.0", + "sp-runtime 39.0.2", + "sp-session 36.0.0", + "sp-statement-store 18.0.0", + "sp-version 37.0.0", + "tokio", +] + +[[package]] +name = "sc-rpc-api" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +dependencies = [ + "jsonrpsee 0.22.3", + "parity-scale-codec", + "sc-chain-spec 27.0.0", + "sc-mixnet 0.4.0", + "sc-transaction-pool-api 28.0.0", + "scale-info", + "serde", "serde_json", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-keystore", - "sp-offchain", - "sp-rpc", - "sp-runtime", - "sp-session", - "sp-statement-store", - "sp-version", - "tokio", + "sp-core 28.0.0", + "sp-rpc 26.0.0", + "sp-runtime 31.0.1", + "sp-version 29.0.0", + "thiserror", ] [[package]] name = "sc-rpc-api" -version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "0.44.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "147274633577e55db73dbdc64168c25b54cca6cac4fcde118bd9946cf7b24838" dependencies = [ - "jsonrpsee", + "jsonrpsee 0.24.7", "parity-scale-codec", - "sc-chain-spec", - "sc-mixnet", - "sc-transaction-pool-api", + "sc-chain-spec 38.0.0", + "sc-mixnet 0.15.0", + "sc-transaction-pool-api 37.0.0", "scale-info", "serde", "serde_json", - "sp-core", - "sp-rpc", - "sp-runtime", - "sp-version", + "sp-core 34.0.0", + "sp-rpc 32.0.0", + "sp-runtime 39.0.2", + "sp-version 37.0.0", "thiserror", ] @@ -7336,15 +9089,40 @@ source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polk dependencies = [ "futures", "governor", - "http", - "hyper", - "jsonrpsee", + "http 0.2.12", + "hyper 0.14.31", + "jsonrpsee 0.22.3", + "log", + "serde_json", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "tokio", + "tower", + "tower-http 0.4.4", +] + +[[package]] +name = "sc-rpc-server" +version = "17.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fee63231ff7955b0639ec0a72b85a50c64b06d6e8910130b7777e08bf76525b5" +dependencies = [ + "dyn-clone", + "forwarded-header-value", + "futures", + "governor", + "http 1.1.0", + "http-body-util", + "hyper 1.5.1", + "ip_network", + "jsonrpsee 0.24.7", "log", + "sc-rpc-api 0.44.0", + "serde", "serde_json", - "substrate-prometheus-endpoint", + "substrate-prometheus-endpoint 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", "tokio", "tower", - "tower-http", + "tower-http 0.5.2", ] [[package]] @@ -7356,23 +9134,56 @@ dependencies = [ "futures", "futures-util", "hex", - "jsonrpsee", + "jsonrpsee 0.22.3", + "log", + "parity-scale-codec", + "parking_lot 0.12.3", + "rand", + "sc-chain-spec 27.0.0", + "sc-client-api 28.0.0", + "sc-rpc 29.0.0", + "sc-transaction-pool-api 28.0.0", + "sc-utils 14.0.0", + "serde", + "sp-api 26.0.0", + "sp-blockchain 28.0.0", + "sp-core 28.0.0", + "sp-rpc 26.0.0", + "sp-runtime 31.0.1", + "sp-version 29.0.0", + "thiserror", + "tokio", + "tokio-stream", +] + +[[package]] +name = "sc-rpc-spec-v2" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ca6bcb95e13ca0d87bd2b2e23dcc4040b671b467f5cc647169fc9c37b0ce1f7" +dependencies = [ + "array-bytes 6.2.2", + "futures", + "futures-util", + "hex", + "jsonrpsee 0.24.7", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand", - "sc-chain-spec", - "sc-client-api", - "sc-rpc", - "sc-transaction-pool-api", - "sc-utils", + "sc-chain-spec 38.0.0", + "sc-client-api 37.0.0", + "sc-rpc 40.0.0", + "sc-transaction-pool-api 37.0.0", + "sc-utils 17.0.0", + "schnellru", "serde", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-rpc", - "sp-runtime", - "sp-version", + "sp-api 34.0.0", + "sp-blockchain 37.0.1", + "sp-core 34.0.0", + "sp-rpc 32.0.0", + "sp-runtime 39.0.2", + "sp-version 37.0.0", "thiserror", "tokio", "tokio-stream", @@ -7388,53 +9199,118 @@ dependencies = [ "exit-future", "futures", "futures-timer", - "jsonrpsee", + "jsonrpsee 0.22.3", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "pin-project", "rand", - "sc-chain-spec", - "sc-client-api", - "sc-client-db", - "sc-consensus", - "sc-executor", - "sc-informant", - "sc-keystore", - "sc-network", + "sc-chain-spec 27.0.0", + "sc-client-api 28.0.0", + "sc-client-db 0.35.0", + "sc-consensus 0.33.0", + "sc-executor 0.32.0", + "sc-informant 0.33.0", + "sc-keystore 25.0.0", + "sc-network 0.34.0", "sc-network-bitswap", - "sc-network-common", - "sc-network-light", - "sc-network-sync", - "sc-network-transactions", - "sc-rpc", - "sc-rpc-server", - "sc-rpc-spec-v2", - "sc-sysinfo", - "sc-telemetry", - "sc-tracing", - "sc-transaction-pool", - "sc-transaction-pool-api", - "sc-utils", + "sc-network-common 0.33.0", + "sc-network-light 0.33.0", + "sc-network-sync 0.33.0", + "sc-network-transactions 0.33.0", + "sc-rpc 29.0.0", + "sc-rpc-server 11.0.0", + "sc-rpc-spec-v2 0.34.0", + "sc-sysinfo 27.0.0", + "sc-telemetry 15.0.0", + "sc-tracing 28.0.0", + "sc-transaction-pool 28.0.0", + "sc-transaction-pool-api 28.0.0", + "sc-utils 14.0.0", "schnellru", "serde", "serde_json", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-core", + "sp-api 26.0.0", + "sp-blockchain 28.0.0", + "sp-consensus 0.32.0", + "sp-core 28.0.0", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-keystore", - "sp-runtime", - "sp-session", - "sp-state-machine", + "sp-keystore 0.34.0", + "sp-runtime 31.0.1", + "sp-session 27.0.0", + "sp-state-machine 0.35.0", "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-transaction-pool", - "sp-transaction-storage-proof", - "sp-trie", - "sp-version", + "sp-transaction-pool 26.0.0", + "sp-transaction-storage-proof 26.0.0", + "sp-trie 29.0.0", + "sp-version 29.0.0", + "static_init", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "tempfile", + "thiserror", + "tokio", + "tracing", + "tracing-futures", +] + +[[package]] +name = "sc-service" +version = "0.46.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f438103f736c3fb4baddd3e40122191c878496671c76ca968a9fad9fcc107a28" +dependencies = [ + "async-trait", + "directories", + "exit-future", + "futures", + "futures-timer", + "jsonrpsee 0.24.7", + "log", + "parity-scale-codec", + "parking_lot 0.12.3", + "pin-project", + "rand", + "sc-chain-spec 38.0.0", + "sc-client-api 37.0.0", + "sc-client-db 0.44.1", + "sc-consensus 0.44.0", + "sc-executor 0.40.1", + "sc-informant 0.44.0", + "sc-keystore 33.0.0", + "sc-network 0.45.1", + "sc-network-common 0.44.0", + "sc-network-light 0.44.1", + "sc-network-sync 0.44.1", + "sc-network-transactions 0.44.1", + "sc-network-types", + "sc-rpc 40.0.0", + "sc-rpc-server 17.1.0", + "sc-rpc-spec-v2 0.45.0", + "sc-sysinfo 38.0.0", + "sc-telemetry 25.0.0", + "sc-tracing 37.0.1", + "sc-transaction-pool 37.0.0", + "sc-transaction-pool-api 37.0.0", + "sc-utils 17.0.0", + "schnellru", + "serde", + "serde_json", + "sp-api 34.0.0", + "sp-blockchain 37.0.1", + "sp-consensus 0.40.0", + "sp-core 34.0.0", + "sp-externalities 0.29.0", + "sp-keystore 0.40.0", + "sp-runtime 39.0.2", + "sp-session 36.0.0", + "sp-state-machine 0.43.0", + "sp-storage 21.0.0", + "sp-transaction-pool 34.0.0", + "sp-transaction-storage-proof 34.0.0", + "sp-trie 37.0.0", + "sp-version 37.0.0", "static_init", - "substrate-prometheus-endpoint", + "substrate-prometheus-endpoint 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", "tempfile", "thiserror", "tokio", @@ -7449,8 +9325,20 @@ source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polk dependencies = [ "log", "parity-scale-codec", - "parking_lot 0.12.1", - "sp-core", + "parking_lot 0.12.3", + "sp-core 28.0.0", +] + +[[package]] +name = "sc-state-db" +version = "0.36.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f689d0b97c1bbdb2ca31b5f202bda195947f85c7fef990651cad202b99de896b" +dependencies = [ + "log", + "parity-scale-codec", + "parking_lot 0.12.3", + "sp-core 34.0.0", ] [[package]] @@ -7465,15 +9353,37 @@ dependencies = [ "rand", "rand_pcg", "regex", - "sc-telemetry", + "sc-telemetry 15.0.0", "serde", "serde_json", - "sp-core", - "sp-crypto-hashing", - "sp-io", + "sp-core 28.0.0", + "sp-crypto-hashing 0.0.0", + "sp-io 30.0.0", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", ] +[[package]] +name = "sc-sysinfo" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d78810e8fd4a91716eff951f2e80744a08efcc34f53446e60ca055d2cef2e0aa" +dependencies = [ + "derive_more 0.99.17", + "futures", + "libc", + "log", + "rand", + "rand_pcg", + "regex", + "sc-telemetry 25.0.0", + "serde", + "serde_json", + "sp-core 34.0.0", + "sp-crypto-hashing 0.1.0", + "sp-io 38.0.0", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "sc-telemetry" version = "15.0.0" @@ -7481,12 +9391,33 @@ source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polk dependencies = [ "chrono", "futures", - "libp2p", + "libp2p 0.51.4", + "log", + "parking_lot 0.12.3", + "pin-project", + "rand", + "sc-utils 14.0.0", + "serde", + "serde_json", + "thiserror", + "wasm-timer", +] + +[[package]] +name = "sc-telemetry" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9e28cab12625bcdb8828f9a1177b8d061972f90fda89a70c10763da50e0aaa5" +dependencies = [ + "chrono", + "futures", + "libp2p 0.52.4", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "pin-project", "rand", - "sc-utils", + "sc-network 0.45.1", + "sc-utils 17.0.0", "serde", "serde_json", "thiserror", @@ -7505,22 +9436,64 @@ dependencies = [ "libc", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "regex", - "rustc-hash", - "sc-client-api", - "sc-tracing-proc-macro", + "rustc-hash 1.1.0", + "sc-client-api 28.0.0", + "sc-tracing-proc-macro 11.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", "serde", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-rpc", - "sp-runtime", + "sp-api 26.0.0", + "sp-blockchain 28.0.0", + "sp-core 28.0.0", + "sp-rpc 26.0.0", + "sp-runtime 31.0.1", "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", "thiserror", "tracing", - "tracing-log", - "tracing-subscriber", + "tracing-log 0.1.4", + "tracing-subscriber 0.2.25", +] + +[[package]] +name = "sc-tracing" +version = "37.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2604130246c4f6c2a2633f320bde95e7122383385c779b263eb03b714d92758a" +dependencies = [ + "chrono", + "console", + "is-terminal", + "lazy_static", + "libc", + "log", + "parity-scale-codec", + "parking_lot 0.12.3", + "rustc-hash 1.1.0", + "sc-client-api 37.0.0", + "sc-tracing-proc-macro 11.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "serde", + "sp-api 34.0.0", + "sp-blockchain 37.0.1", + "sp-core 34.0.0", + "sp-rpc 32.0.0", + "sp-runtime 39.0.2", + "sp-tracing 17.0.1", + "thiserror", + "tracing", + "tracing-log 0.2.0", + "tracing-subscriber 0.3.18", +] + +[[package]] +name = "sc-tracing-proc-macro" +version = "11.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "151cdf86d79abf22cf2a240a7ca95041c908dbd96c2ae9a818073042aa210964" +dependencies = [ + "proc-macro-crate 3.1.0", + "proc-macro2", + "quote", + "syn 2.0.87", ] [[package]] @@ -7545,19 +9518,47 @@ dependencies = [ "linked-hash-map", "log", "parity-scale-codec", - "parking_lot 0.12.1", - "sc-client-api", - "sc-transaction-pool-api", - "sc-utils", + "parking_lot 0.12.3", + "sc-client-api 28.0.0", + "sc-transaction-pool-api 28.0.0", + "sc-utils 14.0.0", "serde", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-crypto-hashing", - "sp-runtime", + "sp-api 26.0.0", + "sp-blockchain 28.0.0", + "sp-core 28.0.0", + "sp-crypto-hashing 0.0.0", + "sp-runtime 31.0.1", "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-transaction-pool", - "substrate-prometheus-endpoint", + "sp-transaction-pool 26.0.0", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "thiserror", +] + +[[package]] +name = "sc-transaction-pool" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f716ef0dc78458f6ecb831cdb3b60ec804c1ed93313d7f98661beb5438dbbf71" +dependencies = [ + "async-trait", + "futures", + "futures-timer", + "linked-hash-map", + "log", + "parity-scale-codec", + "parking_lot 0.12.3", + "sc-client-api 37.0.0", + "sc-transaction-pool-api 37.0.0", + "sc-utils 17.0.0", + "serde", + "sp-api 34.0.0", + "sp-blockchain 37.0.1", + "sp-core 34.0.0", + "sp-crypto-hashing 0.1.0", + "sp-runtime 39.0.2", + "sp-tracing 17.0.1", + "sp-transaction-pool 34.0.0", + "substrate-prometheus-endpoint 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", "thiserror", ] @@ -7571,9 +9572,26 @@ dependencies = [ "log", "parity-scale-codec", "serde", - "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-blockchain 28.0.0", + "sp-core 28.0.0", + "sp-runtime 31.0.1", + "thiserror", +] + +[[package]] +name = "sc-transaction-pool-api" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f02936289a079360935685eee5400311994b25e9edb2420a3c4247d419a77f46" +dependencies = [ + "async-trait", + "futures", + "log", + "parity-scale-codec", + "serde", + "sp-blockchain 37.0.1", + "sp-core 34.0.0", + "sp-runtime 39.0.2", "thiserror", ] @@ -7587,9 +9605,25 @@ dependencies = [ "futures-timer", "lazy_static", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", + "prometheus", + "sp-arithmetic 23.0.0", +] + +[[package]] +name = "sc-utils" +version = "17.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "acf1bad736c230f16beb1cf48af9e69564df23b13aca9e5751a61266340b4bb5" +dependencies = [ + "async-channel", + "futures", + "futures-timer", + "lazy_static", + "log", + "parking_lot 0.12.3", "prometheus", - "sp-arithmetic", + "sp-arithmetic 26.0.0", ] [[package]] @@ -7629,9 +9663,9 @@ dependencies = [ [[package]] name = "schnellru" -version = "0.2.1" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" +checksum = "c9a8ef13a93c54d20580de1e5c413e624e53121d42fc7e2c11d10ef7f8b02367" dependencies = [ "ahash 0.8.11", "cfg-if", @@ -7647,7 +9681,7 @@ dependencies = [ "aead", "arrayref", "arrayvec", - "curve25519-dalek 4.1.2", + "curve25519-dalek 4.1.3", "getrandom_or_panic", "merlin", "rand_core 0.6.4", @@ -7679,6 +9713,21 @@ dependencies = [ "untrusted 0.9.0", ] +[[package]] +name = "sctp-proto" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6220f78bb44c15f326b0596113305f6101097a18755d53727a575c97e09fb24" +dependencies = [ + "bytes", + "crc", + "fxhash", + "log", + "rand", + "slab", + "thiserror", +] + [[package]] name = "sec1" version = "0.7.3" @@ -7768,6 +9817,12 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" +[[package]] +name = "send_wrapper" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" + [[package]] name = "serde" version = "1.0.215" @@ -7841,6 +9896,38 @@ dependencies = [ "opaque-debug 0.3.1", ] +[[package]] +name = "sha-1" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest 0.10.7", + "sha1-asm", +] + +[[package]] +name = "sha1" +version = "0.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest 0.10.7", +] + +[[package]] +name = "sha1-asm" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "286acebaf8b67c1130aedffad26f594eff0c1292389158135327d2e23aed582b" +dependencies = [ + "cc", +] + [[package]] name = "sha2" version = "0.9.9" @@ -7922,6 +10009,15 @@ dependencies = [ "wide", ] +[[package]] +name = "simple-dns" +version = "0.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cae9a3fcdadafb6d97f4c0e007e4247b114ee0f119f650c3cbf3a8b3a1479694" +dependencies = [ + "bitflags 2.5.0", +] + [[package]] name = "simple-mermaid" version = "0.1.1" @@ -7970,7 +10066,7 @@ dependencies = [ "aes-gcm", "blake2 0.10.6", "chacha20poly1305", - "curve25519-dalek 4.1.2", + "curve25519-dalek 4.1.3", "rand_core 0.6.4", "ring 0.17.8", "rustc_version", @@ -7990,9 +10086,9 @@ dependencies = [ [[package]] name = "socket2" -version = "0.5.6" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05ffd9c0a93b7543e062e759284fcf5f5e3b098501104bfbdde4d404db792871" +checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c" dependencies = [ "libc", "windows-sys 0.52.0", @@ -8008,11 +10104,27 @@ dependencies = [ "bytes", "flate2", "futures", - "http", + "http 0.2.12", + "httparse", + "log", + "rand", + "sha-1 0.9.8", +] + +[[package]] +name = "soketto" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37468c595637c10857701c990f93a40ce0e357cedb0953d1c26c8d8027f9bb53" +dependencies = [ + "base64 0.22.1", + "bytes", + "futures", + "http 1.1.0", "httparse", "log", "rand", - "sha-1", + "sha1", ] [[package]] @@ -8024,16 +10136,39 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-api-proc-macro", - "sp-core", + "sp-api-proc-macro 15.0.0", + "sp-core 28.0.0", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-metadata-ir", - "sp-runtime", + "sp-metadata-ir 0.6.0", + "sp-runtime 31.0.1", "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-state-machine", + "sp-state-machine 0.35.0", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-trie", - "sp-version", + "sp-trie 29.0.0", + "sp-version 29.0.0", + "thiserror", +] + +[[package]] +name = "sp-api" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbce492e0482134128b7729ea36f5ef1a9f9b4de2d48ff8dde7b5e464e28ce75" +dependencies = [ + "docify", + "hash-db", + "log", + "parity-scale-codec", + "scale-info", + "sp-api-proc-macro 20.0.0", + "sp-core 34.0.0", + "sp-externalities 0.29.0", + "sp-metadata-ir 0.7.0", + "sp-runtime 39.0.2", + "sp-runtime-interface 28.0.0", + "sp-state-machine 0.43.0", + "sp-trie 37.0.0", + "sp-version 37.0.0", "thiserror", ] @@ -8051,6 +10186,21 @@ dependencies = [ "syn 2.0.87", ] +[[package]] +name = "sp-api-proc-macro" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9aadf9e97e694f0e343978aa632938c5de309cbcc8afed4136cb71596737278" +dependencies = [ + "Inflector", + "blake2 0.10.6", + "expander", + "proc-macro-crate 3.1.0", + "proc-macro2", + "quote", + "syn 2.0.87", +] + [[package]] name = "sp-application-crypto" version = "30.0.0" @@ -8059,11 +10209,24 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", + "sp-core 28.0.0", + "sp-io 30.0.0", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", ] +[[package]] +name = "sp-application-crypto" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d8133012faa5f75b2f0b1619d9f720c1424ac477152c143e5f7dbde2fe1a958" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 34.0.0", + "sp-io 38.0.0", +] + [[package]] name = "sp-arithmetic" version = "23.0.0" @@ -8078,6 +10241,22 @@ dependencies = [ "static_assertions", ] +[[package]] +name = "sp-arithmetic" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46d0d0a4c591c421d3231ddd5e27d828618c24456d51445d21a1f79fcee97c23" +dependencies = [ + "docify", + "integer-sqrt", + "num-traits", + "parity-scale-codec", + "scale-info", + "serde", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "static_assertions", +] + [[package]] name = "sp-ark-bls12-381" version = "0.4.2" @@ -8101,12 +10280,23 @@ name = "sp-block-builder" version = "26.0.0" source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" dependencies = [ - "sp-api", - "sp-inherents", - "sp-runtime", + "sp-api 26.0.0", + "sp-inherents 26.0.0", + "sp-runtime 31.0.1", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", ] +[[package]] +name = "sp-block-builder" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74738809461e3d4bd707b5b94e0e0c064a623a74a6a8fe5c98514417a02858dd" +dependencies = [ + "sp-api 34.0.0", + "sp-inherents 34.0.0", + "sp-runtime 39.0.2", +] + [[package]] name = "sp-blockchain" version = "28.0.0" @@ -8115,16 +10305,36 @@ dependencies = [ "futures", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "schnellru", - "sp-api", - "sp-consensus", - "sp-database", - "sp-runtime", - "sp-state-machine", + "sp-api 26.0.0", + "sp-consensus 0.32.0", + "sp-database 10.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "sp-runtime 31.0.1", + "sp-state-machine 0.35.0", "thiserror", ] +[[package]] +name = "sp-blockchain" +version = "37.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a309eecd6b5689f57e67181deaa628d9c8951db1ba0d26f07c69e14dffdc4765" +dependencies = [ + "futures", + "parity-scale-codec", + "parking_lot 0.12.3", + "schnellru", + "sp-api 34.0.0", + "sp-consensus 0.40.0", + "sp-core 34.0.0", + "sp-database 10.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-state-machine 0.43.0", + "thiserror", + "tracing", +] + [[package]] name = "sp-consensus" version = "0.32.0" @@ -8133,10 +10343,26 @@ dependencies = [ "async-trait", "futures", "log", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-state-machine", + "sp-core 28.0.0", + "sp-inherents 26.0.0", + "sp-runtime 31.0.1", + "sp-state-machine 0.35.0", + "thiserror", +] + +[[package]] +name = "sp-consensus" +version = "0.40.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce75efd1e164be667a53c20182c45b4c2abe325abcbd21fc292b82be5b9240f7" +dependencies = [ + "async-trait", + "futures", + "log", + "sp-core 34.0.0", + "sp-inherents 34.0.0", + "sp-runtime 39.0.2", + "sp-state-machine 0.43.0", "thiserror", ] @@ -8148,13 +10374,30 @@ dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-api", - "sp-application-crypto", - "sp-consensus-slots", - "sp-inherents", - "sp-runtime", + "sp-api 26.0.0", + "sp-application-crypto 30.0.0", + "sp-consensus-slots 0.32.0", + "sp-inherents 26.0.0", + "sp-runtime 31.0.1", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-timestamp", + "sp-timestamp 26.0.0", +] + +[[package]] +name = "sp-consensus-aura" +version = "0.40.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a8faaa05bbcb9c41f0cc535c4c1315abf6df472b53eae018678d1b4d811ac47" +dependencies = [ + "async-trait", + "parity-scale-codec", + "scale-info", + "sp-api 34.0.0", + "sp-application-crypto 38.0.0", + "sp-consensus-slots 0.40.1", + "sp-inherents 34.0.0", + "sp-runtime 39.0.2", + "sp-timestamp 34.0.0", ] [[package]] @@ -8166,14 +10409,33 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-runtime", + "sp-api 26.0.0", + "sp-application-crypto 30.0.0", + "sp-consensus-slots 0.32.0", + "sp-core 28.0.0", + "sp-inherents 26.0.0", + "sp-runtime 31.0.1", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-timestamp", + "sp-timestamp 26.0.0", +] + +[[package]] +name = "sp-consensus-babe" +version = "0.40.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36ee95e17ee8dcd14db7d584b899a426565ca9abe5a266ab82277977fc547f86" +dependencies = [ + "async-trait", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 34.0.0", + "sp-application-crypto 38.0.0", + "sp-consensus-slots 0.40.1", + "sp-core 34.0.0", + "sp-inherents 34.0.0", + "sp-runtime 39.0.2", + "sp-timestamp 34.0.0", ] [[package]] @@ -8186,14 +10448,32 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-api 26.0.0", + "sp-application-crypto 30.0.0", + "sp-core 28.0.0", + "sp-keystore 0.34.0", + "sp-runtime 31.0.1", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", ] +[[package]] +name = "sp-consensus-grandpa" +version = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "587b791efe6c5f18e09dbbaf1ece0ee7b5fe51602c233e7151a3676b0de0260b" +dependencies = [ + "finality-grandpa", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 34.0.0", + "sp-application-crypto 38.0.0", + "sp-core 34.0.0", + "sp-keystore 0.40.0", + "sp-runtime 39.0.2", +] + [[package]] name = "sp-consensus-slots" version = "0.32.0" @@ -8203,7 +10483,19 @@ dependencies = [ "scale-info", "serde", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-timestamp", + "sp-timestamp 26.0.0", +] + +[[package]] +name = "sp-consensus-slots" +version = "0.40.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbafb7ed44f51c22fa277fb39b33dc601fa426133a8e2b53f3f46b10f07fba43" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-timestamp 34.0.0", ] [[package]] @@ -8218,7 +10510,7 @@ dependencies = [ "bounded-collections", "bs58 0.5.1", "dyn-clonable", - "ed25519-zebra", + "ed25519-zebra 3.1.0", "futures", "hash-db", "hash256-std-hasher", @@ -8230,7 +10522,7 @@ dependencies = [ "merlin", "parity-bip39", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "paste", "primitive-types", "rand", @@ -8239,14 +10531,61 @@ dependencies = [ "secp256k1", "secrecy", "serde", - "sp-crypto-hashing", + "sp-crypto-hashing 0.0.0", "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", "ss58-registry", - "substrate-bip39", + "substrate-bip39 0.4.7", + "thiserror", + "tracing", + "w3f-bls", + "zeroize", +] + +[[package]] +name = "sp-core" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c961a5e33fb2962fa775c044ceba43df9c6f917e2c35d63bfe23738468fa76a7" +dependencies = [ + "array-bytes 6.2.2", + "bitflags 1.3.2", + "blake2 0.10.6", + "bounded-collections", + "bs58 0.5.1", + "dyn-clonable", + "ed25519-zebra 4.0.3", + "futures", + "hash-db", + "hash256-std-hasher", + "impl-serde", + "itertools 0.11.0", + "k256", + "libsecp256k1", + "log", + "merlin", + "parity-bip39", + "parity-scale-codec", + "parking_lot 0.12.3", + "paste", + "primitive-types", + "rand", + "scale-info", + "schnorrkel", + "secp256k1", + "secrecy", + "serde", + "sp-crypto-hashing 0.1.0", + "sp-debug-derive 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0", + "sp-runtime-interface 28.0.0", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-storage 21.0.0", + "ss58-registry", + "substrate-bip39 0.6.0", "thiserror", "tracing", "w3f-bls", @@ -8286,23 +10625,69 @@ dependencies = [ "twox-hash", ] +[[package]] +name = "sp-crypto-hashing" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc9927a7f81334ed5b8a98a4a978c81324d12bd9713ec76b5c68fd410174c5eb" +dependencies = [ + "blake2b_simd", + "byteorder", + "digest 0.10.7", + "sha2 0.10.8", + "sha3", + "twox-hash", +] + [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.0.0" source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" dependencies = [ "quote", - "sp-crypto-hashing", + "sp-crypto-hashing 0.0.0", + "syn 2.0.87", +] + +[[package]] +name = "sp-crypto-hashing-proc-macro" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b85d0f1f1e44bd8617eb2a48203ee854981229e3e79e6f468c7175d5fd37489b" +dependencies = [ + "quote", + "sp-crypto-hashing 0.1.0", "syn 2.0.87", ] +[[package]] +name = "sp-database" +version = "10.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "722cbecdbf5b94578137dbd07feb51e95f7de221be0c1ff4dcfe0bb4cd986929" +dependencies = [ + "kvdb", + "parking_lot 0.12.3", +] + [[package]] name = "sp-database" version = "10.0.0" source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" dependencies = [ "kvdb", - "parking_lot 0.12.1", + "parking_lot 0.12.3", +] + +[[package]] +name = "sp-debug-derive" +version = "14.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48d09fa0a5f7299fb81ee25ae3853d26200f7a348148aed6de76be905c007dbe" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.87", ] [[package]] @@ -8346,17 +10731,41 @@ dependencies = [ "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk)", ] +[[package]] +name = "sp-externalities" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a904407d61cb94228c71b55a9d3708e9d6558991f9e83bd42bd91df37a159d30" +dependencies = [ + "environmental", + "parity-scale-codec", + "sp-storage 21.0.0", +] + [[package]] name = "sp-genesis-builder" version = "0.7.0" source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" dependencies = [ "serde_json", - "sp-api", - "sp-runtime", + "sp-api 26.0.0", + "sp-runtime 31.0.1", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", ] +[[package]] +name = "sp-genesis-builder" +version = "0.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a646ed222fd86d5680faa4a8967980eb32f644cae6c8523e1c689a6deda3e8" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde_json", + "sp-api 34.0.0", + "sp-runtime 39.0.2", +] + [[package]] name = "sp-inherents" version = "26.0.0" @@ -8366,11 +10775,25 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime", + "sp-runtime 31.0.1", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", "thiserror", ] +[[package]] +name = "sp-inherents" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afffbddc380d99a90c459ba1554bbbc01d62e892de9f1485af6940b89c4c0d57" +dependencies = [ + "async-trait", + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.2", + "thiserror", +] + [[package]] name = "sp-io" version = "30.0.0" @@ -8384,15 +10807,42 @@ dependencies = [ "polkavm-derive", "rustversion", "secp256k1", - "sp-core", - "sp-crypto-hashing", + "sp-core 28.0.0", + "sp-crypto-hashing 0.0.0", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-keystore", + "sp-keystore 0.34.0", "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-state-machine", + "sp-state-machine 0.35.0", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-trie", + "sp-trie 29.0.0", + "tracing", + "tracing-core", +] + +[[package]] +name = "sp-io" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ef7eb561bb4839cc8424ce58c5ea236cbcca83f26fcc0426d8decfe8aa97d4" +dependencies = [ + "bytes", + "docify", + "ed25519-dalek", + "libsecp256k1", + "log", + "parity-scale-codec", + "polkavm-derive", + "rustversion", + "secp256k1", + "sp-core 34.0.0", + "sp-crypto-hashing 0.1.0", + "sp-externalities 0.29.0", + "sp-keystore 0.40.0", + "sp-runtime-interface 28.0.0", + "sp-state-machine 0.43.0", + "sp-tracing 17.0.1", + "sp-trie 37.0.0", "tracing", "tracing-core", ] @@ -8402,22 +10852,55 @@ name = "sp-keyring" version = "31.0.0" source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" dependencies = [ - "sp-core", - "sp-runtime", + "sp-core 28.0.0", + "sp-runtime 31.0.1", "strum 0.24.1", ] +[[package]] +name = "sp-keyring" +version = "39.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c0e20624277f578b27f44ecfbe2ebc2e908488511ee2c900c5281599f700ab3" +dependencies = [ + "sp-core 34.0.0", + "sp-runtime 39.0.2", + "strum 0.26.3", +] + [[package]] name = "sp-keystore" version = "0.34.0" source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" dependencies = [ "parity-scale-codec", - "parking_lot 0.12.1", - "sp-core", + "parking_lot 0.12.3", + "sp-core 28.0.0", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", ] +[[package]] +name = "sp-keystore" +version = "0.40.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0248b4d784cb4a01472276928977121fa39d977a5bb24793b6b15e64b046df42" +dependencies = [ + "parity-scale-codec", + "parking_lot 0.12.3", + "sp-core 34.0.0", + "sp-externalities 0.29.0", +] + +[[package]] +name = "sp-maybe-compressed-blob" +version = "11.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0c768c11afbe698a090386876911da4236af199cd38a5866748df4d8628aeff" +dependencies = [ + "thiserror", + "zstd 0.12.4", +] + [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" @@ -8438,6 +10921,17 @@ dependencies = [ "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", ] +[[package]] +name = "sp-metadata-ir" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a616fa51350b35326682a472ee8e6ba742fdacb18babac38ecd46b3e05ead869" +dependencies = [ + "frame-metadata", + "parity-scale-codec", + "scale-info", +] + [[package]] name = "sp-mixnet" version = "0.4.0" @@ -8445,9 +10939,21 @@ source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polk dependencies = [ "parity-scale-codec", "scale-info", - "sp-api", - "sp-application-crypto", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", + "sp-api 26.0.0", + "sp-application-crypto 30.0.0", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", +] + +[[package]] +name = "sp-mixnet" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b0b017dd54823b6e62f9f7171a1df350972e5c6d0bf17e0c2f78680b5c31942" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-api 34.0.0", + "sp-application-crypto 38.0.0", ] [[package]] @@ -8455,9 +10961,31 @@ name = "sp-offchain" version = "26.0.0" source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" dependencies = [ - "sp-api", - "sp-core", - "sp-runtime", + "sp-api 26.0.0", + "sp-core 28.0.0", + "sp-runtime 31.0.1", +] + +[[package]] +name = "sp-offchain" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d9de237d72ecffd07f90826eef18360208b16d8de939d54e61591fac0fcbf99" +dependencies = [ + "sp-api 34.0.0", + "sp-core 34.0.0", + "sp-runtime 39.0.2", +] + +[[package]] +name = "sp-panic-handler" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8f5a17a0a11de029a8b811cb6e8b32ce7e02183cc04a3e965c383246798c416" +dependencies = [ + "backtrace", + "lazy_static", + "regex", ] [[package]] @@ -8475,9 +11003,20 @@ name = "sp-rpc" version = "26.0.0" source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" dependencies = [ - "rustc-hash", + "rustc-hash 1.1.0", + "serde", + "sp-core 28.0.0", +] + +[[package]] +name = "sp-rpc" +version = "32.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45458f0955870a92b3969098d4f1f4e9b55b4282d9f1dc112a51bb5bb6584900" +dependencies = [ + "rustc-hash 1.1.0", "serde", - "sp-core", + "sp-core 34.0.0", ] [[package]] @@ -8496,12 +11035,39 @@ dependencies = [ "scale-info", "serde", "simple-mermaid", - "sp-application-crypto", - "sp-arithmetic", - "sp-core", - "sp-io", + "sp-application-crypto 30.0.0", + "sp-arithmetic 23.0.0", + "sp-core 28.0.0", + "sp-io 30.0.0", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-weights", + "sp-weights 27.0.0", +] + +[[package]] +name = "sp-runtime" +version = "39.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "658f23be7c79a85581029676a73265c107c5469157e3444c8c640fdbaa8bfed0" +dependencies = [ + "docify", + "either", + "hash256-std-hasher", + "impl-trait-for-tuples", + "log", + "num-traits", + "parity-scale-codec", + "paste", + "rand", + "scale-info", + "serde", + "simple-mermaid", + "sp-application-crypto 38.0.0", + "sp-arithmetic 26.0.0", + "sp-core 34.0.0", + "sp-io 38.0.0", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-weights 31.0.0", + "tracing", ] [[package]] @@ -8542,6 +11108,26 @@ dependencies = [ "static_assertions", ] +[[package]] +name = "sp-runtime-interface" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985eb981f40c689c6a0012c937b68ed58dabb4341d06f2dfe4dfd5ed72fa4017" +dependencies = [ + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec", + "polkavm-derive", + "primitive-types", + "sp-externalities 0.29.0", + "sp-runtime-interface-proc-macro 18.0.0", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-storage 21.0.0", + "sp-tracing 17.0.1", + "sp-wasm-interface 21.0.1", + "static_assertions", +] + [[package]] name = "sp-runtime-interface-proc-macro" version = "17.0.0" @@ -8568,6 +11154,20 @@ dependencies = [ "syn 2.0.87", ] +[[package]] +name = "sp-runtime-interface-proc-macro" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0195f32c628fee3ce1dfbbf2e7e52a30ea85f3589da9fe62a8b816d70fc06294" +dependencies = [ + "Inflector", + "expander", + "proc-macro-crate 3.1.0", + "proc-macro2", + "quote", + "syn 2.0.87", +] + [[package]] name = "sp-session" version = "27.0.0" @@ -8575,14 +11175,29 @@ source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polk dependencies = [ "parity-scale-codec", "scale-info", - "sp-api", - "sp-core", - "sp-keystore", - "sp-runtime", - "sp-staking", + "sp-api 26.0.0", + "sp-core 28.0.0", + "sp-keystore 0.34.0", + "sp-runtime 31.0.1", + "sp-staking 26.0.0", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", ] +[[package]] +name = "sp-session" +version = "36.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00a3a307fedc423fb8cd2a7726a3bbb99014f1b4b52f26153993e2aae3338fe6" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-api 34.0.0", + "sp-core 34.0.0", + "sp-keystore 0.40.0", + "sp-runtime 39.0.2", + "sp-staking 36.0.0", +] + [[package]] name = "sp-staking" version = "26.0.0" @@ -8592,11 +11207,25 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-runtime", + "sp-core 28.0.0", + "sp-runtime 31.0.1", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", ] +[[package]] +name = "sp-staking" +version = "36.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a73eedb4b85f4cd420d31764827546aa22f82ce1646d0fd258993d051de7a90" +dependencies = [ + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 34.0.0", + "sp-runtime 39.0.2", +] + [[package]] name = "sp-state-machine" version = "0.35.0" @@ -8605,17 +11234,38 @@ dependencies = [ "hash-db", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand", "smallvec", - "sp-core", + "sp-core 28.0.0", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-panic-handler", + "sp-panic-handler 13.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-trie", + "sp-trie 29.0.0", + "thiserror", + "tracing", + "trie-db 0.28.0", +] + +[[package]] +name = "sp-state-machine" +version = "0.43.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "930104d6ae882626e8880d9b1578da9300655d337a3ffb45e130c608b6c89660" +dependencies = [ + "hash-db", + "log", + "parity-scale-codec", + "parking_lot 0.12.3", + "rand", + "smallvec", + "sp-core 34.0.0", + "sp-externalities 0.29.0", + "sp-panic-handler 13.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0", "thiserror", "tracing", - "trie-db", + "trie-db 0.29.1", ] [[package]] @@ -8624,25 +11274,56 @@ version = "10.0.0" source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" dependencies = [ "aes-gcm", - "curve25519-dalek 4.1.2", + "curve25519-dalek 4.1.3", "ed25519-dalek", "hkdf", "parity-scale-codec", "rand", "scale-info", "sha2 0.10.8", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-crypto-hashing", + "sp-api 26.0.0", + "sp-application-crypto 30.0.0", + "sp-core 28.0.0", + "sp-crypto-hashing 0.0.0", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-runtime", + "sp-runtime 31.0.1", "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", "thiserror", "x25519-dalek 2.0.1", ] +[[package]] +name = "sp-statement-store" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c219bc34ef4d1f9835f3ed881f965643c32034fcc030eb33b759dadbc802c1c2" +dependencies = [ + "aes-gcm", + "curve25519-dalek 4.1.3", + "ed25519-dalek", + "hkdf", + "parity-scale-codec", + "rand", + "scale-info", + "sha2 0.10.8", + "sp-api 34.0.0", + "sp-application-crypto 38.0.0", + "sp-core 34.0.0", + "sp-crypto-hashing 0.1.0", + "sp-externalities 0.29.0", + "sp-runtime 39.0.2", + "sp-runtime-interface 28.0.0", + "thiserror", + "x25519-dalek 2.0.1", +] + +[[package]] +name = "sp-std" +version = "14.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12f8ee986414b0a9ad741776762f4083cd3a5128449b982a3919c4df36874834" + [[package]] name = "sp-std" version = "14.0.0" @@ -8678,6 +11359,19 @@ dependencies = [ "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk)", ] +[[package]] +name = "sp-storage" +version = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99c82989b3a4979a7e1ad848aad9f5d0b4388f1f454cc131766526601ab9e8f8" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "ref-cast", + "serde", + "sp-debug-derive 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "sp-timestamp" version = "26.0.0" @@ -8685,12 +11379,25 @@ source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polk dependencies = [ "async-trait", "parity-scale-codec", - "sp-inherents", - "sp-runtime", + "sp-inherents 26.0.0", + "sp-runtime 31.0.1", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", "thiserror", ] +[[package]] +name = "sp-timestamp" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72a1cb4df653d62ccc0dbce1db45d1c9443ec60247ee9576962d24da4c9c6f07" +dependencies = [ + "async-trait", + "parity-scale-codec", + "sp-inherents 34.0.0", + "sp-runtime 39.0.2", + "thiserror", +] + [[package]] name = "sp-tracing" version = "16.0.0" @@ -8700,7 +11407,7 @@ dependencies = [ "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", "tracing", "tracing-core", - "tracing-subscriber", + "tracing-subscriber 0.2.25", ] [[package]] @@ -8711,7 +11418,19 @@ dependencies = [ "parity-scale-codec", "tracing", "tracing-core", - "tracing-subscriber", + "tracing-subscriber 0.2.25", +] + +[[package]] +name = "sp-tracing" +version = "17.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf641a1d17268c8fcfdb8e0fa51a79c2d4222f4cfda5f3944dbdbc384dced8d5" +dependencies = [ + "parity-scale-codec", + "tracing", + "tracing-core", + "tracing-subscriber 0.3.18", ] [[package]] @@ -8719,8 +11438,18 @@ name = "sp-transaction-pool" version = "26.0.0" source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" dependencies = [ - "sp-api", - "sp-runtime", + "sp-api 26.0.0", + "sp-runtime 31.0.1", +] + +[[package]] +name = "sp-transaction-pool" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc4bf251059485a7dd38fe4afeda8792983511cc47f342ff4695e2dcae6b5247" +dependencies = [ + "sp-api 34.0.0", + "sp-runtime 39.0.2", ] [[package]] @@ -8731,11 +11460,26 @@ dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-core", - "sp-inherents", - "sp-runtime", + "sp-core 28.0.0", + "sp-inherents 26.0.0", + "sp-runtime 31.0.1", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-trie", + "sp-trie 29.0.0", +] + +[[package]] +name = "sp-transaction-storage-proof" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c765c2e9817d95f13d42a9f2295c60723464669765c6e5acbacebd2f54932f67" +dependencies = [ + "async-trait", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0", + "sp-inherents 34.0.0", + "sp-runtime 39.0.2", + "sp-trie 37.0.0", ] [[package]] @@ -8749,16 +11493,40 @@ dependencies = [ "memory-db", "nohash-hasher", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand", "scale-info", "schnellru", - "sp-core", + "sp-core 28.0.0", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", "thiserror", "tracing", - "trie-db", + "trie-db 0.28.0", + "trie-root", +] + +[[package]] +name = "sp-trie" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6282aef9f4b6ecd95a67a45bcdb67a71f4a4155c09a53c10add4ffe823db18cd" +dependencies = [ + "ahash 0.8.11", + "hash-db", + "lazy_static", + "memory-db", + "nohash-hasher", + "parity-scale-codec", + "parking_lot 0.12.3", + "rand", + "scale-info", + "schnellru", + "sp-core 34.0.0", + "sp-externalities 0.29.0", + "thiserror", + "tracing", + "trie-db 0.29.1", "trie-root", ] @@ -8772,10 +11540,28 @@ dependencies = [ "parity-wasm", "scale-info", "serde", - "sp-crypto-hashing-proc-macro", - "sp-runtime", + "sp-crypto-hashing-proc-macro 0.0.0", + "sp-runtime 31.0.1", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-version-proc-macro", + "sp-version-proc-macro 13.0.0", + "thiserror", +] + +[[package]] +name = "sp-version" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d521a405707b5be561367cd3d442ff67588993de24062ce3adefcf8437ee9fe1" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "parity-wasm", + "scale-info", + "serde", + "sp-crypto-hashing-proc-macro 0.1.0", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-version-proc-macro 14.0.0", "thiserror", ] @@ -8790,6 +11576,18 @@ dependencies = [ "syn 2.0.87", ] +[[package]] +name = "sp-version-proc-macro" +version = "14.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5aee8f6730641a65fcf0c8f9b1e448af4b3bb083d08058b47528188bccc7b7a7" +dependencies = [ + "parity-scale-codec", + "proc-macro2", + "quote", + "syn 2.0.87", +] + [[package]] name = "sp-wasm-interface" version = "20.0.0" @@ -8815,6 +11613,19 @@ dependencies = [ "wasmtime", ] +[[package]] +name = "sp-wasm-interface" +version = "21.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b066baa6d57951600b14ffe1243f54c47f9c23dd89c262e17ca00ae8dca58be9" +dependencies = [ + "anyhow", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "wasmtime", +] + [[package]] name = "sp-weights" version = "27.0.0" @@ -8825,11 +11636,26 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-arithmetic", + "sp-arithmetic 23.0.0", "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", ] +[[package]] +name = "sp-weights" +version = "31.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93cdaf72a1dad537bbb130ba4d47307ebe5170405280ed1aa31fa712718a400e" +dependencies = [ + "bounded-collections", + "parity-scale-codec", + "scale-info", + "serde", + "smallvec", + "sp-arithmetic 26.0.0", + "sp-debug-derive 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "spin" version = "0.5.2" @@ -8874,7 +11700,7 @@ dependencies = [ [[package]] name = "sqnc-lang" -version = "0.4.0" +version = "0.5.0" dependencies = [ "clap", "exitcode", @@ -8889,7 +11715,7 @@ dependencies = [ [[package]] name = "sqnc-node" -version = "11.3.0" +version = "11.4.0" dependencies = [ "async-trait", "bs58 0.5.1", @@ -8898,42 +11724,44 @@ dependencies = [ "frame-benchmarking-cli", "frame-system", "futures", - "jsonrpsee", + "jsonrpsee 0.24.7", "pallet-transaction-payment-free", "pallet-transaction-payment-rpc", "sc-basic-authorship", - "sc-cli", - "sc-client-api", - "sc-consensus", + "sc-cli 0.47.0", + "sc-client-api 37.0.0", + "sc-consensus 0.44.0", "sc-consensus-babe", "sc-consensus-babe-rpc", "sc-consensus-grandpa", "sc-consensus-manual-seal", - "sc-executor", - "sc-keystore", - "sc-network", + "sc-executor 0.40.1", + "sc-keystore 33.0.0", + "sc-network 0.45.1", "sc-offchain", - "sc-rpc", - "sc-rpc-api", - "sc-service", - "sc-telemetry", - "sc-transaction-pool", - "sc-transaction-pool-api", + "sc-rpc 40.0.0", + "sc-rpc-api 0.44.0", + "sc-service 0.46.0", + "sc-telemetry 25.0.0", + "sc-transaction-pool 37.0.0", + "sc-transaction-pool-api 37.0.0", "serde_json", - "sp-api", - "sp-block-builder", - "sp-blockchain", - "sp-consensus", - "sp-consensus-babe", - "sp-consensus-grandpa", - "sp-core", - "sp-inherents", - "sp-keyring", - "sp-keystore", - "sp-runtime", - "sp-timestamp", + "sp-api 34.0.0", + "sp-block-builder 34.0.0", + "sp-blockchain 37.0.1", + "sp-consensus 0.40.0", + "sp-consensus-babe 0.40.0", + "sp-consensus-grandpa 21.0.0", + "sp-core 34.0.0", + "sp-inherents 34.0.0", + "sp-io 38.0.0", + "sp-keyring 39.0.0", + "sp-keystore 0.40.0", + "sp-runtime 39.0.2", + "sp-statement-store 18.0.0", + "sp-timestamp 34.0.0", "sqnc-lang", - "sqnc-node-runtime", + "sqnc-runtime", "sqnc-runtime-types", "substrate-build-script-utils", "substrate-frame-rpc-system", @@ -8941,8 +11769,19 @@ dependencies = [ ] [[package]] -name = "sqnc-node-runtime" -version = "11.2.0" +name = "sqnc-pallet-traits" +version = "3.5.0" +dependencies = [ + "frame-support", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "sqnc-runtime" +version = "11.3.0" dependencies = [ "frame-benchmarking", "frame-executive", @@ -8972,35 +11811,25 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-api", - "sp-block-builder", - "sp-consensus-babe", - "sp-consensus-grandpa", - "sp-core", - "sp-genesis-builder", - "sp-inherents", - "sp-offchain", - "sp-runtime", - "sp-session", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-transaction-pool", - "sp-version", + "sp-api 34.0.0", + "sp-block-builder 34.0.0", + "sp-consensus-babe 0.40.0", + "sp-consensus-grandpa 21.0.0", + "sp-core 34.0.0", + "sp-genesis-builder 0.15.1", + "sp-inherents 34.0.0", + "sp-offchain 34.0.0", + "sp-runtime 39.0.2", + "sp-session 36.0.0", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-storage 21.0.0", + "sp-transaction-pool 34.0.0", + "sp-version 37.0.0", + "sqnc-pallet-traits", "sqnc-runtime-types", "substrate-wasm-builder", ] -[[package]] -name = "sqnc-pallet-traits" -version = "3.4.0" -dependencies = [ - "frame-support", - "parity-scale-codec", - "scale-info", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", -] - [[package]] name = "sqnc-runtime-types" version = "1.1.0" @@ -9010,8 +11839,8 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-runtime", + "sp-core 34.0.0", + "sp-runtime 39.0.2", "strum 0.26.3", "strum_macros 0.26.4", ] @@ -9071,6 +11900,26 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "str0m" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6706347e49b13373f7ddfafad47df7583ed52083d6fc8a594eb2c80497ef959d" +dependencies = [ + "combine", + "crc", + "fastrand", + "hmac 0.12.1", + "once_cell", + "openssl", + "openssl-sys", + "sctp-proto", + "serde", + "sha-1 0.10.1", + "thiserror", + "tracing", +] + [[package]] name = "strsim" version = "0.11.1" @@ -9097,6 +11946,9 @@ name = "strum" version = "0.26.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" +dependencies = [ + "strum_macros 0.26.4", +] [[package]] name = "strum_macros" @@ -9149,28 +12001,57 @@ dependencies = [ "zeroize", ] +[[package]] +name = "substrate-bip39" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca58ffd742f693dc13d69bdbb2e642ae239e0053f6aab3b104252892f856700a" +dependencies = [ + "hmac 0.12.1", + "pbkdf2", + "schnorrkel", + "sha2 0.10.8", + "zeroize", +] + [[package]] name = "substrate-build-script-utils" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b285e7d183a32732fdc119f3d81b7915790191fad602b7c709ef247073c77a2e" [[package]] name = "substrate-frame-rpc-system" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "39.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d071d325decc80d906afd957ee83673d1cbd27b7b421a7f1c9f6132a437e17fd" dependencies = [ + "docify", "frame-system-rpc-runtime-api", "futures", - "jsonrpsee", + "jsonrpsee 0.24.7", "log", "parity-scale-codec", - "sc-rpc-api", - "sc-transaction-pool-api", - "sp-api", - "sp-block-builder", - "sp-blockchain", - "sp-core", - "sp-runtime", + "sc-rpc-api 0.44.0", + "sc-transaction-pool-api 37.0.0", + "sp-api 34.0.0", + "sp-block-builder 34.0.0", + "sp-blockchain 37.0.1", + "sp-core 34.0.0", + "sp-runtime 39.0.2", +] + +[[package]] +name = "substrate-prometheus-endpoint" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d8fe06b03b8a291c09507c42f92a2c2c10dd3d62975d02c7f64a92d87bfe09b" +dependencies = [ + "hyper 0.14.31", + "log", + "prometheus", + "thiserror", + "tokio", ] [[package]] @@ -9178,7 +12059,7 @@ name = "substrate-prometheus-endpoint" version = "0.17.0" source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" dependencies = [ - "hyper", + "hyper 0.14.31", "log", "prometheus", "thiserror", @@ -9191,26 +12072,28 @@ version = "0.33.0" source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" dependencies = [ "async-trait", - "jsonrpsee", + "jsonrpsee 0.22.3", "log", - "sc-rpc-api", + "sc-rpc-api 0.33.0", "serde", - "sp-runtime", + "sp-runtime 31.0.1", ] [[package]] name = "substrate-wasm-builder" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0#3c3d6fceb82372a3019b37117aa453d564b212de" +version = "24.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf035ffe7335fb24053edfe4d0a5780250eda772082a1b80ae25835dd4c09265" dependencies = [ "build-helper", "cargo_metadata", "console", "filetime", + "jobserver", "parity-wasm", "polkavm-linker", - "sp-maybe-compressed-blob", - "strum 0.24.1", + "sp-maybe-compressed-blob 11.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "strum 0.26.3", "tempfile", "toml 0.8.12", "walkdir", @@ -9263,6 +12146,17 @@ dependencies = [ "unicode-xid", ] +[[package]] +name = "synstructure" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.87", +] + [[package]] name = "system-configuration" version = "0.5.1" @@ -9454,10 +12348,10 @@ dependencies = [ "libc", "mio", "num_cpus", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "pin-project-lite 0.2.14", "signal-hook-registry", - "socket2 0.5.6", + "socket2 0.5.7", "tokio-macros", "windows-sys 0.48.0", ] @@ -9517,11 +12411,26 @@ dependencies = [ "tokio-util", ] +[[package]] +name = "tokio-tungstenite" +version = "0.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "212d5dcb2a1ce06d81107c3d0ffa3121fe974b73f068c8282cb1c32328113b6c" +dependencies = [ + "futures-util", + "log", + "rustls 0.21.10", + "rustls-native-certs 0.6.3", + "tokio", + "tokio-rustls 0.24.1", + "tungstenite", +] + [[package]] name = "tokio-util" -version = "0.7.10" +version = "0.7.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15" +checksum = "61e7c3654c13bcd040d4a03abee2c75b1d14a37b423cf5a813ceae1cc903ec6a" dependencies = [ "bytes", "futures-core", @@ -9529,7 +12438,6 @@ dependencies = [ "futures-sink", "pin-project-lite 0.2.14", "tokio", - "tracing", ] [[package]] @@ -9596,6 +12504,7 @@ dependencies = [ "futures-util", "pin-project", "pin-project-lite 0.2.14", + "tokio", "tower-layer", "tower-service", "tracing", @@ -9611,14 +12520,30 @@ dependencies = [ "bytes", "futures-core", "futures-util", - "http", - "http-body", + "http 0.2.12", + "http-body 0.4.6", "http-range-header", "pin-project-lite 0.2.14", "tower-layer", "tower-service", ] +[[package]] +name = "tower-http" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e9cd434a998747dd2c4276bc96ee2e0c7a2eadf3cae88e52be55a05fa9053f5" +dependencies = [ + "bitflags 2.5.0", + "bytes", + "http 1.1.0", + "http-body 1.0.1", + "http-body-util", + "pin-project-lite 0.2.14", + "tower-layer", + "tower-service", +] + [[package]] name = "tower-layer" version = "0.3.2" @@ -9685,6 +12610,17 @@ dependencies = [ "tracing-core", ] +[[package]] +name = "tracing-log" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" +dependencies = [ + "log", + "once_cell", + "tracing-core", +] + [[package]] name = "tracing-serde" version = "0.1.3" @@ -9704,7 +12640,7 @@ dependencies = [ "ansi_term", "chrono", "lazy_static", - "matchers", + "matchers 0.0.1", "parking_lot 0.11.2", "regex", "serde", @@ -9714,10 +12650,30 @@ dependencies = [ "thread_local", "tracing", "tracing-core", - "tracing-log", + "tracing-log 0.1.4", "tracing-serde", ] +[[package]] +name = "tracing-subscriber" +version = "0.3.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b" +dependencies = [ + "matchers 0.1.0", + "nu-ansi-term", + "once_cell", + "parking_lot 0.12.3", + "regex", + "sharded-slab", + "smallvec", + "thread_local", + "time", + "tracing", + "tracing-core", + "tracing-log 0.2.0", +] + [[package]] name = "trie-db" version = "0.28.0" @@ -9731,6 +12687,18 @@ dependencies = [ "smallvec", ] +[[package]] +name = "trie-db" +version = "0.29.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c992b4f40c234a074d48a757efeabb1a6be88af84c0c23f7ca158950cb0ae7f" +dependencies = [ + "hash-db", + "log", + "rustc-hex", + "smallvec", +] + [[package]] name = "trie-root" version = "0.18.0" @@ -9749,7 +12717,7 @@ dependencies = [ "async-trait", "cfg-if", "data-encoding", - "enum-as-inner", + "enum-as-inner 0.5.1", "futures-channel", "futures-io", "futures-util", @@ -9766,6 +12734,31 @@ dependencies = [ "url", ] +[[package]] +name = "trust-dns-proto" +version = "0.23.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3119112651c157f4488931a01e586aa459736e9d6046d3bd9105ffb69352d374" +dependencies = [ + "async-trait", + "cfg-if", + "data-encoding", + "enum-as-inner 0.6.1", + "futures-channel", + "futures-io", + "futures-util", + "idna 0.4.0", + "ipnet", + "once_cell", + "rand", + "smallvec", + "thiserror", + "tinyvec", + "tokio", + "tracing", + "url", +] + [[package]] name = "trust-dns-resolver" version = "0.22.0" @@ -9777,13 +12770,34 @@ dependencies = [ "ipconfig", "lazy_static", "lru-cache", - "parking_lot 0.12.1", + "parking_lot 0.12.3", + "resolv-conf", + "smallvec", + "thiserror", + "tokio", + "tracing", + "trust-dns-proto 0.22.0", +] + +[[package]] +name = "trust-dns-resolver" +version = "0.23.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10a3e6c3aff1718b3c73e395d1f35202ba2ffa847c6a62eea0db8fb4cfe30be6" +dependencies = [ + "cfg-if", + "futures-util", + "ipconfig", + "lru-cache", + "once_cell", + "parking_lot 0.12.3", + "rand", "resolv-conf", "smallvec", "thiserror", "tokio", "tracing", - "trust-dns-proto", + "trust-dns-proto 0.23.2", ] [[package]] @@ -9803,52 +12817,56 @@ dependencies = [ "hex", "log", "parity-scale-codec", - "sc-cli", - "sc-executor", + "sc-cli 0.36.0", + "sc-executor 0.32.0", "serde", "serde_json", - "sp-api", - "sp-consensus-aura", - "sp-consensus-babe", - "sp-core", + "sp-api 26.0.0", + "sp-consensus-aura 0.32.0", + "sp-consensus-babe 0.32.0", + "sp-core 28.0.0", "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.9.0)", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-rpc", - "sp-runtime", - "sp-state-machine", - "sp-timestamp", - "sp-transaction-storage-proof", - "sp-version", - "sp-weights", + "sp-inherents 26.0.0", + "sp-io 30.0.0", + "sp-keystore 0.34.0", + "sp-rpc 26.0.0", + "sp-runtime 31.0.1", + "sp-state-machine 0.35.0", + "sp-timestamp 26.0.0", + "sp-transaction-storage-proof 26.0.0", + "sp-version 29.0.0", + "sp-weights 27.0.0", "substrate-rpc-client", "zstd 0.12.4", ] -[[package]] -name = "trybuild" -version = "1.0.91" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ad7eb6319ebadebca3dacf1f85a93bc54b73dd81b9036795f73de7ddfe27d5a" -dependencies = [ - "dissimilar", - "glob", - "once_cell", - "serde", - "serde_derive", - "serde_json", - "termcolor", - "toml 0.8.12", -] - [[package]] name = "tt-call" version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f4f195fd851901624eee5a58c4bb2b4f06399148fcd0ed336e6f1cb60a9881df" +[[package]] +name = "tungstenite" +version = "0.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e3dac10fd62eaf6617d3a904ae222845979aec67c615d1c842b4002c7666fb9" +dependencies = [ + "byteorder", + "bytes", + "data-encoding", + "http 0.2.12", + "httparse", + "log", + "rand", + "rustls 0.21.10", + "sha1", + "thiserror", + "url", + "utf-8", +] + [[package]] name = "twox-hash" version = "1.6.3" @@ -9940,6 +12958,16 @@ dependencies = [ "futures-util", ] +[[package]] +name = "unsigned-varint" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb066959b24b5196ae73cb057f45598450d2c5f71460e98c49b738086eff9c06" +dependencies = [ + "bytes", + "tokio-util", +] + [[package]] name = "untrusted" version = "0.7.1" @@ -9963,6 +12991,12 @@ dependencies = [ "percent-encoding", ] +[[package]] +name = "utf-8" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" + [[package]] name = "utf8parse" version = "0.2.1" @@ -10412,6 +13446,12 @@ dependencies = [ "webpki", ] +[[package]] +name = "webpki-roots" +version = "0.25.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" + [[package]] name = "which" version = "4.4.2" @@ -10499,6 +13539,21 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "windows-sys" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" +dependencies = [ + "windows_aarch64_gnullvm 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", +] + [[package]] name = "windows-sys" version = "0.45.0" @@ -10767,7 +13822,7 @@ version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" dependencies = [ - "curve25519-dalek 4.1.2", + "curve25519-dalek 4.1.3", "rand_core 0.6.4", "serde", "zeroize", @@ -10779,18 +13834,67 @@ version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e0ecbeb7b67ce215e40e3cc7f2ff902f94a223acf44995934763467e7b1febc8" dependencies = [ - "asn1-rs", + "asn1-rs 0.5.2", "base64 0.13.1", "data-encoding", - "der-parser", + "der-parser 8.2.0", + "lazy_static", + "nom", + "oid-registry 0.6.1", + "rusticata-macros", + "thiserror", + "time", +] + +[[package]] +name = "x509-parser" +version = "0.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7069fba5b66b9193bd2c5d3d4ff12b839118f6bcbef5328efafafb5395cf63da" +dependencies = [ + "asn1-rs 0.5.2", + "data-encoding", + "der-parser 8.2.0", + "lazy_static", + "nom", + "oid-registry 0.6.1", + "rusticata-macros", + "thiserror", + "time", +] + +[[package]] +name = "x509-parser" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fcbc162f30700d6f3f82a24bf7cc62ffe7caea42c0b2cba8bf7f3ae50cf51f69" +dependencies = [ + "asn1-rs 0.6.2", + "data-encoding", + "der-parser 9.0.0", "lazy_static", "nom", - "oid-registry", + "oid-registry 0.7.1", "rusticata-macros", "thiserror", "time", ] +[[package]] +name = "xml-rs" +version = "0.8.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af310deaae937e48a26602b730250b4949e125f468f11e6990be3e5304ddd96f" + +[[package]] +name = "xmltree" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7d8a75eaf6557bb84a65ace8609883db44a29951042ada9b393151532e41fcb" +dependencies = [ + "xml-rs", +] + [[package]] name = "yamux" version = "0.10.2" @@ -10800,16 +13904,25 @@ dependencies = [ "futures", "log", "nohash-hasher", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand", "static_assertions", ] [[package]] -name = "yansi" -version = "0.5.1" +name = "yamux" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" +checksum = "9ed0164ae619f2dc144909a9f082187ebb5893693d8c0196e8085283ccd4b776" +dependencies = [ + "futures", + "log", + "nohash-hasher", + "parking_lot 0.12.3", + "pin-project", + "rand", + "static_assertions", +] [[package]] name = "yasna" @@ -10842,9 +13955,9 @@ dependencies = [ [[package]] name = "zeroize" -version = "1.7.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" +checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" dependencies = [ "zeroize_derive", ] diff --git a/Cargo.toml b/Cargo.toml index 27ad3553..d98c207a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,10 @@ -[profile.release] -panic = 'unwind' - [workspace] members = ['node', 'pallets/*', 'runtime', 'runtime/types', 'tools/*'] resolver = "2" +[workspace.package] +edition = "2021" + [workspace.dependencies] ############################## # non-substrate dependencies # @@ -23,11 +23,12 @@ pest_derive = "2.7.14" thiserror = "1.0.69" strum = { version = "0.26.3", default-features = false } strum_macros = { version = "0.26.4", default-features = false } +log = { version = "0.4.22", default-features = false } ################################################################# # substrate linked dependencies in crates.io that may be pinned # ################################################################# -jsonrpsee = { version = "0.22.3" } +jsonrpsee = { version = "0.24.3" } scale-info = { version = "2.11.5", default-features = false } parity-scale-codec = { version = "3.7.0", default-features = false } @@ -36,73 +37,76 @@ parity-scale-codec = { version = "3.7.0", default-features = false } ################################### # Runtime component dependencies -frame-support = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -frame-system = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -frame-benchmarking = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sp-io = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sp-std = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sp-core = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -frame-support-test = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -pallet-scheduler = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -pallet-balances = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -pallet-babe = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -pallet-grandpa = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -pallet-sudo = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -pallet-timestamp = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -pallet-transaction-payment-rpc-runtime-api = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -frame-executive = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sp-api = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sp-block-builder = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sp-consensus-babe = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sp-consensus-grandpa = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sp-genesis-builder = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sp-inherents = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sp-offchain = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sp-session = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sp-storage = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sp-transaction-pool = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sp-version = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -frame-try-runtime = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -pallet-collective = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -pallet-membership = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -pallet-node-authorization = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -pallet-preimage = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -pallet-transaction-payment-rpc = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -frame-system-rpc-runtime-api = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -frame-system-benchmarking = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } +frame-support = { version = "38.0.0", default-features = false } +frame-system = { version = "38.0.0", default-features = false } +frame-benchmarking = { version = "38.0.0", default-features = false } +sp-runtime = { version = "39.0.1", default-features = false } +sp-io = { version = "38.0.0", default-features = false } +sp-std = { version = "14.0.0", default-features = false } +sp-core = { version = "34.0.0", default-features = false } +pallet-scheduler = { version = "39.0.0", default-features = false } +pallet-balances = { version = "39.0.0", default-features = false } +pallet-babe = { version = "38.0.0", default-features = false } +pallet-grandpa = { version = "38.0.0", default-features = false } +pallet-sudo = { version = "38.0.0", default-features = false } +pallet-timestamp = { version = "37.0.0", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { version = "38.0.0", default-features = false } +frame-executive = { version = "38.0.0", default-features = false } +sp-api = { version = "34.0.0", default-features = false } +sp-block-builder = { version = "34.0.0", default-features = false } +sp-consensus-babe = { version = "0.40.0", default-features = false } +sp-consensus-grandpa = { version = "21.0.0", default-features = false } +sp-genesis-builder = { version = "0.15.1", default-features = false } +sp-inherents = { version = "34.0.0", default-features = false } +sp-offchain = { version = "34.0.0", default-features = false } +sp-session = { version = "36.0.0", default-features = false } +sp-statement-store = { version = "18.0.0", default-features = false } +sp-storage = { version = "21.0.0", default-features = false } +sp-transaction-pool = { version = "34.0.0", default-features = false } +sp-version = { version = "37.0.0", default-features = false } +frame-try-runtime = { version = "0.44.0", default-features = false } +pallet-collective = { version = "38.0.0", default-features = false } +pallet-membership = { version = "38.0.0", default-features = false } +pallet-node-authorization = { version = "38.0.0", default-features = false } +pallet-preimage = { version = "38.0.0", default-features = false } +pallet-transaction-payment-rpc = { version = "41.0.0", default-features = false } +frame-system-rpc-runtime-api = { version = "34.0.0", default-features = false } +frame-system-benchmarking = { version = "38.0.0", default-features = false } # node dependencies -sc-cli = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sc-executor = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sc-service = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sc-telemetry = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sc-keystore = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sc-network = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sc-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sc-transaction-pool-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sc-offchain = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sc-consensus-manual-seal = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sc-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sc-consensus-babe-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sp-consensus = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sc-consensus = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sc-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sp-keyring = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sc-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sc-rpc-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -sc-basic-authorship = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } +sc-cli = { version = "0.47.0" } +sc-executor = { version = "0.40.1" } +sc-service = { version = "0.46.0" } +sc-telemetry = { version = "25.0.0" } +sc-keystore = { version = "33.0.0" } +sc-network = { version = "0.45.1" } +sc-transaction-pool = { version = "37.0.0" } +sc-transaction-pool-api = { version = "37.0.0" } +sc-offchain = { version = "40.0.0" } +sc-consensus-manual-seal = { version = "0.46.0" } +sc-consensus-babe = { version = "0.45.0" } +sc-consensus-babe-rpc = { version = "0.45.0" } +sp-consensus = { version = "0.40.0" } +sc-consensus = { version = "0.44.0" } +sc-consensus-grandpa = { version = "0.30.0" } +sc-client-api = { version = "37.0.0" } +sp-timestamp = { version = "34.0.0" } +sp-keyring = { version = "39.0.0" } +sp-keystore = { version = "0.40.0" } +sc-rpc = { version = "40.0.0" } +sc-rpc-api = { version = "0.44.0" } +sp-blockchain = { version = "37.0.1" } +sc-basic-authorship = { version = "0.45.0" } +substrate-frame-rpc-system = { version = "39.0.0" } +frame-benchmarking-cli = { version = "43.0.0" } try-runtime-cli = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } # build dependencies -substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } -substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } +substrate-wasm-builder = { version = "24.0.1" } +substrate-build-script-utils = { version = "11.0.0" } + +[profile.release] +panic = 'unwind' [profile.production] inherits = "release" diff --git a/README.md b/README.md index 12be690f..e74a3ef4 100644 --- a/README.md +++ b/README.md @@ -80,13 +80,13 @@ Then you can run the benchmark tool with for example ```bash ./target/production/sqnc-node benchmark pallet \ - --pallet 'pallet_utxo_nft' \ + --pallet '*' \ --extrinsic '*' \ --repeat 1000 \ - --output ./weights/ + --output ./runtime/src/weights ``` -The generated weights implementation should then be integrated into the relevant pallet. +Which will update the weights for all pallets in the runtime automatically. Specify a single pallet to just update that one. ### Upgrading Substrate diff --git a/Upgrade.md b/Upgrade.md index c7dedade..06f639a6 100644 --- a/Upgrade.md +++ b/Upgrade.md @@ -4,23 +4,16 @@ A guide on how to upgrade to the latest [release](https://github.com/paritytech/ Based on updating from `release-polkadot-v1.5.0` to `release-polkadot-v1.9.0`. See the [PR](https://github.com/digicatapult/sqnc-node/pull/169/files). -## Upgrade branch version +## Upgrade polkadot-sdk version -In the root `Cargo.toml` bump the dependencies that point to a release branch of the `polkadot-sdk`: +`Polkadot-sdk` (`substrate`) dependencies are upgraded using the tool [`psvm`](https://github.com/paritytech/psvm). Once installed you can update the `polkadot-sdk` with, for example: -For example - -```rust -frame-support = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.5.0" } -``` - -becomes - -```rust -frame-support = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.9.0" } +```bash +# upgrade polkadot-sdk to version stable2409-2 +psvm -v "stable2409-2" ``` -Run `cargo update` to get newer versions of all dependencies. +Available versions are documented on [https://github.com/paritytech/release-registry/](https://github.com/paritytech/release-registry/) ## Debugging techniques @@ -76,13 +69,13 @@ If tests pass, bump at least a minor version in the pallet `Cargo.toml` e.g. `pa ### Runtime -Test that the upgraded dependencies work for the runtime, including the newly upgraded pallets `cargo build --release -p sqnc-node-runtime`. Fix any compilation errors. +Test that the upgraded dependencies work for the runtime, including the newly upgraded pallets `cargo build --release -p sqnc-runtime`. Fix any compilation errors. Bump the runtime version in `runtime/Cargo.toml`. Also increment the runtime `spec_version` in `runtime/src/lib.rs` to match. Note `spec_version` does not recognize semver, so treat it as a whole number. e.g. in place of `5.6.8` the `spec_version` would be `568`. Run the tests for the runtime: -`cargo test --release -p sqnc-node-runtime` +`cargo test --release -p sqnc-runtime` ### Node diff --git a/node/Cargo.toml b/node/Cargo.toml index 9f598a2e..09e70a32 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -6,7 +6,7 @@ edition = '2021' license = 'Apache-2.0' repository = 'https://github.com/digicatapult/sqnc-node/' name = 'sqnc-node' -version = '11.3.0' +version = '11.4.0' [[bin]] name = 'sqnc-node' @@ -45,6 +45,8 @@ sp-timestamp = { workspace = true } sp-inherents = { workspace = true } sp-keyring = { workspace = true } sp-keystore = { workspace = true } +sp-io = { workspace = true } +sp-statement-store = { workspace = true } frame-system = { workspace = true } # These dependencies are used for the node template's RPCs @@ -62,7 +64,7 @@ frame-benchmarking = { workspace = true } frame-benchmarking-cli = { workspace = true } # Local Dependencies -sqnc-node-runtime = { path = '../runtime' } +sqnc-runtime = { path = '../runtime' } sqnc-runtime-types = { path = '../runtime/types' } pallet-transaction-payment-free = { default-features = false, path = '../pallets/transaction-payment-free' } sqnc-lang = { path = '../tools/lang' } @@ -78,7 +80,7 @@ substrate-build-script-utils = { workspace = true } [features] default = [] runtime-benchmarks = [ - "sqnc-node-runtime/runtime-benchmarks", + "sqnc-runtime/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks", "frame-benchmarking-cli/runtime-benchmarks", ] diff --git a/node/src/benchmarking.rs b/node/src/benchmarking.rs index 939136ec..186127c5 100644 --- a/node/src/benchmarking.rs +++ b/node/src/benchmarking.rs @@ -7,7 +7,7 @@ use sp_core::{Encode, Pair}; use sp_inherents::{InherentData, InherentDataProvider}; use sp_keyring::Sr25519Keyring; use sp_runtime::{OpaqueExtrinsic, SaturatedConversion}; -use sqnc_node_runtime as runtime; +use sqnc_runtime as runtime; use std::{sync::Arc, time::Duration}; diff --git a/node/src/chain_spec.rs b/node/src/chain_spec.rs index abdf3efc..10965578 100644 --- a/node/src/chain_spec.rs +++ b/node/src/chain_spec.rs @@ -3,13 +3,13 @@ use sp_consensus_babe::AuthorityId as BabeId; use sp_consensus_grandpa::AuthorityId as GrandpaId; use sp_core::{sr25519, Pair, Public}; use sp_runtime::traits::{IdentifyAccount, Verify}; -use sqnc_node_runtime::{RuntimeGenesisConfig, WASM_BINARY}; +use sqnc_runtime::WASM_BINARY; use sqnc_runtime_types::{AccountId, RuntimeExpressionSymbol, RuntimeRestriction, Signature}; const DEFAULT_PROTOCOL_ID: &str = "sqnc"; /// Specialized `ChainSpec`. This is a specialization of the general Substrate ChainSpec type. -pub type ChainSpec = sc_service::GenericChainSpec; +pub type ChainSpec = sc_service::GenericChainSpec; /// Generate a crypto pair from seed. pub fn get_from_seed(seed: &str) -> ::Public { @@ -153,7 +153,7 @@ fn testnet_genesis( }, "babe": { "authorities": initial_authorities.iter().map(|x| (x.0.clone(), 1)).collect::>(), - "epochConfig": Some(sqnc_node_runtime::BABE_GENESIS_EPOCH_CONFIG), + "epochConfig": Some(sqnc_runtime::BABE_GENESIS_EPOCH_CONFIG), }, "grandpa": { "authorities": initial_authorities.iter().map(|x| (x.1.clone(), 1)).collect::>(), diff --git a/node/src/command.rs b/node/src/command.rs index 1e312b54..db9be7d4 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -8,7 +8,12 @@ use frame_benchmarking_cli::{BenchmarkCmd, ExtrinsicFactory, SUBSTRATE_REFERENCE use sc_cli::SubstrateCli; use sc_service::PartialComponents; use sp_keyring::Sr25519Keyring; -use sqnc_node_runtime::{Block, EXISTENTIAL_DEPOSIT}; +use sqnc_runtime::{Block, EXISTENTIAL_DEPOSIT}; + +type NetworkWorker = sc_network::NetworkWorker< + sqnc_runtime::opaque::Block, + ::Hash, +>; impl SubstrateCli for Cli { fn impl_name() -> String { @@ -131,7 +136,7 @@ pub fn run() -> sc_cli::Result<()> { .into()); } - cmd.run::, ()>(config) + cmd.run_with_spec::, ()>(Some(config.chain_spec)) } BenchmarkCmd::Block(cmd) => { let PartialComponents { client, .. } = service::new_partial(&config)?; @@ -184,8 +189,8 @@ pub fn run() -> sc_cli::Result<()> { let runner = cli.create_runner(&cli.run)?; runner.run_node_until_exit(|config| async move { match cli.manual_seal { - true => test_service::new_test(config).map_err(sc_cli::Error::Service), - false => service::new_full(config).map_err(sc_cli::Error::Service), + true => test_service::new_test::(config).map_err(sc_cli::Error::Service), + false => service::new_full::(config).map_err(sc_cli::Error::Service), } }) } diff --git a/node/src/rpc.rs b/node/src/rpc.rs index 0028da19..8ff11816 100644 --- a/node/src/rpc.rs +++ b/node/src/rpc.rs @@ -4,7 +4,6 @@ use futures::channel::mpsc::Sender; use jsonrpsee::RpcModule; use sc_consensus_babe::BabeWorkerHandle; use sc_consensus_manual_seal::{rpc::ManualSeal, rpc::ManualSealApiServer, EngineCommand}; -pub use sc_rpc_api::DenyUnsafe; use sc_transaction_pool_api::TransactionPool; use sp_api::ProvideRuntimeApi; use sp_block_builder::BlockBuilder; @@ -13,7 +12,7 @@ use sp_consensus::SelectChain; use sp_consensus_babe::BabeApi; use sp_keystore::KeystorePtr; -use sqnc_node_runtime::{opaque::Block, AccountId, Balance, Hash, Index}; +use sqnc_runtime::{opaque::Block, AccountId, Balance, Hash, Nonce}; /// Extra dependencies for BABE. pub struct BabeDeps { @@ -31,8 +30,6 @@ pub struct FullDeps { pub pool: Arc

, /// The SelectChain Strategy pub select_chain: SC, - /// Whether to deny unsafe calls - pub deny_unsafe: DenyUnsafe, /// BABE specific dependencies. pub babe: BabeDeps, } @@ -45,7 +42,7 @@ where C: ProvideRuntimeApi, C: HeaderBackend + HeaderMetadata + 'static, C: Send + Sync + 'static, - C::Api: substrate_frame_rpc_system::AccountNonceApi, + C::Api: substrate_frame_rpc_system::AccountNonceApi, C::Api: pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi, C::Api: BabeApi, C::Api: BlockBuilder, @@ -61,8 +58,8 @@ where client, pool, select_chain, - deny_unsafe, babe, + .. } = deps; let BabeDeps { @@ -70,9 +67,9 @@ where babe_worker_handle, } = babe; - module.merge(System::new(client.clone(), pool, deny_unsafe).into_rpc())?; + module.merge(System::new(client.clone(), pool).into_rpc())?; module.merge(TransactionPayment::new(client.clone()).into_rpc())?; - module.merge(Babe::new(client, babe_worker_handle, keystore, select_chain, deny_unsafe).into_rpc())?; + module.merge(Babe::new(client.clone(), babe_worker_handle, keystore, select_chain).into_rpc())?; Ok(module) } @@ -83,8 +80,6 @@ pub struct TestDeps { pub client: Arc, /// Transaction pool instance. pub pool: Arc

, - /// Whether to deny unsafe calls - pub deny_unsafe: DenyUnsafe, /// A command stream to send authoring commands to manual seal consensus engine pub command_sink: Sender>, } @@ -95,7 +90,7 @@ where C: ProvideRuntimeApi, C: HeaderBackend + HeaderMetadata + 'static, C: Send + Sync + 'static, - C::Api: substrate_frame_rpc_system::AccountNonceApi, + C::Api: substrate_frame_rpc_system::AccountNonceApi, C::Api: pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi, C::Api: BlockBuilder, P: TransactionPool + 'static, @@ -107,11 +102,10 @@ where let TestDeps { client, pool, - deny_unsafe, command_sink, } = deps; - module.merge(System::new(client.clone(), pool, deny_unsafe).into_rpc())?; + module.merge(System::new(client.clone(), pool).into_rpc())?; module.merge(TransactionPayment::new(client.clone()).into_rpc())?; module.merge(ManualSeal::new(command_sink).into_rpc())?; diff --git a/node/src/service.rs b/node/src/service.rs index 82ca0e72..e4647d47 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -6,34 +6,29 @@ use futures::FutureExt; use sc_client_api::{Backend, BlockBackend}; use sc_consensus_babe::{ImportQueueParams, SlotProportion}; use sc_consensus_grandpa::SharedVoterState; -use sc_executor::NativeElseWasmExecutor; -use sc_service::{error::Error as ServiceError, Configuration, TaskManager, WarpSyncParams}; +use sc_service::{error::Error as ServiceError, Configuration, TaskManager, WarpSyncConfig}; use sc_telemetry::{Telemetry, TelemetryWorker}; use sc_transaction_pool_api::OffchainTransactionPoolFactory; -use sqnc_node_runtime::{self, opaque::Block, RuntimeApi}; - -// Our native executor instance. -pub struct ExecutorDispatch; - -impl sc_executor::NativeExecutionDispatch for ExecutorDispatch { - /// Only enable the benchmarking host functions when we actually want to benchmark. - #[cfg(feature = "runtime-benchmarks")] - type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions; - /// Otherwise we only use the default Substrate host functions. - #[cfg(not(feature = "runtime-benchmarks"))] - type ExtendHostFunctions = (); - - fn dispatch(method: &str, data: &[u8]) -> Option> { - sqnc_node_runtime::api::dispatch(method, data) - } - - fn native_version() -> sc_executor::NativeVersion { - sqnc_node_runtime::native_version() - } -} - -pub(crate) type FullClient = sc_service::TFullClient>; +use sqnc_runtime::{self, opaque::Block, RuntimeApi}; + +/// Host functions required for kitchensink runtime and Substrate node. +#[cfg(not(feature = "runtime-benchmarks"))] +pub type HostFunctions = ( + sp_io::SubstrateHostFunctions, + sp_statement_store::runtime_api::HostFunctions, +); + +/// Host functions required for kitchensink runtime and Substrate node. +#[cfg(feature = "runtime-benchmarks")] +pub type HostFunctions = ( + sp_io::SubstrateHostFunctions, + sp_statement_store::runtime_api::HostFunctions, + frame_benchmarking::benchmarking::HostFunctions, +); + +pub type RuntimeExecutor = sc_executor::WasmExecutor; +pub(crate) type FullClient = sc_service::TFullClient; type FullBackend = sc_service::TFullBackend; type FullSelectChain = sc_consensus::LongestChain; type FullGrandpaBlockImport = sc_consensus_grandpa::GrandpaBlockImport; @@ -67,10 +62,7 @@ pub fn new_partial( sc_consensus::DefaultImportQueue, sc_transaction_pool::FullPool, ( - impl Fn( - crate::rpc::DenyUnsafe, - sc_rpc::SubscriptionTaskExecutor, - ) -> Result, sc_service::Error>, + impl Fn(sc_rpc::SubscriptionTaskExecutor) -> Result, sc_service::Error>, ( sc_consensus_babe::BabeBlockImport, sc_consensus_babe::BabeLink, @@ -92,10 +84,10 @@ pub fn new_partial( }) .transpose()?; - let executor = sc_service::new_native_or_wasm_executor(config); + let executor = sc_service::new_wasm_executor(&config.executor); let (client, backend, keystore_container, task_manager) = sc_service::new_full_parts::( - config, + &config, telemetry.as_ref().map(|(_, telemetry)| telemetry.handle()), executor, )?; @@ -145,18 +137,17 @@ pub fn new_partial( offchain_tx_pool_factory: OffchainTransactionPoolFactory::new(transaction_pool.clone()), })?; - let rpc_extensions_builder = { + let rpc_builder = { let client = client.clone(); let pool = transaction_pool.clone(); let select_chain = select_chain.clone(); - let keystore = keystore_container.keystore(); + let keystore = keystore_container.keystore().clone(); - move |deny_unsafe, _| { + move |_| { let deps = crate::rpc::FullDeps { client: client.clone(), pool: pool.clone(), select_chain: select_chain.clone(), - deny_unsafe, babe: crate::rpc::BabeDeps { babe_worker_handle: babe_worker_handle.clone(), keystore: keystore.clone(), @@ -175,12 +166,14 @@ pub fn new_partial( select_chain, import_queue, transaction_pool, - other: (rpc_extensions_builder, import_setup, telemetry), + other: (rpc_builder, import_setup, telemetry), }) } /// Builds a new service for a full client. -pub fn new_full(config: Configuration) -> Result { +pub fn new_full::Hash>>( + config: Configuration, +) -> Result { let sc_service::PartialComponents { client, backend, @@ -194,15 +187,23 @@ pub fn new_full(config: Configuration) -> Result { let (block_import, babe_link, grandpa_link) = import_setup; - let mut net_config = sc_network::config::FullNetworkConfiguration::new(&config.network); + let mut net_config = sc_network::config::FullNetworkConfiguration::< + Block, + ::Hash, + N, + >::new(&config.network, config.prometheus_registry().cloned()); + let metrics = N::register_notification_metrics(config.prometheus_registry()); - let grandpa_protocol_name = sc_consensus_grandpa::protocol_standard_name( - &client.block_hash(0).ok().flatten().expect("Genesis block exists; qed"), - &config.chain_spec, - ); + let peer_store_handle = net_config.peer_store_handle(); + + let genesis_hash = client.block_hash(0).ok().flatten().expect("Genesis block exists; qed"); + let grandpa_protocol_name = sc_consensus_grandpa::protocol_standard_name(&genesis_hash, &config.chain_spec); - let (grandpa_protocol_config, grandpa_notification_service) = - sc_consensus_grandpa::grandpa_peers_set_config(grandpa_protocol_name.clone()); + let (grandpa_protocol_config, grandpa_notification_service) = sc_consensus_grandpa::grandpa_peers_set_config::<_, N>( + grandpa_protocol_name.clone(), + metrics.clone(), + peer_store_handle, + ); net_config.add_notification_protocol(grandpa_protocol_config); let warp_sync = Arc::new(sc_consensus_grandpa::warp_proof::NetworkProvider::new( @@ -220,8 +221,9 @@ pub fn new_full(config: Configuration) -> Result { spawn_handle: task_manager.spawn_handle(), import_queue, block_announce_validator_builder: None, - warp_sync_params: Some(WarpSyncParams::WithProvider(warp_sync)), + warp_sync_config: Some(WarpSyncConfig::WithProvider(warp_sync)), block_relay: None, + metrics, })?; if config.offchain_worker.enabled { @@ -234,7 +236,7 @@ pub fn new_full(config: Configuration) -> Result { keystore: Some(keystore_container.keystore()), offchain_db: backend.offchain_storage(), transaction_pool: Some(OffchainTransactionPoolFactory::new(transaction_pool.clone())), - network_provider: network.clone(), + network_provider: Arc::new(network.clone()), enable_http_requests: true, custom_extensions: |_| vec![], }) diff --git a/node/src/test_service.rs b/node/src/test_service.rs index 79b12eb2..95397f41 100644 --- a/node/src/test_service.rs +++ b/node/src/test_service.rs @@ -9,7 +9,6 @@ use sc_consensus_manual_seal::{ consensus::{babe::BabeConsensusDataProvider, timestamp::SlotTimestampProvider}, EngineCommand, ManualSealParams, }; -pub use sc_executor::NativeElseWasmExecutor; use sc_service::{error::Error as ServiceError, Configuration, PartialComponents, TaskManager}; use sc_telemetry::{Telemetry, TelemetryWorker}; use sc_transaction_pool_api::OffchainTransactionPoolFactory; @@ -17,29 +16,15 @@ use sp_consensus_babe::AuthorityId; use sp_core::H256; use sp_keyring::sr25519::Keyring::Alice; -use sqnc_node_runtime::{self, opaque::Block, RuntimeApi}; +use sqnc_runtime::{self, opaque::Block, RuntimeApi}; -// Our native executor instance. -pub struct ExecutorDispatch; +pub type HostFunctions = ( + sp_io::SubstrateHostFunctions, + sp_statement_store::runtime_api::HostFunctions, +); -impl sc_executor::NativeExecutionDispatch for ExecutorDispatch { - /// Only enable the benchmarking host functions when we actually want to benchmark. - #[cfg(feature = "runtime-benchmarks")] - type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions; - /// Otherwise we only use the default Substrate host functions. - #[cfg(not(feature = "runtime-benchmarks"))] - type ExtendHostFunctions = (); - - fn dispatch(method: &str, data: &[u8]) -> Option> { - sqnc_node_runtime::api::dispatch(method, data) - } - - fn native_version() -> sc_executor::NativeVersion { - sqnc_node_runtime::native_version() - } -} - -pub type FullClient = sc_service::TFullClient>; +pub type RuntimeExecutor = sc_executor::WasmExecutor; +pub type FullClient = sc_service::TFullClient; type FullBackend = sc_service::TFullBackend; type FullSelectChain = sc_consensus::LongestChain; type FullGrandpaBlockImport = sc_consensus_grandpa::GrandpaBlockImport; @@ -60,10 +45,7 @@ fn new_partial( sc_consensus::DefaultImportQueue, sc_transaction_pool::FullPool, ( - impl Fn( - crate::rpc::DenyUnsafe, - sc_rpc::SubscriptionTaskExecutor, - ) -> Result, sc_service::Error>, + impl Fn(sc_rpc::SubscriptionTaskExecutor) -> Result, sc_service::Error>, sc_consensus_babe::BabeBlockImport, sc_consensus_babe::BabeLink, Receiver>, @@ -83,7 +65,7 @@ fn new_partial( }) .transpose()?; - let executor = sc_service::new_native_or_wasm_executor(config); + let executor = sc_service::new_wasm_executor(&config.executor); let (client, backend, keystore_container, task_manager) = sc_service::new_full_parts::( config, @@ -131,11 +113,10 @@ fn new_partial( let rpc_builder = { let client = client.clone(); let pool = transaction_pool.clone(); - Box::new(move |deny_unsafe, _| { + Box::new(move |_| { let deps = crate::rpc::TestDeps { client: client.clone(), pool: pool.clone(), - deny_unsafe, command_sink: command_sink.clone(), }; @@ -156,7 +137,9 @@ fn new_partial( } /// Builds a new service for a full client. -pub fn new_test(config: Configuration) -> Result { +pub fn new_test::Hash>>( + config: Configuration, +) -> Result { let sc_service::PartialComponents { client, backend, @@ -168,7 +151,12 @@ pub fn new_test(config: Configuration) -> Result { other: (rpc_builder, block_import, babe_link, commands_stream, mut telemetry), } = new_partial(&config)?; - let net_config = sc_network::config::FullNetworkConfiguration::new(&config.network); + let net_config = + sc_network::config::FullNetworkConfiguration::::Hash, N>::new( + &config.network, + config.prometheus_registry().cloned(), + ); + let metrics = N::register_notification_metrics(config.prometheus_registry()); let (network, system_rpc_tx, tx_handler_controller, network_starter, sync_service) = sc_service::build_network(sc_service::BuildNetworkParams { @@ -179,8 +167,9 @@ pub fn new_test(config: Configuration) -> Result { spawn_handle: task_manager.spawn_handle(), import_queue, block_announce_validator_builder: None, - warp_sync_params: None, + warp_sync_config: None, block_relay: None, + metrics, })?; if config.offchain_worker.enabled { @@ -193,7 +182,7 @@ pub fn new_test(config: Configuration) -> Result { keystore: Some(keystore_container.keystore()), offchain_db: backend.offchain_storage(), transaction_pool: Some(OffchainTransactionPoolFactory::new(transaction_pool.clone())), - network_provider: network.clone(), + network_provider: Arc::new(network.clone()), enable_http_requests: true, custom_extensions: |_| vec![], }) diff --git a/pallets/doas/Cargo.toml b/pallets/doas/Cargo.toml index 089f5fb6..aeaf67ef 100644 --- a/pallets/doas/Cargo.toml +++ b/pallets/doas/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-doas" -version = "2.2.0" +version = "2.3.0" authors = [ "Digital Catapult ", "Parity Technologies ", diff --git a/pallets/doas/src/lib.rs b/pallets/doas/src/lib.rs index 0f93eaf4..15eff3b3 100644 --- a/pallets/doas/src/lib.rs +++ b/pallets/doas/src/lib.rs @@ -33,6 +33,7 @@ pub mod pallet { } #[pallet::pallet] + #[pallet::without_storage_info] pub struct Pallet(PhantomData); #[pallet::event] diff --git a/pallets/doas/src/mock.rs b/pallets/doas/src/mock.rs index ade52b8c..549a3955 100644 --- a/pallets/doas/src/mock.rs +++ b/pallets/doas/src/mock.rs @@ -1,25 +1,6 @@ -// This file is part of Substrate. - -// Copyright (C) 2020-2021 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -//! Test utilities - use super::*; use crate as doas; -use frame_support::{derive_impl, ord_parameter_types, traits::Contains}; +use frame_support::{derive_impl, ord_parameter_types}; use frame_system::EnsureSignedBy; use sp_io; use sp_runtime::BuildStorage; @@ -100,13 +81,6 @@ frame_support::construct_runtime!( } ); -pub struct BlockEverything; -impl Contains for BlockEverything { - fn contains(_: &RuntimeCall) -> bool { - false - } -} - #[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)] impl frame_system::Config for Test { type Block = Block; diff --git a/pallets/doas/src/tests.rs b/pallets/doas/src/tests.rs index 9303f744..9c28c0f2 100644 --- a/pallets/doas/src/tests.rs +++ b/pallets/doas/src/tests.rs @@ -1,22 +1,3 @@ -// This file is part of Substrate. - -// Copyright (C) 2020-2021 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -//! Tests for the module. - use super::*; use frame_support::{assert_noop, assert_ok, weights::Weight}; use mock::{ diff --git a/pallets/process-validation/Cargo.toml b/pallets/process-validation/Cargo.toml index 2603872a..896d5ce2 100644 --- a/pallets/process-validation/Cargo.toml +++ b/pallets/process-validation/Cargo.toml @@ -5,7 +5,7 @@ edition = '2021' license = 'Apache-2.0' repository = 'https://github.com/digicatapult/sqnc-node/' name = 'pallet-process-validation' -version = "3.6.0" +version = "3.7.0" [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] diff --git a/pallets/process-validation/src/lib.rs b/pallets/process-validation/src/lib.rs index 458c2a14..3369a8f7 100644 --- a/pallets/process-validation/src/lib.rs +++ b/pallets/process-validation/src/lib.rs @@ -10,9 +10,7 @@ use sp_runtime::{ }; use sp_std::prelude::*; -use sqnc_pallet_traits::{ - ProcessFullyQualifiedId, ProcessIO, ProcessValidator, ValidateProcessWeights, ValidationResult, -}; +use sqnc_pallet_traits::{ProcessFullyQualifiedId, ProcessIO, ProcessValidator, ValidationResult}; #[cfg(test)] mod tests; @@ -135,11 +133,15 @@ pub mod pallet { + MaybeSerializeDeserialize; // Origin for overriding weight calculation implementation - type WeightInfo: WeightInfo + ValidateProcessWeights; + type WeightInfo: WeightInfo; } + /// The in-code storage version. + const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); + #[pallet::pallet] - pub struct Pallet(PhantomData); + #[pallet::storage_version(STORAGE_VERSION)] + pub struct Pallet(_); /// Storage map definition #[pallet::storage] diff --git a/pallets/process-validation/src/weights.rs b/pallets/process-validation/src/weights.rs index e45b933b..5be75038 100644 --- a/pallets/process-validation/src/weights.rs +++ b/pallets/process-validation/src/weights.rs @@ -1,113 +1,19 @@ -//! Autogenerated weights for `pallet_process_validation` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-08, STEPS: `50`, REPEAT: `1000`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ip-172-31-24-170.eu-west-2.compute.internal`, CPU: `AMD EPYC 7571` -//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 - -// Executed Command: -// ./target/production/sqnc-node -// benchmark -// pallet -// --pallet -// pallet_process_validation -// --extrinsic -// * -// --repeat -// 1000 -// --output -// ./weights/ - -#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use sqnc_pallet_traits::ValidateProcessWeights; -use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; +use frame_support::{traits::Get, weights::Weight}; +use sqnc_pallet_traits::ValidateProcessWeights; use crate::Config; -pub trait WeightInfo { +pub trait WeightInfo: ValidateProcessWeights { fn create_process(i: u32) -> Weight; fn disable_process() -> Weight; -} - -/// Weight functions for `pallet_process_validation`. -pub struct SubstrateWeight(PhantomData); -impl ValidateProcessWeights for SubstrateWeight { - /// Storage: `ProcessValidation::ProcessModel` (r:1 w:0) - /// Proof: `ProcessValidation::ProcessModel` (`max_values`: None, `max_size`: Some(38148), added: 40623, mode: `MaxEncodedLen`) - /// The range of component `r` is `[1, 251]`. - fn validate_process(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `136 + r * (14 ±0)` - // Estimated: `41613` - // Minimum execution time: 15_801_000 picoseconds. - Weight::from_parts(21_168_387, 0) - .saturating_add(Weight::from_parts(0, 41613)) - // Standard Error: 73 - .saturating_add(Weight::from_parts(188_381, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(1)) - } - /// Storage: `ProcessValidation::ProcessModel` (r:1 w:0) - /// Proof: `ProcessValidation::ProcessModel` (`max_values`: None, `max_size`: Some(38148), added: 40623, mode: `MaxEncodedLen`) - fn validate_process_min() -> Weight { - // Proof Size summary in bytes: - // Measured: `146` - // Estimated: `41613` - // Minimum execution time: 15_750_000 picoseconds. - Weight::from_parts(16_210_000, 0) - .saturating_add(Weight::from_parts(0, 41613)) - .saturating_add(T::DbWeight::get().reads(1)) - } - /// Storage: `ProcessValidation::ProcessModel` (r:1 w:0) - /// Proof: `ProcessValidation::ProcessModel` (`max_values`: None, `max_size`: Some(38148), added: 40623, mode: `MaxEncodedLen`) - fn validate_process_max() -> Weight { - // Proof Size summary in bytes: - // Measured: `3650` - // Estimated: `41613` - // Minimum execution time: 66_430_000 picoseconds. - Weight::from_parts(67_511_000, 0) - .saturating_add(Weight::from_parts(0, 41613)) - .saturating_add(T::DbWeight::get().reads(1)) - } -} - -impl WeightInfo for SubstrateWeight { - /// Storage: `ProcessValidation::VersionModel` (r:1 w:1) - /// Proof: `ProcessValidation::VersionModel` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) - /// Storage: `ProcessValidation::ProcessModel` (r:1 w:1) - /// Proof: `ProcessValidation::ProcessModel` (`max_values`: None, `max_size`: Some(38148), added: 40623, mode: `MaxEncodedLen`) - /// The range of component `r` is `[1, 251]`. - fn create_process(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `131` - // Estimated: `41613` - // Minimum execution time: 35_961_000 picoseconds. - Weight::from_parts(39_837_523, 0) - .saturating_add(Weight::from_parts(0, 41613)) - // Standard Error: 60 - .saturating_add(Weight::from_parts(343_178, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) - } - /// Storage: `ProcessValidation::ProcessModel` (r:1 w:1) - /// Proof: `ProcessValidation::ProcessModel` (`max_values`: None, `max_size`: Some(38148), added: 40623, mode: `MaxEncodedLen`) - /// Storage: `ProcessValidation::VersionModel` (r:1 w:0) - /// Proof: `ProcessValidation::VersionModel` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) - fn disable_process() -> Weight { - // Proof Size summary in bytes: - // Measured: `189` - // Estimated: `41613` - // Minimum execution time: 44_400_000 picoseconds. - Weight::from_parts(45_690_000, 0) - .saturating_add(Weight::from_parts(0, 41613)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) - } + fn validate_process(p: u32) -> Weight; + fn validate_process_min() -> Weight; + fn validate_process_max() -> Weight; } impl WeightInfo for () { @@ -117,4 +23,16 @@ impl WeightInfo for () { fn disable_process() -> Weight { Weight::from_parts(0, 0) } + + fn validate_process(_p: u32) -> Weight { + Weight::from_parts(0, 0) + } + + fn validate_process_min() -> Weight { + Weight::from_parts(0, 0) + } + + fn validate_process_max() -> Weight { + Weight::from_parts(0, 0) + } } diff --git a/pallets/symmetric-key/Cargo.toml b/pallets/symmetric-key/Cargo.toml index 83fef853..d4fc8186 100644 --- a/pallets/symmetric-key/Cargo.toml +++ b/pallets/symmetric-key/Cargo.toml @@ -5,7 +5,7 @@ edition = '2021' license = 'Apache-2.0' repository = 'https://github.com/digicatapult/sqnc-node/' name = 'pallet-symmetric-key' -version = "2.2.0" +version = "2.3.0" [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] @@ -13,6 +13,7 @@ targets = ['x86_64-unknown-linux-gnu'] [dependencies] scale-info = { workspace = true, features = ["derive", "serde"] } parity-scale-codec = { workspace = true, features = ["derive"] } +log = { workspace = true } frame-support = { workspace = true } frame-system = { workspace = true } frame-benchmarking = { workspace = true, optional = true } @@ -22,10 +23,10 @@ sp-std = { workspace = true } [dev-dependencies] serde = { workspace = true, features = ["derive"] } -frame-support-test = { workspace = true } +pallet-preimage = { workspace = true, default-features = true } pallet-scheduler = { workspace = true } sp-core = { workspace = true } - +hex-literal = { workspace = true } [features] default = ['std'] diff --git a/pallets/symmetric-key/src/lib.rs b/pallets/symmetric-key/src/lib.rs index f731c447..4e9e41a7 100644 --- a/pallets/symmetric-key/src/lib.rs +++ b/pallets/symmetric-key/src/lib.rs @@ -4,11 +4,14 @@ pub use pallet::*; use frame_support::{ traits::{ - schedule::{DispatchTime, Named as ScheduleNamed, LOWEST_PRIORITY}, - Get, Randomness, + schedule::{v3::Named as ScheduleNamed, DispatchTime, LOWEST_PRIORITY}, + Bounded, ConstU32, Get, QueryPreimage, Randomness, StorePreimage, }, + weights::Weight, BoundedVec, }; +use parity_scale_codec::Encode; +use sp_io::hashing::blake2_256; use sp_runtime::traits::Dispatchable; /// A FRAME pallet for handling non-fungible tokens @@ -23,10 +26,14 @@ mod tests; #[cfg(feature = "runtime-benchmarks")] mod benchmarking; +pub mod migrations; pub mod weights; pub use weights::WeightInfo; +type CallOf = ::RuntimeCall; +type BoundedCallOf = Bounded<::RuntimeCall, ::Hashing>; + #[frame_support::pallet] pub mod pallet { @@ -37,8 +44,13 @@ pub mod pallet { /// The pallet's configuration trait. #[pallet::config] pub trait Config: frame_system::Config { - /// what does this do!!!! - type ScheduleCall: Parameter + Dispatchable + From>; + // The runtime call type which can be constructed from a call in this pallet + type RuntimeCall: Parameter + + Dispatchable + + From> + + IsType<::RuntimeCall> + + From>; + /// The overarching event type. type RuntimeEvent: From> + IsType<::RuntimeEvent>; @@ -58,13 +70,19 @@ pub mod pallet { /// Overarching type of all pallets origins. type PalletsOrigin: From>; /// The Scheduler. - type Scheduler: ScheduleNamed, Self::ScheduleCall, Self::PalletsOrigin>; + type Scheduler: ScheduleNamed, CallOf, Self::PalletsOrigin, Hasher = Self::Hashing>; + /// The Preimage provider. + type Preimages: QueryPreimage + StorePreimage; type WeightInfo: WeightInfo; } + /// The in-code storage version. + const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); + #[pallet::pallet] - pub struct Pallet(PhantomData); + #[pallet::storage_version(STORAGE_VERSION)] + pub struct Pallet(_); #[pallet::hooks] impl Hooks> for Pallet { @@ -75,14 +93,18 @@ pub mod pallet { match existing_schedule { None => { - let id: Vec = KEY_ROTATE_ID.encode(); + let id = blake2_256(&KEY_ROTATE_ID.encode()); + + let call: ::RuntimeCall = Call::rotate_key {}.into(); + let bounded_call: BoundedCallOf = ::Preimages::bound(call).unwrap(); + if T::Scheduler::schedule_named( - id.clone(), + id, DispatchTime::After(BlockNumberFor::::zero()), Some((T::RefreshPeriod::get(), u32::max_value())), LOWEST_PRIORITY, frame_system::RawOrigin::Root.into(), - Call::rotate_key {}.into(), + bounded_call, ) .is_err() { @@ -90,7 +112,8 @@ pub mod pallet { return Weight::zero(); } - >::put(Some(BoundedVec::<_, _>::truncate_from(id))); + let id: Vec = id.encode(); + >::put(Some(BoundedVec::truncate_from(id))); Weight::zero() } @@ -166,3 +189,24 @@ pub mod pallet { BoundedVec::<_, T::KeyLength>::truncate_from(output) } } + +impl Pallet { + /// Migrate storage format from V0 to V1. + /// + /// Returns the weight consumed by this migration. + pub fn migrate_v0_to_v1() -> Weight { + let id = >::get(); + let id = match id { + None => None, + Some(id) => { + let id = id.to_vec(); + let id = blake2_256(&id); + let id: Vec = id.encode(); + Some(BoundedVec::>::truncate_from(id)) + } + }; + >::put(id); + + T::DbWeight::get().reads(1) + T::DbWeight::get().writes(1) + } +} diff --git a/pallets/symmetric-key/src/migrations.rs b/pallets/symmetric-key/src/migrations.rs new file mode 100644 index 00000000..a86872bf --- /dev/null +++ b/pallets/symmetric-key/src/migrations.rs @@ -0,0 +1,57 @@ +use super::*; +use frame_support::traits::OnRuntimeUpgrade; + +/// The log target. +const TARGET: &'static str = "runtime::symmetric-key::migration"; + +pub mod v1 { + use super::*; + use frame_support::pallet_prelude::*; + + /// Migrate the symmetric-key pallet from V0 to V1. + pub struct MigrateToV1(core::marker::PhantomData); + + impl OnRuntimeUpgrade for MigrateToV1 { + fn on_runtime_upgrade() -> Weight { + let version = StorageVersion::get::>(); + if version != 0 { + log::warn!( + target: TARGET, + "skipping v0 to v1 migration: executed on wrong storage version. Expected version 0, found {:?}", + version, + ); + return T::DbWeight::get().reads(1); + } + + Pallet::::migrate_v0_to_v1() + T::DbWeight::get().reads(1) + } + } +} + +#[cfg(test)] +mod test { + use super::*; + use crate::tests::*; + use frame_support::pallet_prelude::*; + use hex_literal::hex; + + #[test] + fn migration_v0_to_v1_works() { + new_test_ext().execute_with(|| { + // Assume that we are at V0 + StorageVersion::new(0).put::(); + + // initialise scheduleId with value form KEY_ROTATE_ID + let v0_id: BoundedVec> = BoundedVec::truncate_from(KEY_ROTATE_ID.encode()); + >::put(Some(v0_id)); + + SymmetricKey::migrate_v0_to_v1(); + + let new_id = >::get(); + let expected_id = BoundedVec::truncate_from( + hex!("241E5837D85F8900111D972625D1EA963ECC5352AE5A1A12F0F218EB1F362CD4").encode(), + ); + assert_eq!(new_id, Some(expected_id)); + }) + } +} diff --git a/pallets/symmetric-key/src/tests.rs b/pallets/symmetric-key/src/tests.rs index e9e5381f..5d256173 100644 --- a/pallets/symmetric-key/src/tests.rs +++ b/pallets/symmetric-key/src/tests.rs @@ -27,6 +27,7 @@ frame_support::construct_runtime!( System: system::{Pallet, Call, Config, Storage, Event}, Scheduler: pallet_scheduler::{Pallet, Call, Storage, Event}, SymmetricKey: pallet_symmetric_key::{Pallet, Call, Storage, Event}, + Preimage: pallet_preimage, } ); parameter_types! { @@ -56,7 +57,15 @@ impl pallet_scheduler::Config for Test { type MaxScheduledPerBlock = ConstU32<100>; type WeightInfo = (); type OriginPrivilegeCmp = EqualPrivilegeOnly; - type Preimages = (); + type Preimages = Preimage; +} + +impl pallet_preimage::Config for Test { + type RuntimeEvent = RuntimeEvent; + type WeightInfo = (); + type Currency = (); + type ManagerOrigin = frame_system::EnsureRoot; + type Consideration = (); } pub struct TestRandomness(sp_std::marker::PhantomData); @@ -86,12 +95,13 @@ impl pallet_symmetric_key::Config for Test { type RuntimeEvent = RuntimeEvent; type KeyLength = ConstU32<32>; type RefreshPeriod = RefreshPeriod; - type ScheduleCall = RuntimeCall; + type RuntimeCall = RuntimeCall; type UpdateOrigin = system::EnsureRoot; type RotateOrigin = system::EnsureRoot; type Randomness = TestRandomness; type PalletsOrigin = OriginCaller; type Scheduler = Scheduler; + type Preimages = Preimage; type WeightInfo = (); } diff --git a/pallets/symmetric-key/src/weights.rs b/pallets/symmetric-key/src/weights.rs index f35d75e9..7c2cea85 100644 --- a/pallets/symmetric-key/src/weights.rs +++ b/pallets/symmetric-key/src/weights.rs @@ -1,31 +1,9 @@ -//! Autogenerated weights for `pallet_symmetric_key` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-08, STEPS: `50`, REPEAT: `1000`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ip-172-31-24-170.eu-west-2.compute.internal`, CPU: `AMD EPYC 7571` -//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 - -// Executed Command: -// ./target/production/sqnc-node -// benchmark -// pallet -// --pallet -// pallet_symmetric_key -// --extrinsic -// * -// --repeat -// 1000 -// --output -// ./weights/ - -#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; +use frame_support::{traits::Get, weights::Weight}; /// Weight functions for `pallet_symmetric_key`. pub trait WeightInfo { @@ -33,38 +11,6 @@ pub trait WeightInfo { fn rotate_key() -> Weight; } -/// Weight functions for `pallet_symmetric_key`. -pub struct SubstrateWeight(PhantomData); -impl WeightInfo for SubstrateWeight { - /// Storage: `IpfsKey::Key` (r:0 w:1) - /// Proof: `IpfsKey::Key` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) - fn update_key() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 11_890_000 picoseconds. - Weight::from_parts(12_680_000, 0) - .saturating_add(Weight::from_parts(0, 0)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: `Babe::NextRandomness` (r:1 w:0) - /// Proof: `Babe::NextRandomness` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) - /// Storage: `Babe::EpochStart` (r:1 w:0) - /// Proof: `Babe::EpochStart` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) - /// Storage: `IpfsKey::Key` (r:0 w:1) - /// Proof: `IpfsKey::Key` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) - fn rotate_key() -> Weight { - // Proof Size summary in bytes: - // Measured: `132` - // Estimated: `1517` - // Minimum execution time: 18_250_000 picoseconds. - Weight::from_parts(18_970_000, 0) - .saturating_add(Weight::from_parts(0, 1517)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) - } -} - impl WeightInfo for () { fn update_key() -> Weight { Weight::from_parts(0, 0) @@ -72,4 +18,4 @@ impl WeightInfo for () { fn rotate_key() -> Weight { Weight::from_parts(0, 0) } -} \ No newline at end of file +} diff --git a/pallets/traits/Cargo.toml b/pallets/traits/Cargo.toml index 39674d36..40b3a0d1 100644 --- a/pallets/traits/Cargo.toml +++ b/pallets/traits/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sqnc-pallet-traits" -version = "3.4.0" +version = "3.5.0" edition = "2021" authors = ['Digital Catapult '] license = 'Apache-2.0' diff --git a/pallets/transaction-payment-free/Cargo.toml b/pallets/transaction-payment-free/Cargo.toml index 2e45e225..54534c55 100644 --- a/pallets/transaction-payment-free/Cargo.toml +++ b/pallets/transaction-payment-free/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-transaction-payment-free" -version = "2.2.0" +version = "2.3.0" authors = [ "Digital Catapult ", "Parity Technologies ", diff --git a/pallets/transaction-payment-free/src/lib.rs b/pallets/transaction-payment-free/src/lib.rs index a20535ca..e6c9c93d 100644 --- a/pallets/transaction-payment-free/src/lib.rs +++ b/pallets/transaction-payment-free/src/lib.rs @@ -30,7 +30,8 @@ pub mod pallet { use frame_system::pallet_prelude::*; #[pallet::pallet] - pub struct Pallet(_); + #[pallet::without_storage_info] + pub struct Pallet(PhantomData); /// The pallet's configuration trait. #[pallet::config] diff --git a/pallets/transaction-payment-free/src/mock.rs b/pallets/transaction-payment-free/src/mock.rs index 071a0240..58990d55 100644 --- a/pallets/transaction-payment-free/src/mock.rs +++ b/pallets/transaction-payment-free/src/mock.rs @@ -1,7 +1,7 @@ use super::*; use crate as pallet_transaction_payment_free; -use frame_support::dispatch::{DispatchClass, DispatchInfo}; -use frame_support::{derive_impl, parameter_types, traits::Get, weights::Weight}; +use frame_support::dispatch::DispatchInfo; +use frame_support::{derive_impl, parameter_types, weights::Weight}; use frame_system as system; use pallet_balances::Call as BalancesCall; use sp_runtime::BuildStorage; @@ -19,21 +19,6 @@ frame_support::construct_runtime!( pub const CALL: &::RuntimeCall = &RuntimeCall::Balances(BalancesCall::transfer_allow_death { dest: 2, value: 69 }); -pub struct BlockWeights; -impl Get for BlockWeights { - fn get() -> frame_system::limits::BlockWeights { - frame_system::limits::BlockWeights::builder() - .base_block(Weight::zero()) - .for_class(DispatchClass::all(), |weights| { - weights.base_extrinsic = Weight::zero(); - }) - .for_class(DispatchClass::non_mandatory(), |weights| { - weights.max_total = Some(Weight::from_parts(1024u64, u64::MAX)); - }) - .build_or_panic() - } -} - #[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)] impl system::Config for Test { type Block = Block; diff --git a/pallets/utxo-nft/Cargo.toml b/pallets/utxo-nft/Cargo.toml index 5c17f77d..4203145f 100644 --- a/pallets/utxo-nft/Cargo.toml +++ b/pallets/utxo-nft/Cargo.toml @@ -5,7 +5,7 @@ edition = '2021' license = 'Apache-2.0' repository = 'https://github.com/digicatapult/sqnc-node/' name = 'pallet-utxo-nft' -version = "6.3.0" +version = "6.4.0" [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] diff --git a/pallets/utxo-nft/src/lib.rs b/pallets/utxo-nft/src/lib.rs index 8557206f..25a3f0b9 100644 --- a/pallets/utxo-nft/src/lib.rs +++ b/pallets/utxo-nft/src/lib.rs @@ -143,8 +143,12 @@ pub mod pallet { ::TokenMetadataValue, >>::Weights; + /// The in-code storage version. + const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); + #[pallet::pallet] - pub struct Pallet(PhantomData); + #[pallet::storage_version(STORAGE_VERSION)] + pub struct Pallet(_); /// Storage value definition #[pallet::storage] diff --git a/pallets/utxo-nft/src/tests/mock.rs b/pallets/utxo-nft/src/tests/mock.rs index 1ffa42f0..3cc942f2 100644 --- a/pallets/utxo-nft/src/tests/mock.rs +++ b/pallets/utxo-nft/src/tests/mock.rs @@ -103,6 +103,16 @@ impl ProcessValidator> for MockProcessVa } } +pub struct TestWeights {} +impl pallet_utxo_nft::WeightInfo for TestWeights { + fn run_process(_: u32, _: u32) -> Weight { + Weight::from_parts(1, 1) + } + fn delete_token() -> Weight { + Weight::from_parts(1, 1) + } +} + impl pallet_utxo_nft::Config for Test { type RuntimeEvent = RuntimeEvent; @@ -112,7 +122,7 @@ impl pallet_utxo_nft::Config for Test { type TokenMetadataValue = MetadataValue; type ProcessValidator = MockProcessValidator; - type WeightInfo = (); + type WeightInfo = TestWeights; type MaxMetadataCount = ConstU32<4>; type MaxRoleCount = ConstU32<2>; diff --git a/pallets/utxo-nft/src/weights.rs b/pallets/utxo-nft/src/weights.rs index 0150b743..20aefaac 100644 --- a/pallets/utxo-nft/src/weights.rs +++ b/pallets/utxo-nft/src/weights.rs @@ -1,93 +1,20 @@ -//! Autogenerated weights for `pallet_utxo_nft` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-08, STEPS: `50`, REPEAT: `1000`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ip-172-31-24-170.eu-west-2.compute.internal`, CPU: `AMD EPYC 7571` -//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 - -// Executed Command: -// ./target/production/sqnc-node -// benchmark -// pallet -// --pallet -// pallet_utxo_nft -// --extrinsic -// * -// --repeat -// 1000 -// --output -// ./weights/ - -#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; +use frame_support::{traits::Get, weights::Weight}; pub trait WeightInfo { fn run_process(i: u32, o: u32) -> Weight; fn delete_token() -> Weight; } -/// Weight functions for `pallet_utxo_nft`. -pub struct SubstrateWeight(PhantomData); -impl WeightInfo for SubstrateWeight { - /// Storage: `UtxoNFT::TokensById` (r:10 w:20) - /// Proof: `UtxoNFT::TokensById` (`max_values`: None, `max_size`: Some(7473), added: 9948, mode: `MaxEncodedLen`) - /// Storage: `UtxoNFT::LastToken` (r:1 w:1) - /// Proof: `UtxoNFT::LastToken` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `ProcessValidation::ProcessModel` (r:1 w:0) - /// Proof: `ProcessValidation::ProcessModel` (`max_values`: None, `max_size`: Some(38148), added: 40623, mode: `MaxEncodedLen`) - /// Storage: `UtxoNFT::CurrentGraveyardState` (r:1 w:1) - /// Proof: `UtxoNFT::CurrentGraveyardState` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `System::EventTopics` (r:3 w:3) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `UtxoNFT::Graveyard` (r:0 w:10) - /// Proof: `UtxoNFT::Graveyard` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) - /// The range of component `i` is `[1, 10]`. - /// The range of component `o` is `[1, 10]`. - fn run_process(i: u32, o: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `290 + i * (132 ±0)` - // Estimated: `41613 + i * (9948 ±0)` - // Minimum execution time: 130_410_000 picoseconds. - Weight::from_parts(58_610_405, 0) - .saturating_add(Weight::from_parts(0, 41613)) - // Standard Error: 2_373 - .saturating_add(Weight::from_parts(17_608_995, 0).saturating_mul(i.into())) - // Standard Error: 2_373 - .saturating_add(Weight::from_parts(5_776_423, 0).saturating_mul(o.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into()))) - .saturating_add(T::DbWeight::get().writes(5)) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(i.into()))) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(o.into()))) - .saturating_add(Weight::from_parts(0, 9948).saturating_mul(i.into())) - } - /// Storage: `UtxoNFT::TokensById` (r:1 w:1) - /// Proof: `UtxoNFT::TokensById` (`max_values`: None, `max_size`: Some(7473), added: 9948, mode: `MaxEncodedLen`) - /// Storage: `System::EventTopics` (r:2 w:2) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) - fn delete_token() -> Weight { - // Proof Size summary in bytes: - // Measured: `312` - // Estimated: `10938` - // Minimum execution time: 37_650_000 picoseconds. - Weight::from_parts(38_590_000, 0) - .saturating_add(Weight::from_parts(0, 10938)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) - } -} - impl WeightInfo for () { fn run_process(_: u32, _: u32) -> Weight { - Weight::from_parts(1, 1) + Weight::from_parts(0, 0) } fn delete_token() -> Weight { - Weight::from_parts(1, 1) + Weight::from_parts(0, 0) } } diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index d0d8c912..de5639be 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "sqnc-node-runtime" -version = "11.2.0" +name = "sqnc-runtime" +version = "11.3.0" authors = ["Digital Catapult "] edition = "2021" license = "Apache-2.0" @@ -62,6 +62,7 @@ pallet-utxo-nft = { default-features = false, path = '../pallets/utxo-nft' } pallet-process-validation = { default-features = false, path = '../pallets/process-validation' } pallet-symmetric-key = { default-features = false, path = '../pallets/symmetric-key' } pallet-transaction-payment-free = { default-features = false, path = '../pallets/transaction-payment-free' } +sqnc-pallet-traits = { default-features = false, path = '../pallets/traits' } sqnc-runtime-types = { default-features = false, path = './types' } [build-dependencies] @@ -110,6 +111,7 @@ std = [ "pallet-utxo-nft/std", "pallet-scheduler/std", "pallet-symmetric-key/std", + "sqnc-pallet-traits/std", ] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", @@ -121,11 +123,14 @@ runtime-benchmarks = [ "pallet-balances/runtime-benchmarks", "pallet-collective/runtime-benchmarks", "pallet-grandpa/runtime-benchmarks", - "pallet-timestamp/runtime-benchmarks", + "pallet-membership/runtime-benchmarks", + "pallet-preimage/runtime-benchmarks", + "pallet-process-validation/runtime-benchmarks", "pallet-scheduler/runtime-benchmarks", - "pallet-utxo-nft/runtime-benchmarks", + "pallet-sudo/runtime-benchmarks", "pallet-symmetric-key/runtime-benchmarks", - "pallet-process-validation/runtime-benchmarks", + "pallet-timestamp/runtime-benchmarks", + "pallet-utxo-nft/runtime-benchmarks", "sp-runtime/runtime-benchmarks", ] try-runtime = [ @@ -143,9 +148,9 @@ try-runtime = [ "pallet-preimage/try-runtime", "pallet-process-validation/try-runtime", "pallet-scheduler/try-runtime", - "pallet-utxo-nft/try-runtime", "pallet-sudo/try-runtime", "pallet-symmetric-key/try-runtime", "pallet-timestamp/try-runtime", + "pallet-utxo-nft/try-runtime", "pallet-transaction-payment-free/try-runtime", ] diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 5462494e..16b070e5 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -8,7 +8,7 @@ include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); use frame_support::{ derive_impl, - traits::{ConstU128, ConstU32, ConstU64, EitherOfDiverse, EqualPrivilegeOnly, OnRuntimeUpgrade}, + traits::{ConstU128, ConstU32, ConstU64, EitherOfDiverse, EqualPrivilegeOnly}, }; use frame_system::EnsureRoot; @@ -26,7 +26,8 @@ use sp_std::prelude::*; use sp_version::NativeVersion; use sp_version::RuntimeVersion; -use frame_support::genesis_builder_helper::{build_config, create_default_config}; +use frame_support::genesis_builder_helper::{build_state, get_preset}; + // A few exports that help ease life for downstream crates. pub use frame_support::{ construct_runtime, @@ -48,8 +49,12 @@ use pallet_transaction_payment_free::CurrencyAdapter; pub use sp_runtime::BuildStorage; pub use sp_runtime::{Perbill, Permill}; +pub use sqnc_pallet_traits::ValidateProcessWeights; + pub use sqnc_runtime_types::*; +pub mod weights; + pub mod constants; use crate::constants::time::*; @@ -82,7 +87,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("sqnc"), impl_name: create_runtime_str!("sqnc"), authoring_version: 1, - spec_version: 1120, + spec_version: 1130, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1, @@ -154,6 +159,8 @@ impl frame_system::Config for Runtime { type SS58Prefix = SS58Prefix; /// The maximum number of consumers allowed on a single account. type MaxConsumers = frame_support::traits::ConstU32<16>; + // Weights for system extrinsics + type SystemWeightInfo = weights::frame_system::WeightInfo; } parameter_types! { @@ -170,7 +177,7 @@ impl pallet_babe::Config for Runtime { type ExpectedBlockTime = ExpectedBlockTime; type EpochChangeTrigger = pallet_babe::SameAuthoritiesForever; type DisabledValidators = (); - type WeightInfo = (); + type WeightInfo = (); // not using actual as benchmark does not produce valid WeightInfo type MaxAuthorities = ConstU32<32>; type MaxNominators = ConstU32<0>; type KeyOwnerProof = sp_core::Void; @@ -180,7 +187,7 @@ impl pallet_babe::Config for Runtime { impl pallet_grandpa::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type WeightInfo = (); + type WeightInfo = (); // not actual local as benchmark does not produce valid WeightInfo type MaxAuthorities = ConstU32<32>; type MaxSetIdSessionEntries = ConstU64<0>; type MaxNominators = ConstU32<0>; @@ -194,7 +201,7 @@ impl pallet_timestamp::Config for Runtime { type Moment = u64; type OnTimestampSet = Babe; type MinimumPeriod = ConstU64<{ SLOT_DURATION / 2 }>; - type WeightInfo = (); + type WeightInfo = weights::pallet_timestamp::WeightInfo; } /// Existential deposit. @@ -211,7 +218,7 @@ impl pallet_balances::Config for Runtime { type DustRemoval = (); type ExistentialDeposit = ConstU128; type AccountStore = System; - type WeightInfo = pallet_balances::weights::SubstrateWeight; + type WeightInfo = weights::pallet_balances::WeightInfo; type FreezeIdentifier = (); type MaxFreezes = (); type RuntimeHoldReason = (); @@ -225,7 +232,7 @@ impl pallet_transaction_payment_free::Config for Runtime { impl pallet_sudo::Config for Runtime { type RuntimeEvent = RuntimeEvent; type RuntimeCall = RuntimeCall; - type WeightInfo = pallet_sudo::weights::SubstrateWeight; + type WeightInfo = weights::pallet_sudo::WeightInfo; } impl pallet_doas::Config for Runtime { @@ -242,7 +249,7 @@ impl pallet_node_authorization::Config for Runtime { type RemoveOrigin = MoreThanHalfMembers; type SwapOrigin = MoreThanHalfMembers; type ResetOrigin = MoreThanHalfMembers; - type WeightInfo = (); + type WeightInfo = (); // no benchmarks defined in pallet! } parameter_types! { @@ -259,12 +266,12 @@ impl pallet_scheduler::Config for Runtime { type MaximumWeight = MaximumSchedulerWeight; type ScheduleOrigin = EnsureRoot; type MaxScheduledPerBlock = ConstU32<50>; - type WeightInfo = pallet_scheduler::weights::SubstrateWeight; + type WeightInfo = weights::pallet_scheduler::WeightInfo; type OriginPrivilegeCmp = EqualPrivilegeOnly; } impl pallet_preimage::Config for Runtime { - type WeightInfo = pallet_preimage::weights::SubstrateWeight; + type WeightInfo = weights::pallet_preimage::WeightInfo; type RuntimeEvent = RuntimeEvent; type Currency = Balances; type ManagerOrigin = EnsureRoot; @@ -282,7 +289,7 @@ impl pallet_utxo_nft::Config for Runtime { type TokenMetadataKey = TokenMetadataKey; type TokenMetadataValue = TokenMetadataValue; type ProcessValidator = ProcessValidation; - type WeightInfo = pallet_utxo_nft::weights::SubstrateWeight; + type WeightInfo = weights::pallet_utxo_nft::WeightInfo; type MaxMetadataCount = ConstU32<64>; type MaxRoleCount = ConstU32<16>; type MaxInputCount = ConstU32<64>; @@ -296,7 +303,7 @@ impl pallet_process_validation::Config for Runtime { type ProcessVersion = ProcessVersion; type CreateProcessOrigin = MoreThanTwoMembers; type DisableProcessOrigin = MoreThanTwoMembers; - type WeightInfo = pallet_process_validation::weights::SubstrateWeight; + type WeightInfo = weights::pallet_process_validation::WeightInfo; type TokenId = TokenId; type RoleKey = Role; type TokenMetadataKey = TokenMetadataKey; @@ -321,7 +328,7 @@ impl pallet_collective::Config for Runtime { type MaxProposals = GovernanceMaxProposals; type MaxMembers = GovernanceMaxMembers; type DefaultVote = pallet_collective::PrimeDefaultVote; - type WeightInfo = pallet_collective::weights::SubstrateWeight; + type WeightInfo = weights::pallet_collective::WeightInfo; type SetMembersOrigin = MoreThanHalfMembers; type MaxProposalWeight = MaxProposalWeight; } @@ -337,7 +344,7 @@ impl pallet_membership::Config for Runtime { type MembershipInitialized = TechnicalCommittee; type MembershipChanged = TechnicalCommittee; type MaxMembers = ConstU32<100>; - type WeightInfo = pallet_membership::weights::SubstrateWeight; + type WeightInfo = weights::pallet_membership::WeightInfo; } parameter_types! { @@ -349,13 +356,14 @@ impl pallet_symmetric_key::Config for Runtime { type RuntimeEvent = RuntimeEvent; type KeyLength = KeyLength; type RefreshPeriod = RefreshPeriod; - type ScheduleCall = RuntimeCall; + type RuntimeCall = RuntimeCall; type UpdateOrigin = MoreThanHalfMembers; type RotateOrigin = MoreThanTwoMembers; type Randomness = pallet_babe::RandomnessFromOneEpochAgo; type PalletsOrigin = OriginCaller; type Scheduler = Scheduler; - type WeightInfo = pallet_symmetric_key::weights::SubstrateWeight; + type WeightInfo = weights::pallet_symmetric_key::WeightInfo; + type Preimages = Preimage; } // Create the runtime by composing the FRAME pallets that were previously configured. @@ -401,6 +409,9 @@ pub type SignedExtra = ( pub type UncheckedExtrinsic = generic::UncheckedExtrinsic; /// The payload being signed in transactions. pub type SignedPayload = generic::SignedPayload; + +type Migrations = pallet_symmetric_key::migrations::v1::MigrateToV1; + /// Executive: handles dispatch to the various modules. pub type Executive = frame_executive::Executive< Runtime, @@ -408,7 +419,7 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - UtxoNftStoragePrefixMigration, + Migrations, >; #[cfg(feature = "runtime-benchmarks")] @@ -420,39 +431,21 @@ mod benches { define_benchmarks!( [frame_benchmarking, BaselineBench::] [frame_system, SystemBench::] + [pallet_babe, Babe] [pallet_balances, Balances] - [pallet_timestamp, Timestamp] + [pallet_collective, TechnicalCommittee] [pallet_grandpa, Grandpa] - [pallet_babe, Babe] - [pallet_utxo_nft, UtxoNFT] + [pallet_membership, Membership] + [pallet_preimage, Preimage] [pallet_process_validation, ProcessValidation] [pallet_scheduler, Scheduler] + [pallet_sudo, Sudo] [pallet_symmetric_key, IpfsKey] + [pallet_timestamp, Timestamp] + [pallet_utxo_nft, UtxoNFT] ); } -const UTXO_NFT_OLD_PREFIX: &str = "SimpleNFT"; -/// Migrate from `SimpleNFT` to the new pallet prefix `UtxoNFT` -pub struct UtxoNftStoragePrefixMigration; - -impl OnRuntimeUpgrade for UtxoNftStoragePrefixMigration { - fn on_runtime_upgrade() -> frame_support::weights::Weight { - pallet_collective::migrations::v4::migrate::(UTXO_NFT_OLD_PREFIX) - } - - #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result<(), &'static str> { - pallet_collective::migrations::v4::pre_migrate::(UTXO_NFT_OLD_PREFIX); - Ok(()) - } - - #[cfg(feature = "try-runtime")] - fn post_upgrade() -> Result<(), &'static str> { - pallet_collective::migrations::v4::post_migrate::(UTXO_NFT_OLD_PREFIX); - Ok(()) - } -} - impl_runtime_apis! { impl sp_api::Core for Runtime { fn version() -> RuntimeVersion { @@ -605,8 +598,8 @@ impl_runtime_apis! { } } - impl frame_system_rpc_runtime_api::AccountNonceApi for Runtime { - fn account_nonce(account: AccountId) -> Index { + impl frame_system_rpc_runtime_api::AccountNonceApi for Runtime { + fn account_nonce(account: AccountId) -> Nonce { System::account_nonce(account) } } @@ -707,12 +700,16 @@ impl_runtime_apis! { } impl sp_genesis_builder::GenesisBuilder for Runtime { - fn create_default_config() -> Vec { - create_default_config::() + fn build_state(config: Vec) -> sp_genesis_builder::Result { + build_state::(config) + } + + fn get_preset(id: &Option) -> Option> { + get_preset::(id, |_| None) } - fn build_config(config: Vec) -> sp_genesis_builder::Result { - build_config::(config) + fn preset_names() -> Vec { + vec![] } } } diff --git a/runtime/src/weights/frame_benchmarking.rs b/runtime/src/weights/frame_benchmarking.rs new file mode 100644 index 00000000..bf0126f8 --- /dev/null +++ b/runtime/src/weights/frame_benchmarking.rs @@ -0,0 +1,89 @@ + +//! Autogenerated weights for `frame_benchmarking` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2024-11-26, STEPS: `50`, REPEAT: `100`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `FNQGF7746D.local`, CPU: `` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 + +// Executed Command: +// ./target/production/sqnc-node +// benchmark +// pallet +// --pallet +// * +// --extrinsic +// * +// --repeat +// 100 +// --output +// ./runtime/src/weights + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `frame_benchmarking`. +pub struct WeightInfo(PhantomData); +impl frame_benchmarking::WeightInfo for WeightInfo { + /// The range of component `i` is `[0, 1000000]`. + fn addition(_i: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 0_000 picoseconds. + Weight::from_parts(0, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + /// The range of component `i` is `[0, 1000000]`. + fn subtraction(_i: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 0_000 picoseconds. + Weight::from_parts(0, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + /// The range of component `i` is `[0, 1000000]`. + fn multiplication(_i: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 0_000 picoseconds. + Weight::from_parts(0, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + /// The range of component `i` is `[0, 1000000]`. + fn division(_i: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 0_000 picoseconds. + Weight::from_parts(0, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + fn hashing() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 15_979_000_000 picoseconds. + Weight::from_parts(16_101_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + /// The range of component `i` is `[0, 100]`. + fn sr25519_verification(i: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 0_000 picoseconds. + Weight::from_parts(0, 0) + .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 12_722 + .saturating_add(Weight::from_parts(28_312_536, 0).saturating_mul(i.into())) + } +} diff --git a/runtime/src/weights/frame_system.rs b/runtime/src/weights/frame_system.rs new file mode 100644 index 00000000..b1120b67 --- /dev/null +++ b/runtime/src/weights/frame_system.rs @@ -0,0 +1,155 @@ + +//! Autogenerated weights for `frame_system` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2024-11-26, STEPS: `50`, REPEAT: `100`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `FNQGF7746D.local`, CPU: `` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 + +// Executed Command: +// ./target/production/sqnc-node +// benchmark +// pallet +// --pallet +// * +// --extrinsic +// * +// --repeat +// 100 +// --output +// ./runtime/src/weights + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `frame_system`. +pub struct WeightInfo(PhantomData); +impl frame_system::WeightInfo for WeightInfo { + /// The range of component `b` is `[0, 3932160]`. + fn remark(b: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_000_000 picoseconds. + Weight::from_parts(1_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 31 + .saturating_add(Weight::from_parts(6_371, 0).saturating_mul(b.into())) + } + /// The range of component `b` is `[0, 3932160]`. + fn remark_with_event(b: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 31 + .saturating_add(Weight::from_parts(6_927, 0).saturating_mul(b.into())) + } + /// Storage: `System::Digest` (r:1 w:1) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1) + /// Proof: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1) + fn set_heap_pages() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `1485` + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) + .saturating_add(Weight::from_parts(0, 1485)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `System::Digest` (r:1 w:1) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: UNKNOWN KEY `0x3a636f6465` (r:0 w:1) + /// Proof: UNKNOWN KEY `0x3a636f6465` (r:0 w:1) + fn set_code() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `1485` + // Minimum execution time: 79_662_000_000 picoseconds. + Weight::from_parts(81_259_000_000, 0) + .saturating_add(Weight::from_parts(0, 1485)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `i` is `[0, 1000]`. + fn set_storage(i: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_000_000 picoseconds. + Weight::from_parts(1_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 306 + .saturating_add(Weight::from_parts(508_334, 0).saturating_mul(i.into())) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) + } + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `i` is `[0, 1000]`. + fn kill_storage(i: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_000_000 picoseconds. + Weight::from_parts(1_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 377 + .saturating_add(Weight::from_parts(403_366, 0).saturating_mul(i.into())) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) + } + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `p` is `[0, 1000]`. + fn kill_prefix(p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `79 + p * (69 ±0)` + // Estimated: `76 + p * (70 ±0)` + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) + .saturating_add(Weight::from_parts(0, 76)) + // Standard Error: 352 + .saturating_add(Weight::from_parts(969_991, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) + } + /// Storage: `System::AuthorizedUpgrade` (r:0 w:1) + /// Proof: `System::AuthorizedUpgrade` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) + fn authorize_upgrade() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_000_000 picoseconds. + Weight::from_parts(4_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `System::AuthorizedUpgrade` (r:1 w:1) + /// Proof: `System::AuthorizedUpgrade` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) + /// Storage: `System::Digest` (r:1 w:1) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: UNKNOWN KEY `0x3a636f6465` (r:0 w:1) + /// Proof: UNKNOWN KEY `0x3a636f6465` (r:0 w:1) + fn apply_authorized_upgrade() -> Weight { + // Proof Size summary in bytes: + // Measured: `22` + // Estimated: `1518` + // Minimum execution time: 82_247_000_000 picoseconds. + Weight::from_parts(83_917_000_000, 0) + .saturating_add(Weight::from_parts(0, 1518)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) + } +} diff --git a/runtime/src/weights/impl_traits.rs b/runtime/src/weights/impl_traits.rs new file mode 100644 index 00000000..1b91763e --- /dev/null +++ b/runtime/src/weights/impl_traits.rs @@ -0,0 +1,18 @@ +use frame_support::weights::Weight; + +use super::pallet_process_validation::WeightInfo; +use sqnc_pallet_traits::ValidateProcessWeights; + +impl ValidateProcessWeights for WeightInfo { + fn validate_process(p: u32) -> Weight { + ::validate_process(p) + } + + fn validate_process_min() -> Weight { + ::validate_process_min() + } + + fn validate_process_max() -> Weight { + ::validate_process_max() + } +} diff --git a/runtime/src/weights/mod.rs b/runtime/src/weights/mod.rs new file mode 100644 index 00000000..c5c39bd8 --- /dev/null +++ b/runtime/src/weights/mod.rs @@ -0,0 +1,16 @@ +// pub mod frame_benchmarking; // not using directly (used as part of other benchmarks) +pub mod frame_system; +// pub mod pallet_babe; // not using as WeightInfo doesn't match associated type on Config +pub mod pallet_balances; +pub mod pallet_collective; +// pub mod pallet_grandpa; // not using as WeightInfo doesn't match associated type on Config +pub mod pallet_membership; +pub mod pallet_preimage; +pub mod pallet_process_validation; +pub mod pallet_scheduler; +pub mod pallet_sudo; +pub mod pallet_symmetric_key; +pub mod pallet_timestamp; +pub mod pallet_utxo_nft; + +mod impl_traits; diff --git a/runtime/src/weights/pallet_babe.rs b/runtime/src/weights/pallet_babe.rs new file mode 100644 index 00000000..65b2a956 --- /dev/null +++ b/runtime/src/weights/pallet_babe.rs @@ -0,0 +1,43 @@ + +//! Autogenerated weights for `pallet_babe` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2024-11-26, STEPS: `50`, REPEAT: `100`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `FNQGF7746D.local`, CPU: `` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 + +// Executed Command: +// ./target/production/sqnc-node +// benchmark +// pallet +// --pallet +// * +// --extrinsic +// * +// --repeat +// 100 +// --output +// ./runtime/src/weights + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_babe`. +pub struct WeightInfo(PhantomData); +impl pallet_babe::WeightInfo for WeightInfo { + /// The range of component `x` is `[0, 1]`. + fn check_equivocation_proof(_x: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 56_000_000 picoseconds. + Weight::from_parts(60_246_938, 0) + .saturating_add(Weight::from_parts(0, 0)) + } +} diff --git a/runtime/src/weights/pallet_balances.rs b/runtime/src/weights/pallet_balances.rs new file mode 100644 index 00000000..5da5bbb7 --- /dev/null +++ b/runtime/src/weights/pallet_balances.rs @@ -0,0 +1,158 @@ + +//! Autogenerated weights for `pallet_balances` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2024-11-26, STEPS: `50`, REPEAT: `100`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `FNQGF7746D.local`, CPU: `` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 + +// Executed Command: +// ./target/production/sqnc-node +// benchmark +// pallet +// --pallet +// * +// --extrinsic +// * +// --repeat +// 100 +// --output +// ./runtime/src/weights + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_balances`. +pub struct WeightInfo(PhantomData); +impl pallet_balances::WeightInfo for WeightInfo { + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn transfer_allow_death() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `3593` + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(33_000_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn transfer_keep_alive() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `3593` + // Minimum execution time: 23_000_000 picoseconds. + Weight::from_parts(26_000_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn force_set_balance_creating() -> Weight { + // Proof Size summary in bytes: + // Measured: `103` + // Estimated: `3593` + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(9_000_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn force_set_balance_killing() -> Weight { + // Proof Size summary in bytes: + // Measured: `103` + // Estimated: `3593` + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(14_000_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn force_transfer() -> Weight { + // Proof Size summary in bytes: + // Measured: `103` + // Estimated: `6196` + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(34_000_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn transfer_all() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `3593` + // Minimum execution time: 30_000_000 picoseconds. + Weight::from_parts(32_000_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn force_unreserve() -> Weight { + // Proof Size summary in bytes: + // Measured: `103` + // Estimated: `3593` + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `System::Account` (r:999 w:999) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `u` is `[1, 1000]`. + fn upgrade_accounts(u: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + u * (136 ±0)` + // Estimated: `990 + u * (2603 ±0)` + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) + .saturating_add(Weight::from_parts(0, 990)) + // Standard Error: 3_682 + .saturating_add(Weight::from_parts(9_787_646, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) + .saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into())) + } + fn force_adjust_total_issuance() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_000_000 picoseconds. + Weight::from_parts(4_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + fn burn_allow_death() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_000_000 picoseconds. + Weight::from_parts(19_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + fn burn_keep_alive() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } +} diff --git a/runtime/src/weights/pallet_collective.rs b/runtime/src/weights/pallet_collective.rs new file mode 100644 index 00000000..b24a2d69 --- /dev/null +++ b/runtime/src/weights/pallet_collective.rs @@ -0,0 +1,286 @@ + +//! Autogenerated weights for `pallet_collective` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2024-11-26, STEPS: `50`, REPEAT: `100`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `FNQGF7746D.local`, CPU: `` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 + +// Executed Command: +// ./target/production/sqnc-node +// benchmark +// pallet +// --pallet +// * +// --extrinsic +// * +// --repeat +// 100 +// --output +// ./runtime/src/weights + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_collective`. +pub struct WeightInfo(PhantomData); +impl pallet_collective::WeightInfo for WeightInfo { + /// Storage: `TechnicalCommittee::Members` (r:1 w:1) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Voting` (r:100 w:100) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// The range of component `m` is `[0, 100]`. + /// The range of component `n` is `[0, 100]`. + /// The range of component `p` is `[0, 100]`. + fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)` + // Estimated: `15762 + m * (1967 ±10) + p * (4332 ±10)` + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(9_000_000, 0) + .saturating_add(Weight::from_parts(0, 15762)) + // Standard Error: 19_572 + .saturating_add(Weight::from_parts(2_752_289, 0).saturating_mul(m.into())) + // Standard Error: 19_572 + .saturating_add(Weight::from_parts(5_309_539, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_parts(0, 1967).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 4332).saturating_mul(p.into())) + } + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[1, 100]`. + fn execute(b: u32, m: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `103 + m * (32 ±0)` + // Estimated: `1589 + m * (32 ±0)` + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(8_411_815, 0) + .saturating_add(Weight::from_parts(0, 1589)) + // Standard Error: 18 + .saturating_add(Weight::from_parts(386, 0).saturating_mul(b.into())) + // Standard Error: 193 + .saturating_add(Weight::from_parts(6_203, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) + } + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:0) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[1, 100]`. + fn propose_execute(b: u32, m: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `103 + m * (32 ±0)` + // Estimated: `3569 + m * (32 ±0)` + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(8_652_832, 0) + .saturating_add(Weight::from_parts(0, 3569)) + // Standard Error: 16 + .saturating_add(Weight::from_parts(1_232, 0).saturating_mul(b.into())) + // Standard Error: 169 + .saturating_add(Weight::from_parts(13_343, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) + } + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalCount` (r:1 w:1) + /// Proof: `TechnicalCommittee::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Voting` (r:0 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[2, 100]`. + /// The range of component `p` is `[1, 100]`. + fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `393 + m * (32 ±0) + p * (36 ±0)` + // Estimated: `3785 + m * (33 ±0) + p * (36 ±0)` + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(14_384_618, 0) + .saturating_add(Weight::from_parts(0, 3785)) + // Standard Error: 31 + .saturating_add(Weight::from_parts(1_604, 0).saturating_mul(b.into())) + // Standard Error: 332 + .saturating_add(Weight::from_parts(14_362, 0).saturating_mul(m.into())) + // Standard Error: 328 + .saturating_add(Weight::from_parts(68_561, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) + } + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `m` is `[5, 100]`. + fn vote(m: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `842 + m * (64 ±0)` + // Estimated: `4306 + m * (64 ±0)` + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_546_181, 0) + .saturating_add(Weight::from_parts(0, 4306)) + // Standard Error: 351 + .saturating_add(Weight::from_parts(26_832, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) + } + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 100]`. + fn close_early_disapproved(m: u32, p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `431 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `3876 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(16_931_716, 0) + .saturating_add(Weight::from_parts(0, 3876)) + // Standard Error: 390 + .saturating_add(Weight::from_parts(15_908, 0).saturating_mul(m.into())) + // Standard Error: 380 + .saturating_add(Weight::from_parts(64_368, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) + } + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 100]`. + fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `733 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `4050 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 22_000_000 picoseconds. + Weight::from_parts(24_133_313, 0) + .saturating_add(Weight::from_parts(0, 4050)) + // Standard Error: 62 + .saturating_add(Weight::from_parts(536, 0).saturating_mul(b.into())) + // Standard Error: 664 + .saturating_add(Weight::from_parts(11_589, 0).saturating_mul(m.into())) + // Standard Error: 648 + .saturating_add(Weight::from_parts(88_025, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) + } + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:1 w:0) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 100]`. + fn close_disapproved(m: u32, p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `451 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `3896 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 20_000_000 picoseconds. + Weight::from_parts(19_728_150, 0) + .saturating_add(Weight::from_parts(0, 3896)) + // Standard Error: 405 + .saturating_add(Weight::from_parts(14_894, 0).saturating_mul(m.into())) + // Standard Error: 395 + .saturating_add(Weight::from_parts(64_876, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) + } + /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Members` (r:1 w:0) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:1 w:0) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 100]`. + fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `753 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `4070 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 23_000_000 picoseconds. + Weight::from_parts(25_655_286, 0) + .saturating_add(Weight::from_parts(0, 4070)) + // Standard Error: 51 + .saturating_add(Weight::from_parts(545, 0).saturating_mul(b.into())) + // Standard Error: 543 + .saturating_add(Weight::from_parts(11_733, 0).saturating_mul(m.into())) + // Standard Error: 529 + .saturating_add(Weight::from_parts(91_127, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) + } + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Voting` (r:0 w:1) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `p` is `[1, 100]`. + fn disapprove_proposal(p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `260 + p * (32 ±0)` + // Estimated: `1745 + p * (32 ±0)` + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(9_096_354, 0) + .saturating_add(Weight::from_parts(0, 1745)) + // Standard Error: 344 + .saturating_add(Weight::from_parts(53_363, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) + } +} diff --git a/runtime/src/weights/pallet_grandpa.rs b/runtime/src/weights/pallet_grandpa.rs new file mode 100644 index 00000000..72cebd85 --- /dev/null +++ b/runtime/src/weights/pallet_grandpa.rs @@ -0,0 +1,54 @@ + +//! Autogenerated weights for `pallet_grandpa` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2024-11-26, STEPS: `50`, REPEAT: `100`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `FNQGF7746D.local`, CPU: `` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 + +// Executed Command: +// ./target/production/sqnc-node +// benchmark +// pallet +// --pallet +// * +// --extrinsic +// * +// --repeat +// 100 +// --output +// ./runtime/src/weights + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_grandpa`. +pub struct WeightInfo(PhantomData); +impl pallet_grandpa::WeightInfo for WeightInfo { + /// The range of component `x` is `[0, 1]`. + fn check_equivocation_proof(_x: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 51_000_000 picoseconds. + Weight::from_parts(52_757_959, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + /// Storage: `Grandpa::Stalled` (r:0 w:1) + /// Proof: `Grandpa::Stalled` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + fn note_stalled() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_000_000 picoseconds. + Weight::from_parts(2_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) + } +} diff --git a/runtime/src/weights/pallet_membership.rs b/runtime/src/weights/pallet_membership.rs new file mode 100644 index 00000000..1de15fd0 --- /dev/null +++ b/runtime/src/weights/pallet_membership.rs @@ -0,0 +1,185 @@ + +//! Autogenerated weights for `pallet_membership` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2024-11-26, STEPS: `50`, REPEAT: `100`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `FNQGF7746D.local`, CPU: `` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 + +// Executed Command: +// ./target/production/sqnc-node +// benchmark +// pallet +// --pallet +// * +// --extrinsic +// * +// --repeat +// 100 +// --output +// ./runtime/src/weights + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_membership`. +pub struct WeightInfo(PhantomData); +impl pallet_membership::WeightInfo for WeightInfo { + /// Storage: `Membership::Members` (r:1 w:1) + /// Proof: `Membership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Members` (r:0 w:1) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// The range of component `m` is `[1, 99]`. + fn add_member(m: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `136 + m * (64 ±0)` + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(9_819_814, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 199 + .saturating_add(Weight::from_parts(14_491, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) + } + /// Storage: `Membership::Members` (r:1 w:1) + /// Proof: `Membership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Membership::Prime` (r:1 w:0) + /// Proof: `Membership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Members` (r:0 w:1) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// The range of component `m` is `[2, 100]`. + fn remove_member(m: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `240 + m * (64 ±0)` + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_381_991, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 329 + .saturating_add(Weight::from_parts(19_074, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) + } + /// Storage: `Membership::Members` (r:1 w:1) + /// Proof: `Membership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Membership::Prime` (r:1 w:0) + /// Proof: `Membership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Members` (r:0 w:1) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// The range of component `m` is `[2, 100]`. + fn swap_member(m: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `240 + m * (64 ±0)` + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(12_414_285, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 305 + .saturating_add(Weight::from_parts(15_186, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) + } + /// Storage: `Membership::Members` (r:1 w:1) + /// Proof: `Membership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Membership::Prime` (r:1 w:0) + /// Proof: `Membership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Members` (r:0 w:1) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// The range of component `m` is `[1, 100]`. + fn reset_members(m: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `240 + m * (64 ±0)` + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(12_460_073, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 312 + .saturating_add(Weight::from_parts(65_372, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) + } + /// Storage: `Membership::Members` (r:1 w:1) + /// Proof: `Membership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Membership::Prime` (r:1 w:1) + /// Proof: `Membership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Members` (r:0 w:1) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// The range of component `m` is `[1, 100]`. + fn change_key(m: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `240 + m * (64 ±0)` + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(12_676_367, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 241 + .saturating_add(Weight::from_parts(16_106, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) + } + /// Storage: `Membership::Members` (r:1 w:0) + /// Proof: `Membership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Membership::Prime` (r:0 w:1) + /// Proof: `Membership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// The range of component `m` is `[1, 100]`. + fn set_prime(m: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `32 + m * (32 ±0)` + // Estimated: `4687 + m * (32 ±0)` + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(4_994_714, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 55 + .saturating_add(Weight::from_parts(233, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) + } + /// Storage: `Membership::Prime` (r:0 w:1) + /// Proof: `Membership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn clear_prime() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_000_000 picoseconds. + Weight::from_parts(2_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(2)) + } +} diff --git a/runtime/src/weights/pallet_preimage.rs b/runtime/src/weights/pallet_preimage.rs new file mode 100644 index 00000000..e22b05f3 --- /dev/null +++ b/runtime/src/weights/pallet_preimage.rs @@ -0,0 +1,243 @@ + +//! Autogenerated weights for `pallet_preimage` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2024-11-26, STEPS: `50`, REPEAT: `100`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `FNQGF7746D.local`, CPU: `` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 + +// Executed Command: +// ./target/production/sqnc-node +// benchmark +// pallet +// --pallet +// * +// --extrinsic +// * +// --repeat +// 100 +// --output +// ./runtime/src/weights + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_preimage`. +pub struct WeightInfo(PhantomData); +impl pallet_preimage::WeightInfo for WeightInfo { + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) + /// The range of component `s` is `[0, 4194304]`. + fn note_preimage(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `6` + // Estimated: `3556` + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(7_000_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) + // Standard Error: 31 + .saturating_add(Weight::from_parts(6_964, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) + /// The range of component `s` is `[0, 4194304]`. + fn note_requested_preimage(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `69` + // Estimated: `3556` + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(9_000_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) + // Standard Error: 34 + .saturating_add(Weight::from_parts(7_192, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) + /// The range of component `s` is `[0, 4194304]`. + fn note_no_deposit_preimage(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `69` + // Estimated: `3556` + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(9_000_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) + // Standard Error: 34 + .saturating_add(Weight::from_parts(7_784, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) + fn unnote_preimage() -> Weight { + // Proof Size summary in bytes: + // Measured: `135` + // Estimated: `3556` + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) + fn unnote_no_deposit_preimage() -> Weight { + // Proof Size summary in bytes: + // Measured: `107` + // Estimated: `3556` + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(14_000_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) + fn request_preimage() -> Weight { + // Proof Size summary in bytes: + // Measured: `135` + // Estimated: `3556` + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(12_000_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) + fn request_no_deposit_preimage() -> Weight { + // Proof Size summary in bytes: + // Measured: `107` + // Estimated: `3556` + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(8_000_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) + fn request_unnoted_preimage() -> Weight { + // Proof Size summary in bytes: + // Measured: `6` + // Estimated: `3556` + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(7_000_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) + fn request_requested_preimage() -> Weight { + // Proof Size summary in bytes: + // Measured: `69` + // Estimated: `3556` + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) + fn unrequest_preimage() -> Weight { + // Proof Size summary in bytes: + // Measured: `107` + // Estimated: `3556` + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(12_000_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) + fn unrequest_unnoted_preimage() -> Weight { + // Proof Size summary in bytes: + // Measured: `69` + // Estimated: `3556` + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) + fn unrequest_multi_referenced_preimage() -> Weight { + // Proof Size summary in bytes: + // Measured: `69` + // Estimated: `3556` + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Preimage::StatusFor` (r:1023 w:1023) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1023 w:1023) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:0 w:1023) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) + /// The range of component `n` is `[1, 1024]`. + fn ensure_updated(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + n * (227 ±0)` + // Estimated: `990 + n * (2603 ±0)` + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(15_000_000, 0) + .saturating_add(Weight::from_parts(0, 990)) + // Standard Error: 7_783 + .saturating_add(Weight::from_parts(15_023_878, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_parts(0, 2603).saturating_mul(n.into())) + } +} diff --git a/runtime/src/weights/pallet_process_validation.rs b/runtime/src/weights/pallet_process_validation.rs new file mode 100644 index 00000000..8247823f --- /dev/null +++ b/runtime/src/weights/pallet_process_validation.rs @@ -0,0 +1,101 @@ + +//! Autogenerated weights for `pallet_process_validation` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2024-11-26, STEPS: `50`, REPEAT: `100`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `FNQGF7746D.local`, CPU: `` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 + +// Executed Command: +// ./target/production/sqnc-node +// benchmark +// pallet +// --pallet +// * +// --extrinsic +// * +// --repeat +// 100 +// --output +// ./runtime/src/weights + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_process_validation`. +pub struct WeightInfo(PhantomData); +impl pallet_process_validation::WeightInfo for WeightInfo { + /// Storage: `ProcessValidation::VersionModel` (r:1 w:1) + /// Proof: `ProcessValidation::VersionModel` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `ProcessValidation::ProcessModel` (r:1 w:1) + /// Proof: `ProcessValidation::ProcessModel` (`max_values`: None, `max_size`: Some(38148), added: 40623, mode: `MaxEncodedLen`) + /// The range of component `r` is `[1, 251]`. + fn create_process(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `131` + // Estimated: `41613` + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(10_962_213, 0) + .saturating_add(Weight::from_parts(0, 41613)) + // Standard Error: 200 + .saturating_add(Weight::from_parts(217_866, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `ProcessValidation::ProcessModel` (r:1 w:1) + /// Proof: `ProcessValidation::ProcessModel` (`max_values`: None, `max_size`: Some(38148), added: 40623, mode: `MaxEncodedLen`) + /// Storage: `ProcessValidation::VersionModel` (r:1 w:0) + /// Proof: `ProcessValidation::VersionModel` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + fn disable_process() -> Weight { + // Proof Size summary in bytes: + // Measured: `189` + // Estimated: `41613` + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(16_000_000, 0) + .saturating_add(Weight::from_parts(0, 41613)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `ProcessValidation::ProcessModel` (r:1 w:0) + /// Proof: `ProcessValidation::ProcessModel` (`max_values`: None, `max_size`: Some(38148), added: 40623, mode: `MaxEncodedLen`) + /// The range of component `r` is `[1, 251]`. + fn validate_process(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `136 + r * (14 ±0)` + // Estimated: `41613` + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(5_940_348, 0) + .saturating_add(Weight::from_parts(0, 41613)) + // Standard Error: 157 + .saturating_add(Weight::from_parts(149_739, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// Storage: `ProcessValidation::ProcessModel` (r:1 w:0) + /// Proof: `ProcessValidation::ProcessModel` (`max_values`: None, `max_size`: Some(38148), added: 40623, mode: `MaxEncodedLen`) + fn validate_process_min() -> Weight { + // Proof Size summary in bytes: + // Measured: `146` + // Estimated: `41613` + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) + .saturating_add(Weight::from_parts(0, 41613)) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// Storage: `ProcessValidation::ProcessModel` (r:1 w:0) + /// Proof: `ProcessValidation::ProcessModel` (`max_values`: None, `max_size`: Some(38148), added: 40623, mode: `MaxEncodedLen`) + fn validate_process_max() -> Weight { + // Proof Size summary in bytes: + // Measured: `3650` + // Estimated: `41613` + // Minimum execution time: 40_000_000 picoseconds. + Weight::from_parts(43_000_000, 0) + .saturating_add(Weight::from_parts(0, 41613)) + .saturating_add(T::DbWeight::get().reads(1)) + } +} diff --git a/runtime/src/weights/pallet_scheduler.rs b/runtime/src/weights/pallet_scheduler.rs new file mode 100644 index 00000000..48aff8c4 --- /dev/null +++ b/runtime/src/weights/pallet_scheduler.rs @@ -0,0 +1,271 @@ + +//! Autogenerated weights for `pallet_scheduler` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2024-11-26, STEPS: `50`, REPEAT: `100`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `FNQGF7746D.local`, CPU: `` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 + +// Executed Command: +// ./target/production/sqnc-node +// benchmark +// pallet +// --pallet +// * +// --extrinsic +// * +// --repeat +// 100 +// --output +// ./runtime/src/weights + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_scheduler`. +pub struct WeightInfo(PhantomData); +impl pallet_scheduler::WeightInfo for WeightInfo { + /// Storage: `Scheduler::IncompleteSince` (r:1 w:1) + /// Proof: `Scheduler::IncompleteSince` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + fn service_agendas_base() -> Weight { + // Proof Size summary in bytes: + // Measured: `31` + // Estimated: `1489` + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) + .saturating_add(Weight::from_parts(0, 1489)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(10463), added: 12938, mode: `MaxEncodedLen`) + /// The range of component `s` is `[0, 50]`. + fn service_agenda_base(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `78 + s * (177 ±0)` + // Estimated: `13928` + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(4_373_431, 0) + .saturating_add(Weight::from_parts(0, 13928)) + // Standard Error: 630 + .saturating_add(Weight::from_parts(254_770, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + fn service_task_base() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_000_000 picoseconds. + Weight::from_parts(2_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + /// Storage: `Preimage::PreimageFor` (r:1 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `Measured`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) + /// The range of component `s` is `[128, 4194304]`. + fn service_task_fetched(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `142 + s * (1 ±0)` + // Estimated: `3607 + s * (1 ±0)` + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) + .saturating_add(Weight::from_parts(0, 3607)) + // Standard Error: 67 + .saturating_add(Weight::from_parts(13_465, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) + } + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + fn service_task_named() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) + } + fn service_task_periodic() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_000_000 picoseconds. + Weight::from_parts(2_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + fn execute_dispatch_signed() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_000_000 picoseconds. + Weight::from_parts(1_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + fn execute_dispatch_unsigned() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_000_000 picoseconds. + Weight::from_parts(1_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(10463), added: 12938, mode: `MaxEncodedLen`) + /// The range of component `s` is `[0, 49]`. + fn schedule(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `78 + s * (177 ±0)` + // Estimated: `13928` + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(8_395_341, 0) + .saturating_add(Weight::from_parts(0, 13928)) + // Standard Error: 688 + .saturating_add(Weight::from_parts(258_508, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(10463), added: 12938, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// The range of component `s` is `[1, 50]`. + fn cancel(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `78 + s * (177 ±0)` + // Estimated: `13928` + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(9_663_102, 0) + .saturating_add(Weight::from_parts(0, 13928)) + // Standard Error: 703 + .saturating_add(Weight::from_parts(399_627, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(10463), added: 12938, mode: `MaxEncodedLen`) + /// The range of component `s` is `[0, 49]`. + fn schedule_named(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `255 + s * (185 ±0)` + // Estimated: `13928` + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(11_719_388, 0) + .saturating_add(Weight::from_parts(0, 13928)) + // Standard Error: 1_473 + .saturating_add(Weight::from_parts(296_122, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(10463), added: 12938, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) + /// The range of component `s` is `[1, 50]`. + fn cancel_named(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `281 + s * (185 ±0)` + // Estimated: `13928` + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(13_188_408, 0) + .saturating_add(Weight::from_parts(0, 13928)) + // Standard Error: 947 + .saturating_add(Weight::from_parts(426_509, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(10463), added: 12938, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) + /// The range of component `s` is `[1, 50]`. + fn schedule_retry(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `118` + // Estimated: `13928` + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(6_047_526, 0) + .saturating_add(Weight::from_parts(0, 13928)) + // Standard Error: 429 + .saturating_add(Weight::from_parts(2_402, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `Scheduler::Agenda` (r:1 w:0) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(10463), added: 12938, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) + fn set_retry() -> Weight { + // Proof Size summary in bytes: + // Measured: `8928` + // Estimated: `13928` + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(17_000_000, 0) + .saturating_add(Weight::from_parts(0, 13928)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Scheduler::Lookup` (r:1 w:0) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:0) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(10463), added: 12938, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) + fn set_retry_named() -> Weight { + // Proof Size summary in bytes: + // Measured: `9606` + // Estimated: `13928` + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(23_000_000, 0) + .saturating_add(Weight::from_parts(0, 13928)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Scheduler::Agenda` (r:1 w:0) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(10463), added: 12938, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) + fn cancel_retry() -> Weight { + // Proof Size summary in bytes: + // Measured: `8940` + // Estimated: `13928` + // Minimum execution time: 15_000_000 picoseconds. + Weight::from_parts(16_000_000, 0) + .saturating_add(Weight::from_parts(0, 13928)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Scheduler::Lookup` (r:1 w:0) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:0) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(10463), added: 12938, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) + fn cancel_retry_named() -> Weight { + // Proof Size summary in bytes: + // Measured: `9618` + // Estimated: `13928` + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(22_000_000, 0) + .saturating_add(Weight::from_parts(0, 13928)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } +} diff --git a/runtime/src/weights/pallet_sudo.rs b/runtime/src/weights/pallet_sudo.rs new file mode 100644 index 00000000..b07850a5 --- /dev/null +++ b/runtime/src/weights/pallet_sudo.rs @@ -0,0 +1,80 @@ + +//! Autogenerated weights for `pallet_sudo` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2024-11-26, STEPS: `50`, REPEAT: `100`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `FNQGF7746D.local`, CPU: `` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 + +// Executed Command: +// ./target/production/sqnc-node +// benchmark +// pallet +// --pallet +// * +// --extrinsic +// * +// --repeat +// 100 +// --output +// ./runtime/src/weights + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_sudo`. +pub struct WeightInfo(PhantomData); +impl pallet_sudo::WeightInfo for WeightInfo { + /// Storage: `Sudo::Key` (r:1 w:1) + /// Proof: `Sudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + fn set_key() -> Weight { + // Proof Size summary in bytes: + // Measured: `98` + // Estimated: `1517` + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(7_000_000, 0) + .saturating_add(Weight::from_parts(0, 1517)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Sudo::Key` (r:1 w:0) + /// Proof: `Sudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + fn sudo() -> Weight { + // Proof Size summary in bytes: + // Measured: `98` + // Estimated: `1517` + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(8_000_000, 0) + .saturating_add(Weight::from_parts(0, 1517)) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// Storage: `Sudo::Key` (r:1 w:0) + /// Proof: `Sudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + fn sudo_as() -> Weight { + // Proof Size summary in bytes: + // Measured: `98` + // Estimated: `1517` + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(8_000_000, 0) + .saturating_add(Weight::from_parts(0, 1517)) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// Storage: `Sudo::Key` (r:1 w:1) + /// Proof: `Sudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + fn remove_key() -> Weight { + // Proof Size summary in bytes: + // Measured: `98` + // Estimated: `1517` + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) + .saturating_add(Weight::from_parts(0, 1517)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } +} diff --git a/runtime/src/weights/pallet_symmetric_key.rs b/runtime/src/weights/pallet_symmetric_key.rs new file mode 100644 index 00000000..ea2fc2f5 --- /dev/null +++ b/runtime/src/weights/pallet_symmetric_key.rs @@ -0,0 +1,61 @@ + +//! Autogenerated weights for `pallet_symmetric_key` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2024-11-26, STEPS: `50`, REPEAT: `100`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `FNQGF7746D.local`, CPU: `` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 + +// Executed Command: +// ./target/production/sqnc-node +// benchmark +// pallet +// --pallet +// * +// --extrinsic +// * +// --repeat +// 100 +// --output +// ./runtime/src/weights + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_symmetric_key`. +pub struct WeightInfo(PhantomData); +impl pallet_symmetric_key::WeightInfo for WeightInfo { + /// Storage: `IpfsKey::Key` (r:0 w:1) + /// Proof: `IpfsKey::Key` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) + fn update_key() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Babe::NextRandomness` (r:1 w:0) + /// Proof: `Babe::NextRandomness` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `Babe::EpochStart` (r:1 w:0) + /// Proof: `Babe::EpochStart` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `IpfsKey::Key` (r:0 w:1) + /// Proof: `IpfsKey::Key` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) + fn rotate_key() -> Weight { + // Proof Size summary in bytes: + // Measured: `132` + // Estimated: `1517` + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(7_000_000, 0) + .saturating_add(Weight::from_parts(0, 1517)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } +} diff --git a/runtime/src/weights/pallet_timestamp.rs b/runtime/src/weights/pallet_timestamp.rs new file mode 100644 index 00000000..303327d3 --- /dev/null +++ b/runtime/src/weights/pallet_timestamp.rs @@ -0,0 +1,56 @@ + +//! Autogenerated weights for `pallet_timestamp` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2024-11-26, STEPS: `50`, REPEAT: `100`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `FNQGF7746D.local`, CPU: `` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 + +// Executed Command: +// ./target/production/sqnc-node +// benchmark +// pallet +// --pallet +// * +// --extrinsic +// * +// --repeat +// 100 +// --output +// ./runtime/src/weights + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_timestamp`. +pub struct WeightInfo(PhantomData); +impl pallet_timestamp::WeightInfo for WeightInfo { + /// Storage: `Timestamp::Now` (r:1 w:1) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Babe::CurrentSlot` (r:1 w:0) + /// Proof: `Babe::CurrentSlot` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + fn set() -> Weight { + // Proof Size summary in bytes: + // Measured: `174` + // Estimated: `1493` + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) + .saturating_add(Weight::from_parts(0, 1493)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + fn on_finalize() -> Weight { + // Proof Size summary in bytes: + // Measured: `94` + // Estimated: `0` + // Minimum execution time: 3_000_000 picoseconds. + Weight::from_parts(4_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } +} diff --git a/runtime/src/weights/pallet_utxo_nft.rs b/runtime/src/weights/pallet_utxo_nft.rs new file mode 100644 index 00000000..1155ef8c --- /dev/null +++ b/runtime/src/weights/pallet_utxo_nft.rs @@ -0,0 +1,80 @@ + +//! Autogenerated weights for `pallet_utxo_nft` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2024-11-26, STEPS: `50`, REPEAT: `100`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `FNQGF7746D.local`, CPU: `` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 + +// Executed Command: +// ./target/production/sqnc-node +// benchmark +// pallet +// --pallet +// * +// --extrinsic +// * +// --repeat +// 100 +// --output +// ./runtime/src/weights + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_utxo_nft`. +pub struct WeightInfo(PhantomData); +impl pallet_utxo_nft::WeightInfo for WeightInfo { + /// Storage: `UtxoNFT::TokensById` (r:10 w:20) + /// Proof: `UtxoNFT::TokensById` (`max_values`: None, `max_size`: Some(7473), added: 9948, mode: `MaxEncodedLen`) + /// Storage: `UtxoNFT::LastToken` (r:1 w:1) + /// Proof: `UtxoNFT::LastToken` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `ProcessValidation::ProcessModel` (r:1 w:0) + /// Proof: `ProcessValidation::ProcessModel` (`max_values`: None, `max_size`: Some(38148), added: 40623, mode: `MaxEncodedLen`) + /// Storage: `UtxoNFT::CurrentGraveyardState` (r:1 w:1) + /// Proof: `UtxoNFT::CurrentGraveyardState` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `System::EventTopics` (r:3 w:3) + /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `UtxoNFT::Graveyard` (r:0 w:10) + /// Proof: `UtxoNFT::Graveyard` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) + /// The range of component `i` is `[1, 10]`. + /// The range of component `o` is `[1, 10]`. + fn run_process(i: u32, o: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `290 + i * (132 ±0)` + // Estimated: `41613 + i * (9948 ±0)` + // Minimum execution time: 39_000_000 picoseconds. + Weight::from_parts(18_364_181, 0) + .saturating_add(Weight::from_parts(0, 41613)) + // Standard Error: 9_715 + .saturating_add(Weight::from_parts(5_943_153, 0).saturating_mul(i.into())) + // Standard Error: 9_715 + .saturating_add(Weight::from_parts(1_768_087, 0).saturating_mul(o.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into()))) + .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(i.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(o.into()))) + .saturating_add(Weight::from_parts(0, 9948).saturating_mul(i.into())) + } + /// Storage: `UtxoNFT::TokensById` (r:1 w:1) + /// Proof: `UtxoNFT::TokensById` (`max_values`: None, `max_size`: Some(7473), added: 9948, mode: `MaxEncodedLen`) + /// Storage: `System::EventTopics` (r:2 w:2) + /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn delete_token() -> Weight { + // Proof Size summary in bytes: + // Measured: `312` + // Estimated: `10938` + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) + .saturating_add(Weight::from_parts(0, 10938)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } +} diff --git a/runtime/types/src/lib.rs b/runtime/types/src/lib.rs index 7d3b178d..1d2a949f 100644 --- a/runtime/types/src/lib.rs +++ b/runtime/types/src/lib.rs @@ -29,7 +29,7 @@ pub type Balance = u128; pub type Moment = u64; /// Index of a transaction in the chain. -pub type Index = u32; +pub type Nonce = u32; /// A hash of some data used by the chain. pub type Hash = sp_core::H256; diff --git a/tools/lang/Cargo.toml b/tools/lang/Cargo.toml index 5417d183..aa61fd5b 100644 --- a/tools/lang/Cargo.toml +++ b/tools/lang/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "sqnc-lang" authors = ['Digital Catapult '] -version = "0.4.0" +version = "0.5.0" edition = "2021" [lib]