From 90208a66c3a06ce95ff1cd7f891c8e98309f47d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Duarte?= Date: Mon, 25 Nov 2024 15:35:30 +0000 Subject: [PATCH] release: phase 2.1 (#610) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Rok Černič Co-authored-by: aidan46 <47111423+aidan46@users.noreply.github.com> Co-authored-by: dtuzi <114731726+dtuzi@users.noreply.github.com> Co-authored-by: Konrad Stepniak --- .github/workflows/ci.yaml | 4 +- .github/workflows/release.yaml | 55 +- Cargo.lock | 11829 +++++++++++----- Cargo.toml | 198 +- DEVELOPMENT.md | 2 +- README.md | 33 +- cli/artifacts/metadata.scale | Bin 152575 -> 163504 bytes cli/polka-storage-provider/client/Cargo.toml | 1 + .../client/src/commands/proofs.rs | 99 +- .../common/src/commp.rs | 13 +- cli/polka-storage-provider/server/src/db.rs | 32 +- .../server/src/pipeline/mod.rs | 48 +- .../server/src/pipeline/types.rs | 24 +- cli/polka-storage-provider/server/src/rpc.rs | 49 +- .../server/src/storage.rs | 2 + .../storagext-cli/src/cmd/faucet.rs | 60 + .../storagext-cli/src/cmd/market.rs | 33 +- .../storagext-cli/src/cmd/mod.rs | 1 + cli/polka-storage/storagext-cli/src/main.rs | 16 +- cli/polka-storage/storagext/Cargo.toml | 2 +- .../storagext/src/clients/faucet.rs | 30 + .../storagext/src/clients/mod.rs | 2 + cli/polka-storage/storagext/src/lib.rs | 5 +- .../storagext/src/runtime/client.rs | 56 +- .../storagext/src/runtime/display/faucet.rs | 20 + .../storagext/src/runtime/display/market.rs | 27 +- .../storagext/src/runtime/display/mod.rs | 1 + .../storagext/src/runtime/mod.rs | 22 +- .../storagext/src/types/storage_provider.rs | 16 +- docker/dockerfiles/mater-cli.Dockerfile | 2 +- .../dockerfiles/polka-storage-node.Dockerfile | 2 +- .../polka-storage-provider-client.Dockerfile | 2 +- .../polka-storage-provider-server.Dockerfile | 2 +- docker/dockerfiles/storagext-cli.Dockerfile | 2 +- docs/src/SUMMARY.md | 3 +- docs/src/architecture/pallets/faucet.md | 68 + docs/src/architecture/pallets/market.md | 18 +- docs/src/architecture/pallets/randomness.md | 2 +- docs/src/background.md | 93 - docs/src/getting-started/building/source.md | 2 +- docs/src/getting-started/demo-file-store.md | 23 +- .../local-testnet/getting-funds.md | 22 +- docs/src/introduction.md | 14 +- docs/src/storagext-cli/faucet.md | 22 + docs/src/storagext-cli/index.md | 1 + flake.lock | 24 +- flake.nix | 3 +- lib/polka-storage-proofs/src/porep/sealer.rs | 56 +- lib/polka-storage-proofs/src/post/mod.rs | 2 +- maat/generate_porep_proof.sh | 22 + maat/tests/real_world.rs | 47 +- node/Cargo.toml | 105 +- node/src/command.rs | 21 +- node/src/rpc.rs | 11 +- node/src/service.rs | 21 +- pallets/faucet/Cargo.toml | 36 + pallets/faucet/src/lib.rs | 110 + pallets/faucet/src/mock.rs | 97 + pallets/faucet/src/test.rs | 102 + pallets/market/Cargo.toml | 1 + pallets/market/src/error.rs | 48 + pallets/market/src/lib.rs | 454 +- pallets/market/src/mock.rs | 2 +- pallets/market/src/test.rs | 295 +- pallets/proofs/src/porep/mod.rs | 22 +- pallets/proofs/src/tests/porep.rs | 2 +- pallets/proofs/src/tests/post.rs | 2 +- pallets/storage-provider/src/deadline.rs | 200 +- .../src/deadline/assignment.rs | 17 +- .../storage-provider/src/expiration_queue.rs | 24 +- pallets/storage-provider/src/lib.rs | 110 +- pallets/storage-provider/src/partition.rs | 69 +- pallets/storage-provider/src/sector_map.rs | 86 +- .../storage-provider/src/storage_provider.rs | 61 +- .../src/tests/declare_faults.rs | 47 +- .../src/tests/declare_faults_recovered.rs | 40 +- .../src/tests/expiration_queue.rs | 49 +- pallets/storage-provider/src/tests/mod.rs | 17 +- .../storage-provider/src/tests/post_hook.rs | 36 +- .../src/tests/pre_commit_sector_hook.rs | 27 +- .../src/tests/pre_commit_sectors.rs | 28 +- .../src/tests/prove_commit_sectors.rs | 23 +- .../src/tests/submit_windowed_post.rs | 2 +- .../src/tests/terminate_sectors.rs | 43 +- primitives/commitment/Cargo.toml | 10 +- primitives/commitment/src/commd.rs | 17 +- primitives/commitment/src/lib.rs | 294 +- primitives/commitment/src/piece.rs | 58 +- primitives/proofs/src/types.rs | 155 +- runtime/Cargo.toml | 3 +- runtime/src/apis.rs | 306 - runtime/src/configs/mod.rs | 31 +- runtime/src/lib.rs | 352 +- rust-toolchain.toml | 2 +- storage/polka-index/Cargo.toml | 2 +- .../src/local_index_directory/rdb.rs | 2 +- 96 files changed, 11354 insertions(+), 5198 deletions(-) create mode 100644 cli/polka-storage/storagext-cli/src/cmd/faucet.rs create mode 100644 cli/polka-storage/storagext/src/clients/faucet.rs create mode 100644 cli/polka-storage/storagext/src/runtime/display/faucet.rs create mode 100644 docs/src/architecture/pallets/faucet.md delete mode 100644 docs/src/background.md create mode 100644 docs/src/storagext-cli/faucet.md create mode 100755 maat/generate_porep_proof.sh create mode 100644 pallets/faucet/Cargo.toml create mode 100644 pallets/faucet/src/lib.rs create mode 100644 pallets/faucet/src/mock.rs create mode 100644 pallets/faucet/src/test.rs create mode 100644 pallets/market/src/error.rs delete mode 100644 runtime/src/apis.rs diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 997e96411..67ac5bd69 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -42,7 +42,7 @@ jobs: - name: Setup mdBook uses: peaceiris/actions-mdbook@v2 with: - mdbook-version: '0.4.40' + mdbook-version: "0.4.40" - name: Build the book run: mdbook build docs @@ -90,4 +90,4 @@ jobs: - name: Cargo clippy run: RUSTFLAGS="-D warnings" cargo clippy --profile ci --locked - name: Run tests - run: RUSTFLAGS="-D warnings" cargo tarpaulin --profile ci --locked --workspace --exclude maat + run: RUSTFLAGS="-D warnings" cargo tarpaulin --profile ci --locked --workspace --skip-clean --exclude maat diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index de24a4d5c..0d6b55cfa 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -54,8 +54,11 @@ jobs: # make the version available as a "checked" output in later steps echo "PACKAGE_VERSION=$PACKAGE_VERSION" >> "$GITHUB_OUTPUT" - - name: Build in release mode - run: RUSTFLAGS="-D warnings" cargo build --release --locked --package mater-cli + - id: build-release + name: Build in release mode + run: | + RUSTFLAGS="-D warnings" cargo build --release --locked --package mater-cli + echo "PACKAGE_SHA256=$(sha256sum target/release/mater-cli | sed 's/\(.*\) .*/\1/')" >> "$GITHUB_OUTPUT" - name: Login to Github Container Registry uses: docker/login-action@v3 @@ -82,6 +85,10 @@ jobs: tag_name: ${{ github.ref_name }} # set the name of the release the tag body: | Docker container release: https://github.com/eigerco/polka-storage/pkgs/container/mater-cli/?tag=${{ steps.check-version.outputs.PACKAGE_VERSION }} + + | Binary | SHA256 | + | ------------------------ | --------------------------------------------------- | + | `${{ github.ref_name }}` | `${{ steps.build-release.outputs.PACKAGE_SHA256 }}` | files: | target/release/mater-cli @@ -114,8 +121,11 @@ jobs: # make the version available as a "checked" output in later steps echo "PACKAGE_VERSION=$PACKAGE_VERSION" >> "$GITHUB_OUTPUT" - - name: Build in release mode - run: RUSTFLAGS="-D warnings" cargo build --release --locked --package storagext-cli + - id: build-release + name: Build in release mode + run: | + RUSTFLAGS="-D warnings" cargo build --release --locked --package storagext-cli + echo "PACKAGE_SHA256=$(sha256sum target/release/storagext-cli | sed 's/\(.*\) .*/\1/')" >> "$GITHUB_OUTPUT" - name: Login to Github Container Registry uses: docker/login-action@v3 @@ -142,6 +152,10 @@ jobs: tag_name: ${{ github.ref_name }} # set the name of the release the tag body: | Docker container release: https://github.com/eigerco/polka-storage/pkgs/container/storagext-cli/?tag=${{ steps.check-version.outputs.PACKAGE_VERSION }} + + | Binary | SHA256 | + | ------------------------ | --------------------------------------------------- | + | `${{ github.ref_name }}` | `${{ steps.build-release.outputs.PACKAGE_SHA256 }}` | files: | target/release/storagext-cli @@ -174,8 +188,11 @@ jobs: # make the version available as a "checked" output in later steps echo "PACKAGE_VERSION=$PACKAGE_VERSION" >> "$GITHUB_OUTPUT" - - name: Build in release mode - run: RUSTFLAGS="-D warnings" cargo build --release --locked --package polka-storage-node --features polka-storage-runtime/testnet + - id: build-release + name: Build in release mode + run: | + RUSTFLAGS="-D warnings" cargo build --release --locked --package polka-storage-node --features polka-storage-runtime/testnet + echo "PACKAGE_SHA256=$(sha256sum target/release/polka-storage-node | sed 's/\(.*\) .*/\1/')" >> "$GITHUB_OUTPUT" - name: Login to Github Container Registry uses: docker/login-action@v3 @@ -202,6 +219,10 @@ jobs: tag_name: ${{ github.ref_name }} # set the name of the release the tag body: | Docker container release: https://github.com/eigerco/polka-storage/pkgs/container/polka-storage-node/?tag=${{ steps.check-version.outputs.PACKAGE_VERSION }} + + | Binary | SHA256 | + | ------------------------ | --------------------------------------------------- | + | `${{ github.ref_name }}` | `${{ steps.build-release.outputs.PACKAGE_SHA256 }}` | files: | target/release/polka-storage-node @@ -234,8 +255,11 @@ jobs: # make the version available as a "checked" output in later steps echo "PACKAGE_VERSION=$PACKAGE_VERSION" >> "$GITHUB_OUTPUT" - - name: Build in release mode - run: RUSTFLAGS="-D warnings" cargo build --release --locked --package polka-storage-provider-server + - id: build-release + name: Build in release mode + run: | + RUSTFLAGS="-D warnings" cargo build --release --locked --package polka-storage-provider-server + echo "PACKAGE_SHA256=$(sha256sum target/release/polka-storage-provider-server | sed 's/\(.*\) .*/\1/')" >> "$GITHUB_OUTPUT" - name: Login to Github Container Registry uses: docker/login-action@v3 @@ -262,6 +286,10 @@ jobs: tag_name: ${{ github.ref_name }} # set the name of the release the tag body: | Docker container release: https://github.com/eigerco/polka-storage/pkgs/container/polka-storage-provider-server/?tag=${{ steps.check-version.outputs.PACKAGE_VERSION }} + + | Binary | SHA256 | + | ------------------------ | --------------------------------------------------- | + | `${{ github.ref_name }}` | `${{ steps.build-release.outputs.PACKAGE_SHA256 }}` | files: | target/release/polka-storage-provider-server @@ -294,8 +322,11 @@ jobs: # make the version available as a "checked" output in later steps echo "PACKAGE_VERSION=$PACKAGE_VERSION" >> "$GITHUB_OUTPUT" - - name: Build in release mode - run: RUSTFLAGS="-D warnings" cargo build --release --locked --package polka-storage-provider-client + - id: build-release + name: Build in release mode + run: | + RUSTFLAGS="-D warnings" cargo build --release --locked --package polka-storage-provider-client + echo "PACKAGE_SHA256=$(sha256sum target/release/polka-storage-provider-client | sed 's/\(.*\) .*/\1/')" >> "$GITHUB_OUTPUT" - name: Login to Github Container Registry uses: docker/login-action@v3 @@ -322,5 +353,9 @@ jobs: tag_name: ${{ github.ref_name }} # set the name of the release the tag body: | Docker container release: https://github.com/eigerco/polka-storage/pkgs/container/polka-storage-provider-client/?tag=${{ steps.check-version.outputs.PACKAGE_VERSION }} + + | Binary | SHA256 | + | ------------------------ | --------------------------------------------------- | + | `${{ github.ref_name }}` | `${{ steps.build-release.outputs.PACKAGE_SHA256 }}` | files: | target/release/polka-storage-provider-client diff --git a/Cargo.lock b/Cargo.lock index a5621200d..12b2ab088 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -106,9 +106,68 @@ dependencies = [ [[package]] name = "allocator-api2" -version = "0.2.18" +version = "0.2.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45862d1c77f2228b9e10bc609d5bc203d86ebc9b87ad8d5d5167a6c9abf739d9" + +[[package]] +name = "alloy-primitives" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0628ec0ba5b98b3370bb6be17b12f23bfce8ee4ad83823325a20546d9b03b78" +dependencies = [ + "alloy-rlp", + "bytes", + "cfg-if", + "const-hex", + "derive_more 0.99.18", + "hex-literal", + "itoa", + "proptest", + "rand", + "ruint", + "serde", + "tiny-keccak", +] + +[[package]] +name = "alloy-rlp" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da0822426598f95e45dd1ea32a738dac057529a709ee645fcc516ffa4cbde08f" +dependencies = [ + "arrayvec 0.7.6", + "bytes", +] + +[[package]] +name = "alloy-sol-macro" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a98ad1696a2e17f010ae8e43e9f2a1e930ed176a8e3ff77acfeff6dfb07b42c" +dependencies = [ + "const-hex", + "dunce", + "heck 0.4.1", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 2.0.89", + "syn-solidity", + "tiny-keccak", +] + +[[package]] +name = "alloy-sol-types" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" +checksum = "98d7107bed88e8f09f0ddcc3335622d87bfb6821f3e0c7473329fb1cfad5e015" +dependencies = [ + "alloy-primitives", + "alloy-sol-macro", + "const-hex", + "serde", +] [[package]] name = "always-assert" @@ -221,7 +280,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -231,8 +290,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb00293ba84f51ce3bd026bd0de55899c4e68f0a39a5728cebae3a73ffdc0a4f" dependencies = [ "ark-ec", - "ark-ff", - "ark-std", + "ark-ff 0.4.2", + "ark-std 0.4.0", +] + +[[package]] +name = "ark-bls12-377-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20c7021f180a0cbea0380eba97c2af3c57074cdaffe0eef7e840e1c9f2841e55" +dependencies = [ + "ark-bls12-377", + "ark-ec", + "ark-models-ext", + "ark-std 0.4.0", ] [[package]] @@ -242,9 +313,48 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c775f0d12169cba7aae4caeb547bb6a50781c7449a8aa53793827c9ec4abf488" dependencies = [ "ark-ec", - "ark-ff", - "ark-serialize", - "ark-std", + "ark-ff 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", +] + +[[package]] +name = "ark-bls12-381-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1dc4b3d08f19e8ec06e949712f95b8361e43f1391d94f65e4234df03480631c" +dependencies = [ + "ark-bls12-381", + "ark-ec", + "ark-ff 0.4.2", + "ark-models-ext", + "ark-serialize 0.4.2", + "ark-std 0.4.0", +] + +[[package]] +name = "ark-bw6-761" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e0605daf0cc5aa2034b78d008aaf159f56901d92a52ee4f6ecdfdac4f426700" +dependencies = [ + "ark-bls12-377", + "ark-ec", + "ark-ff 0.4.2", + "ark-std 0.4.0", +] + +[[package]] +name = "ark-bw6-761-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccee5fba47266f460067588ee1bf070a9c760bf2050c1c509982c5719aadb4f2" +dependencies = [ + "ark-bw6-761", + "ark-ec", + "ark-ff 0.4.2", + "ark-models-ext", + "ark-std 0.4.0", ] [[package]] @@ -253,14 +363,83 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "defd9a439d56ac24968cca0571f598a61bc8c55f71d50a89cda591cb750670ba" dependencies = [ - "ark-ff", + "ark-ff 0.4.2", "ark-poly", - "ark-serialize", - "ark-std", + "ark-serialize 0.4.2", + "ark-std 0.4.0", "derivative", "hashbrown 0.13.2", "itertools 0.10.5", "num-traits", + "rayon", + "zeroize", +] + +[[package]] +name = "ark-ed-on-bls12-377" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b10d901b9ac4b38f9c32beacedfadcdd64e46f8d7f8e88c1ae1060022cf6f6c6" +dependencies = [ + "ark-bls12-377", + "ark-ec", + "ark-ff 0.4.2", + "ark-std 0.4.0", +] + +[[package]] +name = "ark-ed-on-bls12-377-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "524a4fb7540df2e1a8c2e67a83ba1d1e6c3947f4f9342cc2359fc2e789ad731d" +dependencies = [ + "ark-ec", + "ark-ed-on-bls12-377", + "ark-ff 0.4.2", + "ark-models-ext", + "ark-std 0.4.0", +] + +[[package]] +name = "ark-ed-on-bls12-381-bandersnatch" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9cde0f2aa063a2a5c28d39b47761aa102bda7c13c84fc118a61b87c7b2f785c" +dependencies = [ + "ark-bls12-381", + "ark-ec", + "ark-ff 0.4.2", + "ark-std 0.4.0", +] + +[[package]] +name = "ark-ed-on-bls12-381-bandersnatch-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d15185f1acb49a07ff8cbe5f11a1adc5a93b19e211e325d826ae98e98e124346" +dependencies = [ + "ark-ec", + "ark-ed-on-bls12-381-bandersnatch", + "ark-ff 0.4.2", + "ark-models-ext", + "ark-std 0.4.0", +] + +[[package]] +name = "ark-ff" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b3235cc41ee7a12aaaf2c575a2ad7b46713a8a50bda2fc3b003a04845c05dd6" +dependencies = [ + "ark-ff-asm 0.3.0", + "ark-ff-macros 0.3.0", + "ark-serialize 0.3.0", + "ark-std 0.3.0", + "derivative", + "num-bigint", + "num-traits", + "paste", + "rustc_version 0.3.3", "zeroize", ] @@ -270,10 +449,10 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec847af850f44ad29048935519032c33da8aa03340876d351dfab5660d2966ba" dependencies = [ - "ark-ff-asm", - "ark-ff-macros", - "ark-serialize", - "ark-std", + "ark-ff-asm 0.4.2", + "ark-ff-macros 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", "derivative", "digest 0.10.7", "itertools 0.10.5", @@ -284,6 +463,16 @@ dependencies = [ "zeroize", ] +[[package]] +name = "ark-ff-asm" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db02d390bf6643fb404d3d22d31aee1c4bc4459600aef9113833d17e786c6e44" +dependencies = [ + "quote", + "syn 1.0.109", +] + [[package]] name = "ark-ff-asm" version = "0.4.2" @@ -294,6 +483,18 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "ark-ff-macros" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db2fd794a08ccb318058009eefdf15bcaaaaf6f8161eb3345f907222bac38b20" +dependencies = [ + "num-bigint", + "num-traits", + "quote", + "syn 1.0.109", +] + [[package]] name = "ark-ff-macros" version = "0.4.2" @@ -307,19 +508,56 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "ark-models-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e9eab5d4b5ff2f228b763d38442adc9b084b0a465409b059fac5c2308835ec2" +dependencies = [ + "ark-ec", + "ark-ff 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", + "derivative", +] + [[package]] name = "ark-poly" version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d320bfc44ee185d899ccbadfa8bc31aab923ce1558716e1997a1e74057fe86bf" dependencies = [ - "ark-ff", - "ark-serialize", - "ark-std", + "ark-ff 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", "derivative", "hashbrown 0.13.2", ] +[[package]] +name = "ark-scale" +version = "0.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f69c00b3b529be29528a6f2fd5fa7b1790f8bed81b9cdca17e326538545a179" +dependencies = [ + "ark-ec", + "ark-ff 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", + "parity-scale-codec", + "scale-info", +] + +[[package]] +name = "ark-serialize" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d6c2b318ee6e10f8c2853e73a83adc0ccb88995aa978d8a3408d492ab2ee671" +dependencies = [ + "ark-std 0.3.0", + "digest 0.9.0", +] + [[package]] name = "ark-serialize" version = "0.4.2" @@ -327,7 +565,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5" dependencies = [ "ark-serialize-derive", - "ark-std", + "ark-std 0.4.0", "digest 0.10.7", "num-bigint", ] @@ -343,6 +581,16 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "ark-std" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1df2c09229cbc5a028b1d70e00fdb2acee28b1055dfb5ca73eea49c5a25c4e7c" +dependencies = [ + "num-traits", + "rand", +] + [[package]] name = "ark-std" version = "0.4.0" @@ -351,6 +599,7 @@ checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" dependencies = [ "num-traits", "rand", + "rayon", ] [[package]] @@ -398,7 +647,7 @@ dependencies = [ "nom", "num-traits", "rusticata-macros", - "thiserror", + "thiserror 1.0.69", "time", ] @@ -414,7 +663,7 @@ dependencies = [ "nom", "num-traits", "rusticata-macros", - "thiserror", + "thiserror 1.0.69", "time", ] @@ -438,7 +687,7 @@ checksum = "965c2d33e53cb6b267e148a4cb0760bc01f4904c1cd4bb4002a085bb016d1490" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", "synstructure 0.13.1", ] @@ -461,7 +710,7 @@ checksum = "7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -470,6 +719,60 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" +[[package]] +name = "asset-test-utils" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0324df9ce91a9840632e865dd3272bd20162023856f1b189b7ae58afa5c6b61" +dependencies = [ + "cumulus-pallet-parachain-system 0.17.1 (registry+https://github.com/rust-lang/crates.io-index)", + "cumulus-pallet-xcmp-queue 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cumulus-primitives-core 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-assets 40.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-balances 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-collator-selection 19.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-session 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-timestamp 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-xcm 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-xcm-bridge-hub-router", + "parachains-common 18.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parachains-runtimes-test-utils", + "parity-scale-codec", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "staging-parachain-info 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-builder 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-executor 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "substrate-wasm-builder 24.0.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "assets-common" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93438e31a4449fbeab87210931edc8cd156292354f1fc15f17d819ecded6bf25" +dependencies = [ + "cumulus-primitives-core 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "impl-trait-for-tuples", + "log", + "pallet-asset-conversion 20.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-assets 40.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-xcm 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parachains-common 18.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-builder 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-executor 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "substrate-wasm-builder 24.0.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "async-channel" version = "1.9.0" @@ -501,8 +804,8 @@ checksum = "30ca9a001c1e8ba5149f91a74362376cc6bc5b919d92d988668657bd570bdcec" dependencies = [ "async-task", "concurrent-queue", - "fastrand 2.1.1", - "futures-lite 2.4.0", + "fastrand 2.2.0", + "futures-lite 2.5.0", "slab", ] @@ -526,7 +829,7 @@ checksum = "ebcd09b382f40fcd159c2d695175b2ae620ffa5f3bd6f664131efff4e8b9e04a" dependencies = [ "async-lock 3.4.0", "blocking", - "futures-lite 2.4.0", + "futures-lite 2.5.0", ] [[package]] @@ -551,18 +854,18 @@ dependencies = [ [[package]] name = "async-io" -version = "2.3.4" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "444b0228950ee6501b3568d3c93bf1176a1fdbc3b758dcd9475046d30f4dc7e8" +checksum = "43a2b323ccce0a1d90b449fd71f2a06ca7faa7c54c2751f06c9bd851fc061059" dependencies = [ "async-lock 3.4.0", "cfg-if", "concurrent-queue", "futures-io", - "futures-lite 2.4.0", + "futures-lite 2.5.0", "parking", - "polling 3.7.3", - "rustix 0.38.39", + "polling 3.7.4", + "rustix 0.38.41", "slab", "tracing", "windows-sys 0.59.0", @@ -605,9 +908,9 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b948000fad4873c1c9339d60f2623323a0cfd3816e5181033c6a5cb68b2accf7" dependencies = [ - "async-io 2.3.4", + "async-io 2.4.0", "blocking", - "futures-lite 2.4.0", + "futures-lite 2.5.0", ] [[package]] @@ -623,7 +926,7 @@ dependencies = [ "cfg-if", "event-listener 3.1.0", "futures-lite 1.13.0", - "rustix 0.38.39", + "rustix 0.38.41", "windows-sys 0.48.0", ] @@ -634,15 +937,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "63255f1dc2381611000436537bbedfe83183faa303a5a0edaf191edef06526bb" dependencies = [ "async-channel 2.3.1", - "async-io 2.3.4", + "async-io 2.4.0", "async-lock 3.4.0", "async-signal", "async-task", "blocking", "cfg-if", "event-listener 5.3.1", - "futures-lite 2.4.0", - "rustix 0.38.39", + "futures-lite 2.5.0", + "rustix 0.38.41", "tracing", ] @@ -652,13 +955,13 @@ version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "637e00349800c0bdf8bfc21ebbc0b6524abea702b0da4168ac00d070d0c0b9f3" dependencies = [ - "async-io 2.3.4", + "async-io 2.4.0", "async-lock 3.4.0", "atomic-waker", "cfg-if", "futures-core", "futures-io", - "rustix 0.38.39", + "rustix 0.38.41", "signal-hook-registry", "slab", "windows-sys 0.59.0", @@ -683,7 +986,7 @@ checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -700,7 +1003,7 @@ checksum = "721cae7de5c34fbb2acd27e21e6d2cf7b886dce0c27388d46c4e6c47ea4318dd" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -739,6 +1042,17 @@ dependencies = [ "url", ] +[[package]] +name = "auto_impl" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c87f3f15e7794432337fc718554eaa4dc8f04c9677a950ffe366f20a162ae42" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.89", +] + [[package]] name = "autocfg" version = "1.4.0" @@ -747,9 +1061,9 @@ checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" [[package]] name = "axum" -version = "0.7.7" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "504e3947307ac8326a5437504c517c4b56716c9d98fac0028c2acc7ca47d70ae" +checksum = "edca88bc138befd0323b20752846e6587272d3b03b0343c8ea28a6f819e6e71f" dependencies = [ "async-trait", "axum-core", @@ -759,7 +1073,7 @@ dependencies = [ "http 1.1.0", "http-body 1.0.1", "http-body-util", - "hyper 1.5.0", + "hyper 1.5.1", "hyper-util", "itoa", "matchit", @@ -773,7 +1087,7 @@ dependencies = [ "serde_json", "serde_path_to_error", "serde_urlencoded", - "sync_wrapper 1.0.1", + "sync_wrapper 1.0.2", "tokio", "tower 0.5.1", "tower-layer", @@ -796,7 +1110,7 @@ dependencies = [ "mime", "pin-project-lite", "rustversion", - "sync_wrapper 1.0.1", + "sync_wrapper 1.0.2", "tower-layer", "tower-service", "tracing", @@ -810,7 +1124,7 @@ checksum = "57d123550fa8d071b7255cb0cc04dc302baa6c8c4a79f55701552684d8399bce" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -881,15 +1195,6 @@ version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" -[[package]] -name = "beef" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1" -dependencies = [ - "serde", -] - [[package]] name = "bellpepper" version = "0.2.1" @@ -911,7 +1216,7 @@ dependencies = [ "byteorder", "ff", "serde", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -941,13 +1246,23 @@ dependencies = [ "rustversion", "serde", "sha2 0.10.8", - "thiserror", + "thiserror 1.0.69", ] [[package]] name = "binary-merkle-tree" -version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "15.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "336bf780dd7526a9a4bc1521720b25c1994dc132cccd59553431923fa4d1a693" +dependencies = [ + "hash-db", + "log", +] + +[[package]] +name = "binary-merkle-tree" +version = "15.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "hash-db", "log", @@ -978,9 +1293,9 @@ dependencies = [ "proc-macro2", "quote", "regex", - "rustc-hash", + "rustc-hash 1.1.0", "shlex", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -989,17 +1304,38 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "33415e24172c1b7d6066f6d999545375ab8e1d95421d6784bdfff9496f292387" dependencies = [ - "bitcoin_hashes", + "bitcoin_hashes 0.13.0", "serde", "unicode-normalization", ] +[[package]] +name = "bit-set" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1" +dependencies = [ + "bit-vec", +] + +[[package]] +name = "bit-vec" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" + [[package]] name = "bitcoin-internals" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9425c3bf7089c983facbae04de54513cce73b41c7f9ff8c845b54e7bc64ebbfb" +[[package]] +name = "bitcoin-io" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b47c4ab7a93edb0c7198c5535ed9b52b63095f4e9b45279c6736cec4b856baf" + [[package]] name = "bitcoin_hashes" version = "0.13.0" @@ -1007,7 +1343,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1930a4dabfebb8d7d9992db18ebe3ae2876f0a305fab206fd168df931ede293b" dependencies = [ "bitcoin-internals", - "hex-conservative", + "hex-conservative 0.1.2", +] + +[[package]] +name = "bitcoin_hashes" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb18c03d0db0247e147a21a6faafd5a7eb851c743db062de72018b6b7e8e4d16" +dependencies = [ + "bitcoin-io", + "hex-conservative 0.2.1", ] [[package]] @@ -1154,7 +1500,7 @@ dependencies = [ "async-channel 2.3.1", "async-task", "futures-io", - "futures-lite 2.4.0", + "futures-lite 2.5.0", "piper", ] @@ -1202,9 +1548,9 @@ dependencies = [ [[package]] name = "bounded-collections" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db436177db0d505b1507f03aca56a41442ae6efdf8b6eaa855d73e52c5b078dc" +checksum = "3d077619e9c237a5d1875166f5e8033e8f6bff0c96f8caf81e1c2d7738c431bf" dependencies = [ "log", "parity-scale-codec", @@ -1218,31 +1564,307 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "68534a48cbf63a4b1323c433cf21238c9ec23711e0df13b08c33e5c2082663ce" dependencies = [ - "thiserror", + "thiserror 1.0.69", ] [[package]] -name = "bp-xcm-bridge-hub-router" -version = "0.14.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "bp-header-chain" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "890df97cea17ee61ff982466bb9e90cb6b1462adb45380999019388d05e4b92d" dependencies = [ + "bp-runtime", + "finality-grandpa", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-runtime 39.0.0", + "serde", + "sp-consensus-grandpa 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "bs58" -version = "0.4.0" +name = "bp-messages" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" +checksum = "7efabf94339950b914ba87249497f1a0e35a73849934d164fecae4b275928cf6" +dependencies = [ + "bp-header-chain", + "bp-runtime", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] [[package]] -name = "bs58" -version = "0.5.1" +name = "bp-parachains" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" +checksum = "9011e5c12c15caf3c4129a98f4f4916ea9165db8daf6ed85867c3106075f40df" +dependencies = [ + "bp-header-chain", + "bp-polkadot-core", + "bp-runtime", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "bp-polkadot" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa6277dd4333917ecfbcc35e9332a9f11682e0a506e76b617c336224660fce33" +dependencies = [ + "bp-header-chain", + "bp-polkadot-core", + "bp-runtime", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "bp-polkadot-core" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "345cf472bac11ef79d403e4846a666b7d22a13cd16d9c85b62cd6b5e16c4a042" +dependencies = [ + "bp-messages", + "bp-runtime", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "parity-util-mem", + "scale-info", + "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "bp-relayers" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9465ad727e466d67d64244a1aa7bb19933a297913fdde34b8e9bda0a341bdeb" +dependencies = [ + "bp-header-chain", + "bp-messages", + "bp-parachains", + "bp-runtime", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-utility 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "bp-runtime" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "746d9464f912b278f8a5e2400f10541f95da7fc6c7d688a2788b9a46296146ee" +dependencies = [ + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hash-db", + "impl-trait-for-tuples", + "log", + "num-traits", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-state-machine 0.43.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "trie-db", +] + +[[package]] +name = "bp-test-utils" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92e659078b54c0b6bd79896738212a305842ad37168976363233516754337826" +dependencies = [ + "bp-header-chain", + "bp-parachains", + "bp-polkadot-core", + "bp-runtime", + "ed25519-dalek", + "finality-grandpa", + "parity-scale-codec", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-grandpa 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "bp-xcm-bridge-hub" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6909117ca87cb93703742939d5f0c4c93e9646d9cda22262e9709d68c929999b" +dependencies = [ + "bp-messages", + "bp-runtime", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "bp-xcm-bridge-hub-router" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9284820ca704f5c065563cad77d2e3d069a23cc9cb3a29db9c0de8dd3b173a87" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "bp-xcm-bridge-hub-router" +version = "0.14.1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "staging-xcm 14.2.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "bridge-hub-common" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c31b53c53d627e2da38f8910807944bf3121e154b5c0ac9e122995af9dfb13ed" +dependencies = [ + "cumulus-primitives-core 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-message-queue 41.0.2 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "snowbridge-core", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "bridge-hub-test-utils" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de0b3aa5fd8481a06ca16e47fd3d2d9c6abe76b27d922ec8980a853f242173b3" +dependencies = [ + "asset-test-utils", + "bp-header-chain", + "bp-messages", + "bp-parachains", + "bp-polkadot-core", + "bp-relayers", + "bp-runtime", + "bp-test-utils", + "bp-xcm-bridge-hub", + "bridge-runtime-common", + "cumulus-pallet-parachain-system 0.17.1 (registry+https://github.com/rust-lang/crates.io-index)", + "cumulus-pallet-xcmp-queue 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "impl-trait-for-tuples", + "log", + "pallet-balances 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-bridge-grandpa", + "pallet-bridge-messages", + "pallet-bridge-parachains", + "pallet-bridge-relayers", + "pallet-timestamp 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-utility 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-xcm 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-xcm-bridge-hub", + "parachains-common 18.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parachains-runtimes-test-utils", + "parity-scale-codec", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keyring 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-tracing 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-builder 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-executor 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "bridge-runtime-common" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c639aa22de6e904156a3e8b0e6b9e6af790cb27a1299688cc07997e1ffe5b648" +dependencies = [ + "bp-header-chain", + "bp-messages", + "bp-parachains", + "bp-polkadot-core", + "bp-relayers", + "bp-runtime", + "bp-xcm-bridge-hub", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "pallet-bridge-grandpa", + "pallet-bridge-messages", + "pallet-bridge-parachains", + "pallet-bridge-relayers", + "pallet-transaction-payment 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-utility 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "tuplex", +] + +[[package]] +name = "bs58" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" + +[[package]] +name = "bs58" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" dependencies = [ "tinyvec", ] @@ -1276,9 +1898,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "bytemuck" -version = "1.19.0" +version = "1.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8334215b81e418a0a7bdb8ef0849474f40bb10c8b71f1c4ed315cff49f32494d" +checksum = "8b37c88a63ffd85d15b406896cc343916d7cf57838a847b3a6f2ca5d39a5695a" [[package]] name = "byteorder" @@ -1342,7 +1964,7 @@ dependencies = [ "semver 1.0.23", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -1371,9 +1993,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.1.36" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baee610e9452a8f6f0a1b6194ec09ff9e2d85dea54432acdae41aa0761c95d70" +checksum = "fd9de9f2205d5ef3fd67e685b0df337994ddd4495e2a28d185500d0e1edfea47" dependencies = [ "jobserver", "libc", @@ -1416,12 +2038,6 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" -[[package]] -name = "cfg_aliases" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" - [[package]] name = "chacha" version = "0.3.0" @@ -1567,7 +2183,7 @@ checksum = "b823f24e72fa0c68aa14a250ae1c0848e68d4ae188b71c3972343e45b46f8644" dependencies = [ "libc", "opencl-sys", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -1583,9 +2199,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.20" +version = "4.5.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b97f376d85a664d5837dbae44bf546e6477a679ff6610010f17276f686d867e8" +checksum = "fb3b4b9e5a7c7514dfa52869339ee98b3156b0bfb4e8a77c4ff4babb64b1604f" dependencies = [ "clap_builder", "clap_derive", @@ -1593,14 +2209,14 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.20" +version = "4.5.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19bc80abd44e4bed93ca373a0704ccbd1b710dc5749406201bb018272808dc54" +checksum = "b17a95aa67cc7b5ebd32aa5370189aa0d79069ef1c64ce893bd30fb24bff20ec" dependencies = [ "anstream", "anstyle", "clap_lex", - "strsim 0.11.1", + "strsim", "terminal_size", ] @@ -1613,14 +2229,14 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "clap_lex" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97" +checksum = "afb84c814227b90d6895e01398aee0d8033c00e7466aca416fb6a8e0eb19d8a7" [[package]] name = "coarsetime" @@ -1640,28 +2256,28 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" dependencies = [ "termcolor", - "unicode-width", + "unicode-width 0.1.14", ] [[package]] name = "color-print" -version = "0.3.6" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ee543c60ff3888934877a5671f45494dd27ed4ba25c6670b9a7576b7ed7a8c0" +checksum = "3aa954171903797d5623e047d9ab69d91b493657917bdfb8c2c80ecaf9cdb6f4" dependencies = [ "color-print-proc-macro", ] [[package]] name = "color-print-proc-macro" -version = "0.3.6" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77ff1a80c5f3cb1ca7c06ffdd71b6a6dd6d8f896c42141fbd43f50ed28dcdb93" +checksum = "692186b5ebe54007e45a59aea47ece9eb4108e141326c304cdc91699a7118a22" dependencies = [ "nom", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -1682,13 +2298,13 @@ dependencies = [ [[package]] name = "comfy-table" -version = "7.1.1" +version = "7.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b34115915337defe99b2aff5c2ce6771e5fbc4079f4b506301f5cf394c8452f7" +checksum = "24f165e7b643266ea80cb858aed492ad9280e3e05ce24d4a99d7d7b889b6a4d9" dependencies = [ "strum 0.26.3", "strum_macros 0.26.4", - "unicode-width", + "unicode-width 0.2.0", ] [[package]] @@ -1729,10 +2345,23 @@ dependencies = [ "encode_unicode", "lazy_static", "libc", - "unicode-width", + "unicode-width 0.1.14", "windows-sys 0.52.0", ] +[[package]] +name = "const-hex" +version = "1.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0121754e84117e65f9d90648ee6aa4882a6e63110307ab73967a4c5e7e69e586" +dependencies = [ + "cfg-if", + "cpufeatures", + "hex", + "proptest", + "serde", +] + [[package]] name = "const-oid" version = "0.9.6" @@ -1829,9 +2458,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.14" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "608697df725056feaccfa42cffdaeeec3fccc4ffc38358ecd19b243e716a78e0" +checksum = "0ca741a962e1b0bff6d724a1a0958b686406e853bb14061f218562e1896f95e6" dependencies = [ "libc", ] @@ -2101,6 +2730,21 @@ dependencies = [ "subtle 2.6.1", ] +[[package]] +name = "crypto_secretbox" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9d6cf87adf719ddf43a805e92c6870a531aedda35ff640442cbaf8674e141e1" +dependencies = [ + "aead", + "cipher 0.4.4", + "generic-array 0.14.7", + "poly1305", + "salsa20", + "subtle 2.6.1", + "zeroize", +] + [[package]] name = "ctr" version = "0.9.2" @@ -2112,8 +2756,8 @@ dependencies = [ [[package]] name = "cumulus-client-cli" -version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.18.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "clap", "parity-scale-codec", @@ -2122,46 +2766,46 @@ dependencies = [ "sc-client-api", "sc-service", "sp-blockchain", - "sp-core 34.0.0", - "sp-runtime 39.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", "url", ] [[package]] name = "cumulus-client-collator" -version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.18.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", - "cumulus-primitives-core", + "cumulus-primitives-core 0.16.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "futures", "parity-scale-codec", "parking_lot 0.12.3", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-overseer", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sc-client-api", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-consensus", - "sp-core 34.0.0", - "sp-runtime 39.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", "tracing", ] [[package]] name = "cumulus-client-consensus-aura" -version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.18.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", "cumulus-client-collator", "cumulus-client-consensus-common", "cumulus-client-consensus-proposer", "cumulus-client-parachain-inherent", - "cumulus-primitives-aura", - "cumulus-primitives-core", + "cumulus-primitives-aura 0.15.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "cumulus-primitives-core 0.16.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "cumulus-relay-chain-interface", "futures", "parity-scale-codec", @@ -2169,7 +2813,7 @@ dependencies = [ "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-overseer", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sc-client-api", "sc-consensus", "sc-consensus-aura", @@ -2178,18 +2822,18 @@ dependencies = [ "sc-telemetry", "sc-utils", "schnellru", - "sp-api", - "sp-application-crypto 38.0.0", - "sp-block-builder", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-block-builder 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", "sp-consensus", - "sp-consensus-aura", - "sp-core 34.0.0", - "sp-inherents", - "sp-keystore 0.40.0", - "sp-runtime 39.0.0", - "sp-state-machine 0.43.0", - "sp-timestamp", + "sp-consensus-aura 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-timestamp 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "substrate-prometheus-endpoint", "tokio", "tracing", @@ -2197,53 +2841,53 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" -version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.18.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", "cumulus-client-pov-recovery", - "cumulus-primitives-core", + "cumulus-primitives-core 0.16.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "cumulus-relay-chain-interface", "dyn-clone", "futures", "log", "parity-scale-codec", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sc-client-api", "sc-consensus", "sc-consensus-babe", "schnellru", "sp-blockchain", "sp-consensus", - "sp-consensus-slots", - "sp-core 34.0.0", - "sp-runtime 39.0.0", - "sp-timestamp", - "sp-trie 37.0.0", - "sp-version", + "sp-consensus-slots 0.40.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-timestamp 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "substrate-prometheus-endpoint", "tracing", ] [[package]] name = "cumulus-client-consensus-proposer" -version = "0.15.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.16.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "anyhow", "async-trait", - "cumulus-primitives-parachain-inherent", + "cumulus-primitives-parachain-inherent 0.16.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-consensus", - "sp-inherents", - "sp-runtime 39.0.0", - "sp-state-machine 0.43.0", - "thiserror", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", ] [[package]] name = "cumulus-client-network" -version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.18.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -2253,48 +2897,48 @@ dependencies = [ "parking_lot 0.12.3", "polkadot-node-primitives", "polkadot-node-subsystem", - "polkadot-parachain-primitives", - "polkadot-primitives", + "polkadot-parachain-primitives 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sc-client-api", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", "sp-consensus", - "sp-core 34.0.0", - "sp-runtime 39.0.0", - "sp-state-machine 0.43.0", - "sp-version", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "tracing", ] [[package]] name = "cumulus-client-parachain-inherent" -version = "0.11.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.12.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", - "cumulus-primitives-core", - "cumulus-primitives-parachain-inherent", + "cumulus-primitives-core 0.16.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "cumulus-primitives-parachain-inherent 0.16.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "cumulus-relay-chain-interface", - "cumulus-test-relay-sproof-builder", + "cumulus-test-relay-sproof-builder 0.16.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "parity-scale-codec", "sc-client-api", - "sp-api", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "sp-inherents", - "sp-runtime 39.0.0", - "sp-state-machine 0.43.0", - "sp-storage 21.0.0", - "sp-trie 37.0.0", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-storage 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "tracing", ] [[package]] name = "cumulus-client-pov-recovery" -version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.18.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", - "cumulus-primitives-core", + "cumulus-primitives-core 0.16.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "cumulus-relay-chain-interface", "futures", "futures-timer", @@ -2302,35 +2946,35 @@ dependencies = [ "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-overseer", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "rand", "sc-client-api", "sc-consensus", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-consensus", - "sp-maybe-compressed-blob", - "sp-runtime 39.0.0", - "sp-version", + "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "tracing", ] [[package]] name = "cumulus-client-service" -version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.19.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", "cumulus-client-consensus-common", "cumulus-client-network", "cumulus-client-pov-recovery", - "cumulus-primitives-core", - "cumulus-primitives-proof-size-hostfunction", + "cumulus-primitives-core 0.16.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "cumulus-primitives-proof-size-hostfunction 0.10.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "cumulus-relay-chain-inprocess-interface", "cumulus-relay-chain-interface", "cumulus-relay-chain-minimal-node", "futures", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sc-client-api", "sc-consensus", "sc-network", @@ -2342,229 +2986,497 @@ dependencies = [ "sc-telemetry", "sc-transaction-pool", "sc-utils", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", "sp-consensus", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", - "sp-transaction-pool", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-transaction-pool 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] name = "cumulus-pallet-aura-ext" -version = "0.16.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2cbe2735fc7cf2b6521eab00cb1a1ab025abc1575cc36887b36dc8c5cb1c9434" +dependencies = [ + "cumulus-pallet-parachain-system 0.17.1 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-aura 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-timestamp 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-aura 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "cumulus-pallet-aura-ext" +version = "0.17.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "cumulus-pallet-parachain-system 0.17.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-aura 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-timestamp 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "scale-info", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-consensus-aura 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "cumulus-pallet-dmp-queue" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97263a8e758d201ebe81db7cea7b278b4fb869c11442f77acef70138ac1a252f" dependencies = [ - "cumulus-pallet-parachain-system", - "frame-support", - "frame-system", - "pallet-aura", - "pallet-timestamp", + "cumulus-primitives-core 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", "parity-scale-codec", "scale-info", - "sp-application-crypto 38.0.0", - "sp-consensus-aura", - "sp-runtime 39.0.0", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "cumulus-pallet-parachain-system" -version = "0.16.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "546403ee1185f4051a74cc9c9d76e82c63cac3fb68e1bf29f61efb5604c96488" +dependencies = [ + "bytes", + "cumulus-pallet-parachain-system-proc-macro 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cumulus-primitives-core 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cumulus-primitives-parachain-inherent 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cumulus-primitives-proof-size-hostfunction 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "environmental", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "impl-trait-for-tuples", + "log", + "pallet-message-queue 41.0.2 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "polkadot-parachain-primitives 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-runtime-common 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-runtime-parachains 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-state-machine 0.43.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-version 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-builder 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "trie-db", +] + +[[package]] +name = "cumulus-pallet-parachain-system" +version = "0.17.1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "bytes", - "cumulus-pallet-parachain-system-proc-macro", - "cumulus-primitives-core", - "cumulus-primitives-parachain-inherent", - "cumulus-primitives-proof-size-hostfunction", + "cumulus-pallet-parachain-system-proc-macro 0.6.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "cumulus-primitives-core 0.16.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "cumulus-primitives-parachain-inherent 0.16.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "cumulus-primitives-proof-size-hostfunction 0.10.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "environmental", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "impl-trait-for-tuples", "log", - "pallet-message-queue", + "pallet-message-queue 41.0.2 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "parity-scale-codec", - "polkadot-parachain-primitives", - "polkadot-runtime-common", - "polkadot-runtime-parachains", + "polkadot-parachain-primitives 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "polkadot-runtime-common 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "polkadot-runtime-parachains 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "scale-info", - "sp-core 34.0.0", - "sp-externalities 0.29.0", - "sp-inherents", - "sp-io 38.0.0", - "sp-runtime 39.0.0", - "sp-state-machine 0.43.0", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "sp-trie 37.0.0", - "sp-version", - "staging-xcm", - "staging-xcm-builder", - "trie-db 0.29.1", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm 14.2.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm-builder 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "trie-db", ] [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "befbaf3a1ce23ac8476481484fef5f4d500cbd15b4dad6380ce1d28134b0c1f7" dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] -name = "cumulus-pallet-session-benchmarking" -version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "cumulus-pallet-parachain-system-proc-macro" +version = "0.6.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "pallet-session", - "parity-scale-codec", - "sp-runtime 39.0.0", + "proc-macro-crate 3.2.0", + "proc-macro2", + "quote", + "syn 2.0.89", ] [[package]] -name = "cumulus-pallet-xcm" -version = "0.16.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "cumulus-pallet-session-benchmarking" +version = "19.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18168570689417abfb514ac8812fca7e6429764d01942750e395d7d8ce0716ef" dependencies = [ - "cumulus-primitives-core", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-session 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", - "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.0", - "staging-xcm", + "sp-runtime 39.0.2", ] [[package]] -name = "cumulus-pallet-xcmp-queue" -version = "0.16.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "cumulus-pallet-session-benchmarking" +version = "19.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "bounded-collections", - "bp-xcm-bridge-hub-router", - "cumulus-primitives-core", - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "pallet-message-queue", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-session 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "parity-scale-codec", - "polkadot-runtime-common", - "polkadot-runtime-parachains", - "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", - "staging-xcm", - "staging-xcm-builder", - "staging-xcm-executor", + "sp-runtime 39.0.1", ] [[package]] -name = "cumulus-primitives-aura" -version = "0.15.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "cumulus-pallet-solo-to-para" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f42c74548c8cab75da6f2479a953f044b582cfce98479862344a24df7bbd215" dependencies = [ + "cumulus-pallet-parachain-system 0.17.1 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-sudo 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", - "polkadot-core-primitives", - "polkadot-primitives", - "sp-api", - "sp-consensus-aura", - "sp-runtime 39.0.0", + "polkadot-primitives 16.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "scale-info", + "sp-runtime 39.0.2", ] [[package]] -name = "cumulus-primitives-core" -version = "0.15.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "cumulus-pallet-xcm" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e49231f6cd8274438b078305dc8ce44c54c0d3f4a28e902589bcbaa53d954608" dependencies = [ + "cumulus-primitives-core 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", - "polkadot-core-primitives", - "polkadot-parachain-primitives", - "polkadot-primitives", "scale-info", - "sp-api", - "sp-runtime 39.0.0", - "sp-trie 37.0.0", - "staging-xcm", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "cumulus-primitives-parachain-inherent" -version = "0.15.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "cumulus-pallet-xcm" +version = "0.17.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "async-trait", - "cumulus-primitives-core", + "cumulus-primitives-core 0.16.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-inherents", - "sp-runtime 39.0.0", - "sp-state-machine 0.43.0", - "sp-trie 37.0.0", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "staging-xcm 14.2.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] -name = "cumulus-primitives-proof-size-hostfunction" -version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "cumulus-pallet-xcmp-queue" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f788bdac9474795ea13ba791b55798fb664b2e3da8c3a7385b480c9af4e6539" dependencies = [ - "sp-externalities 0.29.0", - "sp-runtime-interface 28.0.0", - "sp-trie 37.0.0", + "bounded-collections", + "bp-xcm-bridge-hub-router 0.14.1 (registry+https://github.com/rust-lang/crates.io-index)", + "cumulus-primitives-core 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "pallet-message-queue 41.0.2 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "polkadot-runtime-common 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-runtime-parachains 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-builder 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-executor 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "cumulus-pallet-xcmp-queue" +version = "0.17.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "bounded-collections", + "bp-xcm-bridge-hub-router 0.14.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "cumulus-primitives-core 0.16.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "pallet-message-queue 41.0.2 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "polkadot-runtime-common 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "polkadot-runtime-parachains 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "scale-info", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "staging-xcm 14.2.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm-builder 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm-executor 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "cumulus-ping" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f47128f797359951723e2d106a80e592d007bb7446c299958cdbafb1489ddbf0" +dependencies = [ + "cumulus-pallet-xcm 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cumulus-primitives-core 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.2", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "cumulus-primitives-aura" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11e7825bcf3cc6c962a5b9b9f47e02dc381109e521d0bc00cad785c65da18471" +dependencies = [ + "parity-scale-codec", + "polkadot-core-primitives 15.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-primitives 15.0.0", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-aura 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "cumulus-primitives-aura" +version = "0.15.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-consensus-aura 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "cumulus-primitives-core" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c6b5221a4a3097f2ebef66c84c1e6d7a0b8ec7e63f2bd5ae04c1e6d3fc7514e" +dependencies = [ + "parity-scale-codec", + "polkadot-core-primitives 15.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-parachain-primitives 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-primitives 16.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "scale-info", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "cumulus-primitives-core" +version = "0.16.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "parity-scale-codec", + "polkadot-core-primitives 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "polkadot-parachain-primitives 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "scale-info", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm 14.2.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "cumulus-primitives-parachain-inherent" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "842a694901e04a62d88995418dec35c22f7dba2b34d32d2b8de37d6b92f973ff" +dependencies = [ + "async-trait", + "cumulus-primitives-core 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "cumulus-primitives-parachain-inherent" +version = "0.16.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "async-trait", + "cumulus-primitives-core 0.16.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "cumulus-primitives-proof-size-hostfunction" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "421f03af054aac7c89e87a49e47964886e53a8d7395990eab27b6f201d42524f" +dependencies = [ + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "cumulus-primitives-proof-size-hostfunction" +version = "0.10.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime-interface 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] name = "cumulus-primitives-storage-weight-reclaim" -version = "7.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "8.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6fc49dfec0ba3438afad73787736cc0dba88d15b5855881f12a4d8b812a72927" dependencies = [ - "cumulus-primitives-core", - "cumulus-primitives-proof-size-hostfunction", + "cumulus-primitives-core 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cumulus-primitives-proof-size-hostfunction 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", "docify", - "frame-support", - "frame-system", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "log", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.0", + "sp-runtime 39.0.2", ] [[package]] -name = "cumulus-primitives-utility" +name = "cumulus-primitives-storage-weight-reclaim" +version = "8.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "cumulus-primitives-core 0.16.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "cumulus-primitives-proof-size-hostfunction 0.10.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "docify", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.1", +] + +[[package]] +name = "cumulus-primitives-timestamp" version = "0.16.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33cffb8f010f39ac36b31d38994b8f9d9256d9b5e495d96b4ec59d3e30852d53" +dependencies = [ + "cumulus-primitives-core 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-timestamp 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "cumulus-primitives-utility" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bdcf4d46dd93f1e6d5dd6d379133566a44042ba6476d04bdcbdb4981c622ae4" dependencies = [ - "cumulus-primitives-core", - "frame-support", + "cumulus-primitives-core 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "log", - "pallet-asset-conversion", + "pallet-asset-conversion 20.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", - "polkadot-runtime-common", - "polkadot-runtime-parachains", - "sp-io 38.0.0", - "sp-runtime 39.0.0", - "staging-xcm", - "staging-xcm-builder", - "staging-xcm-executor", + "polkadot-runtime-common 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-builder 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-executor 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "cumulus-relay-chain-inprocess-interface" +name = "cumulus-primitives-utility" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "cumulus-primitives-core 0.16.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "pallet-asset-conversion 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "polkadot-runtime-common 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "staging-xcm 14.2.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm-builder 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm-executor 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "cumulus-relay-chain-inprocess-interface" +version = "0.19.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", - "cumulus-primitives-core", + "cumulus-primitives-core 0.16.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "cumulus-relay-chain-interface", "futures", "futures-timer", @@ -2575,49 +3487,49 @@ dependencies = [ "sc-sysinfo", "sc-telemetry", "sc-tracing", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-consensus", - "sp-core 34.0.0", - "sp-runtime 39.0.0", - "sp-state-machine 0.43.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] name = "cumulus-relay-chain-interface" -version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.18.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", - "cumulus-primitives-core", + "cumulus-primitives-core 0.16.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "futures", - "jsonrpsee-core 0.23.2", + "jsonrpsee-core", "parity-scale-codec", "polkadot-overseer", "sc-client-api", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", - "sp-state-machine 0.43.0", - "sp-version", - "thiserror", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", ] [[package]] name = "cumulus-relay-chain-minimal-node" -version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.19.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "array-bytes", "async-trait", - "cumulus-primitives-core", + "cumulus-primitives-core 0.16.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "cumulus-relay-chain-interface", "cumulus-relay-chain-rpc-interface", "futures", - "polkadot-core-primitives", + "polkadot-core-primitives 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "polkadot-network-bridge", "polkadot-node-network-protocol", "polkadot-node-subsystem-util", "polkadot-overseer", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "polkadot-service", "sc-authority-discovery", "sc-client-api", @@ -2626,11 +3538,11 @@ dependencies = [ "sc-service", "sc-tracing", "sc-utils", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", "sp-consensus", - "sp-consensus-babe", - "sp-runtime 39.0.0", + "sp-consensus-babe 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", "substrate-prometheus-endpoint", "tokio", "tracing", @@ -2638,16 +3550,16 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-rpc-interface" -version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.18.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", - "cumulus-primitives-core", + "cumulus-primitives-core 0.16.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "cumulus-relay-chain-interface", "either", "futures", "futures-timer", - "jsonrpsee 0.23.2", + "jsonrpsee", "parity-scale-codec", "pin-project", "polkadot-overseer", @@ -2660,15 +3572,15 @@ dependencies = [ "serde_json", "smoldot 0.11.0", "smoldot-light 0.9.0", - "sp-api", - "sp-authority-discovery", - "sp-consensus-babe", - "sp-core 34.0.0", - "sp-runtime 39.0.0", - "sp-state-machine 0.43.0", - "sp-storage 21.0.0", - "sp-version", - "thiserror", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-authority-discovery 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-consensus-babe 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-storage 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", "tokio", "tokio-util", "tracing", @@ -2677,15 +3589,29 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" -version = "0.15.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e570e41c3f05a8143ebff967bbb0c7dcaaa6f0bebd8639b9418b8005b13eda03" +dependencies = [ + "cumulus-primitives-core 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "polkadot-primitives 16.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-state-machine 0.43.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "cumulus-test-relay-sproof-builder" +version = "0.16.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "cumulus-primitives-core", + "cumulus-primitives-core 0.16.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "parity-scale-codec", - "polkadot-primitives", - "sp-runtime 39.0.0", - "sp-state-machine 0.43.0", - "sp-trie 37.0.0", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] @@ -2725,7 +3651,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -2743,9 +3669,9 @@ dependencies = [ [[package]] name = "cxx" -version = "1.0.129" +version = "1.0.130" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbdc8cca144dce1c4981b5c9ab748761619979e515c3d53b5df385c677d1d007" +checksum = "23c042a0ba58aaff55299632834d1ea53ceff73d62373f62c9ae60890ad1b942" dependencies = [ "cc", "cxxbridge-flags", @@ -2755,44 +3681,34 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.129" +version = "1.0.130" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5764c3142ab44fcf857101d12c0ddf09c34499900557c764f5ad0597159d1fc" +checksum = "45dc1c88d0fdac57518a9b1f6c4f4fb2aca8f3c30c0d03d7d8518b47ca0bcea6" dependencies = [ "cc", "codespan-reporting", - "once_cell", "proc-macro2", "quote", "scratch", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "cxxbridge-flags" -version = "1.0.129" +version = "1.0.130" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d422aff542b4fa28c2ce8e5cc202d42dbf24702345c1fba3087b2d3f8a1b90ff" +checksum = "aa7ed7d30b289e2592cc55bc2ccd89803a63c913e008e6eb59f06cddf45bb52f" [[package]] name = "cxxbridge-macro" -version = "1.0.129" +version = "1.0.130" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1719100f31492cd6adeeab9a0f46cdbc846e615fdb66d7b398aa46ec7fdd06f" +checksum = "0b8c465d22de46b851c04630a5fc749a26005b263632ed2e0d9cc81518ead78d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", -] - -[[package]] -name = "darling" -version = "0.14.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b750cb3417fd1b327431a470f388520309479ab0bf5e323505daf0290cd3850" -dependencies = [ - "darling_core 0.14.4", - "darling_macro 0.14.4", + "rustversion", + "syn 2.0.89", ] [[package]] @@ -2801,22 +3717,8 @@ version = "0.20.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6f63b86c8a8826a49b8c21f08a2d07338eec8d900540f8630dc76284be802989" dependencies = [ - "darling_core 0.20.10", - "darling_macro 0.20.10", -] - -[[package]] -name = "darling_core" -version = "0.14.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "109c1ca6e6b7f82cc233a97004ea8ed7ca123a9af07a8230878fcfda9b158bf0" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2", - "quote", - "strsim 0.10.0", - "syn 1.0.109", + "darling_core", + "darling_macro", ] [[package]] @@ -2829,19 +3731,8 @@ dependencies = [ "ident_case", "proc-macro2", "quote", - "strsim 0.11.1", - "syn 2.0.87", -] - -[[package]] -name = "darling_macro" -version = "0.14.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e" -dependencies = [ - "darling_core 0.14.4", - "quote", - "syn 1.0.109", + "strsim", + "syn 2.0.89", ] [[package]] @@ -2850,9 +3741,9 @@ version = "0.20.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" dependencies = [ - "darling_core 0.20.10", + "darling_core", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -2960,7 +3851,7 @@ checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -2971,7 +3862,7 @@ checksum = "62d671cc41a825ebabc75757b62d3d168c577f9149b2d49ece1dad1f72119d25" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -2984,7 +3875,7 @@ dependencies = [ "proc-macro2", "quote", "rustc_version 0.4.1", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -3004,7 +3895,8 @@ checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", + "unicode-xid", ] [[package]] @@ -3099,7 +3991,7 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -3123,7 +4015,7 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.87", + "syn 2.0.89", "termcolor", "toml 0.8.19", "walkdir", @@ -3147,6 +4039,12 @@ version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dcbb2bf8e87535c23f7a8a321e364ce21462d0ff10cb6407820e8e96dfff6653" +[[package]] +name = "dunce" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" + [[package]] name = "dyn-clonable" version = "0.9.0" @@ -3199,7 +4097,7 @@ dependencies = [ "rayon", "rust-gpu-tools", "sha2 0.10.8", - "thiserror", + "thiserror 1.0.69", "yastl", ] @@ -3222,7 +4120,7 @@ dependencies = [ "rayon", "rust-gpu-tools", "sha2 0.10.8", - "thiserror", + "thiserror 1.0.69", "yastl", ] @@ -3357,7 +4255,7 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -3377,7 +4275,7 @@ checksum = "de0d48a183585823424a4ce1aa132d174a6a81bd540895822eb4c8373a8e49e8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -3388,7 +4286,7 @@ checksum = "2f9ed6b3789237c8a0c1c505af1c7eb2c560df6186f01b098c3a1064ea532f38" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -3470,6 +4368,47 @@ dependencies = [ "libc", ] +[[package]] +name = "ethabi-decode" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09d398648d65820a727d6a81e58b962f874473396a047e4c30bafe3240953417" +dependencies = [ + "ethereum-types", + "tiny-keccak", +] + +[[package]] +name = "ethbloom" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c22d4b5885b6aa2fe5e8b9329fb8d232bf739e434e6b87347c63bdd00c120f60" +dependencies = [ + "crunchy", + "fixed-hash", + "impl-codec 0.6.0", + "impl-rlp", + "impl-serde 0.4.0", + "scale-info", + "tiny-keccak", +] + +[[package]] +name = "ethereum-types" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02d215cbf040552efcbe99a38372fe80ab9d00268e20012b79fcd0f073edd8ee" +dependencies = [ + "ethbloom", + "fixed-hash", + "impl-codec 0.6.0", + "impl-rlp", + "impl-serde 0.4.0", + "primitive-types 0.12.2", + "scale-info", + "uint 0.9.5", +] + [[package]] name = "event-listener" version = "2.5.3" @@ -3487,16 +4426,6 @@ dependencies = [ "pin-project-lite", ] -[[package]] -name = "event-listener" -version = "4.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e" -dependencies = [ - "concurrent-queue", - "pin-project-lite", -] - [[package]] name = "event-listener" version = "5.3.1" @@ -3546,7 +4475,7 @@ checksum = "ce8cd46a041ad005ab9c71263f9a0ff5b529eac0fe4cc9b4a20f4f0765d8cf4b" dependencies = [ "execute-command-tokens", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -3576,7 +4505,7 @@ dependencies = [ "prettyplease 0.2.25", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -3608,9 +4537,20 @@ dependencies = [ [[package]] name = "fastrand" -version = "2.1.1" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "486f806e73c5707928240ddc295403b1b93c96a02038563881c4a2fd84b81ac4" + +[[package]] +name = "fastrlp" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6" +checksum = "139834ddba373bbdd213dffe02c8d110508dcf1726c2be27e8d1f7d7e1856418" +dependencies = [ + "arrayvec 0.7.6", + "auto_impl", + "bytes", +] [[package]] name = "fatality" @@ -3619,7 +4559,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec6f82451ff7f0568c6181287189126d492b5654e30a788add08027b6363d019" dependencies = [ "fatality-proc-macro", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -3633,7 +4573,7 @@ dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -3652,7 +4592,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e182f7dbc2ef73d9ef67351c5fbbea084729c48362d3ce9dd44c28e32e277fe5" dependencies = [ "libc", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -3775,16 +4715,6 @@ dependencies = [ "scale-info", ] -[[package]] -name = "finito" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2384245d85162258a14b43567a9ee3598f5ae746a1581fb5d3d2cb780f0dbf95" -dependencies = [ - "futures-timer", - "pin-project", -] - [[package]] name = "fixed-hash" version = "0.8.0" @@ -3805,9 +4735,9 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "flate2" -version = "1.0.34" +version = "1.0.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1b589b4dc103969ad3cf85c950899926ec64300a1a46d76c03a6072957036f0" +checksum = "c936bfdafb507ebbf50b8074c54fa31c5be9a1e7e5f467dd659697041407d07c" dependencies = [ "crc32fast", "miniz_oxide", @@ -3861,7 +4791,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "parity-scale-codec", ] @@ -3882,7 +4812,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8835f84f38484cc86f110a805655697908257fb9a7af005234060891557198e9" dependencies = [ "nonempty", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -3896,7 +4826,7 @@ dependencies = [ "byte-slice-cast", "byteorder", "ff", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -3907,41 +4837,66 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a01bdd47c2d541b38bd892da647d1e972c9d85b4ecd7094ad64f7600175da54d" +dependencies = [ + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support-procedural 30.0.4", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "linregress", + "log", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-storage 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "static_assertions", +] + +[[package]] +name = "frame-benchmarking" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "frame-support", - "frame-support-procedural", - "frame-system", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support-procedural 30.0.3", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "linregress", "log", "parity-scale-codec", "paste", "scale-info", "serde", - "sp-api", - "sp-application-crypto 38.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", - "sp-runtime-interface 28.0.0", - "sp-storage 21.0.0", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-runtime-interface 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-storage 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "static_assertions", ] [[package]] name = "frame-benchmarking-cli" -version = "42.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "43.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "Inflector", "array-bytes", "chrono", "clap", "comfy-table", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "gethostname", "handlebars", "itertools 0.11.0", @@ -3956,83 +4911,149 @@ dependencies = [ "sc-cli", "sc-client-api", "sc-client-db", - "sc-executor", + "sc-executor 0.40.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sc-service", "sc-sysinfo", "serde", "serde_json", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", - "sp-core 34.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-database", - "sp-externalities 0.29.0", - "sp-genesis-builder", - "sp-inherents", - "sp-io 38.0.0", - "sp-keystore 0.40.0", - "sp-runtime 39.0.0", - "sp-state-machine 0.43.0", - "sp-storage 21.0.0", - "sp-trie 37.0.0", - "sp-wasm-interface 21.0.0", - "thiserror", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-genesis-builder 0.15.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-storage 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-wasm-interface 21.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", "thousands", ] [[package]] -name = "frame-election-provider-solution-type" -version = "14.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" -dependencies = [ - "proc-macro-crate 3.2.0", - "proc-macro2", - "quote", - "syn 2.0.87", -] - -[[package]] -name = "frame-election-provider-support" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "frame-benchmarking-pallet-pov" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ffde6f573a63eeb1ccb7d2667c5741a11ce93bc30f33712e5326b9d8a811c29" dependencies = [ - "frame-election-provider-solution-type", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", "scale-info", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-npos-elections", - "sp-runtime 39.0.0", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", ] [[package]] -name = "frame-executive" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "frame-decode" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02d3379df61ff3dd871e2dde7d1bcdc0263e613c21c7579b149fd4f0ad9b1dc2" dependencies = [ - "aquamarine", - "frame-support", - "frame-system", - "frame-try-runtime", - "log", + "frame-metadata 17.0.0", "parity-scale-codec", + "scale-decode", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", - "sp-tracing 17.0.0", + "scale-type-resolver", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "frame-metadata" -version = "15.1.0" +name = "frame-election-provider-solution-type" +version = "14.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "878babb0b136e731cc77ec2fd883ff02745ff21e6fb662729953d44923df009c" +checksum = "8156f209055d352994ecd49e19658c6b469d7c6de923bd79868957d0dcfb6f71" dependencies = [ - "cfg-if", - "parity-scale-codec", - "scale-info", + "proc-macro-crate 3.2.0", + "proc-macro2", + "quote", + "syn 2.0.89", +] + +[[package]] +name = "frame-election-provider-solution-type" +version = "14.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "proc-macro-crate 3.2.0", + "proc-macro2", + "quote", + "syn 2.0.89", +] + +[[package]] +name = "frame-election-provider-support" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c36f5116192c63d39f1b4556fa30ac7db5a6a52575fa241b045f7dfa82ecc2be" +dependencies = [ + "frame-election-provider-solution-type 14.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-npos-elections 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "frame-election-provider-support" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-election-provider-solution-type 14.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "scale-info", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-npos-elections 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "frame-executive" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c365bf3879de25bbee28e9584096955a02fbe8d7e7624e10675800317f1cee5b" +dependencies = [ + "aquamarine", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-try-runtime 0.44.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-tracing 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "frame-executive" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "aquamarine", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-try-runtime 0.44.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-tracing 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] @@ -4047,25 +5068,95 @@ dependencies = [ "serde", ] +[[package]] +name = "frame-metadata" +version = "17.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "701bac17e9b55e0f95067c428ebcb46496587f08e8cf4ccc0fe5903bea10dbb8" +dependencies = [ + "cfg-if", + "parity-scale-codec", + "scale-info", + "serde", +] + [[package]] name = "frame-metadata-hash-extension" -version = "0.5.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56ac71dbd97039c49fdd69f416a4dd5d8da3652fdcafc3738b45772ad79eb4ec" +dependencies = [ + "array-bytes", + "docify", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.2", +] + +[[package]] +name = "frame-metadata-hash-extension" +version = "0.6.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "array-bytes", "docify", - "frame-support", - "frame-system", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "log", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.0", + "sp-runtime 39.0.1", ] [[package]] name = "frame-support" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e44af69fa61bc5005ffe0339e198957e77f0f255704a9bee720da18a733e3dc" +dependencies = [ + "aquamarine", + "array-bytes", + "bitflags 1.3.2", + "docify", + "environmental", + "frame-metadata 16.0.0", + "frame-support-procedural 30.0.4", + "impl-trait-for-tuples", + "k256", + "log", + "macro_magic", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "serde_json", + "smallvec", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-crypto-hashing-proc-macro 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-debug-derive 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-genesis-builder 0.15.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-metadata-ir 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-staking 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-state-machine 0.43.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-tracing 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "static_assertions", + "tt-call", +] + +[[package]] +name = "frame-support" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "aquamarine", "array-bytes", @@ -4073,7 +5164,7 @@ dependencies = [ "docify", "environmental", "frame-metadata 16.0.0", - "frame-support-procedural", + "frame-support-procedural 30.0.3", "impl-trait-for-tuples", "k256", "log", @@ -4084,119 +5175,223 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-api", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-crypto-hashing-proc-macro", - "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "sp-genesis-builder", - "sp-inherents", - "sp-io 38.0.0", - "sp-metadata-ir", - "sp-runtime 39.0.0", - "sp-staking", - "sp-state-machine 0.43.0", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "sp-tracing 17.0.0", - "sp-weights 31.0.0", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-crypto-hashing-proc-macro 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-genesis-builder 0.15.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-metadata-ir 0.7.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-staking 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-tracing 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-weights 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "static_assertions", "tt-call", ] [[package]] name = "frame-support-procedural" -version = "30.0.2" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "30.0.3" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "Inflector", + "cfg-expr", + "derive-syn-parse", + "docify", + "expander", + "frame-support-procedural-tools 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "itertools 0.11.0", + "macro_magic", + "proc-macro-warning 1.0.2", + "proc-macro2", + "quote", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "syn 2.0.89", +] + +[[package]] +name = "frame-support-procedural" +version = "30.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e8f9b6bc1517a6fcbf0b2377e5c8c6d39f5bb7862b191a59a9992081d63972d" dependencies = [ "Inflector", "cfg-expr", "derive-syn-parse", "expander", - "frame-support-procedural-tools", + "frame-support-procedural-tools 13.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "itertools 0.11.0", "macro_magic", "proc-macro-warning 1.0.2", "proc-macro2", "quote", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "syn 2.0.87", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 2.0.89", +] + +[[package]] +name = "frame-support-procedural-tools" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bead15a320be1764cdd50458c4cfacb23e0cee65f64f500f8e34136a94c7eeca" +dependencies = [ + "frame-support-procedural-tools-derive 12.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro-crate 3.2.0", + "proc-macro2", + "quote", + "syn 2.0.89", ] [[package]] name = "frame-support-procedural-tools" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "frame-support-procedural-tools-derive", + "frame-support-procedural-tools-derive 12.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "frame-support-procedural-tools-derive" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed971c6435503a099bdac99fe4c5bea08981709e5b5a0a8535a1856f48561191" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.89", +] + +[[package]] +name = "frame-support-procedural-tools-derive" +version = "12.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", +] + +[[package]] +name = "frame-system" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3c7fa02f8c305496d2ae52edaecdb9d165f11afa965e05686d7d7dd1ce93611" +dependencies = [ + "cfg-if", + "docify", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-version 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "frame-system" -version = "37.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "cfg-if", "docify", - "frame-support", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "sp-version", - "sp-weights 31.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-weights 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] name = "frame-system-benchmarking" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9693b2a736beb076e673520e1e8dee4fc128b8d35b020ef3e8a4b1b5ad63d9f2" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "frame-system-benchmarking" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-runtime 39.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "frame-system-rpc-runtime-api" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "475c4f8604ba7e4f05cd2c881ba71105093e638b9591ec71a8db14a64b3b4ec3" +dependencies = [ + "docify", + "parity-scale-codec", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "frame-system-rpc-runtime-api" version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "docify", "parity-scale-codec", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] name = "frame-try-runtime" -version = "0.43.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.44.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83c811a5a1f5429c7fb5ebbf6cf9502d8f9b673fd395c12cf46c44a30a7daf0e" +dependencies = [ + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "frame-try-runtime" +version = "0.44.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "frame-support", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "parity-scale-codec", - "sp-api", - "sp-runtime 39.0.0", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", ] [[package]] @@ -4224,7 +5419,7 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "29f9df8a11882c4e3335eb2d18a0137c505d9ca927470b0cac9c6f0ae07d28f7" dependencies = [ - "rustix 0.38.39", + "rustix 0.38.41", "windows-sys 0.48.0", ] @@ -4310,11 +5505,11 @@ dependencies = [ [[package]] name = "futures-lite" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f1fa2f9765705486b33fd2acf1577f8ec449c2ba1f318ae5447697b7c08d210" +checksum = "cef40d21ae2c515b51041df9ed313ed21e572df340ea58a922a0aefe7e8891a1" dependencies = [ - "fastrand 2.1.1", + "fastrand 2.2.0", "futures-core", "futures-io", "parking", @@ -4329,7 +5524,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -4550,9 +5745,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.4.6" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "524e8ac6999421f49a846c2d4411f337e53497d8ec55d67753beffa43c5d9205" +checksum = "ccae279728d634d083c00f6099cb58f01cc99c145b84b8be2f6c74618d79922e" dependencies = [ "atomic-waker", "bytes", @@ -4588,7 +5783,7 @@ dependencies = [ "pest_derive", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -4694,6 +5889,15 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "212ab92002354b4819390025006c897e8140934349e8635c9b077f47b4dcbd20" +[[package]] +name = "hex-conservative" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5313b072ce3c597065a808dbf612c4c8e8590bdbf8b579508bf7a762c5eae6cd" +dependencies = [ + "arrayvec 0.7.6", +] + [[package]] name = "hex-literal" version = "0.4.1" @@ -4880,14 +6084,14 @@ dependencies = [ [[package]] name = "hyper" -version = "1.5.0" +version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbbff0a806a4728c99295b254c8838933b5b082d75e3cb70c8dab21fdfbcfa9a" +checksum = "97818827ef4f364230e16705d4706e2897df2bb60617d6ca15d598025a3c481f" dependencies = [ "bytes", "futures-channel", "futures-util", - "h2 0.4.6", + "h2 0.4.7", "http 1.1.0", "http-body 1.0.1", "httparse", @@ -4923,10 +6127,10 @@ checksum = "08afdbb5c31130e3034af566421053ab03787c640246a446327f550d11bcb333" dependencies = [ "futures-util", "http 1.1.0", - "hyper 1.5.0", + "hyper 1.5.1", "hyper-util", "log", - "rustls 0.23.16", + "rustls 0.23.17", "rustls-pki-types", "tokio", "tokio-rustls 0.26.0", @@ -4969,7 +6173,7 @@ dependencies = [ "futures-util", "http 1.1.0", "http-body 1.0.1", - "hyper 1.5.0", + "hyper 1.5.1", "pin-project-lite", "socket2 0.5.7", "tokio", @@ -5115,7 +6319,7 @@ checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -5178,19 +6382,23 @@ dependencies = [ [[package]] name = "if-watch" -version = "3.2.0" +version = "3.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6b0422c86d7ce0e97169cc42e04ae643caf278874a7a3c87b8150a220dc7e1e" +checksum = "cdf9d64cfcf380606e64f9a0bcf493616b65331199f984151a6fa11a7b3cde38" dependencies = [ - "async-io 2.3.4", + "async-io 2.4.0", "core-foundation", "fnv", "futures", "if-addrs", "ipnet", "log", + "netlink-packet-core", + "netlink-packet-route", + "netlink-proto", + "netlink-sys", "rtnetlink", - "system-configuration", + "system-configuration 0.6.1", "tokio", "windows", ] @@ -5223,6 +6431,24 @@ dependencies = [ "parity-scale-codec", ] +[[package]] +name = "impl-codec" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b67aa010c1e3da95bf151bd8b4c059b2ed7e75387cdb969b4f8f2723a43f9941" +dependencies = [ + "parity-scale-codec", +] + +[[package]] +name = "impl-rlp" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f28220f89297a075ddc7245cd538076ee98b01f2a9c23a53a4f1105d5a322808" +dependencies = [ + "rlp", +] + [[package]] name = "impl-serde" version = "0.4.0" @@ -5232,6 +6458,15 @@ dependencies = [ "serde", ] +[[package]] +name = "impl-serde" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a143eada6a1ec4aefa5049037a26a6d597bfd64f8c026d07b77133e02b7dd0b" +dependencies = [ + "serde", +] + [[package]] name = "impl-trait-for-tuples" version = "0.2.2" @@ -5391,7 +6626,7 @@ dependencies = [ "bytes", "ipld-core", "quick-protobuf", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -5473,9 +6708,9 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.11" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" +checksum = "540654e97a3f4470a492cd30ff187bc95d89557a903a2bbf112e2fae98104ef2" [[package]] name = "jni" @@ -5487,7 +6722,7 @@ dependencies = [ "combine", "jni-sys", "log", - "thiserror", + "thiserror 1.0.69", "walkdir", ] @@ -5523,7 +6758,7 @@ checksum = "ec9ad60d674508f3ca8f380a928cfe7b096bc729c4e2dbfe3852bc45da3ab30b" dependencies = [ "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -5536,32 +6771,21 @@ dependencies = [ "pest_derive", "regex", "serde_json", - "thiserror", -] - -[[package]] -name = "jsonrpsee" -version = "0.22.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfdb12a2381ea5b2e68c3469ec604a007b367778cdb14d09612c8069ebd616ad" -dependencies = [ - "jsonrpsee-client-transport 0.22.5", - "jsonrpsee-core 0.22.5", - "jsonrpsee-http-client 0.22.5", - "jsonrpsee-types 0.22.5", + "thiserror 1.0.69", ] [[package]] name = "jsonrpsee" -version = "0.23.2" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b089779ad7f80768693755a031cc14a7766aba707cbe886674e3f79e9b7e47" +checksum = "c5c71d8c1a731cc4227c2f698d377e7848ca12c8a48866fc5e6951c43a4db843" dependencies = [ - "jsonrpsee-core 0.23.2", - "jsonrpsee-http-client 0.23.2", + "jsonrpsee-client-transport", + "jsonrpsee-core", + "jsonrpsee-http-client", "jsonrpsee-proc-macros", "jsonrpsee-server", - "jsonrpsee-types 0.23.2", + "jsonrpsee-types", "jsonrpsee-ws-client", "tokio", "tracing", @@ -5569,41 +6793,20 @@ dependencies = [ [[package]] name = "jsonrpsee-client-transport" -version = "0.22.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4978087a58c3ab02efc5b07c5e5e2803024536106fd5506f558db172c889b3aa" -dependencies = [ - "futures-util", - "http 0.2.12", - "jsonrpsee-core 0.22.5", - "pin-project", - "rustls-native-certs 0.7.3", - "rustls-pki-types", - "soketto 0.7.1", - "thiserror", - "tokio", - "tokio-rustls 0.25.0", - "tokio-util", - "tracing", - "url", -] - -[[package]] -name = "jsonrpsee-client-transport" -version = "0.23.2" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08163edd8bcc466c33d79e10f695cdc98c00d1e6ddfb95cec41b6b0279dd5432" +checksum = "548125b159ba1314104f5bb5f38519e03a41862786aa3925cf349aae9cdd546e" dependencies = [ "base64 0.22.1", "futures-util", "http 1.1.0", - "jsonrpsee-core 0.23.2", + "jsonrpsee-core", "pin-project", - "rustls 0.23.16", + "rustls 0.23.17", "rustls-pki-types", "rustls-platform-verifier", "soketto 0.8.0", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-rustls 0.26.0", "tokio-util", @@ -5613,50 +6816,25 @@ dependencies = [ [[package]] name = "jsonrpsee-core" -version = "0.22.5" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4b257e1ec385e07b0255dde0b933f948b5c8b8c28d42afda9587c3a967b896d" +checksum = "f2882f6f8acb9fdaec7cefc4fd607119a9bd709831df7d7672a1d3b644628280" dependencies = [ - "anyhow", "async-trait", - "beef", + "bytes", "futures-timer", "futures-util", - "hyper 0.14.31", - "jsonrpsee-types 0.22.5", - "pin-project", - "rustc-hash", - "serde", - "serde_json", - "thiserror", - "tokio", - "tokio-stream", - "tracing", -] - -[[package]] -name = "jsonrpsee-core" -version = "0.23.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79712302e737d23ca0daa178e752c9334846b08321d439fd89af9a384f8c830b" -dependencies = [ - "anyhow", - "async-trait", - "beef", - "bytes", - "futures-timer", - "futures-util", - "http 1.1.0", - "http-body 1.0.1", - "http-body-util", - "jsonrpsee-types 0.23.2", - "parking_lot 0.12.3", + "http 1.1.0", + "http-body 1.0.1", + "http-body-util", + "jsonrpsee-types", + "parking_lot 0.12.3", "pin-project", "rand", - "rustc-hash", + "rustc-hash 2.0.0", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-stream", "tracing", @@ -5664,43 +6842,23 @@ dependencies = [ [[package]] name = "jsonrpsee-http-client" -version = "0.22.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ccf93fc4a0bfe05d851d37d7c32b7f370fe94336b52a2f0efc5f1981895c2e5" -dependencies = [ - "async-trait", - "hyper 0.14.31", - "hyper-rustls 0.24.2", - "jsonrpsee-core 0.22.5", - "jsonrpsee-types 0.22.5", - "serde", - "serde_json", - "thiserror", - "tokio", - "tower 0.4.13", - "tracing", - "url", -] - -[[package]] -name = "jsonrpsee-http-client" -version = "0.23.2" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d90064e04fb9d7282b1c71044ea94d0bbc6eff5621c66f1a0bce9e9de7cf3ac" +checksum = "b3638bc4617f96675973253b3a45006933bde93c2fd8a6170b33c777cc389e5b" dependencies = [ "async-trait", "base64 0.22.1", "http-body 1.0.1", - "hyper 1.5.0", + "hyper 1.5.1", "hyper-rustls 0.27.3", "hyper-util", - "jsonrpsee-core 0.23.2", - "jsonrpsee-types 0.23.2", - "rustls 0.23.16", + "jsonrpsee-core", + "jsonrpsee-types", + "rustls 0.23.17", "rustls-platform-verifier", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", "tokio", "tower 0.4.13", "tracing", @@ -5709,38 +6867,37 @@ dependencies = [ [[package]] name = "jsonrpsee-proc-macros" -version = "0.23.2" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7895f186d5921065d96e16bd795e5ca89ac8356ec423fafc6e3d7cf8ec11aee4" +checksum = "c06c01ae0007548e73412c08e2285ffe5d723195bf268bce67b1b77c3bb2a14d" dependencies = [ "heck 0.5.0", "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "jsonrpsee-server" -version = "0.23.2" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "654afab2e92e5d88ebd8a39d6074483f3f2bfdf91c5ac57fe285e7127cdd4f51" +checksum = "82ad8ddc14be1d4290cd68046e7d1d37acd408efed6d3ca08aefcc3ad6da069c" dependencies = [ - "anyhow", "futures-util", "http 1.1.0", "http-body 1.0.1", "http-body-util", - "hyper 1.5.0", + "hyper 1.5.1", "hyper-util", - "jsonrpsee-core 0.23.2", - "jsonrpsee-types 0.23.2", + "jsonrpsee-core", + "jsonrpsee-types", "pin-project", "route-recognizer", "serde", "serde_json", "soketto 0.8.0", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-stream", "tokio-util", @@ -5750,40 +6907,26 @@ dependencies = [ [[package]] name = "jsonrpsee-types" -version = "0.22.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "150d6168405890a7a3231a3c74843f58b8959471f6df76078db2619ddee1d07d" -dependencies = [ - "anyhow", - "beef", - "serde", - "serde_json", - "thiserror", -] - -[[package]] -name = "jsonrpsee-types" -version = "0.23.2" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9c465fbe385238e861fdc4d1c85e04ada6c1fd246161d26385c1b311724d2af" +checksum = "a178c60086f24cc35bb82f57c651d0d25d99c4742b4d335de04e97fa1f08a8a1" dependencies = [ - "beef", "http 1.1.0", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", ] [[package]] name = "jsonrpsee-ws-client" -version = "0.23.2" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c28759775f5cb2f1ea9667672d3fe2b0e701d1f4b7b67954e60afe7fd058b5e" +checksum = "0fe322e0896d0955a3ebdd5bf813571c53fea29edd713bc315b76620b327e86d" dependencies = [ "http 1.1.0", - "jsonrpsee-client-transport 0.23.2", - "jsonrpsee-core 0.23.2", - "jsonrpsee-types 0.23.2", + "jsonrpsee-client-transport", + "jsonrpsee-core", + "jsonrpsee-types", "url", ] @@ -5824,6 +6967,16 @@ dependencies = [ "cpufeatures", ] +[[package]] +name = "keccak-hash" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e1b8590eb6148af2ea2d75f38e7d29f5ca970d5a4df456b3ef19b8b415d0264" +dependencies = [ + "primitive-types 0.13.1", + "tiny-keccak", +] + [[package]] name = "kernel32-sys" version = "0.2.2" @@ -5877,11 +7030,11 @@ dependencies = [ "rand", "rustls 0.21.12", "rustls-pemfile 1.0.4", - "secrecy", + "secrecy 0.8.0", "serde", "serde_json", "serde_yaml", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-tungstenite", "tokio-util", @@ -5904,7 +7057,7 @@ dependencies = [ "once_cell", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -5927,7 +7080,7 @@ dependencies = [ "serde", "serde_json", "smallvec", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-util", "tracing", @@ -5974,7 +7127,7 @@ checksum = "9baa9eeb6e315942429397e617a190f4fdc696ef1ee0342939d641029cbb4ea7" dependencies = [ "enumflags2", "libc", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -5994,9 +7147,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.161" +version = "0.2.164" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e9489c2807c139ffd9c1794f4af0ebe86a828db53ecdc7fea2111d0fed085d1" +checksum = "433bfe06b8c75da9b2e3fbea6e5329ff87748f0b144ef75306e674c3f6f7c13f" [[package]] name = "libloading" @@ -6048,7 +7201,7 @@ dependencies = [ "multiaddr 0.18.2", "pin-project", "rw-stream-sink", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -6098,7 +7251,7 @@ dependencies = [ "rand", "rw-stream-sink", "smallvec", - "thiserror", + "thiserror 1.0.69", "unsigned-varint 0.7.2", "void", ] @@ -6138,15 +7291,15 @@ dependencies = [ "quick-protobuf", "quick-protobuf-codec", "smallvec", - "thiserror", + "thiserror 1.0.69", "void", ] [[package]] name = "libp2p-identity" -version = "0.2.9" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55cca1eb2bc1fd29f099f3daaab7effd01e1a54b7c577d0ed082521034d912e8" +checksum = "257b5621d159b32282eac446bed6670c39c7dc68a200a992d8f056afa0066f6d" dependencies = [ "bs58 0.5.1", "ed25519-dalek", @@ -6155,7 +7308,7 @@ dependencies = [ "quick-protobuf", "rand", "sha2 0.10.8", - "thiserror", + "thiserror 1.0.69", "tracing", "zeroize", ] @@ -6183,8 +7336,8 @@ dependencies = [ "rand", "sha2 0.10.8", "smallvec", - "thiserror", - "uint", + "thiserror 1.0.69", + "uint 0.9.5", "unsigned-varint 0.7.2", "void", ] @@ -6247,7 +7400,7 @@ dependencies = [ "sha2 0.10.8", "snow", "static_assertions", - "thiserror", + "thiserror 1.0.69", "x25519-dalek", "zeroize", ] @@ -6290,7 +7443,7 @@ dependencies = [ "ring 0.16.20", "rustls 0.21.12", "socket2 0.5.7", - "thiserror", + "thiserror 1.0.69", "tokio", ] @@ -6345,7 +7498,7 @@ dependencies = [ "proc-macro-warning 0.4.2", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -6379,7 +7532,7 @@ dependencies = [ "ring 0.16.20", "rustls 0.21.12", "rustls-webpki 0.101.7", - "thiserror", + "thiserror 1.0.69", "x509-parser 0.15.1", "yasna", ] @@ -6430,7 +7583,7 @@ dependencies = [ "pin-project-lite", "rw-stream-sink", "soketto 0.8.0", - "thiserror", + "thiserror 1.0.69", "url", "webpki-roots 0.25.4", ] @@ -6444,7 +7597,7 @@ dependencies = [ "futures", "libp2p-core", "log", - "thiserror", + "thiserror 1.0.69", "yamux", ] @@ -6642,14 +7795,14 @@ dependencies = [ "socket2 0.5.7", "static_assertions", "str0m", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-stream", "tokio-tungstenite", "tokio-util", "tracing", "trust-dns-resolver", - "uint", + "uint 0.9.5", "unsigned-varint 0.8.0", "url", "webpki", @@ -6675,6 +7828,15 @@ version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" +[[package]] +name = "lru" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6e8aaa3f231bb4bd57b84b2d5dc3ae7f350265df8aa96492e0bc394a1571909" +dependencies = [ + "hashbrown 0.12.3", +] + [[package]] name = "lru" version = "0.11.1" @@ -6731,7 +7893,7 @@ dependencies = [ "serde_json", "storagext", "subxt", - "thiserror", + "thiserror 2.0.3", "tokio", "tracing", "tracing-subscriber 0.3.18", @@ -6758,7 +7920,7 @@ dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -6772,7 +7934,7 @@ dependencies = [ "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -6783,7 +7945,7 @@ checksum = "b02abfe41815b5bd98dbd4260173db2c116dda171dc0fe7838cb206333b83308" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -6794,7 +7956,7 @@ checksum = "73ea28ee64b88876bf45277ed9a5817c1817df061a74f2b988971a12570e5869" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -6854,7 +8016,7 @@ dependencies = [ "serde_ipld_dagcbor", "sha2 0.10.8", "tempfile", - "thiserror", + "thiserror 2.0.3", "tokio", "tokio-stream", "tokio-util", @@ -6868,7 +8030,7 @@ dependencies = [ "clap", "mater", "tempfile", - "thiserror", + "thiserror 2.0.3", "tokio", ] @@ -6894,7 +8056,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "rustix 0.38.39", + "rustix 0.38.41", ] [[package]] @@ -7027,42 +8189,42 @@ dependencies = [ "rand_chacha", "rand_distr", "subtle 2.6.1", - "thiserror", + "thiserror 1.0.69", "zeroize", ] [[package]] name = "mmr-gadget" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "futures", "log", "parity-scale-codec", "sc-client-api", "sc-offchain", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", "sp-consensus", - "sp-consensus-beefy", - "sp-core 34.0.0", - "sp-mmr-primitives", - "sp-runtime 39.0.0", + "sp-consensus-beefy 22.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-mmr-primitives 34.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", ] [[package]] name = "mmr-rpc" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "jsonrpsee 0.23.2", + "jsonrpsee", "parity-scale-codec", "serde", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", - "sp-core 34.0.0", - "sp-mmr-primitives", - "sp-runtime 39.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-mmr-primitives 34.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", ] [[package]] @@ -7116,7 +8278,7 @@ dependencies = [ "cfg-if", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -7136,6 +8298,12 @@ dependencies = [ "version_check", ] +[[package]] +name = "multi-stash" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "685a9ac4b61f4e728e1d2c6a7844609c16527aeb5e6c865915c08e619c16410f" + [[package]] name = "multiaddr" version = "0.17.1" @@ -7276,7 +8444,7 @@ dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", "synstructure 0.13.1", ] @@ -7377,21 +8545,20 @@ dependencies = [ [[package]] name = "netlink-packet-core" -version = "0.4.2" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "345b8ab5bd4e71a2986663e88c56856699d060e78e152e6e9d7966fcd5491297" +checksum = "72724faf704479d67b388da142b186f916188505e7e0b26719019c525882eda4" dependencies = [ "anyhow", "byteorder", - "libc", "netlink-packet-utils", ] [[package]] name = "netlink-packet-route" -version = "0.12.0" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9ea4302b9759a7a88242299225ea3688e63c85ea136371bb6cf94fd674efaab" +checksum = "053998cea5a306971f88580d0829e90f270f940befd7cf928da179d4187a5a66" dependencies = [ "anyhow", "bitflags 1.3.2", @@ -7410,21 +8577,21 @@ dependencies = [ "anyhow", "byteorder", "paste", - "thiserror", + "thiserror 1.0.69", ] [[package]] name = "netlink-proto" -version = "0.10.0" +version = "0.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65b4b14489ab424703c092062176d52ba55485a89c076b4f9db05092b7223aa6" +checksum = "86b33524dc0968bfad349684447bfce6db937a9ac3332a1fe60c0c5a5ce63f21" dependencies = [ "bytes", "futures", "log", "netlink-packet-core", "netlink-sys", - "thiserror", + "thiserror 1.0.69", "tokio", ] @@ -7449,15 +8616,15 @@ checksum = "a4a43439bf756eed340bdf8feba761e2d50c7d47175d87545cd5cbe4a137c4d1" dependencies = [ "cc", "libc", - "thiserror", + "thiserror 1.0.69", "winapi 0.3.9", ] [[package]] name = "nix" -version = "0.24.3" +version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa52e972a9a719cecb6864fb88568781eb706bac2cd1d4f04a648542dbf78069" +checksum = "598beaf3cc6fdd9a5dfb1630c2800c7acd31df7aaf0f565796fba2b53ca1af1b" dependencies = [ "bitflags 1.3.2", "cfg-if", @@ -7483,7 +8650,7 @@ checksum = "ab2156c4fce2f8df6c499cc1c763e4394b7482525bf2a9701c9d79d215f519e4" dependencies = [ "bitflags 2.6.0", "cfg-if", - "cfg_aliases 0.1.1", + "cfg_aliases", "libc", ] @@ -7585,6 +8752,17 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" +[[package]] +name = "num-derive" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.89", +] + [[package]] name = "num-format" version = "0.4.4" @@ -7760,7 +8938,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -7771,9 +8949,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "openssl-src" -version = "300.4.0+3.4.0" +version = "300.4.1+3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a709e02f2b4aca747929cca5ed248880847c650233cf8b8cdc48f40aaf4898a6" +checksum = "faa4eac4138c62414b5622d1b31c5c304f34b406b013c079c2bbc652fdd6678c" dependencies = [ "cc", ] @@ -7810,7 +8988,7 @@ dependencies = [ "orchestra-proc-macro", "pin-project", "prioritized-metered-channel", - "thiserror", + "thiserror 1.0.69", "tracing", ] @@ -7864,1259 +9042,3271 @@ dependencies = [ ] [[package]] -name = "pallet-asset-conversion" -version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "parity-scale-codec", - "scale-info", - "sp-api", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", -] - -[[package]] -name = "pallet-asset-rate" -version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", - "sp-core 34.0.0", - "sp-runtime 39.0.0", -] - -[[package]] -name = "pallet-asset-tx-payment" +name = "pallet-alliance" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59378a648a0aa279a4b10650366c3389cd0a1239b1876f74bfecd268eecb086b" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "pallet-transaction-payment", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "pallet-collective 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-identity 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", "scale-info", - "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", ] [[package]] -name = "pallet-assets" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-asset-conversion" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33f0078659ae95efe6a1bf138ab5250bc41ab98f22ff3651d0208684f08ae797" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "impl-trait-for-tuples", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "log", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-runtime 39.0.0", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", ] [[package]] -name = "pallet-aura" -version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-asset-conversion" +version = "20.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "log", - "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 38.0.0", - "sp-consensus-aura", - "sp-runtime 39.0.0", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", ] [[package]] -name = "pallet-authority-discovery" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-asset-conversion-ops" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3edbeda834bcd6660f311d4eead3dabdf6d385b7308ac75b0fae941a960e6c3a" dependencies = [ - "frame-support", - "frame-system", - "pallet-session", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "pallet-asset-conversion 20.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", "scale-info", - "sp-application-crypto 38.0.0", - "sp-authority-discovery", - "sp-runtime 39.0.0", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", ] [[package]] -name = "pallet-authorship" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-asset-conversion-tx-payment" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ab66c4c22ac0f20e620a954ce7ba050118d6d8011e2d02df599309502064e98" dependencies = [ - "frame-support", - "frame-system", - "impl-trait-for-tuples", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-asset-conversion 20.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-transaction-payment 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.0", + "sp-runtime 39.0.2", ] [[package]] -name = "pallet-babe" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-asset-rate" +version = "17.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71b2149aa741bc39466bbcc92d9d0ab6e9adcf39d2790443a735ad573b3191e7" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "pallet-authorship", - "pallet-session", - "pallet-timestamp", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", "scale-info", - "sp-application-crypto 38.0.0", - "sp-consensus-babe", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", - "sp-session", - "sp-staking", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", ] [[package]] -name = "pallet-bags-list" -version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-asset-rate" +version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "aquamarine", - "docify", - "frame-benchmarking", - "frame-election-provider-support", - "frame-support", - "frame-system", - "log", - "pallet-balances", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", - "sp-tracing 17.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", ] [[package]] -name = "pallet-balances" +name = "pallet-asset-tx-payment" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "406a486466d15acc48c99420191f96f1af018f3381fde829c467aba489030f18" dependencies = [ - "docify", - "frame-benchmarking", - "frame-support", - "frame-system", - "log", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-transaction-payment 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.0", + "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", ] [[package]] -name = "pallet-beefy" +name = "pallet-asset-tx-payment" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "frame-support", - "frame-system", - "log", - "pallet-authorship", - "pallet-session", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-transaction-payment 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "parity-scale-codec", "scale-info", "serde", - "sp-consensus-beefy", - "sp-runtime 39.0.0", - "sp-session", - "sp-staking", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", ] [[package]] -name = "pallet-beefy-mmr" -version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-assets" +version = "40.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f45f4eb6027fc34c4650e0ed6a7e57ed3335cc364be74b4531f714237676bcee" dependencies = [ - "array-bytes", - "binary-merkle-tree", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "impl-trait-for-tuples", "log", - "pallet-beefy", - "pallet-mmr", - "pallet-session", "parity-scale-codec", "scale-info", - "serde", - "sp-api", - "sp-consensus-beefy", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", - "sp-state-machine 0.43.0", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", ] [[package]] -name = "pallet-bounties" -version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-assets" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "impl-trait-for-tuples", "log", - "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", ] [[package]] -name = "pallet-broker" -version = "0.16.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-assets-freezer" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "127adc2250b89416b940850ce2175dab10a9297b503b1fcb05dc555bd9bd3207" dependencies = [ - "bitvec", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "log", + "pallet-assets 40.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", "scale-info", - "sp-api", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-runtime 39.0.0", + "sp-runtime 39.0.2", ] [[package]] -name = "pallet-child-bounties" -version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-atomic-swap" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15906a685adeabe6027e49c814a34066222dd6136187a8a79c213d0d739b6634" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "pallet-bounties", - "pallet-treasury", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", ] [[package]] -name = "pallet-collator-selection" -version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-aura" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b31da6e794d655d1f9c4da6557a57399538d75905a7862a2ed3f7e5fb711d7e4" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "log", - "pallet-authorship", - "pallet-balances", - "pallet-session", + "pallet-timestamp 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", - "rand", "scale-info", - "sp-runtime 39.0.0", - "sp-staking", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-aura 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", ] [[package]] -name = "pallet-collective" +name = "pallet-aura" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "log", + "pallet-timestamp 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-consensus-aura 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", ] [[package]] -name = "pallet-conviction-voting" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-authority-discovery" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffb0208f0538d58dcb78ce1ff5e6e8641c5f37b23b20b05587e51da30ab13541" dependencies = [ - "assert_matches", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-session 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", "scale-info", - "serde", - "sp-io 38.0.0", - "sp-runtime 39.0.0", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-authority-discovery 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", ] [[package]] -name = "pallet-delegated-staking" -version = "4.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-authority-discovery" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "frame-support", - "frame-system", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-session 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.0", - "sp-staking", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-authority-discovery 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", ] [[package]] -name = "pallet-democracy" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-authorship" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "625d47577cabbe1318ccec5d612e2379002d1b6af1ab6edcef3243c66ec246df" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "log", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", + "sp-runtime 39.0.2", ] [[package]] -name = "pallet-election-provider-multi-phase" -version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-authorship" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "frame-benchmarking", - "frame-election-provider-support", - "frame-support", - "frame-system", - "log", - "pallet-election-provider-support-benchmarking", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "impl-trait-for-tuples", "parity-scale-codec", - "rand", "scale-info", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-npos-elections", - "sp-runtime 39.0.0", - "strum 0.26.3", + "sp-runtime 39.0.1", ] [[package]] -name = "pallet-election-provider-support-benchmarking" -version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-babe" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ee096c0def13832475b340d00121025e0225de29604d44bc6dfcaa294c995b4" dependencies = [ - "frame-benchmarking", - "frame-election-provider-support", - "frame-system", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "pallet-authorship 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-session 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-timestamp 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", - "sp-npos-elections", - "sp-runtime 39.0.0", + "scale-info", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-babe 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-session 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-staking 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "pallet-elections-phragmen" +name = "pallet-babe" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "log", + "pallet-authorship 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-session 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-timestamp 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-npos-elections", - "sp-runtime 39.0.0", - "sp-staking", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-consensus-babe 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-session 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-staking 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] -name = "pallet-fast-unstake" -version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-bags-list" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fd23a6f94ba9c1e57c8a7f8a41327d132903a79c55c0c83f36cbae19946cf10" dependencies = [ + "aquamarine", "docify", - "frame-benchmarking", - "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-election-provider-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "log", + "pallet-balances 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.0", - "sp-staking", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-tracing 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "pallet-grandpa" +name = "pallet-bags-list" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "aquamarine", + "docify", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-election-provider-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "log", - "pallet-authorship", - "pallet-session", + "pallet-balances 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "parity-scale-codec", "scale-info", - "sp-application-crypto 38.0.0", - "sp-consensus-grandpa", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", - "sp-session", - "sp-staking", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-tracing 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] -name = "pallet-identity" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-balances" +version = "39.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c6945b078919acb14d126490e4b0973a688568b30142476ca69c6df2bed27ad" dependencies = [ - "enumflags2", - "frame-benchmarking", - "frame-support", - "frame-system", + "docify", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "log", "parity-scale-codec", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.0", + "sp-runtime 39.0.2", ] [[package]] -name = "pallet-im-online" -version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-balances" +version = "39.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "docify", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "log", - "pallet-authorship", "parity-scale-codec", "scale-info", - "sp-application-crypto 38.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", - "sp-staking", + "sp-runtime 39.0.1", ] [[package]] -name = "pallet-indices" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-beefy" +version = "39.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "014d177a3aba19ac144fc6b2b5eb94930b9874734b91fd014902b6706288bb5f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "pallet-authorship 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-session 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-keyring", - "sp-runtime 39.0.0", + "serde", + "sp-consensus-beefy 22.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-session 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-staking 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "pallet-insecure-randomness-collective-flip" -version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-beefy" +version = "39.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "frame-support", - "frame-system", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "pallet-authorship 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-session 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "parity-scale-codec", - "safe-mix", "scale-info", - "sp-runtime 39.0.0", + "serde", + "sp-consensus-beefy 22.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-session 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-staking 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] -name = "pallet-market" -version = "0.0.0" +name = "pallet-beefy-mmr" +version = "39.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c64f536e7f04cf3a0a17fdf20870ddb3d63a7690419c40f75cfd2f72b6e6d22" dependencies = [ - "blake2b_simd", - "cid 0.11.1", - "env_logger 0.11.5", - "frame-benchmarking", - "frame-support", - "frame-system", - "hex", + "array-bytes", + "binary-merkle-tree 15.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "log", - "multihash-codetable", - "pallet-balances", - "pallet-proofs", - "pallet-storage-provider", + "pallet-beefy 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-mmr 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-session 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", - "primitives-commitment", - "primitives-proofs", "scale-info", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", + "serde", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-beefy 22.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-state-machine 0.43.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "pallet-membership" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-beefy-mmr" +version = "39.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "array-bytes", + "binary-merkle-tree 15.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "log", + "pallet-beefy 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-mmr 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-session 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", + "serde", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-consensus-beefy 22.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] -name = "pallet-message-queue" -version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-bounties" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1163f9cd8bbc47ec0c6900a3ca67689d8d7b40bedfa6aa22b1b3c6027b1090e" dependencies = [ - "environmental", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "log", + "pallet-treasury 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", "scale-info", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", - "sp-weights 31.0.0", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", ] [[package]] -name = "pallet-mmr" +name = "pallet-bounties" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "log", + "pallet-treasury 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-mmr-primitives", - "sp-runtime 39.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", ] [[package]] -name = "pallet-multisig" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-bridge-grandpa" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d825fbed9fb68bc5d344311653dc0f69caeabe647365abf79a539310b2245f6" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "bp-header-chain", + "bp-runtime", + "bp-test-utils", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "log", "parity-scale-codec", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.0", + "sp-consensus-grandpa 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "pallet-nis" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-bridge-messages" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1decdc9fb885e46eb17f850aa14f8cf39e17f31574aa6a5fa1a9e603cc526a2" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "bp-header-chain", + "bp-messages", + "bp-runtime", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", "parity-scale-codec", "scale-info", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-runtime 39.0.0", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "pallet-nomination-pools" -version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-bridge-parachains" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41450a8d214f20eaff57aeca8e647b20c0df7d66871ee2262609b90824bd4cca" dependencies = [ - "frame-support", - "frame-system", + "bp-header-chain", + "bp-parachains", + "bp-polkadot-core", + "bp-runtime", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "log", - "pallet-balances", + "pallet-bridge-grandpa", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", - "sp-staking", - "sp-tracing 17.0.0", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "pallet-nomination-pools-benchmarking" -version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-bridge-relayers" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2faead05455a965a0a0ec69ffa779933479b599e40bda809c0aa1efa72a39281" dependencies = [ - "frame-benchmarking", - "frame-election-provider-support", - "frame-support", - "frame-system", - "pallet-bags-list", - "pallet-delegated-staking", - "pallet-nomination-pools", - "pallet-staking", + "bp-header-chain", + "bp-messages", + "bp-relayers", + "bp-runtime", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "pallet-bridge-grandpa", + "pallet-bridge-messages", + "pallet-bridge-parachains", + "pallet-transaction-payment 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.0", - "sp-runtime-interface 28.0.0", - "sp-staking", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "pallet-nomination-pools-runtime-api" -version = "32.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-broker" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3043c90106d88cb93fcf0d9b6d19418f11f44cc2b11873414aec3b46044a24ea" dependencies = [ - "pallet-nomination-pools", + "bitvec", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", "parity-scale-codec", - "sp-api", + "scale-info", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", ] [[package]] -name = "pallet-offences" -version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-broker" +version = "0.17.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "frame-support", - "frame-system", + "bitvec", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "log", - "pallet-balances", "parity-scale-codec", "scale-info", - "serde", - "sp-runtime 39.0.0", - "sp-staking", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", ] [[package]] -name = "pallet-offences-benchmarking" +name = "pallet-child-bounties" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7f3bc38ae6584b5f57e4de3e49e5184bfc0f20692829530ae1465ffe04e09e7" dependencies = [ - "frame-benchmarking", - "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "log", - "pallet-babe", - "pallet-balances", - "pallet-grandpa", - "pallet-im-online", - "pallet-offences", - "pallet-session", - "pallet-staking", + "pallet-bounties 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-treasury 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.0", - "sp-staking", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", ] [[package]] -name = "pallet-parameters" -version = "0.8.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-child-bounties" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "docify", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "pallet-bounties 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-treasury 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "parity-scale-codec", - "paste", "scale-info", - "serde", - "sp-core 34.0.0", - "sp-runtime 39.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", ] [[package]] -name = "pallet-preimage" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-collator-selection" +version = "19.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "658798d70c9054165169f6a6a96cfa9d6a5e7d24a524bc19825bf17fcbc5cc5a" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "log", + "pallet-authorship 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-balances 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-session 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", + "rand", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", + "sp-runtime 39.0.2", + "sp-staking 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "pallet-proofs" -version = "0.0.0" +name = "pallet-collator-selection" +version = "19.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "blake2b_simd", - "bls12_381", - "blstrs", - "digest 0.10.7", - "ff", - "filecoin-hashers", - "filecoin-proofs", - "fr32", - "frame-benchmarking", - "frame-support", - "frame-system", - "generic-array 1.1.0", - "hex", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "log", - "num-bigint", + "pallet-authorship 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-balances 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-session 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "parity-scale-codec", - "polka-storage-proofs", - "primitives-commitment", - "primitives-proofs", "rand", - "rand_chacha", - "rand_xorshift", "scale-info", - "sha2 0.10.8", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "storage-proofs-core", - "storage-proofs-porep", + "sp-runtime 39.0.1", + "sp-staking 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] -name = "pallet-proxy" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-collective" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e149f1aefd444c9a1da6ec5a94bc8a7671d7a33078f85dd19ae5b06e3438e60" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", "parity-scale-codec", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.0", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", ] [[package]] -name = "pallet-randomness" -version = "0.0.0" +name = "pallet-collective" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "log", - "pallet-insecure-randomness-collective-flip", "parity-scale-codec", - "primitives-proofs", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", ] [[package]] -name = "pallet-ranked-collective" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-collective-content" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38a6a5cbe781d9c711be74855ba32ef138f3779d6c54240c08e6d1b4bbba4d1d" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-contracts" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5df77077745d891c822b4275f273f336077a97e69e62a30134776aa721c96fee" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "bitflags 1.3.2", + "environmental", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "impl-trait-for-tuples", "log", + "pallet-balances 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-contracts-proc-macro", + "pallet-contracts-uapi", "parity-scale-codec", + "paste", + "rand", "scale-info", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", + "serde", + "smallvec", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-builder 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "wasm-instrument", + "wasmi 0.32.3", ] [[package]] -name = "pallet-recovery" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-contracts-mock-network" +version = "14.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "309666537ed001c61a99f59fa7b98680f4a6e4e361ed3bc64f7b0237da3e3e06" +dependencies = [ + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-assets 40.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-balances 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-contracts", + "pallet-contracts-proc-macro", + "pallet-contracts-uapi", + "pallet-insecure-randomness-collective-flip 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-message-queue 41.0.2 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-proxy 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-timestamp 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-utility 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-xcm 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "polkadot-parachain-primitives 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-primitives 16.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-runtime-parachains 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "scale-info", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keystore 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-tracing 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-builder 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-executor 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "xcm-simulator", +] + +[[package]] +name = "pallet-contracts-proc-macro" +version = "23.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94226cbd48516b7c310eb5dae8d50798c1ce73a7421dc0977c55b7fc2237a283" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.89", +] + +[[package]] +name = "pallet-contracts-uapi" +version = "12.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16f74b000590c33fadea48585d3ae3f4b7867e99f0a524c444d5779f36b9a1b6" +dependencies = [ + "bitflags 1.3.2", + "parity-scale-codec", + "paste", + "polkavm-derive 0.9.1", + "scale-info", +] + +[[package]] +name = "pallet-conviction-voting" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "999c242491b74395b8c5409ef644e782fe426d87ae36ad92240ffbf21ff0a76e" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "assert_matches", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.0", + "serde", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", ] [[package]] -name = "pallet-referenda" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-conviction-voting" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "assert_matches", - "frame-benchmarking", - "frame-support", - "frame-system", - "log", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 26.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", ] [[package]] -name = "pallet-root-testing" -version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-core-fellowship" +version = "22.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d063b41df454bd128d6fefd5800af8a71ac383c9dd6f20096832537efc110a8a" dependencies = [ - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "pallet-ranked-collective 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", ] [[package]] -name = "pallet-scheduler" +name = "pallet-delegated-staking" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "117f003a97f980514c6db25a50c22aaec2a9ccb5664b3cb32f52fb990e0b0c12" +dependencies = [ + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-staking 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-delegated-staking" +version = "5.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-staking 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "pallet-democracy" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6d1dc655f50b7c65bb2fb14086608ba11af02ef2936546f7a67db980ec1f133" dependencies = [ - "docify", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "log", "parity-scale-codec", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.0", - "sp-weights 31.0.0", + "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", ] [[package]] -name = "pallet-session" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-democracy" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "frame-support", - "frame-system", - "impl-trait-for-tuples", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "log", - "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", - "sp-session", - "sp-staking", - "sp-state-machine 0.43.0", - "sp-trie 37.0.0", + "serde", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", ] [[package]] -name = "pallet-session-benchmarking" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-dev-mode" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae1d8050c09c5e003d502c1addc7fdfbde21a854bd57787e94447078032710c8" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "pallet-session", - "pallet-staking", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "pallet-balances 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", - "rand", - "sp-runtime 39.0.0", - "sp-session", + "scale-info", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", ] [[package]] -name = "pallet-society" +name = "pallet-election-provider-multi-phase" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62f9ad5ae0c13ba3727183dadf1825b6b7b0b0598ed5c366f8697e13fd540f7d" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-election-provider-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "log", + "pallet-election-provider-support-benchmarking 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", - "rand_chacha", + "rand", "scale-info", - "sp-arithmetic 26.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-npos-elections 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "strum 0.26.3", ] [[package]] -name = "pallet-staking" +name = "pallet-election-provider-multi-phase" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "frame-benchmarking", - "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-election-provider-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "log", - "pallet-authorship", - "pallet-session", + "pallet-election-provider-support-benchmarking 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "parity-scale-codec", - "rand_chacha", + "rand", "scale-info", - "serde", - "sp-application-crypto 38.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", - "sp-staking", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-npos-elections 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "strum 0.26.3", ] [[package]] -name = "pallet-staking-reward-curve" -version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-election-provider-support-benchmarking" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4111d0d27545c260c9dd0d6fc504961db59c1ec4b42e1bcdc28ebd478895c22" dependencies = [ - "proc-macro-crate 3.2.0", - "proc-macro2", - "quote", - "syn 2.0.87", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-election-provider-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "sp-npos-elections 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", ] [[package]] -name = "pallet-staking-reward-fn" -version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-election-provider-support-benchmarking" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-election-provider-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "sp-npos-elections 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "pallet-elections-phragmen" +version = "39.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "705c66d6c231340c6d085a0df0319a6ce42a150f248171e88e389ab1e3ce20f5" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-npos-elections 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-staking 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-elections-phragmen" +version = "39.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-npos-elections 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-staking 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "pallet-fast-unstake" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0ee60e8ef10b3936f2700bd61fa45dcc190c61124becc63bed787addcfa0d20" +dependencies = [ + "docify", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-election-provider-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-staking 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-fast-unstake" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "docify", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-election-provider-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-staking 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "pallet-faucet" +version = "0.0.0" +dependencies = [ + "env_logger 0.11.5", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "pallet-balances 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "pallet-glutton" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1c79ab340890f6ab088a638c350ac1173a1b2a79c18004787523032025582b4" +dependencies = [ + "blake2 0.10.6", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-grandpa" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d3a570a4aac3173ea46b600408183ca2bcfdaadc077f802f11e6055963e2449" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "pallet-authorship 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-session 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-grandpa 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-session 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-staking 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-grandpa" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "pallet-authorship 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-session 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "scale-info", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-consensus-grandpa 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-session 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-staking 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "pallet-identity" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3a4288548de9a755e39fcb82ffb9024b6bb1ba0f582464a44423038dd7a892e" +dependencies = [ + "enumflags2", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-identity" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "enumflags2", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "pallet-im-online" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6fd95270cf029d16cb40fe6bd9f8ab9c78cd966666dccbca4d8bfec35c5bba5" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "pallet-authorship 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-staking 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-im-online" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "pallet-authorship 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "scale-info", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-staking 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "pallet-indices" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c5e4b97de630427a39d50c01c9e81ab8f029a00e56321823958b39b438f7b940" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keyring 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-indices" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keyring 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "pallet-insecure-randomness-collective-flip" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dce7ad80675d78bd38a7a66ecbbf2d218dd32955e97f8e301d0afe6c87b0f251" +dependencies = [ + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "safe-mix", + "scale-info", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-insecure-randomness-collective-flip" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "safe-mix", + "scale-info", + "sp-runtime 39.0.1", +] + +[[package]] +name = "pallet-lottery" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae0920ee53cf7b0665cfb6d275759ae0537dc3850ec78da5f118d814c99d3562" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-market" +version = "0.0.0" +dependencies = [ + "blake2b_simd", + "cid 0.11.1", + "env_logger 0.11.5", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "hex", + "log", + "multihash-codetable", + "pallet-balances 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-proofs", + "pallet-storage-provider", + "parity-scale-codec", + "primitives-commitment", + "primitives-proofs", + "scale-info", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 2.0.3", +] + +[[package]] +name = "pallet-membership" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1868b5dca4bbfd1f4a222cbb80735a5197020712a71577b496bbb7e19aaa5394" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-membership" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "pallet-message-queue" +version = "41.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "983f7d1be18e9a089a3e23670918f5085705b4403acd3fdde31878d57b76a1a8" +dependencies = [ + "environmental", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "parity-scale-codec", + "scale-info", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-message-queue" +version = "41.0.2" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "environmental", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "parity-scale-codec", + "scale-info", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-weights 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "pallet-migrations" +version = "8.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b417fc975636bce94e7c6d707e42d0706d67dfa513e72f5946918e1044beef1" +dependencies = [ + "docify", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-mixnet" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf3fa2b7f759a47f698a403ab40c54bc8935e2969387947224cbdb4e2bc8a28a" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-mixnet 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-mmr" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6932dfb85f77a57c2d1fdc28a7b3a59ffe23efd8d5bb02dc3039d91347e4a3b" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-mmr-primitives 34.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-mmr" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-mmr-primitives 34.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "pallet-multisig" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e5099c9a4442efcc1568d88ca1d22d624e81ab96358f99f616c67fbd82532d2" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-multisig" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "pallet-nft-fractionalization" +version = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "168792cf95a32fa3baf9b874efec82a45124da0a79cee1ae3c98a823e6841959" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "pallet-assets 40.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-nfts", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-nfts" +version = "32.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59e2aad461a0849d7f0471576eeb1fe3151795bcf2ec9e15eca5cca5b9d743b2" +dependencies = [ + "enumflags2", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-nfts-runtime-api" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7a1f50c217e19dc50ff586a71eb5915df6a05bc0b25564ea20674c8cd182c1f" +dependencies = [ + "pallet-nfts", + "parity-scale-codec", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-nis" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ac349e119880b7df1a7c4c36d919b33a498d0e9548af3c237365c654ae0c73d" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-nis" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "scale-info", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "pallet-node-authorization" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39ec3133be9e767b8feafbb26edd805824faa59956da008d2dc7fcf4b4720e56" +dependencies = [ + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-nomination-pools" +version = "35.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c42906923f9f2b65b22f1211136b57c6878296ba6f6228a075c4442cc1fc1659" +dependencies = [ + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "pallet-balances 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-staking 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-tracing 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-nomination-pools" +version = "35.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "pallet-balances 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-staking 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-tracing 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "pallet-nomination-pools-benchmarking" +version = "36.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38d2eaca0349bcda923343226b8b64d25a80b67e0a1ebaaa5b0ab1e1b3b225bc" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-election-provider-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-bags-list 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-delegated-staking 5.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-nomination-pools 35.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-staking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.2", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-staking 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-nomination-pools-benchmarking" +version = "36.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-election-provider-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-bags-list 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-delegated-staking 5.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-nomination-pools 35.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-staking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.1", + "sp-runtime-interface 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-staking 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "pallet-nomination-pools-runtime-api" +version = "33.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a9e1cb89cc2e6df06ce274a7fc814e5e688aad04c43902a10191fa3d2a56a96" +dependencies = [ + "pallet-nomination-pools 35.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-nomination-pools-runtime-api" +version = "33.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "pallet-nomination-pools 35.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "pallet-offences" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c4379cf853465696c1c5c03e7e8ce80aeaca0a6139d698abe9ecb3223fd732a" +dependencies = [ + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "pallet-balances 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "serde", + "sp-runtime 39.0.2", + "sp-staking 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-offences" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "pallet-balances 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "scale-info", + "serde", + "sp-runtime 39.0.1", + "sp-staking 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "pallet-offences-benchmarking" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69aa1b24cdffc3fa8c89cdea32c83f1bf9c1c82a87fa00e57ae4be8e85f5e24f" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-election-provider-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "pallet-babe 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-balances 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-grandpa 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-im-online 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-offences 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-session 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-staking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.2", + "sp-staking 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-offences-benchmarking" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-election-provider-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "pallet-babe 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-balances 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-grandpa 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-im-online 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-offences 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-session 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-staking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.1", + "sp-staking 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "pallet-paged-list" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8e099fb116068836b17ca4232dc52f762b69dc8cd4e33f509372d958de278b0" +dependencies = [ + "docify", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-metadata-ir 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-parameters" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9aba424d55e17b2a2bec766a41586eab878137704d4803c04bebd6a4743db7b" +dependencies = [ + "docify", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-parameters" +version = "0.9.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "docify", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "pallet-preimage" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "407828bc48c6193ac076fdf909b2fadcaaecd65f42b0b0a04afe22fe8e563834" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-preimage" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "pallet-proofs" +version = "0.0.0" +dependencies = [ + "blake2b_simd", + "bls12_381", + "blstrs", + "digest 0.10.7", + "ff", + "filecoin-hashers", + "filecoin-proofs", + "fr32", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "generic-array 1.1.0", + "hex", + "log", + "num-bigint", + "parity-scale-codec", + "polka-storage-proofs", + "primitives-commitment", + "primitives-proofs", + "rand", + "rand_chacha", + "rand_xorshift", + "scale-info", + "sha2 0.10.8", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "storage-proofs-core", + "storage-proofs-porep", +] + +[[package]] +name = "pallet-proxy" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d39df395f0dbcf07dafe842916adea3266a87ce36ed87b5132184b6bcd746393" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-proxy" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "pallet-randomness" +version = "0.0.0" +dependencies = [ + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "pallet-insecure-randomness-collective-flip 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "primitives-proofs", + "scale-info", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "pallet-ranked-collective" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2b38708feaed202debf1ac6beffaa5e20c99a9825c5ca0991753c2d4eaaf3ac" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "scale-info", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-ranked-collective" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "scale-info", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "pallet-recovery" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "406a116aa6d05f88f3c10d79ff89cf577323680a48abd8e5550efb47317e67fa" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-recovery" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "pallet-referenda" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3008c20531d1730c9b457ae77ecf0e3c9b07aaf8c4f5d798d61ef6f0b9e2d4b" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-referenda" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "assert_matches", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "pallet-remark" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3e8cae0e20888065ec73dda417325c6ecabf797f4002329484b59c25ecc34d4" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-revive" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be02c94dcbadd206a910a244ec19b493aac793eed95e23d37d6699547234569f" +dependencies = [ + "bitflags 1.3.2", + "environmental", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "impl-trait-for-tuples", + "log", + "pallet-balances 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-revive-fixtures", + "pallet-revive-proc-macro", + "pallet-revive-uapi", + "parity-scale-codec", + "paste", + "polkavm 0.10.0", + "scale-info", + "serde", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-builder 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-revive-fixtures" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a38c27f1531f36e5327f3084eb24cf1c9dd46b372e030c0169e843ce363105e" +dependencies = [ + "anyhow", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-wasm", + "polkavm-linker 0.10.0", + "sp-runtime 39.0.2", + "tempfile", + "toml 0.8.19", +] + +[[package]] +name = "pallet-revive-mock-network" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60e74591d44dbd78db02c8593f5caa75bd61bcc4d63999302150223fb969ae37" +dependencies = [ + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-assets 40.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-balances 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-message-queue 41.0.2 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-proxy 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-revive", + "pallet-revive-proc-macro", + "pallet-revive-uapi", + "pallet-timestamp 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-utility 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-xcm 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "polkadot-parachain-primitives 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-primitives 16.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-runtime-parachains 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "scale-info", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keystore 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-tracing 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-builder 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-executor 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "xcm-simulator", +] + +[[package]] +name = "pallet-revive-proc-macro" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0cc16d1f7cee6a1ee6e8cd710e16230d59fb4935316c1704cf770e4d2335f8d4" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.89", +] + +[[package]] +name = "pallet-revive-uapi" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ecb4686c8415619cc13e43fadef146ffff46424d9b4d037fe4c069de52708aac" +dependencies = [ + "bitflags 1.3.2", + "parity-scale-codec", + "paste", + "polkavm-derive 0.10.0", + "scale-info", +] + +[[package]] +name = "pallet-root-offences" +version = "35.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b35774b830928daaeeca7196cead7c56eeed952a6616ad6dc5ec068d8c85c81a" +dependencies = [ + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-session 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-staking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.2", + "sp-staking 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-root-testing" +version = "14.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be95e7c320ac1d381715364cd721e67ab3152ab727f8e4defd3a92e41ebbc880" +dependencies = [ + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-root-testing" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "pallet-safe-mode" +version = "19.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d3e67dd4644c168cedbf257ac3dd2527aad81acf4a0d413112197094e549f76" +dependencies = [ + "docify", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-balances 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-proxy 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-utility 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-salary" +version = "23.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0544a71dba06a9a29da0778ba8cb37728c3b9a8377ac9737c4b1bc48c618bc2f" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "pallet-ranked-collective 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-scheduler" +version = "39.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26899a331e7ab5f7d5966cbf203e1cf5bd99cd110356d7ddcaa7597087cdc0b5" +dependencies = [ + "docify", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-scheduler" +version = "39.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "docify", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-weights 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "pallet-scored-pool" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f84b48bb4702712c902f43931c4077d3a1cb6773c8d8c290d4a6251f6bc2a5c" +dependencies = [ + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-session" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8474b62b6b7622f891e83d922a589e2ad5be5471f5ca47d45831a797dba0b3f4" +dependencies = [ + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "impl-trait-for-tuples", + "log", + "pallet-timestamp 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-session 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-staking 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-state-machine 0.43.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-session" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "impl-trait-for-tuples", + "log", + "pallet-timestamp 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-session 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-staking 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "pallet-session-benchmarking" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8aadce7df0fee981721983795919642648b846dab5ab9096f82c2cea781007d0" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-session 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-staking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "rand", + "sp-runtime 39.0.2", + "sp-session 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-session-benchmarking" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-session 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-staking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "rand", + "sp-runtime 39.0.1", + "sp-session 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "pallet-skip-feeless-payment" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8c2cb0dae13d2c2d2e76373f337d408468f571459df1900cbd7458f21cf6c01" +dependencies = [ + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-society" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1dc69fea8a8de343e71691f009d5fece6ae302ed82b7bb357882b2ea6454143" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "parity-scale-codec", + "rand_chacha", + "scale-info", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-society" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "parity-scale-codec", + "rand_chacha", + "scale-info", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "pallet-staking" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c870d123f4f053b56af808a4beae1ffc4309a696e829796c26837936c926db3b" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-election-provider-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "pallet-authorship 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-session 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "serde", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-staking 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-staking" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-election-provider-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "pallet-authorship 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-session 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "rand_chacha", + "scale-info", + "serde", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-staking 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "pallet-staking-reward-fn" +version = "22.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "988a7ebeacc84d4bdb0b12409681e956ffe35438447d8f8bc78db547cffb6ebc" +dependencies = [ + "log", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-staking-reward-fn" +version = "22.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "log", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "pallet-staking-runtime-api" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7298559ef3a6b2f5dfbe9a3b8f3d22f2ff9b073c97f4c4853d2b316d973e72d" +dependencies = [ + "parity-scale-codec", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-staking 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-staking-runtime-api" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "parity-scale-codec", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-staking 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "pallet-state-trie-migration" +version = "40.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "138c15b4200b9dc4c3e031def6a865a235cdc76ff91ee96fba19ca1787c9dda6" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-state-trie-migration" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "pallet-statement" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e03e147efa900e75cd106337f36da3d7dcd185bd9e5f5c3df474c08c3c37d16" +dependencies = [ + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "parity-scale-codec", + "scale-info", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-statement-store 18.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-storage-provider" +version = "0.0.0" +dependencies = [ + "cid 0.11.1", + "env_logger 0.11.5", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "hex", + "log", + "multihash-codetable", + "pallet-balances 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-insecure-randomness-collective-flip 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-market", + "pallet-proofs", + "pallet-randomness", + "parity-scale-codec", + "primitives-commitment", + "primitives-proofs", + "rstest", + "scale-info", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "pallet-sudo" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1574fe2aed3d52db4a389b77b53d8c9758257b121e3e7bbe24c4904e11681e0e" +dependencies = [ + "docify", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-sudo" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "docify", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "scale-info", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "pallet-timestamp" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9ba9b71bbfd33ae672f23ba7efaeed2755fdac37b8f946cb7474fc37841b7e1" +dependencies = [ + "docify", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "parity-scale-codec", + "scale-info", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-storage 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-timestamp 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-timestamp" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "docify", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "parity-scale-codec", + "scale-info", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-storage 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-timestamp 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "pallet-tips" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa1d4371a70c309ba11624933f8f5262fe4edad0149c556361d31f26190da936" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "pallet-treasury 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-tips" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "pallet-treasury 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "pallet-transaction-payment" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47b1aa3498107a30237f941b0f02180db3b79012c3488878ff01a4ac3e8ee04e" +dependencies = [ + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-transaction-payment" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "pallet-transaction-payment-rpc" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "jsonrpsee", + "pallet-transaction-payment-rpc-runtime-api 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-blockchain", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-rpc", + "sp-runtime 39.0.1", + "sp-weights 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "pallet-transaction-payment-rpc-runtime-api" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49fdf5ab71e9dbcadcf7139736b6ea6bac8ec4a83985d46cbd130e1eec770e41" +dependencies = [ + "pallet-transaction-payment 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-transaction-payment-rpc-runtime-api" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "pallet-transaction-payment 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-weights 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "pallet-transaction-storage" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8c337a972a6a796c0a0acc6c03b5e02901c43ad721ce79eb87b45717d75c93b" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "pallet-balances 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "serde", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-transaction-storage-proof 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-treasury" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98bfdd3bb9b58fb010bcd419ff5bf940817a8e404cdbf7886a53ac730f5dda2b" +dependencies = [ + "docify", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "impl-trait-for-tuples", + "pallet-balances 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "pallet-treasury" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "log", - "sp-arithmetic 26.0.0", + "docify", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "impl-trait-for-tuples", + "pallet-balances 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", ] [[package]] -name = "pallet-staking-runtime-api" -version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-tx-pause" +version = "19.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cee153f5be5efc84ebd53aa581e5361cde17dc3669ef80d8ad327f4041d89ebe" dependencies = [ + "docify", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-balances 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-proxy 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-utility 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", - "sp-api", - "sp-staking", + "scale-info", + "sp-runtime 39.0.2", ] [[package]] -name = "pallet-state-trie-migration" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-uniques" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2b13cdaedf2d5bd913a5f6e637cb52b5973d8ed4b8d45e56d921bc4d627006f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "log", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", + "sp-runtime 39.0.2", ] [[package]] -name = "pallet-storage-provider" -version = "0.0.0" +name = "pallet-utility" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2fdcade6efc0b66fc7fc4138964802c02d0ffb7380d894e26b9dd5073727d2b3" dependencies = [ - "cid 0.11.1", - "env_logger 0.11.5", - "frame-benchmarking", - "frame-support", - "frame-system", - "hex", - "log", - "multihash-codetable", - "pallet-balances", - "pallet-insecure-randomness-collective-flip", - "pallet-market", - "pallet-proofs", - "pallet-randomness", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", - "primitives-commitment", - "primitives-proofs", - "rstest", "scale-info", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", ] [[package]] -name = "pallet-sudo" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-utility" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "docify", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "parity-scale-codec", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", ] [[package]] -name = "pallet-timestamp" -version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-vesting" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "807df2ef13ab6bf940879352c3013bfa00b670458b4c125c2f60e5753f68e3d5" dependencies = [ - "docify", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "log", "parity-scale-codec", "scale-info", - "sp-inherents", - "sp-io 38.0.0", - "sp-runtime 39.0.0", - "sp-storage 21.0.0", - "sp-timestamp", + "sp-runtime 39.0.2", ] [[package]] -name = "pallet-tips" -version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-vesting" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "log", - "pallet-treasury", "parity-scale-codec", "scale-info", - "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", + "sp-runtime 39.0.1", ] [[package]] -name = "pallet-transaction-payment" +name = "pallet-whitelist" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ef17df925290865cf37096dd0cb76f787df11805bba01b1d0ca3e106d06280b" dependencies = [ - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", "scale-info", - "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", ] [[package]] -name = "pallet-transaction-payment-rpc" -version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-whitelist" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "jsonrpsee 0.23.2", - "pallet-transaction-payment-rpc-runtime-api", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "parity-scale-codec", - "sp-api", - "sp-blockchain", - "sp-core 34.0.0", - "sp-rpc", - "sp-runtime 39.0.0", - "sp-weights 31.0.0", + "scale-info", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", ] [[package]] -name = "pallet-transaction-payment-rpc-runtime-api" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-xcm" +version = "17.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "989676964dbda5f5275650fbdcd3894fe7fac626d113abf89d572b4952adcc36" dependencies = [ - "pallet-transaction-payment", + "bounded-collections", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "pallet-balances 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", - "sp-api", - "sp-runtime 39.0.0", - "sp-weights 31.0.0", + "scale-info", + "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-builder 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-executor 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing", + "xcm-runtime-apis 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "pallet-treasury" -version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-xcm" +version = "17.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "docify", - "frame-benchmarking", - "frame-support", - "frame-system", - "impl-trait-for-tuples", - "pallet-balances", + "bounded-collections", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "log", + "pallet-balances 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "parity-scale-codec", "scale-info", "serde", - "sp-core 34.0.0", - "sp-runtime 39.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "staging-xcm 14.2.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm-builder 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm-executor 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "tracing", + "xcm-runtime-apis 0.4.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] -name = "pallet-utility" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-xcm-benchmarks" +version = "17.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2da423463933b42f4a4c74175f9e9295a439de26719579b894ce533926665e4a" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-builder 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-executor 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "pallet-vesting" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-xcm-benchmarks" +version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "log", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.0", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "staging-xcm 14.2.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm-builder 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm-executor 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] -name = "pallet-whitelist" -version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-xcm-bridge-hub" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d5f9670065b7cba92771060a4a3925b6650ff67611443ccfccd5aa356f7d5aac" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "bp-messages", + "bp-runtime", + "bp-xcm-bridge-hub", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "pallet-bridge-messages", "parity-scale-codec", "scale-info", - "sp-api", - "sp-runtime 39.0.0", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-builder 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-executor 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "pallet-xcm" -version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "pallet-xcm-bridge-hub-router" +version = "0.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3b5347c826b721098ef39afb0d750e621c77538044fc1e865af1a8747824fdf" dependencies = [ - "bounded-collections", - "frame-benchmarking", - "frame-support", - "frame-system", + "bp-xcm-bridge-hub-router 0.14.1 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "log", - "pallet-balances", "parity-scale-codec", "scale-info", - "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", - "staging-xcm", - "staging-xcm-builder", - "staging-xcm-executor", - "xcm-runtime-apis", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-builder 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "pallet-xcm-benchmarks" -version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +name = "parachains-common" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9460a69f409be27c62161d8b4d36ffc32735d09a4f9097f9c789db0cca7196c" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "cumulus-primitives-core 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cumulus-primitives-utility 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "log", + "pallet-asset-tx-payment 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-assets 40.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-authorship 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-balances 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-collator-selection 19.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-message-queue 41.0.2 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-xcm 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", + "polkadot-primitives 16.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.0", - "staging-xcm", - "staging-xcm-builder", - "staging-xcm-executor", + "sp-consensus-aura 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "staging-parachain-info 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-executor 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "substrate-wasm-builder 24.0.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "parachains-common" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "cumulus-primitives-core", - "cumulus-primitives-utility", - "frame-support", - "frame-system", + "cumulus-primitives-core 0.16.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "cumulus-primitives-utility 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "log", - "pallet-asset-tx-payment", - "pallet-assets", - "pallet-authorship", - "pallet-balances", - "pallet-collator-selection", - "pallet-message-queue", - "pallet-xcm", + "pallet-asset-tx-payment 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-assets 40.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-authorship 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-balances 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-collator-selection 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-message-queue 41.0.2 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-xcm 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "parity-scale-codec", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "scale-info", - "sp-consensus-aura", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", - "staging-parachain-info", - "staging-xcm", - "staging-xcm-executor", - "substrate-wasm-builder", + "sp-consensus-aura 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "staging-parachain-info 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm 14.2.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm-executor 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "substrate-wasm-builder 24.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "parachains-runtimes-test-utils" +version = "17.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "287d2db0a2d19466caa579a69f021bfdc6fa352f382c8395dade58d1d0c6adfe" +dependencies = [ + "cumulus-pallet-parachain-system 0.17.1 (registry+https://github.com/rust-lang/crates.io-index)", + "cumulus-pallet-xcmp-queue 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cumulus-primitives-core 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cumulus-primitives-parachain-inherent 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cumulus-test-relay-sproof-builder 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-balances 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-collator-selection 19.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-session 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-timestamp 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-xcm 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "polkadot-parachain-primitives 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-aura 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-tracing 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-parachain-info 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-executor 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "substrate-wasm-builder 24.0.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -9125,13 +12315,19 @@ version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4e69bf016dc406eff7d53a7d3f7cf1c2e72c82b9088aac1118591e36dd2cd3e9" dependencies = [ - "bitcoin_hashes", + "bitcoin_hashes 0.13.0", "rand", - "rand_core 0.6.4", + "rand_core 0.5.1", "serde", "unicode-normalization", ] +[[package]] +name = "parity-bytes" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16b56e3a2420138bdb970f84dfb9c774aea80fa0e7371549eedec0d80c209c67" + [[package]] name = "parity-db" version = "0.4.13" @@ -9155,9 +12351,9 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.6.12" +version = "3.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "306800abfa29c7f16596b5970a588435e3d5b3149683d00c12b699cc19f895ee" +checksum = "8be4817d39f3272f69c59fe05d0535ae6456c2dc2fa1ba02910296c7e0a5c590" dependencies = [ "arrayvec 0.7.6", "bitvec", @@ -9165,19 +12361,49 @@ dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec-derive", + "rustversion", "serde", ] [[package]] name = "parity-scale-codec-derive" -version = "3.6.12" +version = "3.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d830939c76d294956402033aee57a6da7b438f2294eb94864c37b0569053a42c" +checksum = "8781a75c6205af67215f382092b6e0a4ff3734798523e69073d4bcd294ec767b" dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", "quote", + "syn 2.0.89", +] + +[[package]] +name = "parity-util-mem" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d32c34f4f5ca7f9196001c0aba5a1f9a5a12382c8944b8b0f90233282d1e8f8" +dependencies = [ + "cfg-if", + "ethereum-types", + "hashbrown 0.12.3", + "impl-trait-for-tuples", + "lru 0.8.1", + "parity-util-mem-derive", + "parking_lot 0.12.3", + "primitive-types 0.12.2", + "smallvec", + "winapi 0.3.9", +] + +[[package]] +name = "parity-util-mem-derive" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" +dependencies = [ + "proc-macro2", "syn 1.0.109", + "synstructure 0.12.6", ] [[package]] @@ -9294,6 +12520,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" dependencies = [ "digest 0.10.7", + "hmac 0.12.1", "password-hash", ] @@ -9335,7 +12562,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "879952a81a83930934cbf1786752d6dedc3b1f29e8f8fb2ad1d0a36f377cf442" dependencies = [ "memchr", - "thiserror", + "thiserror 1.0.69", "ucd-trie", ] @@ -9359,7 +12586,7 @@ dependencies = [ "pest_meta", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -9400,7 +12627,7 @@ checksum = "3c0f5fad0874fc7abcd4d750e76917eaebbecaa2c20bde22e1dbeeba8beb758c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -9422,7 +12649,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "96c8c490f422ef9a4efd2cb5b42b76c8613d7e7dfc1caf667b8a3350a5acc066" dependencies = [ "atomic-waker", - "fastrand 2.1.1", + "fastrand 2.2.0", "futures-io", ] @@ -9481,12 +12708,12 @@ dependencies = [ "cid 0.11.1", "clap", "integer-encoding 4.0.2", - "jsonrpsee 0.23.2", + "jsonrpsee", "rocksdb", "serde", "sha2 0.10.8", "tempfile", - "thiserror", + "thiserror 2.0.3", "tokio", "tracing", "tracing-subscriber 0.3.18", @@ -9505,26 +12732,26 @@ dependencies = [ "cumulus-client-consensus-common", "cumulus-client-consensus-proposer", "cumulus-client-service", - "cumulus-primitives-core", - "cumulus-primitives-parachain-inherent", + "cumulus-primitives-core 0.16.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "cumulus-primitives-parachain-inherent 0.16.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "cumulus-relay-chain-interface", "docify", - "frame-benchmarking", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "frame-benchmarking-cli", "futures", - "jsonrpsee 0.23.2", + "jsonrpsee", "log", "pallet-transaction-payment-rpc", "parity-scale-codec", "polka-storage-runtime", "polkadot-cli", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sc-basic-authorship", "sc-chain-spec", "sc-cli", "sc-client-api", "sc-consensus", - "sc-executor", + "sc-executor 0.40.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sc-network", "sc-network-sync", "sc-offchain", @@ -9537,16 +12764,16 @@ dependencies = [ "sc-transaction-pool-api", "serde", "serde_json", - "sp-api", - "sp-block-builder", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-block-builder 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", - "sp-consensus-aura", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-keystore 0.40.0", - "sp-runtime 39.0.0", - "sp-timestamp", - "staging-xcm", + "sp-consensus-aura 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-timestamp 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm 14.2.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "substrate-build-script-utils", "substrate-frame-rpc-system", "substrate-prometheus-endpoint", @@ -9574,7 +12801,7 @@ dependencies = [ "storage-proofs-core", "storage-proofs-porep", "storage-proofs-post", - "thiserror", + "thiserror 2.0.3", ] [[package]] @@ -9585,7 +12812,8 @@ dependencies = [ "bls12_381", "cid 0.11.1", "clap", - "jsonrpsee 0.23.2", + "hex", + "jsonrpsee", "mater", "parity-scale-codec", "polka-storage-proofs", @@ -9597,7 +12825,7 @@ dependencies = [ "serde_json", "storagext", "subxt", - "thiserror", + "thiserror 2.0.3", "tokio", "tracing", "tracing-subscriber 0.3.18", @@ -9612,7 +12840,7 @@ dependencies = [ "cid 0.11.1", "filecoin-hashers", "fr32", - "jsonrpsee 0.23.2", + "jsonrpsee", "polka-storage-proofs", "primitives-commitment", "primitives-proofs", @@ -9621,7 +12849,7 @@ dependencies = [ "storage-proofs-core", "storagext", "subxt", - "thiserror", + "thiserror 2.0.3", ] [[package]] @@ -9634,8 +12862,8 @@ dependencies = [ "clap", "futures", "hex", - "hyper 1.5.0", - "jsonrpsee 0.23.2", + "hyper 1.5.1", + "jsonrpsee", "mater", "parity-scale-codec", "polka-storage-proofs", @@ -9650,7 +12878,7 @@ dependencies = [ "storagext", "subxt", "tempfile", - "thiserror", + "thiserror 2.0.3", "tokio", "tokio-util", "tower 0.4.13", @@ -9665,70 +12893,71 @@ dependencies = [ name = "polka-storage-runtime" version = "0.0.0" dependencies = [ - "cumulus-pallet-aura-ext", - "cumulus-pallet-parachain-system", - "cumulus-pallet-session-benchmarking", - "cumulus-pallet-xcm", - "cumulus-pallet-xcmp-queue", - "cumulus-primitives-aura", - "cumulus-primitives-core", - "cumulus-primitives-storage-weight-reclaim", - "cumulus-primitives-utility", + "cumulus-pallet-aura-ext 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "cumulus-pallet-parachain-system 0.17.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "cumulus-pallet-session-benchmarking 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "cumulus-pallet-xcm 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "cumulus-pallet-xcmp-queue 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "cumulus-primitives-aura 0.15.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "cumulus-primitives-core 0.16.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "cumulus-primitives-storage-weight-reclaim 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "cumulus-primitives-utility 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "docify", - "frame-benchmarking", - "frame-executive", - "frame-support", - "frame-system", - "frame-system-benchmarking", - "frame-system-rpc-runtime-api", - "frame-try-runtime", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-executive 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system-rpc-runtime-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-try-runtime 0.44.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "hex-literal", "log", - "pallet-aura", - "pallet-authorship", - "pallet-balances", - "pallet-collator-selection", - "pallet-insecure-randomness-collective-flip", + "pallet-aura 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-authorship 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-balances 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-collator-selection 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-faucet", + "pallet-insecure-randomness-collective-flip 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "pallet-market", - "pallet-message-queue", + "pallet-message-queue 41.0.2 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "pallet-proofs", "pallet-randomness", - "pallet-session", + "pallet-session 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "pallet-storage-provider", - "pallet-sudo", - "pallet-timestamp", - "pallet-transaction-payment", - "pallet-transaction-payment-rpc-runtime-api", - "pallet-xcm", - "parachains-common", + "pallet-sudo 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-timestamp 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-transaction-payment 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-transaction-payment-rpc-runtime-api 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-xcm 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parachains-common 18.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "parity-scale-codec", - "polkadot-parachain-primitives", - "polkadot-runtime-common", + "polkadot-parachain-primitives 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "polkadot-runtime-common 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "scale-info", "smallvec", - "sp-api", - "sp-block-builder", - "sp-consensus-aura", - "sp-core 34.0.0", - "sp-genesis-builder", - "sp-inherents", - "sp-offchain", - "sp-runtime 39.0.0", - "sp-session", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "sp-transaction-pool", - "sp-version", - "staging-parachain-info", - "staging-xcm", - "staging-xcm-builder", - "staging-xcm-executor", - "substrate-wasm-builder", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-block-builder 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-consensus-aura 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-genesis-builder 0.15.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-offchain 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-session 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-transaction-pool 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-parachain-info 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm 14.2.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm-builder 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm-executor 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "substrate-wasm-builder 24.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] name = "polkadot-approval-distribution" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "bitvec", "futures", @@ -9740,15 +12969,15 @@ dependencies = [ "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "rand", "tracing-gum", ] [[package]] name = "polkadot-availability-bitfield-distribution" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "always-assert", "futures", @@ -9756,15 +12985,15 @@ dependencies = [ "polkadot-node-network-protocol", "polkadot-node-subsystem", "polkadot-node-subsystem-util", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "rand", "tracing-gum", ] [[package]] name = "polkadot-availability-distribution" -version = "17.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "derive_more 0.99.18", "fatality", @@ -9775,20 +13004,20 @@ dependencies = [ "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "rand", "sc-network", "schnellru", - "sp-core 34.0.0", - "sp-keystore 0.40.0", - "thiserror", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-availability-recovery" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", "fatality", @@ -9799,11 +13028,11 @@ dependencies = [ "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "rand", "sc-network", "schnellru", - "thiserror", + "thiserror 1.0.69", "tokio", "tracing-gum", ] @@ -9820,8 +13049,8 @@ dependencies = [ [[package]] name = "polkadot-cli" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "19.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "cfg-if", "clap", @@ -9832,24 +13061,24 @@ dependencies = [ "polkadot-node-primitives", "polkadot-service", "sc-cli", - "sc-executor", + "sc-executor 0.40.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sc-service", "sc-storage-monitor", "sc-sysinfo", "sc-tracing", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-keyring", - "sp-maybe-compressed-blob", - "sp-runtime 39.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keyring 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", "substrate-build-script-utils", - "thiserror", + "thiserror 1.0.69", ] [[package]] name = "polkadot-collator-protocol" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "bitvec", "fatality", @@ -9859,11 +13088,12 @@ dependencies = [ "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", - "polkadot-primitives", - "sp-core 34.0.0", - "sp-keystore 0.40.0", - "sp-runtime 39.0.0", - "thiserror", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "schnellru", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "thiserror 1.0.69", "tokio-util", "tracing-gum", ] @@ -9871,18 +13101,30 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2900d3b857e34c480101618a950c3a4fbcddc8c0d50573d48553376185908b8" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "polkadot-core-primitives" +version = "15.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-runtime 39.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", ] [[package]] name = "polkadot-dispute-distribution" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "derive_more 0.99.18", "fatality", @@ -9895,55 +13137,55 @@ dependencies = [ "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sc-network", "schnellru", - "sp-application-crypto 38.0.0", - "sp-keystore 0.40.0", - "thiserror", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-erasure-coding" -version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "16.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "reed-solomon-novelpoly", - "sp-core 34.0.0", - "sp-trie 37.0.0", - "thiserror", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", ] [[package]] name = "polkadot-gossip-support" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "futures", "futures-timer", "polkadot-node-network-protocol", "polkadot-node-subsystem", "polkadot-node-subsystem-util", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "rand", "rand_chacha", "sc-network", "sc-network-common", - "sp-application-crypto 38.0.0", - "sp-core 34.0.0", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "sp-keystore 0.40.0", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "tracing-gum", ] [[package]] name = "polkadot-network-bridge" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "always-assert", "async-trait", @@ -9956,17 +13198,17 @@ dependencies = [ "polkadot-node-network-protocol", "polkadot-node-subsystem", "polkadot-overseer", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sc-network", "sp-consensus", - "thiserror", + "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-node-collation-generation" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "futures", "parity-scale-codec", @@ -9974,17 +13216,17 @@ dependencies = [ "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", - "polkadot-primitives", - "sp-core 34.0.0", - "sp-maybe-compressed-blob", - "thiserror", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-node-core-approval-voting" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "bitvec", "derive_more 0.99.18", @@ -9999,25 +13241,25 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-overseer", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "rand", "rand_chacha", "rand_core 0.6.4", "sc-keystore", "schnellru", "schnorrkel 0.11.4", - "sp-application-crypto 38.0.0", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-consensus", - "sp-consensus-slots", - "sp-runtime 39.0.0", - "thiserror", + "sp-consensus-slots 0.40.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-node-core-av-store" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "bitvec", "futures", @@ -10030,16 +13272,16 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-overseer", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-consensus", - "thiserror", + "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-node-core-backing" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "bitvec", "fatality", @@ -10048,33 +13290,33 @@ dependencies = [ "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "polkadot-statement-table", "schnellru", - "sp-keystore 0.40.0", - "thiserror", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-node-core-bitfield-signing" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "futures", "polkadot-node-subsystem", "polkadot-node-subsystem-util", - "polkadot-primitives", - "sp-keystore 0.40.0", - "thiserror", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", "tracing-gum", "wasm-timer", ] [[package]] name = "polkadot-node-core-candidate-validation" -version = "17.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", "futures", @@ -10086,18 +13328,17 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-overseer", - "polkadot-parachain-primitives", - "polkadot-primitives", - "sp-application-crypto 38.0.0", - "sp-keystore 0.40.0", - "sp-maybe-compressed-blob", + "polkadot-parachain-primitives 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "tracing-gum", ] [[package]] name = "polkadot-node-core-chain-api" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "futures", "polkadot-node-metrics", @@ -10110,8 +13351,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "futures", "futures-timer", @@ -10120,15 +13361,15 @@ dependencies = [ "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", - "polkadot-primitives", - "thiserror", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-node-core-dispute-coordinator" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "fatality", "futures", @@ -10137,48 +13378,48 @@ dependencies = [ "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sc-keystore", "schnellru", - "thiserror", + "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-node-core-parachains-inherent" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", "futures", "futures-timer", "polkadot-node-subsystem", "polkadot-overseer", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", - "sp-inherents", - "thiserror", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-node-core-prospective-parachains" -version = "16.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "17.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "fatality", "futures", "polkadot-node-subsystem", "polkadot-node-subsystem-util", - "polkadot-primitives", - "thiserror", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-node-core-provisioner" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "bitvec", "fatality", @@ -10187,16 +13428,16 @@ dependencies = [ "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "schnellru", - "thiserror", + "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-node-core-pvf" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "always-assert", "array-bytes", @@ -10206,42 +13447,42 @@ dependencies = [ "futures-timer", "parity-scale-codec", "pin-project", - "polkadot-core-primitives", + "polkadot-core-primitives 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "polkadot-node-core-pvf-common", "polkadot-node-metrics", "polkadot-node-primitives", "polkadot-node-subsystem", - "polkadot-parachain-primitives", - "polkadot-primitives", + "polkadot-parachain-primitives 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "rand", "slotmap", - "sp-core 34.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "tempfile", - "thiserror", + "thiserror 1.0.69", "tokio", "tracing-gum", ] [[package]] name = "polkadot-node-core-pvf-checker" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "futures", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-overseer", - "polkadot-primitives", - "sp-keystore 0.40.0", - "thiserror", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-node-core-pvf-common" -version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "16.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "cpu-time", "futures", @@ -10249,40 +13490,40 @@ dependencies = [ "libc", "nix 0.28.0", "parity-scale-codec", - "polkadot-parachain-primitives", - "polkadot-primitives", - "sc-executor", - "sc-executor-common", - "sc-executor-wasmtime", + "polkadot-parachain-primitives 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sc-executor 0.40.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sc-executor-common 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sc-executor-wasmtime 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "seccompiler", - "sp-core 34.0.0", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "sp-externalities 0.29.0", - "sp-io 38.0.0", - "sp-tracing 17.0.0", - "thiserror", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-tracing 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-node-core-runtime-api" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "futures", "polkadot-node-metrics", "polkadot-node-subsystem", "polkadot-node-subsystem-types", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "schnellru", - "sp-consensus-babe", + "sp-consensus-babe 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "tracing-gum", ] [[package]] name = "polkadot-node-jaeger" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "lazy_static", "log", @@ -10290,25 +13531,25 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", "polkadot-node-primitives", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sc-network", "sc-network-types", - "sp-core 34.0.0", - "thiserror", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", "tokio", ] [[package]] name = "polkadot-node-metrics" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "bs58 0.5.1", "futures", "futures-timer", "log", "parity-scale-codec", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "prioritized-metered-channel", "sc-cli", "sc-service", @@ -10319,8 +13560,8 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.2" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-channel 1.9.0", "async-trait", @@ -10332,44 +13573,47 @@ dependencies = [ "parity-scale-codec", "polkadot-node-jaeger", "polkadot-node-primitives", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "rand", "sc-authority-discovery", "sc-network", "sc-network-types", - "sp-runtime 39.0.0", + "sp-runtime 39.0.1", "strum 0.26.3", - "thiserror", + "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-node-primitives" -version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "16.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "bitvec", "bounded-vec", "futures", + "futures-timer", "parity-scale-codec", - "polkadot-parachain-primitives", - "polkadot-primitives", + "polkadot-parachain-primitives 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sc-keystore", "schnorrkel 0.11.4", "serde", - "sp-application-crypto 38.0.0", - "sp-consensus-babe", - "sp-core 34.0.0", - "sp-keystore 0.40.0", - "sp-maybe-compressed-blob", - "sp-runtime 39.0.0", - "thiserror", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-consensus-babe 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-consensus-slots 0.40.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "thiserror 1.0.69", "zstd 0.12.4", ] [[package]] name = "polkadot-node-subsystem" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -10378,8 +13622,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" -version = "17.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", "bitvec", @@ -10390,26 +13634,26 @@ dependencies = [ "polkadot-node-jaeger", "polkadot-node-network-protocol", "polkadot-node-primitives", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "polkadot-statement-table", "sc-client-api", "sc-network", "sc-network-types", "sc-transaction-pool-api", "smallvec", - "sp-api", - "sp-authority-discovery", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-authority-discovery 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", - "sp-consensus-babe", - "sp-runtime 39.0.0", + "sp-consensus-babe 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.69", ] [[package]] name = "polkadot-node-subsystem-util" -version = "17.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", "derive_more 0.99.18", @@ -10430,22 +13674,22 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-types", "polkadot-overseer", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "prioritized-metered-channel", "rand", "sc-client-api", "schnellru", - "sp-application-crypto 38.0.0", - "sp-core 34.0.0", - "sp-keystore 0.40.0", - "thiserror", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-overseer" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", "futures", @@ -10456,10 +13700,10 @@ dependencies = [ "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem-types", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sc-client-api", - "sp-api", - "sp-core 34.0.0", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "tikv-jemalloc-ctl", "tracing-gum", ] @@ -10467,54 +13711,125 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52b5648a2e8ce1f9a0f8c41c38def670cefd91932cd793468e1a5b0b0b4e4af1" +dependencies = [ + "bounded-collections", + "derive_more 0.99.18", + "parity-scale-codec", + "polkadot-core-primitives 15.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "scale-info", + "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "polkadot-parachain-primitives" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "bounded-collections", + "derive_more 0.99.18", + "parity-scale-codec", + "polkadot-core-primitives 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "scale-info", + "serde", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-weights 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "polkadot-primitives" +version = "15.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b57bc055fa389372ec5fc0001b99aeffd50f3fd379280ce572d935189bb58dd8" +dependencies = [ + "bitvec", + "hex-literal", + "log", + "parity-scale-codec", + "polkadot-core-primitives 15.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-parachain-primitives 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "scale-info", + "serde", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-authority-discovery 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-slots 0.40.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keystore 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-staking 34.0.0", +] + +[[package]] +name = "polkadot-primitives" +version = "16.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6bb20b75d33212150242d39890d7ededab55f1084160c337f15d0eb8ca8c3ad4" dependencies = [ - "bounded-collections", - "derive_more 0.99.18", + "bitvec", + "hex-literal", + "log", "parity-scale-codec", - "polkadot-core-primitives", + "polkadot-core-primitives 15.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-parachain-primitives 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "scale-info", "serde", - "sp-core 34.0.0", - "sp-runtime 39.0.0", - "sp-weights 31.0.0", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-authority-discovery 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-slots 0.40.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keystore 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-staking 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "polkadot-primitives" -version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "16.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "bitvec", "hex-literal", "log", "parity-scale-codec", - "polkadot-core-primitives", - "polkadot-parachain-primitives", + "polkadot-core-primitives 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "polkadot-parachain-primitives 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "scale-info", "serde", - "sp-api", - "sp-application-crypto 38.0.0", - "sp-arithmetic 26.0.0", - "sp-authority-discovery", - "sp-consensus-slots", - "sp-core 34.0.0", - "sp-inherents", - "sp-io 38.0.0", - "sp-keystore 0.40.0", - "sp-runtime 39.0.0", - "sp-staking", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-authority-discovery 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-consensus-slots 0.40.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-staking 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] name = "polkadot-rpc" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "19.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "jsonrpsee 0.23.2", + "jsonrpsee", "mmr-rpc", "pallet-transaction-payment-rpc", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sc-chain-spec", "sc-client-api", "sc-consensus-babe", @@ -10528,152 +13843,526 @@ dependencies = [ "sc-rpc-spec-v2", "sc-sync-state-rpc", "sc-transaction-pool-api", - "sp-api", - "sp-application-crypto 38.0.0", - "sp-block-builder", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-block-builder 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", "sp-consensus", - "sp-consensus-babe", - "sp-consensus-beefy", - "sp-keystore 0.40.0", - "sp-runtime 39.0.0", + "sp-consensus-babe 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-consensus-beefy 22.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", "substrate-frame-rpc-system", "substrate-state-trie-migration-rpc", ] [[package]] name = "polkadot-runtime-common" -version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "17.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc15154ba5ca55d323fcf7af0f5dcd39d58dcb4dfac3d9b30404840a6d8bbde4" +dependencies = [ + "bitvec", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-election-provider-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "impl-trait-for-tuples", + "libsecp256k1", + "log", + "pallet-asset-rate 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-authorship 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-balances 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-broker 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-election-provider-multi-phase 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-fast-unstake 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-identity 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-session 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-staking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-staking-reward-fn 22.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-timestamp 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-transaction-payment 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-treasury 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-vesting 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "polkadot-primitives 16.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-runtime-parachains 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "rustc-hex", + "scale-info", + "serde", + "serde_derive", + "slot-range-helper 15.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-npos-elections 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-session 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-staking 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-builder 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-executor 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "static_assertions", +] + +[[package]] +name = "polkadot-runtime-common" +version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "bitvec", - "frame-benchmarking", - "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-election-provider-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "impl-trait-for-tuples", "libsecp256k1", "log", - "pallet-asset-rate", - "pallet-authorship", - "pallet-babe", - "pallet-balances", - "pallet-broker", - "pallet-election-provider-multi-phase", - "pallet-fast-unstake", - "pallet-identity", - "pallet-session", - "pallet-staking", - "pallet-staking-reward-fn", - "pallet-timestamp", - "pallet-transaction-payment", - "pallet-treasury", - "pallet-vesting", - "parity-scale-codec", - "polkadot-primitives", - "polkadot-runtime-parachains", + "pallet-asset-rate 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-authorship 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-babe 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-balances 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-broker 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-election-provider-multi-phase 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-fast-unstake 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-identity 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-session 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-staking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-staking-reward-fn 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-timestamp 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-transaction-payment 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-treasury 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-vesting 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "polkadot-runtime-parachains 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "rustc-hex", "scale-info", "serde", "serde_derive", - "slot-range-helper", - "sp-api", - "sp-core 34.0.0", - "sp-inherents", - "sp-io 38.0.0", - "sp-npos-elections", - "sp-runtime 39.0.0", - "sp-session", - "sp-staking", - "staging-xcm", - "staging-xcm-builder", - "staging-xcm-executor", + "slot-range-helper 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-npos-elections 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-session 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-staking 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm 14.2.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm-builder 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm-executor 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "static_assertions", ] [[package]] name = "polkadot-runtime-metrics" -version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "17.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c306f1ace7644a24de860479f92cf8d6467393bb0c9b0777c57e2d42c9d452a" +dependencies = [ + "bs58 0.5.1", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "polkadot-primitives 16.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-tracing 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "polkadot-runtime-metrics" +version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "bs58 0.5.1", - "frame-benchmarking", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-tracing 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "polkadot-runtime-parachains" +version = "17.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd58e3a17e5df678f5737b018cbfec603af2c93bec56bbb9f8fb8b2b017b54b1" +dependencies = [ + "bitflags 1.3.2", + "bitvec", + "derive_more 0.99.18", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "impl-trait-for-tuples", + "log", + "pallet-authority-discovery 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-authorship 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-babe 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-balances 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-broker 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-message-queue 41.0.2 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-mmr 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-session 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-staking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-timestamp 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-vesting 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", - "polkadot-primitives", - "sp-tracing 17.0.0", + "polkadot-core-primitives 15.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-parachain-primitives 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-primitives 16.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-runtime-metrics 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rand", + "rand_chacha", + "scale-info", + "serde", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keystore 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-session 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-staking 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-executor 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "polkadot-runtime-parachains" -version = "16.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "17.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "bitflags 1.3.2", "bitvec", "derive_more 0.99.18", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "impl-trait-for-tuples", "log", - "pallet-authority-discovery", - "pallet-authorship", - "pallet-babe", - "pallet-balances", - "pallet-broker", - "pallet-message-queue", - "pallet-session", - "pallet-staking", - "pallet-timestamp", - "pallet-vesting", - "parity-scale-codec", - "polkadot-core-primitives", - "polkadot-parachain-primitives", - "polkadot-primitives", - "polkadot-runtime-metrics", + "pallet-authority-discovery 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-authorship 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-babe 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-balances 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-broker 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-message-queue 41.0.2 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-mmr 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-session 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-staking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-timestamp 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-vesting 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "polkadot-core-primitives 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "polkadot-parachain-primitives 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "polkadot-runtime-metrics 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "rand", "rand_chacha", "scale-info", "serde", - "sp-api", - "sp-application-crypto 38.0.0", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-inherents", - "sp-io 38.0.0", - "sp-keystore 0.40.0", - "sp-runtime 39.0.0", - "sp-session", - "sp-staking", - "staging-xcm", - "staging-xcm-executor", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-session 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-staking 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm 14.2.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm-executor 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "static_assertions", ] +[[package]] +name = "polkadot-sdk" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb819108697967452fa6d8d96ab4c0d48cbaa423b3156499dcb24f1cf95d6775" +dependencies = [ + "asset-test-utils", + "assets-common", + "binary-merkle-tree 15.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bp-header-chain", + "bp-messages", + "bp-parachains", + "bp-polkadot", + "bp-polkadot-core", + "bp-relayers", + "bp-runtime", + "bp-test-utils", + "bp-xcm-bridge-hub", + "bp-xcm-bridge-hub-router 0.14.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bridge-hub-common", + "bridge-hub-test-utils", + "bridge-runtime-common", + "cumulus-pallet-aura-ext 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cumulus-pallet-dmp-queue", + "cumulus-pallet-parachain-system 0.17.1 (registry+https://github.com/rust-lang/crates.io-index)", + "cumulus-pallet-parachain-system-proc-macro 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cumulus-pallet-session-benchmarking 19.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cumulus-pallet-solo-to-para", + "cumulus-pallet-xcm 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cumulus-pallet-xcmp-queue 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cumulus-ping", + "cumulus-primitives-aura 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cumulus-primitives-core 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cumulus-primitives-parachain-inherent 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cumulus-primitives-proof-size-hostfunction 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cumulus-primitives-storage-weight-reclaim 8.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cumulus-primitives-timestamp", + "cumulus-primitives-utility 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cumulus-test-relay-sproof-builder 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-benchmarking-pallet-pov", + "frame-election-provider-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-executive 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-metadata-hash-extension 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support-procedural 30.0.4", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system-rpc-runtime-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-try-runtime 0.44.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-alliance", + "pallet-asset-conversion 20.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-asset-conversion-ops", + "pallet-asset-conversion-tx-payment", + "pallet-asset-rate 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-asset-tx-payment 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-assets 40.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-assets-freezer", + "pallet-atomic-swap", + "pallet-aura 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-authority-discovery 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-authorship 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-babe 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-bags-list 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-balances 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-beefy 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-beefy-mmr 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-bounties 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-bridge-grandpa", + "pallet-bridge-messages", + "pallet-bridge-parachains", + "pallet-bridge-relayers", + "pallet-broker 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-child-bounties 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-collator-selection 19.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-collective 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-collective-content", + "pallet-contracts", + "pallet-contracts-mock-network", + "pallet-conviction-voting 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-core-fellowship", + "pallet-delegated-staking 5.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-democracy 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-dev-mode", + "pallet-election-provider-multi-phase 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-election-provider-support-benchmarking 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-elections-phragmen 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-fast-unstake 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-glutton", + "pallet-grandpa 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-identity 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-im-online 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-indices 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-insecure-randomness-collective-flip 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-lottery", + "pallet-membership 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-message-queue 41.0.2 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-migrations", + "pallet-mixnet", + "pallet-mmr 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-multisig 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-nft-fractionalization", + "pallet-nfts", + "pallet-nfts-runtime-api", + "pallet-nis 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-node-authorization", + "pallet-nomination-pools 35.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-nomination-pools-benchmarking 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-nomination-pools-runtime-api 33.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-offences 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-offences-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-paged-list", + "pallet-parameters 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-preimage 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-proxy 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-ranked-collective 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-recovery 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-referenda 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-remark", + "pallet-revive", + "pallet-revive-fixtures", + "pallet-revive-mock-network", + "pallet-root-offences", + "pallet-root-testing 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-safe-mode", + "pallet-salary", + "pallet-scheduler 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-scored-pool", + "pallet-session 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-session-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-skip-feeless-payment", + "pallet-society 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-staking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-staking-reward-fn 22.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-staking-runtime-api 24.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-state-trie-migration 40.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-statement", + "pallet-sudo 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-timestamp 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-tips 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-transaction-payment 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-transaction-payment-rpc-runtime-api 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-transaction-storage", + "pallet-treasury 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-tx-pause", + "pallet-uniques", + "pallet-utility 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-vesting 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-whitelist 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-xcm 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-xcm-benchmarks 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-xcm-bridge-hub", + "pallet-xcm-bridge-hub-router", + "parachains-common 18.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parachains-runtimes-test-utils", + "polkadot-core-primitives 15.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-parachain-primitives 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-primitives 16.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-runtime-common 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-runtime-metrics 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-runtime-parachains 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-sdk-frame", + "sc-executor 0.40.1 (registry+https://github.com/rust-lang/crates.io-index)", + "slot-range-helper 15.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "snowbridge-beacon-primitives", + "snowbridge-core", + "snowbridge-ethereum", + "snowbridge-outbound-queue-merkle-tree", + "snowbridge-outbound-queue-runtime-api", + "snowbridge-pallet-ethereum-client", + "snowbridge-pallet-ethereum-client-fixtures", + "snowbridge-pallet-inbound-queue", + "snowbridge-pallet-inbound-queue-fixtures", + "snowbridge-pallet-outbound-queue", + "snowbridge-pallet-system", + "snowbridge-router-primitives", + "snowbridge-runtime-common", + "snowbridge-runtime-test-common", + "snowbridge-system-runtime-api", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-api-proc-macro 20.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-authority-discovery 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-block-builder 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-aura 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-babe 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-beefy 22.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-grandpa 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-pow", + "sp-consensus-slots 0.40.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core-hashing", + "sp-crypto-ec-utils", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-debug-derive 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-genesis-builder 0.15.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keyring 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keystore 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-metadata-ir 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-mixnet 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-mmr-primitives 34.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-npos-elections 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-offchain 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-session 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-staking 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-state-machine 0.43.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-statement-store 18.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-storage 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-timestamp 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-tracing 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-transaction-pool 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-transaction-storage-proof 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-version 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-wasm-interface 21.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-parachain-info 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-builder 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-executor 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "substrate-bip39 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "testnet-parachains-constants", + "xcm-runtime-apis 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "polkadot-sdk-frame" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cbdeb15ce08142082461afe1a62c15f7ce10a731d91b203ad6a8dc8d2e4a6a54" +dependencies = [ + "docify", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-executive 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system-rpc-runtime-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-try-runtime 0.44.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "parity-scale-codec", + "scale-info", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-block-builder 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-aura 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-grandpa 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-offchain 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-session 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-storage 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-transaction-pool 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-version 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "polkadot-service" -version = "17.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "19.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", - "bitvec", - "frame-benchmarking", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "frame-benchmarking-cli", - "frame-metadata-hash-extension", - "frame-support", - "frame-system", - "frame-system-rpc-runtime-api", + "frame-metadata-hash-extension 0.6.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system-rpc-runtime-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "futures", - "hex-literal", "is_executable", "kvdb", "kvdb-rocksdb", "log", "mmr-gadget", - "pallet-babe", - "pallet-staking", - "pallet-transaction-payment", - "pallet-transaction-payment-rpc-runtime-api", + "pallet-transaction-payment 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-transaction-payment-rpc-runtime-api 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "parity-db", "parity-scale-codec", "parking_lot 0.12.3", @@ -10682,7 +14371,7 @@ dependencies = [ "polkadot-availability-distribution", "polkadot-availability-recovery", "polkadot-collator-protocol", - "polkadot-core-primitives", + "polkadot-core-primitives 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "polkadot-dispute-distribution", "polkadot-gossip-support", "polkadot-network-bridge", @@ -10707,28 +14396,24 @@ dependencies = [ "polkadot-node-subsystem-types", "polkadot-node-subsystem-util", "polkadot-overseer", - "polkadot-parachain-primitives", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "polkadot-rpc", - "polkadot-runtime-parachains", + "polkadot-runtime-parachains 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "polkadot-statement-distribution", "rococo-runtime", - "rococo-runtime-constants", + "rococo-runtime-constants 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sc-authority-discovery", "sc-basic-authorship", - "sc-block-builder", "sc-chain-spec", "sc-client-api", - "sc-client-db", "sc-consensus", "sc-consensus-babe", "sc-consensus-beefy", "sc-consensus-grandpa", "sc-consensus-slots", - "sc-executor", + "sc-executor 0.40.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sc-keystore", "sc-network", - "sc-network-common", "sc-network-sync", "sc-offchain", "sc-service", @@ -10737,44 +14422,41 @@ dependencies = [ "sc-telemetry", "sc-transaction-pool", "sc-transaction-pool-api", - "schnellru", "serde", "serde_json", - "sp-api", - "sp-authority-discovery", - "sp-block-builder", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-authority-discovery 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-block-builder 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", "sp-consensus", - "sp-consensus-babe", - "sp-consensus-beefy", - "sp-consensus-grandpa", - "sp-core 34.0.0", - "sp-inherents", - "sp-io 38.0.0", - "sp-keyring", - "sp-keystore 0.40.0", - "sp-mmr-primitives", - "sp-offchain", - "sp-runtime 39.0.0", - "sp-session", - "sp-state-machine 0.43.0", - "sp-storage 21.0.0", - "sp-timestamp", - "sp-transaction-pool", - "sp-version", - "sp-weights 31.0.0", - "staging-xcm", + "sp-consensus-babe 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-consensus-beefy 22.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-consensus-grandpa 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-genesis-builder 0.15.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keyring 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-mmr-primitives 34.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-offchain 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-session 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-timestamp 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-transaction-pool 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-weights 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm 14.2.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.69", "tracing-gum", "westend-runtime", - "xcm-runtime-apis", + "xcm-runtime-apis 0.4.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] name = "polkadot-statement-distribution" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "arrayvec 0.7.6", "bitvec", @@ -10787,21 +14469,21 @@ dependencies = [ "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", - "polkadot-primitives", - "sp-keystore 0.40.0", - "sp-staking", - "thiserror", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-staking 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-statement-table" -version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "16.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "parity-scale-codec", - "polkadot-primitives", - "sp-core 34.0.0", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "tracing-gum", ] @@ -10813,9 +14495,22 @@ checksum = "8a3693e5efdb2bf74e449cd25fd777a28bd7ed87e41f5d5da75eb31b4de48b94" dependencies = [ "libc", "log", - "polkavm-assembler", + "polkavm-assembler 0.9.0", "polkavm-common 0.9.0", - "polkavm-linux-raw", + "polkavm-linux-raw 0.9.0", +] + +[[package]] +name = "polkavm" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7ec0c5935f2eff23cfc4653002f4f8d12b37f87a720e0631282d188c32089d6" +dependencies = [ + "libc", + "log", + "polkavm-assembler 0.10.0", + "polkavm-common 0.10.0", + "polkavm-linux-raw 0.10.0", ] [[package]] @@ -10827,6 +14522,15 @@ dependencies = [ "log", ] +[[package]] +name = "polkavm-assembler" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8e4fd5a43100bf1afe9727b8130d01f966f5cfc9144d5604b21e795c2bcd80e" +dependencies = [ + "log", +] + [[package]] name = "polkavm-common" version = "0.8.0" @@ -10842,6 +14546,16 @@ dependencies = [ "log", ] +[[package]] +name = "polkavm-common" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0097b48bc0bedf9f3f537ce8f37e8f1202d8d83f9b621bdb21ff2c59b9097c50" +dependencies = [ + "log", + "polkavm-assembler 0.10.0", +] + [[package]] name = "polkavm-derive" version = "0.8.0" @@ -10860,6 +14574,15 @@ dependencies = [ "polkavm-derive-impl-macro 0.9.0", ] +[[package]] +name = "polkavm-derive" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0dcc701385c08c31bdb0569f0c51a290c580d892fa77f1dd88a7352a62679ecf" +dependencies = [ + "polkavm-derive-impl-macro 0.10.0", +] + [[package]] name = "polkavm-derive-impl" version = "0.8.0" @@ -10869,7 +14592,7 @@ dependencies = [ "polkavm-common 0.8.0", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -10881,7 +14604,19 @@ dependencies = [ "polkavm-common 0.9.0", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", +] + +[[package]] +name = "polkavm-derive-impl" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7855353a5a783dd5d09e3b915474bddf66575f5a3cf45dec8d1c5e051ba320dc" +dependencies = [ + "polkavm-common 0.10.0", + "proc-macro2", + "quote", + "syn 2.0.89", ] [[package]] @@ -10891,7 +14626,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "15e85319a0d5129dc9f021c62607e0804f5fb777a05cdda44d750ac0732def66" dependencies = [ "polkavm-derive-impl 0.8.0", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -10901,7 +14636,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429" dependencies = [ "polkavm-derive-impl 0.9.0", - "syn 2.0.87", + "syn 2.0.89", +] + +[[package]] +name = "polkavm-derive-impl-macro" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9324fe036de37c17829af233b46ef6b5562d4a0c09bb7fdb9f8378856dee30cf" +dependencies = [ + "polkavm-derive-impl 0.10.0", + "syn 2.0.89", ] [[package]] @@ -10919,12 +14664,33 @@ dependencies = [ "rustc-demangle", ] +[[package]] +name = "polkavm-linker" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d704edfe7bdcc876784f19436d53d515b65eb07bc9a0fae77085d552c2dbbb5" +dependencies = [ + "gimli 0.28.1", + "hashbrown 0.14.5", + "log", + "object 0.36.5", + "polkavm-common 0.10.0", + "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 = "polkavm-linux-raw" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26e45fa59c7e1bb12ef5289080601e9ec9b31435f6e32800a5c90c132453d126" + [[package]] name = "polling" version = "2.8.0" @@ -10943,15 +14709,15 @@ dependencies = [ [[package]] name = "polling" -version = "3.7.3" +version = "3.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc2790cd301dec6cd3b7a025e4815cf825724a51c98dccfe6a3e55f05ffb6511" +checksum = "a604568c3202727d1507653cb121dbd627a58684eb09a820fd746bee38b4442f" dependencies = [ "cfg-if", "concurrent-queue", "hermit-abi 0.4.0", "pin-project-lite", - "rustix 0.38.39", + "rustix 0.38.41", "tracing", "windows-sys 0.59.0", ] @@ -11078,7 +14844,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "64d1ec885c64d0457d564db4ec299b2dae3f9c02808b8ad9c3a089c591b18033" dependencies = [ "proc-macro2", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -11088,10 +14854,24 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" dependencies = [ "fixed-hash", - "impl-codec", - "impl-serde", + "impl-codec 0.6.0", + "impl-rlp", + "impl-serde 0.4.0", + "scale-info", + "uint 0.9.5", +] + +[[package]] +name = "primitive-types" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d15600a7d856470b7d278b3fe0e311fe28c2526348549f8ef2ff7db3299c87f5" +dependencies = [ + "fixed-hash", + "impl-codec 0.7.0", + "impl-serde 0.5.0", "scale-info", - "uint", + "uint 0.10.0", ] [[package]] @@ -11100,10 +14880,14 @@ version = "0.1.0" dependencies = [ "cid 0.11.1", "filecoin-proofs", + "parity-scale-codec", "primitives-proofs", "rand", + "scale-info", + "sealed", "serde", "sha2 0.10.8", + "thiserror 2.0.3", ] [[package]] @@ -11118,9 +14902,9 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-core 34.0.0", - "sp-runtime 39.0.0", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] @@ -11135,7 +14919,7 @@ dependencies = [ "futures", "futures-timer", "nanorand", - "thiserror", + "thiserror 1.0.69", "tracing", ] @@ -11145,7 +14929,7 @@ version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e17d47ce914bf4de440332250b0edd23ce48c005f59fab39d3335866b114f11a" dependencies = [ - "thiserror", + "thiserror 1.0.69", "toml 0.5.11", ] @@ -11182,6 +14966,28 @@ dependencies = [ "version_check", ] +[[package]] +name = "proc-macro-error-attr2" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5" +dependencies = [ + "proc-macro2", + "quote", +] + +[[package]] +name = "proc-macro-error2" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802" +dependencies = [ + "proc-macro-error-attr2", + "proc-macro2", + "quote", + "syn 2.0.89", +] + [[package]] name = "proc-macro-warning" version = "0.4.2" @@ -11190,7 +14996,7 @@ checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -11201,14 +15007,14 @@ checksum = "834da187cfe638ae8abb0203f0b33e5ccdb02a28e7199f2f47b3e2754f50edca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "proc-macro2" -version = "1.0.89" +version = "1.0.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e" +checksum = "307e3004becf10f5a6e0d59d20f3cd28231b0e0827a96cd3e0ce6d14bc1e4bb3" dependencies = [ "unicode-ident", ] @@ -11224,7 +15030,7 @@ dependencies = [ "lazy_static", "memchr", "parking_lot 0.12.3", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -11247,7 +15053,27 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", +] + +[[package]] +name = "proptest" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4c2511913b88df1637da85cc8d96ec8e43a3f8bb8ccb71ee1ac240d6f3df58d" +dependencies = [ + "bit-set", + "bit-vec", + "bitflags 2.6.0", + "lazy_static", + "num-traits", + "rand", + "rand_chacha", + "rand_xorshift", + "regex-syntax 0.8.5", + "rusty-fork", + "tempfile", + "unarray", ] [[package]] @@ -11309,7 +15135,7 @@ dependencies = [ "prost 0.12.6", "prost-types 0.12.6", "regex", - "syn 2.0.87", + "syn 2.0.89", "tempfile", ] @@ -11336,7 +15162,7 @@ dependencies = [ "itertools 0.12.1", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -11359,9 +15185,9 @@ dependencies = [ [[package]] name = "psm" -version = "0.1.23" +version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa37f80ca58604976033fae9515a8a2989fc13797d953f7c04fb8fa36a11f205" +checksum = "200b9ff220857e53e184257720a14553b2f4aa02577d2ed9842d45d4b9654810" dependencies = [ "cc", ] @@ -11405,7 +15231,7 @@ dependencies = [ "asynchronous-codec", "bytes", "quick-protobuf", - "thiserror", + "thiserror 1.0.69", "unsigned-varint 0.7.2", ] @@ -11419,9 +15245,9 @@ dependencies = [ "pin-project-lite", "quinn-proto 0.9.6", "quinn-udp 0.3.2", - "rustc-hash", + "rustc-hash 1.1.0", "rustls 0.20.9", - "thiserror", + "thiserror 1.0.69", "tokio", "tracing", "webpki", @@ -11438,9 +15264,9 @@ dependencies = [ "pin-project-lite", "quinn-proto 0.10.6", "quinn-udp 0.4.1", - "rustc-hash", + "rustc-hash 1.1.0", "rustls 0.21.12", - "thiserror", + "thiserror 1.0.69", "tokio", "tracing", ] @@ -11454,10 +15280,10 @@ dependencies = [ "bytes", "rand", "ring 0.16.20", - "rustc-hash", + "rustc-hash 1.1.0", "rustls 0.20.9", "slab", - "thiserror", + "thiserror 1.0.69", "tinyvec", "tracing", "webpki", @@ -11472,10 +15298,10 @@ dependencies = [ "bytes", "rand", "ring 0.16.20", - "rustc-hash", + "rustc-hash 1.1.0", "rustls 0.21.12", "slab", - "thiserror", + "thiserror 1.0.69", "tinyvec", "tracing", ] @@ -11632,22 +15458,6 @@ dependencies = [ "yasna", ] -[[package]] -name = "reconnecting-jsonrpsee-ws-client" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06fa4f17e09edfc3131636082faaec633c7baa269396b4004040bc6c52f49f65" -dependencies = [ - "cfg_aliases 0.2.1", - "finito", - "futures", - "jsonrpsee 0.23.2", - "serde_json", - "thiserror", - "tokio", - "tracing", -] - [[package]] name = "redox_syscall" version = "0.2.16" @@ -11674,7 +15484,7 @@ checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ "getrandom", "libredox", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -11686,7 +15496,7 @@ dependencies = [ "derive_more 0.99.18", "fs-err", "static_init", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -11706,7 +15516,7 @@ checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -11729,7 +15539,7 @@ checksum = "ad156d539c879b7a24a363a2016d77961786e71f48f2e2fc8302a92abd2429a6" dependencies = [ "hashbrown 0.13.2", "log", - "rustc-hash", + "rustc-hash 1.1.0", "slice-group-by", "smallvec", ] @@ -11742,7 +15552,7 @@ checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.8", + "regex-automata 0.4.9", "regex-syntax 0.8.5", ] @@ -11757,9 +15567,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.8" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "368758f23274712b504848e9d5a6f010445cc8b87a7cdb4d7cbee666c1288da3" +checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" dependencies = [ "aho-corasick", "memchr", @@ -11813,7 +15623,7 @@ dependencies = [ "serde_json", "serde_urlencoded", "sync_wrapper 0.1.2", - "system-configuration", + "system-configuration 0.5.1", "tokio", "tokio-native-tls", "tower-service", @@ -11874,6 +15684,16 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "rlp" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb919243f34364b6bd2fc10ef797edbfa75f33c252e7998527479c6d6b47e1ec" +dependencies = [ + "bytes", + "rustc-hex", +] + [[package]] name = "rocksdb" version = "0.21.0" @@ -11886,118 +15706,135 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "binary-merkle-tree", + "binary-merkle-tree 15.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "bitvec", - "frame-benchmarking", - "frame-executive", - "frame-metadata-hash-extension", - "frame-support", - "frame-system", - "frame-system-benchmarking", - "frame-system-rpc-runtime-api", - "frame-try-runtime", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-executive 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-metadata-hash-extension 0.6.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system-rpc-runtime-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-try-runtime 0.44.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "hex-literal", "log", - "pallet-asset-rate", - "pallet-authority-discovery", - "pallet-authorship", - "pallet-babe", - "pallet-balances", - "pallet-beefy", - "pallet-beefy-mmr", - "pallet-bounties", - "pallet-child-bounties", - "pallet-collective", - "pallet-conviction-voting", - "pallet-democracy", - "pallet-elections-phragmen", - "pallet-grandpa", - "pallet-identity", - "pallet-indices", - "pallet-membership", - "pallet-message-queue", - "pallet-mmr", - "pallet-multisig", - "pallet-nis", - "pallet-offences", - "pallet-parameters", - "pallet-preimage", - "pallet-proxy", - "pallet-ranked-collective", - "pallet-recovery", - "pallet-referenda", - "pallet-root-testing", - "pallet-scheduler", - "pallet-session", - "pallet-society", - "pallet-staking", - "pallet-state-trie-migration", - "pallet-sudo", - "pallet-timestamp", - "pallet-tips", - "pallet-transaction-payment", - "pallet-transaction-payment-rpc-runtime-api", - "pallet-treasury", - "pallet-utility", - "pallet-vesting", - "pallet-whitelist", - "pallet-xcm", - "pallet-xcm-benchmarks", - "parity-scale-codec", - "polkadot-parachain-primitives", - "polkadot-primitives", - "polkadot-runtime-common", - "polkadot-runtime-parachains", - "rococo-runtime-constants", + "pallet-asset-rate 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-authority-discovery 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-authorship 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-babe 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-balances 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-beefy 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-beefy-mmr 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-bounties 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-child-bounties 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-collective 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-conviction-voting 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-democracy 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-elections-phragmen 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-grandpa 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-identity 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-indices 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-membership 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-message-queue 41.0.2 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-mmr 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-multisig 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-nis 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-offences 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-parameters 0.9.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-preimage 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-proxy 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-ranked-collective 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-recovery 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-referenda 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-root-testing 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-scheduler 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-session 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-society 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-staking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-state-trie-migration 40.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-sudo 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-timestamp 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-tips 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-transaction-payment 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-transaction-payment-rpc-runtime-api 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-treasury 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-utility 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-vesting 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-whitelist 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-xcm 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-xcm-benchmarks 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "polkadot-parachain-primitives 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "polkadot-runtime-common 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "polkadot-runtime-parachains 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "rococo-runtime-constants 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "scale-info", "serde", "serde_derive", "serde_json", "smallvec", - "sp-api", - "sp-arithmetic 26.0.0", - "sp-authority-discovery", - "sp-block-builder", - "sp-consensus-babe", - "sp-consensus-beefy", - "sp-consensus-grandpa", - "sp-core 34.0.0", - "sp-genesis-builder", - "sp-inherents", - "sp-io 38.0.0", - "sp-mmr-primitives", - "sp-offchain", - "sp-runtime 39.0.0", - "sp-session", - "sp-staking", - "sp-storage 21.0.0", - "sp-transaction-pool", - "sp-version", - "staging-xcm", - "staging-xcm-builder", - "staging-xcm-executor", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-authority-discovery 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-block-builder 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-consensus-babe 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-consensus-beefy 22.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-consensus-grandpa 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-genesis-builder 0.15.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-mmr-primitives 34.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-offchain 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-session 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-staking 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-storage 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-transaction-pool 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm 14.2.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm-builder 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm-executor 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "static_assertions", - "substrate-wasm-builder", - "xcm-runtime-apis", + "substrate-wasm-builder 24.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "xcm-runtime-apis 0.4.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] name = "rococo-runtime-constants" -version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "17.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1ec6683a2e52fe3be2eaf942a80619abd99eb36e973c5ab4489a2f3b100db5c" dependencies = [ - "frame-support", - "polkadot-primitives", - "polkadot-runtime-common", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-primitives 16.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-runtime-common 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "smallvec", - "sp-core 34.0.0", - "sp-runtime 39.0.0", - "sp-weights 31.0.0", - "staging-xcm", - "staging-xcm-builder", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-builder 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "rococo-runtime-constants" +version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "polkadot-runtime-common 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "smallvec", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-weights 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm 14.2.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm-builder 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] @@ -12043,34 +15880,67 @@ dependencies = [ "regex", "relative-path", "rustc_version 0.4.1", - "syn 2.0.87", + "syn 2.0.89", "unicode-ident", ] [[package]] name = "rtnetlink" -version = "0.10.1" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "322c53fd76a18698f1c27381d58091de3a043d356aa5bd0d510608b565f469a0" +checksum = "7a552eb82d19f38c3beed3f786bd23aa434ceb9ac43ab44419ca6d67a7e186c0" dependencies = [ "futures", "log", + "netlink-packet-core", "netlink-packet-route", + "netlink-packet-utils", "netlink-proto", - "nix 0.24.3", - "thiserror", + "netlink-sys", + "nix 0.26.4", + "thiserror 1.0.69", "tokio", ] [[package]] -name = "rtoolbox" -version = "0.0.2" +name = "rtoolbox" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c247d24e63230cdb56463ae328478bd5eac8b8faa8c69461a77e8e323afac90e" +dependencies = [ + "libc", + "windows-sys 0.48.0", +] + +[[package]] +name = "ruint" +version = "1.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c3cc4c2511671f327125da14133d0c5c5d137f006a1017a16f557bc85b16286" +dependencies = [ + "alloy-rlp", + "ark-ff 0.3.0", + "ark-ff 0.4.2", + "bytes", + "fastrlp", + "num-bigint", + "num-traits", + "parity-scale-codec", + "primitive-types 0.12.2", + "proptest", + "rand", + "rlp", + "ruint-macro", + "serde", + "valuable", + "zeroize", +] + +[[package]] +name = "ruint-macro" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c247d24e63230cdb56463ae328478bd5eac8b8faa8c69461a77e8e323afac90e" -dependencies = [ - "libc", - "windows-sys 0.48.0", -] +checksum = "48fd7bd8a6377e15ad9d42a8ec25371b94ddc67abe7c8b9127bec79bebaaae18" [[package]] name = "rust-gpu-tools" @@ -12085,7 +15955,7 @@ dependencies = [ "opencl3", "sha2 0.10.8", "temp-env", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -12100,6 +15970,12 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" +[[package]] +name = "rustc-hash" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "583034fd73374156e66797ed8e5b0d5690409c9226b22d87cb7f19821c05d152" + [[package]] name = "rustc-hex" version = "2.1.0" @@ -12115,6 +15991,15 @@ dependencies = [ "semver 0.9.0", ] +[[package]] +name = "rustc_version" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0dfe2087c51c460008730de8b57e6a320782fbfb312e1f4d520e6c6fae155ee" +dependencies = [ + "semver 0.11.0", +] + [[package]] name = "rustc_version" version = "0.4.1" @@ -12163,9 +16048,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.39" +version = "0.38.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "375116bee2be9ed569afe2154ea6a99dfdffd257f533f187498c2a8f5feaf4ee" +checksum = "d7f649912bc1495e167a6edee79151c84b1bad49748cb4f1f1167f459f6224f6" dependencies = [ "bitflags 2.6.0", "errno 0.3.9", @@ -12199,23 +16084,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.22.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432" -dependencies = [ - "log", - "ring 0.17.8", - "rustls-pki-types", - "rustls-webpki 0.102.8", - "subtle 2.6.1", - "zeroize", -] - -[[package]] -name = "rustls" -version = "0.23.16" +version = "0.23.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eee87ff5d9b36712a58574e12e9f0ea80f915a5b0ac518d322b24a465617925e" +checksum = "7f1a745511c54ba6d4465e8d5dfbd81b45791756de28d4981af70d6dca128f1e" dependencies = [ "log", "once_cell", @@ -12286,7 +16157,7 @@ dependencies = [ "jni", "log", "once_cell", - "rustls 0.23.16", + "rustls 0.23.17", "rustls-native-certs 0.7.3", "rustls-platform-verifier-android", "rustls-webpki 0.102.8", @@ -12329,6 +16200,18 @@ version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248" +[[package]] +name = "rusty-fork" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb3dcc6e454c328bb824492db107ab7c0ae8fcffe4ad210136ef014458c1bc4f" +dependencies = [ + "fnv", + "quick-error", + "tempfile", + "wait-timeout", +] + [[package]] name = "ruzstd" version = "0.4.0" @@ -12342,13 +16225,12 @@ dependencies = [ [[package]] name = "ruzstd" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58c4eb8a81997cf040a091d1f7e1938aeab6749d3a0dfa73af43cdc32393483d" +checksum = "5174a470eeb535a721ae9fdd6e291c2411a906b96592182d05217591d5c5cf7b" dependencies = [ "byteorder", "derive_more 0.99.18", - "twox-hash", ] [[package]] @@ -12386,6 +16268,15 @@ dependencies = [ "bytemuck", ] +[[package]] +name = "salsa20" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97a22f5af31f73a954c10289c93e8a50cc23d971e80ee446f1f6f7137a088213" +dependencies = [ + "cipher 0.4.4", +] + [[package]] name = "same-file" version = "1.0.6" @@ -12398,18 +16289,30 @@ dependencies = [ [[package]] name = "sc-allocator" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b975ee3a95eaacb611e7b415737a7fa2db4d8ad7b880cc1b97371b04e95c7903" +dependencies = [ + "log", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-wasm-interface 21.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror 1.0.69", +] + +[[package]] +name = "sc-allocator" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "log", - "sp-core 34.0.0", - "sp-wasm-interface 21.0.0", - "thiserror", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-wasm-interface 21.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", ] [[package]] name = "sc-authority-discovery" -version = "0.44.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.45.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", "futures", @@ -12426,20 +16329,20 @@ dependencies = [ "sc-client-api", "sc-network", "sc-network-types", - "sp-api", - "sp-authority-discovery", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-authority-discovery 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", - "sp-core 34.0.0", - "sp-keystore 0.40.0", - "sp-runtime 39.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.69", ] [[package]] name = "sc-basic-authorship" -version = "0.44.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.45.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "futures", "futures-timer", @@ -12449,34 +16352,34 @@ dependencies = [ "sc-proposer-metrics", "sc-telemetry", "sc-transaction-pool-api", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", "sp-consensus", - "sp-core 34.0.0", - "sp-inherents", - "sp-runtime 39.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", "substrate-prometheus-endpoint", ] [[package]] name = "sc-block-builder" version = "0.42.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "parity-scale-codec", - "sp-api", - "sp-block-builder", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-block-builder 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", - "sp-core 34.0.0", - "sp-inherents", - "sp-runtime 39.0.0", - "sp-trie 37.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] name = "sc-chain-spec" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "array-bytes", "docify", @@ -12485,36 +16388,36 @@ dependencies = [ "parity-scale-codec", "sc-chain-spec-derive", "sc-client-api", - "sc-executor", + "sc-executor 0.40.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sc-network", "sc-telemetry", "serde", "serde_json", "sp-blockchain", - "sp-core 34.0.0", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "sp-genesis-builder", - "sp-io 38.0.0", - "sp-runtime 39.0.0", - "sp-state-machine 0.43.0", - "sp-tracing 17.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-genesis-builder 0.15.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-tracing 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] name = "sc-chain-spec-derive" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "sc-cli" -version = "0.46.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.47.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "array-bytes", "chrono", @@ -12542,47 +16445,47 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-core 34.0.0", - "sp-keyring", - "sp-keystore 0.40.0", - "sp-panic-handler 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "sp-runtime 39.0.0", - "sp-version", - "thiserror", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keyring 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-panic-handler 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", "tokio", ] [[package]] name = "sc-client-api" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "fnv", "futures", "log", "parity-scale-codec", "parking_lot 0.12.3", - "sc-executor", + "sc-executor 0.40.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sc-transaction-pool-api", "sc-utils", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", "sp-consensus", - "sp-core 34.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-database", - "sp-externalities 0.29.0", - "sp-runtime 39.0.0", - "sp-state-machine 0.43.0", - "sp-statement-store", - "sp-storage 21.0.0", - "sp-trie 37.0.0", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-statement-store 18.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-storage 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "substrate-prometheus-endpoint", ] [[package]] name = "sc-client-db" -version = "0.44.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.44.1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "hash-db", "kvdb", @@ -12596,19 +16499,19 @@ dependencies = [ "sc-client-api", "sc-state-db", "schnellru", - "sp-arithmetic 26.0.0", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", - "sp-core 34.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-database", - "sp-runtime 39.0.0", - "sp-state-machine 0.43.0", - "sp-trie 37.0.0", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] name = "sc-consensus" -version = "0.43.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.44.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", "futures", @@ -12619,20 +16522,20 @@ dependencies = [ "sc-network-types", "sc-utils", "serde", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", "sp-consensus", - "sp-core 34.0.0", - "sp-runtime 39.0.0", - "sp-state-machine 0.43.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.69", ] [[package]] name = "sc-consensus-aura" -version = "0.44.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.45.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", "futures", @@ -12643,25 +16546,25 @@ dependencies = [ "sc-consensus", "sc-consensus-slots", "sc-telemetry", - "sp-api", - "sp-application-crypto 38.0.0", - "sp-block-builder", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-block-builder 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", "sp-consensus", - "sp-consensus-aura", - "sp-consensus-slots", - "sp-core 34.0.0", - "sp-inherents", - "sp-keystore 0.40.0", - "sp-runtime 39.0.0", + "sp-consensus-aura 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-consensus-slots 0.40.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.69", ] [[package]] name = "sc-consensus-babe" -version = "0.44.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.45.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", "fork-tree", @@ -12678,48 +16581,48 @@ dependencies = [ "sc-consensus-slots", "sc-telemetry", "sc-transaction-pool-api", - "sp-api", - "sp-application-crypto 38.0.0", - "sp-block-builder", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-block-builder 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", "sp-consensus", - "sp-consensus-babe", - "sp-consensus-slots", - "sp-core 34.0.0", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "sp-inherents", - "sp-keystore 0.40.0", - "sp-runtime 39.0.0", + "sp-consensus-babe 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-consensus-slots 0.40.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.69", ] [[package]] name = "sc-consensus-babe-rpc" -version = "0.44.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.45.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "futures", - "jsonrpsee 0.23.2", + "jsonrpsee", "sc-consensus-babe", "sc-consensus-epochs", "sc-rpc-api", "serde", - "sp-api", - "sp-application-crypto 38.0.0", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", "sp-consensus", - "sp-consensus-babe", - "sp-core 34.0.0", - "sp-keystore 0.40.0", - "sp-runtime 39.0.0", - "thiserror", + "sp-consensus-babe 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "thiserror 1.0.69", ] [[package]] name = "sc-consensus-beefy" -version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -12736,59 +16639,59 @@ dependencies = [ "sc-network-sync", "sc-network-types", "sc-utils", - "sp-api", - "sp-application-crypto 38.0.0", - "sp-arithmetic 26.0.0", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", "sp-consensus", - "sp-consensus-beefy", - "sp-core 34.0.0", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "sp-keystore 0.40.0", - "sp-runtime 39.0.0", + "sp-consensus-beefy 22.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.69", "tokio", "wasm-timer", ] [[package]] name = "sc-consensus-beefy-rpc" -version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "futures", - "jsonrpsee 0.23.2", + "jsonrpsee", "log", "parity-scale-codec", "parking_lot 0.12.3", "sc-consensus-beefy", "sc-rpc", "serde", - "sp-application-crypto 38.0.0", - "sp-consensus-beefy", - "sp-core 34.0.0", - "sp-runtime 39.0.0", - "thiserror", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-consensus-beefy 22.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "thiserror 1.0.69", ] [[package]] name = "sc-consensus-epochs" -version = "0.43.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.44.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "fork-tree", "parity-scale-codec", "sc-client-api", "sc-consensus", "sp-blockchain", - "sp-runtime 39.0.0", + "sp-runtime 39.0.1", ] [[package]] name = "sc-consensus-grandpa" -version = "0.29.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.30.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "ahash 0.8.11", "array-bytes", @@ -12815,28 +16718,28 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde_json", - "sp-api", - "sp-application-crypto 38.0.0", - "sp-arithmetic 26.0.0", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", "sp-consensus", - "sp-consensus-grandpa", - "sp-core 34.0.0", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "sp-keystore 0.40.0", - "sp-runtime 39.0.0", + "sp-consensus-grandpa 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.69", ] [[package]] name = "sc-consensus-grandpa-rpc" -version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.30.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "finality-grandpa", "futures", - "jsonrpsee 0.23.2", + "jsonrpsee", "log", "parity-scale-codec", "sc-client-api", @@ -12844,15 +16747,15 @@ dependencies = [ "sc-rpc", "serde", "sp-blockchain", - "sp-core 34.0.0", - "sp-runtime 39.0.0", - "thiserror", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "thiserror 1.0.69", ] [[package]] name = "sc-consensus-slots" -version = "0.43.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.44.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", "futures", @@ -12862,67 +16765,136 @@ dependencies = [ "sc-client-api", "sc-consensus", "sc-telemetry", - "sp-arithmetic 26.0.0", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", "sp-consensus", - "sp-consensus-slots", - "sp-core 34.0.0", - "sp-inherents", - "sp-runtime 39.0.0", - "sp-state-machine 0.43.0", + "sp-consensus-slots 0.40.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] name = "sc-executor" -version = "0.40.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.40.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f0cc0a3728fd033589183460c5a49b2e7545d09dc89a098216ef9e9aadcd9dc" +dependencies = [ + "parity-scale-codec", + "parking_lot 0.12.3", + "sc-executor-common 0.35.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sc-executor-polkavm 0.32.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sc-executor-wasmtime 0.35.0 (registry+https://github.com/rust-lang/crates.io-index)", + "schnellru", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-panic-handler 13.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-version 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-wasm-interface 21.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing", +] + +[[package]] +name = "sc-executor" +version = "0.40.1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", - "sc-executor-common", - "sc-executor-polkavm", - "sc-executor-wasmtime", + "sc-executor-common 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sc-executor-polkavm 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sc-executor-wasmtime 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "schnellru", - "sp-api", - "sp-core 34.0.0", - "sp-externalities 0.29.0", - "sp-io 38.0.0", - "sp-panic-handler 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "sp-runtime-interface 28.0.0", - "sp-trie 37.0.0", - "sp-version", - "sp-wasm-interface 21.0.0", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-panic-handler 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime-interface 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-wasm-interface 21.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "tracing", ] [[package]] name = "sc-executor-common" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c3b703a33dcb7cddf19176fdf12294b9a6408125836b0f4afee3e6969e7f190" +dependencies = [ + "polkavm 0.9.3", + "sc-allocator 29.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-maybe-compressed-blob 11.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-wasm-interface 21.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror 1.0.69", + "wasm-instrument", +] + +[[package]] +name = "sc-executor-common" +version = "0.35.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "polkavm", - "sc-allocator", - "sp-maybe-compressed-blob", - "sp-wasm-interface 21.0.0", - "thiserror", + "polkavm 0.9.3", + "sc-allocator 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-wasm-interface 21.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", "wasm-instrument", ] [[package]] name = "sc-executor-polkavm" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26fe58d9cacfab73e5595fa84b80f7bd03efebe54a0574daaeb221a1d1f7ab80" +dependencies = [ + "log", + "polkavm 0.9.3", + "sc-executor-common 0.35.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-wasm-interface 21.0.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "sc-executor-polkavm" +version = "0.32.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "log", + "polkavm 0.9.3", + "sc-executor-common 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-wasm-interface 21.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "sc-executor-wasmtime" +version = "0.35.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8cd498f2f77ec1f861c30804f5bfd796d4afcc8ce44ea1f11bfbe2847551d161" dependencies = [ + "anyhow", + "cfg-if", + "libc", "log", - "polkavm", - "sc-executor-common", - "sp-wasm-interface 21.0.0", + "parking_lot 0.12.3", + "rustix 0.36.17", + "sc-allocator 29.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sc-executor-common 0.35.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-wasm-interface 21.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "wasmtime", ] [[package]] name = "sc-executor-wasmtime" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "anyhow", "cfg-if", @@ -12930,19 +16902,19 @@ dependencies = [ "log", "parking_lot 0.12.3", "rustix 0.36.17", - "sc-allocator", - "sc-executor-common", - "sp-runtime-interface 28.0.0", - "sp-wasm-interface 21.0.0", + "sc-allocator 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sc-executor-common 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime-interface 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-wasm-interface 21.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "wasmtime", ] [[package]] name = "sc-informant" -version = "0.43.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.44.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "ansi_term", + "console", "futures", "futures-timer", "log", @@ -12951,27 +16923,27 @@ dependencies = [ "sc-network-common", "sc-network-sync", "sp-blockchain", - "sp-runtime 39.0.0", + "sp-runtime 39.0.1", ] [[package]] name = "sc-keystore" version = "33.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "array-bytes", "parking_lot 0.12.3", "serde_json", - "sp-application-crypto 38.0.0", - "sp-core 34.0.0", - "sp-keystore 0.40.0", - "thiserror", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", ] [[package]] name = "sc-mixnet" -version = "0.14.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.15.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "array-bytes", "arrayvec 0.7.6", @@ -12988,19 +16960,19 @@ dependencies = [ "sc-network", "sc-network-types", "sc-transaction-pool-api", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-consensus", - "sp-core 34.0.0", - "sp-keystore 0.40.0", - "sp-mixnet", - "sp-runtime 39.0.0", - "thiserror", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-mixnet 0.12.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "thiserror 1.0.69", ] [[package]] name = "sc-network" -version = "0.44.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.45.1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -13034,12 +17006,12 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-arithmetic 26.0.0", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", - "sp-core 34.0.0", - "sp-runtime 39.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-stream", "unsigned-varint 0.7.2", @@ -13050,8 +17022,8 @@ dependencies = [ [[package]] name = "sc-network-common" -version = "0.43.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.44.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -13062,14 +17034,14 @@ dependencies = [ "sc-consensus", "sc-network-types", "sp-consensus", - "sp-consensus-grandpa", - "sp-runtime 39.0.0", + "sp-consensus-grandpa 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", ] [[package]] name = "sc-network-gossip" -version = "0.44.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.45.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "ahash 0.8.11", "futures", @@ -13080,15 +17052,15 @@ dependencies = [ "sc-network-sync", "sc-network-types", "schnellru", - "sp-runtime 39.0.0", + "sp-runtime 39.0.1", "substrate-prometheus-endpoint", "tracing", ] [[package]] name = "sc-network-light" -version = "0.43.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.44.1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -13101,15 +17073,15 @@ dependencies = [ "sc-network", "sc-network-types", "sp-blockchain", - "sp-core 34.0.0", - "sp-runtime 39.0.0", - "thiserror", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "thiserror 1.0.69", ] [[package]] name = "sc-network-sync" -version = "0.43.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.44.1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -13131,22 +17103,22 @@ dependencies = [ "sc-utils", "schnellru", "smallvec", - "sp-arithmetic 26.0.0", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", "sp-consensus", - "sp-consensus-grandpa", - "sp-core 34.0.0", - "sp-runtime 39.0.0", + "sp-consensus-grandpa 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-stream", ] [[package]] name = "sc-network-transactions" -version = "0.43.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.44.1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "array-bytes", "futures", @@ -13158,14 +17130,14 @@ dependencies = [ "sc-network-types", "sc-utils", "sp-consensus", - "sp-runtime 39.0.0", + "sp-runtime 39.0.1", "substrate-prometheus-endpoint", ] [[package]] name = "sc-network-types" version = "0.12.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "bs58 0.5.1", "ed25519-dalek", @@ -13175,14 +17147,14 @@ dependencies = [ "multiaddr 0.18.2", "multihash 0.19.2", "rand", - "thiserror", + "thiserror 1.0.69", "zeroize", ] [[package]] name = "sc-offchain" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "array-bytes", "bytes", @@ -13203,12 +17175,12 @@ dependencies = [ "sc-network-types", "sc-transaction-pool-api", "sc-utils", - "sp-api", - "sp-core 34.0.0", - "sp-externalities 0.29.0", - "sp-keystore 0.40.0", - "sp-offchain", - "sp-runtime 39.0.0", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-offchain 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", "threadpool", "tracing", ] @@ -13216,7 +17188,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.18.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -13224,11 +17196,11 @@ dependencies = [ [[package]] name = "sc-rpc" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "futures", - "jsonrpsee 0.23.2", + "jsonrpsee", "log", "parity-scale-codec", "parking_lot 0.12.3", @@ -13241,25 +17213,25 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde_json", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", - "sp-core 34.0.0", - "sp-keystore 0.40.0", - "sp-offchain", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-offchain 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-rpc", - "sp-runtime 39.0.0", - "sp-session", - "sp-statement-store", - "sp-version", + "sp-runtime 39.0.1", + "sp-session 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-statement-store 18.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "tokio", ] [[package]] name = "sc-rpc-api" -version = "0.43.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.44.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "jsonrpsee 0.23.2", + "jsonrpsee", "parity-scale-codec", "sc-chain-spec", "sc-mixnet", @@ -13267,27 +17239,29 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-core 34.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-rpc", - "sp-runtime 39.0.0", - "sp-version", - "thiserror", + "sp-runtime 39.0.1", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", ] [[package]] name = "sc-rpc-server" -version = "16.0.2" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "17.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ + "dyn-clone", "forwarded-header-value", "futures", "governor", "http 1.1.0", "http-body-util", - "hyper 1.5.0", + "hyper 1.5.1", "ip_network", - "jsonrpsee 0.23.2", + "jsonrpsee", "log", + "sc-rpc-api", "serde", "serde_json", "substrate-prometheus-endpoint", @@ -13298,14 +17272,14 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" -version = "0.44.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.45.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "array-bytes", "futures", "futures-util", "hex", - "jsonrpsee 0.23.2", + "jsonrpsee", "log", "parity-scale-codec", "parking_lot 0.12.3", @@ -13317,28 +17291,28 @@ dependencies = [ "sc-utils", "schnellru", "serde", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", - "sp-core 34.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-rpc", - "sp-runtime 39.0.0", - "sp-version", - "thiserror", + "sp-runtime 39.0.1", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", "tokio", "tokio-stream", ] [[package]] name = "sc-service" -version = "0.45.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.46.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", "directories", "exit-future", "futures", "futures-timer", - "jsonrpsee 0.23.2", + "jsonrpsee", "log", "parity-scale-codec", "parking_lot 0.12.3", @@ -13348,7 +17322,7 @@ dependencies = [ "sc-client-api", "sc-client-db", "sc-consensus", - "sc-executor", + "sc-executor 0.40.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sc-informant", "sc-keystore", "sc-network", @@ -13369,24 +17343,24 @@ dependencies = [ "schnellru", "serde", "serde_json", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", "sp-consensus", - "sp-core 34.0.0", - "sp-externalities 0.29.0", - "sp-keystore 0.40.0", - "sp-runtime 39.0.0", - "sp-session", - "sp-state-machine 0.43.0", - "sp-storage 21.0.0", - "sp-transaction-pool", - "sp-transaction-storage-proof", - "sp-trie 37.0.0", - "sp-version", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-session 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-storage 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-transaction-pool 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-transaction-storage-proof 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "static_init", "substrate-prometheus-endpoint", "tempfile", - "thiserror", + "thiserror 1.0.69", "tokio", "tracing", "tracing-futures", @@ -13395,33 +17369,33 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.36.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.3", - "sp-core 34.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] name = "sc-storage-monitor" version = "0.22.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "clap", "fs4", "log", - "sp-core 34.0.0", - "thiserror", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", "tokio", ] [[package]] name = "sc-sync-state-rpc" -version = "0.44.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.45.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "jsonrpsee 0.23.2", + "jsonrpsee", "parity-scale-codec", "sc-chain-spec", "sc-client-api", @@ -13431,14 +17405,14 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-runtime 39.0.0", - "thiserror", + "sp-runtime 39.0.1", + "thiserror 1.0.69", ] [[package]] name = "sc-sysinfo" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "derive_more 0.99.18", "futures", @@ -13450,16 +17424,16 @@ dependencies = [ "sc-telemetry", "serde", "serde_json", - "sp-core 34.0.0", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "sp-io 38.0.0", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] name = "sc-telemetry" -version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "25.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "chrono", "futures", @@ -13472,35 +17446,34 @@ dependencies = [ "sc-utils", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", "wasm-timer", ] [[package]] name = "sc-tracing" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "37.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "ansi_term", "chrono", + "console", "is-terminal", "lazy_static", "libc", "log", "parity-scale-codec", "parking_lot 0.12.3", - "regex", - "rustc-hash", + "rustc-hash 1.1.0", "sc-client-api", "sc-tracing-proc-macro", "serde", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", - "sp-core 34.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-rpc", - "sp-runtime 39.0.0", - "sp-tracing 17.0.0", - "thiserror", + "sp-runtime 39.0.1", + "sp-tracing 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", "tracing", "tracing-log 0.2.0", "tracing-subscriber 0.3.18", @@ -13509,18 +17482,18 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "sc-transaction-pool" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", "futures", @@ -13533,21 +17506,21 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", - "sp-core 34.0.0", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "sp-runtime 39.0.0", - "sp-tracing 17.0.0", - "sp-transaction-pool", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-tracing 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-transaction-pool 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.69", ] [[package]] name = "sc-transaction-pool-api" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", "futures", @@ -13555,15 +17528,15 @@ dependencies = [ "parity-scale-codec", "serde", "sp-blockchain", - "sp-core 34.0.0", - "sp-runtime 39.0.0", - "thiserror", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "thiserror 1.0.69", ] [[package]] name = "sc-utils" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-channel 1.9.0", "futures", @@ -13572,7 +17545,7 @@ dependencies = [ "log", "parking_lot 0.12.3", "prometheus", - "sp-arithmetic 26.0.0", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] @@ -13589,13 +17562,13 @@ dependencies = [ [[package]] name = "scale-decode" -version = "0.13.1" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e98f3262c250d90e700bb802eb704e1f841e03331c2eb815e46516c4edbf5b27" +checksum = "f8ae9cc099ae85ff28820210732b00f019546f36f33225f509fe25d5816864a0" dependencies = [ - "derive_more 0.99.18", + "derive_more 1.0.0", "parity-scale-codec", - "primitive-types", + "primitive-types 0.13.1", "scale-bits", "scale-decode-derive", "scale-type-resolver", @@ -13604,25 +17577,25 @@ dependencies = [ [[package]] name = "scale-decode-derive" -version = "0.13.1" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bb22f574168103cdd3133b19281639ca65ad985e24612728f727339dcaf4021" +checksum = "5ed9401effa946b493f9f84dc03714cca98119b230497df6f3df6b84a2b03648" dependencies = [ - "darling 0.14.4", + "darling", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.89", ] [[package]] name = "scale-encode" -version = "0.7.2" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "528464e6ae6c8f98e2b79633bf79ef939552e795e316579dab09c61670d56602" +checksum = "5f9271284d05d0749c40771c46180ce89905fd95aa72a2a2fddb4b7c0aa424db" dependencies = [ - "derive_more 0.99.18", + "derive_more 1.0.0", "parity-scale-codec", - "primitive-types", + "primitive-types 0.13.1", "scale-bits", "scale-encode-derive", "scale-type-resolver", @@ -13631,22 +17604,22 @@ dependencies = [ [[package]] name = "scale-encode-derive" -version = "0.7.2" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef2618f123c88da9cd8853b69d766068f1eddc7692146d7dfe9b89e25ce2efd" +checksum = "102fbc6236de6c53906c0b262f12c7aa69c2bdc604862c12728f5f4d370bc137" dependencies = [ - "darling 0.20.10", + "darling", "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "scale-info" -version = "2.11.5" +version = "2.11.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1aa7ffc1c0ef49b0452c6e2986abf2b07743320641ffd5fc63d552458e3b779b" +checksum = "346a3b32eba2640d17a9cb5927056b08f3de90f65b72fe09402c2ad07d684d0b" dependencies = [ "bitvec", "cfg-if", @@ -13658,14 +17631,14 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.11.5" +version = "2.11.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46385cc24172cf615450267463f937c10072516359b3ff1cb24228a4a08bf951" +checksum = "c6630024bf739e2179b91fb424b28898baf819414262c5d376677dbff1fe7ebf" dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -13680,28 +17653,27 @@ dependencies = [ [[package]] name = "scale-typegen" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "498d1aecf2ea61325d4511787c115791639c0fd21ef4f8e11e49dd09eff2bbac" +checksum = "0dc4c70c7fea2eef1740f0081d3fe385d8bee1eef11e9272d3bec7dc8e5438e0" dependencies = [ "proc-macro2", "quote", "scale-info", - "syn 2.0.87", - "thiserror", + "syn 2.0.89", + "thiserror 1.0.69", ] [[package]] name = "scale-value" -version = "0.16.3" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cd6ab090d823e75cfdb258aad5fe92e13f2af7d04b43a55d607d25fcc38c811" +checksum = "f5e0ef2a0ee1e02a69ada37feb87ea1616ce9808aca072befe2d3131bf28576e" dependencies = [ "base58", "blake2 0.10.6", - "derive_more 0.99.18", + "derive_more 1.0.0", "either", - "frame-metadata 15.1.0", "parity-scale-codec", "scale-bits", "scale-decode", @@ -13714,9 +17686,9 @@ dependencies = [ [[package]] name = "schannel" -version = "0.1.26" +version = "0.1.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01227be5826fa0690321a2ba6c5cd57a19cf3f6a09e76973b58e61de6ab9d1c1" +checksum = "1f29ebaa345f945cec9fbbc532eb307f0fdad8161f281b6369539c8d84876b3d" dependencies = [ "windows-sys 0.59.0", ] @@ -13779,6 +17751,18 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a3cf7c11c38cb994f3d40e8a8cde3bbd1f72a435e4c49e85d6553d8312306152" +[[package]] +name = "scrypt" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0516a385866c09368f0b5bcd1caff3366aace790fcd46e2bb032697bb172fd1f" +dependencies = [ + "password-hash", + "pbkdf2", + "salsa20", + "sha2 0.10.8", +] + [[package]] name = "sct" version = "0.7.1" @@ -13801,7 +17785,18 @@ dependencies = [ "log", "rand", "slab", - "thiserror", + "thiserror 1.0.69", +] + +[[package]] +name = "sealed" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22f968c5ea23d555e670b449c1c5e7b2fc399fdaec1d304a17cd48e288abc107" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.89", ] [[package]] @@ -13834,7 +17829,18 @@ version = "0.28.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d24b59d129cdadea20aea4fb2352fa053712e5d713eee47d700cd4b2bc002f10" dependencies = [ - "secp256k1-sys", + "secp256k1-sys 0.9.2", +] + +[[package]] +name = "secp256k1" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b50c5943d326858130af85e049f2661ba3c78b26589b8ab98e65e80ae44a1252" +dependencies = [ + "bitcoin_hashes 0.14.0", + "rand", + "secp256k1-sys 0.10.1", ] [[package]] @@ -13846,6 +17852,15 @@ dependencies = [ "cc", ] +[[package]] +name = "secp256k1-sys" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4387882333d3aa8cb20530a17c69a3752e97837832f34f6dccc760e715001d9" +dependencies = [ + "cc", +] + [[package]] name = "secrecy" version = "0.8.0" @@ -13856,6 +17871,15 @@ dependencies = [ "zeroize", ] +[[package]] +name = "secrecy" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e891af845473308773346dc847b2c23ee78fe442e0472ac50e22a18a93d3ae5a" +dependencies = [ + "zeroize", +] + [[package]] name = "security-framework" version = "2.11.1" @@ -13872,9 +17896,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.12.0" +version = "2.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea4a292869320c0272d7bc55a5a6aafaff59b4f63404a003887b679a2e05b4b6" +checksum = "fa39c7303dc58b5543c94d22c1766b0d31f2ee58306363ea622b10bbc075eaa2" dependencies = [ "core-foundation-sys", "libc", @@ -13886,7 +17910,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a3186ec9e65071a2095434b1f5bb24838d4e8e130f584c790f6033c79943537" dependencies = [ - "semver-parser", + "semver-parser 0.7.0", ] [[package]] @@ -13895,7 +17919,16 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" dependencies = [ - "semver-parser", + "semver-parser 0.7.0", +] + +[[package]] +name = "semver" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6" +dependencies = [ + "semver-parser 0.10.3", ] [[package]] @@ -13913,6 +17946,15 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" +[[package]] +name = "semver-parser" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9900206b54a3527fdc7b8a938bffd94a568bac4f4aa8113b209df75a09c0dec2" +dependencies = [ + "pest", +] + [[package]] name = "send_wrapper" version = "0.6.0" @@ -13920,12 +17962,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" [[package]] -name = "serde" -version = "1.0.214" +name = "serde" +version = "1.0.215" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6513c1ad0b11a9376da888e3e0baa0077f1aed55c17f50e7b2397136129fb88f" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde-big-array" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f55c3193aca71c12ad7890f1785d2b73e1b9f63a0bbc353c08ef26fe03fc56b5" +checksum = "cd31f59f6fe2b0c055371bb2f16d7f0aa7d8881676c04a55b1596d1a17cd10a4" dependencies = [ - "serde_derive", + "serde", ] [[package]] @@ -13949,13 +18000,13 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.214" +version = "1.0.215" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de523f781f095e28fa605cdce0f8307e451cc0fd14e2eb4cd2e98a355b147766" +checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -13972,9 +18023,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.132" +version = "1.0.133" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d726bfaff4b320266d395898905d0eba0345aae23b54aee3a737e260fd46db03" +checksum = "c7fceb2473b9166b2294ef05efcb65a3db80803f0b03ef86a5fc88a2b85ee377" dependencies = [ "itoa", "memchr", @@ -14232,12 +18283,24 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e34f1146a457a5c554dedeae6c7273aa54c3b031f3e9eb0abd037b5511e2ce9" +dependencies = [ + "enumn", + "parity-scale-codec", + "paste", + "sp-runtime 39.0.2", +] + +[[package]] +name = "slot-range-helper" +version = "15.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "enumn", "parity-scale-codec", "paste", - "sp-runtime 39.0.0", + "sp-runtime 39.0.1", ] [[package]] @@ -14281,12 +18344,12 @@ dependencies = [ "async-channel 2.3.1", "async-executor", "async-fs 2.1.2", - "async-io 2.3.4", + "async-io 2.4.0", "async-lock 3.4.0", "async-net 2.0.0", "async-process 2.3.0", "blocking", - "futures-lite 2.4.0", + "futures-lite 2.5.0", ] [[package]] @@ -14338,21 +18401,21 @@ dependencies = [ "smallvec", "soketto 0.7.1", "twox-hash", - "wasmi", + "wasmi 0.31.2", "x25519-dalek", "zeroize", ] [[package]] name = "smoldot" -version = "0.16.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6d1eaa97d77be4d026a1e7ffad1bb3b78448763b357ea6f8188d3e6f736a9b9" +checksum = "966e72d77a3b2171bb7461d0cb91f43670c63558c62d7cf42809cae6c8b6b818" dependencies = [ "arrayvec 0.7.6", "async-lock 3.4.0", "atomic-take", - "base64 0.21.7", + "base64 0.22.1", "bip39", "blake2-rfc", "bs58 0.5.1", @@ -14361,18 +18424,17 @@ dependencies = [ "derive_more 0.99.18", "ed25519-zebra 4.0.3", "either", - "event-listener 4.0.3", + "event-listener 5.3.1", "fnv", - "futures-lite 2.4.0", + "futures-lite 2.5.0", "futures-util", "hashbrown 0.14.5", "hex", "hmac 0.12.1", - "itertools 0.12.1", + "itertools 0.13.0", "libm", "libsecp256k1", "merlin", - "no-std-net", "nom", "num-bigint", "num-rational", @@ -14382,7 +18444,7 @@ dependencies = [ "poly1305", "rand", "rand_chacha", - "ruzstd 0.5.0", + "ruzstd 0.6.0", "schnorrkel 0.11.4", "serde", "serde_json", @@ -14391,9 +18453,9 @@ dependencies = [ "siphasher 1.0.1", "slab", "smallvec", - "soketto 0.7.1", + "soketto 0.8.0", "twox-hash", - "wasmi", + "wasmi 0.32.3", "x25519-dalek", "zeroize", ] @@ -14436,27 +18498,27 @@ dependencies = [ [[package]] name = "smoldot-light" -version = "0.14.0" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5496f2d116b7019a526b1039ec2247dd172b8670633b1a64a614c9ea12c9d8c7" +checksum = "2a33b06891f687909632ce6a4e3fd7677b24df930365af3d0bcb078310129f3f" dependencies = [ "async-channel 2.3.1", "async-lock 3.4.0", - "base64 0.21.7", + "base64 0.22.1", "blake2-rfc", + "bs58 0.5.1", "derive_more 0.99.18", "either", - "event-listener 4.0.3", + "event-listener 5.3.1", "fnv", "futures-channel", - "futures-lite 2.4.0", + "futures-lite 2.5.0", "futures-util", "hashbrown 0.14.5", "hex", - "itertools 0.12.1", + "itertools 0.13.0", "log", "lru 0.12.5", - "no-std-net", "parking_lot 0.12.3", "pin-project", "rand", @@ -14466,7 +18528,7 @@ dependencies = [ "siphasher 1.0.1", "slab", "smol 2.0.2", - "smoldot 0.16.0", + "smoldot 0.18.0", "zeroize", ] @@ -14493,6 +18555,330 @@ dependencies = [ "subtle 2.6.1", ] +[[package]] +name = "snowbridge-amcl" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "460a9ed63cdf03c1b9847e8a12a5f5ba19c4efd5869e4a737e05be25d7c427e5" +dependencies = [ + "parity-scale-codec", + "scale-info", +] + +[[package]] +name = "snowbridge-beacon-primitives" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10bd720997e558beb556d354238fa90781deb38241cf31c1b6368738ef21c279" +dependencies = [ + "byte-slice-cast", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hex", + "parity-scale-codec", + "rlp", + "scale-info", + "serde", + "snowbridge-ethereum", + "snowbridge-milagro-bls", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "ssz_rs", + "ssz_rs_derive", +] + +[[package]] +name = "snowbridge-core" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6be61e4db95d1e253a1d5e722953b2d2f6605e5f9761f0a919e5d3fbdbff9da9" +dependencies = [ + "ethabi-decode", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hex-literal", + "parity-scale-codec", + "polkadot-parachain-primitives 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "scale-info", + "serde", + "snowbridge-beacon-primitives", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-builder 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "snowbridge-ethereum" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc3d6d549c57df27cf89ec852f932fa4008eea877a6911a87e03e8002104eabd" +dependencies = [ + "ethabi-decode", + "ethbloom", + "ethereum-types", + "hex-literal", + "parity-bytes", + "parity-scale-codec", + "rlp", + "scale-info", + "serde", + "serde-big-array", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "snowbridge-milagro-bls" +version = "1.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "026aa8638f690a53e3f7676024b9e913b1cab0111d1b7b92669d40a188f9d7e6" +dependencies = [ + "hex", + "lazy_static", + "parity-scale-codec", + "rand", + "scale-info", + "snowbridge-amcl", + "zeroize", +] + +[[package]] +name = "snowbridge-outbound-queue-merkle-tree" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74c6a9b65fa61711b704f0c6afb3663c6288288e8822ddae5cc1146fe3ad9ce8" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "snowbridge-outbound-queue-runtime-api" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38d27b8d9cb8022637a5ce4f52692520fa75874f393e04ef5cd75bd8795087f6" +dependencies = [ + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "snowbridge-core", + "snowbridge-outbound-queue-merkle-tree", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "snowbridge-pallet-ethereum-client" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d53d32d8470c643f9f8c1f508e1e34263f76297e4c9150e10e8f2e0b63992e1" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "pallet-timestamp 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "serde", + "snowbridge-beacon-primitives", + "snowbridge-core", + "snowbridge-ethereum", + "snowbridge-pallet-ethereum-client-fixtures", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "static_assertions", +] + +[[package]] +name = "snowbridge-pallet-ethereum-client-fixtures" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3984b98465af1d862d4e87ba783e1731f2a3f851b148d6cb98d526cebd351185" +dependencies = [ + "hex-literal", + "snowbridge-beacon-primitives", + "snowbridge-core", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "snowbridge-pallet-inbound-queue" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2e6a9d00e60e3744e6b6f0c21fea6694b9c6401ac40e41340a96e561dcf1935" +dependencies = [ + "alloy-primitives", + "alloy-sol-types", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "pallet-balances 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "serde", + "snowbridge-beacon-primitives", + "snowbridge-core", + "snowbridge-pallet-inbound-queue-fixtures", + "snowbridge-router-primitives", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-executor 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "snowbridge-pallet-inbound-queue-fixtures" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b099db83f4c10c0bf84e87deb1596019f91411ea1c8c9733ea9a7f2e7e967073" +dependencies = [ + "hex-literal", + "snowbridge-beacon-primitives", + "snowbridge-core", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "snowbridge-pallet-outbound-queue" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7d49478041b6512c710d0d4655675d146fe00a8e0c1624e5d8a1d6c161d490f" +dependencies = [ + "bridge-hub-common", + "ethabi-decode", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "serde", + "snowbridge-core", + "snowbridge-outbound-queue-merkle-tree", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "snowbridge-pallet-system" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "674db59b3c8013382e5c07243ad9439b64d81d2e8b3c4f08d752b55aa5de697e" +dependencies = [ + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "parity-scale-codec", + "scale-info", + "snowbridge-core", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-executor 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "snowbridge-router-primitives" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "025f1e6805753821b1db539369f1fb183fd59fd5df7023f7633a4c0cfd3e62f9" +dependencies = [ + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hex-literal", + "log", + "parity-scale-codec", + "scale-info", + "snowbridge-core", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-executor 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "snowbridge-runtime-common" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6093f0e73d6cfdd2eea8712155d1d75b5063fc9b1d854d2665b097b4bb29570d" +dependencies = [ + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "parity-scale-codec", + "snowbridge-core", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-builder 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-executor 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "snowbridge-runtime-test-common" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "893480d6cde2489051c65efb5d27fa87efe047b3b61216d8e27bb2f0509b7faf" +dependencies = [ + "cumulus-pallet-parachain-system 0.17.1 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-balances 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-collator-selection 19.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-message-queue 41.0.2 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-session 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-timestamp 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-utility 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-xcm 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parachains-runtimes-test-utils", + "parity-scale-codec", + "snowbridge-core", + "snowbridge-pallet-ethereum-client", + "snowbridge-pallet-ethereum-client-fixtures", + "snowbridge-pallet-outbound-queue", + "snowbridge-pallet-system", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keyring 39.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "staging-parachain-info 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-executor 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "snowbridge-system-runtime-api" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68b8b83b3db781c49844312a23965073e4d93341739a35eafe526c53b578d3b7" +dependencies = [ + "parity-scale-codec", + "snowbridge-core", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "socket2" version = "0.4.10" @@ -14547,29 +18933,67 @@ dependencies = [ [[package]] name = "sp-api" version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbce492e0482134128b7729ea36f5ef1a9f9b4de2d48ff8dde7b5e464e28ce75" +dependencies = [ + "docify", + "hash-db", + "log", + "parity-scale-codec", + "scale-info", + "sp-api-proc-macro 20.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-metadata-ir 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-state-machine 0.43.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-version 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror 1.0.69", +] + +[[package]] +name = "sp-api" +version = "34.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "docify", "hash-db", "log", "parity-scale-codec", "scale-info", - "sp-api-proc-macro", - "sp-core 34.0.0", - "sp-externalities 0.29.0", - "sp-metadata-ir", - "sp-runtime 39.0.0", - "sp-runtime-interface 28.0.0", - "sp-state-machine 0.43.0", - "sp-trie 37.0.0", - "sp-version", - "thiserror", + "sp-api-proc-macro 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-metadata-ir 0.7.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-runtime-interface 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", +] + +[[package]] +name = "sp-api-proc-macro" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9aadf9e97e694f0e343978aa632938c5de309cbcc8afed4136cb71596737278" +dependencies = [ + "Inflector", + "blake2 0.10.6", + "expander", + "proc-macro-crate 3.2.0", + "proc-macro2", + "quote", + "syn 2.0.89", ] [[package]] name = "sp-api-proc-macro" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "Inflector", "blake2 0.10.6", @@ -14577,41 +19001,41 @@ dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "sp-application-crypto" -version = "33.0.0" +version = "38.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13ca6121c22c8bd3d1dce1f05c479101fd0d7b159bef2a3e8c834138d839c75c" +checksum = "0d8133012faa5f75b2f0b1619d9f720c1424ac477152c143e5f7dbde2fe1a958" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 31.0.0", - "sp-io 33.0.0", - "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "sp-application-crypto" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] name = "sp-arithmetic" -version = "25.0.0" +version = "26.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "910c07fa263b20bf7271fdd4adcb5d3217dfdac14270592e0780223542e7e114" +checksum = "46d0d0a4c591c421d3231ddd5e27d828618c24456d51445d21a1f79fcee97c23" dependencies = [ + "docify", "integer-sqrt", "num-traits", "parity-scale-codec", @@ -14624,7 +19048,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "docify", "integer-sqrt", @@ -14638,139 +19062,264 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "519c33af0e25ba2dd2eb3790dc404d634b6e4ce0801bcc8fa3574e07c365e734" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "sp-authority-discovery" +version = "34.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "parity-scale-codec", "scale-info", - "sp-api", - "sp-application-crypto 38.0.0", - "sp-runtime 39.0.0", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "sp-block-builder" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74738809461e3d4bd707b5b94e0e0c064a623a74a6a8fe5c98514417a02858dd" +dependencies = [ + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", ] [[package]] name = "sp-block-builder" version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "sp-api", - "sp-inherents", - "sp-runtime 39.0.0", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", ] [[package]] name = "sp-blockchain" version = "37.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "futures", "parity-scale-codec", "parking_lot 0.12.3", "schnellru", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-consensus", - "sp-core 34.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-database", - "sp-runtime 39.0.0", - "sp-state-machine 0.43.0", - "thiserror", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", "tracing", ] [[package]] -name = "sp-consensus" +name = "sp-consensus" +version = "0.40.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "async-trait", + "futures", + "log", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", +] + +[[package]] +name = "sp-consensus-aura" +version = "0.40.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a8faaa05bbcb9c41f0cc535c4c1315abf6df472b53eae018678d1b4d811ac47" +dependencies = [ + "async-trait", + "parity-scale-codec", + "scale-info", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-slots 0.40.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-timestamp 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "sp-consensus-aura" version = "0.40.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", - "futures", - "log", - "sp-core 34.0.0", - "sp-inherents", - "sp-runtime 39.0.0", - "sp-state-machine 0.43.0", - "thiserror", + "parity-scale-codec", + "scale-info", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-consensus-slots 0.40.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-timestamp 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] -name = "sp-consensus-aura" +name = "sp-consensus-babe" version = "0.40.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36ee95e17ee8dcd14db7d584b899a426565ca9abe5a266ab82277977fc547f86" dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-api", - "sp-application-crypto 38.0.0", - "sp-consensus-slots", - "sp-inherents", - "sp-runtime 39.0.0", - "sp-timestamp", + "serde", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-consensus-slots 0.40.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-timestamp 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "sp-consensus-babe" version = "0.40.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto 38.0.0", - "sp-consensus-slots", - "sp-core 34.0.0", - "sp-inherents", - "sp-runtime 39.0.0", - "sp-timestamp", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-consensus-slots 0.40.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-timestamp 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] name = "sp-consensus-beefy" -version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "22.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1d97e8cd75d85d15cda6f1923cf3834e848f80d5a6de1cf4edbbc5f0ad607eb" dependencies = [ "lazy_static", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto 38.0.0", - "sp-core 34.0.0", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "sp-io 38.0.0", - "sp-keystore 0.40.0", - "sp-mmr-primitives", - "sp-runtime 39.0.0", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keystore 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-mmr-primitives 34.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "strum 0.26.3", +] + +[[package]] +name = "sp-consensus-beefy" +version = "22.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "lazy_static", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-mmr-primitives 34.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-weights 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "strum 0.26.3", ] [[package]] name = "sp-consensus-grandpa" version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "587b791efe6c5f18e09dbbaf1ece0ee7b5fe51602c233e7151a3676b0de0260b" dependencies = [ "finality-grandpa", "log", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto 38.0.0", - "sp-core 34.0.0", - "sp-keystore 0.40.0", - "sp-runtime 39.0.0", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keystore 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", ] [[package]] -name = "sp-consensus-slots" +name = "sp-consensus-grandpa" +version = "21.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "finality-grandpa", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "sp-consensus-pow" version = "0.40.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fa6b7d199a1c16cea1b74ee7cee174bf08f2120ab66a87bee7b12353100b47c" +dependencies = [ + "parity-scale-codec", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "sp-consensus-slots" +version = "0.40.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbafb7ed44f51c22fa277fb39b33dc601fa426133a8e2b53f3f46b10f07fba43" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-timestamp 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "sp-consensus-slots" +version = "0.40.1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-timestamp", + "sp-timestamp 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] @@ -14789,7 +19338,7 @@ dependencies = [ "futures", "hash-db", "hash256-std-hasher", - "impl-serde", + "impl-serde 0.4.0", "itertools 0.10.5", "k256", "libsecp256k1", @@ -14799,12 +19348,12 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", "paste", - "primitive-types", + "primitive-types 0.12.2", "rand", "scale-info", "schnorrkel 0.11.4", - "secp256k1", - "secrecy", + "secp256k1 0.28.2", + "secrecy 0.8.0", "serde", "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-debug-derive 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -14814,7 +19363,54 @@ dependencies = [ "sp-storage 20.0.0", "ss58-registry", "substrate-bip39 0.5.0", - "thiserror", + "thiserror 1.0.69", + "tracing", + "w3f-bls", + "zeroize", +] + +[[package]] +name = "sp-core" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c961a5e33fb2962fa775c044ceba43df9c6f917e2c35d63bfe23738468fa76a7" +dependencies = [ + "array-bytes", + "bitflags 1.3.2", + "blake2 0.10.6", + "bounded-collections", + "bs58 0.5.1", + "dyn-clonable", + "ed25519-zebra 4.0.3", + "futures", + "hash-db", + "hash256-std-hasher", + "impl-serde 0.4.0", + "itertools 0.11.0", + "k256", + "libsecp256k1", + "log", + "merlin", + "parity-bip39", + "parity-scale-codec", + "parking_lot 0.12.3", + "paste", + "primitive-types 0.12.2", + "rand", + "scale-info", + "schnorrkel 0.11.4", + "secp256k1 0.28.2", + "secrecy 0.8.0", + "serde", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-debug-derive 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-storage 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "ss58-registry", + "substrate-bip39 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror 1.0.69", "tracing", "w3f-bls", "zeroize", @@ -14823,7 +19419,7 @@ dependencies = [ [[package]] name = "sp-core" version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "array-bytes", "bitflags 1.3.2", @@ -14835,7 +19431,7 @@ dependencies = [ "futures", "hash-db", "hash256-std-hasher", - "impl-serde", + "impl-serde 0.4.0", "itertools 0.11.0", "k256", "libsecp256k1", @@ -14845,27 +19441,57 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", "paste", - "primitive-types", + "primitive-types 0.12.2", "rand", "scale-info", "schnorrkel 0.11.4", - "secp256k1", - "secrecy", + "secp256k1 0.28.2", + "secrecy 0.8.0", "serde", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "sp-externalities 0.29.0", - "sp-runtime-interface 28.0.0", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "sp-storage 21.0.0", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime-interface 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-storage 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "ss58-registry", - "substrate-bip39 0.6.0", - "thiserror", + "substrate-bip39 0.6.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", "tracing", "w3f-bls", "zeroize", ] +[[package]] +name = "sp-core-hashing" +version = "16.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f812cb2dff962eb378c507612a50f1c59f52d92eb97b710f35be3c2346a3cd7" +dependencies = [ + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "sp-crypto-ec-utils" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2acb24f8a607a48a87f0ee4c090fc5d577eee49ff39ced6a3c491e06eca03c37" +dependencies = [ + "ark-bls12-377", + "ark-bls12-377-ext", + "ark-bls12-381", + "ark-bls12-381-ext", + "ark-bw6-761", + "ark-bw6-761-ext", + "ark-ec", + "ark-ed-on-bls12-377", + "ark-ed-on-bls12-377-ext", + "ark-ed-on-bls12-381-bandersnatch", + "ark-ed-on-bls12-381-bandersnatch-ext", + "ark-scale", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "sp-crypto-hashing" version = "0.1.0" @@ -14883,7 +19509,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "blake2b_simd", "byteorder", @@ -14896,17 +19522,28 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b85d0f1f1e44bd8617eb2a48203ee854981229e3e79e6f468c7175d5fd37489b" +dependencies = [ + "quote", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 2.0.89", +] + +[[package]] +name = "sp-crypto-hashing-proc-macro" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "quote", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "syn 2.0.87", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "syn 2.0.89", ] [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "kvdb", "parking_lot 0.12.3", @@ -14920,17 +19557,17 @@ checksum = "48d09fa0a5f7299fb81ee25ae3853d26200f7a348148aed6de76be905c007dbe" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -14948,61 +19585,99 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a904407d61cb94228c71b55a9d3708e9d6558991f9e83bd42bd91df37a159d30" +dependencies = [ + "environmental", + "parity-scale-codec", + "sp-storage 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "sp-externalities" +version = "0.29.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "environmental", "parity-scale-codec", - "sp-storage 21.0.0", + "sp-storage 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] name = "sp-genesis-builder" -version = "0.15.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a646ed222fd86d5680faa4a8967980eb32f644cae6c8523e1c689a6deda3e8" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde_json", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "sp-genesis-builder" +version = "0.15.1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "parity-scale-codec", "scale-info", "serde_json", - "sp-api", - "sp-runtime 39.0.0", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "sp-inherents" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afffbddc380d99a90c459ba1554bbbc01d62e892de9f1485af6940b89c4c0d57" +dependencies = [ + "async-trait", + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.2", + "thiserror 1.0.69", ] [[package]] name = "sp-inherents" version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.0", - "thiserror", + "sp-runtime 39.0.1", + "thiserror 1.0.69", ] [[package]] name = "sp-io" -version = "33.0.0" +version = "38.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e09bba780b55bd9e67979cd8f654a31e4a6cf45426ff371394a65953d2177f2" +checksum = "59ef7eb561bb4839cc8424ce58c5ea236cbcca83f26fcc0426d8decfe8aa97d4" dependencies = [ "bytes", + "docify", "ed25519-dalek", "libsecp256k1", "log", "parity-scale-codec", "polkavm-derive 0.9.1", "rustversion", - "secp256k1", - "sp-core 31.0.0", + "secp256k1 0.28.2", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-externalities 0.27.0", - "sp-keystore 0.37.0", - "sp-runtime-interface 26.0.0", - "sp-state-machine 0.38.0", - "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-tracing 16.0.0", - "sp-trie 32.0.0", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keystore 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-state-machine 0.43.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-tracing 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "tracing", "tracing-core", ] @@ -15010,7 +19685,7 @@ dependencies = [ [[package]] name = "sp-io" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "bytes", "docify", @@ -15020,15 +19695,15 @@ dependencies = [ "parity-scale-codec", "polkavm-derive 0.9.1", "rustversion", - "secp256k1", - "sp-core 34.0.0", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "sp-externalities 0.29.0", - "sp-keystore 0.40.0", - "sp-runtime-interface 28.0.0", - "sp-state-machine 0.43.0", - "sp-tracing 17.0.0", - "sp-trie 37.0.0", + "secp256k1 0.28.2", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime-interface 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-tracing 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "tracing", "tracing-core", ] @@ -15036,49 +19711,81 @@ dependencies = [ [[package]] name = "sp-keyring" version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c0e20624277f578b27f44ecfbe2ebc2e908488511ee2c900c5281599f700ab3" +dependencies = [ + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "strum 0.26.3", +] + +[[package]] +name = "sp-keyring" +version = "39.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "sp-core 34.0.0", - "sp-runtime 39.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", "strum 0.26.3", ] [[package]] name = "sp-keystore" -version = "0.37.0" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdbab8b61bd61d5f8625a0c75753b5d5a23be55d3445419acd42caf59cf6236b" +checksum = "0248b4d784cb4a01472276928977121fa39d977a5bb24793b6b15e64b046df42" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", - "sp-core 31.0.0", - "sp-externalities 0.27.0", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "sp-keystore" version = "0.40.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", - "sp-core 34.0.0", - "sp-externalities 0.29.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "sp-maybe-compressed-blob" +version = "11.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0c768c11afbe698a090386876911da4236af199cd38a5866748df4d8628aeff" +dependencies = [ + "thiserror 1.0.69", + "zstd 0.12.4", ] [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "thiserror", + "thiserror 1.0.69", "zstd 0.12.4", ] [[package]] name = "sp-metadata-ir" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a616fa51350b35326682a472ee8e6ba742fdacb18babac38ecd46b3e05ead869" +dependencies = [ + "frame-metadata 16.0.0", + "parity-scale-codec", + "scale-info", +] + +[[package]] +name = "sp-metadata-ir" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "frame-metadata 16.0.0", "parity-scale-codec", @@ -15088,52 +19795,107 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.12.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b0b017dd54823b6e62f9f7171a1df350972e5c6d0bf17e0c2f78680b5c31942" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "sp-mixnet" +version = "0.12.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "parity-scale-codec", "scale-info", - "sp-api", - "sp-application-crypto 38.0.0", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] name = "sp-mmr-primitives" -version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "34.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a12dd76e368f1e48144a84b4735218b712f84b3f976970e2f25a29b30440e10" +dependencies = [ + "log", + "parity-scale-codec", + "polkadot-ckb-merkle-mountain-range", + "scale-info", + "serde", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-debug-derive 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "thiserror 1.0.69", +] + +[[package]] +name = "sp-mmr-primitives" +version = "34.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "log", "parity-scale-codec", "polkadot-ckb-merkle-mountain-range", "scale-info", "serde", - "sp-api", - "sp-core 34.0.0", - "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "sp-runtime 39.0.0", - "thiserror", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "thiserror 1.0.69", +] + +[[package]] +name = "sp-npos-elections" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af922f112c7c1ed199eabe14f12a82ceb75e1adf0804870eccfbcf3399492847" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", ] [[package]] name = "sp-npos-elections" version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-runtime 39.0.0", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "sp-offchain" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d9de237d72ecffd07f90826eef18360208b16d8de939d54e61591fac0fcbf99" +dependencies = [ + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", ] [[package]] name = "sp-offchain" version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "sp-api", - "sp-core 34.0.0", - "sp-runtime 39.0.0", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", ] [[package]] @@ -15150,7 +19912,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "backtrace", "lazy_static", @@ -15160,42 +19922,44 @@ dependencies = [ [[package]] name = "sp-rpc" version = "32.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "rustc-hash", + "rustc-hash 1.1.0", "serde", - "sp-core 34.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] name = "sp-runtime" -version = "34.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec3cb126971e7db2f0fcf8053dce740684c438c7180cfca1959598230f342c58" +version = "39.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "docify", "either", "hash256-std-hasher", "impl-trait-for-tuples", "log", + "num-traits", "parity-scale-codec", "paste", "rand", "scale-info", "serde", "simple-mermaid", - "sp-application-crypto 33.0.0", - "sp-arithmetic 25.0.0", - "sp-core 31.0.0", - "sp-io 33.0.0", - "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-weights 30.0.0", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-weights 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "tracing", ] [[package]] name = "sp-runtime" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "39.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "658f23be7c79a85581029676a73265c107c5469157e3444c8c640fdbaa8bfed0" dependencies = [ "docify", "either", @@ -15209,51 +19973,71 @@ dependencies = [ "scale-info", "serde", "simple-mermaid", - "sp-application-crypto 38.0.0", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "sp-weights 31.0.0", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "tracing", ] [[package]] name = "sp-runtime-interface" -version = "26.0.0" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e48a675ea4858333d4d755899ed5ed780174aa34fec15953428d516af5452295" +dependencies = [ + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec", + "polkavm-derive 0.8.0", + "primitive-types 0.12.2", + "sp-externalities 0.27.0", + "sp-runtime-interface-proc-macro 18.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-storage 20.0.0", + "sp-tracing 16.0.0", + "sp-wasm-interface 20.0.0", + "static_assertions", +] + +[[package]] +name = "sp-runtime-interface" +version = "28.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e48a675ea4858333d4d755899ed5ed780174aa34fec15953428d516af5452295" +checksum = "985eb981f40c689c6a0012c937b68ed58dabb4341d06f2dfe4dfd5ed72fa4017" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", - "polkavm-derive 0.8.0", - "primitive-types", - "sp-externalities 0.27.0", + "polkavm-derive 0.9.1", + "primitive-types 0.12.2", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-runtime-interface-proc-macro 18.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-storage 20.0.0", - "sp-tracing 16.0.0", - "sp-wasm-interface 20.0.0", + "sp-storage 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-tracing 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-wasm-interface 21.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "static_assertions", ] [[package]] name = "sp-runtime-interface" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", "polkavm-derive 0.9.1", - "primitive-types", - "sp-externalities 0.29.0", - "sp-runtime-interface-proc-macro 18.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "sp-storage 21.0.0", - "sp-tracing 17.0.0", - "sp-wasm-interface 21.0.0", + "primitive-types 0.12.2", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime-interface-proc-macro 18.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-storage 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-tracing 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-wasm-interface 21.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "static_assertions", ] @@ -15268,54 +20052,97 @@ dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "sp-runtime-interface-proc-macro" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "Inflector", "expander", "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "sp-session" -version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "36.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00a3a307fedc423fb8cd2a7726a3bbb99014f1b4b52f26153993e2aae3338fe6" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keystore 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-staking 36.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "sp-session" +version = "36.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "parity-scale-codec", "scale-info", - "sp-api", - "sp-core 34.0.0", - "sp-keystore 0.40.0", - "sp-runtime 39.0.0", - "sp-staking", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-keystore 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-staking 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] name = "sp-staking" version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "143a764cacbab58347d8b2fd4c8909031fb0888d7b02a0ec9fa44f81f780d732" +dependencies = [ + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "sp-staking" +version = "36.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a73eedb4b85f4cd420d31764827546aa22f82ce1646d0fd258993d051de7a90" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "serde", - "sp-core 34.0.0", - "sp-runtime 39.0.0", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "sp-staking" +version = "36.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", ] [[package]] name = "sp-state-machine" -version = "0.38.0" +version = "0.43.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1eae0eac8034ba14437e772366336f579398a46d101de13dbb781ab1e35e67c5" +checksum = "930104d6ae882626e8880d9b1578da9300655d337a3ffb45e130c608b6c89660" dependencies = [ "hash-db", "log", @@ -15323,20 +20150,19 @@ dependencies = [ "parking_lot 0.12.3", "rand", "smallvec", - "sp-core 31.0.0", - "sp-externalities 0.27.0", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-panic-handler 13.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-trie 32.0.0", - "thiserror", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror 1.0.69", "tracing", - "trie-db 0.28.0", + "trie-db", ] [[package]] name = "sp-state-machine" version = "0.43.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "hash-db", "log", @@ -15344,19 +20170,44 @@ dependencies = [ "parking_lot 0.12.3", "rand", "smallvec", - "sp-core 34.0.0", - "sp-externalities 0.29.0", - "sp-panic-handler 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "sp-trie 37.0.0", - "thiserror", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-panic-handler 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", "tracing", - "trie-db 0.29.1", + "trie-db", +] + +[[package]] +name = "sp-statement-store" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c219bc34ef4d1f9835f3ed881f965643c32034fcc030eb33b759dadbc802c1c2" +dependencies = [ + "aes-gcm", + "curve25519-dalek 4.1.3", + "ed25519-dalek", + "hkdf", + "parity-scale-codec", + "rand", + "scale-info", + "sha2 0.10.8", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror 1.0.69", + "x25519-dalek", ] [[package]] name = "sp-statement-store" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "aes-gcm", "curve25519-dalek 4.1.3", @@ -15366,14 +20217,14 @@ dependencies = [ "rand", "scale-info", "sha2 0.10.8", - "sp-api", - "sp-application-crypto 38.0.0", - "sp-core 34.0.0", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "sp-externalities 0.29.0", - "sp-runtime 39.0.0", - "sp-runtime-interface 28.0.0", - "thiserror", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-runtime-interface 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", "x25519-dalek", ] @@ -15386,7 +20237,7 @@ checksum = "12f8ee986414b0a9ad741776762f4083cd3a5128449b982a3919c4df36874834" [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" [[package]] name = "sp-storage" @@ -15394,7 +20245,7 @@ version = "20.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8dba5791cb3978e95daf99dad919ecb3ec35565604e88cd38d805d9d4981e8bd" dependencies = [ - "impl-serde", + "impl-serde 0.4.0", "parity-scale-codec", "ref-cast", "serde", @@ -15405,25 +20256,51 @@ dependencies = [ [[package]] name = "sp-storage" version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99c82989b3a4979a7e1ad848aad9f5d0b4388f1f454cc131766526601ab9e8f8" +dependencies = [ + "impl-serde 0.4.0", + "parity-scale-codec", + "ref-cast", + "serde", + "sp-debug-derive 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "sp-storage" +version = "21.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "impl-serde", + "impl-serde 0.4.0", "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "sp-timestamp" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72a1cb4df653d62ccc0dbce1db45d1c9443ec60247ee9576962d24da4c9c6f07" +dependencies = [ + "async-trait", + "parity-scale-codec", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "thiserror 1.0.69", ] [[package]] name = "sp-timestamp" version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", "parity-scale-codec", - "sp-inherents", - "sp-runtime 39.0.0", - "thiserror", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "thiserror 1.0.69", ] [[package]] @@ -15441,8 +20318,20 @@ dependencies = [ [[package]] name = "sp-tracing" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "17.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf641a1d17268c8fcfdb8e0fa51a79c2d4222f4cfda5f3944dbdbc384dced8d5" +dependencies = [ + "parity-scale-codec", + "tracing", + "tracing-core", + "tracing-subscriber 0.3.18", +] + +[[package]] +name = "sp-tracing" +version = "17.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "parity-scale-codec", "tracing", @@ -15453,31 +20342,56 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc4bf251059485a7dd38fe4afeda8792983511cc47f342ff4695e2dcae6b5247" +dependencies = [ + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", +] + +[[package]] +name = "sp-transaction-pool" +version = "34.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "sp-api", - "sp-runtime 39.0.0", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", +] + +[[package]] +name = "sp-transaction-storage-proof" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c765c2e9817d95f13d42a9f2295c60723464669765c6e5acbacebd2f54932f67" +dependencies = [ + "async-trait", + "parity-scale-codec", + "scale-info", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "sp-transaction-storage-proof" version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-inherents", - "sp-runtime 39.0.0", - "sp-trie 37.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] name = "sp-trie" -version = "32.0.0" +version = "37.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1aa91ad26c62b93d73e65f9ce7ebd04459c4bad086599348846a81988d6faa4" +checksum = "6282aef9f4b6ecd95a67a45bcdb67a71f4a4155c09a53c10add4ffe823db18cd" dependencies = [ "ahash 0.8.11", "hash-db", @@ -15489,19 +20403,18 @@ dependencies = [ "rand", "scale-info", "schnellru", - "sp-core 31.0.0", - "sp-externalities 0.27.0", - "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "thiserror", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror 1.0.69", "tracing", - "trie-db 0.28.0", + "trie-db", "trie-root", ] [[package]] name = "sp-trie" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "ahash 0.8.11", "hash-db", @@ -15513,40 +20426,70 @@ dependencies = [ "rand", "scale-info", "schnellru", - "sp-core 34.0.0", - "sp-externalities 0.29.0", - "thiserror", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-externalities 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", "tracing", - "trie-db 0.29.1", + "trie-db", "trie-root", ] [[package]] name = "sp-version" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d521a405707b5be561367cd3d442ff67588993de24062ce3adefcf8437ee9fe1" +dependencies = [ + "impl-serde 0.4.0", + "parity-scale-codec", + "parity-wasm", + "scale-info", + "serde", + "sp-crypto-hashing-proc-macro 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-version-proc-macro 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror 1.0.69", +] + +[[package]] +name = "sp-version" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "impl-serde", + "impl-serde 0.4.0", "parity-scale-codec", "parity-wasm", "scale-info", "serde", - "sp-crypto-hashing-proc-macro", - "sp-runtime 39.0.0", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", - "sp-version-proc-macro", - "thiserror", + "sp-crypto-hashing-proc-macro 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-version-proc-macro 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "thiserror 1.0.69", +] + +[[package]] +name = "sp-version-proc-macro" +version = "14.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5aee8f6730641a65fcf0c8f9b1e448af4b3bb083d08058b47528188bccc7b7a7" +dependencies = [ + "parity-scale-codec", + "proc-macro2", + "quote", + "syn 2.0.89", ] [[package]] name = "sp-version-proc-macro" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -15565,8 +20508,21 @@ dependencies = [ [[package]] name = "sp-wasm-interface" -version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "21.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b066baa6d57951600b14ffe1243f54c47f9c23dd89c262e17ca00ae8dca58be9" +dependencies = [ + "anyhow", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "wasmtime", +] + +[[package]] +name = "sp-wasm-interface" +version = "21.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -15577,32 +20533,31 @@ dependencies = [ [[package]] name = "sp-weights" -version = "30.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9af6c661fe3066b29f9e1d258000f402ff5cc2529a9191972d214e5871d0ba87" +checksum = "93cdaf72a1dad537bbb130ba4d47307ebe5170405280ed1aa31fa712718a400e" dependencies = [ "bounded-collections", "parity-scale-codec", "scale-info", "serde", "smallvec", - "sp-arithmetic 25.0.0", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-debug-derive 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "sp-weights" version = "31.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "bounded-collections", "parity-scale-codec", "scale-info", "serde", "smallvec", - "sp-arithmetic 26.0.0", - "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1)", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] @@ -15654,6 +20609,29 @@ dependencies = [ "unicode-xid", ] +[[package]] +name = "ssz_rs" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "057291e5631f280978fa9c8009390663ca4613359fc1318e36a8c24c392f6d1f" +dependencies = [ + "bitvec", + "num-bigint", + "sha2 0.9.9", + "ssz_rs_derive", +] + +[[package]] +name = "ssz_rs_derive" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f07d54c4d01a1713eb363b55ba51595da15f6f1211435b71466460da022aa140" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "stable_deref_trait" version = "1.2.0" @@ -15662,21 +20640,55 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-parachain-info" -version = "0.16.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d28266dfddbfff721d70ad2f873380845b569adfab32f257cf97d9cedd894b68" +dependencies = [ + "cumulus-primitives-core 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.2", +] + +[[package]] +name = "staging-parachain-info" +version = "0.17.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "cumulus-primitives-core 0.16.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.1", +] + +[[package]] +name = "staging-xcm" +version = "14.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96bee7cd999e9cdf10f8db72342070d456e21e82a0f5962ff3b87edbd5f2b20e" dependencies = [ - "cumulus-primitives-core", - "frame-support", - "frame-system", + "array-bytes", + "bounded-collections", + "derivative", + "environmental", + "impl-trait-for-tuples", + "log", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.0", + "serde", + "sp-runtime 39.0.2", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "xcm-procedural 10.1.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "staging-xcm" -version = "14.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "14.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "array-bytes", "bounded-collections", @@ -15687,48 +20699,94 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-weights 31.0.0", - "xcm-procedural", + "sp-runtime 39.0.1", + "sp-weights 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "xcm-procedural 10.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] name = "staging-xcm-builder" -version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "17.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3746adbbae27b1e6763f0cca622e15482ebcb94835a9e078c212dd7be896e35" +dependencies = [ + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "impl-trait-for-tuples", + "log", + "pallet-asset-conversion 20.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-transaction-payment 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "polkadot-parachain-primitives 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "scale-info", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-executor 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "staging-xcm-builder" +version = "17.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "frame-support", - "frame-system", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "impl-trait-for-tuples", "log", - "pallet-transaction-payment", + "pallet-asset-conversion 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-transaction-payment 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "parity-scale-codec", - "polkadot-parachain-primitives", + "polkadot-parachain-primitives 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "scale-info", - "sp-arithmetic 26.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", - "sp-weights 31.0.0", - "staging-xcm", - "staging-xcm-executor", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-weights 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm 14.2.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm-executor 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] name = "staging-xcm-executor" -version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "17.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "79dd0c5332a5318e58f0300b20768b71cf9427c906f94a743c9dc7c3ee9e7fa9" +dependencies = [ + "environmental", + "frame-benchmarking 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing", +] + +[[package]] +name = "staging-xcm-executor" +version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "environmental", - "frame-benchmarking", - "frame-support", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.0", - "sp-weights 31.0.0", - "staging-xcm", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-weights 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm 14.2.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "tracing", ] @@ -15745,7 +20803,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a2a1c578e98c1c16fc3b8ec1328f7659a500737d7a0c6d625e73e830ff9c1f6" dependencies = [ "bitflags 1.3.2", - "cfg_aliases 0.1.1", + "cfg_aliases", "libc", "parking_lot 0.11.2", "parking_lot_core 0.8.6", @@ -15759,7 +20817,7 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70a2595fc3aa78f2d0e45dd425b22282dd863273761cc77780914b2cf3003acf" dependencies = [ - "cfg_aliases 0.1.1", + "cfg_aliases", "memchr", "proc-macro2", "quote", @@ -15798,7 +20856,7 @@ dependencies = [ "serde", "serde_json", "sha2 0.10.8", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -15896,7 +20954,7 @@ dependencies = [ "bs58 0.5.1", "cid 0.11.1", "clap", - "frame-support", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "futures", "hex", "itertools 0.13.0", @@ -15907,7 +20965,7 @@ dependencies = [ "sha2 0.10.8", "subxt", "subxt-signer", - "thiserror", + "thiserror 2.0.3", "tokio", "tracing", "tracing-subscriber 0.3.18", @@ -15921,7 +20979,7 @@ dependencies = [ "anyhow", "cid 0.11.1", "clap", - "frame-support", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "hex", "parity-scale-codec", "primitives-proofs", @@ -15930,7 +20988,7 @@ dependencies = [ "storagext", "subxt", "subxt-signer", - "thiserror", + "thiserror 2.0.3", "tokio", "tracing", "tracing-subscriber 0.3.18", @@ -15945,7 +21003,7 @@ checksum = "6706347e49b13373f7ddfafad47df7583ed52083d6fc8a594eb2c80497ef959d" dependencies = [ "combine", "crc", - "fastrand 2.1.1", + "fastrand 2.2.0", "hmac 0.12.1", "once_cell", "openssl", @@ -15953,15 +21011,20 @@ dependencies = [ "sctp-proto", "serde", "sha-1 0.10.1", - "thiserror", + "thiserror 1.0.69", "tracing", ] [[package]] -name = "strsim" -version = "0.10.0" +name = "string-interner" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" +checksum = "1c6a0d765f5807e98a091107bae0a56ea3799f66a5de47b2c84c94a39c09974e" +dependencies = [ + "cfg-if", + "hashbrown 0.14.5", + "serde", +] [[package]] name = "strsim" @@ -16007,7 +21070,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -16026,7 +21089,20 @@ dependencies = [ [[package]] name = "substrate-bip39" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca58ffd742f693dc13d69bdbb2e642ae239e0053f6aab3b104252892f856700a" +dependencies = [ + "hmac 0.12.1", + "pbkdf2", + "schnorrkel 0.11.4", + "sha2 0.10.8", + "zeroize", +] + +[[package]] +name = "substrate-bip39" +version = "0.6.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "hmac 0.12.1", "pbkdf2", @@ -16038,71 +21114,93 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" [[package]] name = "substrate-frame-rpc-system" -version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "39.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "docify", - "frame-system-rpc-runtime-api", + "frame-system-rpc-runtime-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "futures", - "jsonrpsee 0.23.2", + "jsonrpsee", "log", "parity-scale-codec", "sc-rpc-api", "sc-transaction-pool-api", - "sp-api", - "sp-block-builder", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-block-builder 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "sp-blockchain", - "sp-core 34.0.0", - "sp-runtime 39.0.0", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", ] [[package]] name = "substrate-prometheus-endpoint" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "http-body-util", - "hyper 1.5.0", + "hyper 1.5.1", "hyper-util", "log", "prometheus", - "thiserror", + "thiserror 1.0.69", "tokio", ] [[package]] name = "substrate-state-trie-migration-rpc" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "jsonrpsee 0.23.2", + "jsonrpsee", "parity-scale-codec", "sc-client-api", "sc-rpc-api", "serde", - "sp-core 34.0.0", - "sp-runtime 39.0.0", - "sp-state-machine 0.43.0", - "sp-trie 37.0.0", - "trie-db 0.29.1", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-trie 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "trie-db", +] + +[[package]] +name = "substrate-wasm-builder" +version = "24.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf035ffe7335fb24053edfe4d0a5780250eda772082a1b80ae25835dd4c09265" +dependencies = [ + "build-helper", + "cargo_metadata", + "console", + "filetime", + "jobserver", + "parity-wasm", + "polkavm-linker 0.9.2", + "sp-maybe-compressed-blob 11.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "strum 0.26.3", + "tempfile", + "toml 0.8.19", + "walkdir", + "wasm-opt", ] [[package]] name = "substrate-wasm-builder" -version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "24.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "build-helper", "cargo_metadata", "console", "filetime", + "jobserver", "parity-wasm", - "polkavm-linker", - "sp-maybe-compressed-blob", + "polkavm-linker 0.9.2", + "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "strum 0.26.3", "tempfile", "toml 0.8.19", @@ -16130,22 +21228,21 @@ checksum = "734676eb262c623cec13c3155096e08d1f8f29adce39ba17948b18dad1e54142" [[package]] name = "subxt" -version = "0.37.0" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a160cba1edbf3ec4fbbeaea3f1a185f70448116a6bccc8276bb39adb3b3053bd" +checksum = "c53029d133e4e0cb7933f1fe06f2c68804b956de9bb8fa930ffca44e9e5e4230" dependencies = [ "async-trait", "derive-where", "either", - "frame-metadata 16.0.0", + "frame-metadata 17.0.0", "futures", "hex", - "impl-serde", - "instant", - "jsonrpsee 0.22.5", + "impl-serde 0.5.0", + "jsonrpsee", "parity-scale-codec", - "primitive-types", - "reconnecting-jsonrpsee-ws-client", + "polkadot-sdk", + "primitive-types 0.13.1", "scale-bits", "scale-decode", "scale-encode", @@ -16153,53 +21250,54 @@ dependencies = [ "scale-value", "serde", "serde_json", - "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "subxt-core", "subxt-lightclient", "subxt-macro", "subxt-metadata", - "thiserror", + "thiserror 1.0.69", + "tokio", "tokio-util", "tracing", "url", + "wasm-bindgen-futures", + "web-time", ] [[package]] name = "subxt-codegen" -version = "0.37.0" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d703dca0905cc5272d7cc27a4ac5f37dcaae7671acc7fef0200057cc8c317786" +checksum = "3cfcfb7d9589f3df0ac87c4988661cf3fb370761fcb19f2fd33104cc59daf22a" dependencies = [ - "frame-metadata 16.0.0", "heck 0.5.0", - "hex", - "jsonrpsee 0.22.5", "parity-scale-codec", "proc-macro2", "quote", "scale-info", "scale-typegen", "subxt-metadata", - "syn 2.0.87", - "thiserror", - "tokio", + "syn 2.0.89", + "thiserror 1.0.69", ] [[package]] name = "subxt-core" -version = "0.37.1" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3af3b36405538a36b424d229dc908d1396ceb0994c90825ce928709eac1a159a" +checksum = "7ea28114366780d23684bd55ab879cd04c9d4cbba3b727a3854a3eca6bf29a1a" dependencies = [ "base58", "blake2 0.10.6", "derive-where", - "frame-metadata 16.0.0", + "frame-decode", + "frame-metadata 17.0.0", "hashbrown 0.14.5", "hex", - "impl-serde", + "impl-serde 0.5.0", + "keccak-hash", "parity-scale-codec", - "primitive-types", + "polkadot-sdk", + "primitive-types 0.13.1", "scale-bits", "scale-decode", "scale-encode", @@ -16207,25 +21305,22 @@ dependencies = [ "scale-value", "serde", "serde_json", - "sp-core 31.0.0", - "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-runtime 34.0.0", "subxt-metadata", "tracing", ] [[package]] name = "subxt-lightclient" -version = "0.37.0" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d9406fbdb9548c110803cb8afa750f8b911d51eefdf95474b11319591d225d9" +checksum = "534d4b725183a9fa09ce0e0f135674473297fdd97dee4d683f41117f365ae997" dependencies = [ "futures", "futures-util", "serde", "serde_json", - "smoldot-light 0.14.0", - "thiserror", + "smoldot-light 0.16.2", + "thiserror 1.0.69", "tokio", "tokio-stream", "tracing", @@ -16233,54 +21328,72 @@ dependencies = [ [[package]] name = "subxt-macro" -version = "0.37.0" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c195f803d70687e409aba9be6c87115b5da8952cd83c4d13f2e043239818fcd" +checksum = "228db9a5c95a6d8dc6152b4d6cdcbabc4f60821dd3f482a4f8791e022b7caadb" dependencies = [ - "darling 0.20.10", + "darling", "parity-scale-codec", - "proc-macro-error", + "proc-macro-error2", "quote", "scale-typegen", "subxt-codegen", - "syn 2.0.87", + "subxt-utils-fetchmetadata", + "syn 2.0.89", ] [[package]] name = "subxt-metadata" -version = "0.37.0" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "738be5890fdeff899bbffff4d9c0f244fe2a952fb861301b937e3aa40ebb55da" +checksum = "ee13e6862eda035557d9a2871955306aff540d2b89c06e0a62a1136a700aed28" dependencies = [ - "frame-metadata 16.0.0", + "frame-decode", + "frame-metadata 17.0.0", "hashbrown 0.14.5", "parity-scale-codec", + "polkadot-sdk", "scale-info", - "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "subxt-signer" -version = "0.37.0" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f49888ae6ae90fe01b471193528eea5bd4ed52d8eecd2d13f4a2333b87388850" +checksum = "1e7a336d6a1f86f126100a4a717be58352de4c8214300c4f7807f974494efdb9" dependencies = [ + "base64 0.22.1", "bip39", "cfg-if", + "crypto_secretbox", "hex", "hmac 0.12.1", "parity-scale-codec", "pbkdf2", + "polkadot-sdk", "regex", "schnorrkel 0.11.4", - "secp256k1", - "secrecy", + "scrypt", + "secp256k1 0.30.0", + "secrecy 0.10.3", + "serde", + "serde_json", "sha2 0.10.8", - "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "subxt-core", "zeroize", ] +[[package]] +name = "subxt-utils-fetchmetadata" +version = "0.38.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3082b17a86e3c3fe45d858d94d68f6b5247caace193dad6201688f24db8ba9bb" +dependencies = [ + "hex", + "parity-scale-codec", + "thiserror 1.0.69", +] + [[package]] name = "syn" version = "1.0.109" @@ -16294,15 +21407,27 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.87" +version = "2.0.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d" +checksum = "44d46482f1c1c87acd84dea20c1bf5ebff4c757009ed6bf19cfd36fb10e92c4e" dependencies = [ "proc-macro2", "quote", "unicode-ident", ] +[[package]] +name = "syn-solidity" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86b837ef12ab88835251726eb12237655e61ec8dc8a280085d1961cdc3dfd047" +dependencies = [ + "paste", + "proc-macro2", + "quote", + "syn 2.0.89", +] + [[package]] name = "sync_wrapper" version = "0.1.2" @@ -16311,9 +21436,9 @@ checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" [[package]] name = "sync_wrapper" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7065abeca94b6a8a577f9bd45aa0867a2238b74e8eb67cf10d492bc39351394" +checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" [[package]] name = "synstructure" @@ -16335,7 +21460,7 @@ checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -16346,7 +21471,18 @@ checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7" dependencies = [ "bitflags 1.3.2", "core-foundation", - "system-configuration-sys", + "system-configuration-sys 0.5.0", +] + +[[package]] +name = "system-configuration" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c879d448e9d986b661742763247d3693ed13609438cf3d006f51f5368a5ba6b" +dependencies = [ + "bitflags 2.6.0", + "core-foundation", + "system-configuration-sys 0.6.0", ] [[package]] @@ -16359,6 +21495,16 @@ dependencies = [ "libc", ] +[[package]] +name = "system-configuration-sys" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4" +dependencies = [ + "core-foundation-sys", + "libc", +] + [[package]] name = "tap" version = "1.0.1" @@ -16393,14 +21539,14 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.13.0" +version = "3.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0f2c9fc62d0beef6951ccffd757e241266a2c833136efbe35af6cd2567dca5b" +checksum = "28cce251fcbc87fac86a866eeb0d6c2d536fc16d06f184bb61aeae11aa4cee0c" dependencies = [ "cfg-if", - "fastrand 2.1.1", + "fastrand 2.2.0", "once_cell", - "rustix 0.38.39", + "rustix 0.38.41", "windows-sys 0.59.0", ] @@ -16419,7 +21565,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4f599bd7ca042cfdf8f4512b277c02ba102247820f9d9d4a9f521f496751a6ef" dependencies = [ - "rustix 0.38.39", + "rustix 0.38.41", "windows-sys 0.59.0", ] @@ -16429,13 +21575,38 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" +[[package]] +name = "testnet-parachains-constants" +version = "10.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94bceae6f7c89d47daff6c7e05f712551a01379f61b07d494661941144878589" +dependencies = [ + "cumulus-primitives-core 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-core-primitives 15.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rococo-runtime-constants 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "smallvec", + "sp-runtime 39.0.2", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "westend-runtime-constants 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "thiserror" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" +dependencies = [ + "thiserror-impl 1.0.69", +] + [[package]] name = "thiserror" -version = "1.0.68" +version = "2.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02dd99dc800bbb97186339685293e1cc5d9df1f8fae2d0aecd9ff1c77efea892" +checksum = "c006c85c7651b3cf2ada4584faa36773bd07bac24acfb39f3c431b36d7e667aa" dependencies = [ - "thiserror-impl", + "thiserror-impl 2.0.3", ] [[package]] @@ -16455,18 +21626,29 @@ checksum = "e4c60d69f36615a077cc7663b9cb8e42275722d23e58a7fa3d2c7f2915d09d04" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.89", ] [[package]] name = "thiserror-impl" -version = "1.0.68" +version = "2.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7c61ec9a6f64d2793d8a45faba21efbe3ced62a886d44c36a009b2b519b4c7e" +checksum = "f077553d607adc1caf65430528a576c757a71ed73944b66ebb58ef2bbd243568" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -16639,7 +21821,7 @@ checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -16662,24 +21844,13 @@ 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-rustls" version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4" dependencies = [ - "rustls 0.23.16", + "rustls 0.23.17", "rustls-pki-types", "tokio", ] @@ -16899,7 +22070,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -16924,11 +22095,11 @@ dependencies = [ [[package]] name = "tracing-gum" -version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "16.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "coarsetime", - "polkadot-primitives", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "tracing", "tracing-gum-proc-macro", ] @@ -16936,13 +22107,13 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "expander", "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -17013,6 +22184,7 @@ dependencies = [ "sharded-slab", "smallvec", "thread_local", + "time", "tracing", "tracing-core", "tracing-log 0.2.0", @@ -17029,19 +22201,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "trie-db" -version = "0.28.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff28e0f815c2fea41ebddf148e008b077d2faddb026c9555b29696114d602642" -dependencies = [ - "hash-db", - "hashbrown 0.13.2", - "log", - "rustc-hex", - "smallvec", -] - [[package]] name = "trie-db" version = "0.29.1" @@ -17082,7 +22241,7 @@ dependencies = [ "rand", "smallvec", "socket2 0.4.10", - "thiserror", + "thiserror 1.0.69", "tinyvec", "tokio", "tracing", @@ -17107,7 +22266,7 @@ dependencies = [ "once_cell", "rand", "smallvec", - "thiserror", + "thiserror 1.0.69", "tinyvec", "tokio", "tracing", @@ -17129,7 +22288,7 @@ dependencies = [ "rand", "resolv-conf", "smallvec", - "thiserror", + "thiserror 1.0.69", "tokio", "tracing", "trust-dns-proto 0.23.2", @@ -17162,11 +22321,17 @@ dependencies = [ "rand", "rustls 0.21.12", "sha1", - "thiserror", + "thiserror 1.0.69", "url", "utf-8", ] +[[package]] +name = "tuplex" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "676ac81d5454c4dcf37955d34fa8626ede3490f744b86ca14a7b90168d2a08aa" + [[package]] name = "twox-hash" version = "1.6.3" @@ -17203,6 +22368,24 @@ dependencies = [ "static_assertions", ] +[[package]] +name = "uint" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "909988d098b2f738727b161a106cfc7cab00c539c2687a8836f8e565976fb53e" +dependencies = [ + "byteorder", + "crunchy", + "hex", + "static_assertions", +] + +[[package]] +name = "unarray" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" + [[package]] name = "unicode-bidi" version = "0.3.17" @@ -17211,9 +22394,9 @@ checksum = "5ab17db44d7388991a428b2ee655ce0c212e862eff1768a455c58f9aad6e7893" [[package]] name = "unicode-ident" -version = "1.0.13" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe" +checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83" [[package]] name = "unicode-normalization" @@ -17230,6 +22413,12 @@ version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" +[[package]] +name = "unicode-width" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd" + [[package]] name = "unicode-xid" version = "0.2.6" @@ -17365,8 +22554,8 @@ dependencies = [ "ark-bls12-377", "ark-bls12-381", "ark-ec", - "ark-ff", - "ark-serialize", + "ark-ff 0.4.2", + "ark-serialize 0.4.2", "ark-serialize-derive", "arrayref", "constcat", @@ -17376,10 +22565,19 @@ dependencies = [ "rand_core 0.6.4", "sha2 0.10.8", "sha3", - "thiserror", + "thiserror 1.0.69", "zeroize", ] +[[package]] +name = "wait-timeout" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6" +dependencies = [ + "libc", +] + [[package]] name = "waker-fn" version = "1.2.0" @@ -17442,7 +22640,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", "wasm-bindgen-shared", ] @@ -17476,7 +22674,7 @@ checksum = "26c6ab57572f7a24a4985830b120de1594465e5d500f24afe89e16b4e833ef68" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -17507,7 +22705,7 @@ dependencies = [ "strum 0.24.1", "strum_macros 0.24.3", "tempfile", - "thiserror", + "thiserror 1.0.69", "wasm-opt-cxx-sys", "wasm-opt-sys", ] @@ -17560,7 +22758,24 @@ dependencies = [ "smallvec", "spin 0.9.8", "wasmi_arena", - "wasmi_core", + "wasmi_core 0.13.0", + "wasmparser-nostd", +] + +[[package]] +name = "wasmi" +version = "0.32.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50386c99b9c32bd2ed71a55b6dd4040af2580530fae8bdb9a6576571a80d0cca" +dependencies = [ + "arrayvec 0.7.6", + "multi-stash", + "num-derive", + "num-traits", + "smallvec", + "spin 0.9.8", + "wasmi_collections", + "wasmi_core 0.32.3", "wasmparser-nostd", ] @@ -17570,6 +22785,17 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "104a7f73be44570cac297b3035d76b169d6599637631cf37a1703326a0727073" +[[package]] +name = "wasmi_collections" +version = "0.32.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c128c039340ffd50d4195c3f8ce31aac357f06804cfc494c8b9508d4b30dca4" +dependencies = [ + "ahash 0.8.11", + "hashbrown 0.14.5", + "string-interner", +] + [[package]] name = "wasmi_core" version = "0.13.0" @@ -17582,6 +22808,18 @@ dependencies = [ "paste", ] +[[package]] +name = "wasmi_core" +version = "0.32.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a23b3a7f6c8c3ceeec6b83531ee61f0013c56e51cbf2b14b0f213548b23a4b41" +dependencies = [ + "downcast-rs", + "libm", + "num-traits", + "paste", +] + [[package]] name = "wasmparser" version = "0.102.0" @@ -17674,7 +22912,7 @@ dependencies = [ "log", "object 0.30.4", "target-lexicon", - "thiserror", + "thiserror 1.0.69", "wasmparser", "wasmtime-cranelift-shared", "wasmtime-environ", @@ -17709,7 +22947,7 @@ dependencies = [ "object 0.30.4", "serde", "target-lexicon", - "thiserror", + "thiserror 1.0.69", "wasmparser", "wasmtime-types", ] @@ -17792,7 +23030,7 @@ checksum = "a4f6fffd2a1011887d57f07654dd112791e872e3ff4a2e626aee8059ee17f06f" dependencies = [ "cranelift-entity", "serde", - "thiserror", + "thiserror 1.0.69", "wasmparser", ] @@ -17806,6 +23044,16 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "web-time" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + [[package]] name = "webpki" version = "0.22.4" @@ -17833,124 +23081,143 @@ dependencies = [ [[package]] name = "westend-runtime" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "18.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "binary-merkle-tree", + "binary-merkle-tree 15.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "bitvec", - "frame-benchmarking", - "frame-election-provider-support", - "frame-executive", - "frame-metadata-hash-extension", - "frame-support", - "frame-system", - "frame-system-benchmarking", - "frame-system-rpc-runtime-api", - "frame-try-runtime", + "frame-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-election-provider-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-executive 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-metadata-hash-extension 0.6.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-system-rpc-runtime-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "frame-try-runtime 0.44.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "hex-literal", "log", - "pallet-asset-rate", - "pallet-authority-discovery", - "pallet-authorship", - "pallet-babe", - "pallet-bags-list", - "pallet-balances", - "pallet-beefy", - "pallet-beefy-mmr", - "pallet-collective", - "pallet-conviction-voting", - "pallet-delegated-staking", - "pallet-democracy", - "pallet-election-provider-multi-phase", - "pallet-election-provider-support-benchmarking", - "pallet-elections-phragmen", - "pallet-fast-unstake", - "pallet-grandpa", - "pallet-identity", - "pallet-indices", - "pallet-membership", - "pallet-message-queue", - "pallet-mmr", - "pallet-multisig", - "pallet-nomination-pools", - "pallet-nomination-pools-benchmarking", - "pallet-nomination-pools-runtime-api", - "pallet-offences", - "pallet-offences-benchmarking", - "pallet-preimage", - "pallet-proxy", - "pallet-recovery", - "pallet-referenda", - "pallet-root-testing", - "pallet-scheduler", - "pallet-session", - "pallet-session-benchmarking", - "pallet-society", - "pallet-staking", - "pallet-staking-reward-curve", - "pallet-staking-runtime-api", - "pallet-state-trie-migration", - "pallet-sudo", - "pallet-timestamp", - "pallet-transaction-payment", - "pallet-transaction-payment-rpc-runtime-api", - "pallet-treasury", - "pallet-utility", - "pallet-vesting", - "pallet-whitelist", - "pallet-xcm", - "pallet-xcm-benchmarks", - "parity-scale-codec", - "polkadot-parachain-primitives", - "polkadot-primitives", - "polkadot-runtime-common", - "polkadot-runtime-parachains", + "pallet-asset-rate 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-authority-discovery 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-authorship 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-babe 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-bags-list 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-balances 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-beefy 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-beefy-mmr 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-collective 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-conviction-voting 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-delegated-staking 5.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-democracy 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-election-provider-multi-phase 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-election-provider-support-benchmarking 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-elections-phragmen 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-fast-unstake 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-grandpa 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-identity 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-indices 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-membership 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-message-queue 41.0.2 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-mmr 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-multisig 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-nomination-pools 35.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-nomination-pools-benchmarking 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-nomination-pools-runtime-api 33.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-offences 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-offences-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-parameters 0.9.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-preimage 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-proxy 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-recovery 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-referenda 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-root-testing 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-scheduler 39.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-session 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-session-benchmarking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-society 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-staking 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-staking-runtime-api 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-state-trie-migration 40.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-sudo 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-timestamp 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-transaction-payment 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-transaction-payment-rpc-runtime-api 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-treasury 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-utility 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-vesting 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-whitelist 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-xcm 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "pallet-xcm-benchmarks 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "polkadot-parachain-primitives 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "polkadot-runtime-common 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "polkadot-runtime-parachains 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "scale-info", "serde", "serde_derive", + "serde_json", "smallvec", - "sp-api", - "sp-application-crypto 38.0.0", - "sp-arithmetic 26.0.0", - "sp-authority-discovery", - "sp-block-builder", - "sp-consensus-babe", - "sp-consensus-beefy", - "sp-core 34.0.0", - "sp-genesis-builder", - "sp-inherents", - "sp-io 38.0.0", - "sp-mmr-primitives", - "sp-npos-elections", - "sp-offchain", - "sp-runtime 39.0.0", - "sp-session", - "sp-staking", - "sp-storage 21.0.0", - "sp-transaction-pool", - "sp-version", - "staging-xcm", - "staging-xcm-builder", - "staging-xcm-executor", - "substrate-wasm-builder", - "westend-runtime-constants", - "xcm-runtime-apis", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-application-crypto 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-arithmetic 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-authority-discovery 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-block-builder 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-consensus-babe 0.40.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-consensus-beefy 22.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-consensus-grandpa 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-genesis-builder 0.15.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-inherents 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-io 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-mmr-primitives 34.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-npos-elections 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-offchain 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-session 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-staking 36.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-storage 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-transaction-pool 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-version 37.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm 14.2.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm-builder 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm-executor 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "substrate-wasm-builder 24.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "westend-runtime-constants 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "xcm-runtime-apis 0.4.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] name = "westend-runtime-constants" -version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "17.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06861bf945aadac59f4be23b44c85573029520ea9bd3d6c9ab21c8b306e81cdc" +dependencies = [ + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-primitives 16.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-runtime-common 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "smallvec", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-builder 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "westend-runtime-constants" +version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ - "frame-support", - "polkadot-primitives", - "polkadot-runtime-common", + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "polkadot-primitives 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "polkadot-runtime-common 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", "smallvec", - "sp-core 34.0.0", - "sp-runtime 39.0.0", - "sp-weights 31.0.0", - "staging-xcm", - "staging-xcm-builder", + "sp-core 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-runtime 39.0.1", + "sp-weights 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm 14.2.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm-builder 17.0.1 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", ] [[package]] @@ -17962,14 +23229,14 @@ dependencies = [ "either", "home", "once_cell", - "rustix 0.38.39", + "rustix 0.38.41", ] [[package]] name = "wide" -version = "0.7.28" +version = "0.7.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b828f995bf1e9622031f8009f8481a85406ce1f4d4588ff746d872043e855690" +checksum = "58e6db2670d2be78525979e9a5f9c69d296fd7d670549fe9ebf70f8708cb5019" dependencies = [ "bytemuck", "safe_arch", @@ -18026,28 +23293,38 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windows" -version = "0.51.1" +version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" +checksum = "efc5cf48f83140dcaab716eeaea345f9e93d0018fb81162753a3f76c3397b538" dependencies = [ - "windows-core 0.51.1", - "windows-targets 0.48.5", + "windows-core 0.53.0", + "windows-targets 0.52.6", ] [[package]] name = "windows-core" -version = "0.51.1" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1f8cf84f35d2db49a46868f947758c7a1138116f7fac3bc844f43ade1292e64" +checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" dependencies = [ - "windows-targets 0.48.5", + "windows-targets 0.52.6", ] [[package]] name = "windows-core" -version = "0.52.0" +version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +checksum = "9dcc5b895a6377f1ab9fa55acedab1fd5ac0db66ad1e6c7f47e28a22e446a5dd" +dependencies = [ + "windows-result", + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-result" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e383302e8ec8515204254685643de10811af0ed97ea37210dc26fb0032647f8" dependencies = [ "windows-targets 0.52.6", ] @@ -18355,7 +23632,7 @@ dependencies = [ "nom", "oid-registry 0.6.1", "rusticata-macros", - "thiserror", + "thiserror 1.0.69", "time", ] @@ -18372,7 +23649,7 @@ dependencies = [ "nom", "oid-registry 0.7.1", "rusticata-macros", - "thiserror", + "thiserror 1.0.69", "time", ] @@ -18384,32 +23661,82 @@ checksum = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f" dependencies = [ "libc", "linux-raw-sys 0.4.14", - "rustix 0.38.39", + "rustix 0.38.41", +] + +[[package]] +name = "xcm-procedural" +version = "10.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87fb4f14094d65c500a59bcf540cf42b99ee82c706edd6226a92e769ad60563e" +dependencies = [ + "Inflector", + "proc-macro2", + "quote", + "syn 2.0.89", ] [[package]] name = "xcm-procedural" version = "10.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "xcm-runtime-apis" -version = "0.3.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2407-1#16b0fd09d9e9281c20ee0c1d8b87d011e3e3454e" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69d4473a5d157e4d437d9ebcb1b99f9693a64983877ee57d97005f0167869935" +dependencies = [ + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "scale-info", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-executor 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "xcm-runtime-apis" +version = "0.4.0" +source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2#dba2dd59101617aad64d167e400b19e2c35052b1" +dependencies = [ + "frame-support 38.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "parity-scale-codec", + "scale-info", + "sp-api 34.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "sp-weights 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm 14.2.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", + "staging-xcm-executor 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-2)", +] + +[[package]] +name = "xcm-simulator" +version = "17.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "058e21bfc3e1180bbd83cad3690d0e63f34f43ab309e338afe988160aa776fcf" dependencies = [ - "frame-support", + "frame-support 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", + "paste", + "polkadot-core-primitives 15.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-parachain-primitives 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-primitives 16.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "polkadot-runtime-parachains 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "scale-info", - "sp-api", - "sp-weights 31.0.0", - "staging-xcm", - "staging-xcm-executor", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm 14.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-builder 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "staging-xcm-executor 17.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -18493,7 +23820,7 @@ checksum = "28cc31741b18cb6f1d5ff12f5b7523e3d6eb0852bbbad19d73905511d9849b95" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", "synstructure 0.13.1", ] @@ -18515,7 +23842,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -18535,7 +23862,7 @@ checksum = "0ea7b4a3637ea8669cedf0f1fd5c286a17f3de97b8dd5a70a6c167a1730e63a5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", "synstructure 0.13.1", ] @@ -18556,7 +23883,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -18578,14 +23905,14 @@ checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "zombienet-configuration" -version = "0.2.14" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8ab4af5d47f03cb8ae0fa96ffbf3881ca050c51e62367685ebdd3e8ae52b220" +checksum = "7d7a8cc4f8e8bb3f40757b62d3b054da5c95f43321c775eb321edc89d431583e" dependencies = [ "anyhow", "lazy_static", @@ -18594,7 +23921,7 @@ dependencies = [ "reqwest", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", "tokio", "toml 0.7.8", "url", @@ -18603,9 +23930,9 @@ dependencies = [ [[package]] name = "zombienet-orchestrator" -version = "0.2.14" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "580e01019655a2bd296e42f48876c2e78c94a989147376e025c0e64daf717cf7" +checksum = "3d32fa87851f41443a78971bd7110274f9a66d139ac834de159adc08f90cf8e3" dependencies = [ "anyhow", "async-trait", @@ -18624,7 +23951,7 @@ dependencies = [ "sp-core 31.0.0", "subxt", "subxt-signer", - "thiserror", + "thiserror 1.0.69", "tokio", "tracing", "uuid", @@ -18642,14 +23969,14 @@ checksum = "9acb9c94bc7c2c83f8eb8e26ed403f757af1632f22b89394d8876412ede990ca" dependencies = [ "pest", "pest_derive", - "thiserror", + "thiserror 1.0.69", ] [[package]] name = "zombienet-provider" -version = "0.2.14" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55583d8be6b2ca2e679d85ee2e17eb0802fbf8d2ee05c1b326fff81fd6b3b5c3" +checksum = "dc8f3f71d4d974fc4a2262fa9293c2eedc423540378bd7c1dc1b66cc95d1d1af" dependencies = [ "anyhow", "async-trait", @@ -18666,7 +23993,7 @@ dependencies = [ "serde_yaml", "sha2 0.10.8", "tar", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-util", "tracing", @@ -18678,9 +24005,9 @@ dependencies = [ [[package]] name = "zombienet-sdk" -version = "0.2.14" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "300f3f07aa72df21a52611a0df1033325a454252e36d964c4308b0a8b7356f77" +checksum = "5dbfddce7a6100cdc930b93301f1b6381e6577ecc013d6802258ea6902a2bebd" dependencies = [ "async-trait", "futures", @@ -18695,9 +24022,9 @@ dependencies = [ [[package]] name = "zombienet-support" -version = "0.2.14" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e566ea145dab27c6fbb24b13d4c789efa7e675e1fdaf6d007dfe1154d59317c6" +checksum = "d20567c52b4fd46b600cda254dedb6a6dc30cabf512de91e4f6f78f0f7f4644b" dependencies = [ "anyhow", "async-trait", @@ -18706,7 +24033,7 @@ dependencies = [ "rand", "regex", "reqwest", - "thiserror", + "thiserror 1.0.69", "tokio", "tracing", "uuid", diff --git a/Cargo.toml b/Cargo.toml index a80f02b0c..89f4796b7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,6 +15,7 @@ members = [ "lib/polka-storage-proofs", "maat", "node", + "pallets/faucet", "pallets/market", "pallets/proofs", "pallets/randomness", @@ -29,19 +30,21 @@ members = [ resolver = "2" [profile.ci] +build-override.inherits = "dev" +inherits = "dev" # required otherwise we get the "unknown profile" error + codegen-units = 256 # Increase parallel code generation units debug = false # No debug information incremental = false # Disable incremental compilation for consistent CI performance -inherits = "dev" -lto = false # Disable Link Time Optimization +lto = "off" # Disable Link Time Optimization opt-level = 0 # No optimization overflow-checks = false # Disable overflow checks panic = 'abort' # Use abort on panic to reduce binary size [workspace.dependencies] # Build dependencies -substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } +substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } +substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } anyhow = "1.0.86" async-channel = "2.3.1" @@ -75,7 +78,7 @@ integer-encoding = "4.0.0" ipld-core = "0.4.1" ipld-dagpb = "0.2.1" itertools = "0.13.0" -jsonrpsee = { version = "0.23.2" } +jsonrpsee = { version = "0.24.7" } log = { version = "0.4.21", default-features = false } multihash-codetable = { version = "0.1.1", default-features = false } num-bigint = { version = "0.4.5", default-features = false } @@ -90,6 +93,7 @@ rand_chacha = { version = "0.3.1", default-features = false } rand_xorshift = "0.3" rocksdb = { version = "0.21" } scale-info = { version = "2.11.1", default-features = false } +sealed = "0.6.0" serde = { version = "1.0.197", default-features = false } serde-big-array = { version = "0.3.2" } serde_derive = { version = "1.0.117" } @@ -98,11 +102,11 @@ serde_json = { version = "1.0.121", default-features = false } serde_yaml = { version = "0.9" } sha2 = { version = "0.10.8", default-features = false } smallvec = "1.11.0" -subxt = { version = "0.37.0" } -subxt-signer = "0.37.0" +subxt = { version = "0.38.0" } +subxt-signer = "0.38.0" syn = { version = "2.0.53" } tempfile = "3.10.1" -thiserror = { version = "1.0.48" } +thiserror = { version = "2.0.3", default-features = false } tokio = "1.37.0" tokio-stream = "0.1.15" tokio-util = "0.7.11" @@ -113,20 +117,22 @@ tracing-subscriber = "0.3.18" url = "2.5.0" uuid = "1.8.0" -scale-decode = { version = "0.13.1", default-features = false } -scale-encode = { version = "0.7.1", default-features = false } +# These need to match the ones in subxt +scale-decode = { version = "0.14.0", default-features = false } +scale-encode = { version = "0.8.0", default-features = false } # Testing rstest = { version = "0.22.0" } -# Zombienet SDK for testing — locked to 0.2.14 because 0.2.15 has MSRV 1.81 -zombienet-configuration = "=0.2.14" -zombienet-sdk = "=0.2.14" -zombienet-support = "=0.2.14" +# Zombienet SDK for testing +zombienet-configuration = "0.2.15" +zombienet-sdk = "0.2.15" +zombienet-support = "0.2.15" # Local cli-primitives = { path = "primitives/cli" } mater = { path = "storage/mater" } +pallet-faucet = { path = "pallets/faucet", default-features = false } pallet-market = { path = "pallets/market", default-features = false } pallet-proofs = { path = "pallets/proofs", default-features = false } pallet-randomness = { path = "pallets/randomness", default-features = false } @@ -151,98 +157,98 @@ storage-proofs-porep = "18.1.0" storage-proofs-post = "18.1.0" # Substrate -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -sc-basic-authorship = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -sc-chain-spec = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -sc-cli = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -sc-consensus = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -sc-executor = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -sc-network = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -sc-network-sync = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -sc-offchain = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -sc-rpc = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -sc-service = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -sc-sysinfo = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -sc-telemetry = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -sc-tracing = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -sc-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -sc-transaction-pool-api = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -sp-api = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -sp-core = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -sp-genesis-builder = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -sp-io = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -sp-session = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -sp-std = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -sp-version = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } +prometheus-endpoint = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false, package = "substrate-prometheus-endpoint" } +sc-basic-authorship = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } +sc-chain-spec = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } +sc-cli = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } +sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } +sc-consensus = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } +sc-executor = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } +sc-network = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } +sc-network-sync = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } +sc-offchain = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } +sc-rpc = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } +sc-service = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } +sc-sysinfo = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } +sc-telemetry = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } +sc-tracing = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } +sc-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } +sc-transaction-pool-api = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +sp-genesis-builder = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +sp-session = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +sp-version = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } # Polkadot -pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -polkadot-cli = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", features = ["rococo-native"] } -polkadot-parachain-primitives = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } +pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +polkadot-cli = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", features = ["rococo-native"] } +polkadot-parachain-primitives = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } +polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } # Substrate / FRAME -frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -frame-executive = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -frame-support = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -frame-system = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -frame-system-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -frame-try-runtime = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } +frame-executive = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +frame-system-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +frame-try-runtime = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } # FRAME Pallets # TODO(#457,@cernicc,17/10/2024): Switch to BABE -pallet-aura = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -pallet-authorship = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } +pallet-aura = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +pallet-authorship = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } # TODO(#458,@cernicc,17/10/2024): Use secure randomness -pallet-insecure-randomness-collective-flip = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -pallet-message-queue = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -pallet-session = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } +pallet-insecure-randomness-collective-flip = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +pallet-message-queue = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +pallet-session = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } # Cumulus -cumulus-client-cli = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -cumulus-client-collator = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -cumulus-client-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -cumulus-client-consensus-common = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -cumulus-client-consensus-proposer = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -cumulus-client-service = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -cumulus-pallet-session-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -cumulus-primitives-aura = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -cumulus-primitives-core = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -cumulus-primitives-storage-weight-reclaim = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -cumulus-relay-chain-interface = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1" } -pallet-collator-selection = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -parachain-info = { package = "staging-parachain-info", git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } -parachains-common = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2407-1", default-features = false } +cumulus-client-cli = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } +cumulus-client-collator = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } +cumulus-client-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } +cumulus-client-consensus-common = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } +cumulus-client-consensus-proposer = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } +cumulus-client-service = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +cumulus-pallet-session-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +cumulus-primitives-aura = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +cumulus-primitives-core = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } +cumulus-primitives-storage-weight-reclaim = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +cumulus-relay-chain-interface = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2" } +pallet-collator-selection = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +parachain-info = { package = "staging-parachain-info", git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } +parachains-common = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-2", default-features = false } [workspace.lints.rust] suspicious_double_ref_op = { level = "allow", priority = 2 } diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index a520d412f..bdf2598df 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -31,7 +31,7 @@ $ polkadot --version polkadot 1.11.0-0bb6249 $ cargo --version -cargo 1.77.0 (3fe68eabf 2024-02-29) +cargo 1.81.0 (3fe68eabf 2024-02-29) $ zombienet version 1.3.103 diff --git a/README.md b/README.md index 8c080ff57..79893659c 100644 --- a/README.md +++ b/README.md @@ -1,29 +1,24 @@ # Polka Storage -Welcome to the Polka Storage project repo! +> [!NOTE] +> The stable branch is [`main`](https://github.com/eigerco/polka-storage/tree/main), +> while the default GitHub branch is [`develop`](https://github.com/eigerco/polka-storage/tree/develop). +> +> We aim to keep Polka Storage Book synced with the `main` branch, +> if you notice discrepancies, please [file an issue](https://github.com/eigerco/polka-storage/issues/new). -This project aims to deliver a Polkadot-native system parachain for data storage. +Welcome to the Polka Storage project repo! -You can find our in-depth documentation at . +This project aims to build a native storage network for Polkadot. -* If you're looking to test the project, check out [Getting Started guide](https://eigerco.github.io/polka-storage/getting-started/index.html). -* If you're looking to get your hands dirty and help with development, take a look at [`DEVELOPMENT.md`](./DEVELOPMENT.md) to get started. +Check out the book at . +- If you'd like to contribute, take a look at [`DEVELOPMENT.md`](./DEVELOPMENT.md) to get started. -More information available about the project's genesis in: +- Weekly dev updates https://forum.polkadot.network/t/polkadot-native-storage-updates/7021 -- OpenGov Referendum - Part 1 — -- OpenGov Referendum - Part 2 — -- Research Report — -- Polkadot Forum News Post — +## About Eiger ---- +We are engineers. We contribute to various ecosystems. On Polkadot [we integrated Move to Substrate](https://x.com/Polkadot/status/1816109501394637034) allowing builders to integrate the Move VM and execute Move smart contracts. We are building Polkadot Storage (this project) and building our Jam client [Strawberry](https://github.com/eigerco/strawberry) the first serious project to go on [review](https://github.com/w3f/jam-milestone-delivery/pull/6) for reaching Milestone 1. -

- - Eiger Oy - -

+Contact us at hello@eiger.co diff --git a/cli/artifacts/metadata.scale b/cli/artifacts/metadata.scale index 62c06839d5f2ac5b9a6be15ce0bd705ea73ac0b7..39038327f429a42636881cc5f8cb06979df7cfeb 100644 GIT binary patch delta 19683 zcmch93wTuJng4muoVkPsok#)+1U+B^0h1xY1Oo<3NP?UQmHwqiJa|FHYOC$KTN>GsR;<_uS8Zu!w`kd?ti_e?^0aJax9n54(*6J5?>jS@ zaM|7e^ZfsRpEz?a@ArQ1_ujtu@(us_t%C1fC~!xNr2p#e?tSjxIIi2HQgPRSKVc|T zY-}*1$)5=sd8HyOUC^JSH+&c%@F0q~Q}aSyDd`R3XOma6kr>uiQ@ZY#237phdfcy-(`RvAe_%0gAs zvkx?FH5I9#wHXtM56rBz@vIH1(k^H1v@xy7o3&HSy7|w#<*egY@Q_Yb>6Wukx#H|= zB+j)qPJbTGwZJ*e{Ajbi61Sgmu2s!x50#BPxn&BOE7QwcRPC`=!yne6T>3i0i0X+{ zAYddCeW`GGSoa5#p$-0|5%kqER03;GhK-DYpeCu3l?&^U85RQ@w%7x=dZDT|L z-7YEEVI$g^hiC^=FtL8j5?NV>RK;V)(q-l4ypWzyu$D@Bz3o9o*~w^ksLC$$C)-}U z`iW5j*o4iUTZ-LUd22j0IB4$MQa07QalnYyQtRSyEU;c$)sk3TXsGt7_1kY#>Gi3E zkF~&B+yB#9c92IOQWgARbYr7(m>)DM@0x#l zbfP)?(Is@m9C~zydPFt9R#0kIe!ZmesHzlFX*3p(_`^q4(pD=}9UC;_ekL~es3PKz z2K{g#!xBb03XCi1n7Lx-RPj0CT0L$gjQ9p4cub|n<%2xD=}sfmKahk2Ic7e$vyzSr zGJd(Um`<2ycTQGMWXV`cC(Y>Bo9LAJov+WncArZ1wx?W`jEAEA3RQ$6gW;a2KVs}N z|LyDd&}nnIxp2;DRV!?XZDh%wVK;yeMSQ4dRRw?G!7TDB=WylJl=CA$Fu(06xWFtS zheD?Jnd#=E){UyuVIH=0_|0EiGij=M)$S@7lYBYB4DVj17C6k;chA%d9JcG}^bdNp z+vzlEchGnTCN6Sd;_oMyN(^Q%u(npZvD40ry!CuUM*Za~MA zGnk6xle#v`L0>eBb{Cs}@nn{mS>}Z&D<{`D3Ofd4;r0GtEZH*{4@E+77DmFeq0wx5 zs+Q`^$W!;?^S!597dJSxQYisu&3p%Wyvt%y12lS9#Uh5L%m-1V;OmMgyPlp-3(dsS z^>xh-XnEEHv*SoL-U5j>XPE&f#j`Ym4XkZS8&-9bdG($?>|Y!9%%@KCyL)aDpEKZ- z@$zdmoy?mR4h4ULH{A}U`^u#J_?d^R%N$f|>(o+zVgU26x#ED42cL}+tu@a+H)--( zhxbZMo4)rx@|#=tcHC@amy$16Kg%@)0>y_KaVYo`)Z)z$FCgVmQfAG|Q_Sn1?}S4h zdj3Y*A|(1Z&li!$JpTL?+B$OX`G?8e`q2{Fim9s11uxBZ)HnzdD>c(E6@$f(y;M!x z%tJ5L(+>0BU-A`fW7OLn%66bmR_(YPX*-#;Czv!`De5ia^J8_7L&2XQ z77%-xsFCEi9S(YNWYa6AgI+cZ_YJA9IK2?dWi%-_9Q2FFwP zUa5KOs}si^XIw`e$_a_bxT9m(Y5BSKb}c1nz0{m(_VJayW&yzPb#$24%&~Kd(GoNDc48?2;X!c zsniNIcx=A;`y*A_cnzBn->mzou9j)$;E(S!KmKWjHdUiTc)r%`|5=50P{V%2K)?Cf z4DFCchsDj%`!{HZH9^I_=4bC$s^>L9-PWV!G|PPEXnb5Qa<0K`&qNtVSL>tUvZ54d zR&+B>A8Gj8ua8&9YgXNZG|BwcM^n@yZREm7ryTeeeE8!(mZ&9~dCeyc{MG)+5-J;c z^pg)X5L#GeJ#r6CF}IzrqiG|V)5V3fedH(S7C30uH{9pTX}{$up-MVn`AVn;clVai zESi@2atXa&NYkt@ETk%`w8GQrIt1m9OsAW1_s(>>mS$Q1G@Ygw%+jD&HJVamb>2en zA(B6FJ-rH;BcG=VwOKRYY^}_ksGx5UwOLzdkRiXStgB~IIl!uC(scQ##CmoyunVXX z>(j-Uu+s9j&`dn?&!x%Mq$-+(M{}yED+~303oWA+)^)8^k2htrr~+TN%%b-}$JMjx zHnl;sUYSof)hi9!nB76Uba%iycz3{;=J77nl!ckMXVVOonyoX{bQ@-Dtf7uc?HV=S z843qGQ{iN&Igv1uJgVJ#s)pK2J2h(JmrGL7{?NKmIFuabx1H8!HPiw+7x`#@S+`bL zxG50vY`C%Tu0TZdwjgK1oXQ$&ZyQZ1Si}5Wt0`-(zxL6O$j|&NwZ=EmIPFGP6C_+#A8(Zprb{5r26rqkaEInks>dtv%f|(JHN{l>nwY@Vwi)?hf$# z`}OoslDrorAtlzm^XQT6^`CGJ5*}Ye*IK{1iM*Nb-$dKVUXM0MQT&#FKJ8Qu%?vMJ zNrqJyqPmihCY|w+HtLK+){X^qgBsDyJzW*%|LQ7~m&+(3#&A|wFvMI8X-dla%FWQA zVe7AMrVv(8)&v=Dy{rtkTAQ1wUEQXcM^-giuQnmc!gcxT>uH;{U?JqUT^hpWB<>MV}~@39nv_Sux@Lk zTgvuaK@;~%P29_icu`Yc{GV!~`Tf?L>50snw~~*f*#H0O;vT7sd;ag};>*@x7yQpF zf)V3hVMgrJlzrOBwJjf#T%txJ|Irpx>18?b%NZEK7c@A~XYQumaHlujL+y0X+IkN~ z=uqZ&_s|;-^{{519WFDY5qIWiJ#-&7B+D0|3>~+A9iRhrCi7enX5~1mk@ZHHuFXv7 zqlbykWuEP)odjSuiHS#SlQ@=V5=SKB8-^!XFNCPHyhx?7wGS#DjK^YqM>TrQyzlN( z>vw>nqd9vScZ`>KL{p9nL{{{ET0|$Tzq+56c~5Cn(G^>j>|z9pazYHUZdp(6l9PEP zoMa4M(}onC~POTd|E)mN^=seT45X#ppc;UC1m;&<2$*NIsEMx{gZc zsOvzAGiTdGYx)Md&Fgd`tkS`j!C1l{E^=C%H&C**Z*hJPGlS1PL!Vv9n$qmbt1wBFp|nT(~02*1us{TW5n20@`!yqT_1=Zou-g*N}2^Z38e zifpE#f@Yp~p;Kw&+v_vqw$KS}YCAvdbSn764y+Vu$_jDS?QB%KE$uc*~*~h z)??eKvSb^Ry2Yt%7c`zGWb8Y55>7+r(M}0D@5^+by31+q{A7COwJ*~;cpq!ZS80&2 z|9llJ*=xP_Rr(UVP}6qY?Xd>7)6BVho%zAei_S}eofk1Bw1vMkkH@3DY#rK8dRd)D zwHxLxSg_Ja3?jiX6jYAxxKYE_{2#zR@f88?Jxf#@z`4TXoWgJ(UN0Qoxpiz*7v2+tW_-qw7mD*Y2PW5B$y1$6*K$ z?xOqYtaWA=wa+>`hEwM*<(hH^YUcMAJ?yX!Jxf!pC!Yd8##_zLQ?d1fr}44yX@n%xtZzL{`>DZNyN7(mJ6%+t zD?6m-)x%$ow?54vsQt@t(4^~8p}m8OT+*+VxTsOUB7twZy;{Emz(t^7xXhaP40tL_ z<)4=|@q}F(uUAT3W9vCKPN;jC3+m1v>QtA4Kd45LTI5ouT}(lxO~I_oP*5o;_~oB@_G{hvRs^UZJUj3=rZKD38as|fCxskAm)$L zQ&H>@Xk^HHPbpkuIGK=l)^A^+&)JZLRY@Zr31Me2g7WS7YGc!2NEQ_n?berGqD@Nhx z%6V^?u*zhhB3F-Ft_02*C%EWkqlgq-& zHpbAj+AEcQyXzvyy*)eDuE_B?4n>q5Ov^%-vhyN~80{W{%$-Js}Otd7Mx{PBKcb!CWZO$|S$}(w?jyHV_XgdC4DZk1prLeu z*3lA+L|Rd~4zsH2qQ}qy9G(8?aF-DcqV_D%D&stVSRD@mBpI{gBt!R$Zb-GhE|ugm ze;iNne=-)+Q7j+U2jzI#GVy(~8jXN4kMwk6AeIUT(FYoB{OGZ`zR@2_>V3EnCNu17 zYL9O4heJU`of|?ybniZ=6%dmJNHiF-WQ{?y4$UMcR1DBJ4usIi3C7Tmh{lq7Y-3ap zC0o<0lKyy7G%(u2{=tM1R0_3U2*fsJ1O5$$Y*XbrQ@Y`gheJlZ8W?6`cC40pcdz7g z8ymTiSZsiNgE1-NwMvrj^gt|{^oOG0sqBiR#S%i{uv{q5#KYuEeiurhJvNA#RPr7C zTx7F?QG@!Vp0e5oCIpo%i(S02VCBHGz89>Y=_Y*#Mh5%JxQvUlvQ+GFPtF z{$NcyNHuBufezk_*f=2?bAVjJjWorpy~ZPjAegg#{8SG`#TxGE&5gp;N&mXA;j6b7 zz?BY2vPcWdD_$!j;C4|~Y`&&eW>I?r)5+LYxkg(m=Ch%NRE$k`#$(a`7Dy$U%*Er& zquI%o2^vy%@s`JCANvC0QBNWp!Rx_LP|y$&Z9nlk%`z6KTXi+H3!BULD< zlxTlwHPQl|L?nLV?Bnk1f1@ef-qY8m z4c68if_r&%Yf5fo%TvkaeWIV5P$p?Bgcf4$LHo5HNhOl3j2lDA0T9;P5{veQ`q5$y zMf1`0>P@+KcK0ut`n}4u2ZhluCuOluJf)7F6FpY_ZCfl{4J_QO#qi|bW%LAcD{w$+9`SccW*%k zNbUh?d4EJR#+`9dVO!jf-ehLck7%D4A-8y0_;VyG=j8RupOdbgcgc2u_2|!0th`{o z^>bQUM{dv3#9$BHC)-LY(USn3DHaA(Ed0Bt zbgALT)`2 zD!brR>*Wreq7+m0AU4EkvIpiiP*1h|c)M3h<))?bCLPQhfceV1qwAvxL6G_Y#=gl1 z0nxMmdopb7V~|s|-9k{xyZpluFclm~mo5?e0W$bv>@ZaVo8Cn+E)F;0bUJegQ{x6qi!kf+w+v#y!YXqvBR-fd-+XJQx9g){(mr zj1fmDlyreo0XWtq?D*r5?EMcGcR98c*0%Vg2ogGCvGu7zaI#}rtQ&?5yg_@uSR4z! zh|DzN?>e`q7HSpBs#!%}gZsB_ar>u9?iXVYWVw>3}IRteE6R0zG5l84*shy@V0lA^;@jW~|LKyj4z zF-Fws&bOjYUh-Ho>dYe~9WgFzM~j5a@~B~#iQq33i^HO7sUz=Im;F>B{FsGEUkXwYM!;xn5Yu$!A?V0HR;U742L1hT$XT{4E5>-7?n^yR zxAY;ncU%Tr-8G?+h;F=pMNi`P9K6#}{N&{&F~oMHnI6XerWNcuV)F1=_$R30`2 ziFtEVhd+2foDR0Gjp8WPMPrnR+jDOq6-i;E89fs;H-TUwZq&EL!pP0wyP3a=Qc6v! z!HxcSuqT3D&X3&^I<%B^sC&@-yO*Zd4>_opZ?Q$M<3wg@JTllRLBW=esIgIQ0s<$d z2pU6f^XlCbZyoh^EqDmnFtmq{HG=LST>Y3y?SrS(H~{oL8=+x1dKO>rrC#&dCrewQ zdK{7TutTbIkj{aN^io4(IZX8P$baBl7IXuRqcf+7@>`ZQp zyGQMLA8a4{(Uvh&GvGxBs%*Hetopd#=JuF%uTGp?Yb(0FKQ`vhXPmbd9zzLiuY+DU zhpg+Y$By9`!Fg-s7&<<6)~}9HgVyGx7p%d}Xnf550IlUUR@VoJI(J!HKcIz(E`Rs| z%~83w`T^an?Q#Lnq0N)5B_E>izu#K_A@ICw?fwuWj#%%0NHgc;j#wOZU3xf~1L?fO z$%=AU=3hUgDNcGZbJYn{-RYG~rS*B?`lc1jI7tU3RPUO7Jg6#?(`Pv{I*>peyD(W<)b6s;zz%sl&R z>U2;|=FDj_i5fCne?vbc6powE(Dg(MGseH5yh&}DUB9C~LIdQpPpO$4e#aNBX}=)d z>it*x8!|Fg|Ax$ghODXQXfulKPoAS~_|pHK!Ze)O@$WRjf!gTa^K>ii&73}uo)Fep z`$u|$&^UPSGpy~EjOzkTcG5m;nyUT>9kR+D>Pz6_VTW3Sp#R?-Y89Q%lxsL}f;IR& z>gUnmje67yEXDMwzjwHCh~`lRV*Fa6`URA;$B$Rnc}aoXt0t&ZX|1(ng6hNiQWMmTINg>x zQ>@M<3R(I@^>K=1G85IGqSKuDa;fT89owBdtVbuS?dZk-{bcoKbWkQvQICPn-%e3+ zASQETx$1I4mljM@`_aRFewz9=p%@#wUcC!nZ(XmhbG+i*XU(iopM$L5sZf6pJ{+u6 zmpa~c9zt-3%h za9O>z>K)}cKy(&4#GQ8kbpsOfE(64sbAoV_Os+4UxW412#`<2=61sTfWdEPY{C<%-L509QEo!A>k4u_NrmIE$ zPaK?bS}Sf>zWZU7bgcS6pbH+^*i^J+G0W7VBN&7Y*&feVMJdtKY<_ zF{^61I+G4$x|XZx%^%48vP(^nXBHGoRp5Q@T&aGXKH{oWY}Z3s7gWs0sFChys#2>d z+CS^J8^$14GW~(|eB4~rUi^Uo_Ml_}AYfN|EfyIR~yZ+*^sbCo(JecrXZYn9YU`5YCLus;;J z;MzT;)|WSA7?o^>f4ZR<&)GwhM!C17Nk!^>bb*~< zR-y*WWiakzpz$E8E_eVgX1T`%!>je9{?1iX$WV*+n@l5ng)6p+)&iU*4(A&nM74Iyyjl?eJleXLRUZ-|L1Wg=xHe2QN%MwZA^ z;BeYrN<#9OS!F~9lhBor&+zHJ*|iG(>I)Y_IeM#kI&QcK&N5YEI-uS-fOdf{DoO0u z!3rHkl=v`{lv}<~G*O@Rhc~AE!wGPX6xCVP}l8o+LwoR66WOH%G99Z3Ip}wlN`W zw}!KnAjA0sP*k?_7&z6R;*Jkf7K-cBS%hOHIK4W;a^RK|7R>bWE(s6DR>`*<-)FA_ z18HEk!BHp_9f)CAu=sUU1Vu}z50X0Wo^YWSy!T4fzyuz_76vi5iPa{bNquKgPpQZ&z49Fb^Z}2CyuD2YLATBow9Gl&XC3C>&QM% z_xO`NHb1p2$GubC-WM*91r+*qxo&%uPjP}vQo-emUi(ci^nu%5qL&#TRSBUEHmlOT z`~#g{A1t#Q{_CFJRd6B;7G%lGl9u2`VoXOv2L^<;vmbeS9^%~kb$jZIRipJ1gg7Bk zh&873H*)T|GM$&8gZF+@dNo^9v)&99v#{QqLq5vOUY|y`q&scdz`e4NtsurbP>2bWI5jbI86xox8}54zA8Yo-l>%i&2siK4DC` z7i)#-Pop>xF9Um)?bel~9uD|9g!s&!3>nB7hxX#_|*18e7F_aV&3nV*3LTs#J zxBow%S{t%8VllfBDb;lR61B*dF@+rMs%J3wGfENO$}o=ALTvBSFZu359kk!bZw#zR z87V{SvZE8D2g;XiYZR7>`hMDIb9<7T#=EP8Ok^zA?yeZn?~oyl4DIs<`V_<7;i0wz zv1}JMhBlLoWieuO8f^425&R+lM4SNfLnQ4 z+yZp7R1VmL@CDew$0Ap-67=AieejvWl7zE}AW+3thkcdfAS0b)nqX9R1J?Q1@=!Jo zmq(eIctMYd2nYzo^7&v6HfC|^CWh3UV+FBG`!uXt>@%0wiJa11182l3ODKwRWFJ@> z?YAENoLZ9R=rLvZT9^0r3B$QFhF>GcIT2`z*^hcQif3AG$K0*GqodOlNAk)%16++5 zi!&gJ^!b{z53@1FRIWuBM(1Wm>pZ4Hn zMndx@Z~*48v$4D+&sA`NLL@^rC?DcLY{{W~O#DI@etQ^_WAkBBC0&fkhfEjrq~(aw zjDU*|;5MU>(U<_>hkS}h9M#zn@@F^LCXwuL6GfzKKIOY&kvzfJ!VIT_$Ps!|$-c&3 zgzqc>pYpz*&N^$R4%tWm>lVif^;Ip+9c{W1!-He}-p zcj0cmRY2q|*&d(ICZF=lvHK!^Q7?FD!^Zs^^QYBs5GQ0fef7cH+Y*!P%LXqj%cf>o z*uZ`tFj$Z3?HWQ)l%Htj_ASm9y{X@deK}`P*;<2uV#s45S#561%Ek?hiedt zPp(8EhWS>n9;^?L#ytwHRNhvVW?utce{!HF`&!<5OBE&GQQH)?KrNZ7rlB4bZU|~ zx7JSj3Wk8)vKx_Jl5>Ai*s;$sA-P7rDB33?^VLBgvo9OKWp${Rr|tFKC6^=S>`UjZ zI)84zTYJ@>nz3d5`IWK$*G%FdNiKx-9H9t~NHB@XG^@Q`*XWhi860gi5Hj1Q${|ZA z3UHr2!xi{^#ToJ^=nyi>pCFARTe%sOF77B{hZ)mY((Ve#r|1aT{U#x+QGXb5d!N?r zp<^T^!&f9_*?~Ug_d)q4)anr>9=XhI=0*l zVt)3)KJ6FT-I2KjC#nW+^h@3V29S zLG~%P9Itqh`Nz`}=K5mCoDqeG-1L}|PV79@BzzK;YaN$avs`k>2nQ3@ zX<)lID-7N_F(O-xtm?Z5ei%bIK`fi&u~eAkE}!W`N8a1=n-Jl}t(exAWUN1}Az20usq|JQa|h2-3H8 z$)~qxb8opE!Bd;pSzh&C0jEzv=D!@e6yF$vtS+J1wumgl(wFC0wa)((NDu|fD^M=Q zqJx8@3=}*=1v;K(TBwiz`JDkAm|z*^&PPLr#wP6bK4gk%E(;>Q5Pfm{!xtPB3*EsX z*J0H2+2BUap-P-)m}TdXtk7{R5++#fDwOdL z2lc9WU*M)28|Q)AY-Lw0B+Gfp_%xVdyIXs*D{-7NOIbZ*Ux}3)D264t;4_vcxi-`f z9?BXLY+vuq^P#<52tY>Vs~wD|Su*0^eMu-=-ChVh8xZDrIx1u^j`xAldZ93|E8CZp zyDUkshJM@k(lxWY3y0DO`RrN;hXtHy2zK4mJ9ZOTuwc{~phjaa0ES8g4)F~>w&rVj1!<3elC98Z(XT~uroLptadpRpBUhmuITolXo{&{P?_3k?B zo_+TIe((K#``h1sx!3aZK}%4T>Q(N%WNr`oQX1AsA!2@|;!z1isI{uoTMTkOfoQL* z+Fs^qVqx+G$nwvWTPZAOm(63LfrST+u#m-}X%%jzN@b4@jPW-HIV&N7edl@$(%5U& z*CCbL*FX;Yw#E*5Y^nPs6tV=*$56yKIbga!%X=?{c($ds5y1!4#mQk5USO~^njhT@ z5o}RiIz+Oqb)~oTN3!U(bJ)Vh@oc+q5RMl$rjJOI7ZM_q7z)vg)Uur7y9u@lp=l&u zyeyO?2)M{ZY5=D6159L()h6(Ll@Q8W>!VSS*X!@GqzJS`N>X*S^Z;6JKeTjqX1$Gh z*Uf=U*12vr{x@&P;d5Vwpo!TO#!fGGtLj44tILv2Wm{i|EEhwXE-N73Kxs)oN+m*1Hh1F!gIdTEL9K+6<&@9W zV6flvU>pR^_pNf+J(bM$(Cpb%j)a-2;;`YWu&q*6r_JLlD^oq53ZKJKZ>u&y)p8v3 z)`?-oR_3td%CRZVa{Q=vyK3#_s+$enR6-@fc5jLWg}t(=7HU}P=A9t3lbbhz$v>;1 z2Efc-edtHFIW7S~aHhi5fCg1JHDKRvjA3nCB4j%yRyJ-^KASc;guOcK4vE+)`_ns7 zET=KlQYF++(`UQ`3&?7hYZLN*F?glM3AUp)+F zy}$hfG_r!NB{5B6B!g@huVzZ{5mc;X2h+ALfn6-DX=v~+>@-o*!X`B>gI50&O+Nx0 zV2^E^4sHIAw*731IUukPQ-Tj-XJwH#(UC>k*_X}B;3%8@_$YdmvV@Rm_7jWDJVr?< zL_1yXD#dY(f?P~stgBjeD_*|T3~O!*XWfrahYps^;wN-a$eLFz z5OVHQ?W-%jcN4I=RgdbfRm*QPNIF;@ON36=!bZoRpin$tb zPCy4c(I@6?IK}dx$br-Bp(jS8A=;i8g8%P6aX)miQ9E+ScTqWXhO162{Ie8SKK>E? zkDjLlA2dV?Sjh!!nPhUw|M-qSN+I3CE>|eILfOlE6Ij|);cVS58@)=|o?SKo*0C!I zOzinR$)d}EP-qWj?5U)Lo<4UgRH}pJd*KSmi{P4IeO<7=)`t+z?%bUdA^K=9CHSBu zR|Fui(%p$ECP|Jq3@1dlNDyqD>vF0{!Me~@rOL!25dwr**tFJYn8Z%*PJ)5#rM<(M zbx*bs>)t&!2xE>tcN>yo`{O-{7_ktXPFlvl{vM*(n3iaWVKZBn;eTt(Otxir9+FDh zI~)?(J$o}Cg>Bk9I5tJPHGpKHE@I_ie0phb3#7Bcr?b(mk3T(%wLKlCx00~;rM;8b z(0%tsWTK!nTO#=AD&|TgHz4#g`?iIH1Zja4GF$Of;@svLqy8nWPKe2uV0NCT-dQ$X zDO+QAuAZ-8y!Q~2&pvrZ=zaZ}6;QzTK9|fk?;km(uus(f#xIai;3DL%|IreO;G>Iz zBTIyI%O$d$UEE)Z?mzq4iJ%HQK7Kfe{jn(otnB4yM}5TVb8 zL-qS|;v)N-nIXdhR(x^k>-mCvh7!-|@t_)g$Fah#~wO3&Qc}jutvhDdvSjp`}p9JWZ&)9LA_W94G2rHMd(I} zY}65|4=s%l-Lz36_~ z-VeV`$8T?67Sb+&+az+-06rD~?(7GAj4eBo9^N4hnXWh#TnrFRf+5&m-of@AiKQKq zzGHoKWN=8Qpmj_lCk$Gr0<=!|qjgHqVs`%+%V`08N+MmX#Xkei`Y-vn0-R-+{4r*0 zx$5zXW-5E-Xp`QV>aThQ0^|Oz+G@!F^;=#)73gJOy|EiE__ua6Qyh!^vjXSYhCeS2 zK979NJIMuIC**z`%FHiB13J z6Vnay(d=(0od(Y!YZ)$X1J3{Zx6?r2{OO&<0XfkN>pfnzO2&Ek`kgJZD&fA-^UgB% z$-5Tzw^PIDc8OU}uV72x9fkAX@a`75OTwK}K&bBxk*`R&!}h$hoPGMvGog;Yif= z#ShohFcbUcofWLM}`5AntQ2`~h^&LqH4 z2;<)*z;H{LjLRfaCXqaLIJ}EuH|Ik%?;Q?%5ODc;u$jE|)oO}%d<5W1NafR}LnNP? z2jTpyX^`8mV?4sU@?dyhmtz!6>1%h4LKy~fr2vwQu5|pGlmzqp09uk@F3pzt)QK<= zhZ2%uB)%GEz!{V%Dh2ML@iH%31X29`EU;yec)9VbAdf$l3UQV^VcdL~{@U6_$<* z4h8FKd#$P?4dx%G!|Xl+Xz*Y@d4dkATV01SuxYN$3yWcl!FD?)EP`nS519y+NZC>X z@hDsKL=?vmHHN>L0o(fI{A3Yq7pSd*PVizF$}=Z{Rr||b(9{Pnk0+#n+q0k<3i*#& zun=Eic1Vvbl8sQiM7|kni};RgG)f8Y%!YL1mB_xHKN_2eGsCh(*sw?@%lV^|At^+W zLqpe=RRz~hH}` z_zZt()cpmT`8PQb2R_4N>J5*n7XodR$;SWLV>o)uL}<{)O@$r*M~>q&9LJ|S4sDRx z%L{U$(O8j9#)@nb!f%(!_S>#V;qdn(qW0Q&3@v>#{{LfTHX19l@qfKCoB7>;%r z2H7DDvP&krv^VC#IS42(fwpS_xG1gw-5;7c`a`<5xC9Di47txOft?tDr!Iv8IKZ2h zLX~t_4&^w}k=h;i!$FC*$*j3HR_j^;yHMC}_2Yd? z(6Exz28oRiz)adD^E0&&%P%|tLELJGS*&Zljo-5dcNM*ilS|Lb*fos5y#~hW<(#P! zxuENSWd#c_b)fzA%FYaWN!E)B+Fu>e4rspLJKcsK3%RscH^-{L zJAs$f!RB}{!D3MpS?E=~YR+_rt89%iVR&fj)n|u?`*5c%T#Hf9#5b*l5!7VTZNXn# z3pmUCtFsDG8UQ-W=mVqXmr7JQC<4@PaMH*?sWGjLXT@Q;< zN~IC&6V?TB{Lp$B1o1b%BNI%8rZ*Y%N0*c!EaaT;i zY~_ep-mnEG;SO?a3uM|ZPzd#<-$fu9>lfZqyR%$f+t)|b077yjBu3bU?23t0=|W!t zEK1Y}esgfQc(D=I(Rvdmb0f96zlD_m8~IDWgKB8twyn6=HS#%I;bGiH&xo%E{?k@S zn$T$KpVBm$ewETRAty{a#7hni4#p5((ge1c7#Y%PCrqBaK=oAPAw?yW1TUH>qf!6R z1Y;tbb#Uu>AUi}WG%eXmcHJ;cQcJ)vt^EwsqNAM0N=qxYD1IK`qaJ~EaG19~0vY)F z_eUTxv`wdnKr(6PLEA8t9p(OQm;)WXL7xBI1hJtzqe+J#bj(CLZww`!2yi~tkMjwg zb2JKjN+96pX>HH%VO216@t>c71~|(bc0fVO*;{ON{@1oTkLYNt^8zc1hdc@M2VBr; zccWI9jNT1T!Uo!H;y*lzlhEBKSgLfzWJGd~kvxdc`7I347>CUgy=uZJ9K*-$hIMj} z3G=29|dM%*&brWRi zU|0ajxp%B>5yD*)JZ$_(3rxTWaJdDh-cr(z;3a!u<}F>3>DT)_Ay7z36Gbc&dP6U& ztp8Ck6MS&pq~U;xckRQhQpgf-F&pkR(EMvzEWEh|68MIv;c)subHLmB@vxYYM;MaT z|7fI{;3Ih80EWgE+#%fiAO!=?o_)A%;sx9E$bWLB^E6^*PMaQh39D%z(wcLDm4U`JAGxtUC2? z3q)5anB#l&uYr*4R?BeEZC8yR{@$|?YM^rK0T_t;*w6!zA?KT+jbCiVB-eXDKdtCm zT|5Aj8@IXu>+-;io_d}ct!?AsVM(@+&jgz+z)!{d@Jkrgsj#qFps_2^r> zA=CtteH*K13ajS|tBXIHXD0XvtK&faO(B%RzB_{32vKkwx`m?bSt#g=KU!oa_z1c< zQ1T0SE3PoK`ay^?SyRkJxxqG_n+`#8h!sg~7ga~QKEg1N^YMrA!lTOkizr^zM;UKG zMDbK$ij0HQ2q6;8#3$?(r?ni0_ky9G+mFC9e2Hn$J~;vo8AEHK28%F?idCU=`b2}E zF^#|E)c6Zd8OTXg>Pgd0OmQg_hu(YZrObBS4kV2<^O{#-G-i&-F)B17-|cp}QD_1g z+VNK*hpKb(91cvV^d!Vn;H*^~_HrW0nXoc&2U6<6#7$YPmX>2`;8}?UJ*>RdVUf?{ z!_u3m4eDjJm4V^9N_$zQO>wI>0cSS|@*iHqQ@qThUWY~uJT0%|0m#h1d>tMLOA{Ff zR{3VRe9m$bB%k509Ea3R9=&WbZjKnu!;)XEUL@4TC&6+q6r&%M+q^DOSQLZE&L$)< zN`H7^fS)ea<4p3}s+2WY(o}Ju8E2b`mx6W&7AR3ZyHl?PI$Wzg}hUYC)!5)1df0V^PcfAj`sCjrl9bZb>9_5j(8?3ugu&6R0%bxU3aaEVaQHkN zoq6kMu)XYn88XDBU>_F@$1OPZQW`FjVA3j@EA{39Y*HLLY}T)S`0+R4Ul=D|c?(!< zJC4aCkD8B}JItNt6Xw(AF7sLQc{4f6hn~ZTIQAswcE^l%-AUYeI*fM5Nem*LM*HWJ z7#B_$?VPtUGdg94(0sQ-$SE^BLnE|?w_%SJP78>9+!}Sl51s=X?vGEO!}INV{`EPS zO)r?S&=keL{0#0Kka44Uc8Qxl$I#X!!5b{>sbPHC=a{!&;_E-hTs@K>`W!ORxBv0E zUd)K@hBUd}1kW;ML=0EEApyDmt{cYFD<-za9K$QS;SPSW8zN+%8R?~MjN*4(#-sHP zKJhZrJIq&JMt$3O^JPe)q*(jsWr#Duc1`*UR#4cXt@;{^4ww+V_YGEyT6oa6kP(g- z$BU!W^fcGFhw`-Zx!=M;G|#`jg@1!n{P`Xzh11%A|9}B_e&SL830F}A(|0Iyw>I@V zCQldvUjcRPB-ff(lGkwVt0L52ONV zGY|VG*mw!hx1msrr}R63C47)fH=rJm%Cr$*ktXWEE$Y%}8h&txiAtD1J{e4Z15MgL zg6S+k1rtN)F2LjC@d0!S>iOdU8f(I(JUER0fK~|`L=Rz}^x7briWB|CAeszaT39#@ zlTnWmQFJO2FN>lhQJt+(^gAgCi?gwsh^+ zPe;%RfV(Z;em@CC+6#&F11#xi>yu~@m8wiNyfK9qKn?#e1$FZA0i)?z!w9IcmOO@< zO&FTTr_t50QR8X!q|krG1iBbs+61~vYBufQLnhLFXorr8Xx0P#NCurPwVB#^Zw6fi zomz1weM*YP670(aPMe02=K>ULF znt8NZ`+Po4ps1U9Ax)GvnvJ!f&0R=;#=5P{=iNuoVNEA_F+Bn}*?(I??*eJNIg&@* zPw%&0l3_WGu+7I{t$GW}o3%~%)8{1gg;Aw633h37OX)Vi_g`014+MvqpaE|X5A%{$ z^wUjk=0qZ&m99!x<#zMP*)zn|6kZ}ORoxgj@fhMhYTh|b?_G%ZOpA;=t7B$smflyq zHqg^ywx;Plzfqm4$L{GgXBZHLF1HuABX9i)b4GF>^)mIedFNR16}-l9wJzROPUA3+ VTrH, + /// Sector number + #[arg(long)] + sector_id: u32, + /// The height at which we draw the randomness for deriving a sealed cid. + #[arg(long)] + seal_randomness_height: u64, + /// Precommit block number + #[arg(long)] + pre_commit_block_number: u64, }, /// Generates PoSt verifying key and proving parameters for zk-SNARK workflows (submit windowed PoSt) #[clap(name = "post-params")] @@ -203,17 +217,42 @@ impl ProofsCommand { commp, output_path, cache_directory, + sector_id, + seal_randomness_height, + pre_commit_block_number, } => { let Some(signer) = Option::::from(signer_key) else { return Err(UtilsCommandError::NoSigner)?; }; - let prover_id = derive_prover_id(signer.account_id()); - // Those are hardcoded for the showcase only. - // They should come from Storage Provider Node, precommits and other information. - let sector_id = 77; - let ticket = [12u8; 32]; - let seed = [13u8; 32]; + let sector_number = SectorNumber::try_from(sector_id) + .map_err(|_| UtilsCommandError::InvalidSectorId)?; + + let entropy = signer.account_id().encode(); + println!("Entropy: {}", hex::encode(&entropy)); + + let ticket = get_randomness( + DomainSeparationTag::SealRandomness, + seal_randomness_height, + &entropy, + ); + println!( + "[{seal_randomness_height}] Ticket randomness: {}", + hex::encode(ticket) + ); + + // The number added is configured in runtime: + // https://github.com/eigerco/polka-storage/blob/18207759d7c6c175916d5bed70246d94a8f028f4/runtime/src/configs/mod.rs#L360 + let interactive_block_number = pre_commit_block_number + 10; + let seed = get_randomness( + DomainSeparationTag::InteractiveSealChallengeSeed, + interactive_block_number, + &entropy, + ); + println!( + "[{interactive_block_number}] Seed randomness: {}", + hex::encode(seed) + ); let output_path = if let Some(output_path) = output_path { output_path @@ -247,14 +286,11 @@ impl ProofsCommand { let piece_file_length = PaddedPieceSize::from_arbitrary_size(piece_file_length); let piece_file = ZeroPaddingReader::new(piece_file, *piece_file_length.unpadded()); - let commp = cid::Cid::from_str(commp.as_str()) + let commp = cid::Cid::from_str(&commp) .map_err(|e| UtilsCommandError::InvalidPieceCommP(commp, e))?; let piece_info = PieceInfo { - commitment: primitives_commitment::Commitment::from_cid( - &commp, - CommitmentKind::Piece, - ) - .map_err(|e| UtilsCommandError::InvalidPieceType(commp.to_string(), e))?, + commitment: Commitment::try_from(commp) + .map_err(|e| UtilsCommandError::InvalidPieceType(commp.to_string(), e))?, size: piece_file_length, }; @@ -276,6 +312,9 @@ impl ProofsCommand { .create_sector(vec![(piece_file, piece_info)], unsealed_sector) .map_err(|e| UtilsCommandError::GeneratePoRepError(e))?; + let prover_id = derive_prover_id(signer.account_id()); + println!("Prover ID: {}", hex::encode(prover_id)); + println!("Precommitting..."); let precommit = sealer .precommit_sector( @@ -283,7 +322,7 @@ impl ProofsCommand { unsealed_sector_path, &sealed_sector_path, prover_id, - sector_id, + sector_number, ticket, &piece_infos, ) @@ -296,16 +335,16 @@ impl ProofsCommand { &cache_directory, &sealed_sector_path, prover_id, - sector_id, + sector_number, ticket, Some(seed), - precommit.clone(), + precommit, &piece_infos, ) .map_err(|e| UtilsCommandError::GeneratePoRepError(e))?; - println!("CommD: {:?}", Commitment::data(precommit.comm_d).cid()); - println!("CommR: {:?}", Commitment::replica(precommit.comm_r).cid()); + println!("CommD: {}", precommit.comm_d.cid()); + println!("CommR: {}", precommit.comm_r.cid()); println!("Proof: {:?}", proofs); // We use sector size 2KiB only at this point, which guarantees to have 1 proof, because it has 1 partition in the config. // That's why `prove_commit` will always generate a 1 proof. @@ -313,8 +352,10 @@ impl ProofsCommand { .clone() .try_into() .expect("converstion between rust-fil-proofs and polka-storage-proofs to work"); - proof_scale_file.write_all(&codec::Encode::encode(&proof_scale))?; + let scale_encoded_proof = codec::Encode::encode(&proof_scale); + proof_scale_file.write_all(&scale_encoded_proof)?; + println!("Proof as HEX: {}", hex::encode(scale_encoded_proof)); println!("Wrote proof to {}", proof_scale_filename.display()); } ProofsCommand::GeneratePoStParams { @@ -372,7 +413,7 @@ impl ProofsCommand { // Those are hardcoded for the showcase only. // They should come from Storage Provider Node, precommits and other information. - let sector_id = 77; + let sector_id = 77.into(); let randomness = [1u8; 32]; let output_path = if let Some(output_path) = output_path { @@ -447,8 +488,10 @@ pub enum UtilsCommandError { InvalidPieceFile(PathBuf, std::io::Error), #[error("provided invalid CommP {0}, error: {1}")] InvalidPieceCommP(String, cid::Error), - #[error("invalid piece type")] - InvalidPieceType(String, &'static str), + #[error("invalid piece type, error: {1}")] + InvalidPieceType(String, CommitmentError), + #[error("invalid sector id")] + InvalidSectorId, #[error("file {0} is invalid CARv2 file {1}")] InvalidCARv2(PathBuf, mater::Error), #[error("no signer key was provider")] @@ -468,3 +511,13 @@ fn file_with_extension( .map_err(|e| UtilsCommandError::FileCreateError(new_path.clone(), e))?; Ok((new_path, file)) } + +fn get_randomness( + personalization: DomainSeparationTag, + block_number: u64, + entropy: &[u8], +) -> [u8; 32] { + // This randomness digest is hardcoded because it's always same on testnet. + let digest = [0u8; 32]; + draw_randomness(&digest, personalization, block_number, &entropy) +} diff --git a/cli/polka-storage-provider/common/src/commp.rs b/cli/polka-storage-provider/common/src/commp.rs index f3d4e1e3d..7b9ed2e67 100644 --- a/cli/polka-storage-provider/common/src/commp.rs +++ b/cli/polka-storage-provider/common/src/commp.rs @@ -5,7 +5,7 @@ use filecoin_hashers::{ Domain, }; use fr32::Fr32Reader; -use primitives_commitment::{piece::PaddedPieceSize, Commitment, CommitmentKind, NODE_SIZE}; +use primitives_commitment::{piece::PaddedPieceSize, CommP, Commitment, NODE_SIZE}; use storage_proofs_core::merkle::BinaryMerkleTree; use thiserror::Error; @@ -15,7 +15,7 @@ use thiserror::Error; pub fn calculate_piece_commitment( source: R, piece_size: PaddedPieceSize, -) -> Result { +) -> Result, CommPError> { // This reader adds two zero bits to each 254 bits of data read from the source. let mut fr32_reader = Fr32Reader::new(source); @@ -35,14 +35,12 @@ pub fn calculate_piece_commitment( .map_err(|err| CommPError::TreeBuild(err.to_string()))?; // Read and return the root of the tree - let mut commitment = [0; NODE_SIZE]; + let mut raw = [0; NODE_SIZE]; tree.root() - .write_bytes(&mut commitment) + .write_bytes(&mut raw) .expect("destination buffer large enough"); - let commitment = Commitment::new(commitment, CommitmentKind::Piece); - - Ok(commitment) + Ok(raw.into()) } #[derive(Debug, Error)] @@ -93,7 +91,6 @@ mod tests { let commitment = calculate_piece_commitment(zero_padding_reader, padded_piece_size).unwrap(); - dbg!(commitment.raw()); assert_eq!( commitment.raw(), diff --git a/cli/polka-storage-provider/server/src/db.rs b/cli/polka-storage-provider/server/src/db.rs index 705a30b3a..59034877b 100644 --- a/cli/polka-storage-provider/server/src/db.rs +++ b/cli/polka-storage-provider/server/src/db.rs @@ -1,6 +1,6 @@ use std::{ path::Path, - sync::atomic::{AtomicU64, Ordering}, + sync::atomic::{AtomicU32, Ordering}, }; use primitives_proofs::SectorNumber; @@ -36,7 +36,7 @@ const COLUMN_FAMILIES: [&str; 2] = [ACCEPTED_DEAL_PROPOSALS_CF, SECTORS_CF]; pub struct DealDB { database: RocksDB, - last_sector_number: AtomicU64, + last_sector_number: AtomicU32, } impl DealDB { @@ -54,7 +54,7 @@ impl DealDB { let db = Self { database: RocksDB::open_cf_descriptors(&opts, path, cfs)?, - last_sector_number: AtomicU64::new(0), + last_sector_number: AtomicU32::new(0), }; db.initialize_biggest_sector_number()?; @@ -124,9 +124,10 @@ impl DealDB { &self, sector_number: SectorNumber, ) -> Result, DBError> { - let Some(sector_slice) = self - .database - .get_pinned_cf(self.cf_handle(SECTORS_CF), sector_number.to_le_bytes())? + let Some(sector_slice) = self.database.get_pinned_cf( + self.cf_handle(SECTORS_CF), + u32::from(sector_number).to_le_bytes(), + )? else { return Ok(None); }; @@ -143,7 +144,7 @@ impl DealDB { sector: &SectorType, ) -> Result<(), DBError> { let cf_handle = self.cf_handle(SECTORS_CF); - let key = sector_number.to_le_bytes(); + let key = u32::from(sector_number).to_le_bytes(); let json = serde_json::to_vec(§or)?; self.database.put_cf(cf_handle, key, json)?; @@ -157,35 +158,38 @@ impl DealDB { /// And then `last_sector_number` is incremented by `next_sector_number` only /// If it was called by multiple threads later than initialization, it could cause a race condition and data erasure. fn initialize_biggest_sector_number(&self) -> Result<(), DBError> { - let mut biggest_sector_number = 0; + let mut biggest_sector_number = 0.into(); for item in self .database .iterator_cf(self.cf_handle(SECTORS_CF), rocksdb::IteratorMode::Start) { let (key, _) = item?; - let key: [u8; 8] = key + let key: [u8; 4] = key .as_ref() .try_into() - .expect("sector's key to be u64 le bytes"); - let sector_id = SectorNumber::from_le_bytes(key); + .expect("sector's key to be u32 le bytes"); + // Unwrap safe. Can only fail if the sector number was manually + // inserted in the database. + let sector_id = + SectorNumber::new(u32::from_le_bytes(key)).expect("valid sector number"); biggest_sector_number = std::cmp::max(biggest_sector_number, sector_id); } // [`Ordering::Relaxed`] can be used here as this function is executed only on start-up and once. // We don't mind, it's just a initialization. self.last_sector_number - .store(biggest_sector_number, Ordering::Relaxed); + .store(biggest_sector_number.into(), Ordering::Relaxed); Ok(()) } /// Atomically increments sector_id counter, so it can be used as an identifier by a sector. /// Prior to all of the calls to this function, `initialize_biggest_sector_id` must be called at the node start-up. - pub fn next_sector_number(&self) -> SectorNumber { + pub fn next_sector_number(&self) -> Result { // [`Ordering::Relaxed`] can be used here, as it's an update on a single variable. // It does not depend on other Atomic variables and it does not matter which thread makes it first. // We just need it to be different on every thread that calls it concurrently, so the ids are not duplicated. let previous = self.last_sector_number.fetch_add(1, Ordering::Relaxed); - previous + 1 + SectorNumber::try_from(previous + 1) } // NOTE(@jmg-duarte,03/10/2024): I think that from here onwards we're very close of reinventing the LID, but so be it diff --git a/cli/polka-storage-provider/server/src/pipeline/mod.rs b/cli/polka-storage-provider/server/src/pipeline/mod.rs index 358816121..483151505 100644 --- a/cli/polka-storage-provider/server/src/pipeline/mod.rs +++ b/cli/polka-storage-provider/server/src/pipeline/mod.rs @@ -7,7 +7,7 @@ use polka_storage_proofs::porep::{ PoRepError, PoRepParameters, }; use polka_storage_provider_common::rpc::ServerInfo; -use primitives_commitment::Commitment; +use primitives_commitment::{CommD, CommP, CommR, Commitment}; use primitives_proofs::{ derive_prover_id, randomness::{draw_randomness, DomainSeparationTag}, @@ -53,6 +53,8 @@ pub enum PipelineError { RandomnessNotAvailable, #[error(transparent)] SendError(#[from] SendError), + #[error("Custom error: {0}")] + CustomError(String), } /// Pipeline shared state. pub struct PipelineState { @@ -115,15 +117,15 @@ impl PipelineOperations for TaskTracker { deal, published_deal_id, piece_path, - piece_cid, + commitment, } = msg; self.spawn(async move { tokio::select! { // AddPiece is cancellation safe, as it can be retried and the state will be fine. - res = add_piece(state, piece_path, piece_cid, deal, published_deal_id) => { + res = add_piece(state, piece_path, commitment, deal, published_deal_id) => { match res { - Ok(_) => tracing::info!("Add Piece for piece {:?}, deal id {}, finished successfully.", piece_cid, published_deal_id), - Err(err) => tracing::error!(%err, "Add Piece for piece {:?}, deal id {}, failed!", piece_cid, published_deal_id), + Ok(_) => tracing::info!("Add Piece for piece {}, deal id {}, finished successfully.", commitment, published_deal_id), + Err(err) => tracing::error!(%err, "Add Piece for piece {}, deal id {}, failed!", commitment, published_deal_id), } }, () = token.cancelled() => { @@ -191,7 +193,10 @@ async fn find_sector_for_piece( ) -> Result { // TODO(@th7nder,30/10/2024): simplification, we're always creating a new sector for storing a piece. // It should not work like that, sectors should be filled with pieces according to *some* algorithm. - let sector_number = state.db.next_sector_number(); + let sector_number = state + .db + .next_sector_number() + .map_err(|err| PipelineError::CustomError(err.to_string()))?; let unsealed_path = state.unsealed_sectors_dir.join(sector_number.to_string()); let sector = UnsealedSector::create(sector_number, unsealed_path).await?; @@ -206,7 +211,7 @@ async fn find_sector_for_piece( async fn add_piece( state: Arc, piece_path: PathBuf, - piece_cid: Commitment, + commitment: Commitment, deal: DealProposal, deal_id: u64, ) -> Result<(), PipelineError> { @@ -223,7 +228,7 @@ async fn add_piece( .open(§or.unsealed_path)?; tracing::info!("Preparing piece..."); - let (padded_reader, piece_info) = prepare_piece(piece_path, piece_cid)?; + let (padded_reader, piece_info) = prepare_piece(piece_path, commitment)?; tracing::info!("Adding piece..."); let occupied_piece_space = sealer.add_piece( padded_reader, @@ -322,6 +327,9 @@ async fn precommit( let sealing_output = sealing_handle.await??; tracing::info!("Created sector's replica: {:?}", sealing_output); + let sealing_output_commr = Commitment::::from(sealing_output.comm_r); + let sealing_output_commd = Commitment::::from(sealing_output.comm_d); + tracing::debug!("Precommiting at block: {}", current_block); let result = state .xt_client @@ -338,16 +346,8 @@ async fn precommit( + SECTOR_EXPIRATION_MARGIN, sector_number: sector_number, seal_proof: state.server_info.seal_proof, - sealed_cid: primitives_commitment::Commitment::new( - sealing_output.comm_r, - primitives_commitment::CommitmentKind::Replica, - ) - .cid(), - unsealed_cid: primitives_commitment::Commitment::new( - sealing_output.comm_d, - primitives_commitment::CommitmentKind::Data, - ) - .cid(), + sealed_cid: sealing_output_commr.cid(), + unsealed_cid: sealing_output_commd.cid(), seal_randomness_height: current_block, }], true, @@ -367,8 +367,8 @@ async fn precommit( let sector = PreCommittedSector::create( sector, sealed_path, - Commitment::replica(sealing_output.comm_r), - Commitment::data(sealing_output.comm_d), + sealing_output_commr, + sealing_output_commd, current_block, precommited_sectors[0].block, ) @@ -452,8 +452,7 @@ async fn prove_commit( let cache_dir = state.sealing_cache_dir.clone(); let sealed_path = sector.sealed_path.clone(); let piece_infos = sector.piece_infos.clone(); - let comm_r = sector.comm_r.raw(); - let comm_d = sector.comm_d.raw(); + tokio::task::spawn_blocking(move || { sealer.prove_sector( porep_params.as_ref(), @@ -463,7 +462,10 @@ async fn prove_commit( sector_number, ticket, Some(seed), - PreCommitOutput { comm_r, comm_d }, + PreCommitOutput { + comm_r: sector.comm_r, + comm_d: sector.comm_d, + }, &piece_infos, ) }) diff --git a/cli/polka-storage-provider/server/src/pipeline/types.rs b/cli/polka-storage-provider/server/src/pipeline/types.rs index 34a5cc12d..bbc08af70 100644 --- a/cli/polka-storage-provider/server/src/pipeline/types.rs +++ b/cli/polka-storage-provider/server/src/pipeline/types.rs @@ -1,6 +1,6 @@ use std::path::PathBuf; -use primitives_commitment::{piece::PieceInfo, Commitment}; +use primitives_commitment::{piece::PieceInfo, CommD, CommP, CommR, Commitment}; use primitives_proofs::{DealId, SectorNumber}; use serde::{Deserialize, Serialize}; use storagext::types::market::DealProposal; @@ -26,7 +26,7 @@ pub struct AddPieceMessage { /// Path where the deal data (.car archive) is stored pub piece_path: PathBuf, /// CommP of the .car archive stored at `piece_path` - pub piece_cid: Commitment, + pub commitment: Commitment, } /// Sector to be sealed and pre-commited to the chain @@ -95,11 +95,11 @@ pub struct PreCommittedSector { /// the file has contents which should not be touched and are used for later steps. pub sealed_path: std::path::PathBuf, - /// CID of the sealed sector. - pub comm_r: Commitment, + /// Sealed sector commitment. + pub comm_r: Commitment, - /// CID of the unsealed data of the sector. - pub comm_d: Commitment, + /// Data commitment of the sector. + pub comm_d: Commitment, /// Block at which randomness has been fetched to perform [`PipelineMessage::PreCommit`]. /// @@ -143,8 +143,8 @@ impl PreCommittedSector { pub async fn create( unsealed: UnsealedSector, sealed_path: std::path::PathBuf, - comm_r: Commitment, - comm_d: Commitment, + comm_r: Commitment, + comm_d: Commitment, seal_randomness_height: u64, precommit_block: u64, ) -> Result { @@ -181,11 +181,11 @@ pub struct ProvenSector { /// Path of an existing file where the sealed sector data is stored. pub sealed_path: std::path::PathBuf, - /// CID of the sealed sector. - pub comm_r: Commitment, + /// Sealed sector commitment. + pub comm_r: Commitment, - /// CID of the unsealed data of the sector. - pub comm_d: Commitment, + /// Data commitment of the sector. + pub comm_d: Commitment, } impl ProvenSector { diff --git a/cli/polka-storage-provider/server/src/rpc.rs b/cli/polka-storage-provider/server/src/rpc.rs index e358feea8..c44e2c400 100644 --- a/cli/polka-storage-provider/server/src/rpc.rs +++ b/cli/polka-storage-provider/server/src/rpc.rs @@ -50,6 +50,14 @@ impl StorageProviderRpcServer for RpcServerState { )); } + // TODO(@jmg-duarte,25/11/2024): Add sanity validations + // end_block > start_block + // available balance (sp & client) + // the provider matches us + // storage price per block > 0 + // piece size <= 2048 && power of two + // check the piece_cid code + let cid = self .deal_db .add_accepted_proposed_deal(&deal) @@ -80,7 +88,7 @@ impl StorageProviderRpcServer for RpcServerState { .is_none() { return Err(RpcError::internal_error( - "proposal has not been accepted", + "proposal has not been found — have you proposed the deal first?", None, )); } @@ -95,6 +103,8 @@ impl StorageProviderRpcServer for RpcServerState { )); } + // TODO(@jmg-duarte,25/11/2024): don't batch the deals for better errors + let deal_proposal = deal.deal_proposal.clone(); // TODO(@jmg-duarte,#428,04/10/2024): // There's a small bug here, currently, xt_client waits for a "full extrisic submission" @@ -110,33 +120,40 @@ impl StorageProviderRpcServer for RpcServerState { let published_deals = result .events - .find::() - .collect::, _>>() + .find_first::() .map_err(|err| RpcError::internal_error(err, None))?; + let Some(published_deals) = published_deals else { + return Err(RpcError::internal_error( + "failed to find any published deals", + None, + )); + }; // We currently just support a single deal and if there's no published deals, // an error MUST've happened - debug_assert_eq!(published_deals.len(), 1); + debug_assert_eq!(published_deals.deals.0.len(), 1); // We always publish only 1 deal - let deal_id = published_deals[0].deal_id; - - let piece_cid = Commitment::new( - piece_cid.hash().digest().try_into().map_err(|e| { - RpcError::invalid_params( - e, - Some(serde_json::to_value(piece_cid).expect("cid to be serializable")), - ) - })?, - primitives_commitment::CommitmentKind::Piece, - ); + let deal_id = published_deals + .deals + .0 + .first() + .expect("we only support a single deal") + .deal_id; + + let commitment = Commitment::from_cid(&piece_cid).map_err(|e| { + RpcError::invalid_params( + e, + Some(serde_json::to_value(piece_cid).expect("cid to be serializable")), + ) + })?; self.pipeline_sender .send(PipelineMessage::AddPiece(AddPieceMessage { deal: deal_proposal, published_deal_id: deal_id, piece_path, - piece_cid, + commitment, })) .map_err(|e| RpcError::internal_error(e, None))?; diff --git a/cli/polka-storage-provider/server/src/storage.rs b/cli/polka-storage-provider/server/src/storage.rs index aa09711a7..958a7ec53 100644 --- a/cli/polka-storage-provider/server/src/storage.rs +++ b/cli/polka-storage-provider/server/src/storage.rs @@ -48,7 +48,9 @@ pub struct StorageServerState { pub deal_db: Arc, pub listen_address: SocketAddr, + // I think this just needs the sector size actually + #[allow(dead_code)] pub post_proof: RegisteredPoStProof, } diff --git a/cli/polka-storage/storagext-cli/src/cmd/faucet.rs b/cli/polka-storage/storagext-cli/src/cmd/faucet.rs new file mode 100644 index 000000000..a54c1617c --- /dev/null +++ b/cli/polka-storage/storagext-cli/src/cmd/faucet.rs @@ -0,0 +1,60 @@ +use std::time::Duration; + +use anyhow::anyhow; +use clap::Subcommand; +use storagext::{FaucetClientExt, PolkaStorageConfig}; +use url::Url; + +use crate::OutputFormat; + +#[derive(Debug, Subcommand)] +#[command(name = "faucet", about = "CLI Client to the Faucet Pallet", version)] +pub(crate) enum FaucetCommand { + /// Drip funds into target account. + Drip { + /// Drip target's account ID. + account_id: ::AccountId, + }, +} + +impl FaucetCommand { + /// Run a `faucet` command. + /// + /// Requires the target RPC address. + #[tracing::instrument(level = "info", skip(self, node_rpc), fields(node_rpc = node_rpc.as_str()))] + pub async fn run( + self, + node_rpc: Url, + n_retries: u32, + retry_interval: Duration, + output_format: OutputFormat, + wait_for_finalization: bool, + ) -> Result<(), anyhow::Error> { + let client = storagext::Client::new(node_rpc, n_retries, retry_interval).await?; + + match self { + FaucetCommand::Drip { account_id } => { + let submission_result = client.drip(account_id, wait_for_finalization).await?; + + let Some(submission_result) = submission_result else { + // Didn't wait for finalization + return Ok(()); + }; + + // Grab `Dripped` event and convert into `::faucet::Event` so we have `Display` and `Serialize` implemented. + let event: storagext::runtime::faucet::Event = submission_result + .events + .find_first::()? + .ok_or(anyhow!("Could not find expected Dripped event"))? + .into(); + + let output = output_format.format(&event)?; + match output_format { + OutputFormat::Plain => println!("[{}] {}", submission_result.hash, output), + OutputFormat::Json => println!("{}", output), + } + Ok(()) + } + } + } +} diff --git a/cli/polka-storage/storagext-cli/src/cmd/market.rs b/cli/polka-storage/storagext-cli/src/cmd/market.rs index cfba4aaa4..0f8be58a3 100644 --- a/cli/polka-storage/storagext-cli/src/cmd/market.rs +++ b/cli/polka-storage/storagext-cli/src/cmd/market.rs @@ -17,12 +17,28 @@ use url::Url; use crate::{missing_keypair_error, operation_takes_a_while, OutputFormat}; +/// Removes the `_` from a the input before calling [`parse`](std::std::FromStr::parse). +fn parse_without_underscore(s: &str) -> Result +where + T: std::str::FromStr, +{ + s.replace('_', "").parse() +} + #[derive(Debug, Subcommand)] #[command(name = "market", about = "CLI Client to the Market Pallet", version)] pub(crate) enum MarketCommand { /// Add balance to an account. AddBalance { /// Amount to add to the account. + #[arg(value_parser=parse_without_underscore::)] + amount: storagext::Currency, + }, + + /// Withdraw balance from an account. + WithdrawBalance { + /// Amount to withdraw from the account. + #[arg(value_parser=parse_without_underscore::)] amount: storagext::Currency, }, @@ -57,12 +73,6 @@ pub(crate) enum MarketCommand { deal_ids: Vec, }, - /// Withdraw balance from an account. - WithdrawBalance { - /// Amount to withdraw from the account. - amount: storagext::Currency, - }, - /// Retrieve the balance for a given account. RetrieveBalance { /// The target account's ID. @@ -296,3 +306,14 @@ impl MarketCommand { Ok(submission_result) } } + +#[cfg(test)] +mod test { + use super::parse_without_underscore; + + #[test] + fn test_parse() { + let parsed = parse_without_underscore::("1_000_0").unwrap(); + assert_eq!(parsed, 1_000_0); + } +} diff --git a/cli/polka-storage/storagext-cli/src/cmd/mod.rs b/cli/polka-storage/storagext-cli/src/cmd/mod.rs index 763220f51..459deb285 100644 --- a/cli/polka-storage/storagext-cli/src/cmd/mod.rs +++ b/cli/polka-storage/storagext-cli/src/cmd/mod.rs @@ -1,3 +1,4 @@ +pub mod faucet; pub mod market; pub mod proofs; pub mod randomness; diff --git a/cli/polka-storage/storagext-cli/src/main.rs b/cli/polka-storage/storagext-cli/src/main.rs index e9d11f8ef..b42037f52 100644 --- a/cli/polka-storage/storagext-cli/src/main.rs +++ b/cli/polka-storage/storagext-cli/src/main.rs @@ -6,8 +6,8 @@ use std::{fmt::Debug, time::Duration}; use clap::{ArgGroup, Parser, Subcommand}; use cmd::{ - market::MarketCommand, proofs::ProofsCommand, randomness::RandomnessCommand, - storage_provider::StorageProviderCommand, system::SystemCommand, + faucet::FaucetCommand, market::MarketCommand, proofs::ProofsCommand, + randomness::RandomnessCommand, storage_provider::StorageProviderCommand, system::SystemCommand, }; use storagext::multipair::{DebugPair, MultiPairSigner}; use subxt::ext::sp_core::{ @@ -89,6 +89,8 @@ struct Cli { #[derive(Debug, Subcommand)] enum SubCommand { + #[command(subcommand)] + Faucet(FaucetCommand), // Perform market operations. #[command(subcommand)] Market(MarketCommand), @@ -114,6 +116,16 @@ impl SubCommand { wait_for_finalization: bool, ) -> Result<(), anyhow::Error> { match self { + SubCommand::Faucet(cmd) => { + cmd.run( + node_rpc, + n_retries, + retry_interval, + output_format, + wait_for_finalization, + ) + .await?; + } SubCommand::Market(cmd) => { cmd.run( node_rpc, diff --git a/cli/polka-storage/storagext/Cargo.toml b/cli/polka-storage/storagext/Cargo.toml index 24f6414c0..0b6b1a554 100644 --- a/cli/polka-storage/storagext/Cargo.toml +++ b/cli/polka-storage/storagext/Cargo.toml @@ -27,7 +27,7 @@ serde_json = { workspace = true } sha2 = { workspace = true } subxt = { workspace = true, features = ["jsonrpsee", "substrate-compat"] } subxt-signer = { workspace = true, features = ["subxt"] } -thiserror = { workspace = true } +thiserror = { workspace = true, default-features = true } tokio = { workspace = true, features = ["macros", "rt-multi-thread"] } tracing = { workspace = true } tracing-subscriber = { workspace = true, features = ["env-filter"] } diff --git a/cli/polka-storage/storagext/src/clients/faucet.rs b/cli/polka-storage/storagext/src/clients/faucet.rs new file mode 100644 index 000000000..e6f3325eb --- /dev/null +++ b/cli/polka-storage/storagext/src/clients/faucet.rs @@ -0,0 +1,30 @@ +use std::future::Future; + +use crate::{ + runtime::{self, SubmissionResult}, + PolkaStorageConfig, +}; + +/// Client to interact with the faucet pallet. +pub trait FaucetClientExt { + /// Drip funds into the provided account. + fn drip( + &self, + account_id: ::AccountId, + wait_for_finalization: bool, + ) -> impl Future>, subxt::Error>>; +} + +impl FaucetClientExt for crate::runtime::client::Client { + async fn drip( + &self, + account_id: ::AccountId, + wait_for_finalization: bool, + ) -> Result>, subxt::Error> { + let payload = runtime::tx() + .faucet() + .drip(subxt::utils::AccountId32::from(account_id)); + + self.unsigned(&payload, wait_for_finalization).await + } +} diff --git a/cli/polka-storage/storagext/src/clients/mod.rs b/cli/polka-storage/storagext/src/clients/mod.rs index ee81627f5..268ca2551 100644 --- a/cli/polka-storage/storagext/src/clients/mod.rs +++ b/cli/polka-storage/storagext/src/clients/mod.rs @@ -1,9 +1,11 @@ +mod faucet; mod market; mod proofs; mod randomness; mod storage_provider; mod system; +pub use faucet::FaucetClientExt; pub use market::MarketClientExt; pub use proofs::ProofsClientExt; pub use randomness::RandomnessClientExt; diff --git a/cli/polka-storage/storagext/src/lib.rs b/cli/polka-storage/storagext/src/lib.rs index 54186b246..662ea065d 100644 --- a/cli/polka-storage/storagext/src/lib.rs +++ b/cli/polka-storage/storagext/src/lib.rs @@ -8,7 +8,10 @@ pub mod types; pub mod deser; pub use crate::{ - clients::{MarketClientExt, RandomnessClientExt, StorageProviderClientExt, SystemClientExt}, + clients::{ + FaucetClientExt, MarketClientExt, RandomnessClientExt, StorageProviderClientExt, + SystemClientExt, + }, runtime::{bounded_vec::IntoBoundedByteVec, client::Client}, }; diff --git a/cli/polka-storage/storagext/src/runtime/client.rs b/cli/polka-storage/storagext/src/runtime/client.rs index 302215210..b9319666d 100644 --- a/cli/polka-storage/storagext/src/runtime/client.rs +++ b/cli/polka-storage/storagext/src/runtime/client.rs @@ -2,7 +2,7 @@ use std::time::Duration; use codec::Encode; use hex::ToHex; -use subxt::{blocks::Block, events::Events, OnlineClient}; +use subxt::{blocks::Block, events::Events, utils::H256, OnlineClient}; use crate::PolkaStorageConfig; @@ -67,6 +67,32 @@ impl Client { } } + pub(crate) async fn unsigned( + &self, + call: &Call, + wait_for_finalization: bool, + ) -> Result>, subxt::Error> + where + Call: subxt::tx::Payload, + { + if wait_for_finalization { + let submitted_extrinsic_hash = self.client.tx().create_unsigned(call)?.submit().await?; + self.traced_submission_with_finalization(submitted_extrinsic_hash) + .await + .map(Option::Some) + } else { + tracing::trace!("submitting unsigned extrinsic"); + let extrinsic_hash = self.client.tx().create_unsigned(call)?.submit().await?; + + tracing::trace!( + extrinsic_hash = extrinsic_hash.encode_hex::(), + "waiting for finalization" + ); + + Ok(None) + } + } + /// Submit an extrinsic and wait for finalization, returning the block hash it was included in. /// /// Equivalent to performing [`OnlineClient::sign_and_submit_then_watch_default`], @@ -82,7 +108,12 @@ impl Client { Keypair: subxt::tx::Signer, { if wait_for_finalization { - self.traced_submission_with_finalization(call, account_keypair) + let submitted_extrinsic_hash = self + .client + .tx() + .sign_and_submit_default(call, account_keypair) + .await?; + self.traced_submission_with_finalization(submitted_extrinsic_hash) .await .map(Option::Some) } else { @@ -101,25 +132,14 @@ impl Client { } } - pub(crate) async fn traced_submission_with_finalization( + pub(crate) async fn traced_submission_with_finalization( &self, - call: &Call, - account_keypair: &Keypair, - ) -> Result, subxt::Error> - where - Call: subxt::tx::Payload, - Keypair: subxt::tx::Signer, - { + submitted_extrinsic_hash: H256, + ) -> Result, subxt::Error> { tracing::trace!("submitting extrinsic"); let mut finalized_block_stream = self.client.blocks().subscribe_finalized().await?; - let submitted_extrinsic_hash = self - .client - .tx() - .sign_and_submit_default(call, account_keypair) - .await?; - tracing::debug!( extrinsic_hash = submitted_extrinsic_hash.encode_hex::(), "waiting for finalization" @@ -146,12 +166,10 @@ impl Client { ); for extrinsic in block.extrinsics().await?.iter() { - let extrinsic = extrinsic?; - // There's a bug on subxt that forces us to use this thing, // in 0.38 we can just use .hash(), in fact, in 0.38 this line doesn't work! // https://github.com/paritytech/subxt/discussions/1851#discussioncomment-11133684 - let extrinsic_hash = extrinsic.events().await?.extrinsic_hash(); + let extrinsic_hash = extrinsic.hash(); if submitted_extrinsic_hash == extrinsic_hash { // Extrinsic failures are placed in the same block as the extrinsic. diff --git a/cli/polka-storage/storagext/src/runtime/display/faucet.rs b/cli/polka-storage/storagext/src/runtime/display/faucet.rs new file mode 100644 index 000000000..7ff62d19d --- /dev/null +++ b/cli/polka-storage/storagext/src/runtime/display/faucet.rs @@ -0,0 +1,20 @@ +use crate::runtime::faucet::Event; + +impl std::fmt::Display for Event { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + match self { + Event::Dripped { who, when } => f.write_fmt(format_args!( + "Faucet Dripped: {{ account: {who}, block: {when} }}" + )), + } + } +} + +impl From for Event { + fn from(value: crate::runtime::faucet::events::Dripped) -> Self { + Self::Dripped { + who: value.who, + when: value.when, + } + } +} diff --git a/cli/polka-storage/storagext/src/runtime/display/market.rs b/cli/polka-storage/storagext/src/runtime/display/market.rs index e10870ee4..8ba4a67e4 100644 --- a/cli/polka-storage/storagext/src/runtime/display/market.rs +++ b/cli/polka-storage/storagext/src/runtime/display/market.rs @@ -27,14 +27,27 @@ impl std::fmt::Display for Event { who, amount )) } - Event::DealPublished { - deal_id, - client, + Event::DealsPublished { provider, - } => f.write_fmt(format_args!( - "Deal Published: {{ deal_id: {}, provider_account: {}, client_account: {} }}", - deal_id, provider, client, - )), + deals + } => { + // This should show something like + // Deals Published: { + // provider_account: ..., + // deals: [ + // { client_account: ..., deal_id: ... }, + // { client_account: ..., deal_id: ... }, + // ] + // } + f.write_fmt(format_args!( + "Deal Published: {{\n provider_account: {},\n deals: [\n", + provider + ))?; + for deal in deals.0.iter() { + f.write_fmt(format_args!(" {{ client_account: {}, deal_id: {} }},\n", deal.client, deal.deal_id))?; + } + f.write_str(" ]\n}") + } Event::DealActivated { deal_id, client, diff --git a/cli/polka-storage/storagext/src/runtime/display/mod.rs b/cli/polka-storage/storagext/src/runtime/display/mod.rs index 423cb3ceb..d063b7b1f 100644 --- a/cli/polka-storage/storagext/src/runtime/display/mod.rs +++ b/cli/polka-storage/storagext/src/runtime/display/mod.rs @@ -1,3 +1,4 @@ +mod faucet; mod market; mod proofs; mod storage_provider; diff --git a/cli/polka-storage/storagext/src/runtime/mod.rs b/cli/polka-storage/storagext/src/runtime/mod.rs index 4223f4152..d759fc651 100644 --- a/cli/polka-storage/storagext/src/runtime/mod.rs +++ b/cli/polka-storage/storagext/src/runtime/mod.rs @@ -28,6 +28,10 @@ pub mod display; path = "primitives_proofs::types::SectorSize", with = "::primitives_proofs::SectorSize", ), + substitute_type( + path = "primitives_proofs::types::SectorNumber", + with = "::primitives_proofs::SectorNumber", + ), // impl Deserialize derive_for_type( path = "pallet_market::pallet::ActiveDealState", @@ -37,6 +41,10 @@ pub mod display; path = "pallet_market::pallet::DealState", derive = "::serde::Deserialize" ), + derive_for_type( + path = "pallet_market::pallet::PublishedDeal", + derive = "::serde::Deserialize" + ), // impl Serialize derive_for_type( path = "pallet_market::pallet::BalanceEntry", @@ -52,6 +60,10 @@ pub mod display; path = "pallet_proofs::pallet::Event", derive = "::serde::Serialize" ), + derive_for_type( + path = "pallet_faucet::pallet::Event", + derive = "::serde::Serialize" + ), derive_for_type( path = "bounded_collections::bounded_vec::BoundedVec", derive = "::serde::Serialize" @@ -65,7 +77,7 @@ pub mod display; derive = "::serde::Serialize" ), derive_for_type( - path = "pallet_market::pallet::DealSettlementError", + path = "pallet_market::error::DealSettlementError", derive = "::serde::Serialize" ), derive_for_type( @@ -104,6 +116,10 @@ pub mod display; path = "pallet_market::pallet::DealState", derive = "::serde::Serialize" ), + derive_for_type( + path = "pallet_market::pallet::PublishedDeal", + derive = "::serde::Serialize" + ), )] mod polka_storage_runtime {} @@ -131,7 +147,7 @@ mod test { ) .unwrap(); - assert_eq!(active_deal_state.sector_number, 1); + assert_eq!(active_deal_state.sector_number, 1.into()); assert_eq!(active_deal_state.sector_start_block, 10); assert_eq!(active_deal_state.last_updated_block, Some(20)); assert_eq!(active_deal_state.slash_block, None); @@ -161,7 +177,7 @@ mod test { assert_eq!( deal_state, DealState::Active(ActiveDealState { - sector_number: 1, + sector_number: 1.into(), sector_start_block: 10, last_updated_block: Some(20), slash_block: None diff --git a/cli/polka-storage/storagext/src/types/storage_provider.rs b/cli/polka-storage/storagext/src/types/storage_provider.rs index cdfe95d16..fc43534ab 100644 --- a/cli/polka-storage/storagext/src/types/storage_provider.rs +++ b/cli/polka-storage/storagext/src/types/storage_provider.rs @@ -149,7 +149,7 @@ impl From for RuntimeProveCommitSector { pub struct FaultDeclaration { pub deadline: u64, pub partition: u32, - pub sectors: BTreeSet, + pub sectors: BTreeSet, } impl From for RuntimeFaultDeclaration { @@ -201,7 +201,7 @@ impl PartialEq for FaultDeclaration { pub struct RecoveryDeclaration { pub deadline: u64, pub partition: u32, - pub sectors: BTreeSet, + pub sectors: BTreeSet, } impl From for RuntimeRecoveryDeclaration { @@ -286,7 +286,7 @@ impl Into for SubmitWindowedPoStParams { pub struct TerminationDeclaration { pub deadline: u64, pub partition: u32, - pub sectors: BTreeSet, + pub sectors: BTreeSet, } impl From for RuntimeTerminationDeclaration { @@ -340,7 +340,7 @@ mod tests { let expected = FaultDeclaration { deadline: 0, partition: 0, - sectors: BTreeSet::from_iter([0, 1].into_iter()), + sectors: BTreeSet::from_iter([0.into(), 1.into()].into_iter()), }; assert_eq!(expected, result); } @@ -358,7 +358,7 @@ mod tests { let expected = vec![FaultDeclaration { deadline: 0, partition: 0, - sectors: BTreeSet::from_iter([0, 1].into_iter()), + sectors: BTreeSet::from_iter([0.into(), 1.into()].into_iter()), }]; assert_eq!(expected, result); } @@ -376,7 +376,7 @@ mod tests { let expected = RecoveryDeclaration { deadline: 0, partition: 0, - sectors: BTreeSet::from_iter([0, 1].into_iter()), + sectors: BTreeSet::from_iter([0.into(), 1.into()].into_iter()), }; assert_eq!(expected, result); } @@ -394,7 +394,7 @@ mod tests { let expected = vec![RecoveryDeclaration { deadline: 0, partition: 0, - sectors: BTreeSet::from_iter([0, 1].into_iter()), + sectors: BTreeSet::from_iter([0.into(), 1.into()].into_iter()), }]; assert_eq!(expected, result); } @@ -500,7 +500,7 @@ mod tests { vec![TerminationDeclaration { deadline: 69, partition: 420, - sectors: BTreeSet::from([1, 2]), + sectors: BTreeSet::from([1.into(), 2.into()]), }] ) } diff --git a/docker/dockerfiles/mater-cli.Dockerfile b/docker/dockerfiles/mater-cli.Dockerfile index a217c82c5..a72321a93 100644 --- a/docker/dockerfiles/mater-cli.Dockerfile +++ b/docker/dockerfiles/mater-cli.Dockerfile @@ -1,6 +1,6 @@ ################ ##### Chef -FROM rust:1.77 AS chef +FROM rust:1.81.0 AS chef RUN cargo install cargo-chef WORKDIR /app diff --git a/docker/dockerfiles/polka-storage-node.Dockerfile b/docker/dockerfiles/polka-storage-node.Dockerfile index 92b0e99d6..1d7f2f834 100644 --- a/docker/dockerfiles/polka-storage-node.Dockerfile +++ b/docker/dockerfiles/polka-storage-node.Dockerfile @@ -1,6 +1,6 @@ ################ ##### Chef -FROM rust:1.77 AS chef +FROM rust:1.81.0 AS chef RUN cargo install cargo-chef WORKDIR /app diff --git a/docker/dockerfiles/polka-storage-provider-client.Dockerfile b/docker/dockerfiles/polka-storage-provider-client.Dockerfile index 0d34d54f7..83b51105a 100644 --- a/docker/dockerfiles/polka-storage-provider-client.Dockerfile +++ b/docker/dockerfiles/polka-storage-provider-client.Dockerfile @@ -1,6 +1,6 @@ ################ ##### Chef -FROM rust:1.77 AS chef +FROM rust:1.81.0 AS chef RUN cargo install cargo-chef WORKDIR /app diff --git a/docker/dockerfiles/polka-storage-provider-server.Dockerfile b/docker/dockerfiles/polka-storage-provider-server.Dockerfile index abc33f59b..f8407d4d2 100644 --- a/docker/dockerfiles/polka-storage-provider-server.Dockerfile +++ b/docker/dockerfiles/polka-storage-provider-server.Dockerfile @@ -1,6 +1,6 @@ ################ ##### Chef -FROM rust:1.77 AS chef +FROM rust:1.81.0 AS chef RUN cargo install cargo-chef WORKDIR /app diff --git a/docker/dockerfiles/storagext-cli.Dockerfile b/docker/dockerfiles/storagext-cli.Dockerfile index 75ce57248..1f5337cfa 100644 --- a/docker/dockerfiles/storagext-cli.Dockerfile +++ b/docker/dockerfiles/storagext-cli.Dockerfile @@ -1,6 +1,6 @@ ################ ##### Chef -FROM rust:1.77 AS chef +FROM rust:1.81.0 AS chef RUN cargo install cargo-chef WORKDIR /app diff --git a/docs/src/SUMMARY.md b/docs/src/SUMMARY.md index abd4d22a3..999cad574 100644 --- a/docs/src/SUMMARY.md +++ b/docs/src/SUMMARY.md @@ -1,7 +1,6 @@ # Summary [Introduction](./introduction.md) -[Background](./background.md) # Guides @@ -12,6 +11,7 @@ - [Storage Provider](./architecture/pallets/storage-provider.md) - [Proofs](./architecture/pallets/proofs.md) - [Randomness](./architecture/pallets/randomness.md) + - [Faucet](./architecture/pallets/faucet.md) - [Getting Started](./getting-started/index.md) - [Building](./getting-started/building/index.md) - [From Source](./getting-started/building/source.md) @@ -35,6 +35,7 @@ - [`proofs`](./storagext-cli/proofs.md) - [`randomness`](./storagext-cli/randomness.md) - [`system`](./storagext-cli/system.md) + - [`faucet`](./storagext-cli/faucet.md) - [Mater CLI](./mater-cli/index.md) - [Zombienet Configuration](./zombienet-config.md) diff --git a/docs/src/architecture/pallets/faucet.md b/docs/src/architecture/pallets/faucet.md new file mode 100644 index 000000000..49e93c668 --- /dev/null +++ b/docs/src/architecture/pallets/faucet.md @@ -0,0 +1,68 @@ +# Faucet Pallet + +## Table of Contents + +- [Faucet Pallet](#faucet-pallet) + - [Table of Contents](#table-of-contents) + - [Overview](#overview) + - [Usage](#usage) + - [Extrinsics](#extrinsics) + - [`drip`](#drip) + - [Events](#events) + - [Errors](#errors) + - [Constants](#constants) + +## Overview + +The Faucet Pallet enables users to drip funds into their wallet to start using the polka-storage chain. + +
+ +The faucet pallet only exists on the testnet. Any of the funds dripped do not have any real-world value. + +
+ +## Usage + +The Faucet Pallet is used to get funds on testnet into an externally generated account. + +> Only 1 drip per 24 hours per account is allowed. When trying to drip more often than once per 24 hours the transaction will be rejected. + +## Extrinsics + +### `drip` + +The `drip` extrinsic is an [unsigned extrinsic (or inherit)](https://docs.substrate.io/learn/transaction-types/#unsigned-transactions) with no gas fees. This means that any account can get funds, even if their current balance is 0. + +| Name | Description | Type | +| --------- | --------------------------------------- | ------------------------------------------------------------------------ | +| `account` | The target account to transfer funds to | [SS58 address](https://docs.substrate.io/learn/accounts-addresses-keys/) | + +#### Example + +```bash +storagext-cli faucet drip 5GpRRVXgPSoKVmUzyinpJPiCjfn98DsuuHgMV2f9s5NCzG19 +``` + +## Events + +The Faucet Pallet only emits a single event: + +- `Dripped` - Emits what account was dripped to and at what block number. + - `who` - [SS58 address](https://docs.substrate.io/learn/accounts-addresses-keys/) of the dripped account. + - `when` - Block at which the drip occurred. + +## Errors + +The Faucet Pallet actions can fail with the following errors: + +- `FaucetUsedRecently` - the provided account had funds dripped within the last 24 hours. + +## Constants + +The Faucet Pallet has the following constants: + +| Name | Description | Value | +| ------------------ | --------------------------------------------------------------------- | ------------------ | +| `FaucetDripAmount` | The amount that is dispensed in [planck](../../glossary.md#planck)'s. | 10_000_000_000_000 | +| `FaucetDripDelay` | How often an account can be topped up. | 1 Day | diff --git a/docs/src/architecture/pallets/market.md b/docs/src/architecture/pallets/market.md index 504db7ad5..33997aafa 100644 --- a/docs/src/architecture/pallets/market.md +++ b/docs/src/architecture/pallets/market.md @@ -211,7 +211,6 @@ The Market Pallet actions can fail with following errors: - `InsufficientFreeFunds` - Market participants do not have enough free funds. - `NoProposalsToBePublished` - `publish_storage_deals` was called with an empty list of `deals`. - `ProposalsPublishedByIncorrectStorageProvider` - Is returned when calling `publish_storage_deals` and the deals in a list are not published by the same storage provider. -- `AllProposalsInvalid` - `publish_storage_deals` call was supplied with a list of `deals` which are all invalid. - `DuplicateDeal` - There is more than one deal with this ID in the Sector. - `DealNotFound` - Tried to activate a deal that is not in the system. - `DealActivationError` - Tried to activate a deal, but data was malformed. @@ -222,6 +221,23 @@ The Market Pallet actions can fail with following errors: - Deal is not pending. - `DealsTooLargeToFitIntoSector` - Sum of all deals piece sizes for a sector exceeds sector size. The sector size is based on the registered proof type. We currently only support registered `StackedDRG2KiBV1P1` proofs, which have 2KiB sector sizes. - `TooManyDealsPerBlock` - Tried to activate too many deals at a given `start_block`. +- `StorageProviderNotRegistered` - An account tries to call `publish_storage_deals` but is not registered as a storage provider. +- `CommD` - An error occurred when trying to calculate CommD. +- `TooManyPendingDeals` - A storage provider tried to propose a deal, but there are too many pending deals. The pending deals should be activated or wait for expiry. +- `InvalidProvider` - A deal was tried to be activated by a provider which does not own it. +- `StartBlockElapsed` - A storage provider tries to activate a deal after the start block. +- `SectorExpiresBeforeDeal` - Sector containing the deal will expire before the deal is supposed to end. +- `InvalidDealState` - A deal was attempted to be activated twice. +- `DealNotPending` - A storage provider tried to activate a deal which is not in the pending proposals. +- `WrongClientSignatureOnProposal` - The client signature did not match the client's public key and data. +- `DealEndBeforeStart` - A deal was attempted to be published but the end block is before the start block and the deal is rejected. +- `DealStartExpired` - A deal was attempted to be published but the start block is in the past and the deal is rejected. +- `DealNotPublished` - A deal was attempted to be published but is not in the correct state. +- `DealDurationOutOfBounds` - A deal was attempted to be published but the duration is not between [MinDealDuration](#constants) and [MaxDealDuration](#constants). +- `InvalidPieceCid` - The deal trying to be published has an invalid piece Cid. +- `DealIsNotActive` - When a sector is being terminated but the deal state is not active. This is the result of a programmer bug. Please [report an issue](https://github.com/eigerco/polka-storage-book/issues/new) to the developers. +- `InvalidCaller` - A deal was found that does not belong to the storage provider. This is the result of a programmer bug. Please [report an issue](https://github.com/eigerco/polka-storage-book/issues/new) to the developers. +- `DealNotFound` - A deal was attempted to be fetched but could not be found. This is the result of a programmer bug. Please [report an issue](https://github.com/eigerco/polka-storage-book/issues/new) to the developers. - `UnexpectedValidationError` - `publish_storage_deals`'s core logic was invoked with a broken invariant that should be called by `validate_deals`. Please [report an issue](https://github.com/eigerco/polka-storage-book/issues/new) to the developers. - `DealPreconditionFailed` - Due to a programmer bug. Please [report an issue](https://github.com/eigerco/polka-storage-book/issues/new) to the developers. diff --git a/docs/src/architecture/pallets/randomness.md b/docs/src/architecture/pallets/randomness.md index 9dd5d28e9..68c461518 100644 --- a/docs/src/architecture/pallets/randomness.md +++ b/docs/src/architecture/pallets/randomness.md @@ -39,7 +39,7 @@ The Randomness Pallet actions can fail with the following errors: ## Constants -The Storage Provider Pallet has the following constants: +The Randomness Pallet has the following constants: | Name | Description | Value | | ----------------- | ----------------------------------------------------------------- | ------- | diff --git a/docs/src/background.md b/docs/src/background.md deleted file mode 100644 index e31c21331..000000000 --- a/docs/src/background.md +++ /dev/null @@ -1,93 +0,0 @@ -# Background - -This page provides a quick background behind our approach to the storage challenge. - -## Why another storage system? - -In short, to be fully native to Polkadot (and as a bonus — no trusted execution environment is required). - -For a longer explanation, our vision is fully embedded in the Polkadot vision of the ubiquitous supercomputer; and as you know, a computer requires storage. - -Achieving storage native to Polkadot means using DOT as *the* token for our solution, instead of creating a parallel economy relying on yet another token, further fragmenting the space. - -## Why not X? - -We've decided to build our storage solution based on the ideas behind Filecoin, not because it's different from the other available networks in Polkadot, but rather because Filecoin does a lot of things right, and we want to bring them to Polkadot. - -For those unfamiliar with Filecoin, it is a blockchain network that provides a *file* storage marketplace. In a nutshell, people provide storage space (a storage provider), creating several offers (distinguished by price, reputation, etc) and clients can pick one of these storage providers to store their data for them. - -This raises the question — *How does the network know that the storage provider has my data?* - -Therein lies the crux of Filecoin! You can solve this in multiple ways, each with different levels of flexibility, but we will outline two. - -### Merkle Trees and Proofs - -> If you’re not familiar with Merkle trees, you can read the explainer from BitPanda — -> - -Consider that you build a Merkle tree out of a file, the root of the Merkle tree is derived of several layers of hashes meaning that if you change one of those layers, such as a leaf, the resulting tree will have a different root — as illustrated below, `D3` was changed to `D7` which cascades into a different final hash. - -Two Merkle trees.
-    On the left, a Merkle tree with colored nodes;
-    in grey, data sectors the tree is built on,
-    in yellow, hashes calculated from the sectors and previous hashes.
-    On the right, a Merkle tree with colored nodes;
-    in grey, data sectors the tree is built on,
-    in darker grey a different sector from the first tree (D3 became D7),
-    in yellow, hashes calculated from the sectors and previous hashes,
-    in red, the hashes calculated from the sectors and previous hashes showing the path affected by the change. - -Merkle proofs are similar, but instead of sharing the whole file, the tree alone can be shared, if the verifier and the provider have different trees, it means somewhere down the tree there’s a difference! - -With this in mind, you can challenge storage providers holding a given file by selecting a random data leaf (i.e. a piece of the file) and sending them a random number — as illustrated in the figure below, the random number `R` is concatenated to the sector `D3` — the idea is, the storage provider cannot guess the random number, so, if they’re able to generate a tree with the random number, it must mean they have the file! - -The view of the Merkle tree on the storage provider side, the tree has nodes with multiple colors.
-    In red, the nodes that are modified by D3 concatenated with R.
-    In yellow, the calculated hashes from the sectors and previous hashes.
-    In grey, the data blocks the tree is built on. - -At the same time you, the challenger, must also build a Merkle tree on your end, you do this by receiving the random data leaf that you selected and building the tree, in the end, if they do not match, the storage provider is cheating you! - -This is illustrated in the following picture, you — the verifier — just received the leaf `D3` and the random number `R`, you concatenate them together (`D3||R`) and you’re ready to recompute the tree. In red, you find the nodes directly affected by the change, these are the ones that **must** be recomputed — of course, you can always compute the tree from scratch; using `h(D1), h(D2), ...` but that is wasteful as the nodes marked in blue and their children did not change, and as such, you can just reuse them. - -The view of the Merkle tree on the verifier side, the tree has nodes with multiple colors.
-    In red, the nodes that are modified by D3 concatenated with R.
-    In blue, the nodes that are absolutely require to compute the modified tree.
-    In white, data blocks that are not necessary for the computation.
-    In yellow, the hash of the white nodes, not strictly necessary for the computation. - -This approach is great for small batches of data, it does not require any special hardware and can be implemented with different kinds of hashes, providing flexibility and lowering entry requirements for storage providers. - -However, this approach does not scale well because the challenger is required to receive both the Merkle tree *and* the random data leaf that is being challenged — as illustrated below. - -Challenge protocol - -Now, consider that you need to do this over and over while you keep the file, over time, all those data blocks start accumulating and you end up transferring a lot of data over the network! Furthermore, you can't just request any size of data; if it is too small, the storage provider may cheat and brute force a solution; if it is too big, the transfer may take too long to be practical. - -### Zero Knowledge Proofs - -So, we've established that we can't transfer much data through the network, but it cannot be possible to brute force a solution. That's where Filecoin's solution comes in, they had the brilliant insight that you can use the random challenges along with zero-knowledge proofs for that. Filecoin's zero-knowledge proofs are constant in size, easy to verify and hard to fake. - -The generation of these proofs do not require special hardware features like trusted platform modules — you can generate a proof using your CPU, however, you will need a GPU if you want to generate proofs for larger files in practical time. - -In Filecoin, uploaded files (or deals) are combined into sectors, which the zero knowledge proofs are based on (and [directed acyclic graphs](https://www.youtube.com/watch?v=8_9ONpyRZEI), but we’re not covering that here). At this point Merkle trees are built over the original file and the final sector, both in its unsealed and sealed state. The root of each tree is then used when constructing the replication proof, similarly, the root of the sealed sector is used for the proofs of storage over time. - -Proof validation requires fewer resources than the generation step, enabling us to verify the storage proofs inside the Polkadot runtime. Their small size translates to less stress on the network; for example, Filecoin proofs can go from 192 bytes to a few KB in size, in comparison, a 1080p video frame, encoded using H.264 will be between 100 and 500 KB — note that video will usually be streamed at 24 frames per second or higher, the proof size pales in comparison! - -#### Relevant Links - -* -* diff --git a/docs/src/getting-started/building/source.md b/docs/src/getting-started/building/source.md index 59126edc0..b53eb5642 100644 --- a/docs/src/getting-started/building/source.md +++ b/docs/src/getting-started/building/source.md @@ -23,7 +23,7 @@ cd polka-storage To build the binaries directly on your system you will need the following tools: -* Rust 1.77 — you can install it using [`rustup`](https://rustup.rs/) and its [guide](https://rust-lang.github.io/rustup/installation/other.html) for help. +* Rust 1.81.0 — you can install it using [`rustup`](https://rustup.rs/) and its [guide](https://rust-lang.github.io/rustup/installation/other.html) for help. * Other dependencies — keep reading, we'll get to it after the end of this list! * `just` (optional) — (after installing Rust) you can use `cargo install just` or check the [official list of packages](https://just.systems/man/en/packages.html). diff --git a/docs/src/getting-started/demo-file-store.md b/docs/src/getting-started/demo-file-store.md index 74871c6f0..47f42723f 100644 --- a/docs/src/getting-started/demo-file-store.md +++ b/docs/src/getting-started/demo-file-store.md @@ -14,6 +14,12 @@ Alice is a [Storage User](../glossary.md#storage-user) and wants to store an ima Alice knows that she needs to prepare an image for storage and get its [CID](https://github.com/multiformats/cid). To do so, she first converts it into a [CARv2 archive](https://ipld.io/specs/transport/car/carv2/) and gets the piece cid. +
+ +**🚧 Currently, the maximum supported piece size is 2048 bytes!** + +
+ ```bash $ mater-cli convert -q --overwrite polkadot.svg polkadot.car bafkreihoxd7eg2domoh2fxqae35t7ihbonyzcdzh5baevxzrzkaakevuvy @@ -112,9 +118,6 @@ To sign her deal proposal she runs: ```bash $ polka-storage-provider-client sign-deal --sr25519-key "//Alice" @polka-logo-deal.json -``` - -```json { "deal_proposal": { "piece_cid": "baga6ea4seaqabpfwrqjcwrb4pxmo2d3dyrgj24kt4vqqqcbjoph4flpj2e5lyoq", @@ -147,3 +150,17 @@ Successfully published deal of id: 0 ``` On Alice's side, that's it! + +> Note that you **must** sign and submit the deals before the `start_block`! +> +> Currently, the storage provider **does not reject deal proposals** on the basis of how early or late they are, +> however, this may change! ⚠️ — for example, if a storage provider knows that they won't have enough time to process +> your file for proof submission, they may refuse your proposal on the basis that if they accept it, they may fail the deadline. + +## Additional Notes + +* As other parts of this project, file retrieval is actively being worked on! 🚧 +* Files stored in storage providers are public, as such, we suggest you encrypt your files. + While file encryption is a broad enough topic, if you not sure about which tools to use, + we suggest you keep it simple by compressing your file in a format such as [7zip](https://www.7-zip.org/) and using its encryption features. + If 7zip doesn't cut it, you may want to take a look into [age](https://github.com/FiloSottile/age) or [VeraCrypt](https://www.veracrypt.fr/code/VeraCrypt/). diff --git a/docs/src/getting-started/local-testnet/getting-funds.md b/docs/src/getting-started/local-testnet/getting-funds.md index c33a7b5e8..3c5a98f5c 100644 --- a/docs/src/getting-started/local-testnet/getting-funds.md +++ b/docs/src/getting-started/local-testnet/getting-funds.md @@ -20,7 +20,27 @@ Or you can watch the following video: allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen> -## Transferring funds +## Dripping funds using the storagext CLI + +Make sure to run the local testnet, you can find how to do so in the [local testnet guide](index.md). + +Once the local testnet is up and running we can drip funds into the account. + +Funds can be dripped using a single command: + +```bash +storagext-cli faucet drip +``` + +Where the `` is the [SS58 address](https://docs.substrate.io/learn/accounts-addresses-keys/) generated in the previous steps. + +> For more information about the faucet pallet and the storagext faucet subcommand check out their respective documenation. +> +> [Faucet pallet docs link](../../architecture/pallets/faucet.md) +> +> [storagext faucet subcommand docs link](../../storagext-cli/faucet.md) + +## Getting funds through the Sudo pallet Make sure to run the local testnet, you can find how to do so in the [local testnet guide](index.md). Once the local testnet is up and running navigate to the polkadot-js web app interface by going to the [default polkadot.js web interface URL](https://polkadot.js.org/apps/?rpc=ws://127.0.0.1:42069). diff --git a/docs/src/introduction.md b/docs/src/introduction.md index b44c0b0f1..2532ce57b 100644 --- a/docs/src/introduction.md +++ b/docs/src/introduction.md @@ -1,12 +1,12 @@ # Introduction -Welcome to the Polka Storage project! +Welcome to the Polka Storage project book. This document is a work in progress and will be constantly updated. -This project aims to deliver a Polkadot-native system parachain for data storage. +This project aims to build a native storage network for Polkadot. -Since the Referendum approval, we've been busy developing the deliverables for Phase 2. +We've now completed Phase 2 and have started work on Phase 3. -**For [**Phase 2**](https://polkadot.polkassembly.io/referenda/1150), we have implemented:** +**During [**Phase 2**](https://polkadot.polkassembly.io/referenda/1150), we have implemented:** - Storage Provider Pallet - [`terminate_sectors`](./architecture/pallets/storage-provider.md#terminate_sectors) @@ -37,7 +37,7 @@ Dedicated CLIs - [`mater-cli`](./mater-cli/index.md) to convert or extract CARv2 files. - [`storagext-cli`](./storagext-cli/index.md) to interact **directly** with the parachain — watch out, this is a low-level tool! -Filecoin actor ports: +Pallets: - [Storage Provider](./architecture/pallets/storage-provider.md) - [Market](./architecture/pallets/market.md) @@ -50,7 +50,7 @@ Filecoin actor ports: alt="Polka Storage Client Upload">

-**As a refresher, for [Phase 1](https://polkadot.polkassembly.io/referenda/494), we implemented the following:** +**During [Phase 1](https://polkadot.polkassembly.io/referenda/494), we implemented the following:** - Keeping track of [Storage Providers](./glossary.md#storage-provider), - [Publishing](./architecture/pallets/market.md#publish_storage_deals) Market Deals on-chain, @@ -69,7 +69,7 @@ We present a demo on how to [store a file](./getting-started/demo-file-store.md) - OpenGov Referendum - Part 1 — - OpenGov Referendum - Part 2 — - Research Report — -- Polkadot Forum News Post — +- Weekly dev updates --- diff --git a/docs/src/storagext-cli/faucet.md b/docs/src/storagext-cli/faucet.md new file mode 100644 index 000000000..7ede0e2e9 --- /dev/null +++ b/docs/src/storagext-cli/faucet.md @@ -0,0 +1,22 @@ +# The `faucet` command + +Under the `faucet` subcommand [faucet](../architecture/pallets/faucet.md) related extrinsics are available. +This chapter covers the provided commands and how to use them. + +## `drip` + +The `drip` command tops up the provided account. + +### Parameters + +| Name | Description | Type | +| --------- | --------------------- | ------- | +| `ACCOUNT` | Account ID to drip to | Account | + +### Example + +Topping up `5GpRRVXgPSoKVmUzyinpJPiCjfn98DsuuHgMV2f9s5NCzG19` + +```bash +storagext-cli faucet drip 5GpRRVXgPSoKVmUzyinpJPiCjfn98DsuuHgMV2f9s5NCzG19 +``` diff --git a/docs/src/storagext-cli/index.md b/docs/src/storagext-cli/index.md index dcf415dd3..aebcfa4aa 100644 --- a/docs/src/storagext-cli/index.md +++ b/docs/src/storagext-cli/index.md @@ -74,3 +74,4 @@ and will report it's result — whether the call was successful or not. - [Subcommand `proofs`](proofs.md) - [Subcommand `randomness`](randomness.md) - [Subcommand `system`](system.md) +- [Subcommand `faucet`](faucet.md) diff --git a/flake.lock b/flake.lock index 28a57be1d..01e515e7a 100644 --- a/flake.lock +++ b/flake.lock @@ -23,11 +23,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1710146030, - "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", "owner": "numtide", "repo": "flake-utils", - "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", "type": "github" }, "original": { @@ -37,11 +37,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1725103162, - "narHash": "sha256-Ym04C5+qovuQDYL/rKWSR+WESseQBbNAe5DsXNx5trY=", + "lastModified": 1731676054, + "narHash": "sha256-OZiZ3m8SCMfh3B6bfGC/Bm4x3qc1m2SVEAlkV6iY7Yg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "12228ff1752d7b7624a54e9c1af4b222b3c1073b", + "rev": "5e4fbfb6b3de1aa2872b76d49fafc942626e2add", "type": "github" }, "original": { @@ -99,11 +99,11 @@ ] }, "locked": { - "lastModified": 1725330199, - "narHash": "sha256-oUkdPJIxP3r3YyVOBLkDVLIJiQV9YlrVqA+jNcdpCvM=", + "lastModified": 1732069891, + "narHash": "sha256-moKx8AVJrViCSdA0e0nSsG8b1dAsObI4sRAtbqbvBY8=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "a562172c72d00350f9f2ff830e6515b6e7bee6d5", + "rev": "8509a51241c407d583b1963d5079585a992506e8", "type": "github" }, "original": { @@ -136,11 +136,11 @@ "process-compose": "process-compose" }, "locked": { - "lastModified": 1724799131, - "narHash": "sha256-0WvyLKyhQAiS5Kj1inRs2BMF7mrXivZBhVTShnC4Ibg=", + "lastModified": 1730354470, + "narHash": "sha256-LfFP7LgcvVwsxUGUQmMVfZkxiw1GeEac0oo/Quxc0zA=", "owner": "paritytech", "repo": "zombienet", - "rev": "e9f0993f15ed4a8d9ad1589056ea188ed1b0d039", + "rev": "64f303d99865f3e813390e769385a0e9e03dd3dc", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index eb97262c5..7d97cfca6 100644 --- a/flake.nix +++ b/flake.nix @@ -5,7 +5,7 @@ url = "github:oxalica/rust-overlay"; inputs = { nixpkgs.follows = "nixpkgs"; - }; + }; }; zombienet = { url = "github:paritytech/zombienet"; @@ -23,7 +23,6 @@ }; rustToolchain = pkgs.pkgsBuildHost.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml; buildInputs = with pkgs; [ - azure-cli # Building Docker images and publishing to Azure Container Registry cargo-expand cargo-tarpaulin clang diff --git a/lib/polka-storage-proofs/src/porep/sealer.rs b/lib/polka-storage-proofs/src/porep/sealer.rs index 29a04ba0d..21e35bdf7 100644 --- a/lib/polka-storage-proofs/src/porep/sealer.rs +++ b/lib/polka-storage-proofs/src/porep/sealer.rs @@ -10,9 +10,9 @@ use filecoin_proofs::{ }; use primitives_commitment::{ piece::{PaddedPieceSize, PieceInfo}, - Commitment, + CommD, CommP, CommR, Commitment, }; -use primitives_proofs::{RawCommitment, RegisteredSealProof, SectorNumber}; +use primitives_proofs::{RegisteredSealProof, SectorNumber}; use storage_proofs_core::{compound_proof, compound_proof::CompoundProof}; use storage_proofs_porep::stacked::{self, StackedCompound, StackedDrg}; @@ -39,7 +39,7 @@ pub type SubstrateProof = crate::Proof; /// and then by wrapping the respective file reader with a [`ZeroPaddingReader`]. pub fn prepare_piece

( piece_path: P, - piece_comm_p: Commitment, + commitment: Commitment, ) -> Result<(ZeroPaddingReader, PieceInfo), std::io::Error> where P: AsRef, @@ -57,7 +57,7 @@ where let piece_padded_file = ZeroPaddingReader::new(piece_file, *piece_padded_unpadded_length); let piece_info = PieceInfo { - commitment: piece_comm_p, + commitment, size: padded_piece_size, }; @@ -120,9 +120,7 @@ impl Sealer { let sector_size: UnpaddedBytesAmount = self.porep_config.sector_size.into(); let padding_pieces = filler_pieces(sector_size - UnpaddedBytesAmount(sector_occupied_space)); - result_pieces.extend(padding_pieces.into_iter().map(|p| { - PieceInfo::from_filecoin_piece_info(p, primitives_commitment::CommitmentKind::Piece) - })); + result_pieces.extend(padding_pieces.into_iter().map(PieceInfo::from)); Ok(result_pieces) } @@ -219,7 +217,7 @@ impl Sealer { unsealed_sector, sealed_sector, prover_id, - sector_id.into(), + storage_proofs_core::sector::SectorId::from(u64::from(sector_id)), ticket, &piece_infos, )?; @@ -231,7 +229,10 @@ impl Sealer { sealed_sector, )?; - Ok(PreCommitOutput { comm_r, comm_d }) + Ok(PreCommitOutput { + comm_r: Commitment::from(comm_r), + comm_d: Commitment::from(comm_d), + }) } /// Generates a zk-SNARK proof guaranteeing a sealed_sector at `replica_path` is being stored. @@ -256,7 +257,7 @@ impl Sealer { cache_path: CacheDirectory, replica_path: SealedSector, prover_id: ProverId, - sector_id: u64, + sector_id: SectorNumber, ticket: Ticket, seed: Option, pre_commit: PreCommitOutput, @@ -267,8 +268,9 @@ impl Sealer { let piece_infos = piece_infos .into_iter() - .map(|p| (*p).into()) - .collect::>(); + .copied() + .map(filecoin_proofs::PieceInfo::from) + .collect::>(); let scp1: filecoin_proofs::SealCommitPhase1Output = filecoin_proofs::seal_commit_phase1_inner( @@ -276,13 +278,10 @@ impl Sealer { cache_path, replica_path, prover_id, - sector_id.into(), + storage_proofs_core::sector::SectorId::from(u64::from(sector_id)), ticket, seed, - SealPreCommitOutput { - comm_d: pre_commit.comm_d, - comm_r: pre_commit.comm_r, - }, + pre_commit.into(), &piece_infos, false, )?; @@ -388,12 +387,21 @@ pub fn filler_pieces(remaining_space: UnpaddedBytesAmount) -> Vec] /// * -#[derive(Debug, Clone)] +#[derive(Debug, Clone, Copy)] pub struct PreCommitOutput { /// Sealed Sector (Replica) Commitment, after padding and processing it. - pub comm_r: RawCommitment, + pub comm_r: Commitment, /// Data commitment, after padding, before processing it into a replica. - pub comm_d: RawCommitment, + pub comm_d: Commitment, +} + +impl From for filecoin_proofs::SealPreCommitOutput { + fn from(value: PreCommitOutput) -> Self { + Self { + comm_r: value.comm_r.raw(), + comm_d: value.comm_d.raw(), + } + } } #[cfg(test)] @@ -478,13 +486,7 @@ mod test { filecoin_proofs::generate_piece_commitment(Cursor::new(&mut piece_bytes), piece_size) .unwrap(); - ( - piece_bytes, - primitives_commitment::piece::PieceInfo::from_filecoin_piece_info( - piece_info, - primitives_commitment::CommitmentKind::Piece, - ), - ) + (piece_bytes, piece_info.into()) } /// Computes CommD from the raw data, not from the pieces. diff --git a/lib/polka-storage-proofs/src/post/mod.rs b/lib/polka-storage-proofs/src/post/mod.rs index e34eb2d2c..b58d3a67b 100644 --- a/lib/polka-storage-proofs/src/post/mod.rs +++ b/lib/polka-storage-proofs/src/post/mod.rs @@ -77,7 +77,7 @@ pub fn generate_window_post>( let mut replicas = BTreeMap::new(); for replica in partition_replicas { replicas.insert( - replica.sector_id.into(), + storage_proofs_core::sector::SectorId::from(u64::from(replica.sector_id)), PrivateReplicaInfo::::new( replica.replica_path, replica.comm_r, diff --git a/maat/generate_porep_proof.sh b/maat/generate_porep_proof.sh new file mode 100755 index 000000000..8d20c50f8 --- /dev/null +++ b/maat/generate_porep_proof.sh @@ -0,0 +1,22 @@ +# Clear cache before run +CACHE_FOLDER="/tmp/psp-cache" +rm -r "$CACHE_FOLDER" +mkdir "$CACHE_FOLDER" + +PROVIDER="//Charlie" +CAR_FILE="../examples/test-data-big.car" +SECTOR_CID="baga6ea4seaqbfhdvmk5qygevit25ztjwl7voyikb5k2fqcl2lsuefhaqtukuiii" +PARAMS_PATH="../2KiB.porep.params" +SECTOR_ID=1 +SEAL_RANDOMNESS_HEIGHT=20 +PRE_COMMIT_BLOCK_NUMBER=30 + +polka-storage-provider-client proofs porep \ +--sr25519-key "$PROVIDER" \ +--proof-parameters-path "$PARAMS_PATH" \ +--cache-directory "$CACHE_FOLDER" \ +--sector-id "$SECTOR_ID" \ +--seal-randomness-height "$SEAL_RANDOMNESS_HEIGHT" \ +--pre-commit-block-number "$PRE_COMMIT_BLOCK_NUMBER" \ +"$CAR_FILE" \ +"$SECTOR_CID" diff --git a/maat/tests/real_world.rs b/maat/tests/real_world.rs index f2ae2c17e..360a253bd 100644 --- a/maat/tests/real_world.rs +++ b/maat/tests/real_world.rs @@ -178,8 +178,8 @@ async fn publish_storage_deals( label, start_block: 85, end_block: 165, - storage_price_per_block: 300000000, - provider_collateral: 12500000000, + storage_price_per_block: 300_000_000, + provider_collateral: 12_500_000_000, state: DealState::Published, }; @@ -191,14 +191,15 @@ async fn publish_storage_deals( for event in deal_result .events - .find::() + .find::() { let event = event.unwrap(); tracing::debug!(?event); - assert_eq!(event.client, alice.account_id().clone().into()); assert_eq!(event.provider, charlie.account_id().clone().into()); - assert_eq!(event.deal_id, 0); // first deal ever + assert_eq!(event.deals.0.len(), 1); + assert_eq!(event.deals.0[0].client, alice.account_id().clone().into()); + assert_eq!(event.deals.0[0].deal_id, 0); // first deal ever } } @@ -220,19 +221,14 @@ where // the randomness for itself, when checking the proof in later stage. let seal_randomness_height = 20; - // The randomness received at used to derive the - // sealed cid: [162, 13, 84, 200, 249, 99, 34, 176, 119, 98, 24, 201, 104, - // 246, 249, 160, 8, 202, 132, 1, 205, 231, 49, 145, 195, 28, 231, 104, 45, - // 13, 151, 107] - // The unsealed_cid, randomness above and some other things were used to // generate this sealed_cid. let sealed_cid = - Cid::try_from("bagboea4b5abcah2xpzls5hsuyngd5onktkgxfdsltfgroxk722oi72ipbo6jiwig").unwrap(); + Cid::try_from("bagboea4b5abcaqolcsygu5o756srf7l4pzzagml5r3wa3o6ahoo5vixummsev6rf").unwrap(); let sectors_pre_commit_info = vec![SectorPreCommitInfo { seal_proof: primitives_proofs::RegisteredSealProof::StackedDRG2KiBV1P1, - sector_number: 1, + sector_number: 1.into(), sealed_cid, deal_ids: vec![0], expiration: 195, @@ -268,7 +264,7 @@ async fn prove_commit_sector( Keypair: subxt::tx::Signer, { let expected_results = vec![ProveCommitResult { - sector_number: 1, + sector_number: 1.into(), partition_number: 0, deadline_idx: 0, }]; @@ -279,15 +275,16 @@ async fn prove_commit_sector( // // Proofs were generated by using `polka-storage-provider-client proofs porep` command. let proof = match pre_commit_block_number { - 21 => "ac7b0de077236494913f6c5a0af70b1a5ee7d2c423be0a3555a964a9afde64ce712b23f8ed2d3a6e30e9a0323a9e3c5a9171ec98fcc2cd0ab8110e0e1aa764b627015342eb252d90d2b05816a6e5456876d71fb7e8fb066cceb8bbab8fb1fb1c17c42bf359939a3064a28d78c0258f3b2b7cb6813ab7adaf259d2b0a48c8a5b29b8417f8bea3e56ab14d4999e077f22fa9536d9311ca05ab786de590685effc313be15f52438cdb09fe96ba9917c1c201914edd17b1c9c20f618fa872c7f5845", - 22 => "a329f2b90dfd87d1d5e9c30e1cfd298491d0334c2307259d4b4b4a261246ae1f46c0120b1af1201415e43facb1c0943d9087a80922b1362f045b715d089678f54c76deee4d12c71935b6ee01ef04c770175f6471e81296793941ed75d7c60b92005cc877c255d3c0c78d530b42e04b1e1b3349a5a912bffeca9a06d229077fb8f6c08e4b3947e5d8f370b35d8bfbeb65b2da6ecdadc5b0addf6186232f5f559f6cf1fa9f93813da4360a9b1554e13b49ed58a4ea91f8399701e94ebc26bfea12", - 23 => "985a6b3cd7564ad2a80f086aa2d8f332654c41773571babf24e66584ecfe2a76d5100146c4808767fbb9b50d51de962fa1db255430fb9faa5d0011c5b8b7ea0d5904fc6f75c8cb20efb266d2af867f02a30a78bc2f026f956f7ad71ba25c9e3414aa566f98749e7c9424b8b250d63b33a29972ec6eea1d22cf0e9d2662905c4042f236cc741f07b7611392d17d3cfd0fa0202cc9fcd3137433e66ad73649ee0bfb1b97ffdb1bd5ab66704ac30ab7ea769eb3e8be12401724f9ee5f740cbcd0e8", - 24 => "b0f777807d02c16794e6dc8ca2a27aa97aa88f7590bee9c6f8f5da388ed4a7d8adbd2f5c0cfbfeb23aaf8e4b9de47b65a9ac7c52a89c97d280afcda2fc4459a2f87d74501d6008bc87a3f40f760811edeb48d29fc4113867bea569ae5b1485e9112e77a74fec5789542fbaea69fec79152ae6b7dbcf4520ef98df426afa11c5afda21b09dc00f7153fdc5760fcd2c52586eea468ff43a6ceeeb64cc62f15371bbdaee7b7c72ac6277587b3a32638ffae19b9c7af9a80299dbe956e520119be8a", - 25 => "87c8128bc80baf631102b8f4b60b98fd80d2ea1b6804c2c399ee313aa709147663c8a51ad5c2d7c80005272792e1e223a96d8675ccfe8b5ed1097e32a77bef8f0c1b6b61a5fa77ef9faebeb566561267273a7a4b9f73634b968ca1315b85dc630880a04eae5cc20482752f20ee8d388b429e31adc4c519547fef6d2eff88aad9d6e8a1110e6c7462cc5ab9cbc84f3d4ba9654e9e34bf83960dd3cb73684ca42db1471f643aa38e3b98d3a587b523139b4b9ba1b22004af6a443226c440d8255f", - 26 => "8558c970b0ae521c8af16b76f8ac85aa484670cbada153fffc7341515946b19083d8bb7fa03cbc63031c70770511a170abc5f0f1b3083e82108271e3d2b63d8751997696804893caddd1fbfd5f4d5fbf66f0f8df34b18b1dcb0787d70efddde713b9b331fc669d775b7a9ccd07b4fbd9418af78368989fcd503446ca47cb35631cdc4f64ca56d9715cd918d74b4ca01f81b1ea2b4868cc7f7736afd314b8eaeb6f04d9dd996fc181210ece0f3c34ea8588eb1f53f734345309bb800fdc31256d", - 27 => "8d978855236bdaf82c44ba1f0b8ec6451c8c8beda6324f7ff85e15b86be8bdfcb5790d5a8902114f187f9e8c59afe0f891a01fea8b25c583f1f4759da3240982565d99a5d63297d6a084e29b26333577e0a1d37d6a817ca5ae0ab5a18629057115b9c5601db47d262fb97946488119e527099dcfda0c0e598dc03d1875ce2cefc96260805627670605f66c461f66b04688ce66bb0dab8eec4f123fc0c50340eb4c48dbfbd70a82db65661541c8273dc39ddebdc64a5c59e708fcbb870a5711b4", - 28 => "90c459ab1cb5300faa8bf75653e455a04e8dea8e5d320e33b0e338272a4800d97995ea1985a3e21f791c15158de38b5499506bc5d4edccb0164b878842ac31fb6e412709f31d77a7bb61227c13d648326cfed86ca5c468bb0d9033a9e3c48fb5082cdb36a5e63f94341ed3b855846b1ca5970334847911b7fcc9ca7dcba4596a060854e7fb8c5dcd3d7abf8e480333658b87641e13444ac740dfd7724f5696790faee4c7c9fe2cd1568fb5d6386bc70e82078030d07857ab80086b494f8aa6cc", - 29 => "b5dd7ae4c6a3bcf093afed88a3a23ea1783f9ee85cbd93d24d725580017c7f502e75bcca06ad866e576b3f7fd312ff5bb24909a79f99f416873b2c154eda37646229e5062e5fcba4f996a5d86ef36064cfd76f2cd7c09a6d67541852fe2b6f351620f18bf43c59d6b4c34a6a6c62103383bfb6fe374773cd64eea21980fc33b7cd29ab521902f0cf822240622936a341afc85c0928e6b035f0b44f470d87e8974bc86356abf4326ee2d0914a2633c53fcb3ab84f439a4615f4621c883d974a72", + 21 => "a0fc39bb0ac6986d56126fb445a7fa38cca95969db1320caf7bb7c0ad7f9d11f02050c9157669ceb95d44015d7da741aa32f2456eb312d76b863652c6f16a7c3805bb5a25368c59ec4b257394936113e3b93ff2b67211819d0452363b4d37f0416c6b08cadfb22edb20eea6898829631da5523c1fb98804dc5645e9b4c75dc6152f0019517863040463fe351de9c630c8367cc5b9ce8257dd7f6c784152a29199620d697b8fabae05463a6b70ce4bbdc1b16a8d8805951a4cc1ea36c14ba406f", + 22 => "9250a154bc2d75b4c7349f5a6f3da85d5bae71ced091953cf195a8305808e8b87c81d8598dc4b8f1fc9f51a74020267882dd8a0c56aa70f8323fbc1689b09172c2cb7e1782c39fdfcba66a8498b945d33d432e461da06cb23960d5757f8638c3090e97a69e4d66121ef32eeb104d76386ece0bb492258e83e503c5e648c21895d50e458467aebf50c7a9a504ff0d84adb1935a72b82dcadb9826c1f82f5f04094608b2983b48663139697c5583166a02b513609e5755c6613e53ee41f1e45210", + 23 => "a7af1f176e978b97760e6fd703505d885cba6b7dfd60a1f03aecdb52ca3ead6f9b576f8e4b0d4e1bad46a5ee36da3106abd16d6c121d5bfe5bb1a3bbad9f06bfdbcac85caa866179986c81383e9947243a91e83c897d21b4fb0f0c90a5a6dacb04c83ae4bd57595a8b052208e44fadbac7670e17eb470cef0724f838e1c2617f0f0333877398193510bb132520bbe64e964df36bb6e7c2d7e2bd688ad4033d9d010e74be448c1a4b26e83dbf2d3a1235e954e1d9ff9645b8f7948112c960521c", + 24 => "924a59f396c18c26641266366f54ca708c82913b1c91d72285627da22e06c1948aef7895e5d4128d442b20d0e43c91aca40ac8ce0af73f58b3de13a691af1036ed4b477925bad88983cd6e3f685d1d0c43262a3927d3c47380b712a2a1523a4909156fdfee9c3f7e6100cfab9a12936634c09001e5a738975b3109209e3c17d2f0af0d147093ca43481940ec5112431fa84eb003b4d812748cba47bf6632a783c98d684ca297eb3ca67a854f474a12118db57356d319ec2d4be6884f82f2b924", + 25 => "a86c1a73703450e67fef89c5df975ebd79add9a5ecad76f00f3836dea3cd779a3b2206d75ead4044d9d873e470079a408b3bdefdb86a7fc69c57d76f2ef7a4ffb235ca0451d2b5521419bf7cda32916bc10b49c7c0d5d22ade8d33824ec19662112b38bc6dad836a96c5e15ceb7012b920778f984b0425fc442375bcd4c1edcf6def3090b052ece59396763f1e2410b8981c729a63eaa303165ab6adf3fd46cc866790116a5121c71d4c2f6a95e3f94ec4a0229f3fb3aa8667bebfa8579c1a4f", + 26 => "84ee71add7f7fe6f8e0e8da5730400e50e58025cb96fa1e62afca58d46d29c0da7315a6f21c46b05210bd0cf83f6310e9775f3ed2b8586c96c9438dfb801b141b6decb1be026874ebdd24b1ba68ed434f0e89ef654297135d8a27f5eabaab2a911d7015ddd33d8f55aa11e77ddb81afe83a0f06b8421bdc1de659f5c73e033083499a021b858b3725afe967dfd40a7a6a04c6e44112d15d2b8e7a2048c8cdbbcb5d60f6116a0263a5aa7cf9fa67ff736609379973ecbc5300f1b30bc527eaba8", + 27 => "8219438b09845020fc56367326c63e66c1b720c740ff544ac8a3f9d0f726056d443f95fbaf9b9ea70da81ddddc946ad4a28cd8b7653d827a823c0b55932e78318ff5e64c92b00723bd402a83071ebae4ffcca785e0b3846895585ac6be50b75d0470b5783caf883a58a8db37bea3d79a3f8860d9b48010ec79db1a8e0ff7628e09a6fa29cf1ab570f470bcf71db62f579413b5e630a34215d5cf7e2d309fdddd911f1f8f658282439ea764f641d8120aaf0c5c97577f7fead1dc2f9029563aa5", + 28 => "9536835a80b7b6c0f94437a3f89e53034c2fbe778bebdb9fca0bb2a39a72164547da62737874c140ccc26eddf4ae691a8a686228c555eb2a836213518fc94797e9c0187bda5099754283285a3966d99a5a8bf253fe0a9b503c49fbf6ac3d8947143068e8dcde7f945b20c33bac57cddfb2b8305e1e78208db11699860328cb15f44e8c5ebca8f68e3c6a46d45f09f24799d8292a132d6566b2c71abd716c3805171cf8d8a3e670c5b295f8fd37080e2b9fde077daefa3d502ffacdafeeab42c8", + 29 => "8949e95f5d9e4145911ce1d09dda93d640e7677970a008af46f79eef4ff678cdf433aa8bb0675bb1d09b200648b46b9c816bd67cd7be6d9492a5502583e6053f87c2a495583146e81f4564ea730474a1555dd7ab5c0969352514817b7a04fd02079e67233bb1b3735997ccf037f73c7cb6635a027c89d1a6618e1fb79759cfe2fbdc42feb6c0b8def03a3e601362bf97a69c7e120b6e7d4ab11eb064bb94f9364edfae01fcc25ffdcde2b059fc1ced270be3954505557a70b3b02c46f1c030ca", + 30 => "9412416b5fb1bccc10df03ac866245ae9689eae2d7859193a4b423780f1e7ac0c0fa4fa523ce85330229b13d5d691538976678f716579cda00bdab1e127134c5ab86afd73080dda4eff06bbf97cc59a8ca2185a123fe097e0488ae1dc37ada26079442de0044295f77b252a5fad0588d95157cf35055540b5980830b214038628a8f815b0777c9b848703693890fd393a7bc740d76aca92a0306587bf796399f39bd0061b9dc7044973e7aabc4fc46c4fb5525e9188040027df26554c15e2530", _ => { panic!("Proof not generated for {pre_commit_block_number}"); } @@ -298,7 +295,7 @@ async fn prove_commit_sector( .prove_commit_sectors( charlie, vec![ProveCommitSector { - sector_number: 1, + sector_number: 1.into(), proof, } .into()], @@ -360,7 +357,7 @@ where let recovery_declarations = vec![RecoveryDeclaration { deadline: 0, partition: 0, - sectors: BTreeSet::from_iter([1u64].into_iter()), + sectors: BTreeSet::from_iter([1.into()].into_iter()), }]; let faults_recovered_result = client .declare_faults_recovered(charlie, recovery_declarations.clone(), true) @@ -385,7 +382,7 @@ where let fault_declarations = vec![FaultDeclaration { deadline: 0, partition: 0, - sectors: BTreeSet::from_iter([1u64].into_iter()), + sectors: BTreeSet::from_iter([1.into()].into_iter()), }]; let fault_declaration_result = client .declare_faults(charlie, fault_declarations.clone(), true) diff --git a/node/Cargo.toml b/node/Cargo.toml index c4e13c919..664cff856 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -14,71 +14,64 @@ version = "0.0.0" name = "polka-storage-node" [dependencies] -clap = { workspace = true, features = ["derive"] } -codec = { workspace = true } +clap = { features = ["derive"], workspace = true } +codec = { workspace = true, default-features = true } +color-print = { workspace = true } +cumulus-client-cli = { workspace = true, default-features = true } +cumulus-client-collator = { workspace = true, default-features = true } +cumulus-client-consensus-aura = { workspace = true, default-features = true } +cumulus-client-consensus-common = { workspace = true, default-features = true } +cumulus-client-consensus-proposer = { workspace = true, default-features = true } +cumulus-client-service = { workspace = true, default-features = true } +cumulus-primitives-core = { workspace = true, default-features = true } +cumulus-primitives-parachain-inherent = { workspace = true, default-features = true } +cumulus-relay-chain-interface = { workspace = true, default-features = true } docify = { workspace = true } +frame-benchmarking = { workspace = true, default-features = true } +frame-benchmarking-cli = { workspace = true, default-features = true } futures = { workspace = true } -jsonrpsee = { workspace = true, features = ["server"] } +jsonrpsee = { features = ["server"], workspace = true } log = { workspace = true, default-features = true } +pallet-transaction-payment-rpc = { workspace = true, default-features = true } +polka-storage-runtime.workspace = true +polkadot-cli = { features = ["rococo-native"], workspace = true, default-features = true } +polkadot-primitives = { workspace = true, default-features = true } +prometheus-endpoint = { workspace = true, default-features = true } +sc-basic-authorship = { workspace = true, default-features = true } +sc-chain-spec = { workspace = true, default-features = true } +sc-cli = { workspace = true, default-features = true } +sc-client-api = { workspace = true, default-features = true } +sc-consensus = { workspace = true, default-features = true } +sc-executor = { workspace = true, default-features = true } +sc-network = { workspace = true, default-features = true } +sc-network-sync = { workspace = true, default-features = true } +sc-offchain = { workspace = true, default-features = true } +sc-rpc = { workspace = true, default-features = true } +sc-service = { workspace = true, default-features = true } +sc-sysinfo = { workspace = true, default-features = true } +sc-telemetry = { workspace = true, default-features = true } +sc-tracing = { workspace = true, default-features = true } +sc-transaction-pool = { workspace = true, default-features = true } +sc-transaction-pool-api = { workspace = true, default-features = true } serde = { features = ["derive"], workspace = true, default-features = true } serde_json = { workspace = true, default-features = true } - -# Local -polka-storage-runtime = { workspace = true } - -# Substrate -frame-benchmarking = { workspace = true } -frame-benchmarking-cli = { workspace = true } -pallet-transaction-payment-rpc = { workspace = true } -sc-basic-authorship = { workspace = true } -sc-chain-spec = { workspace = true } -sc-cli = { workspace = true } -sc-client-api = { workspace = true } -sc-consensus = { workspace = true } -sc-executor = { workspace = true } -sc-network = { workspace = true } -sc-network-sync = { workspace = true } -sc-offchain = { workspace = true } -sc-rpc = { workspace = true } -sc-service = { workspace = true } -sc-sysinfo = { workspace = true } -sc-telemetry = { workspace = true } -sc-tracing = { workspace = true } -sc-transaction-pool = { workspace = true } -sc-transaction-pool-api = { workspace = true } -sp-api = { workspace = true } -sp-block-builder = { workspace = true } -sp-blockchain = { workspace = true } -sp-consensus-aura = { workspace = true } -sp-core = { workspace = true } -sp-io = { workspace = true } -sp-keystore = { workspace = true } -sp-runtime = { workspace = true } -sp-timestamp = { workspace = true } -substrate-frame-rpc-system = { workspace = true } -substrate-prometheus-endpoint = { workspace = true } - -# Polkadot -polkadot-cli = { workspace = true, features = ["rococo-native"] } -polkadot-primitives = { workspace = true } -xcm = { workspace = true, default-features = false } - -# Cumulus -color-print = { workspace = true } -cumulus-client-cli = { workspace = true } -cumulus-client-collator = { workspace = true } -cumulus-client-consensus-aura = { workspace = true } -cumulus-client-consensus-common = { workspace = true } -cumulus-client-consensus-proposer = { workspace = true } -cumulus-client-service = { workspace = true } -cumulus-primitives-core = { workspace = true } -cumulus-primitives-parachain-inherent = { workspace = true } -cumulus-relay-chain-interface = { workspace = true } +sp-api = { workspace = true, default-features = true } +sp-block-builder = { workspace = true, default-features = true } +sp-blockchain = { workspace = true, default-features = true } +sp-consensus-aura = { workspace = true, default-features = true } +sp-core = { workspace = true, default-features = true } +sp-io = { workspace = true, default-features = true } +sp-keystore = { workspace = true, default-features = true } +sp-runtime = { workspace = true, default-features = true } +sp-timestamp = { workspace = true, default-features = true } +substrate-frame-rpc-system = { workspace = true, default-features = true } +xcm.workspace = true [build-dependencies] -substrate-build-script-utils = { workspace = true } +substrate-build-script-utils = { workspace = true, default-features = true } [features] +default = [] runtime-benchmarks = [ "cumulus-primitives-core/runtime-benchmarks", "frame-benchmarking-cli/runtime-benchmarks", diff --git a/node/src/command.rs b/node/src/command.rs index 356e3b939..e6694815c 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -1,5 +1,3 @@ -use std::net::SocketAddr; - use cumulus_client_service::storage_proof_size::HostFunctions as ReclaimHostFunctions; use cumulus_primitives_core::ParaId; use frame_benchmarking_cli::{BenchmarkCmd, SUBSTRATE_REFERENCE_HARDWARE}; @@ -7,7 +5,7 @@ use log::info; use polka_storage_runtime::Block; use sc_cli::{ ChainSpec, CliConfiguration, DefaultConfigurationValues, ImportParams, KeystoreParams, - NetworkParams, Result, SharedParams, SubstrateCli, + NetworkParams, Result, RpcEndpoint, SharedParams, SubstrateCli, }; use sc_service::config::{BasePath, PrometheusConfig}; @@ -230,7 +228,10 @@ pub fn run() -> Result<()> { let hwbench = (!cli.no_hardware_benchmarks) .then_some(config.database.path().map(|database_path| { let _ = std::fs::create_dir_all(database_path); - sc_sysinfo::gather_hwbench(Some(database_path)) + sc_sysinfo::gather_hwbench( + Some(database_path), + &SUBSTRATE_REFERENCE_HARDWARE, + ) })) .flatten(); @@ -314,7 +315,7 @@ impl CliConfiguration for RelayChainCli { .or_else(|| self.base_path.clone().map(Into::into))) } - fn rpc_addr(&self, default_listen_port: u16) -> Result> { + fn rpc_addr(&self, default_listen_port: u16) -> Result>> { self.base.base.rpc_addr(default_listen_port) } @@ -328,15 +329,9 @@ impl CliConfiguration for RelayChainCli { .prometheus_config(default_listen_port, chain_spec) } - fn init( - &self, - _support_url: &String, - _impl_version: &String, - _logger_hook: F, - _config: &sc_service::Configuration, - ) -> Result<()> + fn init(&self, _support_url: &String, _impl_version: &String, _logger_hook: F) -> Result<()> where - F: FnOnce(&mut sc_cli::LoggerBuilder, &sc_service::Configuration), + F: FnOnce(&mut sc_cli::LoggerBuilder), { unreachable!("PolkadotCli is never initialized; qed"); } diff --git a/node/src/rpc.rs b/node/src/rpc.rs index 7c5caa6dd..c7614c3c8 100644 --- a/node/src/rpc.rs +++ b/node/src/rpc.rs @@ -8,7 +8,6 @@ use std::sync::Arc; use polka_storage_runtime::{opaque::Block, AccountId, Balance, Nonce}; -pub use sc_rpc::DenyUnsafe; use sc_transaction_pool_api::TransactionPool; use sp_api::ProvideRuntimeApi; use sp_block_builder::BlockBuilder; @@ -23,8 +22,6 @@ pub struct FullDeps { pub client: Arc, /// Transaction pool instance. pub pool: Arc

, - /// Whether to deny unsafe calls - pub deny_unsafe: DenyUnsafe, } /// Instantiate all RPC extensions. @@ -47,13 +44,9 @@ where use substrate_frame_rpc_system::{System, SystemApiServer}; let mut module = RpcExtension::new(()); - let FullDeps { - client, - pool, - deny_unsafe, - } = deps; + let FullDeps { client, pool, .. } = deps; - module.merge(System::new(client.clone(), pool, deny_unsafe).into_rpc())?; + module.merge(System::new(client.clone(), pool).into_rpc())?; module.merge(TransactionPayment::new(client).into_rpc())?; Ok(module) } diff --git a/node/src/service.rs b/node/src/service.rs index 8eda0e09c..75f317537 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -25,9 +25,10 @@ use cumulus_relay_chain_interface::{OverseerHandle, RelayChainInterface}; use frame_benchmarking_cli::SUBSTRATE_REFERENCE_HARDWARE; // Local Runtime Types use polka_storage_runtime::{ - apis::RuntimeApi, opaque::{Block, Hash}, + RuntimeApi, }; +use prometheus_endpoint::Registry; use sc_client_api::Backend; use sc_consensus::ImportQueue; use sc_executor::{HeapAllocStrategy, WasmExecutor, DEFAULT_HEAP_ALLOC_STRATEGY}; @@ -36,7 +37,6 @@ use sc_service::{Configuration, PartialComponents, TFullBackend, TFullClient, Ta use sc_telemetry::{Telemetry, TelemetryHandle, TelemetryWorker, TelemetryWorkerHandle}; use sc_transaction_pool_api::OffchainTransactionPoolFactory; use sp_keystore::KeystorePtr; -use substrate_prometheus_endpoint::Registry; #[docify::export(wasm_executor)] type ParachainExecutor = WasmExecutor; @@ -79,17 +79,18 @@ pub fn new_partial(config: &Configuration) -> Result .transpose()?; let heap_pages = config + .executor .default_heap_pages .map_or(DEFAULT_HEAP_ALLOC_STRATEGY, |h| HeapAllocStrategy::Static { extra_pages: h as _, }); let executor = ParachainExecutor::builder() - .with_execution_method(config.wasm_method) + .with_execution_method(config.executor.wasm_method) .with_onchain_heap_alloc_strategy(heap_pages) .with_offchain_heap_alloc_strategy(heap_pages) - .with_max_runtime_instances(config.max_runtime_instances) - .with_runtime_cache_size(config.runtime_cache_size) + .with_max_runtime_instances(config.executor.max_runtime_instances) + .with_runtime_cache_size(config.executor.runtime_cache_size) .build(); let (client, backend, keystore_container, task_manager) = @@ -246,11 +247,13 @@ pub async fn start_parachain_node( let params = new_partial(¶chain_config)?; let (block_import, mut telemetry, telemetry_worker_handle) = params.other; + + let prometheus_registry = parachain_config.prometheus_registry().cloned(); let net_config = sc_network::config::FullNetworkConfiguration::< _, _, sc_network::NetworkWorker, - >::new(¶chain_config.network); + >::new(¶chain_config.network, prometheus_registry.clone()); let client = params.client.clone(); let backend = params.backend.clone(); @@ -268,7 +271,6 @@ pub async fn start_parachain_node( .map_err(|e| sc_service::Error::Application(Box::new(e) as Box<_>))?; let validator = parachain_config.role.is_authority(); - let prometheus_registry = parachain_config.prometheus_registry().cloned(); let transaction_pool = params.transaction_pool.clone(); let import_queue_service = params.import_queue.service(); @@ -315,11 +317,10 @@ pub async fn start_parachain_node( let client = client.clone(); let transaction_pool = transaction_pool.clone(); - Box::new(move |deny_unsafe, _| { + Box::new(move |_| { let deps = crate::rpc::FullDeps { client: client.clone(), pool: transaction_pool.clone(), - deny_unsafe, }; crate::rpc::create_full(deps).map_err(Into::into) @@ -346,7 +347,7 @@ pub async fn start_parachain_node( // Here you can check whether the hardware meets your chains' requirements. Putting a link // in there and swapping out the requirements for your own are probably a good idea. The // requirements for a para-chain are dictated by its relay-chain. - match SUBSTRATE_REFERENCE_HARDWARE.check_hardware(&hwbench) { + match SUBSTRATE_REFERENCE_HARDWARE.check_hardware(&hwbench, false) { Err(err) if validator => { log::warn!( "⚠️ The hardware does not meet the minimal requirements {} for role 'Authority'.", diff --git a/pallets/faucet/Cargo.toml b/pallets/faucet/Cargo.toml new file mode 100644 index 000000000..ab8a3ec1d --- /dev/null +++ b/pallets/faucet/Cargo.toml @@ -0,0 +1,36 @@ +[package] +authors.workspace = true +description = "exposes a drip function for getting funds on testnet" +edition.workspace = true +homepage.workspace = true +license-file.workspace = true +name = "pallet-faucet" +publish = false +repository.workspace = true +version = "0.0.0" + +[lints] +workspace = true + +[package.metadata.docs.rs] +targets = ["x86_64-unknown-linux-gnu"] + +[dependencies] +codec = { workspace = true, default-features = false, features = ["derive"] } +frame-support = { workspace = true, default-features = false } +frame-system = { workspace = true, default-features = false } +log = { workspace = true } +pallet-balances = { workspace = true, default-features = false } +scale-info = { workspace = true, default-features = false, features = ["derive"] } + +[dev-dependencies] +env_logger = { workspace = true } +sp-core = { workspace = true, default-features = false } +sp-io = { workspace = true } +sp-runtime = { workspace = true, default-features = false } + +[features] +default = ["std"] +runtime-benchmarks = ["frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "sp-runtime/runtime-benchmarks"] +std = ["codec/std", "frame-support/std", "frame-system/std", "pallet-balances/std", "scale-info/std", "sp-core/std", "sp-io/std", "sp-runtime/std"] +try-runtime = ["frame-support/try-runtime", "frame-system/try-runtime", "sp-runtime/try-runtime"] diff --git a/pallets/faucet/src/lib.rs b/pallets/faucet/src/lib.rs new file mode 100644 index 000000000..e3ffaef5a --- /dev/null +++ b/pallets/faucet/src/lib.rs @@ -0,0 +1,110 @@ +#![cfg_attr(not(feature = "std"), no_std)] + +pub use pallet::*; + +#[cfg(test)] +mod mock; +#[cfg(test)] +mod test; + +#[frame_support::pallet(dev_mode)] +pub mod pallet { + use frame_support::{ + pallet_prelude::*, + traits::{Currency, ReservableCurrency}, + }; + use frame_system::{ensure_none, pallet_prelude::*}; + + /// Allows to extract Balance of an account via the Config::Currency associated type. + /// BalanceOf is a sophisticated way of getting an u128. + pub type BalanceOf = + <::Currency as Currency<::AccountId>>::Balance; + + #[pallet::pallet] + pub struct Pallet(_); + + #[pallet::config] + pub trait Config: frame_system::Config { + /// Because this pallet emits events, it depends on the runtime's definition of an event. + type RuntimeEvent: From> + IsType<::RuntimeEvent>; + + /// The currency mechanism. + type Currency: ReservableCurrency; + + /// The amount that is dispensed in planck's + #[pallet::constant] + type FaucetDripAmount: Get>; + + /// How often an account can use the drip function (1 day on testnet) + #[pallet::constant] + type FaucetDripDelay: Get>; + } + + /// By default pallet do no allow for unsigned transactions. + /// Implementing this trait for the faucet Pallet allows unsigned extrinsics to be called. + /// There is no complicated implementation needed (like checking the call type) + /// because there is only one transaction in this pallet + #[pallet::validate_unsigned] + impl ValidateUnsigned for Pallet { + type Call = Call; + + fn validate_unsigned( + _source: TransactionSource, + _call: &Self::Call, + ) -> TransactionValidity { + let current_block = >::block_number(); + ValidTransaction::with_tag_prefix("pallet-faucet") + .and_provides(current_block) + .build() + } + } + + /// Keeps track of when accounts last used the drip function. + #[pallet::storage] + #[pallet::getter(fn drips)] + pub type Drips = StorageMap<_, _, T::AccountId, BlockNumberFor>; + + #[pallet::event] + #[pallet::generate_deposit(fn deposit_event)] + pub enum Event { + /// Emitted when an account uses the drip function successfully. + Dripped { + who: T::AccountId, + when: BlockNumberFor, + }, + } + + #[pallet::error] + pub enum Error { + /// Emitted when an account tries to call the drip function more than 1x in 24 hours. + FaucetUsedRecently, + } + + #[pallet::call] + impl Pallet { + #[pallet::weight((Weight::zero(), Pays::No))] + pub fn drip(origin: OriginFor, account: T::AccountId) -> DispatchResult { + ensure_none(origin)?; + let current_block = >::block_number(); + if let Some(faucet_block) = Self::drips(&account) { + ensure!( + current_block >= (faucet_block + T::FaucetDripDelay::get()), + { + log::error!("{account:?} has recently used the faucet"); + Error::::FaucetUsedRecently + } + ); + } + log::info!("Dripping {:?} to {account:?}", T::FaucetDripAmount::get()); + // Infallible https://docs.rs/frame-support/latest/frame_support/traits/tokens/currency/trait.Currency.html#tymethod.issue + let imbalance = T::Currency::issue(T::FaucetDripAmount::get()); + T::Currency::resolve_creating(&account, imbalance); + Drips::::insert(account.clone(), current_block); + Self::deposit_event(Event::::Dripped { + who: account, + when: current_block, + }); + Ok(()) + } + } +} diff --git a/pallets/faucet/src/mock.rs b/pallets/faucet/src/mock.rs new file mode 100644 index 000000000..641fbb451 --- /dev/null +++ b/pallets/faucet/src/mock.rs @@ -0,0 +1,97 @@ +use frame_support::{derive_impl, parameter_types, traits::Hooks}; +use frame_system::{self as system}; +use sp_core::Pair; +use sp_runtime::{ + traits::{IdentifyAccount, IdentityLookup, Verify}, + AccountId32, BuildStorage, MultiSignature, MultiSigner, +}; + +use crate::{self as pallet_faucet, BalanceOf}; + +pub const ALICE: &'static str = "//Alice"; + +type Block = frame_system::mocking::MockBlock; +type BlockNumber = u64; + +frame_support::construct_runtime!( + pub enum Test { + System: frame_system, + Balances: pallet_balances, + Faucet: pallet_faucet, + } +); + +pub type Signature = MultiSignature; +pub type AccountPublic = ::Signer; +pub type AccountId = ::AccountId; + +#[derive_impl(frame_system::config_preludes::TestDefaultConfig)] +impl frame_system::Config for Test { + type Block = Block; + type AccountData = pallet_balances::AccountData; + type AccountId = AccountId; + type Lookup = IdentityLookup; +} + +#[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)] +impl pallet_balances::Config for Test { + type AccountStore = System; +} + +parameter_types! { + pub const FaucetDripAmount: BalanceOf = 10_000_000_000_000; + pub const FaucetDripDelay: BlockNumber = 1; +} + +impl crate::Config for Test { + type RuntimeEvent = RuntimeEvent; + type Currency = Balances; + type FaucetDripAmount = FaucetDripAmount; + type FaucetDripDelay = FaucetDripDelay; +} + +pub fn key_pair(name: &str) -> sp_core::sr25519::Pair { + sp_core::sr25519::Pair::from_string(name, None).unwrap() +} + +pub fn account(name: &str) -> AccountId32 { + let user_pair = key_pair(name); + let signer = MultiSigner::Sr25519(user_pair.public()); + signer.into_account() +} + +pub fn events() -> Vec { + let evt = System::events() + .into_iter() + .map(|evt| evt.event) + .collect::>(); + System::reset_events(); + evt +} + +/// Run until a particular block. +/// +/// Stolen't from: +pub fn run_to_block(n: u64) { + while System::block_number() < n { + if System::block_number() > 1 { + System::on_finalize(System::block_number()); + } + + System::set_block_number(System::block_number() + 1); + System::on_initialize(System::block_number()); + } +} + +/// Build genesis storage according to the mock runtime. +pub fn new_test_ext() -> sp_io::TestExternalities { + let _ = env_logger::try_init(); + let t = system::GenesisConfig::::default() + .build_storage() + .unwrap() + .into(); + + let mut ext = sp_io::TestExternalities::new(t); + ext.execute_with(|| System::set_block_number(1)); + ext +} diff --git a/pallets/faucet/src/test.rs b/pallets/faucet/src/test.rs new file mode 100644 index 000000000..14b3281b4 --- /dev/null +++ b/pallets/faucet/src/test.rs @@ -0,0 +1,102 @@ +use frame_support::{assert_err, assert_ok}; +use frame_system::Event as SystemEvent; +use pallet_balances::Event as BalanceEvent; + +use crate::{mock::*, Error, Event}; + +#[test] +fn drip() { + new_test_ext().execute_with(|| { + let account = account::(ALICE); + assert_ok!(Faucet::drip(RuntimeOrigin::none(), account.clone())); + + // The initial drip should create the account + assert_eq!( + events(), + [ + RuntimeEvent::Balances(BalanceEvent::Issued { + amount: ::FaucetDripAmount::get() + }), + RuntimeEvent::Balances(BalanceEvent::Deposit { + who: account.clone(), + amount: ::FaucetDripAmount::get() + }), + RuntimeEvent::System(SystemEvent::NewAccount { + account: account.clone() + }), + RuntimeEvent::Balances(BalanceEvent::Endowed { + account: account.clone(), + free_balance: ::FaucetDripAmount::get() + }), + RuntimeEvent::Faucet(Event::Dripped { + who: account.clone(), + when: System::block_number() + }) + ] + ); + + assert_eq!( + Balances::free_balance(account.clone()), + ::FaucetDripAmount::get() + ); + }); +} + +#[test] +fn early_drip_fails() { + new_test_ext().execute_with(|| { + let account = account::(ALICE); + Faucet::drip(RuntimeOrigin::none(), account.clone()) + .expect("first drip should always succeed"); + + // Run to block_number + faucet_delay + run_to_block(System::block_number() + ::FaucetDripDelay::get() - 1); + + // Check that dripping at the same block is blocked + assert_err!( + Faucet::drip(RuntimeOrigin::none(), account.clone()), + Error::::FaucetUsedRecently + ); + }); +} + +#[test] +fn drip_delay_succeeds() { + new_test_ext().execute_with(|| { + let account = account::(ALICE); + Faucet::drip(RuntimeOrigin::none(), account.clone()) + .expect("first drip should always succeed"); + + // We've tested this scenario so we can reset the events + System::reset_events(); + + // Run to block_number + faucet_delay + run_to_block(System::block_number() + ::FaucetDripDelay::get()); + + // Rerun drip, should be successful + assert_ok!(Faucet::drip(RuntimeOrigin::none(), account.clone())); + + // Expecting less events because no new account is created + assert_eq!( + events(), + [ + RuntimeEvent::Balances(BalanceEvent::Issued { + amount: ::FaucetDripAmount::get() + }), + RuntimeEvent::Balances(BalanceEvent::Deposit { + who: account.clone(), + amount: ::FaucetDripAmount::get() + }), + RuntimeEvent::Faucet(Event::Dripped { + who: account.clone(), + when: System::block_number() + }) + ] + ); + + assert_eq!( + Balances::free_balance(account), + ::FaucetDripAmount::get() * 2 + ); + }); +} diff --git a/pallets/market/Cargo.toml b/pallets/market/Cargo.toml index 53e938c13..e17fdaf8c 100644 --- a/pallets/market/Cargo.toml +++ b/pallets/market/Cargo.toml @@ -24,6 +24,7 @@ multihash-codetable = { workspace = true, features = ["blake2b"] } primitives-commitment = { workspace = true } primitives-proofs = { workspace = true, default-features = false } scale-info = { workspace = true, default-features = false, features = ["derive"] } +thiserror = { workspace = true, default-features = false } # frame deps frame-benchmarking = { workspace = true, default-features = false, optional = true } diff --git a/pallets/market/src/error.rs b/pallets/market/src/error.rs new file mode 100644 index 000000000..1085455db --- /dev/null +++ b/pallets/market/src/error.rs @@ -0,0 +1,48 @@ +use codec::{Decode, Encode}; +use primitives_commitment::{piece::PaddedPieceSizeError, CommitmentError}; +use scale_info::TypeInfo; + +// Clone and PartialEq required because of the BoundedVec<(DealId, DealSettlementError)> +#[derive(TypeInfo, Encode, Decode, Clone, PartialEq, thiserror::Error)] +pub enum DealSettlementError { + /// The deal is going to be slashed. + #[error("DealSettlementError: Slashed Deal")] + SlashedDeal, + /// The deal last update is in the future — i.e. `last_update_block > current_block`. + #[error("DealSettlementError: Future Last Update")] + FutureLastUpdate, + /// The deal was not found. + #[error("DealSettlementError: Deal Not Found")] + DealNotFound, + /// The deal is too early to settle. + #[error("DealSettlementError: Early Settlement")] + EarlySettlement, + /// The deal has expired + #[error("DealSettlementError: Expired Deal")] + ExpiredDeal, + /// Deal is not activated + #[error("DealSettlementError: Deal Not Active")] + DealNotActive, +} + +impl core::fmt::Debug for DealSettlementError { + fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { + core::fmt::Display::fmt(self, f) + } +} + +// TODO: Implement TypeInfo for inner error so we can store them here. +// For now logging will the error will do +#[derive(TypeInfo, Encode, Decode, Clone, PartialEq, thiserror::Error)] +pub enum CommDError { + #[error("CommDError for commitment {0}")] + CommitmentError(CommitmentError), + #[error("CommDError for piece size {0}")] + PaddedPieceSizeError(PaddedPieceSizeError), +} + +impl core::fmt::Debug for CommDError { + fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { + core::fmt::Display::fmt(self, f) + } +} diff --git a/pallets/market/src/lib.rs b/pallets/market/src/lib.rs index d36225f79..b9496c4a8 100644 --- a/pallets/market/src/lib.rs +++ b/pallets/market/src/lib.rs @@ -9,6 +9,8 @@ pub use pallet::*; +mod error; + #[cfg(test)] mod mock; @@ -39,7 +41,7 @@ pub mod pallet { use primitives_commitment::{ commd::compute_unsealed_sector_commitment, piece::{PaddedPieceSize, PieceInfo}, - Commitment, CommitmentKind, + CommP, Commitment, CommitmentError, }; use primitives_proofs::{ ActiveDeal, ActiveSector, DealId, Market, RegisteredSealProof, SectorDeal, SectorNumber, @@ -49,6 +51,8 @@ pub mod pallet { use sp_arithmetic::traits::BaseArithmetic; use sp_std::vec::Vec; + use crate::error::*; + pub const LOG_TARGET: &'static str = "runtime::market"; /// Allows to extract Balance of an account via the Config::Currency associated type. @@ -268,10 +272,9 @@ pub mod pallet { ) } - fn cid(&self) -> Result { - let cid = Cid::try_from(&self.piece_cid[..]) - .map_err(|e| ProposalError::InvalidPieceCid(e))?; - Ok(cid) + fn piece_commitment(&self) -> Result, CommitmentError> { + let commitment = Commitment::from_cid_bytes(&self.piece_cid[..])?; + Ok(commitment) } } @@ -362,13 +365,7 @@ pub mod pallet { who: T::AccountId, amount: BalanceOf, }, - /// Deal has been successfully published between a client and a provider. - DealPublished { - deal_id: DealId, - client: T::AccountId, - provider: T::AccountId, - }, - // Deal has been successfully activated. + /// Deal has been successfully activated. DealActivated { deal_id: DealId, client: T::AccountId, @@ -404,11 +401,35 @@ pub mod pallet { client: T::AccountId, provider: T::AccountId, }, + + /// Batch of published deals. + DealsPublished { + provider: T::AccountId, + deals: BoundedVec, T::MaxDeals>, + }, } /// Utility type to ensure that the bound for deal settlement is in sync. pub type MaxSettleDeals = ::MaxDeals; + #[derive(TypeInfo, Encode, Decode, Clone, PartialEq)] + pub struct PublishedDeal { + pub client: T::AccountId, + pub deal_id: DealId, + } + + impl core::fmt::Debug for PublishedDeal + where + T: Config, + { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_struct("PublishedDeal") + .field("deal_id", &self.deal_id) + .field("client", &self.client) + .finish() + } + } + /// The data part of the event pushed when the deal is successfully settled. #[derive(TypeInfo, Encode, Decode, Clone, PartialEq)] pub struct SettledDealData { @@ -444,18 +465,12 @@ pub mod pallet { /// `publish_storage_deals` must be called by Storage Providers and it's a Provider of all of the deals. /// This error is emitted when a storage provider tries to publish deals that to not belong to them. ProposalsPublishedByIncorrectStorageProvider, - /// `publish_storage_deals` call was supplied with `deals` which are all invalid. - AllProposalsInvalid, /// `publish_storage_deals`'s core logic was invoked with a broken invariant that should be called by `validate_deals`. UnexpectedValidationError, /// There is more than 1 deal of this ID in the Sector. DuplicateDeal, /// Due to a programmer bug, bounds on Bounded data structures were incorrect so couldn't insert into them. DealPreconditionFailed, - /// Tried to activate a deal which is not in the system. - DealNotFound, - /// Tried to activate a deal, but data doesn't make sense. Details are in the logs. - DealActivationError, /// Sum of all of the deals piece sizes for a sector exceeds sector size. DealsTooLargeToFitIntoSector, /// Tried to activate too many deals at a given start_block. @@ -464,9 +479,9 @@ pub mod pallet { StorageProviderNotRegistered, /// CommD related error CommD, - } - - pub enum DealActivationError { + /// Tried to propose a deal, but there are too many pending deals. + /// The pending deals should be activated or wait for expiry. + TooManyPendingDeals, /// Deal was tried to be activated by a provider which does not own it InvalidProvider, /// Deal should have been activated earlier, it's too late @@ -477,47 +492,14 @@ pub mod pallet { InvalidDealState, /// Tried to activate a deal which is not in the Pending Proposals DealNotPending, - } - - impl core::fmt::Debug for DealActivationError { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - match self { - DealActivationError::InvalidProvider => { - write!(f, "DealActivationError: Invalid Provider") - } - DealActivationError::StartBlockElapsed => { - write!(f, "DealActivationError: Start Block Elapsed") - } - DealActivationError::SectorExpiresBeforeDeal => { - write!(f, "DealActivationError: Sector Expires Before Deal") - } - DealActivationError::InvalidDealState => { - write!(f, "DealActivationError: Invalid Deal State") - } - DealActivationError::DealNotPending => { - write!(f, "DealActivationError: Deal Not Pending") - } - } - } - } - - impl core::fmt::Display for DealActivationError { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - ::fmt(self, f) - } - } - - // NOTE(@th7nder,18/06/2024): - // would love to use `thiserror` but it's not supporting no_std environments yet - // `thiserror-core` relies on rust nightly feature: error_in_core - /// Errors related to [`DealProposal`] and [`ClientDealProposal`] - /// This is error does not surface externally, only in the logs. - /// Mostly used for Deal Validation [`Self::::validate_deals`]. - pub enum ProposalError { + /// Deal was not found in the [`Proposals`] table. + DealNotFound, + /// Caller is not the provider. + InvalidCaller, + /// Deal is not active + DealIsNotActive, /// ClientDealProposal.client_signature did not match client's public key and data. WrongClientSignatureOnProposal, - /// Provider of one of the deals is different than the Provider of the first deal. - DifferentProvider, /// Deal's block_start > block_end, so it doesn't make sense. DealEndBeforeStart, /// Deal's start block is in the past, it should be in the future. @@ -527,140 +509,7 @@ pub mod pallet { /// Deal's duration must be within `Config::MinDealDuration` < `Config:MaxDealDuration`. DealDurationOutOfBounds, /// Deal's piece_cid is invalid. - InvalidPieceCid(cid::Error), - /// Deal's piece_size is invalid. - InvalidPieceSize(&'static str), - /// CommD related error - CommD(&'static str), - } - - impl core::fmt::Debug for ProposalError { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - match self { - ProposalError::WrongClientSignatureOnProposal => { - write!(f, "ProposalError::WrongClientSignatureOnProposal") - } - ProposalError::DifferentProvider => { - write!(f, "ProposalError::DifferentProvider") - } - ProposalError::DealEndBeforeStart => { - write!(f, "ProposalError::DealEndBeforeStart") - } - ProposalError::DealStartExpired => { - write!(f, "ProposalError::DealStartExpired") - } - ProposalError::DealNotPublished => { - write!(f, "ProposalError::DealNotPublished") - } - ProposalError::DealDurationOutOfBounds => { - write!(f, "ProposalError::DealDurationOutOfBounds") - } - ProposalError::InvalidPieceCid(_err) => { - write!(f, "ProposalError::InvalidPieceCid") - } - ProposalError::InvalidPieceSize(err) => { - write!(f, "ProposalError::InvalidPieceSize: {}", err) - } - ProposalError::CommD(err) => { - write!(f, "ProposalError::CommD: {}", err) - } - } - } - } - - impl core::fmt::Display for ProposalError { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - ::fmt(self, f) - } - } - - // Clone and PartialEq required because of the BoundedVec<(DealId, DealSettlementError)> - #[derive(TypeInfo, Encode, Decode, Clone, PartialEq)] - pub enum DealSettlementError { - /// The deal is going to be slashed. - SlashedDeal, - /// The deal last update is in the future — i.e. `last_update_block > current_block`. - FutureLastUpdate, - /// The deal was not found. - DealNotFound, - /// The deal is too early to settle. - EarlySettlement, - /// The deal has expired - ExpiredDeal, - /// Deal is not activated - DealNotActive, - } - - impl core::fmt::Debug for DealSettlementError { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - match self { - DealSettlementError::SlashedDeal => { - write!(f, "DealSettlementError: Slashed Deal") - } - DealSettlementError::FutureLastUpdate => { - write!(f, "DealSettlementError: Future Last Update") - } - DealSettlementError::DealNotFound => { - write!(f, "DealSettlementError: Deal Not Found") - } - DealSettlementError::EarlySettlement => { - write!(f, "DealSettlementError: Early Settlement") - } - DealSettlementError::ExpiredDeal => { - write!(f, "DealSettlementError: Expired Deal") - } - DealSettlementError::DealNotActive => { - write!(f, "DealSettlementError: Deal Not Active") - } - } - } - } - - impl core::fmt::Display for DealSettlementError { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - ::fmt(self, f) - } - } - - pub enum SectorTerminateError { - /// Deal was not found in the [`Proposals`] table. - DealNotFound, - /// Caller is not the provider. - InvalidCaller, - /// Deal is not active - DealIsNotActive, - } - - impl core::fmt::Debug for SectorTerminateError { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - match self { - SectorTerminateError::DealNotFound => { - write!(f, "SectorTerminateError: Deal Not Found") - } - SectorTerminateError::InvalidCaller => { - write!(f, "SectorTerminateError: Invalid Caller") - } - SectorTerminateError::DealIsNotActive => { - write!(f, "SectorTerminateError: Deal Is Not Active") - } - } - } - } - - impl core::fmt::Display for SectorTerminateError { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - ::fmt(self, f) - } - } - - impl From for DispatchError { - fn from(value: SectorTerminateError) -> Self { - DispatchError::Other(match value { - SectorTerminateError::DealNotFound => "deal was not found", - SectorTerminateError::InvalidCaller => "caller is not the provider", - SectorTerminateError::DealIsNotActive => "sector contains active deals", - }) - } + InvalidPieceCid, } /// Extrinsics exposed by the pallet @@ -890,6 +739,8 @@ pub mod pallet { let (valid_deals, total_provider_lockup) = Self::validate_deals(provider.clone(), deals, current_block)?; + let mut published_deals = BoundedVec::new(); + // Lock up funds for the clients and emit events for deal in valid_deals.into_iter() { // PRE-COND: always succeeds, validated by `validate_deals` @@ -913,9 +764,9 @@ pub mod pallet { Proposals::::insert(deal_id, deal.clone()); // Only deposit the event after storing everything - Self::deposit_event(Event::::DealPublished { + // force_push is ok since the bound is the same as the input one + published_deals.force_push(PublishedDeal { client: deal.client, - provider: provider.clone(), deal_id, }); } @@ -924,6 +775,11 @@ pub mod pallet { // PRE-COND: always succeeds, validated by `validate_deals` lock_funds::(&provider, total_provider_lockup)?; + Self::deposit_event(Event::::DealsPublished { + deals: published_deals, + provider, + }); + Ok(()) } } @@ -948,7 +804,7 @@ pub mod pallet { data: &[u8], signature: &T::OffchainSignature, signer: &T::AccountId, - ) -> Result<(), ProposalError> { + ) -> Result<(), Error> { if signature.verify(data, &signer) { return Ok(()); } @@ -964,7 +820,7 @@ pub mod pallet { ensure!( signature.verify(&*wrapped, &signer), - ProposalError::WrongClientSignatureOnProposal + Error::::WrongClientSignatureOnProposal ); Ok(()) @@ -977,15 +833,18 @@ pub mod pallet { ) -> Result { let pieces = proposals .map(|p| { - let cid = p.cid()?; - let commitment = Commitment::from_cid(&cid, CommitmentKind::Piece) - .map_err(|err| ProposalError::CommD(err))?; - let size = PaddedPieceSize::new(p.piece_size) - .map_err(|err| ProposalError::InvalidPieceSize(err))?; + let commitment = p.piece_commitment().map_err(|e| { + log::error!(target: LOG_TARGET, "compute_commd: CommitmentError {e}"); + CommDError::CommitmentError(e) + })?; + let size = PaddedPieceSize::new(p.piece_size).map_err(|e| { + log::error!(target: LOG_TARGET, "compute_commd: PaddedPieceSizeError {e:?}"); + CommDError::PaddedPieceSizeError(e) + })?; Ok(PieceInfo { size, commitment }) }) - .collect::, ProposalError>>(); + .collect::, CommDError>>(); let pieces = pieces.map_err(|err| { log::error!("error occurred while processing pieces: {:?}", err); @@ -1016,8 +875,8 @@ pub mod pallet { Self::validate_deal_can_activate(deal, provider, sector_expiry, sector_activation) .map_err(|e| { log::error!(target: LOG_TARGET, "deal {} cannot be activated, because: {:?}", *deal_id, e); - Error::::DealActivationError } - )?; + e + })?; total_deal_space += deal.piece_size; } @@ -1035,22 +894,19 @@ pub mod pallet { provider: &T::AccountId, sector_expiry: BlockNumberFor, sector_activation: BlockNumberFor, - ) -> Result<(), DealActivationError> { - ensure!( - *provider == deal.provider, - DealActivationError::InvalidProvider - ); + ) -> Result<(), Error> { + ensure!(*provider == deal.provider, Error::::InvalidProvider); ensure!( deal.state == DealState::Published, - DealActivationError::InvalidDealState + Error::::InvalidDealState ); ensure!( sector_activation <= deal.start_block, - DealActivationError::StartBlockElapsed + Error::::StartBlockElapsed ); ensure!( sector_expiry >= deal.end_block, - DealActivationError::SectorExpiresBeforeDeal + Error::::SectorExpiresBeforeDeal ); // Confirm the deal is in the pending proposals set. @@ -1061,7 +917,7 @@ pub mod pallet { let hash = Self::hash_proposal(&deal); ensure!( PendingProposals::::get().contains(&hash), - DealActivationError::DealNotPending + Error::::DealNotPending ); Ok(()) @@ -1125,45 +981,48 @@ pub mod pallet { >, provider: &T::AccountId, current_block: BlockNumberFor, - ) -> Result<(), ProposalError> { + ) -> Result<(), Error> { let encoded = Encode::encode(&deal.proposal); log::trace!(target: LOG_TARGET, "sanity_check: encoded proposal: {}", hex::encode(&encoded)); Self::validate_signature(&encoded, &deal.client_signature, &deal.proposal.client)?; - // Ensure the Piece's Cid is parsable and valid - let _ = deal.proposal.cid()?; + // piece_commitment calls Commitment::from_cid_bytes -> Commitment::from_cid checking validity. + let _ = deal.proposal.piece_commitment().map_err(|e| { + log::error!(target: LOG_TARGET, "sanity_check: Invalid piece Cid {e}"); + Error::::InvalidPieceCid + })?; ensure!( deal.proposal.provider == *provider, - ProposalError::DifferentProvider + Error::::ProposalsPublishedByIncorrectStorageProvider ); ensure!( deal.proposal.start_block < deal.proposal.end_block, - ProposalError::DealEndBeforeStart + Error::::DealEndBeforeStart ); ensure!( deal.proposal.start_block >= current_block, - ProposalError::DealStartExpired + Error::::DealStartExpired ); ensure!( deal.proposal.state == DealState::Published, - ProposalError::DealNotPublished + Error::::DealNotPublished ); let min_dur = T::MinDealDuration::get(); let deal_duration = deal.proposal.duration(); ensure!(deal_duration >= min_dur, { log::error!(target: LOG_TARGET, "deal duration too short: {deal_duration:?} < {min_dur:?}"); - ProposalError::DealDurationOutOfBounds + Error::::DealDurationOutOfBounds }); let max_dur = T::MaxDealDuration::get(); ensure!(deal_duration <= max_dur, { log::error!(target: LOG_TARGET, "deal_duration too long: {deal_duration:?} > {max_dur:?}"); - ProposalError::DealDurationOutOfBounds + Error::::DealDurationOutOfBounds }); // TODO(@th7nder,#81,18/06/2024): figure out the minimum collateral limits @@ -1205,62 +1064,80 @@ pub mod pallet { let mut total_provider_lockup: BalanceOf = Default::default(); let mut message_proposals: BoundedBTreeSet = BoundedBTreeSet::new(); + let mut valid_deals = Vec::new(); - let valid_deals = deals.into_iter().enumerate().filter_map(|(idx, deal)| { - if let Err(e) = Self::sanity_check(&deal, &provider, current_block) { - log::error!(target: LOG_TARGET, "insane deal: idx {idx}, error: {e}"); - return None; - } - - // there is no Entry API in BoundedBTreeMap - let mut client_lockup = - if let Some(client_lockup) = total_client_lockup.get(&deal.proposal.client) { - *client_lockup - } else { - Default::default() - }; - let client_fees: BalanceOf = deal.proposal.total_storage_fee()?.try_into().ok()?; - client_lockup = client_lockup.checked_add(&client_fees)?; + for (idx, deal) in deals.into_iter().enumerate() { + if let Err(e) = Self::sanity_check(&deal, &provider, current_block) { + log::error!(target: LOG_TARGET, "insane deal: idx {idx}, error: {e:?}"); + return Err(e.into()); + } - let client_balance = BalanceTable::::get(&deal.proposal.client); - if client_lockup > client_balance.free { - log::error!(target: LOG_TARGET, "invalid deal: client {:?} not enough free balance {:?} < {:?} to cover deal idx: {}", + // there is no Entry API in BoundedBTreeMap + let mut client_lockup = + if let Some(client_lockup) = total_client_lockup.get(&deal.proposal.client) { + *client_lockup + } else { + Default::default() + }; + let client_fees: BalanceOf = deal + .proposal + .total_storage_fee() + .unwrap() + .try_into() + .ok() + .unwrap(); + client_lockup = client_lockup + .checked_add(&client_fees) + .ok_or(DispatchError::Arithmetic(ArithmeticError::Overflow))?; + + let client_balance = BalanceTable::::get(&deal.proposal.client); + if client_lockup > client_balance.free { + log::error!(target: LOG_TARGET, "invalid deal: client {:?} not enough free balance {:?} < {:?} to cover deal idx: {}", deal.proposal.client, client_balance.free, client_lockup, idx); - return None; - } + return Err(Error::::InsufficientFreeFunds.into()); + } - let mut provider_lockup = total_provider_lockup; - provider_lockup = provider_lockup.checked_add(&deal.proposal.provider_collateral)?; + let mut provider_lockup = total_provider_lockup; + provider_lockup = provider_lockup + .checked_add(&deal.proposal.provider_collateral) + .ok_or(DispatchError::Arithmetic(ArithmeticError::Overflow))?; - let provider_balance = BalanceTable::::get(&deal.proposal.provider); - if provider_lockup > provider_balance.free { - log::error!(target: LOG_TARGET, "invalid deal: storage provider {:?} not enough free balance {:?} < {:?} to cover deal idx: {}", + let provider_balance = BalanceTable::::get(&deal.proposal.provider); + if provider_lockup > provider_balance.free { + log::error!(target: LOG_TARGET, "invalid deal: storage provider {:?} not enough free balance {:?} < {:?} to cover deal idx: {}", deal.proposal.provider, provider_balance.free, provider_lockup, idx); - return None; - } + return Err(Error::::InsufficientFreeFunds.into()); + } - let hash = Self::hash_proposal(&deal.proposal); - let duplicate_in_state = PendingProposals::::get().contains(&hash); - let duplicate_in_message = message_proposals.contains(&hash); - if duplicate_in_state || duplicate_in_message { - log::error!(target: LOG_TARGET, "invalid deal: cannot publish duplicate deal idx: {}", idx); - return None; - } - let mut pending = PendingProposals::::get(); - if let Err(e) = pending.try_insert(hash) { - log::error!(target: LOG_TARGET, "cannot publish: too many pending deal proposals, wait for them to be expired/activated, deal idx: {}, err: {:?}", idx, e); - return None; - } - PendingProposals::::set(pending); - // PRE-COND: always succeeds, as there cannot be more deals than T::MaxDeals and this the size of the set - message_proposals.try_insert(hash).ok()?; - // PRE-COND: always succeeds as there cannot be more clients than T::MaxDeals - total_client_lockup.try_insert(deal.proposal.client.clone(), client_lockup) - .ok()?; - total_provider_lockup = provider_lockup; - Some(deal.proposal) - }).collect::>(); - ensure!(valid_deals.len() > 0, Error::::AllProposalsInvalid); + let hash = Self::hash_proposal(&deal.proposal); + let duplicate_in_state = PendingProposals::::get().contains(&hash); + let duplicate_in_message = message_proposals.contains(&hash); + if duplicate_in_state || duplicate_in_message { + log::error!(target: LOG_TARGET, "invalid deal: cannot publish duplicate deal idx: {}", idx); + return Err(Error::::DuplicateDeal.into()); + } + let mut pending = PendingProposals::::get(); + if let Err(e) = pending.try_insert(hash) { + log::error!(target: LOG_TARGET, "cannot publish: too many pending deal proposals, wait for them to be expired/activated, deal idx: {}, err: {:?}", idx, e); + return Err(Error::::TooManyPendingDeals.into()); + } + PendingProposals::::set(pending); + // PRE-COND: always succeeds, as there cannot be more deals than T::MaxDeals and this the size of the set + message_proposals.try_insert(hash).map_err(|_| { + DispatchError::Other("Unable to insert hash. More deals than T::MaxDeals") + })?; + // PRE-COND: always succeeds as there cannot be more clients than T::MaxDeals + total_client_lockup + .try_insert(deal.proposal.client.clone(), client_lockup) + .map_err(|_| { + DispatchError::Other( + "Unable to update client lockup. More clients than T::MaxDeals", + ) + })?; + total_provider_lockup = provider_lockup; + + valid_deals.push(deal.proposal) + } Ok((valid_deals, total_provider_lockup)) } @@ -1339,10 +1216,8 @@ pub mod pallet { let mut pending_proposals = PendingProposals::::get(); for sector in sector_deals { - let mut sector_activated_deal_ids: BoundedVec< - SectorNumber, - ConstU32, - > = BoundedVec::new(); + let mut sector_activated_deal_ids: BoundedVec> = + BoundedVec::new(); let Ok(proposals) = Self::proposals_for_deals(sector.deal_ids) else { log::error!("failed to find deals for sector: {}", sector.sector_number); @@ -1386,14 +1261,17 @@ pub mod pallet { activated_deals .try_push(ActiveDeal { client: proposal.client.clone(), - piece_cid: proposal.cid().map_err(|e| { - log::error!( - "there is invalid cid saved on-chain for deal: {}, {:?}", - deal_id, - e - ); - Error::::DealPreconditionFailed - })?, + piece_cid: proposal + .piece_commitment() + .map_err(|e| { + log::error!( + "there is invalid cid saved on-chain for deal: {}, {:?}", + deal_id, + e + ); + Error::::DealPreconditionFailed + })? + .cid(), piece_size: proposal.piece_size, }) .map_err(|_| { @@ -1463,13 +1341,13 @@ pub mod pallet { for deal_id in deal_ids { // Fetch the corresponding deal proposal, it's ok if it has already been deleted let Some(mut deal_proposal) = Proposals::::get(deal_id) else { - return Err(SectorTerminateError::DealNotFound)?; + return Err(Error::::DealNotFound.into()); }; // This should never happen, because we are getting deals // the storage provider with which we called the extrinsic. if *storage_provider != deal_proposal.provider { - return Err(SectorTerminateError::InvalidCaller)?; + return Err(Error::::InvalidCaller.into()); } if deal_proposal.end_block <= current_block { @@ -1481,7 +1359,7 @@ pub mod pallet { // If a sector is being terminated, it means that at some point, // the deals contained within were active let DealState::Active(ref mut active_deal_state) = deal_proposal.state else { - return Err(SectorTerminateError::DealIsNotActive)?; + return Err(Error::::DealIsNotActive.into()); }; // https://github.com/filecoin-project/builtin-actors/blob/54236ae89880bf4aa89b0dba6d9060c3fd2aacee/actors/market/src/lib.rs#L840-L844 diff --git a/pallets/market/src/mock.rs b/pallets/market/src/mock.rs index 657d8ac7d..9928e722e 100644 --- a/pallets/market/src/mock.rs +++ b/pallets/market/src/mock.rs @@ -157,7 +157,7 @@ pub fn sign_proposal(client: &str, proposal: DealProposalOf) -> ClientDeal pub const ALICE: &'static str = "//Alice"; pub const BOB: &'static str = "//Bob"; pub const PROVIDER: &'static str = "//StorageProvider"; -pub const INITIAL_FUNDS: u64 = 100; +pub const INITIAL_FUNDS: u64 = 1000; /// Build genesis storage according to the mock runtime. pub fn new_test_ext() -> sp_io::TestExternalities { diff --git a/pallets/market/src/test.rs b/pallets/market/src/test.rs index 35fb235ab..a47f45e23 100644 --- a/pallets/market/src/test.rs +++ b/pallets/market/src/test.rs @@ -8,20 +8,20 @@ use frame_support::{ traits::Currency, BoundedVec, }; -use primitives_commitment::{Commitment, CommitmentKind}; +use primitives_commitment::{CommP, Commitment}; use primitives_proofs::{ ActiveDeal, ActiveSector, DealId, Market as MarketTrait, RegisteredSealProof, SectorDeal, - MAX_DEALS_PER_SECTOR, + SectorNumber, MAX_DEALS_PER_SECTOR, }; use sp_core::H256; use sp_runtime::AccountId32; use crate::{ + error::DealSettlementError, mock::*, pallet::{lock_funds, slash_and_burn, unlock_funds}, - ActiveDealState, BalanceEntry, BalanceTable, Config, DealSettlementError, DealState, - DealsForBlock, Error, Event, PendingProposals, Proposals, SectorDeals, SectorTerminateError, - SettledDealData, + ActiveDealState, BalanceEntry, BalanceTable, Config, DealState, DealsForBlock, Error, Event, + PendingProposals, Proposals, PublishedDeal, SectorDeals, SettledDealData, }; #[test] fn initial_state() { @@ -262,7 +262,7 @@ fn publish_storage_deals_fails_invalid_signature() { RuntimeOrigin::signed(account::(PROVIDER)), bounded_vec![deal] ), - Error::::AllProposalsInvalid + Error::::WrongClientSignatureOnProposal ); }); } @@ -281,7 +281,7 @@ fn publish_storage_deals_fails_end_before_start() { RuntimeOrigin::signed(account::(PROVIDER)), bounded_vec![proposal] ), - Error::::AllProposalsInvalid + Error::::DealEndBeforeStart ); }); } @@ -292,7 +292,7 @@ fn publish_storage_deals_fails_must_be_unpublished() { register_storage_provider(account::(PROVIDER)); let proposal = DealProposalBuilder::::default() .state(DealState::Active(ActiveDealState { - sector_number: 0, + sector_number: 0.into(), sector_start_block: 0, last_updated_block: Some(10), slash_block: None, @@ -304,7 +304,7 @@ fn publish_storage_deals_fails_must_be_unpublished() { RuntimeOrigin::signed(account::(PROVIDER)), bounded_vec![proposal] ), - Error::::AllProposalsInvalid + Error::::DealNotPublished ); }); } @@ -323,7 +323,7 @@ fn publish_storage_deals_fails_min_duration_out_of_bounds() { RuntimeOrigin::signed(account::(PROVIDER)), bounded_vec![proposal] ), - Error::::AllProposalsInvalid + Error::::DealDurationOutOfBounds ); }); } @@ -342,7 +342,7 @@ fn publish_storage_deals_fails_max_duration_out_of_bounds() { RuntimeOrigin::signed(account::(PROVIDER)), bounded_vec![proposal] ), - Error::::AllProposalsInvalid + Error::::DealDurationOutOfBounds ); }); } @@ -363,13 +363,13 @@ fn publish_storage_deals_fails_start_time_expired() { RuntimeOrigin::signed(account::(PROVIDER)), bounded_vec![proposal] ), - Error::::AllProposalsInvalid + Error::::DealStartExpired ); }); } /// Add enough balance to the provider so that the first proposal can be accepted and published. -/// Second proposal will be rejected, but first still published +/// All proposals will be rejected #[test] fn publish_storage_deals_fails_different_providers() { new_test_ext().execute_with(|| { @@ -378,30 +378,26 @@ fn publish_storage_deals_fails_different_providers() { let _ = Market::add_balance(RuntimeOrigin::signed(account::(ALICE)), 60); System::reset_events(); - assert_ok!(Market::publish_storage_deals( - RuntimeOrigin::signed(account::(PROVIDER)), - bounded_vec![ - DealProposalBuilder::::default().signed(ALICE), - // Proposal where second deal's provider is not a caller - DealProposalBuilder::::default() - .client(BOB) - .provider(BOB) - .signed(BOB), - ] - )); - assert_eq!( - events(), - [RuntimeEvent::Market(Event::::DealPublished { - deal_id: 0, - client: account::(ALICE), - provider: account::(PROVIDER), - })] + assert_noop!( + Market::publish_storage_deals( + RuntimeOrigin::signed(account::(PROVIDER)), + bounded_vec![ + DealProposalBuilder::::default().signed(ALICE), + // Proposal where second deal's provider is not a caller + DealProposalBuilder::::default() + .client(BOB) + .provider(BOB) + .signed(BOB), + ] + ), + Error::::ProposalsPublishedByIncorrectStorageProvider ); + assert_eq!(events(), []); }); } /// Add enough balance to the provider so that the first proposal can be accepted and published. -/// Second proposal will be rejected, but first still published +/// All proposals will be rejected #[test] fn publish_storage_deals_fails_client_not_enough_funds_for_second_deal() { new_test_ext().execute_with(|| { @@ -410,29 +406,25 @@ fn publish_storage_deals_fails_client_not_enough_funds_for_second_deal() { let _ = Market::add_balance(RuntimeOrigin::signed(account::(ALICE)), 60); System::reset_events(); - assert_ok!(Market::publish_storage_deals( - RuntimeOrigin::signed(account::(PROVIDER)), - bounded_vec![ - DealProposalBuilder::::default().signed(ALICE), - DealProposalBuilder::::default() - .piece_size(10) - .signed(ALICE), - ] - )); - assert_eq!( - events(), - [RuntimeEvent::Market(Event::::DealPublished { - deal_id: 0, - client: account::(ALICE), - provider: account::(PROVIDER), - })] + assert_noop!( + Market::publish_storage_deals( + RuntimeOrigin::signed(account::(PROVIDER)), + bounded_vec![ + DealProposalBuilder::::default().signed(ALICE), + DealProposalBuilder::::default() + .piece_size(10) + .signed(ALICE), + ] + ), + Error::::InsufficientFreeFunds ); + assert_eq!(events(), []); }); } /// Add enough balance to the provider so that the first proposal can be accepted and published. /// Collateral is 25 for the default deal, so provider should have at least 50. -/// Second proposal will be rejected, but first still published +/// Both proposals will be rejected #[test] fn publish_storage_deals_fails_provider_not_enough_funds_for_second_deal() { new_test_ext().execute_with(|| { @@ -442,23 +434,19 @@ fn publish_storage_deals_fails_provider_not_enough_funds_for_second_deal() { let _ = Market::add_balance(RuntimeOrigin::signed(account::(BOB)), 90); System::reset_events(); - assert_ok!(Market::publish_storage_deals( - RuntimeOrigin::signed(account::(PROVIDER)), - bounded_vec![ - DealProposalBuilder::::default().signed(ALICE), - DealProposalBuilder::::default() - .client(BOB) - .signed(BOB), - ] - )); - assert_eq!( - events(), - [RuntimeEvent::Market(Event::::DealPublished { - deal_id: 0, - client: account::(ALICE), - provider: account::(PROVIDER), - })] + assert_noop!( + Market::publish_storage_deals( + RuntimeOrigin::signed(account::(PROVIDER)), + bounded_vec![ + DealProposalBuilder::::default().signed(ALICE), + DealProposalBuilder::::default() + .client(BOB) + .signed(BOB), + ] + ), + Error::::InsufficientFreeFunds ); + assert_eq!(events(), []); }); } @@ -470,25 +458,21 @@ fn publish_storage_deals_fails_duplicate_deal_in_message() { let _ = Market::add_balance(RuntimeOrigin::signed(account::(ALICE)), 90); System::reset_events(); - assert_ok!(Market::publish_storage_deals( - RuntimeOrigin::signed(account::(PROVIDER)), - bounded_vec![ - DealProposalBuilder::::default() - .storage_price_per_block(1) - .signed(ALICE), - DealProposalBuilder::::default() - .storage_price_per_block(1) - .signed(ALICE), - ] - )); - assert_eq!( - events(), - [RuntimeEvent::Market(Event::::DealPublished { - deal_id: 0, - client: account::(ALICE), - provider: account::(PROVIDER), - })] + assert_noop!( + Market::publish_storage_deals( + RuntimeOrigin::signed(account::(PROVIDER)), + bounded_vec![ + DealProposalBuilder::::default() + .storage_price_per_block(1) + .signed(ALICE), + DealProposalBuilder::::default() + .storage_price_per_block(1) + .signed(ALICE), + ] + ), + Error::::DuplicateDeal ); + assert_eq!(events(), []); }); } @@ -508,10 +492,12 @@ fn publish_storage_deals_fails_duplicate_deal_in_state() { )); assert_eq!( events(), - [RuntimeEvent::Market(Event::::DealPublished { - deal_id: 0, - client: account::(ALICE), + [RuntimeEvent::Market(Event::::DealsPublished { provider: account::(PROVIDER), + deals: bounded_vec!(PublishedDeal { + deal_id: 0, + client: account::(ALICE), + }) })] ); assert_noop!( @@ -521,7 +507,7 @@ fn publish_storage_deals_fails_duplicate_deal_in_state() { .storage_price_per_block(1) .signed(ALICE),] ), - Error::::AllProposalsInvalid + Error::::DuplicateDeal ); }); } @@ -533,11 +519,12 @@ fn publish_storage_deals() { let alice_proposal = DealProposalBuilder::::default().signed(ALICE); let alice_start_block = 100; let alice_deal_id = 0; + let alice_second_deal_id = 1; // We're not expecting for it to go through, but the call should not fail. let alice_second_proposal = DealProposalBuilder::::default() .piece_size(37) .signed(ALICE); - let bob_deal_id = 1; + let bob_deal_id = 2; let bob_start_block = 130; let bob_proposal = DealProposalBuilder::::default() .client(BOB) @@ -550,7 +537,7 @@ fn publish_storage_deals() { let alice_hash = Market::hash_proposal(&alice_proposal.proposal); let bob_hash = Market::hash_proposal(&bob_proposal.proposal); - let _ = Market::add_balance(RuntimeOrigin::signed(account::(ALICE)), 60); + let _ = Market::add_balance(RuntimeOrigin::signed(account::(ALICE)), 100); let _ = Market::add_balance(RuntimeOrigin::signed(account::(BOB)), 70); let _ = Market::add_balance(RuntimeOrigin::signed(account::(PROVIDER)), 75); System::reset_events(); @@ -562,8 +549,8 @@ fn publish_storage_deals() { assert_eq!( BalanceTable::::get(account::(ALICE)), BalanceEntry:: { - free: 10, - locked: 50 + free: 0, + locked: 100 } ); assert_eq!( @@ -576,25 +563,30 @@ fn publish_storage_deals() { assert_eq!( BalanceTable::::get(account::(PROVIDER)), BalanceEntry:: { - free: 35, - locked: 40 + free: 10, + locked: 65 } ); assert_eq!( events(), - [ - RuntimeEvent::Market(Event::::DealPublished { - deal_id: alice_deal_id, - client: account::(ALICE), - provider: account::(PROVIDER), - }), - RuntimeEvent::Market(Event::::DealPublished { - deal_id: bob_deal_id, - client: account::(BOB), - provider: account::(PROVIDER), - }), - ] + [RuntimeEvent::Market(Event::::DealsPublished { + provider: account::(PROVIDER), + deals: bounded_vec!( + PublishedDeal { + deal_id: alice_deal_id, + client: account::(ALICE), + }, + PublishedDeal { + deal_id: alice_second_deal_id, + client: account::(ALICE), + }, + PublishedDeal { + deal_id: bob_deal_id, + client: account::(BOB), + } + ) + }),] ); assert!(PendingProposals::::get().contains(&alice_hash)); assert!(PendingProposals::::get().contains(&bob_hash)); @@ -610,13 +602,13 @@ fn verify_deals_for_activation() { let deals = bounded_vec![ SectorDeal { - sector_number: 1, + sector_number: 1.into(), sector_expiry: 120, sector_type: RegisteredSealProof::StackedDRG2KiBV1P1, deal_ids: bounded_vec![1] }, SectorDeal { - sector_number: 2, + sector_number: 2.into(), sector_expiry: 50, sector_type: RegisteredSealProof::StackedDRG2KiBV1P1, deal_ids: bounded_vec![] @@ -652,7 +644,7 @@ fn verify_deals_for_activation_fails_with_different_provider() { assert_noop!( Market::verify_deals_for_activation(&account::(PROVIDER), deals), - Error::::DealActivationError + Error::::InvalidProvider ); }); } @@ -664,7 +656,7 @@ fn verify_deals_for_activation_fails_with_invalid_deal_state() { 1, DealProposalBuilder::::default() .state(DealState::Active(ActiveDealState { - sector_number: 0, + sector_number: 0.into(), sector_start_block: 0, last_updated_block: Some(10), slash_block: None, @@ -676,7 +668,7 @@ fn verify_deals_for_activation_fails_with_invalid_deal_state() { assert_noop!( Market::verify_deals_for_activation(&account::(PROVIDER), deals), - Error::::DealActivationError + Error::::InvalidDealState ); }); } @@ -690,7 +682,7 @@ fn verify_deals_for_activation_fails_deal_not_in_pending() { assert_noop!( Market::verify_deals_for_activation(&account::(PROVIDER), deals), - Error::::DealActivationError + Error::::DealNotPending ); }); } @@ -713,7 +705,7 @@ fn verify_deals_for_activation_fails_sector_activation_on_deal_from_the_past() { assert_noop!( Market::verify_deals_for_activation(&account::(PROVIDER), deals), - Error::::DealActivationError + Error::::StartBlockElapsed ); }); } @@ -733,7 +725,7 @@ fn verify_deals_for_activation_fails_sector_expires_before_deal_ends() { assert_noop!( Market::verify_deals_for_activation(&account::(PROVIDER), deals), - Error::::DealActivationError + Error::::SectorExpiresBeforeDeal ); }); } @@ -806,7 +798,7 @@ fn activate_deals() { let deals = bounded_vec![ SectorDealBuilder::default().build(), SectorDealBuilder::default() - .sector_number(2) + .sector_number(2.into()) .sector_expiry(50) .deal_ids(bounded_vec![]) .build() @@ -849,16 +841,16 @@ fn activate_deals_fails_for_1_sector_but_succeeds_for_others() { let deals = bounded_vec![ SectorDealBuilder::default().build(), SectorDealBuilder::default() - .sector_number(2) + .sector_number(2.into()) .sector_expiry(50) .deal_ids(bounded_vec![]) .build(), SectorDealBuilder::default() - .sector_number(3) + .sector_number(3.into()) .deal_ids(bounded_vec![1337]) .build(), SectorDealBuilder::default() - .sector_number(4) + .sector_number(4.into()) // force error by making expiry < start_block .sector_expiry(10) .deal_ids(bounded_vec![2]) @@ -939,7 +931,7 @@ fn verifies_deals_on_block_finalization() { let _ = Market::activate_deals( &account::(PROVIDER), bounded_vec![SectorDeal { - sector_number: 1, + sector_number: 1.into(), sector_expiry: 200, sector_type: RegisteredSealProof::StackedDRG2KiBV1P1, deal_ids: bounded_vec![0] @@ -1006,6 +998,7 @@ fn verifies_deals_on_block_finalization() { assert_eq!( events(), [ + RuntimeEvent::Balances(pallet_balances::Event::::Rescinded { amount: 15 }), RuntimeEvent::Balances(pallet_balances::Event::::Withdraw { who: Market::account_id(), amount: 15 @@ -1131,7 +1124,7 @@ fn settle_deal_payments_active_future_last_update() { .start_block(0) .end_block(10) .state(DealState::Active(ActiveDealState { - sector_number: 0, + sector_number: 0.into(), sector_start_block: 0, last_updated_block: Some(10), slash_block: None, @@ -1167,7 +1160,7 @@ fn settle_deal_payments_active_corruption() { .start_block(0) .end_block(10) .state(DealState::Active(ActiveDealState { - sector_number: 0, + sector_number: 0.into(), sector_start_block: 0, last_updated_block: Some(11), slash_block: None, @@ -1209,7 +1202,7 @@ fn settle_deal_payments_success() { Proposals::::mutate(0, |proposal| { if let Some(proposal) = proposal { proposal.state = DealState::Active(ActiveDealState { - sector_number: 0, + sector_number: 0.into(), sector_start_block: 0, last_updated_block: None, slash_block: None, @@ -1224,7 +1217,7 @@ fn settle_deal_payments_success() { .start_block(1) .end_block(11) .state(DealState::Active(ActiveDealState { - sector_number: 0, + sector_number: 0.into(), sector_start_block: 0, last_updated_block: None, slash_block: None, @@ -1277,7 +1270,7 @@ fn settle_deal_payments_success() { .start_block(1) .end_block(11) .state(DealState::Active(ActiveDealState { - sector_number: 0, + sector_number: 0.into(), sector_start_block: 0, last_updated_block: Some(6), slash_block: None, @@ -1308,7 +1301,7 @@ fn settle_deal_payments_success_finished() { Proposals::::mutate(0, |proposal| { if let Some(proposal) = proposal { proposal.state = DealState::Active(ActiveDealState { - sector_number: 0, + sector_number: 0.into(), sector_start_block: 0, last_updated_block: None, slash_block: None, @@ -1323,7 +1316,7 @@ fn settle_deal_payments_success_finished() { .start_block(1) .end_block(11) .state(DealState::Active(ActiveDealState { - sector_number: 0, + sector_number: 0.into(), sector_start_block: 0, last_updated_block: None, slash_block: None, @@ -1381,16 +1374,15 @@ fn test_lock_funds() { new_test_ext().execute_with(|| { assert_eq!( ::Currency::total_balance(&account::(PROVIDER)), - 100 + 1000 ); - // We can't get all 100, otherwise the account would be reaped assert_ok!(Market::add_balance( RuntimeOrigin::signed(account::(PROVIDER)), 90 )); assert_eq!( ::Currency::total_balance(&account::(PROVIDER)), - 10 + 910 ); assert_ok!(lock_funds::(&account::(PROVIDER), 25)); assert_eq!( @@ -1431,7 +1423,7 @@ fn test_unlock_funds() { new_test_ext().execute_with(|| { assert_eq!( ::Currency::total_balance(&account::(PROVIDER)), - 100 + 1000 ); // We can't get all 100, otherwise the account would be reaped assert_ok!(Market::add_balance( @@ -1440,7 +1432,7 @@ fn test_unlock_funds() { )); assert_eq!( ::Currency::total_balance(&account::(PROVIDER)), - 10 + 910 ); assert_ok!(lock_funds::(&account::(PROVIDER), 90)); assert_eq!( @@ -1489,7 +1481,7 @@ fn slash_and_burn_acc() { new_test_ext().execute_with(|| { assert_eq!( ::Currency::total_issuance(), - 300 + 3000 ); assert_ok!(Market::add_balance( RuntimeOrigin::signed(account::(PROVIDER)), @@ -1503,16 +1495,17 @@ fn slash_and_burn_acc() { assert_eq!( events(), - [RuntimeEvent::Balances( - pallet_balances::Event::::Withdraw { + [ + RuntimeEvent::Balances(pallet_balances::Event::::Rescinded { amount: 10 }), + RuntimeEvent::Balances(pallet_balances::Event::::Withdraw { who: Market::account_id(), amount: 10 - } - ),] + }), + ] ); assert_eq!( ::Currency::total_issuance(), - 290 + 2990 ); assert_eq!( @@ -1529,7 +1522,7 @@ fn slash_and_burn_acc() { ); assert_eq!( ::Currency::total_issuance(), - 290 + 2990 ); }); } @@ -1543,7 +1536,7 @@ fn on_sector_terminate_unknown_deals() { assert_ok!(Market::on_sectors_terminate( &account::(PROVIDER), - bounded_vec![0], + bounded_vec![0.into()], )); assert_eq!(events(), []); @@ -1558,14 +1551,14 @@ fn on_sector_terminate_deal_not_found() { System::reset_events(); let storage_provider = account::(PROVIDER); - let sector_number = 0; + let sector_number = 0.into(); let sector_deal_ids: BoundedVec<_, ConstU32> = bounded_vec![1]; SectorDeals::::insert((storage_provider.clone(), sector_number), sector_deal_ids); assert_err!( Market::on_sectors_terminate(&storage_provider, bounded_vec![sector_number]), - DispatchError::from(SectorTerminateError::DealNotFound) + Error::::DealNotFound ); assert_eq!(events(), []); @@ -1579,7 +1572,7 @@ fn on_sector_terminate_invalid_caller() { let _ = Market::add_balance(RuntimeOrigin::signed(account::(PROVIDER)), 75); System::reset_events(); - let sector_number = 0; + let sector_number = 0.into(); let sector_deal_ids: BoundedVec<_, ConstU32> = bounded_vec![1]; SectorDeals::::insert((account::(PROVIDER), sector_number), sector_deal_ids); @@ -1607,7 +1600,7 @@ fn on_sector_terminate_not_active() { System::reset_events(); let storage_provider = account::(PROVIDER); - let sector_number = 0; + let sector_number = 0.into(); let sector_deal_ids: BoundedVec<_, ConstU32> = bounded_vec![1]; SectorDeals::::insert((storage_provider.clone(), sector_number), sector_deal_ids); @@ -1624,7 +1617,7 @@ fn on_sector_terminate_not_active() { assert_err!( Market::on_sectors_terminate(&storage_provider, bounded_vec![sector_number]), - DispatchError::from(SectorTerminateError::DealIsNotActive) + Error::::DealIsNotActive ); assert_eq!(events(), []); @@ -1639,7 +1632,7 @@ fn on_sector_terminate_active() { let _ = Market::add_balance(RuntimeOrigin::signed(account::(PROVIDER)), 75); let storage_provider = account::(PROVIDER); - let sector_number = 0; + let sector_number = 0.into(); let sector_deal_ids: BoundedVec<_, ConstU32> = bounded_vec![1]; let deal_proposal = DealProposalBuilder::::default() .client(BOB) @@ -1647,7 +1640,7 @@ fn on_sector_terminate_active() { .end_block(10) .storage_price_per_block(5) .provider_collateral(15) - .state(DealState::Active(ActiveDealState::new(0, 0))) + .state(DealState::Active(ActiveDealState::new(sector_number, 0))) .unsigned(); assert_ok!(lock_funds::(&account::(BOB), 5 * 10)); @@ -1689,6 +1682,7 @@ fn on_sector_terminate_active() { assert_eq!( events(), [ + RuntimeEvent::Balances(pallet_balances::Event::::Rescinded { amount: 15 }), RuntimeEvent::Balances(pallet_balances::Event::::Withdraw { who: Market::account_id(), amount: 15 @@ -1704,14 +1698,14 @@ fn on_sector_terminate_active() { assert!(!Proposals::::contains_key(1)); assert_eq!( ::Currency::total_issuance(), - 285 + 2985 ); }); } /// Builder with nice defaults for test purposes. struct SectorDealBuilder { - sector_number: u64, + sector_number: SectorNumber, sector_expiry: u64, sector_type: RegisteredSealProof, deal_ids: BoundedVec>, @@ -1723,7 +1717,7 @@ impl SectorDealBuilder { self } - pub fn sector_number(mut self, sector_number: u64) -> Self { + pub fn sector_number(mut self, sector_number: SectorNumber) -> Self { self.sector_number = sector_number; self } @@ -1749,7 +1743,7 @@ impl SectorDealBuilder { impl Default for SectorDealBuilder { fn default() -> Self { Self { - sector_number: 1, + sector_number: 1.into(), sector_expiry: 120, sector_type: RegisteredSealProof::StackedDRG2KiBV1P1, deal_ids: bounded_vec![1], @@ -1774,8 +1768,7 @@ pub struct DealProposalBuilder { impl> Default for DealProposalBuilder { fn default() -> Self { - let piece_commitment = - Commitment::new(*b"dummydummydummydummydummydummydu", CommitmentKind::Piece); + let piece_commitment = Commitment::::from(*b"dummydummydummydummydummydummydu"); Self { piece_cid: piece_commitment diff --git a/pallets/proofs/src/porep/mod.rs b/pallets/proofs/src/porep/mod.rs index 8fdae669c..dbf425f30 100644 --- a/pallets/proofs/src/porep/mod.rs +++ b/pallets/proofs/src/porep/mod.rs @@ -1,7 +1,7 @@ mod config; use config::{Config, PoRepID}; -use primitives_proofs::{ProverId, RawCommitment, RegisteredSealProof, Ticket}; +use primitives_proofs::{ProverId, RawCommitment, RegisteredSealProof, SectorNumber, Ticket}; use sha2::{Digest, Sha256}; use crate::{ @@ -136,7 +136,7 @@ impl ProofScheme { comm_r: &RawCommitment, comm_d: &RawCommitment, prover_id: &ProverId, - sector: u64, + sector: SectorNumber, ticket: &Ticket, seed: &Ticket, vk: VerifyingKey, @@ -165,13 +165,13 @@ impl ProofScheme { pub fn generate_replica_id( &self, prover_id: &ProverId, - sector: u64, + sector: SectorNumber, ticket: &Ticket, comm_d: &RawCommitment, ) -> ReplicaId { let hash = Sha256::new() .chain_update(prover_id) - .chain_update(sector.to_be_bytes()) + .chain_update(u64::from(sector).to_be_bytes()) .chain_update(ticket) .chain_update(comm_d) .chain_update(self.config.porep_id()) @@ -248,7 +248,7 @@ fn generate_inclusion_input(challenge: usize) -> Fr { #[cfg(test)] mod tests { - use primitives_proofs::RegisteredSealProof; + use primitives_proofs::{RegisteredSealProof, SectorNumber}; use super::{ProofScheme, PublicInputs, Tau}; @@ -258,7 +258,7 @@ mod tests { fn generates_public_inputs_the_same_as_reference_impl_2kb_sector() { // random numbers, not 0 let prover_id = [77u8; 32]; - let sector_id = 123; + let sector_id = SectorNumber::new(123).unwrap(); let ticket = [10u8; 32]; let seed = [10u8; 32]; let comm_d = [15u8; 32]; @@ -281,7 +281,7 @@ mod tests { fn ported_generate_public_inputs( prover_id: &[u8; 32], - sector_id: u64, + sector_id: SectorNumber, ticket: &[u8; 32], seed: &[u8; 32], comm_d: &[u8; 32], @@ -311,7 +311,7 @@ mod tests { fn reference_generate_public_inputs( prover_id: [u8; 32], - sector_id: u64, + sector_id: SectorNumber, ticket: [u8; 32], seed: [u8; 32], comm_d: [u8; 32], @@ -350,7 +350,11 @@ mod tests { let porep_id = [0u8; 32]; let replica_id = generate_replica_id::( - &prover_id, sector_id, &ticket, comm_d, &porep_id, + &prover_id, + sector_id.into(), + &ticket, + comm_d, + &porep_id, ); let comm_r_safe = fr32::bytes_into_fr_repr_safe(&comm_r).into(); diff --git a/pallets/proofs/src/tests/porep.rs b/pallets/proofs/src/tests/porep.rs index d4bc13f73..dddb512ec 100644 --- a/pallets/proofs/src/tests/porep.rs +++ b/pallets/proofs/src/tests/porep.rs @@ -96,7 +96,7 @@ fn default_porep_test_setup() -> ( ) { let seal_proof = RegisteredSealProof::StackedDRG2KiBV1P1; // Those values match the ones from: - let sector = SectorNumber::from(77u64); + let sector = SectorNumber::new(77).unwrap(); let prover_id = [0u8; 32]; let ticket = [12u8; 32]; let seed = [13u8; 32]; diff --git a/pallets/proofs/src/tests/post.rs b/pallets/proofs/src/tests/post.rs index 3032d66f5..5e160e1ce 100644 --- a/pallets/proofs/src/tests/post.rs +++ b/pallets/proofs/src/tests/post.rs @@ -80,7 +80,7 @@ fn test_setup() -> ( let post_type = RegisteredPoStProof::StackedDRGWindow2KiBV1P1; let proof_bytes = default_post_proof(); let vkey_bytes = default_post_verifyingkey(); - let sector_id = 77; + let sector_id = SectorNumber::new(77).unwrap(); let randomness = [1u8; 32]; let mut replicas = BTreeMap::new(); replicas.insert( diff --git a/pallets/storage-provider/src/deadline.rs b/pallets/storage-provider/src/deadline.rs index 08e2ea5b2..ffb51e9c5 100644 --- a/pallets/storage-provider/src/deadline.rs +++ b/pallets/storage-provider/src/deadline.rs @@ -791,7 +791,7 @@ mod tests { use alloc::collections::{BTreeMap, BTreeSet}; use frame_support::{pallet_prelude::*, sp_runtime::BoundedBTreeSet}; - use primitives_proofs::{SectorNumber, MAX_TERMINATIONS_PER_CALL}; + use primitives_proofs::{SectorNumber, MAX_SECTORS, MAX_TERMINATIONS_PER_CALL}; use rstest::rstest; use crate::{ @@ -800,6 +800,7 @@ mod tests { partition::{PartitionNumber, TerminationResult}, sector::SectorOnChainInfo, sector_map::PartitionMap, + tests::sector_set, }; const PARTITION_SIZE: u64 = 4; @@ -818,10 +819,10 @@ mod tests { ] } - fn test_sector(expiration: u64, sector_number: SectorNumber) -> SectorOnChainInfo { + fn test_sector(expiration: u64, sector_number: u32) -> SectorOnChainInfo { SectorOnChainInfo { expiration, - sector_number, + sector_number: SectorNumber::new(sector_number).unwrap(), ..Default::default() } } @@ -844,24 +845,24 @@ mod tests { .partitions .get(&0) .expect("Should be able to get recently added partition"); - assert_eq!(partition.sectors, BTreeSet::from([1, 2, 3, 4])); - assert_eq!(partition.unproven, BTreeSet::from([1, 2, 3, 4])); + assert_eq!(partition.sectors, sector_set::(&[1, 2, 3, 4])); + assert_eq!(partition.unproven, sector_set::(&[1, 2, 3, 4])); // Check state of partition 1 let partition = deadline .partitions .get(&1) .expect("Should be able to get recently added partition"); - assert_eq!(partition.sectors, BTreeSet::from([5, 6, 7, 8])); - assert_eq!(partition.unproven, BTreeSet::from([5, 6, 7, 8])); + assert_eq!(partition.sectors, sector_set::(&[5, 6, 7, 8])); + assert_eq!(partition.unproven, sector_set::(&[5, 6, 7, 8])); // Check state of partition 2 let partition = deadline .partitions .get(&2) .expect("Should be able to get recently added partition"); - assert_eq!(partition.sectors, BTreeSet::from([9])); - assert_eq!(partition.unproven, BTreeSet::from([9])); + assert_eq!(partition.sectors, sector_set::(&[9])); + assert_eq!(partition.unproven, sector_set::(&[9])); assert_eq!(deadline.live_sectors, 9); @@ -884,24 +885,24 @@ mod tests { .partitions .get(&0) .expect("Should be able to get recently added partition"); - assert_eq!(partition.sectors, BTreeSet::from([1, 2, 3, 4])); - assert_eq!(partition.unproven, BTreeSet::new()); + assert_eq!(partition.sectors, sector_set::(&[1, 2, 3, 4])); + assert_eq!(partition.unproven, sector_set::(&[])); // Check state of partition 1 let partition = deadline .partitions .get(&1) .expect("Should be able to get recently added partition"); - assert_eq!(partition.sectors, BTreeSet::from([5, 6, 7, 8])); - assert_eq!(partition.unproven, BTreeSet::new()); + assert_eq!(partition.sectors, sector_set::(&[5, 6, 7, 8])); + assert_eq!(partition.unproven, sector_set::(&[])); // Check state of partition 2 let partition = deadline .partitions .get(&2) .expect("Should be able to get recently added partition"); - assert_eq!(partition.sectors, BTreeSet::from([9])); - assert_eq!(partition.unproven, BTreeSet::new()); + assert_eq!(partition.sectors, sector_set::(&[9])); + assert_eq!(partition.unproven, sector_set::(&[])); assert_eq!(deadline.live_sectors, 9); Ok(sectors) @@ -917,10 +918,7 @@ mod tests { ) -> Result>, GeneralPalletError> { let sectors = add_sectors(deadline, prove)?; - let partition_sectors = BTreeMap::from([ - (0, BTreeSet::from([1, 3]).try_into().unwrap()), - (1, BTreeSet::from([6]).try_into().unwrap()), - ]); + let partition_sectors = BTreeMap::from([(0, sector_set(&[1, 3])), (1, sector_set(&[6]))]); terminate_sectors(15, deadline, sectors.clone(), partition_sectors)?; @@ -929,12 +927,12 @@ mod tests { .partitions .get(&0) .expect("Should be able to get recently added partition"); - assert_eq!(partition.terminated, BTreeSet::from([1, 3])); - assert_eq!(partition.sectors, BTreeSet::from([1, 2, 3, 4])); + assert_eq!(partition.terminated, sector_set::(&[1, 3])); + assert_eq!(partition.sectors, sector_set::(&[1, 2, 3, 4])); if prove { - assert_eq!(partition.unproven, BTreeSet::new()); + assert_eq!(partition.unproven, sector_set::(&[])); } else { - assert_eq!(partition.unproven, BTreeSet::from([2, 4])); + assert_eq!(partition.unproven, sector_set::(&[2, 4])); } // Check state of partition 1 @@ -942,12 +940,12 @@ mod tests { .partitions .get(&1) .expect("Should be able to get recently added partition"); - assert_eq!(partition.terminated, BTreeSet::from([6])); - assert_eq!(partition.sectors, BTreeSet::from([5, 6, 7, 8])); + assert_eq!(partition.terminated, sector_set::(&[6])); + assert_eq!(partition.sectors, sector_set::(&[5, 6, 7, 8])); if prove { - assert_eq!(partition.unproven, BTreeSet::new()); + assert_eq!(partition.unproven, sector_set::(&[])); } else { - assert_eq!(partition.unproven, BTreeSet::from([5, 7, 8])); + assert_eq!(partition.unproven, sector_set::(&[5, 7, 8])); } Ok(sectors) } @@ -966,7 +964,7 @@ mod tests { assert_eq!( early_terminations.sectors.get(&15).unwrap(), - &BTreeSet::from([1, 3, 6]) + &BTreeSet::from([1.into(), 3.into(), 6.into()]) ); // Check state of partition 0 @@ -974,27 +972,27 @@ mod tests { .partitions .get(&0) .expect("Should be able to get recently added partition"); - assert_eq!(partition.sectors, BTreeSet::from([1, 2, 3, 4])); - assert_eq!(partition.unproven, BTreeSet::new()); - assert_eq!(partition.terminated, BTreeSet::from([1, 3])); + assert_eq!(partition.sectors, sector_set::(&[1, 2, 3, 4])); + assert_eq!(partition.unproven, sector_set::(&[])); + assert_eq!(partition.terminated, sector_set::(&[1, 3])); // Check state of partition 1 let partition = deadline .partitions .get(&1) .expect("Should be able to get recently added partition"); - assert_eq!(partition.sectors, BTreeSet::from([5, 6, 7, 8])); - assert_eq!(partition.unproven, BTreeSet::new()); - assert_eq!(partition.terminated, BTreeSet::from([6])); + assert_eq!(partition.sectors, sector_set::(&[5, 6, 7, 8])); + assert_eq!(partition.unproven, sector_set::(&[])); + assert_eq!(partition.terminated, sector_set::(&[6])); // Check state of partition 2 let partition = deadline .partitions .get(&2) .expect("Should be able to get recently added partition"); - assert_eq!(partition.sectors, BTreeSet::from([9])); - assert_eq!(partition.unproven, BTreeSet::new()); - assert_eq!(partition.terminated, BTreeSet::new()); + assert_eq!(partition.sectors, sector_set::(&[9])); + assert_eq!(partition.unproven, sector_set::(&[])); + assert_eq!(partition.terminated, sector_set::(&[])); Ok(sectors) } @@ -1009,8 +1007,8 @@ mod tests { ) -> Result>, GeneralPalletError> { let sectors = add_sectors(deadline, prove)?; let mut p_map = PartitionMap::new(); - p_map.try_insert_sectors(0, BTreeSet::from([1]).try_into().unwrap())?; - p_map.try_insert_sectors(1, BTreeSet::from([5, 6]).try_into().unwrap())?; + p_map.try_insert_sectors(0, sector_set(&[1]))?; + p_map.try_insert_sectors(1, sector_set(&[5, 6]))?; // mark faulty let fault_expiration_block = 9; @@ -1027,12 +1025,12 @@ mod tests { .partitions .get(&0) .expect("Should be able to get recently added partition"); - assert_eq!(partition.sectors, BTreeSet::from([1, 2, 3, 4])); - assert_eq!(partition.faults, BTreeSet::from([1])); + assert_eq!(partition.sectors, sector_set::(&[1, 2, 3, 4])); + assert_eq!(partition.faults, sector_set::(&[1])); if prove { - assert_eq!(partition.unproven, BTreeSet::new()); + assert_eq!(partition.unproven, sector_set::(&[])); } else { - assert_eq!(partition.unproven, BTreeSet::from([2, 3, 4])); + assert_eq!(partition.unproven, sector_set::(&[2, 3, 4])); } // Check state of partition 1 @@ -1040,12 +1038,12 @@ mod tests { .partitions .get(&1) .expect("Should be able to get recently added partition"); - assert_eq!(partition.sectors, BTreeSet::from([5, 6, 7, 8])); - assert_eq!(partition.faults, BTreeSet::from([5, 6])); + assert_eq!(partition.sectors, sector_set::(&[5, 6, 7, 8])); + assert_eq!(partition.faults, sector_set::(&[5, 6])); if prove { - assert_eq!(partition.unproven, BTreeSet::new()); + assert_eq!(partition.unproven, sector_set::(&[])); } else { - assert_eq!(partition.unproven, BTreeSet::from([7, 8])); + assert_eq!(partition.unproven, sector_set::(&[7, 8])); } // Check state of partition 2 @@ -1053,12 +1051,12 @@ mod tests { .partitions .get(&2) .expect("Should be able to get recently added partition"); - assert_eq!(partition.sectors, BTreeSet::from([9])); - assert_eq!(partition.faults, BTreeSet::from([])); + assert_eq!(partition.sectors, sector_set::(&[9])); + assert_eq!(partition.faults, sector_set::(&[])); if prove { - assert_eq!(partition.unproven, BTreeSet::new()); + assert_eq!(partition.unproven, sector_set::(&[])); } else { - assert_eq!(partition.unproven, BTreeSet::from([9])); + assert_eq!(partition.unproven, sector_set::(&[9])); } Ok(sectors) } @@ -1142,31 +1140,34 @@ mod tests { assert_eq!(result.partitions_processed, 3); assert_eq!(result.sectors_processed, 3); assert_eq!(result.sectors.len(), 1); - assert_eq!(result.sectors.get(&15).unwrap(), &BTreeSet::from([1, 3, 6])); + assert_eq!( + result.sectors.get(&15).unwrap(), + &BTreeSet::from([1.into(), 3.into(), 6.into()]) + ); // Check state of partition 0 let partition = deadline .partitions .get(&0) .expect("Should be able to get recently added partition"); - assert_eq!(partition.sectors, BTreeSet::from([1, 2, 3, 4])); - assert_eq!(partition.terminated, BTreeSet::from([1, 3])); + assert_eq!(partition.sectors, sector_set::(&[1, 2, 3, 4])); + assert_eq!(partition.terminated, sector_set::(&[1, 3])); // Check state of partition 1 let partition = deadline .partitions .get(&1) .expect("Should be able to get recently added partition"); - assert_eq!(partition.sectors, BTreeSet::from([5, 6, 7, 8])); - assert_eq!(partition.terminated, BTreeSet::from([6])); + assert_eq!(partition.sectors, sector_set::(&[5, 6, 7, 8])); + assert_eq!(partition.terminated, sector_set::(&[6])); // Check state of partition 2 let partition = deadline .partitions .get(&2) .expect("Should be able to get recently added partition"); - assert_eq!(partition.sectors, BTreeSet::from([9])); - assert_eq!(partition.terminated, BTreeSet::new()); + assert_eq!(partition.sectors, sector_set::(&[9])); + assert_eq!(partition.terminated, sector_set::(&[])); Ok(()) } @@ -1175,19 +1176,16 @@ mod tests { #[case(false, BTreeSet::from([1, 3, 6]), BTreeSet::from([5]), BTreeSet::from([2, 4, 7, 8, 9]))] fn terminate_proven_and_faulty( #[case] prove: bool, - #[case] expected_terminated: BTreeSet, - #[case] expected_faults: BTreeSet, - #[case] expected_unproven: BTreeSet, + #[case] expected_terminated: BTreeSet, + #[case] expected_faults: BTreeSet, + #[case] expected_unproven: BTreeSet, ) { let mut deadline = Deadline::new(); let expected_sectors = BTreeSet::from([1, 2, 3, 4, 5, 6, 7, 8, 9]); let sectors = add_then_mark_faulty(&mut deadline, prove).expect("Could not mark sectors as faulty"); // 1,5,6 faulty - let partition_sectors = BTreeMap::from([ - (0, BTreeSet::from([1, 3]).try_into().unwrap()), - (1, BTreeSet::from([6]).try_into().unwrap()), - ]); + let partition_sectors = BTreeMap::from([(0, sector_set(&[1, 3])), (1, sector_set(&[6]))]); terminate_sectors(15, &mut deadline, sectors, partition_sectors) .expect("Could not terminate sectors"); @@ -1195,22 +1193,26 @@ mod tests { .partitions .iter() .flat_map(|(_, partition)| partition.sectors.iter().cloned()) - .collect::>(); + .map(|s| s.into()) + .collect::>(); let partition_terminated = deadline .partitions .iter() .flat_map(|(_, partition)| partition.terminated.iter().cloned()) - .collect::>(); + .map(|s| s.into()) + .collect::>(); let partition_faults = deadline .partitions .iter() .flat_map(|(_, partition)| partition.faults.iter().cloned()) - .collect::>(); + .map(|s| s.into()) + .collect::>(); let partition_unproven = deadline .partitions .iter() .flat_map(|(_, partition)| partition.unproven.iter().cloned()) - .collect::>(); + .map(|s| s.into()) + .collect::>(); assert_eq!(partition_sectors, expected_sectors); assert_eq!(partition_terminated, expected_terminated); assert_eq!(partition_faults, expected_faults); @@ -1218,8 +1220,8 @@ mod tests { } #[rstest] - #[case(BTreeMap::from([(0, BTreeSet::from([6]).try_into().unwrap())]), Err(GeneralPalletError::PartitionErrorSectorsNotLive))] - #[case(BTreeMap::from([(4, BTreeSet::from([6]).try_into().unwrap())]), Err(GeneralPalletError::DeadlineErrorPartitionNotFound))] + #[case(BTreeMap::from([(0, sector_set(&[6]))]), Err(GeneralPalletError::PartitionErrorSectorsNotLive))] + #[case(BTreeMap::from([(4, sector_set(&[6]))]), Err(GeneralPalletError::DeadlineErrorPartitionNotFound))] fn fails_to_terminate_missing_sector( #[case] partition_sectors: BTreeMap< PartitionNumber, @@ -1249,36 +1251,39 @@ mod tests { .expect("Could not pop expired sectors"); assert_eq!( expired.on_time_sectors, - BTreeSet::from([1, 2, 3, 4, 5, 8, 9]) + sector_set::(&[1, 2, 3, 4, 5, 8, 9]) ); - assert_eq!(expired.early_sectors, BTreeSet::from([6])); + assert_eq!(expired.early_sectors, sector_set::(&[6])); // Check state of partition 0 let partition = deadline .partitions .get(&0) .expect("Should be able to get recently added partition"); - assert_eq!(partition.sectors, BTreeSet::from([1, 2, 3, 4])); - assert_eq!(partition.terminated, BTreeSet::from([1, 2, 3, 4])); - assert_eq!(partition.faults, BTreeSet::new()); + assert_eq!(partition.sectors, sector_set::(&[1, 2, 3, 4])); + assert_eq!( + partition.terminated, + sector_set::(&[1, 2, 3, 4]) + ); + assert_eq!(partition.faults, sector_set::(&[])); // Check state of partition 1 let partition = deadline .partitions .get(&1) .expect("Should be able to get recently added partition"); - assert_eq!(partition.sectors, BTreeSet::from([5, 6, 7, 8])); - assert_eq!(partition.terminated, BTreeSet::from([5, 6, 8])); - assert_eq!(partition.faults, BTreeSet::new()); + assert_eq!(partition.sectors, sector_set::(&[5, 6, 7, 8])); + assert_eq!(partition.terminated, sector_set::(&[5, 6, 8])); + assert_eq!(partition.faults, sector_set::(&[])); // Check state of partition 2 let partition = deadline .partitions .get(&2) .expect("Should be able to get recently added partition"); - assert_eq!(partition.sectors, BTreeSet::from([9])); - assert_eq!(partition.terminated, BTreeSet::from([9])); - assert_eq!(partition.faults, BTreeSet::new()); + assert_eq!(partition.sectors, sector_set::(&[9])); + assert_eq!(partition.terminated, sector_set::(&[9])); + assert_eq!(partition.faults, sector_set::(&[])); // check early terminations let (early_terminations, has_more) = deadline @@ -1290,7 +1295,7 @@ mod tests { assert_eq!(early_terminations.sectors.len(), 1); assert_eq!( early_terminations.sectors.get(&9).unwrap(), - &BTreeSet::from([6]) + &BTreeSet::from([6.into()]) ); // popping early_terminations doesn't affect the terminations @@ -1299,27 +1304,30 @@ mod tests { .partitions .get(&0) .expect("Should be able to get recently added partition"); - assert_eq!(partition.sectors, BTreeSet::from([1, 2, 3, 4])); - assert_eq!(partition.terminated, BTreeSet::from([1, 2, 3, 4])); - assert_eq!(partition.faults, BTreeSet::new()); + assert_eq!(partition.sectors, sector_set::(&[1, 2, 3, 4])); + assert_eq!( + partition.terminated, + sector_set::(&[1, 2, 3, 4]) + ); + assert_eq!(partition.faults, sector_set::(&[])); // Check state of partition 1 let partition = deadline .partitions .get(&1) .expect("Should be able to get recently added partition"); - assert_eq!(partition.sectors, BTreeSet::from([5, 6, 7, 8])); - assert_eq!(partition.terminated, BTreeSet::from([5, 6, 8])); - assert_eq!(partition.faults, BTreeSet::new()); + assert_eq!(partition.sectors, sector_set::(&[5, 6, 7, 8])); + assert_eq!(partition.terminated, sector_set::(&[5, 6, 8])); + assert_eq!(partition.faults, sector_set::(&[])); // Check state of partition 2 let partition = deadline .partitions .get(&2) .expect("Should be able to get recently added partition"); - assert_eq!(partition.sectors, BTreeSet::from([9])); - assert_eq!(partition.terminated, BTreeSet::from([9])); - assert_eq!(partition.faults, BTreeSet::new()); + assert_eq!(partition.sectors, sector_set::(&[9])); + assert_eq!(partition.terminated, sector_set::(&[9])); + assert_eq!(partition.faults, sector_set::(&[])); } #[test] @@ -1352,10 +1360,10 @@ mod tests { .unwrap(); let mut partition_sector_map = PartitionMap::new(); partition_sector_map - .try_insert_sectors(0, BTreeSet::from([1]).try_into().unwrap()) + .try_insert_sectors(0, sector_set(&[1])) .expect("Could not insert sectors into partition map"); partition_sector_map - .try_insert_sectors(4, BTreeSet::from([6]).try_into().unwrap()) + .try_insert_sectors(4, sector_set(&[6])) .expect("Could not insert sectors into partition map"); assert!(matches!( deadline.record_faults( @@ -1383,10 +1391,10 @@ mod tests { .unwrap(); let mut partition_sector_map = PartitionMap::default(); partition_sector_map - .try_insert_sectors(0, BTreeSet::from([1]).try_into().unwrap()) + .try_insert_sectors(0, sector_set(&[1])) .expect("Could not insert sectors into partition map"); partition_sector_map - .try_insert_sectors(4, BTreeSet::from([6]).try_into().unwrap()) + .try_insert_sectors(4, sector_set(&[6])) .expect("Could not insert sectors into partition map"); assert!(matches!( deadline.declare_faults_recovered(§or_map, &mut partition_sector_map), diff --git a/pallets/storage-provider/src/deadline/assignment.rs b/pallets/storage-provider/src/deadline/assignment.rs index 2b88aa08a..768f88460 100644 --- a/pallets/storage-provider/src/deadline/assignment.rs +++ b/pallets/storage-provider/src/deadline/assignment.rs @@ -228,7 +228,7 @@ where #[cfg(test)] mod tests { use frame_support::BoundedVec; - use primitives_proofs::RegisteredSealProof; + use primitives_proofs::{RegisteredSealProof, SectorNumber}; use crate::{ deadline::{assign_deadlines, Deadline}, @@ -238,7 +238,7 @@ mod tests { impl Default for SectorOnChainInfo { fn default() -> Self { Self { - sector_number: 1, + sector_number: 1.into(), seal_proof: RegisteredSealProof::StackedDRG2KiBV1P1, sealed_cid: BoundedVec::new(), activation: 1, @@ -257,11 +257,11 @@ mod tests { struct Spec { live_sectors: u64, dead_sectors: u64, - expect_sectors: Vec, + expect_sectors: Vec, } struct TestCase { - sectors: u64, + sectors: u32, deadlines: Vec>, } let test_cases = [ @@ -419,6 +419,7 @@ mod tests { .collect(); let sectors: Vec> = (0..tc.sectors) + .map(|s| SectorNumber::try_from(s).unwrap()) .map(|i| SectorOnChainInfo { sector_number: i, ..Default::default() @@ -436,7 +437,13 @@ mod tests { i, nth_tc ); - for (i, &expected_sector_no) in dl.expect_sectors.iter().enumerate() { + for (i, expected_sector_no) in dl + .expect_sectors + .iter() + .copied() + .map(|s| SectorNumber::try_from(s).unwrap()) + .enumerate() + { assert_eq!(sectors[i].sector_number, expected_sector_no); } } else { diff --git a/pallets/storage-provider/src/expiration_queue.rs b/pallets/storage-provider/src/expiration_queue.rs index 4996dc39f..f2b7b8c4d 100644 --- a/pallets/storage-provider/src/expiration_queue.rs +++ b/pallets/storage-provider/src/expiration_queue.rs @@ -549,12 +549,9 @@ struct SectorExpirationSet { mod tests { extern crate alloc; - use alloc::collections::btree_set::BTreeSet; + use primitives_proofs::{SectorNumber, MAX_SECTORS}; - use primitives_proofs::SectorNumber; - use sp_runtime::BoundedBTreeSet; - - use crate::{expiration_queue::ExpirationQueue, sector::SectorOnChainInfo}; + use crate::{expiration_queue::ExpirationQueue, sector::SectorOnChainInfo, tests::sector_set}; #[test] fn remove_sectors() { @@ -580,20 +577,17 @@ mod tests { ]; // and only sector from last set - let faults = BoundedBTreeSet::try_from(BTreeSet::from([4, 5, 6])).unwrap(); + let faults = sector_set(&[4, 5, 6]); let result = q.remove_sectors(&to_remove, &faults); assert!(result.is_ok()); let removed = result.unwrap(); - let expected_on_time_sectors = BTreeSet::from([1, 4]); - let expected_early_sectors = BTreeSet::from([5, 6]); + let expected_on_time_sectors = sector_set::(&[1, 4]); + let expected_early_sectors = sector_set::(&[5, 6]); // assert all return values are correct - assert_eq!( - removed.on_time_sectors.into_inner(), - expected_on_time_sectors - ); - assert_eq!(removed.early_sectors.into_inner(), expected_early_sectors); + assert_eq!(removed.on_time_sectors, expected_on_time_sectors); + assert_eq!(removed.early_sectors, expected_early_sectors); } fn sectors() -> [SectorOnChainInfo; 6] { @@ -607,10 +601,10 @@ mod tests { ] } - fn test_sector(expiration: u64, sector_number: SectorNumber) -> SectorOnChainInfo { + fn test_sector(expiration: u64, sector_number: u32) -> SectorOnChainInfo { SectorOnChainInfo { expiration, - sector_number, + sector_number: SectorNumber::new(sector_number).unwrap(), ..Default::default() } } diff --git a/pallets/storage-provider/src/lib.rs b/pallets/storage-provider/src/lib.rs index 2bc4772ae..3ba72c802 100644 --- a/pallets/storage-provider/src/lib.rs +++ b/pallets/storage-provider/src/lib.rs @@ -55,7 +55,7 @@ pub mod pallet { pallet_prelude::{BlockNumberFor, *}, Config as SystemConfig, }; - use primitives_commitment::{Commitment, CommitmentKind}; + use primitives_commitment::{CommD, CommR, Commitment}; use primitives_proofs::{ derive_prover_id, randomness::{draw_randomness, DomainSeparationTag}, @@ -86,7 +86,7 @@ pub mod pallet { /// Allows to extract Balance of an account via the Config::Currency associated type. /// BalanceOf is a sophisticated way of getting an u128. - type BalanceOf = + pub type BalanceOf = <::Currency as Currency<::AccountId>>::Balance; #[pallet::pallet] @@ -368,36 +368,6 @@ pub mod pallet { } } - #[derive(RuntimeDebug, Clone, Copy, Decode, Encode, TypeInfo)] - pub struct Policy { - pub max_partitions_per_deadline: u64, - pub w_post_period_deadlines: u64, - pub w_post_proving_period: BlockNumber, - pub w_post_challenge_window: BlockNumber, - pub w_post_challenge_lookback: BlockNumber, - pub fault_declaration_cutoff: BlockNumber, - } - - impl Policy { - pub fn new( - max_partitions_per_deadline: u64, - w_post_period_deadlines: u64, - w_post_proving_period: BlockNumber, - w_post_challenge_window: BlockNumber, - w_post_challenge_lookback: BlockNumber, - fault_declaration_cutoff: BlockNumber, - ) -> Self { - Self { - max_partitions_per_deadline, - w_post_period_deadlines, - w_post_proving_period, - w_post_challenge_window, - w_post_challenge_lookback, - fault_declaration_cutoff, - } - } - } - #[pallet::call] impl Pallet { pub fn register_storage_provider( @@ -427,7 +397,7 @@ pub mod pallet { proving_period, ); let info = StorageProviderInfo::new(peer_id, window_post_proof_type); - let state = StorageProviderState::new( + let state = StorageProviderState::, BlockNumberFor>::new( info.clone(), local_proving_start, // Always zero since we're calculating the absolute first start @@ -495,14 +465,14 @@ pub mod pallet { )?; // Validate the data commitment - let commd = Commitment::from_cid_bytes(§or.unsealed_cid[..], CommitmentKind::Data) + let commd = Commitment::::from_cid_bytes(§or.unsealed_cid[..]) .map_err(|err| { log::error!(target: LOG_TARGET, err:?; "pre_commit_sectors: invalid unsealed_cid"); Error::::InvalidCid })?; // Validate the replica commitment - let _ = Commitment::from_cid_bytes(§or.sealed_cid[..], CommitmentKind::Replica) + let _ = Commitment::::from_cid_bytes(§or.sealed_cid[..]) .map_err(|err| { log::error!(target: LOG_TARGET, err:?; "pre_commit_sectors: invalid sealed_cid"); Error::::InvalidCid @@ -586,10 +556,6 @@ pub mod pallet { BoundedVec::new(); for sector in sectors { - ensure!(sector.sector_number <= MAX_SECTORS.into(), { - log::error!(target: LOG_TARGET, "prove_commit_sectors: Sector number ({}) may not exceed MAX_SECTORS", sector.sector_number); - Error::::InvalidSector - }); // Get pre-committed sector. This is the sector we are currently // proving. let precommit = sp @@ -645,14 +611,12 @@ pub mod pallet { current_block, new_sectors, sp.info.window_post_partition_sectors, - Policy::new( - T::MaxPartitionsPerDeadline::get(), - T::WPoStPeriodDeadlines::get(), - T::WPoStProvingPeriod::get(), - T::WPoStChallengeWindow::get(), - T::WPoStChallengeLookBack::get(), - T::FaultDeclarationCutoff::get(), - ), + T::MaxPartitionsPerDeadline::get(), + T::WPoStPeriodDeadlines::get(), + T::WPoStProvingPeriod::get(), + T::WPoStChallengeWindow::get(), + T::WPoStChallengeLookBack::get(), + T::FaultDeclarationCutoff::get(), ) .map_err(|e| Error::::GeneralPalletError(e))?; @@ -740,14 +704,11 @@ pub mod pallet { let current_deadline = sp .deadline_info( current_block, - Policy::new( - T::MaxPartitionsPerDeadline::get(), - T::WPoStPeriodDeadlines::get(), - T::WPoStProvingPeriod::get(), - T::WPoStChallengeWindow::get(), - T::WPoStChallengeLookBack::get(), - T::FaultDeclarationCutoff::get(), - ), + T::WPoStPeriodDeadlines::get(), + T::WPoStProvingPeriod::get(), + T::WPoStChallengeWindow::get(), + T::WPoStChallengeLookBack::get(), + T::FaultDeclarationCutoff::get(), ) .map_err(|e| Error::::GeneralPalletError(e))?; @@ -1245,14 +1206,11 @@ pub mod pallet { let Ok(current_deadline) = state.deadline_info( current_block, - Policy::new( - T::MaxPartitionsPerDeadline::get(), - T::WPoStPeriodDeadlines::get(), - T::WPoStProvingPeriod::get(), - T::WPoStChallengeWindow::get(), - T::WPoStChallengeLookBack::get(), - T::FaultDeclarationCutoff::get(), - ), + T::WPoStPeriodDeadlines::get(), + T::WPoStProvingPeriod::get(), + T::WPoStChallengeWindow::get(), + T::WPoStChallengeLookBack::get(), + T::FaultDeclarationCutoff::get(), ) else { log::error!(target: LOG_TARGET, "block: {:?}, there are no deadlines for storage provider {:?}", current_block, storage_provider); continue; @@ -1352,14 +1310,11 @@ pub mod pallet { state .advance_deadline( current_block, - Policy::new( - T::MaxPartitionsPerDeadline::get(), - T::WPoStPeriodDeadlines::get(), - T::WPoStProvingPeriod::get(), - T::WPoStChallengeWindow::get(), - T::WPoStChallengeLookBack::get(), - T::FaultDeclarationCutoff::get(), - ), + T::WPoStPeriodDeadlines::get(), + T::WPoStProvingPeriod::get(), + T::WPoStChallengeWindow::get(), + T::WPoStChallengeLookBack::get(), + T::FaultDeclarationCutoff::get(), ) .expect("Could not advance deadline"); StorageProviders::::insert(storage_provider, state); @@ -1404,10 +1359,7 @@ pub mod pallet { sector: &SectorPreCommitInfo>, ) -> Result<(), Error> { let sector_number = sector.sector_number; - ensure!( - sector_number <= MAX_SECTORS.into(), - Error::::InvalidSector - ); + ensure!( sp.info.window_post_proof_type == sector.seal_proof.registered_window_post_proof(), Error::::InvalidProofType @@ -1496,6 +1448,10 @@ pub mod pallet { // slash_reserved returns NegativeImbalance, we need to get a concrete value and burn it to level out the circulating currency let imbalance = T::Currency::burn(imbalance.peek()); + // TODO(@jmg-duarte,20/11/2024): we'll probably need to review this, + // we're slashing an account (makes sense) + // burning the imbalance (maybe we could stash it in an account for rewards) + // and settling it??? — this part makes less sense since it's similar to a withdraw T::Currency::settle(account, imbalance, WithdrawReasons::RESERVE, KeepAlive) .map_err(|_| Error::::SlashingFailed)?; @@ -1528,14 +1484,14 @@ pub mod pallet { } // Validate the data commitment - let commd = Commitment::from_cid_bytes(&precommit.info.unsealed_cid[..], CommitmentKind::Data) + let commd = Commitment::::from_cid_bytes(&precommit.info.unsealed_cid[..]) .map_err(|err| { log::error!(target: LOG_TARGET, err:?; "validate_seal_proof: invalid unsealed_cid {:?}", &precommit.info.unsealed_cid); Error::::InvalidCid })?; // Validate the replica commitment - let commr = Commitment::from_cid_bytes(&precommit.info.sealed_cid[..], CommitmentKind::Replica) + let commr = Commitment::::from_cid_bytes(&precommit.info.sealed_cid[..]) .map_err(|err| { log::error!(target: LOG_TARGET, err:?; "validate_seal_proof: invalid sealed_cid {:?}", &precommit.info.sealed_cid); Error::::InvalidCid diff --git a/pallets/storage-provider/src/partition.rs b/pallets/storage-provider/src/partition.rs index 1fd20cc9b..9e7dfc939 100644 --- a/pallets/storage-provider/src/partition.rs +++ b/pallets/storage-provider/src/partition.rs @@ -263,7 +263,7 @@ where .recoveries .union(&new_recoveries) .copied() - .collect::>() + .collect::>() .try_into() .expect("BoundedBTreeSet should be able to be created from BTreeSet"); } @@ -289,7 +289,7 @@ where .faults .difference(&self.recoveries) .copied() - .collect::>() + .collect::>() .try_into() .expect("(faults - recoveries).len() <= faults.len()"); @@ -582,6 +582,7 @@ mod tests { use alloc::collections::BTreeMap; use super::*; + use crate::tests::sector_set; fn sectors() -> Vec> { vec![ @@ -594,10 +595,10 @@ mod tests { ] } - fn test_sector(expiration: u64, sector_number: SectorNumber) -> SectorOnChainInfo { + fn test_sector(expiration: u64, sector_number: u32) -> SectorOnChainInfo { SectorOnChainInfo { expiration, - sector_number, + sector_number: SectorNumber::try_from(sector_number).unwrap(), ..Default::default() } } @@ -646,7 +647,7 @@ mod tests { sectors_to_add .iter() .filter_map(|s| { - if s.sector_number != 1 { + if s.sector_number != SectorNumber::from(1) { Some(s.sector_number) } else { None @@ -657,7 +658,7 @@ mod tests { .unwrap(); expected_live_sectors - .try_insert(2) + .try_insert(2.into()) .expect(&format!("Inserting a single element into expected_live_sectors, which is a BoundedBTreeMap with length {MAX_SECTORS}, should not fail (1 < {MAX_SECTORS})")); assert_eq!(live_sectors, expected_live_sectors); Ok(()) @@ -680,11 +681,11 @@ mod tests { ) .unwrap(); // fault sector 3, 4, 5 and 6 - let faults = BoundedBTreeSet::try_from(BTreeSet::from([3, 4, 5, 6])).unwrap(); + let faults = sector_set(&[3, 4, 5, 6]); partition.record_faults(&all_sectors_map, &faults, 7)?; // mark 4 and 5 as a recoveries - let recoveries = BoundedBTreeSet::try_from(BTreeSet::from([4, 5])).unwrap(); + let recoveries = sector_set(&[4, 5]); partition.declare_faults_recovered(&recoveries); // now terminate 1, 3, 5, and 6 @@ -702,15 +703,15 @@ mod tests { let expected_sectors: BTreeSet<_> = all_sectors.iter().map(|s| s.sector_number).collect(); // Assert that the returned expiration set is as expected - assert_eq!(removed.on_time_sectors.into_inner(), BTreeSet::from([1, 3])); - assert_eq!(removed.early_sectors.into_inner(), BTreeSet::from([5, 6])); + assert_eq!(removed.on_time_sectors, sector_set::(&[1, 3])); + assert_eq!(removed.early_sectors, sector_set::(&[5, 6])); // Assert the partition metadata is as expected - assert_eq!(partition.faults.into_inner(), BTreeSet::from([4])); - assert_eq!(partition.recoveries.into_inner(), BTreeSet::from([4])); - assert_eq!(partition.terminated.into_inner(), expected_terminations); - assert_eq!(partition.sectors.into_inner(), expected_sectors); - assert_eq!(partition.unproven.into_inner(), BTreeSet::from([2])); + assert_eq!(partition.faults, sector_set::(&[4])); + assert_eq!(partition.recoveries, sector_set::(&[4])); + assert_eq!(partition.terminated, expected_terminations); + assert_eq!(partition.sectors, expected_sectors); + assert_eq!(partition.unproven, sector_set::(&[2])); Ok(()) } @@ -753,7 +754,7 @@ mod tests { partition.add_sectors(§ors)?; // fault sector 3, 4, 5 and 6 - let fault_set = BTreeSet::from([3, 4, 5, 6]).try_into().unwrap(); + let fault_set = sector_set(&[3, 4, 5, 6]); partition.record_faults(§or_map, &fault_set, 7)?; // now terminate 1, 3 and 5 @@ -776,7 +777,7 @@ mod tests { let terminated_sector = result.sectors.get(&termination_block); assert!(terminated_sector.is_some()); let terminated_sector = terminated_sector.unwrap(); - assert_eq!(terminated_sector, &BTreeSet::from([1])); + assert_eq!(terminated_sector, &BTreeSet::from([1.into()])); let early_termination_sectors = partition .early_terminations .get(&termination_block) @@ -793,7 +794,7 @@ mod tests { let terminated_sector = result.sectors.get(&termination_block); assert!(terminated_sector.is_some()); let terminated_sector = terminated_sector.unwrap(); - assert_eq!(terminated_sector, &BTreeSet::from([3])); + assert_eq!(terminated_sector, &BTreeSet::from([3.into()])); let early_termination_sectors = partition .early_terminations .get(&termination_block) @@ -810,7 +811,7 @@ mod tests { let terminated_sector = result.sectors.get(&termination_block); assert!(terminated_sector.is_some()); let terminated_sector = terminated_sector.unwrap(); - assert_eq!(terminated_sector, &BTreeSet::from([5])); + assert_eq!(terminated_sector, &BTreeSet::from([5.into()])); // expect early terminations to be empty assert!(partition.early_terminations.is_empty()); @@ -833,7 +834,7 @@ mod tests { partition.add_sectors(§ors)?; // fault sector 3, 4, 5 and 6 - let fault_set = BTreeSet::from([3, 4, 5, 6]).try_into().unwrap(); + let fault_set = sector_set(&[3, 4, 5, 6]); partition.record_faults(§or_map, &fault_set, 7)?; // now terminate 1, 3 and 5 @@ -856,7 +857,7 @@ mod tests { let terminated_sector = result.sectors.get(&termination_block); assert!(terminated_sector.is_some()); let terminated_sector = terminated_sector.unwrap(); - assert_eq!(terminated_sector, &BTreeSet::from([1])); + assert_eq!(terminated_sector, &BTreeSet::from([1.into()])); // pop the rest, max_sectors set to 5 but only 2 terminations left, should exit early let (result, has_more) = partition.pop_early_terminations(5).unwrap(); @@ -865,7 +866,7 @@ mod tests { let terminated_sector = result.sectors.get(&termination_block); assert!(terminated_sector.is_some()); let terminated_sector = terminated_sector.unwrap(); - assert_eq!(terminated_sector, &BTreeSet::from([3, 5])); + assert_eq!(terminated_sector, &BTreeSet::from([3.into(), 5.into()])); assert_eq!(result.sectors_processed, 2); assert_eq!(result.partitions_processed, 1); @@ -898,28 +899,28 @@ mod tests { partition.activate_unproven(); // add one fault with early termination - let fault_set = BoundedBTreeSet::try_from(BTreeSet::from([4])).unwrap(); + let fault_set = sector_set(&[4]); partition.record_faults(&all_sectors, &fault_set, 2)?; // pop first expiration set let expiration_block = 5; let expset = partition.pop_expired_sectors(expiration_block)?; - let expected_on_time = BTreeSet::from([1, 2]); - let expected_early = BTreeSet::from([4]); - let expected_terminated = BTreeSet::from([1, 2, 4]); - let expected_sectors = BTreeSet::from([1, 2, 3, 4, 5, 6]); + let expected_on_time = sector_set::(&[1, 2]); + let expected_early = sector_set::(&[4]); + let expected_terminated = sector_set::(&[1, 2, 4]); + let expected_sectors = sector_set::(&[1, 2, 3, 4, 5, 6]); // Assert that the returned expiration set is as expected - assert_eq!(expset.on_time_sectors.into_inner(), expected_on_time); - assert_eq!(expset.early_sectors.into_inner(), expected_early); + assert_eq!(expset.on_time_sectors, expected_on_time); + assert_eq!(expset.early_sectors, expected_early); // Assert the partition metadata is as expected - assert_eq!(partition.faults.into_inner(), BTreeSet::new()); - assert_eq!(partition.recoveries.into_inner(), BTreeSet::new()); - assert_eq!(partition.terminated.into_inner(), expected_terminated); - assert_eq!(partition.sectors.into_inner(), expected_sectors); - assert_eq!(partition.unproven.into_inner(), BTreeSet::new()); + assert_eq!(partition.faults, BTreeSet::new()); + assert_eq!(partition.recoveries, BTreeSet::new()); + assert_eq!(partition.terminated, expected_terminated); + assert_eq!(partition.sectors, expected_sectors); + assert_eq!(partition.unproven, BTreeSet::new()); Ok(()) } diff --git a/pallets/storage-provider/src/sector_map.rs b/pallets/storage-provider/src/sector_map.rs index 0316371c9..acb7b1414 100644 --- a/pallets/storage-provider/src/sector_map.rs +++ b/pallets/storage-provider/src/sector_map.rs @@ -179,10 +179,8 @@ mod test { use alloc::collections::BTreeSet; - use sp_core::bounded_btree_map; - use super::*; - use crate::tests::create_set; + use crate::tests::sector_set; #[test] fn partition_map_add_sectors() { @@ -190,16 +188,16 @@ mod test { let partition = 0; let sectors = [1, 2, 3]; - let _ = map.try_insert_sectors(partition, create_set(§ors)); + let _ = map.try_insert_sectors(partition, sector_set(§ors)); expect_sectors_exact(&map, partition, §ors); let sectors = [4, 5, 6]; - let _ = map.try_insert_sectors(partition, create_set(§ors)); + let _ = map.try_insert_sectors(partition, sector_set(§ors)); expect_sectors_partial(&map, partition, §ors); let partition = 1; let sectors = [7, 8, 9]; - let _ = map.try_insert_sectors(partition, create_set(§ors)); + let _ = map.try_insert_sectors(partition, sector_set(§ors)); expect_sectors_partial(&map, partition, §ors); } @@ -209,39 +207,18 @@ mod test { let partition = 0; let sectors = [1, 2, 3]; - let _ = map.try_insert_sectors(partition, create_set(§ors)); + let _ = map.try_insert_sectors(partition, sector_set(§ors)); expect_sectors_exact(&map, partition, §ors); // This call is a no-op since all sectors are already in the partition - let _ = map.try_insert_sectors(partition, create_set(§ors)); + let _ = map.try_insert_sectors(partition, sector_set(§ors)); expect_sectors_exact(&map, partition, §ors); let partition = 1; let sectors = [4, 5, 6]; - let _ = map.try_insert_sectors(partition, create_set(§ors)); + let _ = map.try_insert_sectors(partition, sector_set(§ors)); expect_sectors_exact(&map, partition, §ors); } - #[test] - fn partition_map_fail_large_input() { - let partition = 0; - - // Create a map that is at the limit of the number of sectors - let original_sectors = (0..MAX_SECTORS as u64).collect::>(); - let set = create_set::(&original_sectors); - let map = bounded_btree_map!(partition => set); - let mut map = PartitionMap(map); - - // Try to insert a new partition with a single sector - let sectors = [u64::MAX]; // We know that this sector is not in the map - assert!(map - .try_insert_sectors(partition, create_set(§ors)) - .is_err()); - - // Check that map is still the same. It's faster to check the length - // instead of going through all elements. - assert_eq!(map.0.get(&partition).unwrap().len(), original_sectors.len()); - } - #[test] fn deadline_sector_map_add_sectors() { let mut map = DeadlineSectorMap::new(); @@ -249,26 +226,26 @@ mod test { let deadline = 0; let partition = 0; let sectors = [1, 2, 3]; - let _ = map.try_insert(deadline, partition, create_set(§ors)); + let _ = map.try_insert(deadline, partition, sector_set(§ors)); expect_deadline_sectors_exact(&map, deadline, partition, §ors); let sectors = [4, 5, 6]; - let _ = map.try_insert(deadline, partition, create_set(§ors)); + let _ = map.try_insert(deadline, partition, sector_set(§ors)); expect_deadline_sectors_partial(&map, deadline, partition, §ors); let partition = 1; let sectors = [1, 2, 3]; - let _ = map.try_insert(deadline, partition, create_set(§ors)); + let _ = map.try_insert(deadline, partition, sector_set(§ors)); expect_deadline_sectors_exact(&map, deadline, partition, §ors); let sectors = [4, 5, 6]; - let _ = map.try_insert(deadline, partition, create_set(§ors)); + let _ = map.try_insert(deadline, partition, sector_set(§ors)); expect_deadline_sectors_partial(&map, deadline, partition, §ors); let deadline = 1; let partition = 1; let sectors = [7, 8, 9]; - let _ = map.try_insert(deadline, partition, create_set(§ors)); + let _ = map.try_insert(deadline, partition, sector_set(§ors)); expect_deadline_sectors_exact(&map, deadline, partition, §ors); } @@ -279,11 +256,11 @@ mod test { let deadline = 0; let partition = 0; let sectors = [1, 2, 3]; - let _ = map.try_insert(deadline, partition, create_set(§ors)); + let _ = map.try_insert(deadline, partition, sector_set(§ors)); expect_deadline_sectors_exact(&map, deadline, partition, §ors); let sectors = [1, 2, 3]; - let _ = map.try_insert(deadline, partition, create_set(§ors)); + let _ = map.try_insert(deadline, partition, sector_set(§ors)); expect_deadline_sectors_exact(&map, deadline, partition, §ors); } @@ -292,18 +269,23 @@ mod test { fn expect_sectors_partial( map: &PartitionMap, partition: PartitionNumber, - expected_sectors: &[u64], + expected_sectors: &[u32], ) { match map.0.get(&partition) { Some(a) => { - expected_sectors.iter().enumerate().for_each(|(idx, s)| { - if !a.contains(s) { - panic!( - "sector {} (idx: {}) not found in partition {}", - s, idx, partition - ); - } - }); + expected_sectors + .into_iter() + .copied() + .map(|s| s.try_into().unwrap()) + .enumerate() + .for_each(|(idx, s)| { + if !a.contains(&s) { + panic!( + "sector {} (idx: {}) not found in partition {}", + s, idx, partition + ); + } + }); } None => panic!("partition {partition} not found"), } @@ -314,11 +296,15 @@ mod test { fn expect_sectors_exact( map: &PartitionMap, partition: PartitionNumber, - expected_sectors: &[u64], + expected_sectors: &[u32], ) { match map.0.get(&partition) { Some(actual) => { - let expected = expected_sectors.iter().copied().collect::>(); + let expected = expected_sectors + .into_iter() + .copied() + .map(|s| s.try_into().unwrap()) + .collect::>(); assert_eq!(expected.len(), actual.len()); assert_eq!(&expected, actual.as_ref()); } @@ -333,7 +319,7 @@ mod test { map: &DeadlineSectorMap, deadline: u64, partition: PartitionNumber, - expected_sectors: &[u64], + expected_sectors: &[u32], ) { match map.0.get(&deadline) { Some(p_map) => expect_sectors_partial(p_map, partition, expected_sectors), @@ -347,7 +333,7 @@ mod test { map: &DeadlineSectorMap, deadline: u64, partition: PartitionNumber, - expected_sectors: &[u64], + expected_sectors: &[u32], ) { match map.0.get(&deadline) { Some(p_map) => expect_sectors_exact(p_map, partition, expected_sectors), diff --git a/pallets/storage-provider/src/storage_provider.rs b/pallets/storage-provider/src/storage_provider.rs index 2e5399436..183e883c0 100644 --- a/pallets/storage-provider/src/storage_provider.rs +++ b/pallets/storage-provider/src/storage_provider.rs @@ -14,7 +14,6 @@ use sp_arithmetic::{traits::BaseArithmetic, ArithmeticError}; use crate::{ deadline::{assign_deadlines, deadline_is_mutable, Deadline, DeadlineInfo, Deadlines}, error::GeneralPalletError, - pallet::Policy, partition::TerminationResult, sector::{SectorOnChainInfo, SectorPreCommitOnChainInfo, MAX_SECTORS}, }; @@ -105,20 +104,31 @@ where pub fn advance_deadline( &mut self, current_block: BlockNumber, - policy: Policy, + w_post_period_deadlines: u64, + w_post_proving_period: BlockNumber, + w_post_challenge_window: BlockNumber, + w_post_challenge_lookback: BlockNumber, + fault_declaration_cutoff: BlockNumber, ) -> Result<(), GeneralPalletError> { - let dl_info = self.deadline_info(current_block, policy)?; + let dl_info = self.deadline_info( + current_block, + w_post_period_deadlines, + w_post_proving_period, + w_post_challenge_window, + w_post_challenge_lookback, + fault_declaration_cutoff, + )?; if !dl_info.period_started() { return Ok(()); } - self.current_deadline = (self.current_deadline + 1) % policy.w_post_period_deadlines; + self.current_deadline = (self.current_deadline + 1) % w_post_period_deadlines; log::debug!(target: LOG_TARGET, "new deadline {:?}, period deadlines {:?}", - self.current_deadline, policy.w_post_period_deadlines); + self.current_deadline, w_post_period_deadlines); if self.current_deadline == 0 { - self.proving_period_start = self.proving_period_start + policy.w_post_proving_period; + self.proving_period_start = self.proving_period_start + w_post_proving_period; } let deadline = self.deadlines.load_deadline_mut(dl_info.idx as usize)?; @@ -209,7 +219,12 @@ where current_block: BlockNumber, mut sectors: BoundedVec, ConstU32>, partition_size: u64, - policy: Policy, + max_partitions_per_deadline: u64, + w_post_period_deadlines: u64, + w_post_proving_period: BlockNumber, + w_post_challenge_window: BlockNumber, + w_post_challenge_lookback: BlockNumber, + fault_declaration_cutoff: BlockNumber, ) -> Result<(), GeneralPalletError> { sectors.sort_by_key(|info| info.sector_number); @@ -219,7 +234,7 @@ where ); let mut deadline_vec: Vec>> = - (0..policy.w_post_period_deadlines).map(|_| None).collect(); + (0..w_post_period_deadlines).map(|_| None).collect(); // required otherwise the logic gets complicated really fast // the issue is that filecoin supports negative epoch numbers @@ -234,11 +249,11 @@ where self.proving_period_start, idx as u64, current_block, - policy.w_post_period_deadlines, - policy.w_post_proving_period, - policy.w_post_challenge_window, - policy.w_post_challenge_lookback, - policy.fault_declaration_cutoff, + w_post_period_deadlines, + w_post_proving_period, + w_post_challenge_window, + w_post_challenge_lookback, + fault_declaration_cutoff, )?; if is_deadline_mutable { log::debug!(target: LOG_TARGET, "deadline[{idx}] is mutable"); @@ -254,11 +269,11 @@ where // Assign sectors to deadlines. let deadline_to_sectors = assign_deadlines( - policy.max_partitions_per_deadline, + max_partitions_per_deadline, partition_size, &deadline_vec, §ors, - policy.w_post_period_deadlines, + w_post_period_deadlines, )?; for (deadline_idx, deadline_sectors) in deadline_to_sectors.iter().enumerate() { @@ -288,7 +303,11 @@ where pub fn deadline_info( &self, current_block: BlockNumber, - policy: Policy, + w_post_period_deadlines: u64, + w_post_proving_period: BlockNumber, + w_post_challenge_window: BlockNumber, + w_post_challenge_lookback: BlockNumber, + fault_declaration_cutoff: BlockNumber, ) -> Result, GeneralPalletError> { let current_deadline_index = self.current_deadline; @@ -296,11 +315,11 @@ where current_block, self.proving_period_start, current_deadline_index, - policy.w_post_period_deadlines, - policy.w_post_proving_period, - policy.w_post_challenge_window, - policy.w_post_challenge_lookback, - policy.fault_declaration_cutoff, + w_post_period_deadlines, + w_post_proving_period, + w_post_challenge_window, + w_post_challenge_lookback, + fault_declaration_cutoff, ) } diff --git a/pallets/storage-provider/src/tests/declare_faults.rs b/pallets/storage-provider/src/tests/declare_faults.rs index d143508c4..886b39ce0 100644 --- a/pallets/storage-provider/src/tests/declare_faults.rs +++ b/pallets/storage-provider/src/tests/declare_faults.rs @@ -1,4 +1,5 @@ use frame_support::{assert_err, assert_noop, assert_ok, pallet_prelude::*}; +use primitives_proofs::SectorNumber; use rstest::rstest; use sp_core::bounded_vec; use sp_runtime::{traits::BlockNumberProvider, BoundedVec}; @@ -10,7 +11,7 @@ use crate::{ pallet::{Error, Event, StorageProviders, DECLARATIONS_MAX}, sector::ProveCommitSector, tests::{ - account, create_set, events, new_test_ext, register_storage_provider, run_to_block, + account, events, new_test_ext, register_storage_provider, run_to_block, sector_set, DealProposalBuilder, DeclareFaultsBuilder, Market, RuntimeEvent, RuntimeOrigin, SectorPreCommitInfoBuilder, StorageProvider, System, Test, ALICE, BOB, CHARLIE, }, @@ -24,7 +25,7 @@ fn fails_should_be_signed() { let faults: BoundedVec<_, _> = bounded_vec![FaultDeclaration { deadline: 0, partition: 0, - sectors: create_set(&[1, 2, 3, 4, 5]), + sectors: sector_set(&[1, 2, 3, 4, 5]), }]; assert_noop!( @@ -50,7 +51,7 @@ fn multiple_sector_faults() { let faults: BoundedVec<_, _> = bounded_vec![FaultDeclaration { deadline: 0, partition: 0, - sectors: create_set(&[0, 1]), + sectors: sector_set(&[0, 1]), }]; assert_ok!(StorageProvider::declare_faults( @@ -82,7 +83,7 @@ fn declare_single_fault_before_proving_period_start() { let deadline = 0; let partition = 0; - let sectors = vec![0]; + let sectors = vec![0.into()]; // Fault declaration setup let fault_declaration = DeclareFaultsBuilder::default() @@ -152,7 +153,7 @@ fn declare_single_fault_from_proving_period(#[case] proving_period_multiple: f64 // The cron hook generates events between blocks, this removes those events System::reset_events(); - let sectors = create_set(&[0]); + let sectors = sector_set(&[0]); let fault = FaultDeclaration { deadline: 0, partition: 0, @@ -218,12 +219,12 @@ fn multiple_partition_faults_in_same_deadline() { FaultDeclaration { deadline: 0, partition: 0, - sectors: create_set(&[0, 1]), + sectors: sector_set(&[0, 1]), }, FaultDeclaration { deadline: 0, partition: 1, - sectors: create_set(&[20]), + sectors: sector_set(&[20]), }, ]; @@ -257,11 +258,11 @@ fn multiple_deadline_faults() { // We should specify a correct partition and deadline for the sector // when specifying the faults let fault_declaration = DeclareFaultsBuilder::default() - .fault(0, 0, &[0]) - .fault(1, 0, &[2]) - .fault(2, 0, &[4]) - .fault(3, 0, &[6]) - .fault(4, 0, &[8]) + .fault(0, 0, &[0.into()]) + .fault(1, 0, &[2.into()]) + .fault(2, 0, &[4.into()]) + .fault(3, 0, &[6.into()]) + .fault(4, 0, &[8.into()]) .build(); assert_ok!(StorageProvider::declare_faults( RuntimeOrigin::signed(account(storage_provider)), @@ -283,7 +284,7 @@ fn multiple_deadline_faults() { FaultDeclaration { deadline: 0, partition: 0, - sectors: create_set(&[]), + sectors: sector_set(&[]), }, ], Error::::GeneralPalletError(GeneralPalletError::DeadlineErrorCouldNotAddSectors).into())] // Deadline specified is not valid @@ -291,7 +292,7 @@ fn multiple_deadline_faults() { FaultDeclaration { deadline: 99, partition: 0, - sectors: create_set(&[0]), + sectors: sector_set(&[0]), }, ], Error::::GeneralPalletError(GeneralPalletError::DeadlineErrorDeadlineIndexOutOfRange).into())] // Partition specified is not used @@ -299,14 +300,14 @@ fn multiple_deadline_faults() { FaultDeclaration { deadline: 0, partition: 99, - sectors: create_set(&[0]), + sectors: sector_set(&[0]), }, ], Error::::GeneralPalletError(GeneralPalletError::DeadlineErrorPartitionNotFound).into())] #[case(bounded_vec![ FaultDeclaration { deadline: 0, partition: 0, - sectors: create_set(&[99]), + sectors: sector_set(&[99]), }, ], Error::::GeneralPalletError(GeneralPalletError::DeadlineErrorSectorsNotFound).into())] fn fails_data_missing_malformed( @@ -369,7 +370,7 @@ fn fault_declaration_past_cutoff_should_fail() { StorageProvider::declare_faults( RuntimeOrigin::signed(account(storage_provider)), DeclareFaultsBuilder::default() - .fault(deadline, partition, &[1]) + .fault(deadline, partition, &[1.into()]) .build(), ), Error::::FaultDeclarationTooLate @@ -405,7 +406,7 @@ pub(crate) fn setup_sp_with_one_sector(storage_provider: &str, storage_client: & )); // Sector to be pre-committed and proven - let sector_number = 0; + let sector_number = 0.into(); // Sector data let sector = SectorPreCommitInfoBuilder::default() @@ -472,7 +473,7 @@ pub(crate) fn setup_sp_with_many_sectors_multiple_partitions( // first deadline has three with third sector only partially filled. // // 10 deadlines with 2 partitions each partition have 2 sectors - let desired_sectors = 10 * (2 + 2) + 1; + let desired_sectors: u32 = 10 * (2 + 2) + 1; // Publish as many deals as we need to fill the sectors. We are batching // deals so that the processing is a little faster. @@ -484,13 +485,13 @@ pub(crate) fn setup_sp_with_many_sectors_multiple_partitions( // Move available balance of provider to the market pallet assert_ok!(Market::add_balance( RuntimeOrigin::signed(account(storage_provider)), - provider_amount_needed + provider_amount_needed as u64 )); // Move available balance of client to the market pallet assert_ok!(Market::add_balance( RuntimeOrigin::signed(account(storage_client)), - client_amount_needed + client_amount_needed as u64 )); // Deal proposals @@ -522,12 +523,12 @@ pub(crate) fn setup_sp_with_many_sectors_multiple_partitions( // We are reusing deal_id as sector_number. In this case this is ok // because we wan't to have a unique sector for each deal. Usually // we would pack multiple deals in the same sector - let sector_number = id; + let sector_number = SectorNumber::try_from(id).unwrap(); // Sector data let sector = SectorPreCommitInfoBuilder::default() .sector_number(sector_number) - .deals(vec![id]) + .deals(vec![id as u64]) .build(); // Run pre commit extrinsic diff --git a/pallets/storage-provider/src/tests/declare_faults_recovered.rs b/pallets/storage-provider/src/tests/declare_faults_recovered.rs index 4c716bb63..d41bf9ec6 100644 --- a/pallets/storage-provider/src/tests/declare_faults_recovered.rs +++ b/pallets/storage-provider/src/tests/declare_faults_recovered.rs @@ -9,14 +9,14 @@ use crate::{ fault::{DeclareFaultsRecoveredParams, RecoveryDeclaration}, pallet::{Error, Event, StorageProviders, DECLARATIONS_MAX}, tests::{ - account, create_set, + account, declare_faults::{ assert_exact_faulty_sectors, setup_sp_with_many_sectors_multiple_partitions, setup_sp_with_one_sector, }, - events, new_test_ext, run_to_block, DeclareFaultsBuilder, DeclareFaultsRecoveredBuilder, - RuntimeEvent, RuntimeOrigin, StorageProvider, SubmitWindowedPoStBuilder, System, Test, - ALICE, BOB, + events, new_test_ext, run_to_block, sector_set, DeclareFaultsBuilder, + DeclareFaultsRecoveredBuilder, RuntimeEvent, RuntimeOrigin, StorageProvider, + SubmitWindowedPoStBuilder, System, Test, ALICE, BOB, }, Config, }; @@ -31,7 +31,7 @@ fn declare_single_fault_recovered() { let deadline = 0; let partition = 0; - let sectors = vec![0]; + let sectors = vec![0.into()]; // Fault declaration setup let fault_declaration = DeclareFaultsBuilder::default() @@ -74,7 +74,7 @@ fn declare_single_fault_recovered_and_submitted() { setup_sp_with_one_sector(storage_provider, storage_client); let deadline = 0; let partition = 0; - let sectors = vec![0]; + let sectors = vec![0.into()]; // Fault declaration setup let fault_declaration = DeclareFaultsBuilder::default() @@ -147,10 +147,10 @@ fn successfully_recover_multiple_sector_faults() { // We should specify a correct partition and deadline for the sector // when specifying the faults let fault_declaration = DeclareFaultsBuilder::default() - .fault(0, 0, &[0, 1]) - .fault(0, 1, &[20, 21]) - .fault(1, 0, &[2, 3]) - .fault(2, 0, &[4]) + .fault(0, 0, &[0.into(), 1.into()]) + .fault(0, 1, &[20.into(), 21.into()]) + .fault(1, 0, &[2.into(), 3.into()]) + .fault(2, 0, &[4.into()]) .build(); assert_ok!(StorageProvider::declare_faults( RuntimeOrigin::signed(account(storage_provider)), @@ -163,10 +163,10 @@ fn successfully_recover_multiple_sector_faults() { // We should specify a correct partition and deadline for the sector // when specifying the faults recovered let recovery_declaration = DeclareFaultsRecoveredBuilder::default() - .fault_recovery(0, 0, &[0, 1]) - .fault_recovery(0, 1, &[20, 21]) - .fault_recovery(1, 0, &[2, 3]) - .fault_recovery(2, 0, &[4]) + .fault_recovery(0, 0, &[0.into(), 1.into()]) + .fault_recovery(0, 1, &[20.into(), 21.into()]) + .fault_recovery(1, 0, &[2.into(), 3.into()]) + .fault_recovery(2, 0, &[4.into()]) .build(); assert_ok!(StorageProvider::declare_faults_recovered( RuntimeOrigin::signed(account(storage_provider)), @@ -189,7 +189,7 @@ fn successfully_recover_multiple_sector_faults() { RecoveryDeclaration { deadline: 0, partition: 0, - sectors: create_set(&[]), + sectors: sector_set(&[]), }, ], Error::::GeneralPalletError(GeneralPalletError::DeadlineErrorCouldNotAddSectors).into())] // Deadline specified is not valid @@ -197,7 +197,7 @@ fn successfully_recover_multiple_sector_faults() { RecoveryDeclaration { deadline: 99, partition: 0, - sectors: create_set(&[0]), + sectors: sector_set(&[0]), }, ], Error::::GeneralPalletError(GeneralPalletError::DeadlineErrorDeadlineIndexOutOfRange).into())] // Partition specified is not used @@ -205,21 +205,21 @@ fn successfully_recover_multiple_sector_faults() { RecoveryDeclaration { deadline: 0, partition: 99, - sectors: create_set(&[0]), + sectors: sector_set(&[0]), }, ], Error::::GeneralPalletError(GeneralPalletError::DeadlineErrorPartitionNotFound).into())] #[case(bounded_vec![ RecoveryDeclaration { deadline: 0, partition: 0, - sectors: create_set(&[99]), + sectors: sector_set(&[9]), }, ], Error::::GeneralPalletError(GeneralPalletError::DeadlineErrorSectorsNotFound).into())] #[case(bounded_vec![ RecoveryDeclaration { deadline: 0, partition: 0, - sectors: create_set(&[0]), + sectors: sector_set(&[0]), }, ], Error::::GeneralPalletError(GeneralPalletError::DeadlineErrorSectorsNotFaulty).into())] fn fails_data_missing_malformed( @@ -283,7 +283,7 @@ fn fault_recovery_past_cutoff_should_fail() { StorageProvider::declare_faults_recovered( RuntimeOrigin::signed(account(storage_provider)), DeclareFaultsRecoveredBuilder::default() - .fault_recovery(deadline, partition, &[1]) + .fault_recovery(deadline, partition, &[1.into()]) .build(), ), Error::::FaultRecoveryTooLate diff --git a/pallets/storage-provider/src/tests/expiration_queue.rs b/pallets/storage-provider/src/tests/expiration_queue.rs index ada7b8242..9fa6ac3ba 100644 --- a/pallets/storage-provider/src/tests/expiration_queue.rs +++ b/pallets/storage-provider/src/tests/expiration_queue.rs @@ -2,21 +2,21 @@ extern crate alloc; use alloc::collections::{BTreeMap, BTreeSet}; use primitives_proofs::{RegisteredSealProof, SectorNumber}; -use sp_core::ConstU32; use sp_runtime::{BoundedBTreeMap, BoundedBTreeSet}; use super::BlockNumber; use crate::{ expiration_queue::{ExpirationQueue, ExpirationSet}, sector::{SectorOnChainInfo, MAX_SECTORS}, + tests::sector_set, }; -fn on_time_sectors() -> [u64; 3] { - [5, 8, 9] +fn on_time_sectors() -> [SectorNumber; 3] { + [5.into(), 8.into(), 9.into()] } -fn early_sectors() -> [u64; 2] { - [2, 3] +fn early_sectors() -> [SectorNumber; 2] { + [2.into(), 3.into()] } fn default_set() -> ExpirationSet { @@ -25,17 +25,9 @@ fn default_set() -> ExpirationSet { set } -/// This is a helper function to easily create a set of sectors. -pub fn create_set(sectors: &[u64]) -> BoundedBTreeSet> { - let sectors = sectors.iter().copied().collect::>(); - BoundedBTreeSet::try_from(sectors).unwrap() -} - /// Create a single sector used in tests -fn test_sector( - expiration: BlockNumber, - sector_number: SectorNumber, -) -> SectorOnChainInfo { +fn test_sector(expiration: BlockNumber, sector_number: u32) -> SectorOnChainInfo { + let sector_number = sector_number.try_into().unwrap(); SectorOnChainInfo { sector_number, seal_proof: RegisteredSealProof::StackedDRG2KiBV1P1, @@ -62,35 +54,30 @@ fn sectors() -> [SectorOnChainInfo; 6] { fn add_sectors_to_empty_set() { let set = default_set(); - assert_eq!( - set.on_time_sectors, - create_set::(&on_time_sectors()) - ); - assert_eq!( - set.early_sectors, - create_set::(&early_sectors()) - ); + assert_eq!(set.on_time_sectors, sector_set::(&[5, 8, 9])); + assert_eq!(set.early_sectors, sector_set::(&[2, 3])); } #[test] fn add_sectors_to_non_empty_set() { let mut set = default_set(); - set.add(&[6, 7, 11], &[1, 4]).unwrap(); + set.add(&[6.into(), 7.into(), 11.into()], &[1.into(), 4.into()]) + .unwrap(); assert_eq!( set.on_time_sectors, - create_set::(&[5, 6, 7, 8, 9, 11]) + sector_set::(&[5, 6, 7, 8, 9, 11]) ); - assert_eq!(set.early_sectors, create_set::(&[1, 2, 3, 4])); + assert_eq!(set.early_sectors, sector_set::(&[1, 2, 3, 4])); } #[test] fn remove_sectors_from_set() { let mut set = default_set(); - set.remove(&[9], &[2]); + set.remove(&[9.into()], &[2.into()]); - assert_eq!(set.on_time_sectors, create_set::(&[5, 8,])); - assert_eq!(set.early_sectors, create_set::(&[3])); + assert_eq!(set.on_time_sectors, sector_set::(&[5, 8])); + assert_eq!(set.early_sectors, sector_set::(&[3])); } #[test] @@ -142,8 +129,8 @@ fn reschedules_sectors_as_faults() { for (expiration_height, on_time, early) in checks { let set = queue.map.get(&expiration_height).unwrap(); - assert_eq!(set.on_time_sectors, create_set::(&on_time)); - assert_eq!(set.early_sectors, create_set::(&early)); + assert_eq!(set.on_time_sectors, sector_set::(&on_time)); + assert_eq!(set.early_sectors, sector_set::(&early)); } } diff --git a/pallets/storage-provider/src/tests/mod.rs b/pallets/storage-provider/src/tests/mod.rs index 24571a076..f034ae414 100644 --- a/pallets/storage-provider/src/tests/mod.rs +++ b/pallets/storage-provider/src/tests/mod.rs @@ -14,7 +14,7 @@ use frame_support::{ }; use frame_system::pallet_prelude::BlockNumberFor; use pallet_market::{BalanceOf, ClientDealProposal, DealProposal, DealState}; -use primitives_commitment::{Commitment, CommitmentKind}; +use primitives_commitment::{CommP, Commitment}; use primitives_proofs::{ DealId, ProofVerification, PublicReplicaInfo, Randomness, RegisteredPoStProof, RegisteredSealProof, SectorNumber, CID_SIZE_IN_BYTES, MAX_DEALS_PER_SECTOR, @@ -271,8 +271,12 @@ pub fn run_to_block(n: u64) { } /// This is a helper function to easily create a set of sectors. -pub fn create_set(sectors: &[u64]) -> BoundedBTreeSet> { - let sectors = sectors.iter().copied().collect::>(); +pub fn sector_set(sectors: &[u32]) -> BoundedBTreeSet> { + let sectors = sectors + .into_iter() + .copied() + .map(|s| s.try_into().unwrap()) + .collect::>(); BoundedBTreeSet::try_from(sectors).unwrap() } @@ -359,7 +363,7 @@ impl Default for SectorPreCommitInfoBuilder { Self { seal_proof: RegisteredSealProof::StackedDRG2KiBV1P1, - sector_number: 1, + sector_number: SectorNumber::new(1).unwrap(), sealed_cid, deal_ids: bounded_vec![0, 1], expiration: 120 * MINUTES, @@ -370,7 +374,7 @@ impl Default for SectorPreCommitInfoBuilder { } impl SectorPreCommitInfoBuilder { - pub fn sector_number(mut self, sector_number: u64) -> Self { + pub fn sector_number(mut self, sector_number: SectorNumber) -> Self { self.sector_number = sector_number; self } @@ -421,8 +425,7 @@ struct DealProposalBuilder { impl Default for DealProposalBuilder { fn default() -> Self { - let piece_commitment = - Commitment::new(*b"dummydummydummydummydummydummydu", CommitmentKind::Piece); + let piece_commitment = Commitment::::from(*b"dummydummydummydummydummydummydu"); Self { piece_cid: piece_commitment diff --git a/pallets/storage-provider/src/tests/post_hook.rs b/pallets/storage-provider/src/tests/post_hook.rs index bf15ceb55..1950979d3 100644 --- a/pallets/storage-provider/src/tests/post_hook.rs +++ b/pallets/storage-provider/src/tests/post_hook.rs @@ -1,12 +1,6 @@ extern crate alloc; -use alloc::collections::BTreeSet; - -use frame_support::{ - assert_ok, - pallet_prelude::{ConstU32, Get}, - sp_runtime::BoundedBTreeSet, -}; +use frame_support::{assert_ok, pallet_prelude::Get}; use primitives_proofs::{DealId, SectorNumber}; use sp_core::bounded_vec; @@ -15,9 +9,9 @@ use crate::{ pallet::{Config, Event, StorageProviders}, sector::{ProveCommitSector, MAX_SECTORS}, tests::{ - account, events, publish_deals, register_storage_provider, run_to_block, RuntimeEvent, - RuntimeOrigin, SectorPreCommitInfoBuilder, StorageProvider, SubmitWindowedPoStBuilder, - System, Test, CHARLIE, + account, events, publish_deals, register_storage_provider, run_to_block, sector_set, + RuntimeEvent, RuntimeOrigin, SectorPreCommitInfoBuilder, StorageProvider, + SubmitWindowedPoStBuilder, System, Test, CHARLIE, }, }; @@ -72,10 +66,9 @@ fn marks_partitions_as_faulty() { let deadline = &sp.deadlines.due[0]; // Partitions are filled up from the first partition let partition = &deadline.partitions[&0]; - let expected_sectors: BoundedBTreeSet = - BTreeSet::from([first_sector_number, second_sector_number]) - .try_into() - .unwrap(); + let expected_sectors = + sector_set::(&[first_sector_number, second_sector_number]); + assert_eq!(partition.faults.len(), 2); assert_eq!(expected_sectors, partition.faults); assert_eq!( @@ -130,21 +123,18 @@ fn does_not_mark_partitions_as_faulty() { let deadline = &sp.deadlines.due[0]; // Partitions are filled up from the first partition let partition = &deadline.partitions[&0]; - let expected_sectors: BoundedBTreeSet> = - BTreeSet::from([first_sector_number, second_sector_number]) - .try_into() - .unwrap(); + let expected_sectors = + sector_set::(&[first_sector_number, second_sector_number]); + assert_eq!(partition.faults.len(), 0); assert_eq!(expected_sectors, partition.sectors); assert_eq!(events(), []); }); } -fn precommit_and_prove( - storage_provider: &'static str, - deal_id: DealId, - sector_number: SectorNumber, -) { +fn precommit_and_prove(storage_provider: &'static str, deal_id: DealId, sector_number: u32) { + let sector_number = SectorNumber::try_from(sector_number).unwrap(); + let sector = SectorPreCommitInfoBuilder::default() .sector_number(sector_number) .deals(bounded_vec![deal_id]) diff --git a/pallets/storage-provider/src/tests/pre_commit_sector_hook.rs b/pallets/storage-provider/src/tests/pre_commit_sector_hook.rs index 9a91fc0a3..2bcc73cc9 100644 --- a/pallets/storage-provider/src/tests/pre_commit_sector_hook.rs +++ b/pallets/storage-provider/src/tests/pre_commit_sector_hook.rs @@ -1,7 +1,5 @@ extern crate alloc; -use alloc::collections::BTreeSet; - use sp_core::bounded_vec; use super::new_test_ext; @@ -9,9 +7,9 @@ use crate::{ pallet::{Event, StorageProviders}, sector::ProveCommitSector, tests::{ - account, events, publish_deals, register_storage_provider, run_to_block, Balances, - RuntimeEvent, RuntimeOrigin, SectorPreCommitInfoBuilder, StorageProvider, System, Test, - CHARLIE, + account, events, publish_deals, register_storage_provider, run_to_block, sector_set, + Balances, RuntimeEvent, RuntimeOrigin, SectorPreCommitInfoBuilder, StorageProvider, System, + Test, CHARLIE, }, }; @@ -32,13 +30,13 @@ fn pre_commit_hook_slashed_deal() { let deal_precommit_deposit = 1; let first_sector = SectorPreCommitInfoBuilder::default() - .sector_number(1) + .sector_number(1.into()) .deals(bounded_vec![first_deal]) .build(); // First sector will not be proven, that's why we split deals across sectors let second_sector = SectorPreCommitInfoBuilder::default() .deals(bounded_vec![second_deal]) - .sector_number(2) + .sector_number(2.into()) .build(); StorageProvider::pre_commit_sectors( @@ -55,7 +53,7 @@ fn pre_commit_hook_slashed_deal() { StorageProvider::prove_commit_sectors( RuntimeOrigin::signed(account(storage_provider)), bounded_vec![ProveCommitSector { - sector_number: 2, + sector_number: 2.into(), proof: bounded_vec![0xde], }], ) @@ -84,20 +82,29 @@ fn pre_commit_hook_slashed_deal() { RuntimeEvent::StorageProvider(Event::::PartitionFaulty { owner: account(storage_provider), partition: 0, - sectors: BTreeSet::from([2]).try_into().unwrap() + sectors: sector_set(&[2]) }), RuntimeEvent::StorageProvider(Event::::SectorSlashed { owner: account(storage_provider), - sector_number: 1, + sector_number: 1.into(), }), + // the slash -> withdraw is related to the usage of slash_and_burn + // when slashing the SP for a failed pre_commit + // this usage may need review for a proper economic balance RuntimeEvent::Balances(pallet_balances::Event::::Slashed { who: account(storage_provider), amount: deal_precommit_deposit, }), + RuntimeEvent::Balances(pallet_balances::Event::::Rescinded { + amount: deal_precommit_deposit + }), RuntimeEvent::Balances(pallet_balances::Event::::Withdraw { who: account(storage_provider), amount: deal_precommit_deposit, }), + RuntimeEvent::Balances(pallet_balances::Event::::Rescinded { + amount: deal_precommit_deposit + }), ] ); }); diff --git a/pallets/storage-provider/src/tests/pre_commit_sectors.rs b/pallets/storage-provider/src/tests/pre_commit_sectors.rs index 44ff6a83b..43dbffaee 100644 --- a/pallets/storage-provider/src/tests/pre_commit_sectors.rs +++ b/pallets/storage-provider/src/tests/pre_commit_sectors.rs @@ -7,7 +7,7 @@ use sp_runtime::{BoundedVec, DispatchError}; use super::new_test_ext; use crate::{ pallet::{Error, Event, StorageProviders}, - sector::{SectorPreCommitInfo, MAX_SECTORS}, + sector::SectorPreCommitInfo, tests::{ account, events, publish_deals, register_storage_provider, run_to_block, Balances, MaxProveCommitDuration, MaxSectorExpiration, RuntimeEvent, RuntimeOrigin, @@ -135,10 +135,11 @@ fn successfully_precommited_batch() { ConstU32, > = bounded_vec![]; for sector_number in 0..SECTORS_TO_PRECOMMIT { + let sector_number = u16::try_from(sector_number).unwrap(); sectors .try_push( SectorPreCommitInfoBuilder::default() - .sector_number(sector_number) + .sector_number(sector_number.into()) .unsealed_cid( "baga6ea4seaqhdbbdnon7gkuquzw6waekzqx5lbuio6a6wjie22pgfmwnv3a3wfi", ) @@ -269,29 +270,6 @@ fn fails_declared_commd_not_matching() { }); } -#[test] -fn fails_invalid_sector() { - new_test_ext().execute_with(|| { - // Register ALICE as a storage provider. - let storage_provider = ALICE; - register_storage_provider(account(storage_provider)); - - // Sector to be pre-committed - let sector = SectorPreCommitInfoBuilder::default() - .sector_number(MAX_SECTORS as u64 + 1) - .build(); - - // Run pre commit extrinsic - assert_noop!( - StorageProvider::pre_commit_sectors( - RuntimeOrigin::signed(account(storage_provider)), - bounded_vec![sector] - ), - Error::::InvalidSector, - ); - }); -} - #[test] fn fails_invalid_cid() { new_test_ext().execute_with(|| { diff --git a/pallets/storage-provider/src/tests/prove_commit_sectors.rs b/pallets/storage-provider/src/tests/prove_commit_sectors.rs index a6dff43b5..a95ade776 100644 --- a/pallets/storage-provider/src/tests/prove_commit_sectors.rs +++ b/pallets/storage-provider/src/tests/prove_commit_sectors.rs @@ -28,7 +28,7 @@ fn successfully_prove_sector() { publish_deals(storage_provider); // Sector to be pre-committed and proven - let sector_number = 1; + let sector_number = 1.into(); // Sector data let sector = SectorPreCommitInfoBuilder::default() @@ -104,7 +104,7 @@ fn successfully_prove_sector() { #[test] fn successfully_prove_multiple_sectors() { new_test_ext().execute_with(|| { - const SECTORS_TO_COMMIT: u64 = 2; + const SECTORS_TO_COMMIT: u32 = 2; // Register CHARLIE as a storage provider. let storage_provider = CHARLIE; register_storage_provider(account(storage_provider)); @@ -120,7 +120,7 @@ fn successfully_prove_multiple_sectors() { sectors .try_push( SectorPreCommitInfoBuilder::default() - .sector_number(sector_number) + .sector_number(sector_number.try_into().unwrap()) .unsealed_cid( "baga6ea4seaqhdbbdnon7gkuquzw6waekzqx5lbuio6a6wjie22pgfmwnv3a3wfi", ) @@ -149,6 +149,8 @@ fn successfully_prove_multiple_sectors() { ConstU32, > = bounded_vec![]; for sector_number in 0..SECTORS_TO_COMMIT { + let sector_number = sector_number.try_into().unwrap(); + sectors .try_push(ProveCommitSector { sector_number, @@ -192,7 +194,7 @@ fn successfully_prove_multiple_sectors() { assert_eq!( Balances::free_balance(account(storage_provider)), // Provider reserved 70 tokens in the market pallet and 1 token is used per the pre-commit - INITIAL_FUNDS - 70 - SECTORS_TO_COMMIT + INITIAL_FUNDS - 70 - SECTORS_TO_COMMIT as u64 ); let sp_state = StorageProviders::::get(account(storage_provider)) .expect("Should be able to get providers info"); @@ -200,6 +202,7 @@ fn successfully_prove_multiple_sectors() { // check that the sector has been activated assert!(!sp_state.sectors.is_empty()); for sector_number in 0..SECTORS_TO_COMMIT { + let sector_number = sector_number.try_into().unwrap(); assert!(sp_state.sectors.contains_key(§or_number)); } // always assigns first deadline and first partition, probably will fail when we change deadline calculation algo. @@ -215,7 +218,7 @@ fn successfully_prove_multiple_sectors() { #[test] fn successfully_prove_after_period_start_and_check_mutability() { new_test_ext().execute_with(|| { - const SECTORS_TO_COMMIT: u64 = 4; + const SECTORS_TO_COMMIT: u32 = 4; // Register CHARLIE as a storage provider. let storage_provider = CHARLIE; register_storage_provider(account(storage_provider)); @@ -236,7 +239,7 @@ fn successfully_prove_after_period_start_and_check_mutability() { sectors .try_push( SectorPreCommitInfoBuilder::default() - .sector_number(sector_number) + .sector_number(sector_number.try_into().unwrap()) .unsealed_cid( "baga6ea4seaqhdbbdnon7gkuquzw6waekzqx5lbuio6a6wjie22pgfmwnv3a3wfi", ) @@ -291,6 +294,7 @@ fn successfully_prove_after_period_start_and_check_mutability() { ConstU32, > = bounded_vec![]; for sector_number in 0..SECTORS_TO_COMMIT { + let sector_number = sector_number.try_into().unwrap(); sectors .try_push(ProveCommitSector { sector_number, @@ -318,7 +322,7 @@ fn fails_storage_provider_not_found() { new_test_ext().execute_with(|| { // Test prove commits let sector = ProveCommitSector { - sector_number: 1, + sector_number: 1.into(), proof: bounded_vec![0xd, 0xe, 0xa, 0xd], }; @@ -336,14 +340,13 @@ fn fails_storage_provider_not_found() { fn fails_storage_precommit_missing() { new_test_ext().execute_with(|| { let storage_provider = ALICE; - let sector_number = 1; // Register storage provider register_storage_provider(account(storage_provider)); // Test prove commits let sector = ProveCommitSector { - sector_number, + sector_number: 1.into(), proof: bounded_vec![0xd, 0xe, 0xa, 0xd], }; @@ -370,7 +373,7 @@ fn fails_prove_commit_after_deadline() { run_to_block(precommit_at_block_number); let storage_provider = CHARLIE; - let sector_number = 1; + let sector_number = 1.into(); // Register storage provider register_storage_provider(account(storage_provider)); diff --git a/pallets/storage-provider/src/tests/submit_windowed_post.rs b/pallets/storage-provider/src/tests/submit_windowed_post.rs index fdfd03992..37bed583c 100644 --- a/pallets/storage-provider/src/tests/submit_windowed_post.rs +++ b/pallets/storage-provider/src/tests/submit_windowed_post.rs @@ -55,7 +55,7 @@ fn setup() { )); // Sector to be pre-committed and proven - let sector_number = 1; + let sector_number = 1.into(); // Sector data let sector = SectorPreCommitInfoBuilder::default() diff --git a/pallets/storage-provider/src/tests/terminate_sectors.rs b/pallets/storage-provider/src/tests/terminate_sectors.rs index a7697797d..69f94814e 100644 --- a/pallets/storage-provider/src/tests/terminate_sectors.rs +++ b/pallets/storage-provider/src/tests/terminate_sectors.rs @@ -1,9 +1,6 @@ extern crate alloc; -use alloc::collections::BTreeSet; - -use frame_support::{assert_err, assert_ok, pallet_prelude::*, sp_runtime::BoundedBTreeSet}; -use primitives_proofs::SectorNumber; +use frame_support::{assert_err, assert_ok, pallet_prelude::*}; use sp_core::bounded_vec; use crate::{ @@ -15,8 +12,8 @@ use crate::{ declare_faults::{ setup_sp_with_many_sectors_multiple_partitions, setup_sp_with_one_sector, }, - events, new_test_ext, run_to_block, RuntimeEvent, RuntimeOrigin, StorageProvider, Test, - ALICE, BOB, + events, new_test_ext, run_to_block, sector_set, RuntimeEvent, RuntimeOrigin, + StorageProvider, Test, ALICE, BOB, }, }; @@ -46,7 +43,7 @@ fn terminate_sectors_fails_non_existent_partition() { terminations: bounded_vec![TerminationDeclaration { deadline: 0, partition: 2, // Does not exist - sectors: BTreeSet::from([0]).try_into().unwrap() + sectors: sector_set(&[0]) }], }; assert_err!( @@ -73,7 +70,7 @@ fn terminate_sectors_fails_deadline_not_mutable() { terminations: bounded_vec![TerminationDeclaration { deadline: 0, partition: 0, - sectors: BTreeSet::from([0]).try_into().unwrap() + sectors: sector_set(&[0]) }], }; @@ -100,7 +97,7 @@ fn terminate_sectors_success_single_sector() { terminations: bounded_vec![TerminationDeclaration { deadline, partition: partition_num, - sectors: BTreeSet::from([sector]).try_into().unwrap() + sectors: sector_set(&[sector]) }], }; @@ -121,8 +118,7 @@ fn terminate_sectors_success_single_sector() { // Get partition // Clone needed to check `pop_early_terminations` from the partition which takes in `&mut self` let mut partition = deadline.partitions[&partition_num].clone(); - let expected_terminated: BoundedBTreeSet> = - BTreeSet::from([sector]).try_into().unwrap(); + let expected_terminated = sector_set::(&[sector]); assert_eq!(partition.terminated, expected_terminated); let (result, has_more) = partition.pop_early_terminations(1000).unwrap(); @@ -162,27 +158,27 @@ fn terminate_sectors_success_multiple_sectors_partitions_and_deadlines() { TerminationDeclaration { deadline: 0, partition: 0, - sectors: BTreeSet::from([0]).try_into().unwrap(), + sectors: sector_set(&[0]), }, TerminationDeclaration { deadline: 0, partition: 1, - sectors: BTreeSet::from([20]).try_into().unwrap(), + sectors: sector_set(&[20]), }, TerminationDeclaration { deadline: 0, partition: 2, - sectors: BTreeSet::from([40]).try_into().unwrap(), + sectors: sector_set(&[40]), }, TerminationDeclaration { deadline: 1, partition: 0, - sectors: BTreeSet::from([3]).try_into().unwrap(), + sectors: sector_set(&[3]), }, TerminationDeclaration { deadline: 1, partition: 1, - sectors: BTreeSet::from([23]).try_into().unwrap(), + sectors: sector_set(&[23]), }, ]; let params = TerminateSectorsParams { @@ -214,8 +210,7 @@ fn terminate_sectors_success_multiple_sectors_partitions_and_deadlines() { .load_deadline_mut(deadline_idx) .unwrap(); let partition = &deadline.partitions[&0]; - let expected_terminated: BoundedBTreeSet> = - BTreeSet::from([0]).try_into().unwrap(); + let expected_terminated = sector_set::(&[0]); assert_eq!(partition.terminated, expected_terminated); // Check state for second partition @@ -224,8 +219,7 @@ fn terminate_sectors_success_multiple_sectors_partitions_and_deadlines() { .load_deadline_mut(deadline_idx) .unwrap(); let partition = &deadline.partitions[&1]; - let expected_terminated: BoundedBTreeSet> = - BTreeSet::from([20]).try_into().unwrap(); + let expected_terminated = sector_set::(&[20]); assert_eq!(partition.terminated, expected_terminated); // Check state for last partition @@ -234,8 +228,7 @@ fn terminate_sectors_success_multiple_sectors_partitions_and_deadlines() { .load_deadline_mut(deadline_idx) .unwrap(); let partition = &deadline.partitions[&2]; - let expected_terminated: BoundedBTreeSet> = - BTreeSet::from([40]).try_into().unwrap(); + let expected_terminated = sector_set::(&[40]); assert_eq!(partition.terminated, expected_terminated); // Check state of second deadline @@ -246,8 +239,7 @@ fn terminate_sectors_success_multiple_sectors_partitions_and_deadlines() { .load_deadline_mut(deadline_idx) .unwrap(); let partition = &deadline.partitions[&0]; - let expected_terminated: BoundedBTreeSet> = - BTreeSet::from([3]).try_into().unwrap(); + let expected_terminated = sector_set::(&[3]); assert_eq!(partition.terminated, expected_terminated); // Check state for second partition @@ -256,8 +248,7 @@ fn terminate_sectors_success_multiple_sectors_partitions_and_deadlines() { .load_deadline_mut(deadline_idx) .unwrap(); let partition = &deadline.partitions[&1]; - let expected_terminated: BoundedBTreeSet> = - BTreeSet::from([23]).try_into().unwrap(); + let expected_terminated = sector_set::(&[23]); assert_eq!(partition.terminated, expected_terminated); }); } diff --git a/primitives/commitment/Cargo.toml b/primitives/commitment/Cargo.toml index c4fcd1ae7..675a57a6a 100644 --- a/primitives/commitment/Cargo.toml +++ b/primitives/commitment/Cargo.toml @@ -12,13 +12,15 @@ serde = ["dep:serde"] std = ["dep:filecoin-proofs"] [dependencies] -primitives-proofs.workspace = true - cid.workspace = true -sha2.workspace = true - +codec = { workspace = true, default-features = false, features = ["derive"] } filecoin-proofs = { optional = true, workspace = true } +primitives-proofs.workspace = true +scale-info = { workspace = true, default-features = false, features = ["derive"] } +sealed.workspace = true serde = { workspace = true, features = ["derive"], optional = true } +sha2.workspace = true +thiserror.workspace = true [dev-dependencies] rand = { workspace = true, features = ["std", "std_rng"] } diff --git a/primitives/commitment/src/commd.rs b/primitives/commitment/src/commd.rs index fd9dbac84..410dfe48a 100644 --- a/primitives/commitment/src/commd.rs +++ b/primitives/commitment/src/commd.rs @@ -7,7 +7,7 @@ use sha2::{Digest, Sha256}; use crate::{ piece::{PaddedPieceSize, PieceInfo, UnpaddedPieceSize}, - zero_piece_commitment, Commitment, CommitmentKind, NODE_SIZE, + CommD, CommP, Commitment, NODE_SIZE, }; // Ensure that the pieces are correct sizes @@ -38,13 +38,14 @@ fn ensure_piece_sizes( pub fn compute_unsealed_sector_commitment( sector_size: SectorSize, piece_infos: &[PieceInfo], -) -> Result { +) -> Result, CommDError> { let padded_sector_size = PaddedPieceSize::new(sector_size.bytes()).unwrap(); // In case of no pieces, return the piece zero commitment for the whole // sector size. if piece_infos.is_empty() { - return Ok(zero_piece_commitment(padded_sector_size)); + let piece_commitment = Commitment::::zero(padded_sector_size); + return Ok(Commitment::from(piece_commitment.raw())); } // Check if pieces are correct sizes. @@ -164,7 +165,7 @@ impl CommDPieceReduction { /// Finish the reduction of all pieces. Result is a data commitment for the /// pieces added. - fn finish(mut self, sector_size: SectorSize) -> Option { + fn finish(mut self, sector_size: SectorSize) -> Option> { // Add padding pieces to the end until the sector size is reached and we // have only a single piece left on the stack. loop { @@ -179,14 +180,14 @@ impl CommDPieceReduction { // Finally a single piece with the commitment that represents all // reduced pieces - Some(self.pieces.pop()?.commitment) + Some(Commitment::from(self.pieces.pop()?.commitment.raw())) } } /// Create a piece of specific size used as a padding. fn padding_piece(piece_size: PaddedPieceSize) -> PieceInfo { PieceInfo { - commitment: zero_piece_commitment(piece_size), + commitment: Commitment::::zero(piece_size), size: piece_size, } } @@ -206,7 +207,7 @@ fn join_piece_infos(left: PieceInfo, right: PieceInfo) -> Result::from(comm), size, }) } @@ -321,7 +322,7 @@ mod tests { .map(|(cid, size)| { let size = PaddedPieceSize::new(size).unwrap(); let cid = Cid::from_str(cid).unwrap(); - let commitment = Commitment::from_cid(&cid, CommitmentKind::Piece).unwrap(); + let commitment = Commitment::from_cid(&cid).unwrap(); PieceInfo { commitment, size } }) diff --git a/primitives/commitment/src/lib.rs b/primitives/commitment/src/lib.rs index 2b0ee0b00..096c32fb6 100644 --- a/primitives/commitment/src/lib.rs +++ b/primitives/commitment/src/lib.rs @@ -4,8 +4,13 @@ pub mod commd; pub mod piece; mod zero; +use core::{fmt::Display, marker::PhantomData}; + use cid::{multihash::Multihash, Cid}; +use codec::{Decode, Encode}; use primitives_proofs::RegisteredSealProof; +use scale_info::TypeInfo; +use sealed::sealed; use crate::piece::PaddedPieceSize; @@ -34,144 +39,193 @@ pub const SHA2_256_TRUNC254_PADDED: u64 = 0x1012; /// https://github.com/multiformats/multicodec/blob/badcfe56bb7e0bbb06b60d57565186cd6be1f932/table.csv#L537 pub const POSEIDON_BLS12_381_A1_FC1: u64 = 0xb401; -#[cfg_attr(feature = "serde", derive(::serde::Deserialize, ::serde::Serialize))] -#[derive(Debug, Clone, Copy, PartialEq, Eq)] -pub enum CommitmentKind { - // CommP - Piece commitment - Piece, - // CommD - Data commitment - Data, - // CommR - Replica commitment - Replica, +#[sealed] +pub trait CommitmentKind { + /// Returns the [Multicodec](https://github.com/multiformats/multicodec/blob/master/table.csv) code for the commitment kind. + fn multicodec() -> u64; + /// Returns the [Multihash](https://github.com/multiformats/multicodec/blob/master/table.csv) code for the commitment kind. + fn multihash() -> u64; } -impl CommitmentKind { - /// Returns the [Multicodec](https://github.com/multiformats/multicodec/blob/master/table.csv) code for the commitment kind. - fn multicodec(&self) -> u64 { - match self { - CommitmentKind::Piece | CommitmentKind::Data => FIL_COMMITMENT_UNSEALED, - CommitmentKind::Replica => FIL_COMMITMENT_SEALED, - } +/// Data commitment +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub struct CommD; + +#[sealed] +impl CommitmentKind for CommD { + fn multicodec() -> u64 { + FIL_COMMITMENT_UNSEALED } - /// Returns the [Multihash](https://github.com/multiformats/multicodec/blob/master/table.csv) code for the commitment kind. - fn multihash(&self) -> u64 { - match self { - CommitmentKind::Piece | CommitmentKind::Data => SHA2_256_TRUNC254_PADDED, - CommitmentKind::Replica => POSEIDON_BLS12_381_A1_FC1, - } + fn multihash() -> u64 { + SHA2_256_TRUNC254_PADDED } } -#[cfg_attr(feature = "serde", derive(::serde::Deserialize, ::serde::Serialize))] +/// Piece commitment #[derive(Debug, Clone, Copy, PartialEq, Eq)] -pub struct Commitment { - commitment: [u8; 32], - kind: CommitmentKind, -} +pub struct CommP; -impl Commitment { - pub fn new(commitment: [u8; 32], kind: CommitmentKind) -> Self { - Self { commitment, kind } +#[sealed] +impl CommitmentKind for CommP { + fn multicodec() -> u64 { + FIL_COMMITMENT_UNSEALED } - /// Create a new piece commitment. - pub fn piece(commitment: [u8; 32]) -> Self { - Self::new(commitment, CommitmentKind::Piece) + fn multihash() -> u64 { + SHA2_256_TRUNC254_PADDED } +} + +/// Replica commitment +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub struct CommR; - /// Create a new data commitment. - pub fn data(commitment: [u8; 32]) -> Self { - Self::new(commitment, CommitmentKind::Data) +#[sealed] +impl CommitmentKind for CommR { + fn multicodec() -> u64 { + FIL_COMMITMENT_SEALED } - /// Create a new replica commitment. - pub fn replica(commitment: [u8; 32]) -> Self { - Self::new(commitment, CommitmentKind::Replica) + fn multihash() -> u64 { + POSEIDON_BLS12_381_A1_FC1 } +} + +// TODO: Implement TypeInfo for this type so we can use it in pallets. +#[derive(Clone, Eq, PartialEq, TypeInfo, Encode, Decode, thiserror::Error)] +pub enum CommitmentError { + #[error("bytes not a valid cid")] + InvalidCidBytes, + #[error("invalid multicodec for commitment")] + InvalidMultiCodec, + #[error("invalid multihash for commitment")] + InvalidMultiHash, +} - /// Creates a new `Commitment` from bytes of a valid CID. - /// Returns an error if the bytes passed do not represent a valid commitment. - pub fn from_cid_bytes(bytes: &[u8], kind: CommitmentKind) -> Result { - let cid = Cid::try_from(bytes).map_err(|_| "bytes not a valid cid")?; - Self::from_cid(&cid, kind) +impl core::fmt::Debug for CommitmentError { + fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { + core::fmt::Display::fmt(self, f) + } +} + +#[cfg_attr(feature = "serde", derive(::serde::Deserialize, ::serde::Serialize))] +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub struct Commitment +where + Kind: CommitmentKind, +{ + raw: [u8; 32], + kind: PhantomData, +} + +impl Commitment +where + Kind: CommitmentKind, +{ + /// Creates a new `Commitment` from bytes of a valid CID. Returns an error + /// if the bytes passed do not represent a valid commitment. + pub fn from_cid_bytes(bytes: &[u8]) -> Result { + let cid = Cid::try_from(bytes).map_err(|_| CommitmentError::InvalidCidBytes)?; + Self::from_cid(&cid) } /// Creates a new `Commitment` from a CID. Returns an error if the CID /// passed does not represent a commitment kind. - pub fn from_cid(cid: &Cid, kind: CommitmentKind) -> Result { - let mut commitment = [0; 32]; - commitment.copy_from_slice(cid.hash().digest()); - - let multicodec = cid.codec(); - let multihash = cid.hash().code(); - - match kind { - CommitmentKind::Piece | CommitmentKind::Data => { - if multicodec != FIL_COMMITMENT_UNSEALED { - return Err("invalid multicodec for piece/data commitment"); - } - - if multihash != SHA2_256_TRUNC254_PADDED { - return Err("invalid multihash for piece/data commitment"); - } - } - CommitmentKind::Replica => { - if multicodec != FIL_COMMITMENT_SEALED { - return Err("invalid multicodec for replica commitment"); - } - - if multihash != POSEIDON_BLS12_381_A1_FC1 { - return Err("invalid multihash for replica commitment"); - } - } + pub fn from_cid(cid: &Cid) -> Result { + let mut raw = [0; 32]; + raw.copy_from_slice(cid.hash().digest()); + + // Check multicodec of the cid + if cid.codec() != Kind::multicodec() { + return Err(CommitmentError::InvalidMultiCodec); + } + + // Check multihash of the cid + if cid.hash().code() != Kind::multihash() { + return Err(CommitmentError::InvalidMultiHash); } - Ok(Self { commitment, kind }) + Ok(Self { + raw, + kind: PhantomData, + }) } /// Returns the raw commitment bytes. pub fn raw(&self) -> [u8; 32] { - self.commitment + self.raw } /// Converts the commitment to a CID. pub fn cid(&self) -> Cid { - let multihash = self.kind.multihash(); - let multicodec = self.kind.multicodec(); - let hash = Multihash::wrap(multihash, &self.commitment) + let multihash = Kind::multihash(); + let multicodec = Kind::multicodec(); + let hash = Multihash::wrap(multihash, &self.raw) .expect("multihash is large enough so it can wrap the commitment"); Cid::new_v1(multicodec, hash) } } -/// Returns a zero-piece commitment for a given piece size. -pub fn zero_piece_commitment(size: PaddedPieceSize) -> Commitment { - Commitment { - commitment: zero::zero_piece_commitment(size), - kind: CommitmentKind::Piece, +impl Display for Commitment +where + Kind: CommitmentKind, +{ + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.cid()) + } +} + +impl TryFrom for Commitment +where + Kind: CommitmentKind, +{ + type Error = CommitmentError; + + fn try_from(value: Cid) -> Result { + Self::from_cid(&value) + } +} + +impl From<[u8; 32]> for Commitment +where + Kind: CommitmentKind, +{ + fn from(value: [u8; 32]) -> Self { + Self { + raw: value, + kind: PhantomData, + } + } +} + +impl Commitment { + /// Returns a zero piece commitment for a given piece size. + pub fn zero(size: PaddedPieceSize) -> Self { + Commitment::from(zero::zero_piece_commitment(size)) } } -/// Return a zero data commitment for specific seal proof. -pub fn zero_data_commitment(seal_proof: RegisteredSealProof) -> Commitment { - let size = seal_proof.sector_size().bytes(); - let size = PaddedPieceSize::new(size).expect("sector size is a valid padded size"); +impl Commitment { + /// Return a zero data commitment for specific seal proof. + pub fn zero(seal_proof: RegisteredSealProof) -> Self { + let size = seal_proof.sector_size().bytes(); + let size = PaddedPieceSize::new(size).expect("sector size is a valid padded size"); - Commitment { - // Zero data commitment is the same as zero piece commitment of the same - // size. - commitment: zero::zero_piece_commitment(size), - kind: CommitmentKind::Data, + // Zero data commitment is the same as zero piece commitment of the + // same size. + Commitment::from(zero::zero_piece_commitment(size)) } } #[cfg(test)] mod tests { + use core::marker::PhantomData; + use cid::{multihash::Multihash, Cid}; use crate::{ - Commitment, CommitmentKind, FIL_COMMITMENT_SEALED, FIL_COMMITMENT_UNSEALED, + CommD, CommP, CommR, Commitment, FIL_COMMITMENT_SEALED, FIL_COMMITMENT_UNSEALED, POSEIDON_BLS12_381_A1_FC1, SHA2_256_TRUNC254_PADDED, }; @@ -181,40 +235,40 @@ mod tests { #[test] fn comm_d_to_cid() { - let comm = rand_comm(); + let raw = rand_comm(); - let cid = Commitment::new(comm, CommitmentKind::Data).cid(); + let cid = Commitment::::from(raw).cid(); assert_eq!(cid.codec(), FIL_COMMITMENT_UNSEALED); assert_eq!(cid.hash().code(), SHA2_256_TRUNC254_PADDED); - assert_eq!(cid.hash().digest(), comm); + assert_eq!(cid.hash().digest(), raw); } #[test] fn cid_to_comm_d() { - let comm = rand_comm(); + let raw = rand_comm(); // Correct hash format - let mh = Multihash::wrap(SHA2_256_TRUNC254_PADDED, &comm).unwrap(); + let mh = Multihash::wrap(SHA2_256_TRUNC254_PADDED, &raw).unwrap(); let c = Cid::new_v1(FIL_COMMITMENT_UNSEALED, mh); - let commitment = Commitment::from_cid(&c, CommitmentKind::Data).unwrap(); - assert_eq!(commitment.raw(), comm); + let commitment = Commitment::::from_cid(&c).unwrap(); + assert_eq!(commitment.raw(), raw); // Should fail with incorrect codec let c = Cid::new_v1(FIL_COMMITMENT_SEALED, mh); - let commitment = Commitment::from_cid(&c, CommitmentKind::Data); + let commitment = Commitment::::from_cid(&c); assert!(commitment.is_err()); // Incorrect hash format - let mh = Multihash::wrap(0x9999, &comm).unwrap(); + let mh = Multihash::wrap(0x9999, &raw).unwrap(); let c = Cid::new_v1(FIL_COMMITMENT_UNSEALED, mh); - let commitment = Commitment::from_cid(&c, CommitmentKind::Data); + let commitment = Commitment::::from_cid(&c); assert!(commitment.is_err()); } #[test] fn comm_r_to_cid() { let comm = rand_comm(); - let cid = Commitment::new(comm, CommitmentKind::Replica).cid(); + let cid = Commitment::::from(comm).cid(); assert_eq!(cid.codec(), FIL_COMMITMENT_SEALED); assert_eq!(cid.hash().code(), POSEIDON_BLS12_381_A1_FC1); @@ -228,52 +282,52 @@ mod tests { // Correct hash format let mh = Multihash::wrap(POSEIDON_BLS12_381_A1_FC1, &comm).unwrap(); let c = Cid::new_v1(FIL_COMMITMENT_SEALED, mh); - let commitment = Commitment::from_cid(&c, CommitmentKind::Replica).unwrap(); + let commitment = Commitment::::from_cid(&c).unwrap(); assert_eq!(commitment.raw(), comm); // Should fail with incorrect codec let c = Cid::new_v1(FIL_COMMITMENT_UNSEALED, mh); - let commitment = Commitment::from_cid(&c, CommitmentKind::Replica); + let commitment = Commitment::::from_cid(&c); assert!(commitment.is_err()); // Incorrect hash format let mh = Multihash::wrap(0x9999, &comm).unwrap(); let c = Cid::new_v1(FIL_COMMITMENT_SEALED, mh); - let commitment = Commitment::from_cid(&c, CommitmentKind::Replica); + let commitment = Commitment::::from_cid(&c); assert!(commitment.is_err()); } #[test] fn symmetric_conversion() { - let comm = rand_comm(); + let raw = rand_comm(); // piece - let cid = Commitment::new(comm, CommitmentKind::Piece).cid(); + let cid = Commitment::::from(raw).cid(); assert_eq!( - Commitment::from_cid(&cid, CommitmentKind::Piece).unwrap(), - Commitment { - commitment: comm, - kind: CommitmentKind::Piece + Commitment::::from_cid(&cid).unwrap(), + Commitment:: { + raw, + kind: PhantomData } ); // data - let cid = Commitment::new(comm, CommitmentKind::Data).cid(); + let cid = Commitment::::from(raw).cid(); assert_eq!( - Commitment::from_cid(&cid, CommitmentKind::Data).unwrap(), - Commitment { - commitment: comm, - kind: CommitmentKind::Data + Commitment::::from_cid(&cid).unwrap(), + Commitment:: { + raw, + kind: PhantomData } ); // replica - let cid = Commitment::new(comm, CommitmentKind::Replica).cid(); + let cid = Commitment::::from(raw).cid(); assert_eq!( - Commitment::from_cid(&cid, CommitmentKind::Replica).unwrap(), - Commitment { - commitment: comm, - kind: CommitmentKind::Replica + Commitment::::from_cid(&cid).unwrap(), + Commitment:: { + raw, + kind: PhantomData } ); } diff --git a/primitives/commitment/src/piece.rs b/primitives/commitment/src/piece.rs index 287b3cea2..7ef3b9595 100644 --- a/primitives/commitment/src/piece.rs +++ b/primitives/commitment/src/piece.rs @@ -1,41 +1,36 @@ use core::ops::{Add, AddAssign, Deref}; -use crate::{Commitment, NODE_SIZE}; +use codec::{Decode, Encode}; +use scale_info::TypeInfo; + +use crate::{CommP, Commitment, NODE_SIZE}; /// Piece info contains piece commitment and piece size. #[cfg_attr(feature = "serde", derive(::serde::Deserialize, ::serde::Serialize))] #[derive(PartialEq, Debug, Eq, Clone, Copy)] pub struct PieceInfo { /// Piece commitment - pub commitment: Commitment, + pub commitment: Commitment, /// Piece size pub size: PaddedPieceSize, } #[cfg(feature = "std")] -impl PieceInfo { - /// Convert a [`filecoin_proofs::PieceInfo`] into a [`PieceInfo`]. - /// - /// With some generics trickery we could move the CommitmentKind to a compile-time thing - /// and further get more safety out of the Commitment type; additionally, this method - /// could be turned into a `from`. - pub fn from_filecoin_piece_info( - piece_info: filecoin_proofs::PieceInfo, - kind: crate::CommitmentKind, - ) -> Self { +impl From for PieceInfo { + fn from(piece_info: filecoin_proofs::PieceInfo) -> Self { Self { - commitment: Commitment::new(piece_info.commitment, kind), + commitment: Commitment::::from(piece_info.commitment), size: PaddedPieceSize::from_arbitrary_size(piece_info.size.0), } } } #[cfg(feature = "std")] -impl Into for PieceInfo { - fn into(self) -> filecoin_proofs::PieceInfo { +impl From for filecoin_proofs::PieceInfo { + fn from(value: PieceInfo) -> Self { filecoin_proofs::PieceInfo { - commitment: self.commitment.commitment, - size: filecoin_proofs::UnpaddedBytesAmount(self.size.unpadded().0), + commitment: value.commitment.raw, + size: filecoin_proofs::UnpaddedBytesAmount(value.size.unpadded().0), } } } @@ -108,6 +103,22 @@ impl Into for UnpaddedPieceSize { } } +#[derive(Clone, Eq, PartialEq, TypeInfo, Encode, Decode, thiserror::Error)] +pub enum PaddedPieceSizeError { + #[error("minimum piece size is 128 bytes")] + SizeTooSmall, + #[error("padded piece size must be a power of 2")] + SizeNotPowerOfTwo, + #[error("padded_piece_size is not multiple of NODE_SIZE")] + NotAMultipleOfNodeSize, +} + +impl core::fmt::Debug for PaddedPieceSizeError { + fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { + core::fmt::Display::fmt(self, f) + } +} + /// Size of a piece in bytes with padding. The size is always a power of two /// number. #[cfg_attr(feature = "serde", derive(::serde::Deserialize, ::serde::Serialize))] @@ -120,17 +131,17 @@ impl PaddedPieceSize { /// Initialize new padded piece size. Error is returned if the size is /// invalid. - pub fn new(size: u64) -> Result { + pub fn new(size: u64) -> Result { if size < 128 { - return Err("minimum piece size is 128 bytes"); + return Err(PaddedPieceSizeError::SizeTooSmall); } if size.count_ones() != 1 { - return Err("padded piece size must be a power of 2"); + return Err(PaddedPieceSizeError::SizeNotPowerOfTwo); } if size % NODE_SIZE as u64 != 0 { - return Err("padded_piece_size is not multiple of NODE_SIZE"); + return Err(PaddedPieceSizeError::NotAMultipleOfNodeSize); } Ok(Self(size)) @@ -205,6 +216,7 @@ impl Into for PaddedPieceSize { filecoin_proofs::PaddedBytesAmount(self.0) } } + #[cfg(test)] mod tests { use super::*; @@ -220,7 +232,7 @@ mod tests { fn invalid_piece_checks() { assert_eq!( PaddedPieceSize::new(127), - Err("minimum piece size is 128 bytes") + Err(PaddedPieceSizeError::SizeTooSmall) ); assert_eq!( UnpaddedPieceSize::new(126), @@ -228,7 +240,7 @@ mod tests { ); assert_eq!( PaddedPieceSize::new(0b10000001), - Err("padded piece size must be a power of 2") + Err(PaddedPieceSizeError::SizeNotPowerOfTwo) ); assert_eq!( UnpaddedPieceSize::new(0b1110111000), diff --git a/primitives/proofs/src/types.rs b/primitives/proofs/src/types.rs index 0fb375ec3..8099825fa 100644 --- a/primitives/proofs/src/types.rs +++ b/primitives/proofs/src/types.rs @@ -1,14 +1,159 @@ -use codec::{Decode, Encode}; -use scale_decode::DecodeAsType; +use core::{fmt::Display, marker::PhantomData}; + +use codec::{Decode, Encode, MaxEncodedLen}; +use scale_decode::{ + visitor::{self}, + DecodeAsType, ToString, TypeResolver, Visitor, +}; use scale_encode::EncodeAsType; use scale_info::TypeInfo; use sp_runtime::RuntimeDebug; pub type DealId = u64; -// TODO(#129,@cernicc,11/07/2024): Refactor to new type. Sector number should -// always be between 0 and SECTORS_MAX (32 << 20). -pub type SectorNumber = u64; +/// Max number of sectors. +/// +pub const MAX_SECTORS: u32 = 32 << 20; + +/// SectorNumber is a unique identifier for a sector. +#[derive( + Clone, + Copy, + PartialEq, + Ord, + PartialOrd, + Eq, + Encode, + EncodeAsType, + TypeInfo, + RuntimeDebug, + MaxEncodedLen, +)] +#[cfg_attr(feature = "serde", derive(::serde::Serialize))] +pub struct SectorNumber(u32); + +impl SectorNumber { + /// Creates a new `SectorNumber` instance. + /// + /// Returns a `Result` containing the new `SectorNumber` if valid, + /// or an error message if the sector number exceeds `MAX_SECTORS`. + pub fn new(sector_number: u32) -> Result { + if sector_number > MAX_SECTORS { + return Err("Sector number is too large"); + } + + Ok(Self(sector_number)) + } +} + +#[cfg(feature = "serde")] +impl<'de> ::serde::Deserialize<'de> for SectorNumber { + fn deserialize(deserializer: D) -> Result + where + D: ::serde::Deserializer<'de>, + { + let value = u32::deserialize(deserializer)?; + SectorNumber::new(value).map_err(|_| { + ::serde::de::Error::invalid_value( + ::serde::de::Unexpected::Unsigned(value as u64), + &"an integer between 0 and MAX_SECTORS", + ) + }) + } +} + +impl Decode for SectorNumber { + fn decode(input: &mut I) -> Result { + let value = u32::decode(input)?; + SectorNumber::new(value).map_err(|_| "Sector number is too large".into()) + } +} + +// Implement the `Visitor` trait to define how to go from SCALE +// values into this type. +pub struct SectorNumberVisitor(PhantomData); + +impl SectorNumberVisitor { + fn new() -> Self { + Self(PhantomData) + } +} + +impl Visitor for SectorNumberVisitor { + type Value<'scale, 'resolver> = SectorNumber; + type Error = scale_decode::Error; + type TypeResolver = R; + + fn visit_u32<'scale, 'resolver>( + self, + value: u32, + _type_id: visitor::TypeIdFor, + ) -> Result, Self::Error> { + SectorNumber::new(value).map_err(|_| { + scale_decode::Error::new(scale_decode::error::ErrorKind::NumberOutOfRange { + value: value.to_string(), + }) + }) + } + + fn visit_composite<'scale, 'resolver>( + self, + value: &mut visitor::types::Composite<'scale, 'resolver, Self::TypeResolver>, + _type_id: visitor::TypeIdFor, + ) -> Result, Self::Error> { + // `visit_composite` is called when the type is part of some other + // composite type. + match value.decode_item(self) { + Some(item) => item, + None => { + return Err(scale_decode::Error::new( + scale_decode::error::ErrorKind::CannotFindField { + name: "".to_string(), + }, + )) + } + } + } +} + +impl scale_decode::IntoVisitor for SectorNumber { + type AnyVisitor = SectorNumberVisitor; + fn into_visitor() -> Self::AnyVisitor { + SectorNumberVisitor::new() + } +} + +impl From for SectorNumber { + fn from(value: u16) -> Self { + SectorNumber(value as u32) + } +} + +impl TryFrom for SectorNumber { + type Error = &'static str; + + fn try_from(value: u32) -> Result { + Self::new(value) + } +} + +impl From for u32 { + fn from(value: SectorNumber) -> Self { + value.0 + } +} + +impl From for u64 { + fn from(value: SectorNumber) -> Self { + value.0 as u64 + } +} + +impl Display for SectorNumber { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.0) + } +} /// Byte representation of the entity that was signing the proof. /// It must match the ProverId used for Proving. diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index d42d16748..800f20769 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -20,12 +20,13 @@ substrate-wasm-builder = { workspace = true, optional = true } [dependencies] # Local Pallets +pallet-faucet = { workspace = true, default-features = false } pallet-market = { workspace = true, default-features = false } pallet-proofs = { workspace = true, default-features = false } pallet-randomness = { workspace = true, default-features = false } pallet-storage-provider = { workspace = true, default-features = false } -codec = { workspace = true, default-features = false, features = ["derive"] } +codec = { workspace = true, default-features = false, features = ["chain-error", "derive"] } docify = { workspace = true } hex-literal = { workspace = true, optional = true } log = { workspace = true } diff --git a/runtime/src/apis.rs b/runtime/src/apis.rs deleted file mode 100644 index cbe88ea37..000000000 --- a/runtime/src/apis.rs +++ /dev/null @@ -1,306 +0,0 @@ -// This is free and unencumbered software released into the public domain. -// -// Anyone is free to copy, modify, publish, use, compile, sell, or -// distribute this software, either in source code form or as a compiled -// binary, for any purpose, commercial or non-commercial, and by any -// means. -// -// In jurisdictions that recognize copyright laws, the author or authors -// of this software dedicate any and all copyright interest in the -// software to the public domain. We make this dedication for the benefit -// of the public at large and to the detriment of our heirs and -// successors. We intend this dedication to be an overt act of -// relinquishment in perpetuity of all present and future rights to this -// software under copyright law. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -// IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR -// OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, -// ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -// OTHER DEALINGS IN THE SOFTWARE. -// -// For more information, please refer to - -// External crates imports -use alloc::vec::Vec; - -use frame_support::{ - genesis_builder_helper::{build_state, get_preset}, - weights::Weight, -}; -use pallet_aura::Authorities; -use sp_api::impl_runtime_apis; -use sp_consensus_aura::sr25519::AuthorityId as AuraId; -use sp_core::{crypto::KeyTypeId, OpaqueMetadata}; -use sp_runtime::{ - traits::Block as BlockT, - transaction_validity::{TransactionSource, TransactionValidity}, - ApplyExtrinsicResult, -}; -use sp_version::RuntimeVersion; - -// Local module imports -use super::{ - AccountId, Balance, Block, ConsensusHook, Executive, InherentDataExt, Nonce, ParachainSystem, - Runtime, RuntimeCall, RuntimeGenesisConfig, SessionKeys, System, TransactionPayment, - SLOT_DURATION, VERSION, -}; - -// we move some impls outside so we can easily use them with `docify`. -impl Runtime { - #[docify::export] - fn impl_slot_duration() -> sp_consensus_aura::SlotDuration { - sp_consensus_aura::SlotDuration::from_millis(SLOT_DURATION) - } - - #[docify::export] - fn impl_can_build_upon( - included_hash: ::Hash, - slot: cumulus_primitives_aura::Slot, - ) -> bool { - ConsensusHook::can_build_upon(included_hash, slot) - } -} - -impl_runtime_apis! { - impl sp_consensus_aura::AuraApi for Runtime { - fn slot_duration() -> sp_consensus_aura::SlotDuration { - Runtime::impl_slot_duration() - } - - fn authorities() -> Vec { - Authorities::::get().into_inner() - } - } - - impl cumulus_primitives_aura::AuraUnincludedSegmentApi for Runtime { - fn can_build_upon( - included_hash: ::Hash, - slot: cumulus_primitives_aura::Slot, - ) -> bool { - Runtime::impl_can_build_upon(included_hash, slot) - } - } - - impl sp_api::Core for Runtime { - fn version() -> RuntimeVersion { - VERSION - } - - fn execute_block(block: Block) { - Executive::execute_block(block) - } - - fn initialize_block(header: &::Header) -> sp_runtime::ExtrinsicInclusionMode { - Executive::initialize_block(header) - } - } - - impl sp_api::Metadata for Runtime { - fn metadata() -> OpaqueMetadata { - OpaqueMetadata::new(Runtime::metadata().into()) - } - - fn metadata_at_version(version: u32) -> Option { - Runtime::metadata_at_version(version) - } - - fn metadata_versions() -> Vec { - Runtime::metadata_versions() - } - } - - impl sp_block_builder::BlockBuilder for Runtime { - fn apply_extrinsic(extrinsic: ::Extrinsic) -> ApplyExtrinsicResult { - Executive::apply_extrinsic(extrinsic) - } - - fn finalize_block() -> ::Header { - Executive::finalize_block() - } - - fn inherent_extrinsics(data: sp_inherents::InherentData) -> Vec<::Extrinsic> { - data.create_extrinsics() - } - - fn check_inherents( - block: Block, - data: sp_inherents::InherentData, - ) -> sp_inherents::CheckInherentsResult { - data.check_extrinsics(&block) - } - } - - impl sp_transaction_pool::runtime_api::TaggedTransactionQueue for Runtime { - fn validate_transaction( - source: TransactionSource, - tx: ::Extrinsic, - block_hash: ::Hash, - ) -> TransactionValidity { - Executive::validate_transaction(source, tx, block_hash) - } - } - - impl sp_offchain::OffchainWorkerApi for Runtime { - fn offchain_worker(header: &::Header) { - Executive::offchain_worker(header) - } - } - - impl sp_session::SessionKeys for Runtime { - fn generate_session_keys(seed: Option>) -> Vec { - SessionKeys::generate(seed) - } - - fn decode_session_keys( - encoded: Vec, - ) -> Option, KeyTypeId)>> { - SessionKeys::decode_into_raw_public_keys(&encoded) - } - } - - impl frame_system_rpc_runtime_api::AccountNonceApi for Runtime { - fn account_nonce(account: AccountId) -> Nonce { - System::account_nonce(account) - } - } - - impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi for Runtime { - fn query_info( - uxt: ::Extrinsic, - len: u32, - ) -> pallet_transaction_payment_rpc_runtime_api::RuntimeDispatchInfo { - TransactionPayment::query_info(uxt, len) - } - fn query_fee_details( - uxt: ::Extrinsic, - len: u32, - ) -> pallet_transaction_payment::FeeDetails { - TransactionPayment::query_fee_details(uxt, len) - } - fn query_weight_to_fee(weight: Weight) -> Balance { - TransactionPayment::weight_to_fee(weight) - } - fn query_length_to_fee(length: u32) -> Balance { - TransactionPayment::length_to_fee(length) - } - } - - impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentCallApi - for Runtime - { - fn query_call_info( - call: RuntimeCall, - len: u32, - ) -> pallet_transaction_payment::RuntimeDispatchInfo { - TransactionPayment::query_call_info(call, len) - } - fn query_call_fee_details( - call: RuntimeCall, - len: u32, - ) -> pallet_transaction_payment::FeeDetails { - TransactionPayment::query_call_fee_details(call, len) - } - fn query_weight_to_fee(weight: Weight) -> Balance { - TransactionPayment::weight_to_fee(weight) - } - fn query_length_to_fee(length: u32) -> Balance { - TransactionPayment::length_to_fee(length) - } - } - - impl cumulus_primitives_core::CollectCollationInfo for Runtime { - fn collect_collation_info(header: &::Header) -> cumulus_primitives_core::CollationInfo { - ParachainSystem::collect_collation_info(header) - } - } - - #[cfg(feature = "try-runtime")] - impl frame_try_runtime::TryRuntime for Runtime { - fn on_runtime_upgrade(checks: frame_try_runtime::UpgradeCheckSelect) -> (Weight, Weight) { - use super::configs::RuntimeBlockWeights; - - let weight = Executive::try_runtime_upgrade(checks).unwrap(); - (weight, RuntimeBlockWeights::get().max_block) - } - - fn execute_block( - block: Block, - state_root_check: bool, - signature_check: bool, - select: frame_try_runtime::TryStateSelect, - ) -> Weight { - // NOTE: intentional unwrap: we don't want to propagate the error backwards, and want to - // have a backtrace here. - Executive::try_execute_block(block, state_root_check, signature_check, select).unwrap() - } - } - - #[cfg(feature = "runtime-benchmarks")] - impl frame_benchmarking::Benchmark for Runtime { - fn benchmark_metadata(extra: bool) -> ( - Vec, - Vec, - ) { - use frame_benchmarking::{Benchmarking, BenchmarkList}; - use frame_support::traits::StorageInfoTrait; - use frame_system_benchmarking::Pallet as SystemBench; - use cumulus_pallet_session_benchmarking::Pallet as SessionBench; - use super::*; - - let mut list = Vec::::new(); - list_benchmarks!(list, extra); - - let storage_info = AllPalletsWithSystem::storage_info(); - (list, storage_info) - } - - fn dispatch_benchmark( - config: frame_benchmarking::BenchmarkConfig - ) -> Result, sp_runtime::RuntimeString> { - use frame_benchmarking::{BenchmarkError, Benchmarking, BenchmarkBatch}; - use super::*; - - use frame_system_benchmarking::Pallet as SystemBench; - impl frame_system_benchmarking::Config for Runtime { - fn setup_set_code_requirements(code: &Vec) -> Result<(), BenchmarkError> { - ParachainSystem::initialize_for_set_code_benchmark(code.len() as u32); - Ok(()) - } - - fn verify_set_code() { - System::assert_last_event(cumulus_pallet_parachain_system::Event::::ValidationFunctionStored.into()); - } - } - - use cumulus_pallet_session_benchmarking::Pallet as SessionBench; - impl cumulus_pallet_session_benchmarking::Config for Runtime {} - - use frame_support::traits::WhitelistedStorageKeys; - let whitelist = AllPalletsWithSystem::whitelisted_storage_keys(); - - let mut batches = Vec::::new(); - let params = (&config, &whitelist); - add_benchmarks!(params, batches); - - if batches.is_empty() { return Err("Benchmark not found for this pallet.".into()) } - Ok(batches) - } - } - - impl sp_genesis_builder::GenesisBuilder for Runtime { - fn build_state(config: Vec) -> sp_genesis_builder::Result { - build_state::(config) - } - - fn get_preset(id: &Option) -> Option> { - get_preset::(id, |_| None) - } - - fn preset_names() -> Vec { - Default::default() - } - } -} diff --git a/runtime/src/configs/mod.rs b/runtime/src/configs/mod.rs index 727d57946..e881700ab 100644 --- a/runtime/src/configs/mod.rs +++ b/runtime/src/configs/mod.rs @@ -368,6 +368,10 @@ parameter_types! { // Randomness pallet pub const CleanupInterval: BlockNumber = DAYS; pub const SeedAgeLimit: BlockNumber = 30 * DAYS; + + // Faucet pallet + pub const FaucetDripAmount: Balance = 10_000_000_000_000; + pub const FaucetDripDelay: BlockNumber = DAYS; } impl pallet_storage_provider::Config for Runtime { @@ -418,6 +422,14 @@ impl pallet_proofs::Config for Runtime { type RuntimeEvent = RuntimeEvent; } +#[cfg(feature = "testnet")] +impl pallet_faucet::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type Currency = Balances; + type FaucetDripAmount = FaucetDripAmount; + type FaucetDripDelay = FaucetDripDelay; +} + /// Config for insecure randomness impl pallet_insecure_randomness_collective_flip::Config for Runtime {} @@ -434,20 +446,27 @@ impl pallet_randomness::Config for Runtime { #[cfg(feature = "testnet")] mod randomness_source_testnet { + use codec::Decode; use frame_support::traits::Randomness; use frame_system::{pallet_prelude::BlockNumberFor, Config, Pallet}; - use sp_runtime::traits::Hash; + use sp_runtime::traits::TrailingZeroInput; use sp_std::marker::PhantomData; - /// Randomness source that always returns same random value. + /// Randomness source that always returns same random value based on the + /// subject used. + /// /// ! USE THIS ONLY IN TESTNET ! pub struct PredictableRandomnessSource(PhantomData); - impl Randomness> for PredictableRandomnessSource { - fn random(_: &[u8]) -> (T::Hash, BlockNumberFor) { + impl Randomness> for PredictableRandomnessSource + where + Output: Decode + Default, + T: Config, + { + fn random(subject: &[u8]) -> (Output, BlockNumberFor) { ( - T::Hashing::hash(&[]), + Output::decode(&mut TrailingZeroInput::new(subject)).unwrap_or_default(), // This means the the randomness can be used immediately. - >::block_number(), + Pallet::::block_number(), ) } } diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index c3bc7c719..0516ca889 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -6,7 +6,6 @@ #[cfg(feature = "std")] include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); -pub mod apis; #[cfg(feature = "runtime-benchmarks")] mod benchmarks; mod configs; @@ -15,18 +14,25 @@ mod weights; extern crate alloc; use alloc::vec::Vec; -use frame_support::weights::{ - constants::WEIGHT_REF_TIME_PER_SECOND, Weight, WeightToFeeCoefficient, WeightToFeeCoefficients, - WeightToFeePolynomial, +use frame_support::{ + genesis_builder_helper::{build_state, get_preset}, + weights::{ + constants::WEIGHT_REF_TIME_PER_SECOND, Weight, WeightToFeeCoefficient, + WeightToFeeCoefficients, WeightToFeePolynomial, + }, }; +use pallet_aura::Authorities; use smallvec::smallvec; +use sp_api::impl_runtime_apis; pub use sp_consensus_aura::sr25519::AuthorityId as AuraId; +use sp_core::{crypto::KeyTypeId, OpaqueMetadata}; #[cfg(any(feature = "std", test))] pub use sp_runtime::BuildStorage; use sp_runtime::{ create_runtime_str, generic, impl_opaque_keys, - traits::{BlakeTwo256, IdentifyAccount, Verify}, - MultiSignature, + traits::{BlakeTwo256, Block as BlockT, IdentifyAccount, Verify}, + transaction_validity::{TransactionSource, TransactionValidity}, + ApplyExtrinsicResult, MultiSignature, }; pub use sp_runtime::{MultiAddress, Perbill, Permill}; #[cfg(feature = "std")] @@ -157,7 +163,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { authoring_version: 1, spec_version: 1, impl_version: 0, - apis: apis::RUNTIME_API_VERSIONS, + apis: RUNTIME_API_VERSIONS, transaction_version: 1, state_version: 1, }; @@ -238,6 +244,7 @@ pub fn native_version() -> NativeVersion { } // Create the runtime by composing the FRAME pallets that were previously configured. +#[cfg(not(feature = "testnet"))] #[frame_support::runtime] mod runtime { #[runtime::runtime] @@ -308,8 +315,339 @@ mod runtime { pub type Randomness = pallet_randomness; } +// Create the runtime by composing the FRAME pallets that were previously configured. +#[cfg(feature = "testnet")] +#[frame_support::runtime] +mod runtime { + #[runtime::runtime] + #[runtime::derive( + RuntimeCall, + RuntimeEvent, + RuntimeError, + RuntimeOrigin, + RuntimeFreezeReason, + RuntimeHoldReason, + RuntimeSlashReason, + RuntimeLockId, + RuntimeTask + )] + pub struct Runtime; + + #[runtime::pallet_index(0)] + pub type System = frame_system; + #[runtime::pallet_index(1)] + pub type ParachainSystem = cumulus_pallet_parachain_system; + #[runtime::pallet_index(2)] + pub type Timestamp = pallet_timestamp; + #[runtime::pallet_index(3)] + pub type ParachainInfo = parachain_info; + // Temporary. Will be removed after we switch to babe + #[runtime::pallet_index(4)] + pub type RandomnessSource = pallet_insecure_randomness_collective_flip; + + // Monetary stuff. + #[runtime::pallet_index(10)] + pub type Balances = pallet_balances; + #[runtime::pallet_index(11)] + pub type TransactionPayment = pallet_transaction_payment; + + // Governance + #[runtime::pallet_index(15)] + pub type Sudo = pallet_sudo; + + // Collator support. The order of these 4 are important and shall not change. + #[runtime::pallet_index(20)] + pub type Authorship = pallet_authorship; + #[runtime::pallet_index(21)] + pub type CollatorSelection = pallet_collator_selection; + #[runtime::pallet_index(22)] + pub type Session = pallet_session; + #[runtime::pallet_index(23)] + pub type Aura = pallet_aura; + #[runtime::pallet_index(24)] + pub type AuraExt = cumulus_pallet_aura_ext; + + // XCM helpers. + #[runtime::pallet_index(30)] + pub type XcmpQueue = cumulus_pallet_xcmp_queue; + #[runtime::pallet_index(31)] + pub type PolkadotXcm = pallet_xcm; + #[runtime::pallet_index(32)] + pub type CumulusXcm = cumulus_pallet_xcm; + #[runtime::pallet_index(33)] + pub type MessageQueue = pallet_message_queue; + + #[runtime::pallet_index(34)] + pub type StorageProvider = pallet_storage_provider::pallet; + #[runtime::pallet_index(35)] + pub type Market = pallet_market; + #[runtime::pallet_index(36)] + pub type Proofs = pallet_proofs; + #[runtime::pallet_index(37)] + pub type Randomness = pallet_randomness; + #[runtime::pallet_index(38)] + pub type Faucet = pallet_faucet; +} + #[docify::export(register_validate_block)] cumulus_pallet_parachain_system::register_validate_block! { Runtime = Runtime, BlockExecutor = cumulus_pallet_aura_ext::BlockExecutor::, } + +// we move some impls outside so we can easily use them with `docify`. +impl Runtime { + #[docify::export] + fn impl_slot_duration() -> sp_consensus_aura::SlotDuration { + sp_consensus_aura::SlotDuration::from_millis(SLOT_DURATION) + } + + #[docify::export] + fn impl_can_build_upon( + included_hash: ::Hash, + slot: cumulus_primitives_aura::Slot, + ) -> bool { + ConsensusHook::can_build_upon(included_hash, slot) + } +} + +impl_runtime_apis! { + impl sp_consensus_aura::AuraApi for Runtime { + fn slot_duration() -> sp_consensus_aura::SlotDuration { + Runtime::impl_slot_duration() + } + + fn authorities() -> Vec { + Authorities::::get().into_inner() + } + } + + impl cumulus_primitives_aura::AuraUnincludedSegmentApi for Runtime { + fn can_build_upon( + included_hash: ::Hash, + slot: cumulus_primitives_aura::Slot, + ) -> bool { + Runtime::impl_can_build_upon(included_hash, slot) + } + } + + impl sp_api::Core for Runtime { + fn version() -> RuntimeVersion { + VERSION + } + + fn execute_block(block: Block) { + Executive::execute_block(block) + } + + fn initialize_block(header: &::Header) -> sp_runtime::ExtrinsicInclusionMode { + Executive::initialize_block(header) + } + } + + impl sp_api::Metadata for Runtime { + fn metadata() -> OpaqueMetadata { + OpaqueMetadata::new(Runtime::metadata().into()) + } + + fn metadata_at_version(version: u32) -> Option { + Runtime::metadata_at_version(version) + } + + fn metadata_versions() -> Vec { + Runtime::metadata_versions() + } + } + + impl sp_block_builder::BlockBuilder for Runtime { + fn apply_extrinsic(extrinsic: ::Extrinsic) -> ApplyExtrinsicResult { + Executive::apply_extrinsic(extrinsic) + } + + fn finalize_block() -> ::Header { + Executive::finalize_block() + } + + fn inherent_extrinsics(data: sp_inherents::InherentData) -> Vec<::Extrinsic> { + data.create_extrinsics() + } + + fn check_inherents( + block: Block, + data: sp_inherents::InherentData, + ) -> sp_inherents::CheckInherentsResult { + data.check_extrinsics(&block) + } + } + + impl sp_transaction_pool::runtime_api::TaggedTransactionQueue for Runtime { + fn validate_transaction( + source: TransactionSource, + tx: ::Extrinsic, + block_hash: ::Hash, + ) -> TransactionValidity { + Executive::validate_transaction(source, tx, block_hash) + } + } + + impl sp_offchain::OffchainWorkerApi for Runtime { + fn offchain_worker(header: &::Header) { + Executive::offchain_worker(header) + } + } + + impl sp_session::SessionKeys for Runtime { + fn generate_session_keys(seed: Option>) -> Vec { + SessionKeys::generate(seed) + } + + fn decode_session_keys( + encoded: Vec, + ) -> Option, KeyTypeId)>> { + SessionKeys::decode_into_raw_public_keys(&encoded) + } + } + + impl frame_system_rpc_runtime_api::AccountNonceApi for Runtime { + fn account_nonce(account: AccountId) -> Nonce { + System::account_nonce(account) + } + } + + impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi for Runtime { + fn query_info( + uxt: ::Extrinsic, + len: u32, + ) -> pallet_transaction_payment_rpc_runtime_api::RuntimeDispatchInfo { + TransactionPayment::query_info(uxt, len) + } + fn query_fee_details( + uxt: ::Extrinsic, + len: u32, + ) -> pallet_transaction_payment::FeeDetails { + TransactionPayment::query_fee_details(uxt, len) + } + fn query_weight_to_fee(weight: Weight) -> Balance { + TransactionPayment::weight_to_fee(weight) + } + fn query_length_to_fee(length: u32) -> Balance { + TransactionPayment::length_to_fee(length) + } + } + + impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentCallApi + for Runtime + { + fn query_call_info( + call: RuntimeCall, + len: u32, + ) -> pallet_transaction_payment::RuntimeDispatchInfo { + TransactionPayment::query_call_info(call, len) + } + fn query_call_fee_details( + call: RuntimeCall, + len: u32, + ) -> pallet_transaction_payment::FeeDetails { + TransactionPayment::query_call_fee_details(call, len) + } + fn query_weight_to_fee(weight: Weight) -> Balance { + TransactionPayment::weight_to_fee(weight) + } + fn query_length_to_fee(length: u32) -> Balance { + TransactionPayment::length_to_fee(length) + } + } + + impl cumulus_primitives_core::CollectCollationInfo for Runtime { + fn collect_collation_info(header: &::Header) -> cumulus_primitives_core::CollationInfo { + ParachainSystem::collect_collation_info(header) + } + } + + #[cfg(feature = "try-runtime")] + impl frame_try_runtime::TryRuntime for Runtime { + fn on_runtime_upgrade(checks: frame_try_runtime::UpgradeCheckSelect) -> (Weight, Weight) { + use super::configs::RuntimeBlockWeights; + + let weight = Executive::try_runtime_upgrade(checks).unwrap(); + (weight, RuntimeBlockWeights::get().max_block) + } + + fn execute_block( + block: Block, + state_root_check: bool, + signature_check: bool, + select: frame_try_runtime::TryStateSelect, + ) -> Weight { + // NOTE: intentional unwrap: we don't want to propagate the error backwards, and want to + // have a backtrace here. + Executive::try_execute_block(block, state_root_check, signature_check, select).unwrap() + } + } + + #[cfg(feature = "runtime-benchmarks")] + impl frame_benchmarking::Benchmark for Runtime { + fn benchmark_metadata(extra: bool) -> ( + Vec, + Vec, + ) { + use frame_benchmarking::{Benchmarking, BenchmarkList}; + use frame_support::traits::StorageInfoTrait; + use frame_system_benchmarking::Pallet as SystemBench; + use cumulus_pallet_session_benchmarking::Pallet as SessionBench; + use super::*; + + let mut list = Vec::::new(); + list_benchmarks!(list, extra); + + let storage_info = AllPalletsWithSystem::storage_info(); + (list, storage_info) + } + + fn dispatch_benchmark( + config: frame_benchmarking::BenchmarkConfig + ) -> Result, sp_runtime::RuntimeString> { + use frame_benchmarking::{BenchmarkError, Benchmarking, BenchmarkBatch}; + use super::*; + + use frame_system_benchmarking::Pallet as SystemBench; + impl frame_system_benchmarking::Config for Runtime { + fn setup_set_code_requirements(code: &Vec) -> Result<(), BenchmarkError> { + ParachainSystem::initialize_for_set_code_benchmark(code.len() as u32); + Ok(()) + } + + fn verify_set_code() { + System::assert_last_event(cumulus_pallet_parachain_system::Event::::ValidationFunctionStored.into()); + } + } + + use cumulus_pallet_session_benchmarking::Pallet as SessionBench; + impl cumulus_pallet_session_benchmarking::Config for Runtime {} + + use frame_support::traits::WhitelistedStorageKeys; + let whitelist = AllPalletsWithSystem::whitelisted_storage_keys(); + + let mut batches = Vec::::new(); + let params = (&config, &whitelist); + add_benchmarks!(params, batches); + + if batches.is_empty() { return Err("Benchmark not found for this pallet.".into()) } + Ok(batches) + } + } + + impl sp_genesis_builder::GenesisBuilder for Runtime { + fn build_state(config: Vec) -> sp_genesis_builder::Result { + build_state::(config) + } + + fn get_preset(id: &Option) -> Option> { + get_preset::(id, |_| None) + } + + fn preset_names() -> Vec { + Default::default() + } + } +} diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 7a9b7b4e3..7e2248f20 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,5 +1,5 @@ [toolchain] -channel = "1.77.0" +channel = "1.81.0" components = ["cargo", "clippy", "llvm-tools-preview", "rust-analyzer", "rust-src", "rust-std", "rustc", "rustc-dev", "rustfmt"] profile = "minimal" targets = ["wasm32-unknown-unknown"] diff --git a/storage/polka-index/Cargo.toml b/storage/polka-index/Cargo.toml index 1f38f0202..bae36235b 100644 --- a/storage/polka-index/Cargo.toml +++ b/storage/polka-index/Cargo.toml @@ -12,7 +12,7 @@ async-channel = { workspace = true } base64 = { workspace = true } chrono = { workspace = true, features = ["serde"] } ciborium = { workspace = true } -cid = { workspace = true, features = ["serde"] } +cid = { workspace = true, features = ["serde", "std"] } clap = { workspace = true, features = ["derive", "string"] } integer-encoding = { workspace = true } jsonrpsee = { workspace = true, features = ["server"] } diff --git a/storage/polka-index/src/local_index_directory/rdb.rs b/storage/polka-index/src/local_index_directory/rdb.rs index 5d2046ee3..ef3f199cc 100644 --- a/storage/polka-index/src/local_index_directory/rdb.rs +++ b/storage/polka-index/src/local_index_directory/rdb.rs @@ -574,7 +574,7 @@ impl Service for RocksDBLid { records .into_iter() .map(|record| self.add_index_record(&cursor_prefix, record)) - .collect::>()?; + .collect::>()?; metadata.indexed_at = chrono::Utc::now().into(); self.set_piece_cid_to_metadata(piece_cid, &metadata)