diff --git a/.github/workflows/rust-checks.yaml b/.github/workflows/rust-checks.yaml index bdac22a413a..b20b70eaf07 100644 --- a/.github/workflows/rust-checks.yaml +++ b/.github/workflows/rust-checks.yaml @@ -13,14 +13,14 @@ concurrency: env: RUST_BACKTRACE: 1 # pin nightly to avoid constantly throwing out cache - TOOLCHAIN_LINT: nightly-2023-11-13 + TOOLCHAIN_FMT: nightly-2024-04-09 jobs: doc: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Install Rust ${{ env.TOOLCHAIN_LINT }} + - name: Install Rust stable uses: dtolnay/rust-toolchain@stable with: targets: wasm32-unknown-unknown @@ -34,21 +34,35 @@ jobs: - name: cargo doc run: RUSTFLAGS="-D warnings" cargo doc --locked - lint: + fmt: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Install Rust ${{ env.TOOLCHAIN_LINT }} + - name: Install Rust ${{ env.TOOLCHAIN_FMT }} uses: dtolnay/rust-toolchain@stable with: - toolchain: ${{ env.TOOLCHAIN_LINT }} + toolchain: ${{ env.TOOLCHAIN_FMT }} targets: wasm32-unknown-unknown components: rustfmt, clippy, rust-src - uses: Swatinem/rust-cache@v2 with: - key: lint-v0 + key: fmt-v0 - name: cargo fmt - run: cargo +${{ env.TOOLCHAIN_LINT }} fmt --all -- --check + run: cargo +${{ env.TOOLCHAIN_FMT }} fmt --all -- --check + + clippy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install Rust stable + uses: dtolnay/rust-toolchain@stable + with: + toolchain: stable + targets: wasm32-unknown-unknown + components: rustfmt, clippy, rust-src + - uses: Swatinem/rust-cache@v2 + with: + key: clippy-v0 - name: Install deps for musl build run: | sudo apt-get update @@ -57,7 +71,7 @@ jobs: - name: cargo clippy uses: actions-rs-plus/clippy-check@v2 with: - toolchain: ${{ env.TOOLCHAIN_LINT }} + toolchain: stable args: --all-targets --all-features --locked --no-deps -- --deny warnings test: @@ -78,6 +92,32 @@ jobs: uses: arduino/setup-protoc@v1 with: version: "3.6.1" + - name: Free disk space + run: | + sudo docker rmi $(docker image ls -aq) >/dev/null 2>&1 || true + sudo rm -rf \ + /usr/share/dotnet /usr/local/lib/android /opt/ghc \ + /usr/local/share/powershell /usr/share/swift /usr/local/.ghcup \ + /usr/lib/jvm || true + sudo apt install aptitude -y >/dev/null 2>&1 + sudo aptitude purge aria2 ansible azure-cli shellcheck rpm xorriso zsync \ + esl-erlang firefox gfortran-8 gfortran-9 google-chrome-stable \ + google-cloud-sdk imagemagick \ + libmagickcore-dev libmagickwand-dev libmagic-dev ant ant-optional kubectl \ + mercurial apt-transport-https mono-complete libmysqlclient \ + unixodbc-dev yarn chrpath libssl-dev libxft-dev \ + libfreetype6 libfreetype6-dev libfontconfig1 libfontconfig1-dev \ + snmp pollinate libpq-dev postgresql-client powershell ruby-full \ + sphinxsearch subversion mongodb-org azure-cli microsoft-edge-stable \ + -y -f >/dev/null 2>&1 + sudo aptitude purge google-cloud-sdk -f -y >/dev/null 2>&1 + sudo aptitude purge microsoft-edge-stable -f -y >/dev/null 2>&1 || true + sudo apt purge microsoft-edge-stable -f -y >/dev/null 2>&1 || true + sudo aptitude purge '~n ^mysql' -f -y >/dev/null 2>&1 + sudo aptitude purge '~n ^php' -f -y >/dev/null 2>&1 + sudo aptitude purge '~n ^dotnet' -f -y >/dev/null 2>&1 + sudo apt-get autoremove -y >/dev/null 2>&1 + sudo apt-get autoclean -y >/dev/null 2>&1 - name: build try-runtime-cli # this is required for testing # build --release or the execution time of the test is too long diff --git a/Cargo.lock b/Cargo.lock index 5909ca99f06..a949d597f4c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -71,17 +71,6 @@ dependencies = [ "subtle 2.5.0", ] -[[package]] -name = "ahash" -version = "0.7.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a824f2aa7e75a0c98c5a504fceb80649e9c35265d44525b5f94de4771a395cd" -dependencies = [ - "getrandom 0.2.12", - "once_cell", - "version_check", -] - [[package]] name = "ahash" version = "0.8.7" @@ -184,9 +173,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.79" +version = "1.0.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca" +checksum = "f538837af36e6f6a9be0faa67f9a314f8119e4e4b5867c6ab40ed60360142519" [[package]] name = "approx" @@ -199,16 +188,16 @@ dependencies = [ [[package]] name = "aquamarine" -version = "0.3.3" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1da02abba9f9063d786eab1509833ebb2fac0f966862ca59439c76b9c566760" +checksum = "21cc1548309245035eb18aa7f0967da6bc65587005170c56e6ef2788a4cf3f4e" dependencies = [ "include_dir", "itertools 0.10.5", "proc-macro-error", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.60", ] [[package]] @@ -422,20 +411,6 @@ dependencies = [ "hashbrown 0.13.2", ] -[[package]] -name = "ark-scale" -version = "0.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51bd73bb6ddb72630987d37fa963e99196896c0d0ea81b7c894567e74a2f83af" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-serialize", - "ark-std", - "parity-scale-codec", - "scale-info", -] - [[package]] name = "ark-scale" version = "0.0.12" @@ -453,7 +428,7 @@ dependencies = [ [[package]] name = "ark-secret-scalar" version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=3ddc205#3ddc2051066c4b3f0eadd0ba5700df12500d9754" +source = "git+https://github.com/w3f/ring-vrf?rev=e9782f9#e9782f938629c90f3adb3fff2358bc8d1386af3e" dependencies = [ "ark-ec", "ark-ff", @@ -461,7 +436,7 @@ dependencies = [ "ark-std", "ark-transcript", "digest 0.10.7", - "rand_core 0.6.4", + "getrandom_or_panic", "zeroize", ] @@ -502,7 +477,7 @@ dependencies = [ [[package]] name = "ark-transcript" version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=3ddc205#3ddc2051066c4b3f0eadd0ba5700df12500d9754" +source = "git+https://github.com/w3f/ring-vrf?rev=e9782f9#e9782f938629c90f3adb3fff2358bc8d1386af3e" dependencies = [ "ark-ff", "ark-serialize", @@ -512,12 +487,6 @@ dependencies = [ "sha3", ] -[[package]] -name = "array-bytes" -version = "4.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6" - [[package]] name = "array-bytes" version = "6.2.2" @@ -530,12 +499,6 @@ version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545" -[[package]] -name = "arrayvec" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" - [[package]] name = "arrayvec" version = "0.7.4" @@ -619,7 +582,7 @@ version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb41eb19024a91746eba0773aa5e16036045bbf45733766661099e182ea6a744" dependencies = [ - "async-lock 3.3.0", + "async-lock", "cfg-if", "concurrent-queue", "futures-io", @@ -632,15 +595,6 @@ dependencies = [ "windows-sys 0.52.0", ] -[[package]] -name = "async-lock" -version = "2.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "287272293e9d8c41773cec55e365490fe034813a2f172f502d6ddcf75b2f582b" -dependencies = [ - "event-listener 2.5.3", -] - [[package]] name = "async-lock" version = "3.3.0" @@ -654,13 +608,13 @@ dependencies = [ [[package]] name = "async-trait" -version = "0.1.77" +version = "0.1.80" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c980ee35e870bd1a4d2c8294d4c04d0499e67bca1e4b5cefcc693c2fa00caea9" +checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] @@ -676,17 +630,6 @@ dependencies = [ "pin-project-lite 0.2.13", ] -[[package]] -name = "atty" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" -dependencies = [ - "hermit-abi 0.1.19", - "libc", - "winapi", -] - [[package]] name = "autocfg" version = "1.1.0" @@ -711,7 +654,7 @@ dependencies = [ [[package]] name = "bandersnatch_vrfs" version = "0.0.4" -source = "git+https://github.com/w3f/ring-vrf?rev=3ddc205#3ddc2051066c4b3f0eadd0ba5700df12500d9754" +source = "git+https://github.com/w3f/ring-vrf?rev=e9782f9#e9782f938629c90f3adb3fff2358bc8d1386af3e" dependencies = [ "ark-bls12-381", "ark-ec", @@ -721,7 +664,7 @@ dependencies = [ "ark-std", "dleq_vrf", "fflonk", - "merlin 3.0.0", + "merlin", "rand_chacha 0.3.1", "rand_core 0.6.4", "ring 0.1.0", @@ -755,6 +698,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" @@ -770,6 +719,15 @@ dependencies = [ "serde", ] +[[package]] +name = "binary-merkle-tree" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "hash-db", + "log", +] + [[package]] name = "bincode" version = "1.3.3" @@ -797,27 +755,24 @@ dependencies = [ "regex", "rustc-hash", "shlex", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] -name = "bip39" -version = "2.0.0" +name = "bitcoin-internals" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93f2635620bf0b9d4576eb7bb9a38a55df78bd1205d26fa994b25911a69f212f" -dependencies = [ - "bitcoin_hashes", - "rand 0.8.5", - "rand_core 0.6.4", - "serde", - "unicode-normalization", -] +checksum = "9425c3bf7089c983facbae04de54513cce73b41c7f9ff8c845b54e7bc64ebbfb" [[package]] name = "bitcoin_hashes" -version = "0.11.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90064b8dee6815a6470d60bad07bbbaee885c0e12d04177138fa3291a01b7bc4" +checksum = "1930a4dabfebb8d7d9992db18ebe3ae2876f0a305fab206fd168df931ede293b" +dependencies = [ + "bitcoin-internals", + "hex-conservative", +] [[package]] name = "bitflags" @@ -839,6 +794,7 @@ checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" dependencies = [ "funty", "radium", + "serde", "tap", "wyz", ] @@ -871,7 +827,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23285ad32269793932e830392f2fe2f83e26488fd3ec778883a93c8323735780" dependencies = [ "arrayref", - "arrayvec 0.7.4", + "arrayvec", "constant_time_eq", ] @@ -882,7 +838,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94230421e395b9920d23df13ea5d77a20e1725331f90fbbf6df6040b33f756ae" dependencies = [ "arrayref", - "arrayvec 0.7.4", + "arrayvec", "constant_time_eq", ] @@ -893,24 +849,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0231f06152bf547e9c2b5194f247cd97aacf6dcd8b15d8e5ec0663f64580da87" dependencies = [ "arrayref", - "arrayvec 0.7.4", + "arrayvec", "cc", "cfg-if", "constant_time_eq", ] -[[package]] -name = "block-buffer" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" -dependencies = [ - "block-padding", - "byte-tools", - "byteorder", - "generic-array 0.12.4", -] - [[package]] name = "block-buffer" version = "0.9.0" @@ -929,20 +873,11 @@ dependencies = [ "generic-array 0.14.7", ] -[[package]] -name = "block-padding" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5" -dependencies = [ - "byte-tools", -] - [[package]] name = "bounded-collections" -version = "0.1.9" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca548b6163b872067dc5eb82fd130c56881435e30367d2073594a3d9744120dd" +checksum = "d32385ecb91a31bddaf908e8dcf4a15aef1bcd3913cc03ebfad02ff6d568abc1" dependencies = [ "log", "parity-scale-codec", @@ -950,6 +885,15 @@ dependencies = [ "serde", ] +[[package]] +name = "bounded-vec" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68534a48cbf63a4b1323c433cf21238c9ec23711e0df13b08c33e5c2082663ce" +dependencies = [ + "thiserror", +] + [[package]] name = "bs58" version = "0.4.0" @@ -1190,7 +1134,20 @@ checksum = "b9b68e3193982cd54187d71afdb2a271ad4cf8af157858e9cb911b91321de143" dependencies = [ "core2", "multibase", - "multihash", + "multihash 0.17.0", + "serde", + "unsigned-varint", +] + +[[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", ] @@ -1217,11 +1174,11 @@ dependencies = [ [[package]] name = "ckb-merkle-mountain-range" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56ccb671c5921be8a84686e6212ca184cb1d7c51cadcdbfcbd1cc3f042f5dfb8" +version = "0.6.0" +source = "git+https://github.com/paritytech/merkle-mountain-range.git?branch=master#537f0e3f67c5adf7afff0800bbb81f02f17570a1" dependencies = [ "cfg-if", + "itertools 0.10.5", ] [[package]] @@ -1237,9 +1194,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.4.18" +version = "4.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e578d6ec4194633722ccf9544794b71b1385c3c027efe0c55db226fc880865c" +checksum = "90bc066a67923782aa8515dbaea16946c5bcc5addbd668bb80af688e53e548a0" dependencies = [ "clap_builder", "clap_derive", @@ -1247,9 +1204,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.4.18" +version = "4.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4df4df40ec50c46000231c914968278b1eb05098cf8f1b3a518a95030e71d1c7" +checksum = "ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4" dependencies = [ "anstream", "anstyle", @@ -1269,21 +1226,32 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.4.7" +version = "4.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" +checksum = "528131438037fd55894f62d6e9f068b8f45ac57ffa77517819645d10aed04f64" dependencies = [ - "heck", + "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] name = "clap_lex" -version = "0.6.0" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" + +[[package]] +name = "coarsetime" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" +checksum = "13b3839cf01bb7960114be3ccf2340f541b6d0c81f8690b007b2b39f750f7e5d" +dependencies = [ + "libc", + "wasix", + "wasm-bindgen", +] [[package]] name = "codespan-reporting" @@ -1301,6 +1269,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" @@ -1315,7 +1293,7 @@ dependencies = [ [[package]] name = "common" version = "0.1.0" -source = "git+https://github.com/burdges/ring-proof?branch=patch-1#05a756076cb20f981a52afea3a620168de49f95f" +source = "git+https://github.com/w3f/ring-proof#b273d33f9981e2bb3375ab45faeb537f7ee35224" dependencies = [ "ark-ec", "ark-ff", @@ -1323,7 +1301,8 @@ dependencies = [ "ark-serialize", "ark-std", "fflonk", - "merlin 3.0.0", + "getrandom_or_panic", + "merlin", "rand_chacha 0.3.1", ] @@ -1466,7 +1445,7 @@ dependencies = [ "gimli 0.27.3", "hashbrown 0.13.2", "log", - "regalloc2", + "regalloc2 0.6.1", "smallvec", "target-lexicon", ] @@ -1540,6 +1519,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.3.2" @@ -1568,6 +1562,15 @@ dependencies = [ "crossbeam-utils", ] +[[package]] +name = "crossbeam-queue" +version = "0.3.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df0346b5d5e76ac2fe4e327c5fd1118d6be7c51dfb18f9b7922923f287471e35" +dependencies = [ + "crossbeam-utils", +] + [[package]] name = "crossbeam-utils" version = "0.8.19" @@ -1623,16 +1626,6 @@ dependencies = [ "subtle 2.5.0", ] -[[package]] -name = "crypto-mac" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25fab6889090c8133f3deb8f73ba3c65a7f456f66436fc012a1b1e272b1e103e" -dependencies = [ - "generic-array 0.14.7", - "subtle 2.5.0", -] - [[package]] name = "ctr" version = "0.9.2" @@ -1643,16 +1636,93 @@ dependencies = [ ] [[package]] -name = "curve25519-dalek" -version = "2.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a9b85542f99a2dfa2a1b8e192662741c9859a846b296bef1c92ef9b58b5a216" +name = "cumulus-client-parachain-inherent" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "byteorder", - "digest 0.8.1", - "rand_core 0.5.1", - "subtle 2.5.0", - "zeroize", + "async-trait", + "cumulus-primitives-core", + "cumulus-primitives-parachain-inherent", + "cumulus-relay-chain-interface", + "cumulus-test-relay-sproof-builder", + "parity-scale-codec", + "sc-client-api", + "scale-info", + "sp-api", + "sp-crypto-hashing", + "sp-inherents", + "sp-runtime", + "sp-state-machine", + "sp-std 14.0.0", + "sp-storage 19.0.0", + "sp-trie", + "tracing", +] + +[[package]] +name = "cumulus-primitives-core" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "parity-scale-codec", + "polkadot-core-primitives", + "polkadot-parachain-primitives", + "polkadot-primitives", + "scale-info", + "sp-api", + "sp-runtime", + "sp-std 14.0.0", + "sp-trie", + "staging-xcm", +] + +[[package]] +name = "cumulus-primitives-parachain-inherent" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "async-trait", + "cumulus-primitives-core", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", + "sp-std 14.0.0", + "sp-trie", +] + +[[package]] +name = "cumulus-relay-chain-interface" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "async-trait", + "cumulus-primitives-core", + "futures", + "jsonrpsee-core", + "parity-scale-codec", + "polkadot-overseer", + "sc-client-api", + "sp-api", + "sp-blockchain", + "sp-state-machine", + "thiserror", +] + +[[package]] +name = "cumulus-test-relay-sproof-builder" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "cumulus-primitives-core", + "parity-scale-codec", + "polkadot-primitives", + "sp-runtime", + "sp-state-machine", + "sp-std 14.0.0", + "sp-trie", ] [[package]] @@ -1693,7 +1763,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] @@ -1720,7 +1790,7 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] @@ -1737,7 +1807,20 @@ checksum = "8908e380a8efd42150c017b0cfa31509fc49b6d47f7cb6b33e93ffb8f4e3661e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", +] + +[[package]] +name = "dashmap" +version = "5.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856" +dependencies = [ + "cfg-if", + "hashbrown 0.14.3", + "lock_api", + "once_cell", + "parking_lot_core 0.9.9", ] [[package]] @@ -1821,6 +1904,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "derive-syn-parse" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.60", +] + [[package]] name = "derive_more" version = "0.99.17" @@ -1920,23 +2014,22 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] name = "dleq_vrf" version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=3ddc205#3ddc2051066c4b3f0eadd0ba5700df12500d9754" +source = "git+https://github.com/w3f/ring-vrf?rev=e9782f9#e9782f938629c90f3adb3fff2358bc8d1386af3e" dependencies = [ "ark-ec", "ark-ff", - "ark-scale 0.0.11", + "ark-scale", "ark-secret-scalar", "ark-serialize", "ark-std", "ark-transcript", - "arrayvec 0.7.4", - "rand_core 0.6.4", + "arrayvec", "zeroize", ] @@ -1948,26 +2041,26 @@ checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" [[package]] name = "docify" -version = "0.2.7" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cc4fd38aaa9fb98ac70794c82a00360d1e165a87fbf96a8a91f9dfc602aaee2" +checksum = "43a2f138ad521dc4a2ced1a4576148a6a610b4c5923933b062a263130a6802ce" dependencies = [ "docify_macros", ] [[package]] name = "docify_macros" -version = "0.2.7" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63fa215f3a0d40fb2a221b3aa90d8e1fbb8379785a990cb60d62ac71ebdc6460" +checksum = "1a081e51fb188742f5a7a1164ad752121abcb22874b21e2c3b0dd040c515fdad" dependencies = [ "common-path", - "derive-syn-parse", + "derive-syn-parse 0.2.0", "once_cell", "proc-macro2", "quote", "regex", - "syn 2.0.48", + "syn 2.0.60", "termcolor", "toml 0.8.8", "walkdir", @@ -2028,10 +2121,20 @@ dependencies = [ "digest 0.10.7", "elliptic-curve", "rfc6979", - "signature", + "serdect", + "signature 2.2.0", "spki", ] +[[package]] +name = "ed25519" +version = "1.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91cff35c70bba8a626e3185d8cd48cc11b5437e1a5bcd15b9b5fa3c64b6dfee7" +dependencies = [ + "signature 1.6.4", +] + [[package]] name = "ed25519" version = "2.2.3" @@ -2039,18 +2142,32 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" dependencies = [ "pkcs8", - "signature", + "signature 2.2.0", ] [[package]] name = "ed25519-dalek" -version = "2.1.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f628eaec48bfd21b865dc2950cfa014450c01d2fa2b69a86c2fd5844ec523c0" +checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" dependencies = [ - "curve25519-dalek 4.1.1", - "ed25519", - "rand_core 0.6.4", + "curve25519-dalek 3.2.0", + "ed25519 1.5.3", + "rand 0.7.3", + "serde", + "sha2 0.9.9", + "zeroize", +] + +[[package]] +name = "ed25519-dalek" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f628eaec48bfd21b865dc2950cfa014450c01d2fa2b69a86c2fd5844ec523c0" +dependencies = [ + "curve25519-dalek 4.1.1", + "ed25519 2.2.3", + "rand_core 0.6.4", "serde", "sha2 0.10.8", "subtle 2.5.0", @@ -2059,15 +2176,16 @@ dependencies = [ [[package]] name = "ed25519-zebra" -version = "3.1.0" +version = "4.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c24f403d068ad0b359e577a77f92392118be3f3c927538f2bb544a5ecd828c6" +checksum = "7d9ce6874da5d4415896cd45ffbc4d1cfc0c4f9c079427bd870742c30f2f65a9" dependencies = [ - "curve25519-dalek 3.2.0", - "hashbrown 0.12.3", + "curve25519-dalek 4.1.1", + "ed25519 2.2.3", + "hashbrown 0.14.3", "hex", "rand_core 0.6.4", - "sha2 0.9.9", + "sha2 0.10.8", "zeroize", ] @@ -2092,6 +2210,7 @@ dependencies = [ "pkcs8", "rand_core 0.6.4", "sec1", + "serdect", "subtle 2.5.0", "zeroize", ] @@ -2108,12 +2227,24 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c9720bba047d567ffc8a3cba48bf19126600e249ab7f128e9233e6376976a116" dependencies = [ - "heck", + "heck 0.4.1", "proc-macro2", "quote", "syn 1.0.109", ] +[[package]] +name = "enum-as-inner" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ffccbb6966c05b32ef8fbac435df276c4ae4d3dc55a8cd0eb9745e6c12f546a" +dependencies = [ + "heck 0.4.1", + "proc-macro2", + "quote", + "syn 2.0.60", +] + [[package]] name = "enumflags2" version = "0.7.8" @@ -2131,7 +2262,7 @@ checksum = "f95e2801cd355d4a1a3e3953ce6ee5ae9603a5c833455343a8bfe3f44d418246" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] @@ -2215,20 +2346,20 @@ dependencies = [ "fs-err", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] -name = "fake-simd" -version = "0.1.2" +name = "fallible-iterator" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" +checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" [[package]] name = "fallible-iterator" -version = "0.2.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" +checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649" [[package]] name = "fastrand" @@ -2236,6 +2367,30 @@ version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" +[[package]] +name = "fatality" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec6f82451ff7f0568c6181287189126d492b5654e30a788add08027b6363d019" +dependencies = [ + "fatality-proc-macro", + "thiserror", +] + +[[package]] +name = "fatality-proc-macro" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb42427514b063d97ce21d5199f36c0c307d981434a6be32582bc79fe5bd2303" +dependencies = [ + "expander", + "indexmap 2.1.0", + "proc-macro-crate 3.1.0", + "proc-macro2", + "quote", + "syn 2.0.60", +] + [[package]] name = "fdlimit" version = "0.3.0" @@ -2266,7 +2421,7 @@ dependencies = [ "ark-poly", "ark-serialize", "ark-std", - "merlin 3.0.0", + "merlin", ] [[package]] @@ -2357,10 +2512,25 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +[[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 = "3.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "12.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "parity-scale-codec", ] @@ -2374,6 +2544,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" @@ -2382,8 +2562,8 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-support", "frame-support-procedural", @@ -2399,19 +2579,19 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-runtime-interface 24.0.0", + "sp-std 14.0.0", + "sp-storage 19.0.0", "static_assertions", ] [[package]] name = "frame-benchmarking-cli" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "32.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "Inflector", - "array-bytes 6.2.2", + "array-bytes", "chrono", "clap", "comfy-table", @@ -2420,7 +2600,7 @@ dependencies = [ "frame-system", "gethostname", "handlebars", - "itertools 0.10.5", + "itertools 0.11.0", "lazy_static", "linked-hash-map", "log", @@ -2428,6 +2608,7 @@ dependencies = [ "rand 0.8.5", "rand_pcg", "sc-block-builder", + "sc-chain-spec", "sc-cli", "sc-client-api", "sc-client-db", @@ -2440,23 +2621,24 @@ dependencies = [ "sp-blockchain", "sp-core", "sp-database", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-externalities 0.25.0", + "sp-genesis-builder", "sp-inherents", "sp-io", "sp-keystore", "sp-runtime", "sp-state-machine", - "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-storage 19.0.0", "sp-trie", - "sp-wasm-interface 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-wasm-interface 20.0.0", "thiserror", "thousands", ] [[package]] name = "frame-benchmarking-pallet-pov" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -2465,24 +2647,24 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "frame-election-provider-solution-type" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] name = "frame-election-provider-support" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2493,14 +2675,15 @@ dependencies = [ "sp-core", "sp-npos-elections", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "frame-executive" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ + "aquamarine", "frame-support", "frame-system", "frame-try-runtime", @@ -2510,8 +2693,8 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", + "sp-tracing 16.0.0", ] [[package]] @@ -2528,8 +2711,8 @@ dependencies = [ [[package]] name = "frame-remote-externalities" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.35.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "futures", "indicatif", @@ -2538,6 +2721,7 @@ dependencies = [ "parity-scale-codec", "serde", "sp-core", + "sp-crypto-hashing", "sp-io", "sp-runtime", "sp-state-machine", @@ -2549,11 +2733,11 @@ dependencies = [ [[package]] name = "frame-support" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "aquamarine", - "array-bytes 6.2.2", + "array-bytes", "bitflags 1.3.2", "docify", "environmental", @@ -2572,8 +2756,8 @@ dependencies = [ "sp-api", "sp-arithmetic", "sp-core", - "sp-core-hashing-proc-macro", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-crypto-hashing-proc-macro", + "sp-debug-derive 14.0.0", "sp-genesis-builder", "sp-inherents", "sp-io", @@ -2581,8 +2765,8 @@ dependencies = [ "sp-runtime", "sp-staking", "sp-state-machine", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", + "sp-tracing 16.0.0", "sp-weights", "static_assertions", "tt-call", @@ -2590,49 +2774,49 @@ dependencies = [ [[package]] name = "frame-support-procedural" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "Inflector", "cfg-expr", - "derive-syn-parse", + "derive-syn-parse 0.2.0", "expander", "frame-support-procedural-tools", - "itertools 0.10.5", + "itertools 0.11.0", "macro_magic", "proc-macro-warning", "proc-macro2", "quote", - "sp-core-hashing", - "syn 2.0.48", + "sp-crypto-hashing", + "syn 2.0.60", ] [[package]] name = "frame-support-procedural-tools" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-support-procedural-tools-derive", - "proc-macro-crate 1.1.3", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] name = "frame-support-procedural-tools-derive" -version = "3.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] name = "frame-system" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "cfg-if", "docify", @@ -2644,15 +2828,15 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", "sp-version", "sp-weights", ] [[package]] name = "frame-system-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -2661,13 +2845,13 @@ dependencies = [ "scale-info", "sp-core", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "frame-system-rpc-runtime-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "parity-scale-codec", "sp-api", @@ -2675,14 +2859,14 @@ dependencies = [ [[package]] name = "frame-try-runtime" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-support", "parity-scale-codec", "sp-api", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] @@ -2706,9 +2890,9 @@ dependencies = [ [[package]] name = "fs4" -version = "0.6.6" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2eeb4ed9e12f43b7fa0baae3f9cdda28352770132ef2e09a23760c29cae8bd47" +checksum = "29f9df8a11882c4e3335eb2d18a0137c505d9ca927470b0cac9c6f0ae07d28f7" dependencies = [ "rustix 0.38.30", "windows-sys 0.48.0", @@ -2787,7 +2971,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] @@ -2898,6 +3082,16 @@ dependencies = [ "wasi 0.11.0+wasi-snapshot-preview1", ] +[[package]] +name = "getrandom_or_panic" +version = "0.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ea1015b5a70616b688dc230cfe50c8af89d972cb132d5a622814d29773b10b9" +dependencies = [ + "rand 0.8.5", + "rand_core 0.6.4", +] + [[package]] name = "ghash" version = "0.5.0" @@ -2914,7 +3108,7 @@ version = "0.27.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" dependencies = [ - "fallible-iterator", + "fallible-iterator 0.2.0", "indexmap 1.9.3", "stable_deref_trait", ] @@ -2924,6 +3118,10 @@ name = "gimli" version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" +dependencies = [ + "fallible-iterator 0.3.0", + "stable_deref_trait", +] [[package]] name = "glob" @@ -2932,16 +3130,23 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" [[package]] -name = "globset" -version = "0.4.14" +name = "governor" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57da3b9b5b85bd66f31093f8c408b90a74431672542466497dcbdfdc02034be1" +checksum = "68a7f542ee6b35af73b06abc0dad1c1bae89964e4e253bc4b587b91c9637867b" dependencies = [ - "aho-corasick", - "bstr 1.9.0", - "log", - "regex-automata 0.4.4", - "regex-syntax 0.8.2", + "cfg-if", + "dashmap", + "futures", + "futures-timer", + "no-std-compat", + "nonzero_ext", + "parking_lot 0.12.1", + "portable-atomic", + "quanta", + "rand 0.8.5", + "smallvec", + "spinning_top", ] [[package]] @@ -2976,9 +3181,9 @@ dependencies = [ [[package]] name = "handlebars" -version = "4.5.0" +version = "5.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "faa67bab9ff362228eb3d00bd024a4965d8231bbb7921167f0cfa66c6626b225" +checksum = "d08485b96a0e6393e9e4d1b8d48cf74ad6c063cd905eb33f42c1ce3f0377539b" dependencies = [ "log", "pest", @@ -3008,9 +3213,6 @@ name = "hashbrown" version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" -dependencies = [ - "ahash 0.7.7", -] [[package]] name = "hashbrown" @@ -3018,7 +3220,7 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.7", + "ahash", ] [[package]] @@ -3027,7 +3229,7 @@ version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" dependencies = [ - "ahash 0.8.7", + "ahash", "allocator-api2", ] @@ -3047,13 +3249,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" [[package]] -name = "hermit-abi" -version = "0.1.19" +name = "heck" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "hermit-abi" @@ -3067,6 +3266,18 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" +[[package]] +name = "hex-conservative" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30ed443af458ccb6d81c1e7e661545f94d3176752fb1df2f543b902a1e0f51e2" + +[[package]] +name = "hex-literal" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" + [[package]] name = "hkdf" version = "0.12.4" @@ -3086,16 +3297,6 @@ dependencies = [ "digest 0.9.0", ] -[[package]] -name = "hmac" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a2a2320eb7ec0ebe8da8f744d7812d9fc4cb4d09344ac01898dbcb6a20ae69b" -dependencies = [ - "crypto-mac 0.11.0", - "digest 0.9.0", -] - [[package]] name = "hmac" version = "0.12.1" @@ -3217,10 +3418,9 @@ dependencies = [ "hyper", "log", "rustls 0.21.10", - "rustls-native-certs", + "rustls-native-certs 0.6.3", "tokio", - "tokio-rustls", - "webpki-roots 0.25.3", + "tokio-rustls 0.24.1", ] [[package]] @@ -3257,6 +3457,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" @@ -3413,6 +3623,12 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "integer-encoding" +version = "3.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8bb03732005da905c88227371639bf1ad885cc712789c011c31c5fb3ab3ccf02" + [[package]] name = "integer-sqrt" version = "0.1.5" @@ -3428,7 +3644,7 @@ version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ - "hermit-abi 0.3.4", + "hermit-abi", "libc", "windows-sys 0.48.0", ] @@ -3463,7 +3679,7 @@ version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0bad00257d07be169d870ab665980b06cdb366d792ad690bf2e76876dc503455" dependencies = [ - "hermit-abi 0.3.4", + "hermit-abi", "rustix 0.38.30", "windows-sys 0.52.0", ] @@ -3512,9 +3728,9 @@ dependencies = [ [[package]] name = "jsonrpsee" -version = "0.16.3" +version = "0.22.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "367a292944c07385839818bb71c8d76611138e2dedb0677d035b8da21d29c78b" +checksum = "cfdb12a2381ea5b2e68c3469ec604a007b367778cdb14d09612c8069ebd616ad" dependencies = [ "jsonrpsee-core", "jsonrpsee-http-client", @@ -3522,105 +3738,106 @@ dependencies = [ "jsonrpsee-server", "jsonrpsee-types", "jsonrpsee-ws-client", + "tokio", "tracing", ] [[package]] name = "jsonrpsee-client-transport" -version = "0.16.3" +version = "0.22.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8b3815d9f5d5de348e5f162b316dc9cdf4548305ebb15b4eb9328e66cf27d7a" +checksum = "4978087a58c3ab02efc5b07c5e5e2803024536106fd5506f558db172c889b3aa" dependencies = [ "futures-util", "http", "jsonrpsee-core", - "jsonrpsee-types", "pin-project", - "rustls-native-certs", + "rustls-native-certs 0.7.0", + "rustls-pki-types", "soketto", "thiserror", "tokio", - "tokio-rustls", + "tokio-rustls 0.25.0", "tokio-util", "tracing", - "webpki-roots 0.25.3", + "url", ] [[package]] name = "jsonrpsee-core" -version = "0.16.3" +version = "0.22.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b5dde66c53d6dcdc8caea1874a45632ec0fcf5b437789f1e45766a1512ce803" +checksum = "b4b257e1ec385e07b0255dde0b933f948b5c8b8c28d42afda9587c3a967b896d" dependencies = [ "anyhow", - "arrayvec 0.7.4", - "async-lock 2.8.0", "async-trait", "beef", - "futures-channel", "futures-timer", "futures-util", - "globset", "hyper", "jsonrpsee-types", "parking_lot 0.12.1", + "pin-project", "rand 0.8.5", "rustc-hash", "serde", "serde_json", - "soketto", "thiserror", "tokio", + "tokio-stream", "tracing", ] [[package]] name = "jsonrpsee-http-client" -version = "0.16.3" +version = "0.22.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e5f9fabdd5d79344728521bb65e3106b49ec405a78b66fbff073b72b389fa43" +checksum = "1ccf93fc4a0bfe05d851d37d7c32b7f370fe94336b52a2f0efc5f1981895c2e5" dependencies = [ "async-trait", "hyper", "hyper-rustls", "jsonrpsee-core", "jsonrpsee-types", - "rustc-hash", "serde", "serde_json", "thiserror", "tokio", + "tower", "tracing", + "url", ] [[package]] name = "jsonrpsee-proc-macros" -version = "0.16.3" +version = "0.22.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44e8ab85614a08792b9bff6c8feee23be78c98d0182d4c622c05256ab553892a" +checksum = "7d0bb047e79a143b32ea03974a6bf59b62c2a4c5f5d42a381c907a8bbb3f75c0" dependencies = [ - "heck", - "proc-macro-crate 1.1.3", + "heck 0.4.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.60", ] [[package]] name = "jsonrpsee-server" -version = "0.16.3" +version = "0.22.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf4d945a6008c9b03db3354fb3c83ee02d2faa9f2e755ec1dfb69c3551b8f4ba" +checksum = "12d8b6a9674422a8572e0b0abb12feeb3f2aeda86528c80d0350c2bd0923ab41" dependencies = [ - "futures-channel", "futures-util", "http", "hyper", "jsonrpsee-core", "jsonrpsee-types", + "pin-project", + "route-recognizer", "serde", "serde_json", "soketto", + "thiserror", "tokio", "tokio-stream", "tokio-util", @@ -3630,28 +3847,28 @@ dependencies = [ [[package]] name = "jsonrpsee-types" -version = "0.16.3" +version = "0.22.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "245ba8e5aa633dd1c1e4fae72bce06e71f42d34c14a2767c6b4d173b57bee5e5" +checksum = "150d6168405890a7a3231a3c74843f58b8959471f6df76078db2619ddee1d07d" dependencies = [ "anyhow", "beef", "serde", "serde_json", "thiserror", - "tracing", ] [[package]] name = "jsonrpsee-ws-client" -version = "0.16.3" +version = "0.22.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e1b3975ed5d73f456478681a417128597acd6a2487855fdb7b4a3d4d195bf5e" +checksum = "58b9db2dfd5bb1194b0ce921504df9ceae210a345bc2f6c5a61432089bbab070" dependencies = [ "http", "jsonrpsee-client-transport", "jsonrpsee-core", "jsonrpsee-types", + "url", ] [[package]] @@ -3664,6 +3881,7 @@ dependencies = [ "ecdsa", "elliptic-curve", "once_cell", + "serdect", "sha2 0.10.8", ] @@ -3685,7 +3903,7 @@ checksum = "c33070833c9ee02266356de0c43f723152bd38bd96ddf52c82b3af10c9138b28" [[package]] name = "kitchensink-runtime" version = "3.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-benchmarking-pallet-pov", @@ -3700,6 +3918,7 @@ dependencies = [ "node-primitives", "pallet-alliance", "pallet-asset-conversion", + "pallet-asset-conversion-ops", "pallet-asset-conversion-tx-payment", "pallet-asset-rate", "pallet-asset-tx-payment", @@ -3709,18 +3928,21 @@ dependencies = [ "pallet-babe", "pallet-bags-list", "pallet-balances", + "pallet-beefy", + "pallet-beefy-mmr", "pallet-bounties", "pallet-broker", "pallet-child-bounties", "pallet-collective", "pallet-contracts", - "pallet-contracts-primitives", "pallet-conviction-voting", "pallet-core-fellowship", "pallet-democracy", "pallet-election-provider-multi-phase", "pallet-election-provider-support-benchmarking", "pallet-elections-phragmen", + "pallet-example-mbm", + "pallet-example-tasks", "pallet-fast-unstake", "pallet-glutton", "pallet-grandpa", @@ -3731,6 +3953,7 @@ dependencies = [ "pallet-lottery", "pallet-membership", "pallet-message-queue", + "pallet-migrations", "pallet-mixnet", "pallet-mmr", "pallet-multisig", @@ -3743,6 +3966,7 @@ dependencies = [ "pallet-nomination-pools-runtime-api", "pallet-offences", "pallet-offences-benchmarking", + "pallet-parameters", "pallet-preimage", "pallet-proxy", "pallet-ranked-collective", @@ -3782,6 +4006,7 @@ dependencies = [ "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", + "sp-consensus-beefy", "sp-consensus-grandpa", "sp-core", "sp-genesis-builder", @@ -3793,8 +4018,8 @@ dependencies = [ "sp-session", "sp-staking", "sp-statement-store", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", + "sp-storage 19.0.0", "sp-transaction-pool", "sp-version", "static_assertions", @@ -3848,9 +4073,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.152" +version = "0.2.154" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7" +checksum = "ae743338b92ff9146ce83992f766a31066a91a8c84a45e0e9f21e7cf6de6d346" [[package]] name = "libloading" @@ -3939,7 +4164,7 @@ dependencies = [ "libp2p-identity", "log", "multiaddr", - "multihash", + "multihash 0.17.0", "multistream-select", "once_cell", "parking_lot 0.12.1", @@ -3964,7 +4189,7 @@ dependencies = [ "log", "parking_lot 0.12.1", "smallvec", - "trust-dns-resolver", + "trust-dns-resolver 0.22.0", ] [[package]] @@ -3996,10 +4221,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "276bb57e7af15d8f100d3c11cbdd32c6752b7eef4ba7a18ecf464972c07abcce" dependencies = [ "bs58 0.4.0", - "ed25519-dalek", + "ed25519-dalek 2.1.0", "log", "multiaddr", - "multihash", + "multihash 0.17.0", "quick-protobuf", "rand 0.8.5", "sha2 0.10.8", @@ -4013,7 +4238,7 @@ version = "0.43.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39d5ef876a2b2323d63c258e63c2f8e36f205fe5a11f0b3095d59635650790ff" dependencies = [ - "arrayvec 0.7.4", + "arrayvec", "asynchronous-codec", "bytes", "either", @@ -4052,7 +4277,7 @@ dependencies = [ "smallvec", "socket2 0.4.10", "tokio", - "trust-dns-proto", + "trust-dns-proto 0.22.0", "void", ] @@ -4175,7 +4400,7 @@ version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fba456131824ab6acd4c7bf61e9c0f0a3014b5fc9868ccb8e10d344594cdc4f" dependencies = [ - "heck", + "heck 0.4.1", "quote", "syn 1.0.109", ] @@ -4211,7 +4436,7 @@ dependencies = [ "rustls 0.20.9", "thiserror", "webpki", - "x509-parser", + "x509-parser 0.14.0", "yasna", ] @@ -4245,7 +4470,7 @@ dependencies = [ "rw-stream-sink", "soketto", "url", - "webpki-roots 0.22.6", + "webpki-roots", ] [[package]] @@ -4403,6 +4628,60 @@ dependencies = [ "keystream", ] +[[package]] +name = "litep2p" +version = "0.3.0" +source = "git+https://github.com/paritytech/litep2p?rev=e03a6023882db111beeb24d8c0ceaac0721d3f0f#e03a6023882db111beeb24d8c0ceaac0721d3f0f" +dependencies = [ + "async-trait", + "bs58 0.4.0", + "bytes", + "cid 0.10.1", + "ed25519-dalek 1.0.1", + "futures", + "futures-timer", + "hex-literal", + "indexmap 2.1.0", + "libc", + "mockall", + "multiaddr", + "multihash 0.17.0", + "network-interface", + "nohash-hasher", + "parking_lot 0.12.1", + "pin-project", + "prost 0.11.9", + "prost-build 0.11.9", + "quinn", + "rand 0.8.5", + "rcgen", + "ring 0.16.20", + "rustls 0.20.9", + "serde", + "sha2 0.10.8", + "simple-dns", + "smallvec", + "snow", + "socket2 0.5.5", + "static_assertions", + "str0m", + "thiserror", + "tokio", + "tokio-stream", + "tokio-tungstenite", + "tokio-util", + "tracing", + "trust-dns-resolver 0.23.2", + "uint", + "unsigned-varint", + "url", + "webpki", + "x25519-dalek 2.0.0", + "x509-parser 0.15.1", + "yasna", + "zeroize", +] + [[package]] name = "lock_api" version = "0.4.11" @@ -4415,9 +4694,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.20" +version = "0.4.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" +checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" [[package]] name = "lru" @@ -4475,7 +4754,7 @@ dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] @@ -4485,11 +4764,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "468155613a44cfd825f1fb0ffa532b018253920d404e6fca1e8d43155198a46d" dependencies = [ "const-random", - "derive-syn-parse", + "derive-syn-parse 0.1.5", "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] @@ -4500,7 +4779,7 @@ checksum = "9ea73aa640dc01d62a590d48c0c3521ed739d53b27f919b25c3551e233481654" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] @@ -4511,7 +4790,7 @@ checksum = "ef9d79ae96aaba821963320eb2b6e34d17df1e5a83d8a1985c29cc5be59577b3" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] @@ -4535,6 +4814,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" @@ -4576,12 +4864,12 @@ dependencies = [ ] [[package]] -name = "memoffset" -version = "0.7.1" +name = "memmap2" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4" +checksum = "fe751422e4a8caa417e13c3ea66452215d7d63e19e604f4980461212f3ae1322" dependencies = [ - "autocfg", + "libc", ] [[package]] @@ -4604,26 +4892,25 @@ dependencies = [ [[package]] name = "merlin" -version = "2.0.1" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e261cf0f8b3c42ded9f7d2bb59dea03aa52bc8a1cbc7482f9fc3fd1229d3b42" +checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d" dependencies = [ "byteorder", "keccak", - "rand_core 0.5.1", + "rand_core 0.6.4", "zeroize", ] [[package]] -name = "merlin" -version = "3.0.0" +name = "mick-jaeger" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d" +checksum = "69672161530e8aeca1d1400fbf3f1a1747ff60ea604265a4e906c2442df20532" dependencies = [ - "byteorder", - "keccak", - "rand_core 0.6.4", - "zeroize", + "futures", + "rand 0.8.5", + "thrift", ] [[package]] @@ -4659,7 +4946,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "daa3eb39495d8e2e2947a1d862852c90cc6a4a8845f8b41c8829cb9fcc047f4a" dependencies = [ "arrayref", - "arrayvec 0.7.4", + "arrayvec", "bitflags 1.3.2", "blake2 0.10.6", "c2-chacha", @@ -4677,12 +4964,30 @@ dependencies = [ "zeroize", ] +[[package]] +name = "mmr-gadget" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "futures", + "log", + "parity-scale-codec", + "sc-client-api", + "sc-offchain", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-consensus-beefy", + "sp-core", + "sp-mmr-primitives", + "sp-runtime", +] + [[package]] name = "mmr-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "anyhow", "jsonrpsee", "parity-scale-codec", "serde", @@ -4731,7 +5036,7 @@ dependencies = [ "data-encoding", "log", "multibase", - "multihash", + "multihash 0.17.0", "percent-encoding", "serde", "static_assertions", @@ -4761,25 +5066,97 @@ dependencies = [ "blake3", "core2", "digest 0.10.7", - "multihash-derive", + "multihash-derive 0.8.0", "sha2 0.10.8", "sha3", "unsigned-varint", ] [[package]] -name = "multihash-derive" -version = "0.8.1" +name = "multihash" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d6d4752e6230d8ef7adf7bd5d8c4b1f6561c1014c5ba9a37445ccefe18aa1db" +checksum = "cfd8a792c1694c6da4f68db0a9d707c72bd260994da179e6030a5dcee00bb815" dependencies = [ - "proc-macro-crate 1.1.3", - "proc-macro-error", - "proc-macro2", - "quote", - "syn 1.0.109", - "synstructure", -] + "blake2b_simd", + "blake2s_simd", + "blake3", + "core2", + "digest 0.10.7", + "multihash-derive 0.8.0", + "sha2 0.10.8", + "sha3", + "unsigned-varint", +] + +[[package]] +name = "multihash" +version = "0.19.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "076d548d76a0e2a0d4ab471d0b1c36c577786dfc4471242035d97a12a735c492" +dependencies = [ + "core2", + "unsigned-varint", +] + +[[package]] +name = "multihash-codetable" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6d815ecb3c8238d00647f8630ede7060a642c9f704761cd6082cb4028af6935" +dependencies = [ + "blake2b_simd", + "blake2s_simd", + "blake3", + "core2", + "digest 0.10.7", + "multihash-derive 0.9.0", + "ripemd", + "serde", + "sha1", + "sha2 0.10.8", + "sha3", + "strobe-rs", +] + +[[package]] +name = "multihash-derive" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc076939022111618a5026d3be019fd8b366e76314538ff9a1b59ffbcbf98bcd" +dependencies = [ + "proc-macro-crate 1.3.1", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 1.0.109", + "synstructure", +] + +[[package]] +name = "multihash-derive" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "890e72cb7396cb99ed98c1246a97b243cc16394470d94e0bc8b0c2c11d84290e" +dependencies = [ + "core2", + "multihash 0.19.1", + "multihash-derive-impl", +] + +[[package]] +name = "multihash-derive-impl" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d38685e08adb338659871ecfc6ee47ba9b22dcc8abcf6975d379cc49145c3040" +dependencies = [ + "proc-macro-crate 1.3.1", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 1.0.109", + "synstructure", +] [[package]] name = "multimap" @@ -4830,13 +5207,19 @@ dependencies = [ [[package]] name = "names" -version = "0.13.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7d66043b25d4a6cccb23619d10c19c25304b355a7dccd4a8e11423dd2382146" +checksum = "7bddcd3bf5144b6392de80e04c347cd7fab2508f6df16a85fc496ecd5cec39bc" dependencies = [ "rand 0.8.5", ] +[[package]] +name = "nanorand" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a51313c5820b0b02bd422f4b44776fbf47961755c74ce64afc73bfad10226c3" + [[package]] name = "netlink-packet-core" version = "0.4.2" @@ -4903,6 +5286,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" @@ -4916,21 +5311,26 @@ dependencies = [ [[package]] name = "nix" -version = "0.26.4" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "598beaf3cc6fdd9a5dfb1630c2800c7acd31df7aaf0f565796fba2b53ca1af1b" +checksum = "ab2156c4fce2f8df6c499cc1c763e4394b7482525bf2a9701c9d79d215f519e4" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.4.2", "cfg-if", + "cfg_aliases", "libc", - "memoffset 0.7.1", - "pin-utils", ] +[[package]] +name = "no-std-compat" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b93853da6d84c2e3c7d730d6473e8817692dd89be387eb01b94d7f108ecb5b8c" + [[package]] name = "node-primitives" version = "2.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "sp-core", "sp-runtime", @@ -4939,7 +5339,7 @@ dependencies = [ [[package]] name = "node-rpc" version = "3.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "jsonrpsee", "mmr-rpc", @@ -4949,6 +5349,8 @@ dependencies = [ "sc-client-api", "sc-consensus-babe", "sc-consensus-babe-rpc", + "sc-consensus-beefy", + "sc-consensus-beefy-rpc", "sc-consensus-grandpa", "sc-consensus-grandpa-rpc", "sc-mixnet", @@ -4985,12 +5387,34 @@ 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" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38bf9645c8b145698bb0b18a4637dcacbc421ea49bef2317e4fd8065a387cf21" + [[package]] name = "normalize-line-endings" 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" @@ -5017,7 +5441,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a652d9771a63711fd3c3deb670acfbe5c30a4072e664d7a3bf5a9e1056ac72c3" dependencies = [ - "arrayvec 0.7.4", + "arrayvec", "itoa", ] @@ -5059,7 +5483,7 @@ version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" dependencies = [ - "hermit-abi 0.3.4", + "hermit-abi", "libc", ] @@ -5117,22 +5541,118 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" +[[package]] +name = "openssl" +version = "0.10.64" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95a0481286a310808298130d22dd1fef0fa571e05a8f44ec801801e84b216b1f" +dependencies = [ + "bitflags 2.4.2", + "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.60", +] + [[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.2.3+3.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5cff92b6f71555b61bb9315f7c64da3ca43d87531622120fea0195fc761b4843" +dependencies = [ + "cc", +] + +[[package]] +name = "openssl-sys" +version = "0.9.102" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c597637d56fbc83893a35eb0dd04b2b8e7a50c91e64e9493e398b5df4fb45fa2" +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 = "orchestra" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2356622ffdfe72362a45a1e5e87bb113b8327e596e39b91f11f0ef4395c8da79" +dependencies = [ + "async-trait", + "dyn-clonable", + "futures", + "futures-timer", + "orchestra-proc-macro", + "pin-project", + "prioritized-metered-channel", + "thiserror", + "tracing", +] + +[[package]] +name = "orchestra-proc-macro" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eedb646674596266dc9bb2b5c7eea7c36b32ecc7777eba0d510196972d72c4fd" +dependencies = [ + "expander", + "indexmap 2.1.0", + "itertools 0.11.0", + "petgraph", + "proc-macro-crate 1.3.1", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ordered-float" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3305af35278dd29f46fcdd139e0b1fbfae2153f0e5928b39b035542dd31e37b7" +dependencies = [ + "num-traits", +] + +[[package]] +name = "overload" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" + [[package]] name = "pallet-alliance" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -5143,20 +5663,21 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core", - "sp-core-hashing", + "sp-crypto-hashing", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-asset-conversion" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", "sp-api", @@ -5164,13 +5685,32 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", +] + +[[package]] +name = "pallet-asset-conversion-ops" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "pallet-asset-conversion", + "parity-scale-codec", + "scale-info", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std 14.0.0", ] [[package]] name = "pallet-asset-conversion-tx-payment" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-support", "frame-system", @@ -5179,13 +5719,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-asset-rate" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -5194,13 +5734,13 @@ dependencies = [ "scale-info", "sp-core", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-asset-tx-payment" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -5212,13 +5752,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-assets" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "29.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -5228,13 +5768,13 @@ dependencies = [ "scale-info", "sp-core", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-authority-discovery" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-support", "frame-system", @@ -5244,13 +5784,13 @@ dependencies = [ "sp-application-crypto", "sp-authority-discovery", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-authorship" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-support", "frame-system", @@ -5258,13 +5798,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-babe" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -5282,13 +5822,13 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-bags-list" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "aquamarine", "docify", @@ -5303,15 +5843,16 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", + "sp-tracing 16.0.0", ] [[package]] name = "pallet-balances" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ + "docify", "frame-benchmarking", "frame-support", "frame-system", @@ -5319,13 +5860,58 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", +] + +[[package]] +name = "pallet-beefy" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "frame-support", + "frame-system", + "log", + "pallet-authorship", + "pallet-session", + "parity-scale-codec", + "scale-info", + "serde", + "sp-consensus-beefy", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-std 14.0.0", +] + +[[package]] +name = "pallet-beefy-mmr" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "array-bytes", + "binary-merkle-tree", + "frame-support", + "frame-system", + "log", + "pallet-beefy", + "pallet-mmr", + "pallet-session", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-consensus-beefy", + "sp-core", + "sp-io", + "sp-runtime", + "sp-state-machine", + "sp-std 14.0.0", ] [[package]] name = "pallet-bounties" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -5337,30 +5923,32 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-broker" -version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.6.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "bitvec", "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", + "sp-api", "sp-arithmetic", "sp-core", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-child-bounties" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -5373,13 +5961,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-collective" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -5390,13 +5978,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-contracts" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "bitflags 1.3.2", "environmental", @@ -5406,9 +5994,10 @@ dependencies = [ "impl-trait-for-tuples", "log", "pallet-balances", - "pallet-contracts-primitives", "pallet-contracts-proc-macro", + "pallet-contracts-uapi", "parity-scale-codec", + "paste", "rand 0.8.5", "scale-info", "serde", @@ -5417,40 +6006,39 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", "staging-xcm", "staging-xcm-builder", - "wasm-instrument 0.4.0", + "wasm-instrument", "wasmi", ] [[package]] -name = "pallet-contracts-primitives" -version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +name = "pallet-contracts-proc-macro" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "bitflags 1.3.2", - "parity-scale-codec", - "scale-info", - "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "sp-weights", + "proc-macro2", + "quote", + "syn 2.0.60", ] [[package]] -name = "pallet-contracts-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +name = "pallet-contracts-uapi" +version = "5.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.48", + "bitflags 1.3.2", + "parity-scale-codec", + "paste", + "polkavm-derive", + "scale-info", ] [[package]] name = "pallet-conviction-voting" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5461,31 +6049,32 @@ dependencies = [ "serde", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-core-fellowship" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "12.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "log", + "pallet-ranked-collective", "parity-scale-codec", "scale-info", "sp-arithmetic", "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-democracy" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -5497,13 +6086,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-election-provider-multi-phase" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5519,14 +6108,14 @@ dependencies = [ "sp-io", "sp-npos-elections", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "strum 0.24.1", + "sp-std 14.0.0", + "strum 0.26.2", ] [[package]] name = "pallet-election-provider-support-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5534,13 +6123,13 @@ dependencies = [ "parity-scale-codec", "sp-npos-elections", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-elections-phragmen" -version = "5.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -5553,34 +6142,29 @@ dependencies = [ "sp-npos-elections", "sp-runtime", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] -name = "pallet-fast-unstake" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +name = "pallet-example-mbm" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "docify", "frame-benchmarking", - "frame-election-provider-support", "frame-support", "frame-system", "log", + "pallet-migrations", "parity-scale-codec", "scale-info", "sp-io", - "sp-runtime", - "sp-staking", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", ] [[package]] -name = "pallet-glutton" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +name = "pallet-example-tasks" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "blake2 0.10.6", "frame-benchmarking", "frame-support", "frame-system", @@ -5590,13 +6174,50 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] -name = "pallet-grandpa" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +name = "pallet-fast-unstake" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "docify", + "frame-benchmarking", + "frame-election-provider-support", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std 14.0.0", +] + +[[package]] +name = "pallet-glutton" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "blake2 0.10.6", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std 14.0.0", +] + +[[package]] +name = "pallet-grandpa" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -5613,29 +6234,30 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-identity" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "enumflags2", "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-im-online" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -5649,13 +6271,13 @@ dependencies = [ "sp-io", "sp-runtime", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-indices" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -5666,13 +6288,13 @@ dependencies = [ "sp-io", "sp-keyring", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-insecure-randomness-collective-flip" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "16.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-support", "frame-system", @@ -5680,13 +6302,13 @@ dependencies = [ "safe-mix", "scale-info", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-lottery" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -5694,13 +6316,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-membership" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -5711,14 +6333,15 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-message-queue" -version = "7.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "31.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ + "environmental", "frame-benchmarking", "frame-support", "frame-system", @@ -5729,14 +6352,32 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", "sp-weights", ] +[[package]] +name = "pallet-migrations" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "docify", + "frame-benchmarking", + "frame-support", + "frame-system", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-runtime", + "sp-std 14.0.0", +] + [[package]] name = "pallet-mixnet" -version = "0.1.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.4.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -5750,13 +6391,13 @@ dependencies = [ "sp-io", "sp-mixnet", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-mmr" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -5768,13 +6409,13 @@ dependencies = [ "sp-io", "sp-mmr-primitives", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-multisig" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -5784,13 +6425,13 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-nft-fractionalization" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -5801,13 +6442,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-nfts" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "22.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5819,24 +6460,24 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-nfts-runtime-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "pallet-nfts", "parity-scale-codec", "sp-api", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-nis" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -5846,13 +6487,13 @@ dependencies = [ "sp-arithmetic", "sp-core", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-nomination-pools" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "25.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-support", "frame-system", @@ -5864,14 +6505,14 @@ dependencies = [ "sp-io", "sp-runtime", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", + "sp-tracing 16.0.0", ] [[package]] name = "pallet-nomination-pools-benchmarking" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5883,26 +6524,26 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-runtime-interface 24.0.0", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-nomination-pools-runtime-api" -version = "1.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", "sp-api", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-offences" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-support", "frame-system", @@ -5913,13 +6554,13 @@ dependencies = [ "serde", "sp-runtime", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-offences-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5937,13 +6578,31 @@ dependencies = [ "scale-info", "sp-runtime", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", +] + +[[package]] +name = "pallet-parameters" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "docify", + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "sp-core", + "sp-runtime", + "sp-std 14.0.0", ] [[package]] name = "pallet-preimage" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -5954,13 +6613,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-proxy" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -5969,17 +6628,18 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-ranked-collective" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "impl-trait-for-tuples", "log", "parity-scale-codec", "scale-info", @@ -5987,13 +6647,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-recovery" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -6002,13 +6662,13 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-referenda" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -6020,13 +6680,13 @@ dependencies = [ "sp-arithmetic", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-remark" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -6037,13 +6697,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-root-testing" -version = "1.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "4.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-support", "frame-system", @@ -6052,13 +6712,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-safe-mode" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "9.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "docify", "frame-benchmarking", @@ -6071,31 +6731,32 @@ dependencies = [ "scale-info", "sp-arithmetic", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-salary" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "log", + "pallet-ranked-collective", "parity-scale-codec", "scale-info", "sp-arithmetic", "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-scheduler" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "docify", "frame-benchmarking", @@ -6106,14 +6767,14 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", "sp-weights", ] [[package]] name = "pallet-session" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-support", "frame-system", @@ -6128,14 +6789,14 @@ dependencies = [ "sp-session", "sp-staking", "sp-state-machine", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", "sp-trie", ] [[package]] name = "pallet-session-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -6146,44 +6807,44 @@ dependencies = [ "rand 0.8.5", "sp-runtime", "sp-session", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-skip-feeless-payment" -version = "1.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "3.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-society" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "log", "parity-scale-codec", - "rand_chacha 0.2.2", + "rand_chacha 0.3.1", "scale-info", "sp-arithmetic", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-staking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6199,24 +6860,24 @@ dependencies = [ "sp-io", "sp-runtime", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-staking-reward-curve" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] name = "pallet-staking-runtime-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "parity-scale-codec", "sp-api", @@ -6225,8 +6886,8 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -6237,13 +6898,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-statement" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-support", "frame-system", @@ -6255,13 +6916,13 @@ dependencies = [ "sp-io", "sp-runtime", "sp-statement-store", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-sudo" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "docify", "frame-benchmarking", @@ -6271,13 +6932,13 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-timestamp" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "docify", "frame-benchmarking", @@ -6289,15 +6950,15 @@ dependencies = [ "sp-inherents", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", + "sp-storage 19.0.0", "sp-timestamp", ] [[package]] name = "pallet-tips" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -6310,13 +6971,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-transaction-payment" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-support", "frame-system", @@ -6326,13 +6987,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-transaction-payment-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "30.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -6347,8 +7008,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -6359,8 +7020,8 @@ dependencies = [ [[package]] name = "pallet-transaction-storage" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -6373,14 +7034,14 @@ dependencies = [ "sp-inherents", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", "sp-transaction-storage-proof", ] [[package]] name = "pallet-treasury" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "docify", "frame-benchmarking", @@ -6393,13 +7054,13 @@ dependencies = [ "serde", "sp-core", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-tx-pause" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "9.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "docify", "frame-benchmarking", @@ -6411,13 +7072,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-uniques" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -6426,13 +7087,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-utility" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -6442,13 +7103,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-vesting" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -6457,13 +7118,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "pallet-whitelist" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-benchmarking", "frame-support", @@ -6472,7 +7133,7 @@ dependencies = [ "scale-info", "sp-api", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] @@ -6481,6 +7142,19 @@ version = "1.5.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8fecab3723493c7851f292cb060f3ee1c42f19b8d749345d0d7eaf3fd19aa62d" +[[package]] +name = "parity-bip39" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e69bf016dc406eff7d53a7d3f7cf1c2e72c82b9088aac1118591e36dd2cd3e9" +dependencies = [ + "bitcoin_hashes", + "rand 0.8.5", + "rand_core 0.6.4", + "serde", + "unicode-normalization", +] + [[package]] name = "parity-db" version = "0.4.13" @@ -6494,7 +7168,7 @@ dependencies = [ "libc", "log", "lz4", - "memmap2", + "memmap2 0.5.10", "parking_lot 0.12.1", "rand 0.8.5", "siphasher", @@ -6504,11 +7178,11 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.6.9" +version = "3.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "881331e34fa842a2fb61cc2db9643a8fedc615e47cfcc52597d1af0db9a7e8fe" +checksum = "306800abfa29c7f16596b5970a588435e3d5b3149683d00c12b699cc19f895ee" dependencies = [ - "arrayvec 0.7.4", + "arrayvec", "bitvec", "byte-slice-cast", "bytes", @@ -6519,11 +7193,11 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "3.6.9" +version = "3.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be30eaf4b0a9fba5336683b38de57bb86d179a35862ba6bfcf57625d006bde5b" +checksum = "d830939c76d294956402033aee57a6da7b438f2294eb94864c37b0569053a42c" dependencies = [ - "proc-macro-crate 2.0.0", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", "syn 1.0.109", @@ -6601,6 +7275,17 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7924d1d0ad836f665c9065e26d016c673ece3993f30d340068b16f282afc1156" +[[package]] +name = "password-hash" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "346f04948ba92c43e8469c1ee6736c7563d71012b17d40745260fe106aac2166" +dependencies = [ + "base64ct", + "rand_core 0.6.4", + "subtle 2.5.0", +] + [[package]] name = "paste" version = "1.0.14" @@ -6609,11 +7294,12 @@ checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" [[package]] name = "pbkdf2" -version = "0.8.0" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d95f5254224e617595d2cc3cc73ff0a5eaf2637519e25f03388154e9378b6ffa" +checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" dependencies = [ - "crypto-mac 0.11.0", + "digest 0.10.7", + "password-hash", ] [[package]] @@ -6668,7 +7354,7 @@ dependencies = [ "pest_meta", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] @@ -6709,7 +7395,7 @@ checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] @@ -6754,20 +7440,158 @@ checksum = "626dec3cac7cc0e1577a2ec3fc496277ec2baa084bebad95bb6fdbfae235f84c" [[package]] name = "polkadot-core-primitives" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "parity-scale-codec", "scale-info", "sp-core", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", +] + +[[package]] +name = "polkadot-node-jaeger" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "lazy_static", + "log", + "mick-jaeger", + "parity-scale-codec", + "parking_lot 0.12.1", + "polkadot-node-primitives", + "polkadot-primitives", + "sc-network", + "sc-network-types", + "sp-core", + "thiserror", + "tokio", +] + +[[package]] +name = "polkadot-node-metrics" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "bs58 0.5.0", + "futures", + "futures-timer", + "log", + "parity-scale-codec", + "polkadot-primitives", + "prioritized-metered-channel", + "sc-cli", + "sc-service", + "sc-tracing", + "substrate-prometheus-endpoint", + "tracing-gum", +] + +[[package]] +name = "polkadot-node-network-protocol" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "async-channel", + "async-trait", + "bitvec", + "derive_more", + "fatality", + "futures", + "hex", + "parity-scale-codec", + "polkadot-node-jaeger", + "polkadot-node-primitives", + "polkadot-primitives", + "rand 0.8.5", + "sc-authority-discovery", + "sc-network", + "sc-network-types", + "sp-runtime", + "strum 0.26.2", + "thiserror", + "tracing-gum", +] + +[[package]] +name = "polkadot-node-primitives" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "bitvec", + "bounded-vec", + "futures", + "parity-scale-codec", + "polkadot-parachain-primitives", + "polkadot-primitives", + "schnorrkel", + "serde", + "sp-application-crypto", + "sp-consensus-babe", + "sp-core", + "sp-keystore", + "sp-maybe-compressed-blob", + "sp-runtime", + "thiserror", + "zstd 0.12.4", +] + +[[package]] +name = "polkadot-node-subsystem-types" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "async-trait", + "bitvec", + "derive_more", + "futures", + "orchestra", + "polkadot-node-jaeger", + "polkadot-node-network-protocol", + "polkadot-node-primitives", + "polkadot-primitives", + "polkadot-statement-table", + "sc-client-api", + "sc-network", + "sc-network-types", + "sc-transaction-pool-api", + "smallvec", + "sp-api", + "sp-authority-discovery", + "sp-blockchain", + "sp-consensus-babe", + "sp-runtime", + "substrate-prometheus-endpoint", + "thiserror", +] + +[[package]] +name = "polkadot-overseer" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "async-trait", + "futures", + "futures-timer", + "orchestra", + "parking_lot 0.12.1", + "polkadot-node-metrics", + "polkadot-node-network-protocol", + "polkadot-node-primitives", + "polkadot-node-subsystem-types", + "polkadot-primitives", + "sc-client-api", + "sp-api", + "sp-core", + "tikv-jemalloc-ctl", + "tracing-gum", ] [[package]] name = "polkadot-parachain-primitives" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "6.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "bounded-collections", "derive_more", @@ -6777,10 +7601,131 @@ dependencies = [ "serde", "sp-core", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", "sp-weights", ] +[[package]] +name = "polkadot-primitives" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "bitvec", + "hex-literal", + "log", + "parity-scale-codec", + "polkadot-core-primitives", + "polkadot-parachain-primitives", + "scale-info", + "serde", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", + "sp-authority-discovery", + "sp-consensus-slots", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-staking", + "sp-std 14.0.0", +] + +[[package]] +name = "polkadot-statement-table" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "parity-scale-codec", + "polkadot-primitives", + "sp-core", + "tracing-gum", +] + +[[package]] +name = "polkavm" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a3693e5efdb2bf74e449cd25fd777a28bd7ed87e41f5d5da75eb31b4de48b94" +dependencies = [ + "libc", + "log", + "polkavm-assembler", + "polkavm-common", + "polkavm-linux-raw", +] + +[[package]] +name = "polkavm-assembler" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fa96d6d868243acc12de813dd48e756cbadcc8e13964c70d272753266deadc1" +dependencies = [ + "log", +] + +[[package]] +name = "polkavm-common" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d9428a5cfcc85c5d7b9fc4b6a18c4b802d0173d768182a51cc7751640f08b92" +dependencies = [ + "log", +] + +[[package]] +name = "polkavm-derive" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae8c4bea6f3e11cd89bb18bcdddac10bd9a24015399bd1c485ad68a985a19606" +dependencies = [ + "polkavm-derive-impl-macro", +] + +[[package]] +name = "polkavm-derive-impl" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c4fdfc49717fb9a196e74a5d28e0bc764eb394a2c803eb11133a31ac996c60c" +dependencies = [ + "polkavm-common", + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "polkavm-derive-impl-macro" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429" +dependencies = [ + "polkavm-derive-impl", + "syn 2.0.60", +] + +[[package]] +name = "polkavm-linker" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c7be503e60cf56c0eb785f90aaba4b583b36bff00e93997d93fef97f9553c39" +dependencies = [ + "gimli 0.28.1", + "hashbrown 0.14.3", + "log", + "object 0.32.2", + "polkavm-common", + "regalloc2 0.9.3", + "rustc-demangle", +] + +[[package]] +name = "polkavm-linux-raw" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26e85d3456948e650dff0cfc85603915847faf893ed1e66b020bb82ef4557120" + [[package]] name = "polling" version = "3.3.2" @@ -6894,7 +7839,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a41cf62165e97c7f814d2221421dbb9afcbcdb0a88068e5ea206e19951c2cbb5" dependencies = [ "proc-macro2", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] @@ -6912,22 +7857,29 @@ dependencies = [ ] [[package]] -name = "proc-macro-crate" -version = "1.1.3" +name = "prioritized-metered-channel" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e17d47ce914bf4de440332250b0edd23ce48c005f59fab39d3335866b114f11a" +checksum = "a172e6cc603231f2cf004232eabcecccc0da53ba576ab286ef7baa0cfc7927ad" dependencies = [ + "coarsetime", + "crossbeam-queue", + "derive_more", + "futures", + "futures-timer", + "nanorand", "thiserror", - "toml 0.5.11", + "tracing", ] [[package]] name = "proc-macro-crate" -version = "2.0.0" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e8366a6159044a37876a2b9817124296703c586a5c92e2c53751fa06d8d43e8" +checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" dependencies = [ - "toml_edit 0.20.7", + "once_cell", + "toml_edit 0.19.15", ] [[package]] @@ -6971,14 +7923,14 @@ checksum = "834da187cfe638ae8abb0203f0b33e5ccdb02a28e7199f2f47b3e2754f50edca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] name = "proc-macro2" -version = "1.0.78" +version = "1.0.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" +checksum = "3d1597b0c024618f09a9c3b8655b7e430397a36d23fdafec26d6965e9eec3eba" dependencies = [ "unicode-ident", ] @@ -7017,7 +7969,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] @@ -7027,7 +7979,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd" dependencies = [ "bytes", - "prost-derive", + "prost-derive 0.11.9", +] + +[[package]] +name = "prost" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0f5d036824e4761737860779c906171497f6d55681139d8312388f8fe398922" +dependencies = [ + "bytes", + "prost-derive 0.12.4", ] [[package]] @@ -7037,21 +7999,42 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270" dependencies = [ "bytes", - "heck", + "heck 0.4.1", "itertools 0.10.5", "lazy_static", "log", "multimap", "petgraph", "prettyplease 0.1.25", - "prost", - "prost-types", + "prost 0.11.9", + "prost-types 0.11.9", "regex", "syn 1.0.109", "tempfile", "which", ] +[[package]] +name = "prost-build" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80b776a1b2dc779f5ee0641f8ade0125bc1298dd41a9a0c16d8bd57b42d222b1" +dependencies = [ + "bytes", + "heck 0.5.0", + "itertools 0.11.0", + "log", + "multimap", + "once_cell", + "petgraph", + "prettyplease 0.2.16", + "prost 0.12.4", + "prost-types 0.12.4", + "regex", + "syn 2.0.60", + "tempfile", +] + [[package]] name = "prost-derive" version = "0.11.9" @@ -7065,13 +8048,35 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "prost-derive" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19de2de2a00075bf566bee3bd4db014b11587e84184d3f7a791bc17f1a8e9e48" +dependencies = [ + "anyhow", + "itertools 0.11.0", + "proc-macro2", + "quote", + "syn 2.0.60", +] + [[package]] name = "prost-types" version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13" dependencies = [ - "prost", + "prost 0.11.9", +] + +[[package]] +name = "prost-types" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3235c33eb02c1f1e212abdbe34c78b264b038fb58ca612664343271e36e55ffe" +dependencies = [ + "prost 0.12.4", ] [[package]] @@ -7083,6 +8088,21 @@ dependencies = [ "cc", ] +[[package]] +name = "quanta" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e5167a477619228a0b284fac2674e3c388cba90631d7b7de620e6f1fcd08da5" +dependencies = [ + "crossbeam-utils", + "libc", + "once_cell", + "raw-cpuid", + "wasi 0.11.0+wasi-snapshot-preview1", + "web-sys", + "winapi", +] + [[package]] name = "quick-error" version = "1.2.3" @@ -7122,6 +8142,24 @@ 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.13", + "quinn-proto", + "quinn-udp", + "rustc-hash", + "rustls 0.20.9", + "thiserror", + "tokio", + "tracing", + "webpki", +] + [[package]] name = "quinn-proto" version = "0.9.6" @@ -7140,6 +8178,19 @@ dependencies = [ "webpki", ] +[[package]] +name = "quinn-udp" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "641538578b21f5e5c8ea733b736895576d0fe329bb883b937db6f4d163dbaaf4" +dependencies = [ + "libc", + "quinn-proto", + "socket2 0.4.10", + "tracing", + "windows-sys 0.42.0", +] + [[package]] name = "quote" version = "1.0.35" @@ -7245,6 +8296,15 @@ dependencies = [ "rand_core 0.6.4", ] +[[package]] +name = "raw-cpuid" +version = "11.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e29830cbb1290e404f24c73af91c5d8d631ce7e128691e9477556b540cd01ecd" +dependencies = [ + "bitflags 2.4.2", +] + [[package]] name = "rawpointer" version = "0.2.1" @@ -7329,7 +8389,7 @@ checksum = "5fddb4f8d99b0a2ebafc65a87a69a7b9875e4b1ae1f00db265d300ef7f28bccc" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] @@ -7344,6 +8404,19 @@ dependencies = [ "smallvec", ] +[[package]] +name = "regalloc2" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad156d539c879b7a24a363a2016d77961786e71f48f2e2fc8302a92abd2429a6" +dependencies = [ + "hashbrown 0.13.2", + "log", + "rustc-hash", + "slice-group-by", + "smallvec", +] + [[package]] name = "regex" version = "1.10.3" @@ -7411,7 +8484,7 @@ dependencies = [ [[package]] name = "ring" version = "0.1.0" -source = "git+https://github.com/burdges/ring-proof?branch=patch-1#05a756076cb20f981a52afea3a620168de49f95f" +source = "git+https://github.com/w3f/ring-proof#b273d33f9981e2bb3375ab45faeb537f7ee35224" dependencies = [ "ark-ec", "ark-ff", @@ -7421,7 +8494,7 @@ dependencies = [ "blake2 0.10.6", "common", "fflonk", - "merlin 3.0.0", + "merlin", ] [[package]] @@ -7453,6 +8526,15 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "ripemd" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd124222d17ad93a644ed9d011a40f4fb64aa54275c08cc216524a9ea82fb09f" +dependencies = [ + "digest 0.10.7", +] + [[package]] name = "rocksdb" version = "0.21.0" @@ -7463,6 +8545,12 @@ dependencies = [ "librocksdb-sys", ] +[[package]] +name = "route-recognizer" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afab94fb28594581f62d981211a9a4d53cc8130bbcbbb89a0440d9b8e81a7746" + [[package]] name = "rpassword" version = "7.3.1" @@ -7591,10 +8679,24 @@ checksum = "f9d5a6813c0759e4609cd494e8e725babae6a2ca7b62a5536a13daaec6fcb7ba" dependencies = [ "log", "ring 0.17.7", - "rustls-webpki", + "rustls-webpki 0.101.7", "sct", ] +[[package]] +name = "rustls" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432" +dependencies = [ + "log", + "ring 0.17.7", + "rustls-pki-types", + "rustls-webpki 0.102.3", + "subtle 2.5.0", + "zeroize", +] + [[package]] name = "rustls-native-certs" version = "0.6.3" @@ -7602,7 +8704,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" dependencies = [ "openssl-probe", - "rustls-pemfile", + "rustls-pemfile 1.0.4", + "schannel", + "security-framework", +] + +[[package]] +name = "rustls-native-certs" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f1fb85efa936c42c6d5fc28d2629bb51e4b2f4b8a5211e297d599cc5a093792" +dependencies = [ + "openssl-probe", + "rustls-pemfile 2.1.2", + "rustls-pki-types", "schannel", "security-framework", ] @@ -7616,6 +8731,22 @@ dependencies = [ "base64 0.21.7", ] +[[package]] +name = "rustls-pemfile" +version = "2.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29993a25686778eb88d4189742cd713c9bce943bc54251a33509dc63cbacf73d" +dependencies = [ + "base64 0.22.1", + "rustls-pki-types", +] + +[[package]] +name = "rustls-pki-types" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "beb461507cee2c2ff151784c52762cf4d9ff6a61f3e80968600ed24fa837fa54" + [[package]] name = "rustls-webpki" version = "0.101.7" @@ -7626,6 +8757,17 @@ dependencies = [ "untrusted 0.9.0", ] +[[package]] +name = "rustls-webpki" +version = "0.102.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3bce581c0dd41bce533ce695a1437fa16a7ab5ac3ccfa99fe1a620a7885eabf" +dependencies = [ + "ring 0.17.7", + "rustls-pki-types", + "untrusted 0.9.0", +] + [[package]] name = "rustversion" version = "1.0.14" @@ -7678,33 +8820,36 @@ dependencies = [ [[package]] name = "sc-allocator" -version = "4.1.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "log", "sp-core", - "sp-wasm-interface 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-wasm-interface 20.0.0", "thiserror", ] [[package]] name = "sc-authority-discovery" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "async-trait", "futures", "futures-timer", "ip_network", "libp2p", + "linked_hash_set", "log", - "multihash", + "multihash 0.17.0", + "multihash-codetable", "parity-scale-codec", - "prost", - "prost-build", + "prost 0.12.4", + "prost-build 0.12.4", "rand 0.8.5", "sc-client-api", "sc-network", + "sc-network-types", "sp-api", "sp-authority-discovery", "sp-blockchain", @@ -7717,8 +8862,8 @@ dependencies = [ [[package]] name = "sc-basic-authorship" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "futures", "futures-timer", @@ -7739,8 +8884,8 @@ dependencies = [ [[package]] name = "sc-block-builder" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "parity-scale-codec", "sp-api", @@ -7749,17 +8894,18 @@ dependencies = [ "sp-core", "sp-inherents", "sp-runtime", + "sp-trie", ] [[package]] name = "sc-chain-spec" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "array-bytes 6.2.2", + "array-bytes", "docify", "log", - "memmap2", + "memmap2 0.9.4", "parity-scale-codec", "sc-chain-spec-derive", "sc-client-api", @@ -7770,38 +8916,40 @@ dependencies = [ "serde_json", "sp-blockchain", "sp-core", + "sp-crypto-hashing", "sp-genesis-builder", "sp-io", "sp-runtime", "sp-state-machine", + "sp-tracing 16.0.0", ] [[package]] name = "sc-chain-spec-derive" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] name = "sc-cli" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.36.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "array-bytes 6.2.2", - "bip39", + "array-bytes", "chrono", "clap", "fdlimit", "futures", - "itertools 0.10.5", + "itertools 0.11.0", "libp2p-identity", "log", "names", + "parity-bip39", "parity-scale-codec", "rand 0.8.5", "regex", @@ -7830,8 +8978,8 @@ dependencies = [ [[package]] name = "sc-client-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "fnv", "futures", @@ -7846,19 +8994,19 @@ dependencies = [ "sp-consensus", "sp-core", "sp-database", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-externalities 0.25.0", "sp-runtime", "sp-state-machine", "sp-statement-store", - "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-storage 19.0.0", "sp-trie", "substrate-prometheus-endpoint", ] [[package]] name = "sc-client-db" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.35.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "hash-db", "kvdb", @@ -7883,17 +9031,17 @@ dependencies = [ [[package]] name = "sc-consensus" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "async-trait", "futures", "futures-timer", - "libp2p-identity", "log", "mockall", "parking_lot 0.12.1", "sc-client-api", + "sc-network-types", "sc-utils", "serde", "sp-api", @@ -7908,8 +9056,8 @@ dependencies = [ [[package]] name = "sc-consensus-babe" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "async-trait", "fork-tree", @@ -7934,6 +9082,7 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-slots", "sp-core", + "sp-crypto-hashing", "sp-inherents", "sp-keystore", "sp-runtime", @@ -7943,8 +9092,8 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "futures", "jsonrpsee", @@ -7963,10 +9112,65 @@ dependencies = [ "thiserror", ] +[[package]] +name = "sc-consensus-beefy" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "array-bytes", + "async-channel", + "async-trait", + "fnv", + "futures", + "log", + "parity-scale-codec", + "parking_lot 0.12.1", + "sc-client-api", + "sc-consensus", + "sc-network", + "sc-network-gossip", + "sc-network-sync", + "sc-network-types", + "sc-utils", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", + "sp-consensus-beefy", + "sp-core", + "sp-crypto-hashing", + "sp-keystore", + "sp-runtime", + "substrate-prometheus-endpoint", + "thiserror", + "tokio", + "wasm-timer", +] + +[[package]] +name = "sc-consensus-beefy-rpc" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "futures", + "jsonrpsee", + "log", + "parity-scale-codec", + "parking_lot 0.12.1", + "sc-consensus-beefy", + "sc-rpc", + "serde", + "sp-consensus-beefy", + "sp-core", + "sp-runtime", + "thiserror", +] + [[package]] name = "sc-consensus-epochs" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "fork-tree", "parity-scale-codec", @@ -7978,11 +9182,11 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.19.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "ahash 0.8.7", - "array-bytes 6.2.2", + "ahash", + "array-bytes", "async-trait", "dyn-clone", "finality-grandpa", @@ -8001,6 +9205,7 @@ dependencies = [ "sc-network-common", "sc-network-gossip", "sc-network-sync", + "sc-network-types", "sc-telemetry", "sc-transaction-pool-api", "sc-utils", @@ -8012,6 +9217,7 @@ dependencies = [ "sp-consensus", "sp-consensus-grandpa", "sp-core", + "sp-crypto-hashing", "sp-keystore", "sp-runtime", "substrate-prometheus-endpoint", @@ -8020,8 +9226,8 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.19.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "finality-grandpa", "futures", @@ -8040,8 +9246,8 @@ dependencies = [ [[package]] name = "sc-consensus-slots" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "async-trait", "futures", @@ -8063,42 +9269,55 @@ dependencies = [ [[package]] name = "sc-executor" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.32.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "sc-executor-common", + "sc-executor-polkavm", "sc-executor-wasmtime", "schnellru", "sp-api", "sp-core", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-externalities 0.25.0", "sp-io", "sp-panic-handler", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-runtime-interface 24.0.0", "sp-trie", "sp-version", - "sp-wasm-interface 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-wasm-interface 20.0.0", "tracing", ] [[package]] name = "sc-executor-common" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.29.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ + "polkavm", "sc-allocator", "sp-maybe-compressed-blob", - "sp-wasm-interface 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-wasm-interface 20.0.0", "thiserror", - "wasm-instrument 0.3.0", + "wasm-instrument", +] + +[[package]] +name = "sc-executor-polkavm" +version = "0.29.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "log", + "polkavm", + "sc-executor-common", + "sp-wasm-interface 20.0.0", ] [[package]] name = "sc-executor-wasmtime" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.29.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "anyhow", "cfg-if", @@ -8108,15 +9327,15 @@ dependencies = [ "rustix 0.36.17", "sc-allocator", "sc-executor-common", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "sp-wasm-interface 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-runtime-interface 24.0.0", + "sp-wasm-interface 20.0.0", "wasmtime", ] [[package]] name = "sc-informant" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "ansi_term", "futures", @@ -8132,10 +9351,10 @@ dependencies = [ [[package]] name = "sc-keystore" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "25.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "array-bytes 6.2.2", + "array-bytes", "parking_lot 0.12.1", "serde_json", "sp-application-crypto", @@ -8146,16 +9365,15 @@ dependencies = [ [[package]] name = "sc-mixnet" -version = "0.1.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.4.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "array-bytes 4.2.0", - "arrayvec 0.7.4", + "array-bytes", + "arrayvec", "blake2 0.10.6", "bytes", "futures", "futures-timer", - "libp2p-identity", "log", "mixnet", "multiaddr", @@ -8163,6 +9381,7 @@ dependencies = [ "parking_lot 0.12.1", "sc-client-api", "sc-network", + "sc-network-types", "sc-transaction-pool-api", "sp-api", "sp-consensus", @@ -8175,14 +9394,15 @@ dependencies = [ [[package]] name = "sc-network" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "array-bytes 6.2.2", + "array-bytes", "async-channel", "async-trait", "asynchronous-codec", "bytes", + "cid 0.9.0", "either", "fnv", "futures", @@ -8190,16 +9410,22 @@ dependencies = [ "ip_network", "libp2p", "linked_hash_set", + "litep2p", "log", "mockall", + "once_cell", "parity-scale-codec", "parking_lot 0.12.1", "partial_sort", "pin-project", + "prost 0.12.4", + "prost-build 0.12.4", "rand 0.8.5", "sc-client-api", "sc-network-common", + "sc-network-types", "sc-utils", + "schnellru", "serde", "serde_json", "smallvec", @@ -8212,42 +9438,24 @@ dependencies = [ "tokio", "tokio-stream", "unsigned-varint", + "void", "wasm-timer", "zeroize", ] -[[package]] -name = "sc-network-bitswap" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" -dependencies = [ - "async-channel", - "cid", - "futures", - "libp2p-identity", - "log", - "prost", - "prost-build", - "sc-client-api", - "sc-network", - "sp-blockchain", - "sp-runtime", - "thiserror", - "unsigned-varint", -] - [[package]] name = "sc-network-common" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "async-trait", "bitflags 1.3.2", "futures", "libp2p-identity", "parity-scale-codec", - "prost-build", + "prost-build 0.12.4", "sc-consensus", + "sc-network-types", "sp-consensus", "sp-consensus-grandpa", "sp-runtime", @@ -8255,10 +9463,10 @@ dependencies = [ [[package]] name = "sc-network-gossip" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "ahash 0.8.7", + "ahash", "futures", "futures-timer", "libp2p", @@ -8266,6 +9474,7 @@ dependencies = [ "sc-network", "sc-network-common", "sc-network-sync", + "sc-network-types", "schnellru", "sp-runtime", "substrate-prometheus-endpoint", @@ -8274,19 +9483,19 @@ dependencies = [ [[package]] name = "sc-network-light" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "array-bytes 6.2.2", + "array-bytes", "async-channel", "futures", - "libp2p-identity", "log", "parity-scale-codec", - "prost", - "prost-build", + "prost 0.12.4", + "prost-build 0.12.4", "sc-client-api", "sc-network", + "sc-network-types", "sp-blockchain", "sp-core", "sp-runtime", @@ -8295,10 +9504,10 @@ dependencies = [ [[package]] name = "sc-network-statement" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.16.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "array-bytes 6.2.2", + "array-bytes", "async-channel", "futures", "libp2p", @@ -8307,17 +9516,19 @@ dependencies = [ "sc-network", "sc-network-common", "sc-network-sync", + "sc-network-types", "sp-consensus", + "sp-runtime", "sp-statement-store", "substrate-prometheus-endpoint", ] [[package]] name = "sc-network-sync" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "array-bytes 6.2.2", + "array-bytes", "async-channel", "async-trait", "fork-tree", @@ -8327,12 +9538,13 @@ dependencies = [ "log", "mockall", "parity-scale-codec", - "prost", - "prost-build", + "prost 0.12.4", + "prost-build 0.12.4", "sc-client-api", "sc-consensus", "sc-network", "sc-network-common", + "sc-network-types", "sc-utils", "schnellru", "smallvec", @@ -8350,10 +9562,10 @@ dependencies = [ [[package]] name = "sc-network-transactions" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "array-bytes 6.2.2", + "array-bytes", "futures", "libp2p", "log", @@ -8361,18 +9573,33 @@ dependencies = [ "sc-network", "sc-network-common", "sc-network-sync", + "sc-network-types", "sc-utils", "sp-consensus", "sp-runtime", "substrate-prometheus-endpoint", ] +[[package]] +name = "sc-network-types" +version = "0.10.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "bs58 0.5.0", + "libp2p-identity", + "litep2p", + "multiaddr", + "multihash 0.17.0", + "rand 0.8.5", + "thiserror", +] + [[package]] name = "sc-offchain" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "array-bytes 6.2.2", + "array-bytes", "bytes", "fnv", "futures", @@ -8389,11 +9616,12 @@ dependencies = [ "sc-client-api", "sc-network", "sc-network-common", + "sc-network-types", "sc-transaction-pool-api", "sc-utils", "sp-api", "sp-core", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-externalities 0.25.0", "sp-keystore", "sp-offchain", "sp-runtime", @@ -8403,8 +9631,8 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.17.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8412,8 +9640,8 @@ dependencies = [ [[package]] name = "sc-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "futures", "jsonrpsee", @@ -8444,8 +9672,8 @@ dependencies = [ [[package]] name = "sc-rpc-api" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -8464,10 +9692,15 @@ dependencies = [ [[package]] name = "sc-rpc-server" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ + "forwarded-header-value", + "futures", + "governor", "http", + "hyper", + "ip_network", "jsonrpsee", "log", "serde_json", @@ -8479,10 +9712,10 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "array-bytes 6.2.2", + "array-bytes", "futures", "futures-util", "hex", @@ -8490,10 +9723,13 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", + "rand 0.8.5", "sc-chain-spec", "sc-client-api", + "sc-rpc", "sc-transaction-pool-api", "sc-utils", + "schnellru", "serde", "sp-api", "sp-blockchain", @@ -8508,8 +9744,8 @@ dependencies = [ [[package]] name = "sc-service" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.35.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "async-trait", "directories", @@ -8530,11 +9766,11 @@ dependencies = [ "sc-informant", "sc-keystore", "sc-network", - "sc-network-bitswap", "sc-network-common", "sc-network-light", "sc-network-sync", "sc-network-transactions", + "sc-network-types", "sc-rpc", "sc-rpc-server", "sc-rpc-spec-v2", @@ -8544,18 +9780,19 @@ dependencies = [ "sc-transaction-pool", "sc-transaction-pool-api", "sc-utils", + "schnellru", "serde", "serde_json", "sp-api", "sp-blockchain", "sp-consensus", "sp-core", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-externalities 0.25.0", "sp-keystore", "sp-runtime", "sp-session", "sp-state-machine", - "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-storage 19.0.0", "sp-transaction-pool", "sp-transaction-storage-proof", "sp-trie", @@ -8571,8 +9808,8 @@ dependencies = [ [[package]] name = "sc-state-db" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.30.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "log", "parity-scale-codec", @@ -8582,8 +9819,8 @@ dependencies = [ [[package]] name = "sc-statement-store" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "log", "parity-db", @@ -8601,13 +9838,12 @@ dependencies = [ [[package]] name = "sc-storage-monitor" -version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.16.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "clap", "fs4", "log", - "sc-client-db", "sp-core", "thiserror", "tokio", @@ -8615,8 +9851,8 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -8634,8 +9870,8 @@ dependencies = [ [[package]] name = "sc-sysinfo" -version = "6.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "derive_more", "futures", @@ -8648,14 +9884,15 @@ dependencies = [ "serde", "serde_json", "sp-core", + "sp-crypto-hashing", "sp-io", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "sc-telemetry" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "15.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "chrono", "futures", @@ -8664,6 +9901,7 @@ dependencies = [ "parking_lot 0.12.1", "pin-project", "rand 0.8.5", + "sc-network", "sc-utils", "serde", "serde_json", @@ -8673,12 +9911,12 @@ dependencies = [ [[package]] name = "sc-tracing" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "ansi_term", - "atty", "chrono", + "is-terminal", "lazy_static", "libc", "log", @@ -8694,28 +9932,28 @@ dependencies = [ "sp-core", "sp-rpc", "sp-runtime", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-tracing 16.0.0", "thiserror", "tracing", - "tracing-log", - "tracing-subscriber", + "tracing-log 0.2.0", + "tracing-subscriber 0.3.18", ] [[package]] name = "sc-tracing-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] name = "sc-transaction-pool" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "async-trait", "futures", @@ -8731,8 +9969,9 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-core", + "sp-crypto-hashing", "sp-runtime", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-tracing 16.0.0", "sp-transaction-pool", "substrate-prometheus-endpoint", "thiserror", @@ -8740,8 +9979,8 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "async-trait", "futures", @@ -8756,8 +9995,8 @@ dependencies = [ [[package]] name = "sc-utils" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "async-channel", "futures", @@ -8771,9 +10010,9 @@ dependencies = [ [[package]] name = "scale-info" -version = "2.10.0" +version = "2.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f7d66a1128282b7ef025a8ead62a4a9fcf017382ec53b8ffbf4d7bf77bd3c60" +checksum = "7c453e59a955f81fb62ee5d596b450383d699f152d350e9d23a0db2adb78e4c0" dependencies = [ "bitvec", "cfg-if", @@ -8785,11 +10024,11 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.10.0" +version = "2.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abf2c68b89cafb3b8d918dd07b42be0da66ff202cf1155c5739a4e0c1ea0dc19" +checksum = "18cf6c6447f813ef19eb450e985bcce6705f9ce7660db221b59093d15c79c4b7" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 1.0.109", @@ -8810,25 +10049,26 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" dependencies = [ - "ahash 0.8.7", + "ahash", "cfg-if", "hashbrown 0.13.2", ] [[package]] name = "schnorrkel" -version = "0.9.1" +version = "0.11.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "021b403afe70d81eea68f6ea12f6b3c9588e5d536a94c3bf80f15e7faa267862" +checksum = "8de18f6d8ba0aad7045f5feae07ec29899c1112584a38509a84ad7b04451eaa0" dependencies = [ + "aead", "arrayref", - "arrayvec 0.5.2", - "curve25519-dalek 2.1.3", - "getrandom 0.1.16", - "merlin 2.0.1", - "rand 0.7.3", - "rand_core 0.5.1", - "sha2 0.8.2", + "arrayvec", + "curve25519-dalek 4.1.1", + "getrandom_or_panic", + "merlin", + "rand_core 0.6.4", + "serde_bytes", + "sha2 0.10.8", "subtle 2.5.0", "zeroize", ] @@ -8855,6 +10095,21 @@ dependencies = [ "untrusted 0.9.0", ] +[[package]] +name = "sctp-proto" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f64cef148d3295c730c3cb340b0b252a4d570b1c7d4bf0808f88540b0a888bc" +dependencies = [ + "bytes", + "crc", + "fxhash", + "log", + "rand 0.8.5", + "slab", + "thiserror", +] + [[package]] name = "sec1" version = "0.7.3" @@ -8865,6 +10120,7 @@ dependencies = [ "der", "generic-array 0.14.7", "pkcs8", + "serdect", "subtle 2.5.0", "zeroize", ] @@ -8954,29 +10210,38 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.195" +version = "1.0.200" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63261df402c67811e9ac6def069e4786148c4563f4b50fd4bf30aa370d626b02" +checksum = "ddc6f9cc94d67c0e21aaf7eda3a010fd3af78ebf6e096aa6e2e13c79749cce4f" dependencies = [ "serde_derive", ] +[[package]] +name = "serde_bytes" +version = "0.11.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b8497c313fd43ab992087548117643f6fcd935cbf36f176ffda0aacf9591734" +dependencies = [ + "serde", +] + [[package]] name = "serde_derive" -version = "1.0.195" +version = "1.0.200" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46fe8f8603d81ba86327b23a2e9cdf49e1255fb94a4c5f297f6ee0547178ea2c" +checksum = "856f046b9400cee3c8c94ed572ecdb752444c24528c035cd35882aad6f492bcb" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] name = "serde_json" -version = "1.0.111" +version = "1.0.116" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "176e46fa42316f18edd598015a5166857fc835ec732f5215eac6b7bdbf0a84f4" +checksum = "3e17db7126d17feb94eb3fad46bf1a96b034e8aacbc2e775fe81505f8b0b2813" dependencies = [ "itoa", "ryu", @@ -8984,37 +10249,67 @@ dependencies = [ ] [[package]] -name = "serde_spanned" -version = "0.6.5" +name = "serde_spanned" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1" +dependencies = [ + "serde", +] + +[[package]] +name = "serdect" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a84f14a19e9a014bb9f4512488d9829a68e04ecabffb0f9904cd1ace94598177" +dependencies = [ + "base16ct", + "serde", +] + +[[package]] +name = "sha-1" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6" +dependencies = [ + "block-buffer 0.9.0", + "cfg-if", + "cpufeatures", + "digest 0.9.0", + "opaque-debug 0.3.0", +] + +[[package]] +name = "sha-1" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1" +checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" dependencies = [ - "serde", + "cfg-if", + "cpufeatures", + "digest 0.10.7", + "sha1-asm", ] [[package]] -name = "sha-1" -version = "0.9.8" +name = "sha1" +version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6" +checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" dependencies = [ - "block-buffer 0.9.0", "cfg-if", "cpufeatures", - "digest 0.9.0", - "opaque-debug 0.3.0", + "digest 0.10.7", ] [[package]] -name = "sha2" -version = "0.8.2" +name = "sha1-asm" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a256f46ea78a0c0d9ff00077504903ac881a1dafdc20da66545699e7776b3e69" +checksum = "2ba6947745e7f86be3b8af00b7355857085dbdf8901393c89514510eb61f4e21" dependencies = [ - "block-buffer 0.7.3", - "digest 0.8.1", - "fake-simd", - "opaque-debug 0.2.3", + "cc", ] [[package]] @@ -9075,6 +10370,12 @@ dependencies = [ "libc", ] +[[package]] +name = "signature" +version = "1.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" + [[package]] name = "signature" version = "2.2.0" @@ -9118,6 +10419,21 @@ dependencies = [ "similar", ] +[[package]] +name = "simple-dns" +version = "0.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cae9a3fcdadafb6d97f4c0e007e4247b114ee0f119f650c3cbf3a8b3a1479694" +dependencies = [ + "bitflags 2.4.2", +] + +[[package]] +name = "simple-mermaid" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "620a1d43d70e142b1d46a929af51d44f383db9c7a2ec122de2cd992ccfcf3c18" + [[package]] name = "siphasher" version = "0.3.11" @@ -9202,13 +10518,13 @@ dependencies = [ "httparse", "log", "rand 0.8.5", - "sha-1", + "sha-1 0.9.8", ] [[package]] name = "sp-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "hash-db", "log", @@ -9216,11 +10532,12 @@ dependencies = [ "scale-info", "sp-api-proc-macro", "sp-core", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-externalities 0.25.0", "sp-metadata-ir", "sp-runtime", + "sp-runtime-interface 24.0.0", "sp-state-machine", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", "sp-trie", "sp-version", "thiserror", @@ -9228,42 +10545,43 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "15.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "Inflector", "blake2 0.10.6", "expander", - "proc-macro-crate 1.1.3", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] name = "sp-application-crypto" -version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "30.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "parity-scale-codec", "scale-info", "serde", "sp-core", "sp-io", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", ] [[package]] name = "sp-arithmetic" -version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ + "docify", "integer-sqrt", "num-traits", "parity-scale-codec", "scale-info", "serde", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", "static_assertions", ] @@ -9287,32 +10605,30 @@ dependencies = [ [[package]] name = "sp-authority-discovery" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "parity-scale-codec", "scale-info", "sp-api", "sp-application-crypto", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", ] [[package]] name = "sp-block-builder" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "sp-api", "sp-inherents", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", ] [[package]] name = "sp-blockchain" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "futures", "log", @@ -9329,8 +10645,8 @@ dependencies = [ [[package]] name = "sp-consensus" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.32.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "async-trait", "futures", @@ -9344,8 +10660,8 @@ dependencies = [ [[package]] name = "sp-consensus-aura" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.32.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "async-trait", "parity-scale-codec", @@ -9355,14 +10671,13 @@ dependencies = [ "sp-consensus-slots", "sp-inherents", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", "sp-timestamp", ] [[package]] name = "sp-consensus-babe" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.32.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "async-trait", "parity-scale-codec", @@ -9374,14 +10689,33 @@ dependencies = [ "sp-core", "sp-inherents", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", "sp-timestamp", ] +[[package]] +name = "sp-consensus-beefy" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "lazy_static", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-crypto-hashing", + "sp-io", + "sp-keystore", + "sp-mmr-primitives", + "sp-runtime", + "strum 0.26.2", +] + [[package]] name = "sp-consensus-grandpa" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "finality-grandpa", "log", @@ -9393,29 +10727,26 @@ dependencies = [ "sp-core", "sp-keystore", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", ] [[package]] name = "sp-consensus-slots" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.32.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", "sp-timestamp", ] [[package]] name = "sp-core" -version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "array-bytes 6.2.2", + "array-bytes", "bandersnatch_vrfs", - "bip39", "bitflags 1.3.2", "blake2 0.10.6", "bounded-collections", @@ -9426,10 +10757,12 @@ dependencies = [ "hash-db", "hash256-std-hasher", "impl-serde", - "itertools 0.10.5", + "itertools 0.11.0", + "k256", "libsecp256k1", "log", - "merlin 2.0.1", + "merlin", + "parity-bip39", "parity-scale-codec", "parking_lot 0.12.1", "paste", @@ -9440,12 +10773,12 @@ dependencies = [ "secp256k1", "secrecy", "serde", - "sp-core-hashing", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-crypto-hashing", + "sp-debug-derive 14.0.0", + "sp-externalities 0.25.0", + "sp-runtime-interface 24.0.0", + "sp-std 14.0.0", + "sp-storage 19.0.0", "ss58-registry", "substrate-bip39", "thiserror", @@ -9454,29 +10787,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "sp-core-hashing" -version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" -dependencies = [ - "blake2b_simd", - "byteorder", - "digest 0.10.7", - "sha2 0.10.8", - "sha3", - "twox-hash", -] - -[[package]] -name = "sp-core-hashing-proc-macro" -version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" -dependencies = [ - "quote", - "sp-core-hashing", - "syn 2.0.48", -] - [[package]] name = "sp-crypto-ec-utils" version = "0.4.1" @@ -9493,15 +10803,38 @@ dependencies = [ "ark-ed-on-bls12-377-ext", "ark-ed-on-bls12-381-bandersnatch", "ark-ed-on-bls12-381-bandersnatch-ext", - "ark-scale 0.0.12", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/polkadot-sdk)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk)", + "ark-scale", + "sp-runtime-interface 17.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-crypto-hashing" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "blake2b_simd", + "byteorder", + "digest 0.10.7", + "sha2 0.10.8", + "sha3", + "twox-hash", +] + +[[package]] +name = "sp-crypto-hashing-proc-macro" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "quote", + "sp-crypto-hashing", + "syn 2.0.60", ] [[package]] name = "sp-database" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -9510,89 +10843,90 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +source = "git+https://github.com/paritytech/polkadot-sdk#d37a45650e112d3ddcc705ef5f642ba075b14e61" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] name = "sp-debug-derive" -version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#d37a45650e112d3ddcc705ef5f642ba075b14e61" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] name = "sp-externalities" version = "0.19.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +source = "git+https://github.com/paritytech/polkadot-sdk#d37a45650e112d3ddcc705ef5f642ba075b14e61" dependencies = [ "environmental", "parity-scale-codec", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 8.0.0", + "sp-storage 13.0.0", ] [[package]] name = "sp-externalities" -version = "0.19.0" -source = "git+https://github.com/paritytech/polkadot-sdk#d37a45650e112d3ddcc705ef5f642ba075b14e61" +version = "0.25.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "environmental", "parity-scale-codec", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk)", + "sp-storage 19.0.0", ] [[package]] name = "sp-genesis-builder" -version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.8.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ + "parity-scale-codec", + "scale-info", "serde_json", "sp-api", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", ] [[package]] name = "sp-inherents" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", "thiserror", ] [[package]] name = "sp-io" -version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "30.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "bytes", - "ed25519-dalek", + "ed25519-dalek 2.1.0", "libsecp256k1", "log", "parity-scale-codec", + "polkavm-derive", "rustversion", "secp256k1", "sp-core", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-crypto-hashing", + "sp-externalities 0.25.0", "sp-keystore", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-runtime-interface 24.0.0", "sp-state-machine", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", + "sp-tracing 16.0.0", "sp-trie", "tracing", "tracing-core", @@ -9600,31 +10934,29 @@ dependencies = [ [[package]] name = "sp-keyring" -version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "31.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "lazy_static", "sp-core", "sp-runtime", - "strum 0.24.1", + "strum 0.26.2", ] [[package]] name = "sp-keystore" -version = "0.27.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "sp-core", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "thiserror", + "sp-externalities 0.25.0", ] [[package]] name = "sp-maybe-compressed-blob" -version = "4.1.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "thiserror", "zstd 0.12.4", @@ -9632,31 +10964,29 @@ dependencies = [ [[package]] name = "sp-metadata-ir" -version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.6.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-metadata", "parity-scale-codec", "scale-info", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", ] [[package]] name = "sp-mixnet" -version = "0.1.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.4.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "parity-scale-codec", "scale-info", "sp-api", "sp-application-crypto", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", ] [[package]] name = "sp-mmr-primitives" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -9665,16 +10995,15 @@ dependencies = [ "serde", "sp-api", "sp-core", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-debug-derive 14.0.0", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", "thiserror", ] [[package]] name = "sp-npos-elections" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "parity-scale-codec", "scale-info", @@ -9682,13 +11011,12 @@ dependencies = [ "sp-arithmetic", "sp-core", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", ] [[package]] name = "sp-offchain" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "sp-api", "sp-core", @@ -9697,8 +11025,8 @@ dependencies = [ [[package]] name = "sp-panic-handler" -version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "backtrace", "lazy_static", @@ -9707,8 +11035,8 @@ dependencies = [ [[package]] name = "sp-rpc" -version = "6.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "rustc-hash", "serde", @@ -9717,91 +11045,96 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "31.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ + "docify", "either", "hash256-std-hasher", "impl-trait-for-tuples", "log", + "num-traits", "parity-scale-codec", "paste", "rand 0.8.5", "scale-info", "serde", + "simple-mermaid", "sp-application-crypto", "sp-arithmetic", "sp-core", "sp-io", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", "sp-weights", ] [[package]] name = "sp-runtime-interface" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +source = "git+https://github.com/paritytech/polkadot-sdk#d37a45650e112d3ddcc705ef5f642ba075b14e61" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", "primitive-types", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "sp-runtime-interface-proc-macro 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "sp-wasm-interface 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-externalities 0.19.0", + "sp-runtime-interface-proc-macro 11.0.0", + "sp-std 8.0.0", + "sp-storage 13.0.0", + "sp-tracing 10.0.0", + "sp-wasm-interface 14.0.0", "static_assertions", ] [[package]] name = "sp-runtime-interface" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#d37a45650e112d3ddcc705ef5f642ba075b14e61" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", + "polkavm-derive", "primitive-types", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk)", - "sp-runtime-interface-proc-macro 11.0.0 (git+https://github.com/paritytech/polkadot-sdk)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk)", - "sp-wasm-interface 14.0.0 (git+https://github.com/paritytech/polkadot-sdk)", + "sp-externalities 0.25.0", + "sp-runtime-interface-proc-macro 17.0.0", + "sp-std 14.0.0", + "sp-storage 19.0.0", + "sp-tracing 16.0.0", + "sp-wasm-interface 20.0.0", "static_assertions", ] [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +source = "git+https://github.com/paritytech/polkadot-sdk#d37a45650e112d3ddcc705ef5f642ba075b14e61" dependencies = [ "Inflector", - "proc-macro-crate 1.1.3", + "expander", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] name = "sp-runtime-interface-proc-macro" -version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#d37a45650e112d3ddcc705ef5f642ba075b14e61" +version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "Inflector", "expander", "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] name = "sp-session" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "parity-scale-codec", "scale-info", @@ -9810,13 +11143,12 @@ dependencies = [ "sp-keystore", "sp-runtime", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", ] [[package]] name = "sp-staking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9824,13 +11156,12 @@ dependencies = [ "serde", "sp-core", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", ] [[package]] name = "sp-state-machine" -version = "0.28.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.35.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "hash-db", "log", @@ -9839,9 +11170,8 @@ dependencies = [ "rand 0.8.5", "smallvec", "sp-core", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-externalities 0.25.0", "sp-panic-handler", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", "sp-trie", "thiserror", "tracing", @@ -9850,12 +11180,12 @@ dependencies = [ [[package]] name = "sp-statement-store" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "aes-gcm", "curve25519-dalek 4.1.1", - "ed25519-dalek", + "ed25519-dalek 2.1.0", "hkdf", "parity-scale-codec", "rand 0.8.5", @@ -9864,10 +11194,10 @@ dependencies = [ "sp-api", "sp-application-crypto", "sp-core", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-crypto-hashing", + "sp-externalities 0.25.0", "sp-runtime", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-runtime-interface 24.0.0", "thiserror", "x25519-dalek 2.0.0", ] @@ -9875,80 +11205,77 @@ dependencies = [ [[package]] name = "sp-std" version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +source = "git+https://github.com/paritytech/polkadot-sdk#d37a45650e112d3ddcc705ef5f642ba075b14e61" [[package]] name = "sp-std" -version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#d37a45650e112d3ddcc705ef5f642ba075b14e61" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" [[package]] name = "sp-storage" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +source = "git+https://github.com/paritytech/polkadot-sdk#d37a45650e112d3ddcc705ef5f642ba075b14e61" dependencies = [ "impl-serde", "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-debug-derive 8.0.0", + "sp-std 8.0.0", ] [[package]] name = "sp-storage" -version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#d37a45650e112d3ddcc705ef5f642ba075b14e61" +version = "19.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "impl-serde", "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk)", + "sp-debug-derive 14.0.0", ] [[package]] name = "sp-timestamp" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "async-trait", "parity-scale-codec", "sp-inherents", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", "thiserror", ] [[package]] name = "sp-tracing" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +source = "git+https://github.com/paritytech/polkadot-sdk#d37a45650e112d3ddcc705ef5f642ba075b14e61" dependencies = [ "parity-scale-codec", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 8.0.0", "tracing", "tracing-core", - "tracing-subscriber", + "tracing-subscriber 0.2.25", ] [[package]] name = "sp-tracing" -version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#d37a45650e112d3ddcc705ef5f642ba075b14e61" +version = "16.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "parity-scale-codec", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk)", "tracing", "tracing-core", - "tracing-subscriber", + "tracing-subscriber 0.3.18", ] [[package]] name = "sp-transaction-pool" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "sp-api", "sp-runtime", @@ -9956,8 +11283,8 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "async-trait", "parity-scale-codec", @@ -9965,18 +11292,16 @@ dependencies = [ "sp-core", "sp-inherents", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", "sp-trie", ] [[package]] name = "sp-trie" -version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "ahash 0.8.7", + "ahash", "hash-db", - "hashbrown 0.13.2", "lazy_static", "memory-db", "nohash-hasher", @@ -9986,7 +11311,7 @@ dependencies = [ "scale-info", "schnellru", "sp-core", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-externalities 0.25.0", "thiserror", "tracing", "trie-db", @@ -9995,71 +11320,69 @@ dependencies = [ [[package]] name = "sp-version" -version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "impl-serde", "parity-scale-codec", "parity-wasm", "scale-info", "serde", - "sp-core-hashing-proc-macro", + "sp-crypto-hashing-proc-macro", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", "sp-version-proc-macro", "thiserror", ] [[package]] name = "sp-version-proc-macro" -version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] name = "sp-wasm-interface" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +source = "git+https://github.com/paritytech/polkadot-sdk#d37a45650e112d3ddcc705ef5f642ba075b14e61" dependencies = [ "anyhow", "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 8.0.0", "wasmtime", ] [[package]] name = "sp-wasm-interface" -version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#d37a45650e112d3ddcc705ef5f642ba075b14e61" +version = "20.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "anyhow", "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk)", "wasmtime", ] [[package]] name = "sp-weights" -version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ + "bounded-collections", "parity-scale-codec", "scale-info", "serde", "smallvec", "sp-arithmetic", - "sp-core", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-debug-derive 14.0.0", ] [[package]] @@ -10085,6 +11408,15 @@ dependencies = [ "strum 0.24.1", ] +[[package]] +name = "spinning_top" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d96d2d1d716fb500937168cc09353ffdc7a012be8475ac7308e1bdf0e3923300" +dependencies = [ + "lock_api", +] + [[package]] name = "spki" version = "0.7.3" @@ -10119,11 +11451,12 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-node-cli" version = "3.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "array-bytes 6.2.2", + "array-bytes", "clap", "clap_complete", + "frame-benchmarking", "frame-benchmarking-cli", "frame-system", "frame-system-rpc-runtime-api", @@ -10131,6 +11464,7 @@ dependencies = [ "jsonrpsee", "kitchensink-runtime", "log", + "mmr-gadget", "node-primitives", "node-rpc", "pallet-asset-conversion-tx-payment", @@ -10148,6 +11482,7 @@ dependencies = [ "sc-client-api", "sc-consensus", "sc-consensus-babe", + "sc-consensus-beefy", "sc-consensus-grandpa", "sc-consensus-slots", "sc-executor", @@ -10172,47 +11507,28 @@ dependencies = [ "sp-authority-discovery", "sp-consensus", "sp-consensus-babe", + "sp-consensus-beefy", "sp-consensus-grandpa", "sp-core", + "sp-genesis-builder", "sp-inherents", "sp-io", "sp-keyring", "sp-keystore", "sp-mixnet", + "sp-mmr-primitives", "sp-runtime", "sp-statement-store", "sp-timestamp", "sp-transaction-storage-proof", - "staging-node-executor", "staging-node-inspect", "substrate-build-script-utils", - "substrate-frame-cli", - "try-runtime-cli 0.10.0-dev", -] - -[[package]] -name = "staging-node-executor" -version = "3.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" -dependencies = [ - "frame-benchmarking", - "kitchensink-runtime", - "node-primitives", - "parity-scale-codec", - "sc-executor", - "scale-info", - "sp-core", - "sp-keystore", - "sp-state-machine", - "sp-statement-store", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "sp-trie", ] [[package]] name = "staging-node-inspect" -version = "0.9.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.12.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "clap", "parity-scale-codec", @@ -10221,15 +11537,18 @@ dependencies = [ "sc-service", "sp-blockchain", "sp-core", + "sp-io", "sp-runtime", + "sp-statement-store", "thiserror", ] [[package]] name = "staging-xcm" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ + "array-bytes", "bounded-collections", "derivative", "environmental", @@ -10244,8 +11563,8 @@ dependencies = [ [[package]] name = "staging-xcm-builder" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-support", "frame-system", @@ -10258,7 +11577,7 @@ dependencies = [ "sp-arithmetic", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", "sp-weights", "staging-xcm", "staging-xcm-executor", @@ -10266,8 +11585,8 @@ dependencies = [ [[package]] name = "staging-xcm-executor" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "environmental", "frame-benchmarking", @@ -10280,7 +11599,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", "sp-weights", "staging-xcm", ] @@ -10319,11 +11638,44 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "str0m" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3f10d3f68e60168d81110410428a435dbde28cc5525f5f7c6fdec92dbdc2800" +dependencies = [ + "combine", + "crc", + "hmac 0.12.1", + "once_cell", + "openssl", + "openssl-sys", + "rand 0.8.5", + "sctp-proto", + "serde", + "sha-1 0.10.1", + "thiserror", + "tracing", +] + +[[package]] +name = "strobe-rs" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fabb238a1cccccfa4c4fb703670c0d157e1256c1ba695abf1b93bd2bb14bab2d" +dependencies = [ + "bitflags 1.3.2", + "byteorder", + "keccak", + "subtle 2.5.0", + "zeroize", +] + [[package]] name = "strsim" -version = "0.10.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "strum" @@ -10340,13 +11692,22 @@ version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" +[[package]] +name = "strum" +version = "0.26.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d8cec3501a5194c432b2b7976db6b7d10ec95c253208b45f83f7136aa985e29" +dependencies = [ + "strum_macros 0.26.2", +] + [[package]] name = "strum_macros" version = "0.24.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" dependencies = [ - "heck", + "heck 0.4.1", "proc-macro2", "quote", "rustversion", @@ -10359,66 +11720,65 @@ version = "0.25.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" dependencies = [ - "heck", + "heck 0.4.1", "proc-macro2", "quote", "rustversion", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] -name = "substrate-bip39" -version = "0.4.5" +name = "strum_macros" +version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e620c7098893ba667438b47169c00aacdd9e7c10e042250ce2b60b087ec97328" +checksum = "c6cf59daf282c0a494ba14fd21610a0325f9f90ec9d1231dea26bcb1d696c946" +dependencies = [ + "heck 0.4.1", + "proc-macro2", + "quote", + "rustversion", + "syn 2.0.60", +] + +[[package]] +name = "substrate-bip39" +version = "0.4.7" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "hmac 0.11.0", + "hmac 0.12.1", "pbkdf2", "schnorrkel", - "sha2 0.9.9", + "sha2 0.10.8", "zeroize", ] [[package]] name = "substrate-build-script-utils" -version = "3.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" [[package]] name = "substrate-cli-test-utils" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "assert_cmd", "futures", - "nix 0.26.4", + "nix 0.28.0", "node-primitives", "regex", "sc-cli", "sc-service", - "sp-rpc", - "staging-node-cli", - "substrate-rpc-client", - "tokio", -] - -[[package]] -name = "substrate-frame-cli" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" -dependencies = [ - "clap", - "frame-support", - "frame-system", - "sc-cli", - "sp-core", - "sp-runtime", + "sp-rpc", + "staging-node-cli", + "substrate-rpc-client", + "tokio", ] [[package]] name = "substrate-frame-rpc-system" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10436,8 +11796,8 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.17.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "hyper", "log", @@ -10448,8 +11808,8 @@ dependencies = [ [[package]] name = "substrate-rpc-client" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "async-trait", "jsonrpsee", @@ -10461,8 +11821,8 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -10478,18 +11838,19 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" -version = "5.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ - "ansi_term", "build-helper", "cargo_metadata", + "console", "filetime", "parity-wasm", + "polkavm-linker", "sp-maybe-compressed-blob", - "strum 0.24.1", + "strum 0.26.2", "tempfile", - "toml 0.7.8", + "toml 0.8.8", "walkdir", "wasm-opt", ] @@ -10519,9 +11880,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.48" +version = "2.0.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f" +checksum = "909518bc7b1c9b779f1bbf07f2929d35af9f0f37e47c6e9ef7f9dddc1e1821f3" dependencies = [ "proc-macro2", "quote", @@ -10628,7 +11989,7 @@ checksum = "fa0faa943b50f3db30a20aa7e265dbc66076993efed8463e8de414e5d06d3471" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] @@ -10656,6 +12017,30 @@ dependencies = [ "num_cpus", ] +[[package]] +name = "thrift" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b82ca8f46f95b3ce96081fe3dd89160fdea970c254bb72925255d1b62aae692e" +dependencies = [ + "byteorder", + "integer-encoding", + "log", + "ordered-float", + "threadpool", +] + +[[package]] +name = "tikv-jemalloc-ctl" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "619bfed27d807b54f7f776b9430d4f8060e66ee138a28632ca898584d462c31c" +dependencies = [ + "libc", + "paste", + "tikv-jemalloc-sys", +] + [[package]] name = "tikv-jemalloc-sys" version = "0.5.4+5.3.0-patched" @@ -10721,9 +12106,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.35.1" +version = "1.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c89b4efa943be685f629b149f53829423f8f5531ea21249408e8e2f8671ec104" +checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" dependencies = [ "backtrace", "bytes", @@ -10746,7 +12131,7 @@ checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] @@ -10770,6 +12155,17 @@ dependencies = [ "tokio", ] +[[package]] +name = "tokio-rustls" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "775e0c0f0adb3a2f22a00c4745d728b479985fc15ee7ca6a2608388c5569860f" +dependencies = [ + "rustls 0.22.4", + "rustls-pki-types", + "tokio", +] + [[package]] name = "tokio-stream" version = "0.1.14" @@ -10782,6 +12178,21 @@ 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" @@ -10806,18 +12217,6 @@ dependencies = [ "serde", ] -[[package]] -name = "toml" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd79e69d3b627db300ff956027cc6c3798cef26d22526befdfcd12feeb6d2257" -dependencies = [ - "serde", - "serde_spanned", - "toml_datetime", - "toml_edit 0.19.15", -] - [[package]] name = "toml" version = "0.8.8" @@ -10844,19 +12243,6 @@ name = "toml_edit" version = "0.19.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" -dependencies = [ - "indexmap 2.1.0", - "serde", - "serde_spanned", - "toml_datetime", - "winnow", -] - -[[package]] -name = "toml_edit" -version = "0.20.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70f427fce4d84c72b5b732388bf4a9f4531b53f74e2887e3ecb2481f68f66d81" dependencies = [ "indexmap 2.1.0", "toml_datetime", @@ -10882,6 +12268,10 @@ version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" dependencies = [ + "futures-core", + "futures-util", + "pin-project", + "pin-project-lite 0.2.13", "tower-layer", "tower-service", "tracing", @@ -10937,7 +12327,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] @@ -10960,6 +12350,29 @@ dependencies = [ "tracing", ] +[[package]] +name = "tracing-gum" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "coarsetime", + "polkadot-primitives", + "tracing", + "tracing-gum-proc-macro", +] + +[[package]] +name = "tracing-gum-proc-macro" +version = "5.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" +dependencies = [ + "expander", + "proc-macro-crate 3.1.0", + "proc-macro2", + "quote", + "syn 2.0.60", +] + [[package]] name = "tracing-log" version = "0.1.4" @@ -10971,6 +12384,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" @@ -10990,8 +12414,7 @@ dependencies = [ "ansi_term", "chrono", "lazy_static", - "matchers", - "parking_lot 0.11.2", + "matchers 0.0.1", "regex", "serde", "serde_json", @@ -11000,18 +12423,36 @@ 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.1", + "regex", + "sharded-slab", + "smallvec", + "thread_local", + "tracing", + "tracing-core", + "tracing-log 0.2.0", +] + [[package]] name = "trie-db" -version = "0.28.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff28e0f815c2fea41ebddf148e008b077d2faddb026c9555b29696114d602642" +checksum = "65ed83be775d85ebb0e272914fff6462c39b3ddd6dc67b5c1c41271aad280c69" dependencies = [ "hash-db", - "hashbrown 0.13.2", "log", "rustc-hex", "smallvec", @@ -11035,7 +12476,7 @@ dependencies = [ "async-trait", "cfg-if", "data-encoding", - "enum-as-inner", + "enum-as-inner 0.5.1", "futures-channel", "futures-io", "futures-util", @@ -11052,6 +12493,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.0", + "futures-channel", + "futures-io", + "futures-util", + "idna 0.4.0", + "ipnet", + "once_cell", + "rand 0.8.5", + "smallvec", + "thiserror", + "tinyvec", + "tokio", + "tracing", + "url", +] + [[package]] name = "trust-dns-resolver" version = "0.22.0" @@ -11069,7 +12535,28 @@ dependencies = [ "thiserror", "tokio", "tracing", - "trust-dns-proto", + "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.1", + "rand 0.8.5", + "resolv-conf", + "smallvec", + "thiserror", + "tokio", + "tracing", + "trust-dns-proto 0.23.2", ] [[package]] @@ -11080,73 +12567,42 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "try-runtime-cli" -version = "0.6.2" +version = "0.7.0" dependencies = [ "clap", "env_logger", "frame-support", - "node-primitives", "parity-scale-codec", + "sp-core", "sp-io", "sp-runtime", "sp-state-machine", - "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-storage 19.0.0", "tokio", "try-runtime-core", ] -[[package]] -name = "try-runtime-cli" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" -dependencies = [ - "async-trait", - "clap", - "frame-remote-externalities", - "frame-try-runtime", - "hex", - "log", - "parity-scale-codec", - "sc-cli", - "sc-executor", - "serde", - "serde_json", - "sp-api", - "sp-consensus-aura", - "sp-consensus-babe", - "sp-core", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-rpc", - "sp-runtime", - "sp-state-machine", - "sp-timestamp", - "sp-transaction-storage-proof", - "sp-version", - "sp-weights", - "substrate-rpc-client", - "zstd 0.12.4", -] - [[package]] name = "try-runtime-core" -version = "0.6.2" +version = "0.7.0" dependencies = [ + "array-bytes", "assert_cmd", "async-trait", "bytesize", "clap", + "cumulus-client-parachain-inherent", + "cumulus-primitives-core", + "cumulus-primitives-parachain-inherent", "frame-remote-externalities", + "frame-support", "frame-try-runtime", "hex", "itertools 0.11.0", "log", - "node-primitives", "paris", "parity-scale-codec", + "polkadot-primitives", "regex", "sc-cli", "sc-executor", @@ -11158,19 +12614,18 @@ dependencies = [ "sp-consensus-aura", "sp-consensus-babe", "sp-core", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-externalities 0.25.0", "sp-inherents", "sp-io", "sp-keystore", "sp-rpc", "sp-runtime", "sp-state-machine", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b)", + "sp-std 14.0.0", "sp-timestamp", "sp-transaction-storage-proof", "sp-version", "sp-weights", - "staging-node-executor", "strum 0.25.0", "strum_macros 0.25.3", "substrate-cli-test-utils", @@ -11186,6 +12641,26 @@ 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", + "httparse", + "log", + "rand 0.8.5", + "rustls 0.21.10", + "sha1", + "thiserror", + "url", + "utf-8", +] + [[package]] name = "twox-hash" version = "1.6.3" @@ -11281,6 +12756,7 @@ dependencies = [ "bytes", "futures-io", "futures-util", + "tokio-util", ] [[package]] @@ -11306,6 +12782,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" @@ -11400,6 +12882,15 @@ version = "0.11.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +[[package]] +name = "wasix" +version = "0.12.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1fbb4ef9bbca0c1170e0b00dd28abc9e3b68669821600cad1caaed606583c6d" +dependencies = [ + "wasi 0.11.0+wasi-snapshot-preview1", +] + [[package]] name = "wasm-bindgen" version = "0.2.90" @@ -11421,7 +12912,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", "wasm-bindgen-shared", ] @@ -11455,7 +12946,7 @@ checksum = "bae1abb6806dc1ad9e560ed242107c0f6c84335f1749dd4e8ddb012ebd5e25a7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -11466,15 +12957,6 @@ version = "0.2.90" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4d91413b1c31d7539ba5ef2451af3f0b833a005eb27a631cec32bc0635a8602b" -[[package]] -name = "wasm-instrument" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa1dafb3e60065305741e83db35c6c2584bb3725b692b5b66148a38d72ace6cd" -dependencies = [ - "parity-wasm", -] - [[package]] name = "wasm-instrument" version = "0.4.0" @@ -11762,7 +13244,7 @@ dependencies = [ "log", "mach", "memfd", - "memoffset 0.8.0", + "memoffset", "paste", "rand 0.8.5", "rustix 0.36.17", @@ -11813,12 +13295,6 @@ dependencies = [ "webpki", ] -[[package]] -name = "webpki-roots" -version = "0.25.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1778a42e8b3b90bff8d0f5032bf22250792889a5cdc752aa0020c84abe3aaf10" - [[package]] name = "which" version = "4.4.2" @@ -11906,6 +13382,21 @@ dependencies = [ "windows-targets 0.52.0", ] +[[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" @@ -12173,15 +13664,32 @@ dependencies = [ "time", ] +[[package]] +name = "x509-parser" +version = "0.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7069fba5b66b9193bd2c5d3d4ff12b839118f6bcbef5328efafafb5395cf63da" +dependencies = [ + "asn1-rs", + "data-encoding", + "der-parser", + "lazy_static", + "nom", + "oid-registry", + "rusticata-macros", + "thiserror", + "time", +] + [[package]] name = "xcm-procedural" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=1d5d4a484021ede73152bf71af37718fa38bb72b#1d5d4a484021ede73152bf71af37718fa38bb72b" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?rev=289f5bbf7a45dc0380904a435464b15ec711ed03#289f5bbf7a45dc0380904a435464b15ec711ed03" dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] @@ -12224,7 +13732,7 @@ checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] @@ -12244,7 +13752,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 0f5801da73c..4aef95df4da 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ resolver = "2" members = ["cli", "core"] [workspace.package] -version = "0.6.2" +version = "0.7.0" authors = ["Parity Technologies "] description = "Substrate's programmatic testing framework." edition = "2021" @@ -13,6 +13,7 @@ homepage = "https://github.com/paritytech/try-runtime-cli" repository = "https://github.com/paritytech/try-runtime-cli/" [workspace.dependencies] +array-bytes = { version = "6.2.2" } assert_cmd = { version = "2.0.10" } async-trait = { version = "0.1.57" } bytesize = { version = "1.2.0" } @@ -21,48 +22,50 @@ env_logger = { version = "0.10.0" } hex = { version = "0.4.3", default-features = false } itertools = { version = "0.11.0" } log = { version = "0.4.17" } -parity-scale-codec = { version = "3.6.1" } +parity-scale-codec = { version = "3.6.12" } regex = { version = "1.7.3" } serde = { version = "1.0.188" } serde_json = { version = "1.0.85" } strum = "0.25" strum_macros = "0.25" tempfile = { version = "3.1.0" } -tokio = { version = "1.27.0" } +tokio = { version = "1.37.0" } zstd = { version = "0.11.2", default-features = false } # Polkadot SDK -frame-remote-externalities = { git = "https://github.com/paritytech/polkadot-sdk", rev = "1d5d4a484021ede73152bf71af37718fa38bb72b" } -frame-try-runtime = { git = "https://github.com/paritytech/polkadot-sdk", rev = "1d5d4a484021ede73152bf71af37718fa38bb72b" } -frame-support = { git = "https://github.com/paritytech/polkadot-sdk", rev = "1d5d4a484021ede73152bf71af37718fa38bb72b" } +frame-remote-externalities = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } +frame-try-runtime = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } -sc-cli = { git = "https://github.com/paritytech/polkadot-sdk", rev = "1d5d4a484021ede73152bf71af37718fa38bb72b" } -sc-executor = { git = "https://github.com/paritytech/polkadot-sdk", rev = "1d5d4a484021ede73152bf71af37718fa38bb72b" } -sc-service = { git = "https://github.com/paritytech/polkadot-sdk", rev = "1d5d4a484021ede73152bf71af37718fa38bb72b" } +sc-cli = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } +sc-executor = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } +sc-service = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } -sp-api = { git = "https://github.com/paritytech/polkadot-sdk", rev = "1d5d4a484021ede73152bf71af37718fa38bb72b" } -sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", rev = "1d5d4a484021ede73152bf71af37718fa38bb72b" } -sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk", rev = "1d5d4a484021ede73152bf71af37718fa38bb72b" } -sp-core = { git = "https://github.com/paritytech/polkadot-sdk", rev = "1d5d4a484021ede73152bf71af37718fa38bb72b" } -sp-externalities = { git = "https://github.com/paritytech/polkadot-sdk", rev = "1d5d4a484021ede73152bf71af37718fa38bb72b" } -sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk", rev = "1d5d4a484021ede73152bf71af37718fa38bb72b" } -sp-io = { git = "https://github.com/paritytech/polkadot-sdk", rev = "1d5d4a484021ede73152bf71af37718fa38bb72b" } -sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk", rev = "1d5d4a484021ede73152bf71af37718fa38bb72b" } -sp-rpc = { git = "https://github.com/paritytech/polkadot-sdk", rev = "1d5d4a484021ede73152bf71af37718fa38bb72b" } -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", rev = "1d5d4a484021ede73152bf71af37718fa38bb72b" } -sp-state-machine = { git = "https://github.com/paritytech/polkadot-sdk", rev = "1d5d4a484021ede73152bf71af37718fa38bb72b" } -sp-storage = { git = "https://github.com/paritytech/polkadot-sdk", rev = "1d5d4a484021ede73152bf71af37718fa38bb72b" } -sp-std = { git = "https://github.com/paritytech/polkadot-sdk", rev = "1d5d4a484021ede73152bf71af37718fa38bb72b" } -sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", rev = "1d5d4a484021ede73152bf71af37718fa38bb72b" } -sp-transaction-storage-proof = { git = "https://github.com/paritytech/polkadot-sdk", rev = "1d5d4a484021ede73152bf71af37718fa38bb72b" } -sp-version = { git = "https://github.com/paritytech/polkadot-sdk", rev = "1d5d4a484021ede73152bf71af37718fa38bb72b" } -sp-weights = { git = "https://github.com/paritytech/polkadot-sdk", rev = "1d5d4a484021ede73152bf71af37718fa38bb72b" } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } +sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } +sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } +sp-externalities = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } +sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } +sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } +sp-rpc = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } +sp-state-machine = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } +sp-storage = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } +sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } +sp-transaction-storage-proof = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } +sp-version = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } +sp-weights = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } -substrate-cli-test-utils = { git = "https://github.com/paritytech/polkadot-sdk", rev = "1d5d4a484021ede73152bf71af37718fa38bb72b" } -substrate-rpc-client = { git = "https://github.com/paritytech/polkadot-sdk", rev = "1d5d4a484021ede73152bf71af37718fa38bb72b" } +substrate-cli-test-utils = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } +substrate-rpc-client = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } -node-executor = { package = "staging-node-executor", git = "https://github.com/paritytech/polkadot-sdk", rev = "1d5d4a484021ede73152bf71af37718fa38bb72b" } -node-primitives = { git = "https://github.com/paritytech/polkadot-sdk", rev = "1d5d4a484021ede73152bf71af37718fa38bb72b" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } +cumulus-primitives-core = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } +cumulus-client-parachain-inherent = { git = "https://github.com/paritytech/polkadot-sdk", rev = "289f5bbf7a45dc0380904a435464b15ec711ed03" } # Local try-runtime-core = { path = "core" } diff --git a/cli/Cargo.toml b/cli/Cargo.toml index e9c74d60a8c..9c90501d0d8 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -22,12 +22,11 @@ parity-scale-codec = { workspace = true, features = ["derive"] } tokio = { workspace = true, features = ["full"] } sp-io = { workspace = true } +sp-core = { workspace = true } sp-runtime = { workspace = true } sp-state-machine = { workspace = true } sp-storage = { workspace = true } -node-primitives = { workspace = true } - try-runtime-core = { workspace = true } frame-support = { workspace = true } diff --git a/cli/main.rs b/cli/main.rs index 1c01d272646..73c2f6d6e11 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -294,13 +294,17 @@ //! [`Action::CreateSnapshot`]: try_runtime_core::commands::Action::CreateSnapshot //! [`Action::FastForward`]: try_runtime_core::commands::Action::FastForward //! [`SharedParams`]: try_runtime_core::shared_parameters::SharedParams -//! [`SharedParams::runtime`]: try_runtime_core::shared_parameters::SharedParams::runtime -//! [`SharedParams::overwrite_state_version`]: try_runtime_core::shared_parameters::SharedParams::overwrite_state_version +//! [`SharedParams::runtime`]: try_runtime_core::common::shared_parameters::SharedParams::runtime +//! [`SharedParams::overwrite_state_version`]: try_runtime_core::common::shared_parameters::SharedParams::overwrite_state_version use std::env; use clap::Parser; -use node_primitives::Block; +use sp_runtime::{ + generic::{Block, Header}, + traits::BlakeTwo256, + OpaqueExtrinsic, +}; use try_runtime_core::commands::TryRuntime; fn init_env() { @@ -315,7 +319,7 @@ async fn main() { init_env(); let cmd = TryRuntime::parse(); - cmd.run::() + cmd.run::, OpaqueExtrinsic>, sp_io::SubstrateHostFunctions>() .await .unwrap(); } diff --git a/core/Cargo.toml b/core/Cargo.toml index 3b2fde14e9c..aff77b5cd4f 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -13,7 +13,10 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] # Crates.io +tokio = { workspace = true } async-trait = { workspace = true } +array-bytes = { workspace = true } +polkadot-primitives = { workspace = true } bytesize = { workspace = true, features = ["serde"] } clap = { workspace = true, features = ["derive"] } hex = { workspace = true } @@ -28,12 +31,11 @@ zstd = { workspace = true } frame-remote-externalities = { workspace = true } frame-try-runtime = { workspace = true, features=["try-runtime"] } +frame-support = { workspace = true } sc-cli = { workspace = true } sc-executor = { workspace = true } -node-primitives = { workspace = true } - sp-api = { workspace = true } sp-consensus-aura = { workspace = true } sp-consensus-babe = { workspace = true } @@ -51,6 +53,10 @@ sp-transaction-storage-proof = { workspace = true } sp-version = { workspace = true } sp-weights = { workspace = true } +cumulus-primitives-parachain-inherent = { workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-client-parachain-inherent = { workspace = true } + substrate-rpc-client = { workspace = true } paris = "1.5.15" similar-asserts = "1.5.0" @@ -59,8 +65,7 @@ similar-asserts = "1.5.0" assert_cmd = { workspace = true } regex = { workspace = true } tempfile = { workspace = true } -tokio = { workspace = true } -node-executor = { workspace = true } sc-service = { workspace = true } substrate-cli-test-utils = { workspace = true, features = ["try-runtime"] } + diff --git a/core/src/commands/create_snapshot.rs b/core/src/commands/create_snapshot.rs index 72956f1c3ca..c25d6a758a1 100644 --- a/core/src/commands/create_snapshot.rs +++ b/core/src/commands/create_snapshot.rs @@ -22,8 +22,10 @@ use sp_runtime::traits::{Block as BlockT, NumberFor}; use substrate_rpc_client::{ws_client, StateApi}; use crate::{ - build_executor, - state::{LiveState, RuntimeChecks, State}, + common::{ + shared_parameters, + state::{build_executor, LiveState, RuntimeChecks, State}, + }, SharedParams, LOG_TARGET, }; @@ -53,7 +55,7 @@ where HostFns: HostFunctions, { let snapshot_path = command.snapshot_path; - if !matches!(shared.runtime, crate::shared_parameters::Runtime::Existing) { + if !matches!(shared.runtime, shared_parameters::Runtime::Existing) { return Err("creating a snapshot is only possible with --runtime existing.".into()); } diff --git a/core/src/commands/execute_block.rs b/core/src/commands/execute_block.rs index 1c918424b91..058d861890b 100644 --- a/core/src/commands/execute_block.rs +++ b/core/src/commands/execute_block.rs @@ -26,9 +26,10 @@ use sp_runtime::{ use substrate_rpc_client::{ws_client, ChainApi}; use crate::{ - build_executor, full_extensions, rpc_err_handler, - state::{LiveState, RuntimeChecks, State}, - state_machine_call_with_proof, SharedParams, LOG_TARGET, + common::state::{ + build_executor, state_machine_call_with_proof, LiveState, RuntimeChecks, State, + }, + full_extensions, rpc_err_handler, SharedParams, LOG_TARGET, }; /// Configurations for [`run`]. @@ -58,7 +59,7 @@ pub struct Command { /// If `state` is `Live`, this can be ignored and the same uri is used for both. #[arg( long, - value_parser = crate::parse::url + value_parser = crate::common::parse::url )] pub block_ws_uri: Option, diff --git a/core/src/commands/fast_forward.rs b/core/src/commands/fast_forward.rs index 896471735bf..fc3e1f5294f 100644 --- a/core/src/commands/fast_forward.rs +++ b/core/src/commands/fast_forward.rs @@ -15,27 +15,22 @@ // See the License for the specific language governing permissions and // limitations under the License. -use std::{fmt::Debug, str::FromStr}; +use std::{fmt::Debug, str::FromStr, sync::Arc, time::Duration}; -use parity_scale_codec::{Decode, Encode}; +use parity_scale_codec::Encode; use sc_cli::Result; -use sc_executor::{sp_wasm_interface::HostFunctions, WasmExecutor}; +use sc_executor::sp_wasm_interface::HostFunctions; use serde::de::DeserializeOwned; use sp_core::H256; -use sp_inherents::InherentData; -use sp_runtime::{ - traits::{HashingFor, Header, NumberFor, One, Saturating}, - Digest, -}; -use sp_state_machine::TestExternalities; -use substrate_rpc_client::{ws_client, ChainApi}; +use sp_runtime::traits::NumberFor; +use tokio::sync::Mutex; use crate::{ - build_executor, full_extensions, - inherent_provider::{Chain, InherentProvider}, - rpc_err_handler, - state::{LiveState, RuntimeChecks, State}, - state_machine_call, state_machine_call_with_proof, BlockT, SharedParams, + common::{ + empty_block::{inherents::providers::ProviderVariant, production::mine_block}, + state::{build_executor, state_machine_call_with_proof, RuntimeChecks, State}, + }, + BlockT, SharedParams, }; /// Configuration for [`run`]. @@ -45,15 +40,9 @@ pub struct Command { #[arg(long)] pub n_blocks: u64, - /// Chain + /// The chain blocktime in milliseconds. #[arg(long)] - pub chain: Chain, - - /// The ws uri from which to fetch the block. - /// - /// If `state` is `Live`, this is ignored. Otherwise, it must not be empty. - #[arg(long, value_parser = crate::parse::url)] - pub block_ws_uri: Option, + pub blocktime: u64, /// Which try-state targets to execute when running this command. /// @@ -76,151 +65,6 @@ pub struct Command { pub state: State, } -impl Command { - fn block_ws_uri(&self) -> &str { - match self.state { - State::Live(LiveState { ref uri, .. }) => uri, - _ => self - .block_ws_uri - .as_ref() - .expect("Either `--block-uri` must be provided, or state must be `live`"), - } - } -} - -/// Read the block number corresponding to `hash` with an RPC call to `ws_uri`. -async fn get_block_number( - hash: Block::Hash, - ws_uri: &str, -) -> Result> -where - Block::Header: DeserializeOwned, -{ - let rpc = ws_client(ws_uri).await?; - Ok( - ChainApi::<(), Block::Hash, Block::Header, ()>::header(&rpc, Some(hash)) - .await - .map_err(rpc_err_handler) - .and_then(|maybe_header| maybe_header.ok_or("header_not_found").map(|h| *h.number()))?, - ) -} - -/// Call `method` with `data` and return the result. `externalities` will not change. -fn dry_call( - externalities: &TestExternalities>, - executor: &WasmExecutor, - method: &'static str, - data: &[u8], -) -> Result { - let (_, result) = state_machine_call::( - externalities, - executor, - method, - data, - full_extensions(executor.clone()), - )?; - - Ok(::decode(&mut &*result)?) -} - -/// Call `method` with `data` and actually save storage changes to `externalities`. -async fn call( - externalities: &mut TestExternalities>, - executor: &WasmExecutor, - method: &'static str, - data: &[u8], -) -> Result<()> { - let (mut changes, _) = state_machine_call::( - externalities, - executor, - method, - data, - full_extensions(executor.clone()), - )?; - - let storage_changes = - changes.drain_storage_changes(&externalities.backend, externalities.state_version)?; - - externalities.backend.apply_transaction( - storage_changes.transaction_storage_root, - storage_changes.transaction, - ); - - Ok(()) -} - -/// Produces next block containing only inherents. -async fn produce_next_block( - externalities: &mut TestExternalities>, - executor: &WasmExecutor, - parent_height: NumberFor, - parent_hash: Block::Hash, - inherent_provider: &dyn InherentProvider, - previous_block_building_info: Option<(InherentData, Digest)>, -) -> Result<(Block, Option<(InherentData, Digest)>)> { - let (inherent_data_provider, pre_digest) = - inherent_provider.get_inherent_providers_and_pre_digest(previous_block_building_info)?; - - let inherent_data = inherent_data_provider - .create_inherent_data() - .await - .map_err(|s| sc_cli::Error::Input(s.to_string()))?; - let digest = Digest { logs: pre_digest }; - - let header = Block::Header::new( - parent_height + One::one(), - Default::default(), - Default::default(), - parent_hash, - digest.clone(), - ); - - call::( - externalities, - executor, - "Core_initialize_block", - &header.encode(), - ) - .await?; - - let extrinsics = dry_call::, Block, _>( - externalities, - executor, - "BlockBuilder_inherent_extrinsics", - &inherent_data.encode(), - )?; - - for xt in &extrinsics { - call::( - externalities, - executor, - "BlockBuilder_apply_extrinsic", - &xt.encode(), - ) - .await?; - } - - let header = dry_call::( - externalities, - executor, - "BlockBuilder_finalize_block", - &[0u8; 0], - )?; - - call::( - externalities, - executor, - "BlockBuilder_finalize_block", - &[0u8; 0], - ) - .await?; - - Ok(( - Block::new(header, extrinsics), - Some((inherent_data, digest)), - )) -} - pub async fn run(shared: SharedParams, command: Command) -> Result<()> where Block: BlockT + DeserializeOwned, @@ -255,53 +99,25 @@ where } log::info!("Fast forwarding {} blocks...", command.n_blocks); - let mut last_block_hash = ext.block_hash; - let mut last_block_number = - get_block_number::(last_block_hash, command.block_ws_uri()).await?; - let mut prev_block_building_info = None; - let mut ext = ext.inner_ext; + let inner_ext = Arc::new(Mutex::new(ext.inner_ext)); + let mut parent_header = ext.header.clone(); + let mut parent_block_building_info = None; + let provider_variant = ProviderVariant::Smart(Duration::from_millis(command.blocktime)); for _ in 1..=command.n_blocks { - // We are saving state before we overwrite it while producing new block. - let backend = ext.as_backend(); - - log::info!( - "Producing new empty block at height {:?}", - last_block_number + One::one() - ); - - let (next_block, new_block_building_info) = produce_next_block::( - &mut ext, + let (next_block_building_info, next_header) = mine_block::( + inner_ext.clone(), &executor, - last_block_number, - last_block_hash, - &command.chain, - prev_block_building_info, - ) - .await?; - - log::info!("Produced a new block: {:?}", next_block.header()); - - // And now we restore previous state. - ext.backend = backend; - - let state_root_check = true; - let signature_check = true; - let payload = ( - next_block.clone(), - state_root_check, - signature_check, + parent_block_building_info, + parent_header.clone(), + provider_variant, command.try_state.clone(), ) - .encode(); - call::(&mut ext, &executor, "TryRuntime_execute_block", &payload).await?; - - log::info!("Executed the new block"); + .await?; - prev_block_building_info = new_block_building_info; - last_block_hash = next_block.hash(); - last_block_number.saturating_inc(); + parent_block_building_info = Some(next_block_building_info); + parent_header = next_header; } Ok(()) diff --git a/core/src/commands/follow_chain.rs b/core/src/commands/follow_chain.rs index 1381d67c9c9..90c38c17cd2 100644 --- a/core/src/commands/follow_chain.rs +++ b/core/src/commands/follow_chain.rs @@ -28,9 +28,11 @@ use sp_runtime::{ use substrate_rpc_client::{ws_client, ChainApi, FinalizedHeaders, Subscription, WsClient}; use crate::{ - build_executor, full_extensions, parse, rpc_err_handler, - state::{LiveState, RuntimeChecks, State}, - state_machine_call_with_proof, SharedParams, LOG_TARGET, + common::{ + parse, + state::{build_executor, state_machine_call_with_proof, LiveState, RuntimeChecks, State}, + }, + full_extensions, rpc_err_handler, SharedParams, LOG_TARGET, }; const SUB: &str = "chain_subscribeFinalizedHeads"; diff --git a/core/src/commands/mod.rs b/core/src/commands/mod.rs index 98853b98d88..f1522b324c8 100644 --- a/core/src/commands/mod.rs +++ b/core/src/commands/mod.rs @@ -24,7 +24,7 @@ use sp_runtime::{ DeserializeOwned, }; -use crate::shared_parameters::SharedParams; +use crate::common::shared_parameters::SharedParams; pub mod create_snapshot; pub mod execute_block; diff --git a/core/src/commands/offchain_worker.rs b/core/src/commands/offchain_worker.rs index 5b0ab78a579..7bfd9933973 100644 --- a/core/src/commands/offchain_worker.rs +++ b/core/src/commands/offchain_worker.rs @@ -23,9 +23,11 @@ use sp_runtime::traits::{Block as BlockT, NumberFor}; use substrate_rpc_client::{ws_client, ChainApi}; use crate::{ - build_executor, full_extensions, parse, rpc_err_handler, - state::{LiveState, RuntimeChecks, State}, - state_machine_call, SharedParams, LOG_TARGET, + common::{ + parse, + state::{build_executor, state_machine_call, LiveState, RuntimeChecks, State}, + }, + full_extensions, rpc_err_handler, SharedParams, LOG_TARGET, }; /// Configuration for [`run`]. diff --git a/core/src/commands/on_runtime_upgrade.rs b/core/src/commands/on_runtime_upgrade.rs index 50f17823936..84643ac9bde 100644 --- a/core/src/commands/on_runtime_upgrade.rs +++ b/core/src/commands/on_runtime_upgrade.rs @@ -27,9 +27,11 @@ use sp_runtime::traits::{Block as BlockT, HashingFor, NumberFor}; use sp_state_machine::{CompactProof, OverlayedChanges, StorageProof}; use crate::{ - build_executor, misc, - state::{RuntimeChecks, State}, - state_machine_call_with_proof, RefTimeInfo, SharedParams, LOG_TARGET, + common::{ + misc_logging, + state::{build_executor, state_machine_call_with_proof, RuntimeChecks, State}, + }, + RefTimeInfo, SharedParams, LOG_TARGET, }; /// Configuration for [`run`]. @@ -106,7 +108,7 @@ where } // Run `TryRuntime_on_runtime_upgrade` with the given checks. - misc::basti_log( + misc_logging::basti_log( Level::Info, format!( "🔬 Running TryRuntime_on_runtime_upgrade with checks: {:?}", @@ -114,6 +116,7 @@ where ) .as_str(), ); + // Save the overlayed changes from the first run, so we can use them later for idempotency // checks. let mut overlayed_changes = Default::default(); @@ -135,7 +138,7 @@ where let (proof, ref_time_results) = match command.checks { UpgradeCheckSelect::None => (proof, ref_time_results), _ => { - misc::basti_log( + misc_logging::basti_log( Level::Info, "🔬 TryRuntime_on_runtime_upgrade succeeded! Running it again without checks for weight measurements.", ); @@ -160,7 +163,7 @@ where true } false => { - misc::basti_log( + misc_logging::basti_log( Level::Info, format!( "🔬 Running TryRuntime_on_runtime_upgrade again to check idempotency: {:?}", @@ -244,7 +247,7 @@ where }; if !weight_ok || !idempotency_ok { - misc::basti_log( + misc_logging::basti_log( Level::Error, "❌ Issues detected, exiting non-zero. See logs.", ); diff --git a/core/src/common/empty_block/inherents/custom_idps/mod.rs b/core/src/common/empty_block/inherents/custom_idps/mod.rs new file mode 100644 index 00000000000..1d6d2f37ea2 --- /dev/null +++ b/core/src/common/empty_block/inherents/custom_idps/mod.rs @@ -0,0 +1,20 @@ +// This file is part of Substrate. + +// Copyright (C) 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. + +pub mod para_parachain; +pub mod relay_parachains; +pub mod timestamp; diff --git a/core/src/common/empty_block/inherents/custom_idps/para_parachain.rs b/core/src/common/empty_block/inherents/custom_idps/para_parachain.rs new file mode 100644 index 00000000000..8f4c7d1ff23 --- /dev/null +++ b/core/src/common/empty_block/inherents/custom_idps/para_parachain.rs @@ -0,0 +1,136 @@ +// This file is part of Substrate. + +// Copyright (C) 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. + +//! Inherent data provider for the [cumulus parachin inherents](https://github.com/paritytech/polkadot-sdk/blob/master/cumulus/primitives/parachain-inherent/src/lib.rs) +//! for empty block production on top of an existing externalities. + +use std::{ops::DerefMut, sync::Arc}; + +use parity_scale_codec::{Decode, Encode}; +use polkadot_primitives::{BlockNumber, HeadData}; +use sp_consensus_babe::SlotDuration; +use sp_core::twox_128; +use sp_inherents::InherentIdentifier; +use sp_runtime::traits::{Block as BlockT, HashingFor, NumberFor}; +use sp_state_machine::TestExternalities; +use tokio::sync::Mutex; + +/// Get the para id if it exists +pub fn get_para_id(ext: &mut TestExternalities>) -> Option { + let para_id_key = [twox_128(b"ParachainInfo"), twox_128(b"ParachainId")].concat(); + + ext.execute_with(|| sp_io::storage::get(¶_id_key)) + .and_then(|b| -> Option { Decode::decode(&mut &b[..]).ok() }) +} + +/// Get the last relay chain block number if it exists +pub fn get_last_relay_chain_block_number( + ext: &mut TestExternalities>, +) -> Option { + let last_relay_chain_block_number_key = [ + twox_128(b"ParachainSystem"), + twox_128(b"LastRelayChainBlockNumber"), + ] + .concat(); + + ext.execute_with(|| sp_io::storage::get(&last_relay_chain_block_number_key)) + .and_then(|b| -> Option> { Decode::decode(&mut &b[..]).ok() }) + .map(|n| match n.try_into() { + Ok(block_number) => block_number, + Err(_) => { + panic!("Failed to convert relay chain block number") + } + }) +} + +/// Provides parachain-system pallet inherents. +pub struct InherentDataProvider { + pub timestamp: sp_timestamp::Timestamp, + pub blocktime_millis: u64, + pub parent_header: B::Header, + pub ext_mutex: Arc>>>, +} + +#[async_trait::async_trait] +impl sp_inherents::InherentDataProvider for InherentDataProvider { + async fn provide_inherent_data( + &self, + inherent_data: &mut sp_inherents::InherentData, + ) -> Result<(), sp_inherents::Error> { + let mut ext_guard = self.ext_mutex.lock().await; + let ext = ext_guard.deref_mut(); + let maybe_last_relay_chain_block_number = get_last_relay_chain_block_number::(ext); + let maybe_para_id = get_para_id::(ext); + let (last_relay_chain_block_number, para_id) = + match (maybe_last_relay_chain_block_number, maybe_para_id) { + (Some(last_relay_chain_block_number), Some(para_id)) => { + (last_relay_chain_block_number, para_id) + } + _ => { + log::debug!("Unable to provide para parachains inherent for this chain."); + return Ok(()); + } + }; + + let relay_chain_slot = cumulus_primitives_core::relay_chain::Slot::from_timestamp( + self.timestamp, + SlotDuration::from_millis(self.blocktime_millis), + ) + .encode(); + + let additional_key_values: Vec<(Vec, Vec)> = vec![ + // Insert relay chain slot to pass Aura check + // https://github.com/paritytech/polkadot-sdk/blob/ef114a422291b44f8973739ab7858a29a523e6a2/cumulus/pallets/aura-ext/src/consensus_hook.rs#L69 + ( + cumulus_primitives_core::relay_chain::well_known_keys::CURRENT_SLOT.to_vec(), + relay_chain_slot, + ), + // Insert para header info to pass para inherent check + // https://github.com/paritytech/polkadot-sdk/blob/17b56fae2d976a3df87f34076875de8c26da0355/cumulus/pallets/parachain-system/src/lib.rs#L1296 + ( + cumulus_primitives_core::relay_chain::well_known_keys::para_head(para_id.into()), + HeadData(self.parent_header.encode()).encode(), + ), + ]; + + cumulus_client_parachain_inherent::MockValidationDataInherentDataProvider { + current_para_block: Default::default(), + current_para_block_head: Default::default(), + relay_offset: last_relay_chain_block_number + 1u32, + relay_blocks_per_para_block: Default::default(), + para_blocks_per_relay_epoch: Default::default(), + relay_randomness_config: (), + xcm_config: cumulus_client_parachain_inherent::MockXcmConfig::default(), + raw_downward_messages: Default::default(), + raw_horizontal_messages: Default::default(), + additional_key_values: Some(additional_key_values), + } + .provide_inherent_data(inherent_data) + .await + .expect("Failed to provide Para Parachain inherent data."); + + Ok(()) + } + + async fn try_handle_error( + &self, + _: &InherentIdentifier, + _: &[u8], + ) -> Option> { + None + } +} diff --git a/core/src/common/empty_block/inherents/custom_idps/relay_parachains.rs b/core/src/common/empty_block/inherents/custom_idps/relay_parachains.rs new file mode 100644 index 00000000000..1ef60607899 --- /dev/null +++ b/core/src/common/empty_block/inherents/custom_idps/relay_parachains.rs @@ -0,0 +1,62 @@ +// This file is part of Substrate. + +// Copyright (C) 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. + +//! Inherent data provider for the [polkadot parachins inherent](https://github.com/paritytech/polkadot-sdk/blob/master/polkadot/primitives/src/v7/mod.rs) +//! for empty block production on top of an existing externalities. + +use sp_inherents::InherentIdentifier; +use sp_runtime::traits::Block as BlockT; + +pub struct InherentDataProvider { + parent_header: B::Header, +} + +impl InherentDataProvider { + pub fn new(parent_header: B::Header) -> Self { + Self { parent_header } + } +} + +#[async_trait::async_trait] +impl sp_inherents::InherentDataProvider for InherentDataProvider { + async fn provide_inherent_data( + &self, + inherent_data: &mut sp_inherents::InherentData, + ) -> Result<(), sp_inherents::Error> { + let para_data = polkadot_primitives::InherentData { + bitfields: Vec::new(), + backed_candidates: Vec::new(), + disputes: Vec::new(), + parent_header: self.parent_header.clone(), + }; + + inherent_data.put_data( + polkadot_primitives::PARACHAINS_INHERENT_IDENTIFIER, + ¶_data, + )?; + + Ok(()) + } + + async fn try_handle_error( + &self, + _: &InherentIdentifier, + _: &[u8], + ) -> Option> { + None + } +} diff --git a/core/src/common/empty_block/inherents/custom_idps/timestamp.rs b/core/src/common/empty_block/inherents/custom_idps/timestamp.rs new file mode 100644 index 00000000000..e9274ed694a --- /dev/null +++ b/core/src/common/empty_block/inherents/custom_idps/timestamp.rs @@ -0,0 +1,83 @@ +// This file is part of Substrate. + +// Copyright (C) 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. + +//! Inherent data provider for the timestamp, for empty block production on top of an existing +//! externalities. + +use sp_inherents::{InherentData, InherentIdentifier}; +use sp_runtime::Digest; +use sp_timestamp::{Timestamp, TimestampInherentData}; + +pub struct InherentDataProvider { + pub blocktime_millis: u64, + pub maybe_parent_info: Option<(InherentData, Digest)>, +} + +impl InherentDataProvider { + pub fn timestamp(&self) -> Timestamp { + match &self.maybe_parent_info { + Some((prev_inherent_data, _)) => sp_timestamp::InherentDataProvider::new( + prev_inherent_data + .timestamp_inherent_data() + .unwrap() + .unwrap() + + self.blocktime_millis, + ) + .timestamp(), + None => sp_timestamp::InherentDataProvider::from_system_time().timestamp(), + } + } +} + +#[async_trait::async_trait] +impl sp_inherents::InherentDataProvider for InherentDataProvider { + async fn provide_inherent_data( + &self, + inherent_data: &mut sp_inherents::InherentData, + ) -> Result<(), sp_inherents::Error> { + match &self.maybe_parent_info { + Some((prev_inherent_data, _)) => { + let idp = sp_timestamp::InherentDataProvider::new( + prev_inherent_data + .timestamp_inherent_data() + .unwrap() + .unwrap() + + self.blocktime_millis, + ); + idp.provide_inherent_data(inherent_data) + .await + .expect("Failed to provide timestamp inherent"); + } + None => { + let idp = sp_timestamp::InherentDataProvider::from_system_time(); + idp.provide_inherent_data(inherent_data) + .await + .expect("Failed to provide timestamp inherent"); + } + }; + + Ok(()) + } + + async fn try_handle_error( + &self, + _: &InherentIdentifier, + _: &[u8], + ) -> Option> { + None + } +} diff --git a/core/src/common/empty_block/inherents/mod.rs b/core/src/common/empty_block/inherents/mod.rs new file mode 100644 index 00000000000..a6ed43d79b1 --- /dev/null +++ b/core/src/common/empty_block/inherents/mod.rs @@ -0,0 +1,20 @@ +// This file is part of Substrate. + +// Copyright (C) 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. + +pub mod custom_idps; +pub mod pre_apply; +pub mod providers; diff --git a/core/src/common/empty_block/inherents/pre_apply.rs b/core/src/common/empty_block/inherents/pre_apply.rs new file mode 100644 index 00000000000..ff8bf3f0e86 --- /dev/null +++ b/core/src/common/empty_block/inherents/pre_apply.rs @@ -0,0 +1,36 @@ +// This file is part of Substrate. + +// Copyright (C) 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. + +use cumulus_primitives_parachain_inherent::MessageQueueChain; +use parity_scale_codec::Encode; +use sp_core::{twox_128, H256}; +use sp_runtime::traits::{Block as BlockT, HashingFor}; +use sp_state_machine::TestExternalities; + +/// Some operations must be performed prior to inherents being applied. +/// +/// This fn sets the last dmq mcq head value to zero to pass [this check](https://github.com/paritytech/polkadot-sdk/blob/ef114a422291b44f8973739ab7858a29a523e6a2/cumulus/pallets/parachain-system/src/lib.rs#L1162) +/// +/// It must be called prior to attempting to apply inherents. +pub fn pre_apply_inherents(ext: &mut TestExternalities>) { + let last_dmq_mqc_head_key = + [twox_128(b"ParachainSystem"), twox_128(b"LastDmqMqcHead")].concat(); + ext.insert( + last_dmq_mqc_head_key.to_vec(), + MessageQueueChain::new(H256::zero()).encode(), + ); +} diff --git a/core/src/common/empty_block/inherents/providers.rs b/core/src/common/empty_block/inherents/providers.rs new file mode 100644 index 00000000000..250cd494c37 --- /dev/null +++ b/core/src/common/empty_block/inherents/providers.rs @@ -0,0 +1,145 @@ +// This file is part of Substrate. + +// Copyright (C) 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. + +//! Contains providers for inherents required for empty block production. + +use std::{sync::Arc, time::Duration}; + +use parity_scale_codec::Encode; +use sp_consensus_aura::{Slot, SlotDuration, AURA_ENGINE_ID}; +use sp_consensus_babe::{ + digests::{PreDigest, SecondaryPlainPreDigest}, + BABE_ENGINE_ID, +}; +use sp_inherents::InherentData; +use sp_runtime::{ + traits::{Block as BlockT, HashingFor}, + Digest, DigestItem, +}; +use sp_state_machine::TestExternalities; +use sp_std::prelude::*; +use strum_macros::{Display, EnumIter}; +use tokio::sync::Mutex; + +use crate::common::empty_block::inherents::custom_idps; + +const RELAYCHAIN_BLOCKTIME_MS: u64 = 6000u64; + +/// Trait for providing the inherent data and digest items for block construction. +pub trait InherentProvider { + type Err; + + fn get_inherent_providers_and_pre_digest( + &self, + maybe_parent_info: Option<(InherentData, Digest)>, + parent_header: B::Header, + ext: Arc>>>, + ) -> InherentProviderResult; +} + +// Clippy asks that we abstract the return type because it's so long +type InherentProviderResult = + Result<(Box, Vec), Err>; + +/// Classes of [`InherentProvider`] avaliable. +/// +/// Currently only Smart is implemented. New implementations may be added if Smart is not suitable +/// for some edge cases. +#[derive(Debug, Clone, EnumIter, Display, Copy)] +pub enum ProviderVariant { + /// Smart chain varient will automatically adjust provided inherents based on the given + /// externalities. + /// + /// The blocktime is provided in milliseconds. + Smart(core::time::Duration), +} + +impl InherentProvider for ProviderVariant { + type Err = String; + + fn get_inherent_providers_and_pre_digest( + &self, + maybe_parent_info: Option<(InherentData, Digest)>, + parent_header: B::Header, + ext: Arc>>>, + ) -> InherentProviderResult { + match *self { + ProviderVariant::Smart(blocktime) => { + >::get_inherent_providers_and_pre_digest(&SmartInherentProvider { + blocktime, + }, maybe_parent_info, parent_header, ext) + } + } + } +} + +/// Attempts to provide inherents in a fashion that works for as many chains as possible. +/// +/// It is currently tested for +/// - Polkadot-based relay chains +/// - Polkadot-ecosystem system parachains +/// +/// If it does not work for your Substrate-based chain, [please open an issue](https://github.com/paritytech/try-runtime-cli/issues) +/// and we will look into supporting it. +struct SmartInherentProvider { + blocktime: Duration, +} + +impl InherentProvider for SmartInherentProvider { + type Err = String; + + fn get_inherent_providers_and_pre_digest( + &self, + maybe_parent_info: Option<(InherentData, Digest)>, + parent_header: B::Header, + ext: Arc>>>, + ) -> InherentProviderResult { + let timestamp_idp = custom_idps::timestamp::InherentDataProvider { + blocktime_millis: self.blocktime.as_millis() as u64, + maybe_parent_info, + }; + let para_parachain_idp = custom_idps::para_parachain::InherentDataProvider:: { + blocktime_millis: RELAYCHAIN_BLOCKTIME_MS, + parent_header: parent_header.clone(), + timestamp: timestamp_idp.timestamp(), + ext_mutex: ext, + }; + let relay_parachain_data_idp = + custom_idps::relay_parachains::InherentDataProvider::::new(parent_header); + + let slot = Slot::from_timestamp( + timestamp_idp.timestamp(), + SlotDuration::from_millis(self.blocktime.as_millis() as u64), + ); + let digest = vec![ + DigestItem::PreRuntime( + BABE_ENGINE_ID, + PreDigest::SecondaryPlain(SecondaryPlainPreDigest { + slot, + authority_index: 0, + }) + .encode(), + ), + DigestItem::PreRuntime(AURA_ENGINE_ID, slot.encode()), + ]; + + Ok(( + Box::new((timestamp_idp, para_parachain_idp, relay_parachain_data_idp)), + digest, + )) + } +} diff --git a/core/src/common/empty_block/mod.rs b/core/src/common/empty_block/mod.rs new file mode 100644 index 00000000000..70ad1585373 --- /dev/null +++ b/core/src/common/empty_block/mod.rs @@ -0,0 +1,2 @@ +pub mod inherents; +pub mod production; diff --git a/core/src/common/empty_block/production.rs b/core/src/common/empty_block/production.rs new file mode 100644 index 00000000000..cfd4f75247c --- /dev/null +++ b/core/src/common/empty_block/production.rs @@ -0,0 +1,198 @@ +use std::{ops::DerefMut, str::FromStr, sync::Arc}; + +use parity_scale_codec::{Decode, Encode}; +use sc_cli::Result; +use sc_executor::{HostFunctions, WasmExecutor}; +use sp_core::H256; +use sp_inherents::InherentData; +use sp_runtime::{ + traits::{Block as BlockT, HashingFor, Header, NumberFor, One}, + DeserializeOwned, Digest, +}; +use sp_state_machine::TestExternalities; +use sp_std::fmt::Debug; +use tokio::sync::Mutex; + +use super::inherents::{pre_apply::pre_apply_inherents, providers::InherentProvider}; +use crate::{ + common::{empty_block::inherents::providers::ProviderVariant, state::state_machine_call}, + full_extensions, +}; + +pub async fn mine_block( + ext_mutex: Arc>>>, + executor: &WasmExecutor, + previous_block_building_info: Option<(InherentData, Digest)>, + parent_header: Block::Header, + provider_variant: ProviderVariant, + try_state: frame_try_runtime::TryStateSelect, +) -> Result<((InherentData, Digest), Block::Header)> +where + Block: BlockT + DeserializeOwned, + Block::Header: DeserializeOwned, + ::Err: Debug, + NumberFor: FromStr, + as FromStr>::Err: Debug, +{ + // We are saving state before we overwrite it while producing new block. + let mut ext_guard = ext_mutex.lock().await; + let ext = ext_guard.deref_mut(); + let backend = ext.as_backend(); + drop(ext_guard); + + log::info!( + "Producing new empty block at height {:?}", + *parent_header.number() + One::one() + ); + + let (next_block, new_block_building_info) = produce_next_block::( + ext_mutex.clone(), + executor, + parent_header.clone(), + provider_variant, + previous_block_building_info, + ) + .await?; + + log::info!( + "Produced a new block ({})", + array_bytes::bytes2hex("0x", next_block.header().hash()) + ); + + let mut ext_guard = ext_mutex.lock().await; + let ext = ext_guard.deref_mut(); + + // And now we restore previous state. + ext.backend = backend; + + pre_apply_inherents::(ext); + let state_root_check = true; + let signature_check = true; + let payload = ( + next_block.clone(), + state_root_check, + signature_check, + try_state, + ) + .encode(); + call::(ext, executor, "TryRuntime_execute_block", &payload).await?; + + log::info!("Executed the new block"); + + Ok((new_block_building_info, next_block.header().clone())) +} + +/// Produces next block containing only inherents. +pub async fn produce_next_block( + ext_mutex: Arc>>>, + executor: &WasmExecutor, + parent_header: Block::Header, + chain: ProviderVariant, + previous_block_building_info: Option<(InherentData, Digest)>, +) -> Result<(Block, (InherentData, Digest))> +where + Block: BlockT + DeserializeOwned, + Block::Header: DeserializeOwned, + ::Err: Debug, + NumberFor: FromStr, + as FromStr>::Err: Debug, +{ + let (inherent_data_provider, pre_digest) = + >::get_inherent_providers_and_pre_digest( + &chain, + previous_block_building_info, + parent_header.clone(), + ext_mutex.clone(), + )?; + + let mut ext_guard = ext_mutex.lock().await; + let ext = ext_guard.deref_mut(); + + pre_apply_inherents::(ext); + drop(ext_guard); + let inherent_data = inherent_data_provider + .create_inherent_data() + .await + .map_err(|s| sc_cli::Error::Input(s.to_string()))?; + let digest = Digest { logs: pre_digest }; + + let header = Block::Header::new( + *parent_header.number() + One::one(), + Default::default(), + Default::default(), + parent_header.hash(), + digest.clone(), + ); + + let mut ext_guard = ext_mutex.lock().await; + let ext = ext_guard.deref_mut(); + call::(ext, executor, "Core_initialize_block", &header.encode()).await?; + + let extrinsics = dry_call::, Block, _>( + ext, + executor, + "BlockBuilder_inherent_extrinsics", + &inherent_data.encode(), + )?; + + for xt in &extrinsics { + call::(ext, executor, "BlockBuilder_apply_extrinsic", &xt.encode()).await?; + } + + let header = dry_call::( + ext, + executor, + "BlockBuilder_finalize_block", + &[0u8; 0], + )?; + + call::(ext, executor, "BlockBuilder_finalize_block", &[0u8; 0]).await?; + + drop(ext_guard); + + Ok((Block::new(header, extrinsics), (inherent_data, digest))) +} + +/// Call `method` with `data` and actually save storage changes to `externalities`. +async fn call( + externalities: &mut TestExternalities>, + executor: &WasmExecutor, + method: &'static str, + data: &[u8], +) -> Result<()> { + let (mut changes, _) = state_machine_call::( + externalities, + executor, + method, + data, + full_extensions(executor.clone()), + )?; + + let storage_changes = + changes.drain_storage_changes(&externalities.backend, externalities.state_version)?; + + externalities.backend.apply_transaction( + storage_changes.transaction_storage_root, + storage_changes.transaction, + ); + + Ok(()) +} + +/// Call `method` with `data` and return the result. `externalities` will not change. +fn dry_call( + externalities: &TestExternalities>, + executor: &WasmExecutor, + method: &'static str, + data: &[u8], +) -> Result { + let (_, result) = state_machine_call::( + externalities, + executor, + method, + data, + full_extensions(executor.clone()), + )?; + + Ok(::decode(&mut &*result)?) +} diff --git a/core/src/misc.rs b/core/src/common/misc_logging.rs similarity index 100% rename from core/src/misc.rs rename to core/src/common/misc_logging.rs diff --git a/core/src/common/mod.rs b/core/src/common/mod.rs new file mode 100644 index 00000000000..98bea196aeb --- /dev/null +++ b/core/src/common/mod.rs @@ -0,0 +1,5 @@ +pub mod empty_block; +pub mod misc_logging; +pub mod parse; +pub mod shared_parameters; +pub mod state; diff --git a/core/src/parse.rs b/core/src/common/parse.rs similarity index 100% rename from core/src/parse.rs rename to core/src/common/parse.rs diff --git a/core/src/shared_parameters.rs b/core/src/common/shared_parameters.rs similarity index 99% rename from core/src/shared_parameters.rs rename to core/src/common/shared_parameters.rs index 968d3b255b3..0b4f3020c72 100644 --- a/core/src/shared_parameters.rs +++ b/core/src/common/shared_parameters.rs @@ -23,7 +23,7 @@ use sc_cli::{ }; use sp_runtime::StateVersion; -use crate::parse; +use crate::common::parse; /// Shared parameters of the `try-runtime` commands #[derive(Debug, Clone, clap::Parser)] diff --git a/core/src/state.rs b/core/src/common/state.rs similarity index 66% rename from core/src/state.rs rename to core/src/common/state.rs index 516c6936342..b1c46c6e05b 100644 --- a/core/src/state.rs +++ b/core/src/common/state.rs @@ -21,21 +21,28 @@ use frame_remote_externalities::{ Builder, Mode, OfflineConfig, OnlineConfig, RemoteExternalities, SnapshotConfig, }; use parity_scale_codec::Decode; -use sc_cli::RuntimeVersion; -use sc_executor::{sp_wasm_interface::HostFunctions, WasmExecutor}; +use sc_cli::{execution_method_from_cli, RuntimeVersion}; +use sc_executor::{ + sp_wasm_interface::HostFunctions, HeapAllocStrategy, WasmExecutor, DEFAULT_HEAP_ALLOC_STRATEGY, +}; +use sp_api::{CallContext, StorageProof}; use sp_core::{ hexdisplay::HexDisplay, storage::well_known_keys, traits::ReadRuntimeVersion, twox_128, Hasher, }; +use sp_externalities::Extensions; use sp_runtime::{ - traits::{BlakeTwo256, Block as BlockT, Header as HeaderT}, + traits::{BlakeTwo256, Block as BlockT, HashingFor, Header as HeaderT}, DeserializeOwned, }; +use sp_state_machine::{OverlayedChanges, StateMachine, TestExternalities, TrieBackendBuilder}; use substrate_rpc_client::{ws_client, ChainApi}; use crate::{ - ensure_try_runtime, hash_of, parse, rpc_err_handler, - shared_parameters::{Runtime, SharedParams}, - LOG_TARGET, + common::{ + parse, + shared_parameters::{Runtime, SharedParams}, + }, + hash_of, rpc_err_handler, LOG_TARGET, }; /// A `Live` variant for [`State`] @@ -313,3 +320,156 @@ impl State { Ok(ext) } } + +/// Build wasm executor by default config. +pub(crate) fn build_executor(shared: &SharedParams) -> WasmExecutor { + let heap_pages = + shared + .heap_pages + .map_or(DEFAULT_HEAP_ALLOC_STRATEGY, |p| HeapAllocStrategy::Static { + extra_pages: p as _, + }); + + WasmExecutor::builder() + .with_execution_method(execution_method_from_cli( + shared.wasm_method, + shared.wasmtime_instantiation_strategy, + )) + .with_onchain_heap_alloc_strategy(heap_pages) + .with_offchain_heap_alloc_strategy(heap_pages) + // There is not that much we can do if someone is using unknown host functions. + // They would need to fork the `cli` to add their custom host functions. + .with_allow_missing_host_functions(true) + .build() +} + +/// Ensure that the given `ext` is compiled with `try-runtime` +fn ensure_try_runtime( + executor: &WasmExecutor, + ext: &mut TestExternalities>, +) -> bool { + use sp_api::RuntimeApiInfo; + let final_code = ext + .execute_with(|| sp_io::storage::get(well_known_keys::CODE)) + .expect("':CODE:' is always downloaded in try-runtime-cli; qed"); + let final_version = ::decode( + &mut &*executor + .read_runtime_version(&final_code, &mut ext.ext()) + .unwrap(), + ) + .unwrap(); + final_version + .api_version(&>::ID) + .is_some() +} + +/// Execute the given `method` and `data` on top of `ext`, returning the results (encoded) and the +/// state `changes`. +pub(crate) fn state_machine_call( + ext: &TestExternalities>, + executor: &WasmExecutor, + method: &'static str, + data: &[u8], + mut extensions: Extensions, +) -> sc_cli::Result<(OverlayedChanges>, Vec)> { + let mut changes = Default::default(); + let encoded_result = StateMachine::new( + &ext.backend, + &mut changes, + executor, + method, + data, + &mut extensions, + &sp_state_machine::backend::BackendRuntimeCode::new(&ext.backend).runtime_code()?, + CallContext::Offchain, + ) + .execute() + .map_err(|e| format!("failed to execute '{}': {}", method, e)) + .map_err::(Into::into)?; + + Ok((changes, encoded_result)) +} + +/// Same as [`state_machine_call`], but it also computes and returns the storage proof and ref time +/// information. +/// +/// Make sure [`LOG_TARGET`] is enabled in logging. +pub(crate) fn state_machine_call_with_proof( + ext: &TestExternalities>, + storage_overlay: &mut OverlayedChanges>, + executor: &WasmExecutor, + method: &'static str, + data: &[u8], + mut extensions: Extensions, + maybe_export_proof: Option, +) -> sc_cli::Result<(StorageProof, Vec)> { + let runtime_code_backend = sp_state_machine::backend::BackendRuntimeCode::new(&ext.backend); + let proving_backend = TrieBackendBuilder::wrap(&ext.backend) + .with_recorder(Default::default()) + .build(); + let runtime_code = runtime_code_backend.runtime_code()?; + + let encoded_result = StateMachine::new( + &proving_backend, + storage_overlay, + executor, + method, + data, + &mut extensions, + &runtime_code, + CallContext::Offchain, + ) + .execute() + .map_err(|e| format!("failed to execute {}: {}", method, e)) + .map_err::(Into::into)?; + + let proof = proving_backend + .extract_proof() + .expect("A recorder was set and thus, a storage proof can be extracted; qed"); + + if let Some(path) = maybe_export_proof { + let mut file = std::fs::File::create(&path).map_err(|e| { + log::error!( + target: LOG_TARGET, + "Failed to create file {}: {:?}", + path.to_string_lossy(), + e + ); + e + })?; + + log::info!(target: LOG_TARGET, "Writing storage proof to {}", path.to_string_lossy()); + + use std::io::Write as _; + file.write_all(storage_proof_to_raw_json(&proof).as_bytes()) + .map_err(|e| { + log::error!( + target: LOG_TARGET, + "Failed to write storage proof to {}: {:?}", + path.to_string_lossy(), + e + ); + e + })?; + } + + Ok((proof, encoded_result)) +} + +/// Converts a [`sp_state_machine::StorageProof`] into a JSON string. +fn storage_proof_to_raw_json(storage_proof: &sp_state_machine::StorageProof) -> String { + serde_json::Value::Object( + storage_proof + .to_memory_db::() + .drain() + .iter() + .map(|(key, (value, _n))| { + ( + format!("0x{}", hex::encode(key.as_bytes())), + serde_json::Value::String(format!("0x{}", hex::encode(value))), + ) + }) + .collect(), + ) + .to_string() +} diff --git a/core/src/inherent_provider.rs b/core/src/inherent_provider.rs deleted file mode 100644 index 6d6873fee15..00000000000 --- a/core/src/inherent_provider.rs +++ /dev/null @@ -1,226 +0,0 @@ -// This file is part of Substrate. - -// Copyright (C) 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. -//! TODO: Docs - -use std::{str::FromStr, time::Duration}; - -use itertools::Itertools; -use parity_scale_codec::Encode; -use sp_consensus_aura::{Slot, SlotDuration, AURA_ENGINE_ID}; -use sp_consensus_babe::{ - digests::{PreDigest, SecondaryPlainPreDigest}, - BABE_ENGINE_ID, -}; -use sp_inherents::InherentData; -use sp_runtime::{Digest, DigestItem}; -use sp_std::prelude::*; -use sp_timestamp::TimestampInherentData; -use strum::IntoEnumIterator; -use strum_macros::{Display, EnumIter}; - -/// Trait for providing the inherent data and digest items for block construction. -pub trait InherentProvider { - type Err; - - fn get_inherent_providers_and_pre_digest( - &self, - maybe_prev_info: Option<(InherentData, Digest)>, - ) -> InherentProviderResult; -} - -// Clippy asks that we abstract the return type because it's so long -type InherentProviderResult = - Result<(Box, Vec), Err>; - -/// Chains that have [`InherentProvider`] implemented. -#[derive(Debug, Clone, clap::Parser, EnumIter, Display)] -pub enum Chain { - // Relay chains - Polkadot, - Kusama, - Rococo, - Westend, - - // Parachains - AlephZero, - - // Development chains - SubstrateNodeTemplate, - SubstrateKitchenSink, -} - -/// Implement FromStr so chain can be parsed as a CLI argument. -impl FromStr for Chain { - type Err = String; - - fn from_str(s: &str) -> Result { - for chain in Chain::iter() { - if chain.to_string().to_lowercase() == s.to_lowercase() { - return Ok(chain); - } - } - - // Clap error message already includes "Invalid value {s} for --chain " - // This error will be logged after, so the user knows what the valid values are. - Err(format!( - "\nValid CHAIN values:\n{}\n{}", - Chain::iter().map(|s| format!("- {}", s)).join("\n"), - "Don't see your chain? Open a PR adding it to `inherent_provider.rs` on Github: https://github.com/paritytech/try-runtime-cli" - )) - } -} - -impl InherentProvider for Chain { - type Err = String; - - fn get_inherent_providers_and_pre_digest( - &self, - maybe_prev_info: Option<(InherentData, Digest)>, - ) -> InherentProviderResult { - match *self { - // Relay chains - Chain::Polkadot | Chain::Kusama | Chain::Rococo | Chain::Westend => { - TimestampWithBabeInfoInherentProvider { - blocktime: Duration::from_secs(6), - } - .get_inherent_providers_and_pre_digest(maybe_prev_info) - } - - // Parachains - Chain::AlephZero => TimestampWithAuraInfoInherentProvider { - blocktime: Duration::from_secs(6), - } - .get_inherent_providers_and_pre_digest(maybe_prev_info), - - // Development chains - Chain::SubstrateNodeTemplate => TimestampWithAuraInfoInherentProvider { - blocktime: Duration::from_secs(6), - } - .get_inherent_providers_and_pre_digest(maybe_prev_info), - Chain::SubstrateKitchenSink => SubstrateInherentProvider { - blocktime: Duration::from_secs(6), - } - .get_inherent_providers_and_pre_digest(maybe_prev_info), - } - } -} - -struct SubstrateInherentProvider { - pub blocktime: Duration, -} - -impl InherentProvider for SubstrateInherentProvider { - type Err = String; - - fn get_inherent_providers_and_pre_digest( - &self, - maybe_prev_info: Option<(InherentData, Digest)>, - ) -> Result<(Box, Vec), Self::Err> { - let blocktime_millis = self.blocktime.as_millis() as u64; - - let timestamp_idp = match maybe_prev_info { - Some((inherent_data, _)) => sp_timestamp::InherentDataProvider::new( - inherent_data.timestamp_inherent_data().unwrap().unwrap() + blocktime_millis, - ), - None => sp_timestamp::InherentDataProvider::from_system_time(), - }; - - let slot = - Slot::from_timestamp(*timestamp_idp, SlotDuration::from_millis(blocktime_millis)); - let slot_idp = sp_consensus_babe::inherents::InherentDataProvider::new(slot); - - let storage_proof_idp = sp_transaction_storage_proof::InherentDataProvider::new(None); - - let digest = vec![DigestItem::PreRuntime( - BABE_ENGINE_ID, - PreDigest::SecondaryPlain(SecondaryPlainPreDigest { - slot, - authority_index: 0, - }) - .encode(), - )]; - - Ok(( - Box::new((slot_idp, timestamp_idp, storage_proof_idp)), - digest, - )) - } -} - -struct TimestampWithAuraInfoInherentProvider { - blocktime: Duration, -} - -impl InherentProvider for TimestampWithAuraInfoInherentProvider { - type Err = String; - - fn get_inherent_providers_and_pre_digest( - &self, - maybe_prev_info: Option<(InherentData, Digest)>, - ) -> Result<(Box, Vec), Self::Err> { - let blocktime_millis = self.blocktime.as_millis() as u64; - - let timestamp_idp = match maybe_prev_info { - Some((inherent_data, _)) => sp_timestamp::InherentDataProvider::new( - inherent_data.timestamp_inherent_data().unwrap().unwrap() + blocktime_millis, - ), - None => sp_timestamp::InherentDataProvider::from_system_time(), - }; - let slot = - Slot::from_timestamp(*timestamp_idp, SlotDuration::from_millis(blocktime_millis)); - let digest = vec![DigestItem::PreRuntime(AURA_ENGINE_ID, slot.encode())]; - - Ok((Box::new(timestamp_idp), digest)) - } -} - -struct TimestampWithBabeInfoInherentProvider { - blocktime: Duration, -} - -impl InherentProvider for TimestampWithBabeInfoInherentProvider { - type Err = String; - - fn get_inherent_providers_and_pre_digest( - &self, - maybe_prev_info: Option<(InherentData, Digest)>, - ) -> Result<(Box, Vec), Self::Err> { - let blocktime_millis = self.blocktime.as_millis() as u64; - - let timestamp_idp = match maybe_prev_info { - Some((inherent_data, _)) => sp_timestamp::InherentDataProvider::new( - inherent_data.timestamp_inherent_data().unwrap().unwrap() + blocktime_millis, - ), - None => sp_timestamp::InherentDataProvider::from_system_time(), - }; - - let slot = - Slot::from_timestamp(*timestamp_idp, SlotDuration::from_millis(blocktime_millis)); - let slot_idp = sp_consensus_babe::inherents::InherentDataProvider::new(slot); - - let digest = vec![DigestItem::PreRuntime( - BABE_ENGINE_ID, - PreDigest::SecondaryPlain(SecondaryPlainPreDigest { - slot, - authority_index: 0, - }) - .encode(), - )]; - - Ok((Box::new((slot_idp, timestamp_idp)), digest)) - } -} diff --git a/core/src/lib.rs b/core/src/lib.rs index 03558d996a7..14d4f3d054d 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -15,37 +15,25 @@ // See the License for the specific language governing permissions and // limitations under the License. -use std::{fmt::Debug, path::PathBuf, str::FromStr, time::Duration}; +use std::{fmt::Debug, str::FromStr, time::Duration}; -use parity_scale_codec::{Decode, DecodeAll}; -use sc_cli::{execution_method_from_cli, RuntimeVersion}; -use sc_executor::{ - sp_wasm_interface::HostFunctions, HeapAllocStrategy, WasmExecutor, DEFAULT_HEAP_ALLOC_STRATEGY, -}; +use common::shared_parameters::SharedParams; +use parity_scale_codec::DecodeAll; +use sc_executor::{sp_wasm_interface::HostFunctions, WasmExecutor}; use sp_core::{ offchain::{ testing::{TestOffchainExt, TestTransactionPoolExt}, OffchainDbExt, OffchainWorkerExt, TransactionPoolExt, }, - storage::well_known_keys, - traits::{CallContext, ReadRuntimeVersion, ReadRuntimeVersionExt}, + traits::ReadRuntimeVersionExt, }; use sp_externalities::Extensions; use sp_keystore::{testing::MemoryKeystore, KeystoreExt}; -use sp_runtime::traits::{Block as BlockT, HashingFor}; -use sp_state_machine::{ - OverlayedChanges, StateMachine, StorageProof, TestExternalities, TrieBackendBuilder, -}; +use sp_runtime::traits::Block as BlockT; use sp_weights::Weight; -use crate::shared_parameters::SharedParams; - pub mod commands; -pub mod inherent_provider; -mod misc; -mod parse; -pub mod shared_parameters; -pub mod state; +pub mod common; pub(crate) const LOG_TARGET: &str = "try-runtime::cli"; @@ -59,75 +47,6 @@ where .map_err(|e| format!("Could not parse block hash: {:?}", e).into()) } -/// Build wasm executor by default config. -pub(crate) fn build_executor(shared: &SharedParams) -> WasmExecutor { - let heap_pages = - shared - .heap_pages - .map_or(DEFAULT_HEAP_ALLOC_STRATEGY, |p| HeapAllocStrategy::Static { - extra_pages: p as _, - }); - - WasmExecutor::builder() - .with_execution_method(execution_method_from_cli( - shared.wasm_method, - shared.wasmtime_instantiation_strategy, - )) - .with_onchain_heap_alloc_strategy(heap_pages) - .with_offchain_heap_alloc_strategy(heap_pages) - // There is not that much we can do if someone is using unknown host functions. - // They would need to fork the `cli` to add their custom host functions. - .with_allow_missing_host_functions(true) - .build() -} - -/// Ensure that the given `ext` is compiled with `try-runtime` -fn ensure_try_runtime( - executor: &WasmExecutor, - ext: &mut TestExternalities>, -) -> bool { - use sp_api::RuntimeApiInfo; - let final_code = ext - .execute_with(|| sp_io::storage::get(well_known_keys::CODE)) - .expect("':CODE:' is always downloaded in try-runtime-cli; qed"); - let final_version = ::decode( - &mut &*executor - .read_runtime_version(&final_code, &mut ext.ext()) - .unwrap(), - ) - .unwrap(); - final_version - .api_version(&>::ID) - .is_some() -} - -/// Execute the given `method` and `data` on top of `ext`, returning the results (encoded) and the -/// state `changes`. -pub(crate) fn state_machine_call( - ext: &TestExternalities>, - executor: &WasmExecutor, - method: &'static str, - data: &[u8], - mut extensions: Extensions, -) -> sc_cli::Result<(OverlayedChanges>, Vec)> { - let mut changes = Default::default(); - let encoded_result = StateMachine::new( - &ext.backend, - &mut changes, - executor, - method, - data, - &mut extensions, - &sp_state_machine::backend::BackendRuntimeCode::new(&ext.backend).runtime_code()?, - CallContext::Offchain, - ) - .execute() - .map_err(|e| format!("failed to execute '{}': {}", method, e)) - .map_err::(Into::into)?; - - Ok((changes, encoded_result)) -} - pub struct RefTimeInfo { pub used: Duration, pub max: Duration, @@ -149,95 +68,6 @@ impl TryFrom> for RefTimeInfo { } } -/// Same as [`state_machine_call`], but it also computes and returns the storage proof and ref time -/// information. -/// -/// Make sure [`LOG_TARGET`] is enabled in logging. -pub(crate) fn state_machine_call_with_proof( - ext: &TestExternalities>, - storage_overlay: &mut OverlayedChanges>, - executor: &WasmExecutor, - method: &'static str, - data: &[u8], - mut extensions: Extensions, - maybe_export_proof: Option, -) -> sc_cli::Result<(StorageProof, Vec)> { - let runtime_code_backend = sp_state_machine::backend::BackendRuntimeCode::new(&ext.backend); - let proving_backend = TrieBackendBuilder::wrap(&ext.backend) - .with_recorder(Default::default()) - .build(); - let runtime_code = runtime_code_backend.runtime_code()?; - - let encoded_result = StateMachine::new( - &proving_backend, - storage_overlay, - executor, - method, - data, - &mut extensions, - &runtime_code, - CallContext::Offchain, - ) - .execute() - .map_err(|e| format!("failed to execute {}: {}", method, e)) - .map_err::(Into::into)?; - - let proof = proving_backend - .extract_proof() - .expect("A recorder was set and thus, a storage proof can be extracted; qed"); - - if let Some(path) = maybe_export_proof { - let mut file = std::fs::File::create(&path).map_err(|e| { - log::error!( - target: LOG_TARGET, - "Failed to create file {}: {:?}", - path.to_string_lossy(), - e - ); - e - })?; - - log::info!(target: LOG_TARGET, "Writing storage proof to {}", path.to_string_lossy()); - - use std::io::Write as _; - file.write_all(storage_proof_to_raw_json(&proof).as_bytes()) - .map_err(|e| { - log::error!( - target: LOG_TARGET, - "Failed to write storage proof to {}: {:?}", - path.to_string_lossy(), - e - ); - e - })?; - } - - Ok((proof, encoded_result)) -} - -/// Converts a [`sp_state_machine::StorageProof`] into a JSON string. -fn storage_proof_to_raw_json(storage_proof: &sp_state_machine::StorageProof) -> String { - serde_json::Value::Object( - storage_proof - .to_memory_db::() - .drain() - .iter() - .map(|(key, (value, _n))| { - ( - format!("0x{}", hex::encode(key.as_bytes())), - serde_json::Value::String(format!("0x{}", hex::encode(value))), - ) - }) - .collect(), - ) - .to_string() -} - -pub(crate) fn rpc_err_handler(error: impl Debug) -> &'static str { - log::error!(target: LOG_TARGET, "rpc error: {:?}", error); - "rpc error." -} - /// Build all extensions that we typically use. pub(crate) fn full_extensions(wasm_executor: WasmExecutor) -> Extensions { let mut extensions = Extensions::default(); @@ -252,3 +82,8 @@ pub(crate) fn full_extensions(wasm_executor: WasmExecutor) extensions } + +pub(crate) fn rpc_err_handler(error: impl Debug) -> &'static str { + log::error!(target: LOG_TARGET, "rpc error: {:?}", error); + "rpc error." +} diff --git a/core/tests/create_snapshot.rs b/core/tests/create_snapshot.rs index 03534b5f128..6c88c350a06 100644 --- a/core/tests/create_snapshot.rs +++ b/core/tests/create_snapshot.rs @@ -24,7 +24,11 @@ use std::{ use assert_cmd::cargo::cargo_bin; use frame_remote_externalities::{Builder, Mode, OfflineConfig, SnapshotConfig}; -use node_primitives::{Block, Hash}; +use sp_runtime::{ + generic::{Block, Header}, + traits::BlakeTwo256, + OpaqueExtrinsic, +}; use substrate_cli_test_utils as common; use tokio::process::Command; @@ -57,7 +61,11 @@ async fn create_snapshot_works() { let snap_file_path = temp_dir.path().join("snapshot.snap"); common::run_with_timeout(Duration::from_secs(60), async move { - fn create_snapshot(ws_url: &str, snap_file: &PathBuf, at: Hash) -> tokio::process::Child { + fn create_snapshot( + ws_url: &str, + snap_file: &PathBuf, + at: sp_core::H256, + ) -> tokio::process::Child { Command::new(cargo_bin("try-runtime")) .stdout(std::process::Stdio::piped()) .stderr(std::process::Stdio::piped()) @@ -82,14 +90,15 @@ async fn create_snapshot_works() { assert!(snapshot_is_on_disk, "Snapshot was not written to disk"); // Try and load the snapshot we have created by running `create-snapshot`. - let snapshot_loading_result = Builder::::new() - .mode(Mode::Offline(OfflineConfig { - state_snapshot: SnapshotConfig { - path: snap_file_path, - }, - })) - .build() - .await; + let snapshot_loading_result = + Builder::, OpaqueExtrinsic>>::new() + .mode(Mode::Offline(OfflineConfig { + state_snapshot: SnapshotConfig { + path: snap_file_path, + }, + })) + .build() + .await; assert!( snapshot_loading_result.is_ok(), diff --git a/core/tests/execute_block.rs b/core/tests/execute_block.rs index c247321b7d2..3d5243c3c6f 100644 --- a/core/tests/execute_block.rs +++ b/core/tests/execute_block.rs @@ -20,7 +20,6 @@ use std::time::Duration; use assert_cmd::cargo::cargo_bin; -use node_primitives::Hash; use regex::Regex; use substrate_cli_test_utils as common; use tokio::process::Command; @@ -49,7 +48,7 @@ async fn execute_block_works() { common::run_with_timeout(Duration::from_secs(60), async move { let ws_url = format!("ws://localhost:{}", port); - fn execute_block(ws_url: &str, at: Hash) -> tokio::process::Child { + fn execute_block(ws_url: &str, at: sp_core::H256) -> tokio::process::Child { Command::new(cargo_bin("try-runtime")) .stdout(std::process::Stdio::piped()) .stderr(std::process::Stdio::piped()) diff --git a/core/tests/runtimes/asset_hub_kusama_runtime_no_migrations.compact.compressed.wasm b/core/tests/runtimes/asset_hub_kusama_runtime_no_migrations.compact.compressed.wasm index 4d392563b71..a25f1c6ae88 100644 Binary files a/core/tests/runtimes/asset_hub_kusama_runtime_no_migrations.compact.compressed.wasm and b/core/tests/runtimes/asset_hub_kusama_runtime_no_migrations.compact.compressed.wasm differ diff --git a/core/tests/runtimes/bridge_hub_rococo_runtime_bad_spec_name.compact.compressed.wasm b/core/tests/runtimes/bridge_hub_rococo_runtime_bad_spec_name.compact.compressed.wasm index fe4a0b4d479..526977f4d08 100644 Binary files a/core/tests/runtimes/bridge_hub_rococo_runtime_bad_spec_name.compact.compressed.wasm and b/core/tests/runtimes/bridge_hub_rococo_runtime_bad_spec_name.compact.compressed.wasm differ diff --git a/core/tests/runtimes/bridge_hub_rococo_runtime_non_incrementing_spec_version.compact.compressed.wasm b/core/tests/runtimes/bridge_hub_rococo_runtime_non_incrementing_spec_version.compact.compressed.wasm index cc2945187ba..5b6fdbc57c0 100644 Binary files a/core/tests/runtimes/bridge_hub_rococo_runtime_non_incrementing_spec_version.compact.compressed.wasm and b/core/tests/runtimes/bridge_hub_rococo_runtime_non_incrementing_spec_version.compact.compressed.wasm differ diff --git a/core/tests/runtimes/bridge_hub_rococo_runtime_not_idempotent_execution.compact.compressed.wasm b/core/tests/runtimes/bridge_hub_rococo_runtime_not_idempotent_execution.compact.compressed.wasm index a3034cb3268..3c6f651439e 100644 Binary files a/core/tests/runtimes/bridge_hub_rococo_runtime_not_idempotent_execution.compact.compressed.wasm and b/core/tests/runtimes/bridge_hub_rococo_runtime_not_idempotent_execution.compact.compressed.wasm differ diff --git a/core/tests/runtimes/bridge_hub_rococo_runtime_not_idempotent_state_root.compact.compressed.wasm b/core/tests/runtimes/bridge_hub_rococo_runtime_not_idempotent_state_root.compact.compressed.wasm index 84d81d98cac..f1878195154 100644 Binary files a/core/tests/runtimes/bridge_hub_rococo_runtime_not_idempotent_state_root.compact.compressed.wasm and b/core/tests/runtimes/bridge_hub_rococo_runtime_not_idempotent_state_root.compact.compressed.wasm differ diff --git a/core/tests/runtimes/bridge_hub_rococo_runtime_ok.compact.compressed.wasm b/core/tests/runtimes/bridge_hub_rococo_runtime_ok.compact.compressed.wasm index 506f79f229d..011760ed91f 100644 Binary files a/core/tests/runtimes/bridge_hub_rococo_runtime_ok.compact.compressed.wasm and b/core/tests/runtimes/bridge_hub_rococo_runtime_ok.compact.compressed.wasm differ diff --git a/core/tests/runtimes/bridge_hub_rococo_runtime_weight_issue.compact.compressed.wasm b/core/tests/runtimes/bridge_hub_rococo_runtime_weight_issue.compact.compressed.wasm index 19fdccd972c..c86b30b6c7a 100644 Binary files a/core/tests/runtimes/bridge_hub_rococo_runtime_weight_issue.compact.compressed.wasm and b/core/tests/runtimes/bridge_hub_rococo_runtime_weight_issue.compact.compressed.wasm differ diff --git a/core/tests/runtimes/readme.md b/core/tests/runtimes/readme.md new file mode 100644 index 00000000000..8f3fec5ec42 --- /dev/null +++ b/core/tests/runtimes/readme.md @@ -0,0 +1,69 @@ + +# Test Runtimes + +Some runtimes to use in tests. + +## Generation Instructions + +### No Migrations + +Just pass an empty Migrations tuple to executive. + +### Bad Spec Name + +Set the `spec_name` to something other than what's in the on-chain runtime. + +### Non-Incrementing Spec Version + +Set the `spec_version` to less than or equal to the current on-chain runtime version. + +### Not Idempotent Execution + +Add a migration that is non-idempotent. E.g. + +```rust +pub struct NonIdempotentExceptionMigration; + +impl frame_support::traits::OnRuntimeUpgrade for NonIdempotentExceptionMigration { + fn on_runtime_upgrade() -> Weight { + let key = sp_core::blake2_128(b"some_random_seed"); + if frame_support::storage::unhashed::get(&key[..]).unwrap_or(false) { + panic!("exception"); + }; + frame_support::storage::unhashed::put::(&key[..], &true); + + ::DbWeight::get().writes(1) + } +} +``` + +### Not Idempotent State Root + +Add a migration that is non-idempotnent w.r.t the state root. E.g. + +```rust +pub struct NonIdempotentStateRootMigration; + +impl frame_support::traits::OnRuntimeUpgrade for NonIdempotentStateRootMigration { + fn on_runtime_upgrade() -> Weight { + let key = sp_core::blake2_128(b"some_random_seed"); + let cur = frame_support::storage::unhashed::get(&key[..]).unwrap_or(0); + frame_support::storage::unhashed::put::(&key[..], &(cur + 1u32)); + ::DbWeight::get().writes(1) + } +} +``` + +### Weight Issue + +Add a migration that is overweight. E.g. + +```rust +pub struct OverweightMigration; + +impl frame_support::traits::OnRuntimeUpgrade for OverweightMigration { + fn on_runtime_upgrade() -> Weight { + ::BlockWeights::get().max_block + } +} +``` diff --git a/core/tests/snaps/kusama-asset-hub.snap b/core/tests/snaps/kusama-asset-hub.snap index a96495fee87..f7ef5dcb8b4 100644 Binary files a/core/tests/snaps/kusama-asset-hub.snap and b/core/tests/snaps/kusama-asset-hub.snap differ diff --git a/core/tests/snaps/rococo-bridge-hub.snap b/core/tests/snaps/rococo-bridge-hub.snap index d13e265a857..7c9ba1eb5ed 100644 Binary files a/core/tests/snaps/rococo-bridge-hub.snap and b/core/tests/snaps/rococo-bridge-hub.snap differ