diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 155abc035..7e2c94ee1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -80,10 +80,10 @@ jobs: - name: Check documentation run: | ${{ env.RUST_INFO }} - RUSTDOCFLAGS="--cfg docsrs --deny rustdoc::broken_intra_doc_links" cargo doc --verbose --workspace --no-deps --document-private-items --all-features + RUSTDOCFLAGS="--cfg docsrs --deny rustdoc::broken_intra_doc_links" cargo +nightly doc --verbose --workspace --no-deps --document-private-items - check-cargo-hack: - name: Check code using cargo-hack + check-code: + name: Check code runs-on: ubuntu-latest needs: [set-image] container: ${{ needs.set-image.outputs.IMAGE }} @@ -97,10 +97,10 @@ jobs: with: key: ${{ runner.os }}-rust-${{ hashFiles('**/Cargo.lock') }} - - name: Check code using cargo-hack + - name: Check code run: | ${{ env.RUST_INFO }} - cargo hack check --workspace --each-feature --all-targets + cargo check --workspace --all-targets test: name: Run tests @@ -158,7 +158,7 @@ jobs: name: Test Docker image build if: ${{ github.event_name == 'pull_request' }} runs-on: ubuntu-latest - needs: [check-fmt, check-clippy, check-docs, check-cargo-hack, test, build] + needs: [check-fmt, check-clippy, check-docs, check-code, test, build] steps: - name: Checkout repository uses: actions/checkout@v4 @@ -192,7 +192,7 @@ jobs: if: ${{ github.ref == 'refs/heads/main' || github.ref_type == 'tag' }} runs-on: ubuntu-latest environment: main_and_tags - needs: [check-fmt, check-clippy, check-docs, check-cargo-hack, test, build] + needs: [check-fmt, check-clippy, check-docs, check-code, test, build] steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/Cargo.lock b/Cargo.lock index 30395b670..75d172474 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -27,7 +27,7 @@ version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f5fb1d8e4442bd405fdfd1dacb42792696b0cf9cb15882e5d097b742a676d375" dependencies = [ - "gimli 0.31.0", + "gimli 0.31.1", ] [[package]] @@ -71,17 +71,6 @@ dependencies = [ "subtle", ] -[[package]] -name = "ahash" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" -dependencies = [ - "getrandom", - "once_cell", - "version_check", -] - [[package]] name = "ahash" version = "0.8.11" @@ -110,23 +99,73 @@ version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" +[[package]] +name = "alloy-core" +version = "0.8.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c618bd382f0bc2ac26a7e4bfae01c9b015ca8f21b37ca40059ae35a7e62b3dc6" +dependencies = [ + "alloy-dyn-abi", + "alloy-json-abi", + "alloy-primitives", + "alloy-rlp", + "alloy-sol-types", +] + +[[package]] +name = "alloy-dyn-abi" +version = "0.8.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41056bde53ae10ffbbf11618efbe1e0290859e5eab0fe9ef82ebdb62f12a866f" +dependencies = [ + "alloy-json-abi", + "alloy-primitives", + "alloy-sol-type-parser", + "alloy-sol-types", + "const-hex", + "itoa", + "serde", + "serde_json", + "winnow 0.6.18", +] + +[[package]] +name = "alloy-json-abi" +version = "0.8.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c357da577dfb56998d01f574d81ad7a1958d248740a7981b205d69d65a7da404" +dependencies = [ + "alloy-primitives", + "alloy-sol-type-parser", + "serde", + "serde_json", +] + [[package]] name = "alloy-primitives" -version = "0.4.2" +version = "0.8.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0628ec0ba5b98b3370bb6be17b12f23bfce8ee4ad83823325a20546d9b03b78" +checksum = "6259a506ab13e1d658796c31e6e39d2e2ee89243bcc505ddc613b35732e0a430" dependencies = [ "alloy-rlp", "bytes", "cfg-if", "const-hex", - "derive_more 0.99.18", + "derive_more 1.0.0", + "foldhash", + "hashbrown 0.15.2", "hex-literal", + "indexmap 2.5.0", "itoa", + "k256", + "keccak-asm", + "paste", "proptest", "rand", "ruint", + "rustc-hash 2.0.0", "serde", + "sha3", "tiny-keccak", ] @@ -142,27 +181,68 @@ dependencies = [ [[package]] name = "alloy-sol-macro" -version = "0.4.2" +version = "0.8.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2708e27f58d747423ae21d31b7a6625159bd8d867470ddd0256f396a68efa11" +dependencies = [ + "alloy-sol-macro-expander", + "alloy-sol-macro-input", + "proc-macro-error2", + "proc-macro2", + "quote", + "syn 2.0.98", +] + +[[package]] +name = "alloy-sol-macro-expander" +version = "0.8.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a98ad1696a2e17f010ae8e43e9f2a1e930ed176a8e3ff77acfeff6dfb07b42c" +checksum = "c6b7984d7e085dec382d2c5ef022b533fcdb1fe6129200af30ebf5afddb6a361" dependencies = [ + "alloy-sol-macro-input", "const-hex", - "dunce", - "heck 0.4.1", - "proc-macro-error", + "heck 0.5.0", + "indexmap 2.5.0", + "proc-macro-error2", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", "syn-solidity", "tiny-keccak", ] +[[package]] +name = "alloy-sol-macro-input" +version = "0.8.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33d6a9fc4ed1a3c70bdb2357bec3924551c1a59f24e5a04a74472c755b37f87d" +dependencies = [ + "const-hex", + "dunce", + "heck 0.5.0", + "proc-macro2", + "quote", + "syn 2.0.98", + "syn-solidity", +] + +[[package]] +name = "alloy-sol-type-parser" +version = "0.8.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b1b3e9a48a6dd7bb052a111c8d93b5afc7956ed5e2cb4177793dc63bb1d2a36" +dependencies = [ + "serde", + "winnow 0.7.2", +] + [[package]] name = "alloy-sol-types" -version = "0.4.2" +version = "0.8.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98d7107bed88e8f09f0ddcc3335622d87bfb6821f3e0c7473329fb1cfad5e015" +checksum = "1174cafd6c6d810711b4e00383037bdb458efc4fe3dbafafa16567e0320c54d8" dependencies = [ + "alloy-json-abi", "alloy-primitives", "alloy-sol-macro", "const-hex", @@ -244,7 +324,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -253,7 +333,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb00293ba84f51ce3bd026bd0de55899c4e68f0a39a5728cebae3a73ffdc0a4f" dependencies = [ - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-std 0.4.0", ] @@ -265,7 +345,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "20c7021f180a0cbea0380eba97c2af3c57074cdaffe0eef7e840e1c9f2841e55" dependencies = [ "ark-bls12-377", - "ark-ec", + "ark-ec 0.4.2", "ark-models-ext", "ark-std 0.4.0", ] @@ -276,7 +356,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c775f0d12169cba7aae4caeb547bb6a50781c7449a8aa53793827c9ec4abf488" dependencies = [ - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-serialize 0.4.2", "ark-std 0.4.0", @@ -289,7 +369,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1dc4b3d08f19e8ec06e949712f95b8361e43f1391d94f65e4234df03480631c" dependencies = [ "ark-bls12-381", - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-models-ext", "ark-serialize 0.4.2", @@ -303,7 +383,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2e0605daf0cc5aa2034b78d008aaf159f56901d92a52ee4f6ecdfdac4f426700" dependencies = [ "ark-bls12-377", - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-std 0.4.0", ] @@ -315,7 +395,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ccee5fba47266f460067588ee1bf070a9c760bf2050c1c509982c5719aadb4f2" dependencies = [ "ark-bw6-761", - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-models-ext", "ark-std 0.4.0", @@ -328,7 +408,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "defd9a439d56ac24968cca0571f598a61bc8c55f71d50a89cda591cb750670ba" dependencies = [ "ark-ff 0.4.2", - "ark-poly", + "ark-poly 0.4.2", "ark-serialize 0.4.2", "ark-std 0.4.0", "derivative", @@ -339,6 +419,27 @@ dependencies = [ "zeroize", ] +[[package]] +name = "ark-ec" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43d68f2d516162846c1238e755a7c4d131b892b70cc70c471a8e3ca3ed818fce" +dependencies = [ + "ahash", + "ark-ff 0.5.0", + "ark-poly 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", + "educe", + "fnv", + "hashbrown 0.15.2", + "itertools 0.13.0", + "num-bigint", + "num-integer", + "num-traits", + "zeroize", +] + [[package]] name = "ark-ed-on-bls12-377" version = "0.4.0" @@ -346,7 +447,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b10d901b9ac4b38f9c32beacedfadcdd64e46f8d7f8e88c1ae1060022cf6f6c6" dependencies = [ "ark-bls12-377", - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-std 0.4.0", ] @@ -357,7 +458,7 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "524a4fb7540df2e1a8c2e67a83ba1d1e6c3947f4f9342cc2359fc2e789ad731d" dependencies = [ - "ark-ec", + "ark-ec 0.4.2", "ark-ed-on-bls12-377", "ark-ff 0.4.2", "ark-models-ext", @@ -371,7 +472,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9cde0f2aa063a2a5c28d39b47761aa102bda7c13c84fc118a61b87c7b2f785c" dependencies = [ "ark-bls12-381", - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-std 0.4.0", ] @@ -382,7 +483,7 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d15185f1acb49a07ff8cbe5f11a1adc5a93b19e211e325d826ae98e98e124346" dependencies = [ - "ark-ec", + "ark-ec 0.4.2", "ark-ed-on-bls12-381-bandersnatch", "ark-ff 0.4.2", "ark-models-ext", @@ -427,6 +528,26 @@ dependencies = [ "zeroize", ] +[[package]] +name = "ark-ff" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a177aba0ed1e0fbb62aa9f6d0502e9b46dad8c2eab04c14258a1212d2557ea70" +dependencies = [ + "ark-ff-asm 0.5.0", + "ark-ff-macros 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", + "arrayvec 0.7.6", + "digest 0.10.7", + "educe", + "itertools 0.13.0", + "num-bigint", + "num-traits", + "paste", + "zeroize", +] + [[package]] name = "ark-ff-asm" version = "0.3.0" @@ -447,6 +568,16 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "ark-ff-asm" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62945a2f7e6de02a31fe400aa489f0e0f5b2502e69f95f853adb82a96c7a6b60" +dependencies = [ + "quote", + "syn 2.0.98", +] + [[package]] name = "ark-ff-macros" version = "0.3.0" @@ -472,13 +603,26 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "ark-ff-macros" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09be120733ee33f7693ceaa202ca41accd5653b779563608f1234f78ae07c4b3" +dependencies = [ + "num-bigint", + "num-traits", + "proc-macro2", + "quote", + "syn 2.0.98", +] + [[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-ec 0.4.2", "ark-ff 0.4.2", "ark-serialize 0.4.2", "ark-std 0.4.0", @@ -498,13 +642,28 @@ dependencies = [ "hashbrown 0.13.2", ] +[[package]] +name = "ark-poly" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "579305839da207f02b89cd1679e50e67b4331e2f9294a57693e5051b7703fe27" +dependencies = [ + "ahash", + "ark-ff 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", + "educe", + "fnv", + "hashbrown 0.15.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-ec 0.4.2", "ark-ff 0.4.2", "ark-serialize 0.4.2", "ark-std 0.4.0", @@ -512,6 +671,21 @@ dependencies = [ "scale-info", ] +[[package]] +name = "ark-secret-scalar" +version = "0.0.2" +source = "git+https://github.com/w3f/ring-vrf?rev=0fef826#0fef8266d851932ad25d6b41bc4b34d834d1e11d" +dependencies = [ + "ark-ec 0.4.2", + "ark-ff 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", + "ark-transcript", + "digest 0.10.7", + "getrandom_or_panic", + "zeroize", +] + [[package]] name = "ark-serialize" version = "0.3.0" @@ -528,12 +702,25 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5" dependencies = [ - "ark-serialize-derive", + "ark-serialize-derive 0.4.2", "ark-std 0.4.0", "digest 0.10.7", "num-bigint", ] +[[package]] +name = "ark-serialize" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f4d068aaf107ebcd7dfb52bc748f8030e0fc930ac8e360146ca54c1203088f7" +dependencies = [ + "ark-serialize-derive 0.5.0", + "ark-std 0.5.0", + "arrayvec 0.7.6", + "digest 0.10.7", + "num-bigint", +] + [[package]] name = "ark-serialize-derive" version = "0.4.2" @@ -545,6 +732,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "ark-serialize-derive" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "213888f660fddcca0d257e88e54ac05bca01885f258ccdf695bafd77031bb69d" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.98", +] + [[package]] name = "ark-std" version = "0.3.0" @@ -566,6 +764,29 @@ dependencies = [ "rayon", ] +[[package]] +name = "ark-std" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "246a225cc6131e9ee4f24619af0f19d67761fff15d7ccc22e42b80846e69449a" +dependencies = [ + "num-traits", + "rand", +] + +[[package]] +name = "ark-transcript" +version = "0.0.2" +source = "git+https://github.com/w3f/ring-vrf?rev=0fef826#0fef8266d851932ad25d6b41bc4b34d834d1e11d" +dependencies = [ + "ark-ff 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", + "digest 0.10.7", + "rand_core", + "sha3", +] + [[package]] name = "array-bytes" version = "6.2.3" @@ -617,110 +838,56 @@ 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", - "cumulus-pallet-xcmp-queue 0.17.0", - "cumulus-primitives-core 0.16.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "pallet-assets 40.0.0", - "pallet-balances 39.0.0", - "pallet-collator-selection 19.0.0", - "pallet-session 38.0.0", - "pallet-timestamp 37.0.0", - "pallet-xcm 17.0.1", - "pallet-xcm-bridge-hub-router 0.15.3", - "parachains-common 18.0.0", - "parachains-runtimes-test-utils 17.0.0", - "parity-scale-codec", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "staging-parachain-info 0.17.0", - "staging-xcm 14.2.0", - "staging-xcm-builder 17.0.3", - "staging-xcm-executor 17.0.1", - "substrate-wasm-builder 24.0.1", -] - -[[package]] -name = "asset-test-utils" -version = "21.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adf178ddd5abf9737d79070f048d3849ed35b49eb9f9793b7871a9f7c5238e4f" -dependencies = [ - "cumulus-pallet-parachain-system 0.18.0", - "cumulus-pallet-xcmp-queue 0.18.1", - "cumulus-primitives-core 0.17.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "pallet-assets 41.0.0", - "pallet-balances 40.0.1", - "pallet-collator-selection 20.0.0", - "pallet-session 39.0.0", - "pallet-timestamp 38.0.0", - "pallet-xcm 18.0.0", - "pallet-xcm-bridge-hub-router 0.16.0", - "parachains-common 19.0.0", - "parachains-runtimes-test-utils 20.0.0", - "parity-scale-codec", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "staging-parachain-info 0.18.0", - "staging-xcm 15.0.1", - "staging-xcm-builder 18.0.1", - "staging-xcm-executor 18.0.1", - "substrate-wasm-builder 25.0.0", -] - -[[package]] -name = "assets-common" -version = "0.18.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c540587f89a03003946b14decef4fcadb083edc4e62f968de245b82e5402e923" -dependencies = [ - "cumulus-primitives-core 0.16.0", - "frame-support 38.2.0", - "impl-trait-for-tuples", - "log", - "pallet-asset-conversion 20.0.0", - "pallet-assets 40.0.0", - "pallet-xcm 17.0.1", - "parachains-common 18.0.0", - "parity-scale-codec", - "scale-info", - "sp-api 34.0.0", - "sp-runtime 39.0.5", - "staging-xcm 14.2.0", - "staging-xcm-builder 17.0.3", - "staging-xcm-executor 17.0.1", - "substrate-wasm-builder 24.0.1", +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" +dependencies = [ + "cumulus-pallet-parachain-system", + "cumulus-pallet-xcmp-queue", + "cumulus-primitives-core", + "frame-support", + "frame-system", + "pallet-asset-conversion", + "pallet-assets", + "pallet-balances", + "pallet-collator-selection", + "pallet-session", + "pallet-timestamp", + "pallet-xcm", + "pallet-xcm-bridge-hub-router", + "parachains-common", + "parachains-runtimes-test-utils", + "parity-scale-codec", + "sp-io", + "sp-runtime", + "staging-parachain-info", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", + "substrate-wasm-builder", + "xcm-runtime-apis", ] [[package]] name = "assets-common" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbc3f06ce539d73b2689d71cdbe52ed787e968ec2ca4310d6507f5e284be053f" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "cumulus-primitives-core 0.17.0", - "frame-support 39.0.0", + "cumulus-primitives-core", + "frame-support", "impl-trait-for-tuples", "log", - "pallet-asset-conversion 21.0.0", - "pallet-assets 41.0.0", - "pallet-xcm 18.0.0", - "parachains-common 19.0.0", + "pallet-asset-conversion", + "pallet-assets", + "pallet-xcm", + "parachains-common", "parity-scale-codec", "scale-info", - "sp-api 35.0.0", - "sp-runtime 40.1.0", - "staging-xcm 15.0.1", - "staging-xcm-builder 18.0.1", - "staging-xcm-executor 18.0.1", - "substrate-wasm-builder 25.0.0", + "sp-api", + "sp-runtime", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", + "substrate-wasm-builder", ] [[package]] @@ -852,7 +1019,7 @@ checksum = "721cae7de5c34fbb2acd27e21e6d2cf7b886dce0c27388d46c4e6c47ea4318dd" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -875,7 +1042,7 @@ checksum = "3c87f3f15e7794432337fc718554eaa4dc8f04c9677a950ffe366f20a162ae42" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -899,6 +1066,27 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "bandersnatch_vrfs" +version = "0.0.4" +source = "git+https://github.com/w3f/ring-vrf?rev=0fef826#0fef8266d851932ad25d6b41bc4b34d834d1e11d" +dependencies = [ + "ark-bls12-381", + "ark-ec 0.4.2", + "ark-ed-on-bls12-381-bandersnatch", + "ark-ff 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", + "dleq_vrf", + "rand_chacha", + "rand_core", + "ring 0.1.0", + "sha2 0.10.8", + "sp-ark-bls12-381", + "sp-ark-ed-on-bls12-381-bandersnatch", + "zeroize", +] + [[package]] name = "base16ct" version = "0.2.0" @@ -937,19 +1125,8 @@ checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" [[package]] name = "binary-merkle-tree" -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 = "16.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "181f5380e435b8ba6d901f8b16fc8908c6f0f8bea8973113d1c8718d89bb1809" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "hash-db", "log", @@ -984,11 +1161,11 @@ dependencies = [ [[package]] name = "bip39" -version = "2.0.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93f2635620bf0b9d4576eb7bb9a38a55df78bd1205d26fa994b25911a69f212f" +checksum = "33415e24172c1b7d6066f6d999545375ab8e1d95421d6784bdfff9496f292387" dependencies = [ - "bitcoin_hashes 0.11.0", + "bitcoin_hashes 0.13.0", "serde", "unicode-normalization", ] @@ -1015,10 +1192,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9425c3bf7089c983facbae04de54513cce73b41c7f9ff8c845b54e7bc64ebbfb" [[package]] -name = "bitcoin_hashes" -version = "0.11.0" +name = "bitcoin-io" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90064b8dee6815a6470d60bad07bbbaee885c0e12d04177138fa3291a01b7bc4" +checksum = "0b47c4ab7a93edb0c7198c5535ed9b52b63095f4e9b45279c6736cec4b856baf" [[package]] name = "bitcoin_hashes" @@ -1027,7 +1204,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]] @@ -1085,6 +1272,19 @@ dependencies = [ "constant_time_eq 0.3.1", ] +[[package]] +name = "blake3" +version = "1.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8ee0c1824c4dea5b5f81736aff91bae041d2c07ee1192bec91054e10e3e601e" +dependencies = [ + "arrayref", + "arrayvec 0.7.6", + "cc", + "cfg-if", + "constant_time_eq 0.3.1", +] + [[package]] name = "block-buffer" version = "0.9.0" @@ -1118,9 +1318,9 @@ dependencies = [ [[package]] name = "bounded-collections" -version = "0.2.0" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d32385ecb91a31bddaf908e8dcf4a15aef1bcd3913cc03ebfad02ff6d568abc1" +checksum = "32ed0a820ed50891d36358e997d27741a6142e382242df40ff01c89bcdcc7a2b" dependencies = [ "log", "parity-scale-codec", @@ -1130,245 +1330,109 @@ dependencies = [ [[package]] name = "bp-header-chain" -version = "0.18.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "890df97cea17ee61ff982466bb9e90cb6b1462adb45380999019388d05e4b92d" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bp-runtime 0.18.0", + "bp-runtime", "finality-grandpa", - "frame-support 38.2.0", + "frame-support", "parity-scale-codec", "scale-info", "serde", - "sp-consensus-grandpa 21.0.0", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-std", -] - -[[package]] -name = "bp-header-chain" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2a2304348dfed2276eef48ba03ca8afe5c3fe6ca6ea2c662e2e7a1a6ab639cd" -dependencies = [ - "bp-runtime 0.19.0", - "finality-grandpa", - "frame-support 39.0.0", - "parity-scale-codec", - "scale-info", - "serde", - "sp-consensus-grandpa 22.0.0", - "sp-core 35.0.0", - "sp-runtime 40.1.0", - "sp-std", -] - -[[package]] -name = "bp-messages" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7efabf94339950b914ba87249497f1a0e35a73849934d164fecae4b275928cf6" -dependencies = [ - "bp-header-chain 0.18.1", - "bp-runtime 0.18.0", - "frame-support 38.2.0", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-std", + "sp-consensus-grandpa", + "sp-core", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", ] [[package]] name = "bp-messages" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e696909f51b67da053979ae9736ccbaab8c42306951b1f01fe64d49d555521e" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bp-header-chain 0.19.0", - "bp-runtime 0.19.0", - "frame-support 39.0.0", + "bp-header-chain", + "bp-runtime", + "frame-support", "parity-scale-codec", "scale-info", "serde", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-std", -] - -[[package]] -name = "bp-parachains" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9011e5c12c15caf3c4129a98f4f4916ea9165db8daf6ed85867c3106075f40df" -dependencies = [ - "bp-header-chain 0.18.1", - "bp-polkadot-core 0.18.0", - "bp-runtime 0.18.0", - "frame-support 38.2.0", - "impl-trait-for-tuples", - "parity-scale-codec", - "scale-info", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-std", + "sp-core", + "sp-io", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", ] [[package]] name = "bp-parachains" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8603322511dcf02505670a63bb26429ad8dee986d4a0fc841e05215b1cf0606" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bp-header-chain 0.19.0", - "bp-polkadot-core 0.19.0", - "bp-runtime 0.19.0", - "frame-support 39.0.0", + "bp-header-chain", + "bp-polkadot-core", + "bp-runtime", + "frame-support", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-core 35.0.0", - "sp-runtime 40.1.0", - "sp-std", -] - -[[package]] -name = "bp-polkadot" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa6277dd4333917ecfbcc35e9332a9f11682e0a506e76b617c336224660fce33" -dependencies = [ - "bp-header-chain 0.18.1", - "bp-polkadot-core 0.18.0", - "bp-runtime 0.18.0", - "frame-support 38.2.0", - "sp-api 34.0.0", - "sp-std", + "sp-core", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", ] [[package]] name = "bp-polkadot" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af0d15d567f361158be1f5d22659ab119c1e26f2d64041b7782238ab1bf1f874" -dependencies = [ - "bp-header-chain 0.19.0", - "bp-polkadot-core 0.19.0", - "bp-runtime 0.19.0", - "frame-support 39.0.0", - "sp-api 35.0.0", - "sp-std", -] - -[[package]] -name = "bp-polkadot-core" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "345cf472bac11ef79d403e4846a666b7d22a13cd16d9c85b62cd6b5e16c4a042" +version = "0.5.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bp-messages 0.18.0", - "bp-runtime 0.18.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "parity-scale-codec", - "parity-util-mem", - "scale-info", - "serde", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-std", + "bp-header-chain", + "bp-polkadot-core", + "bp-runtime", + "frame-support", + "sp-api", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", ] [[package]] name = "bp-polkadot-core" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ecd5d535d3610d3567a5a440af1a71c2a21d20b051ad2cdb1184893c68beead" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bp-messages 0.19.0", - "bp-runtime 0.19.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "bp-messages", + "bp-runtime", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-core 35.0.0", - "sp-runtime 40.1.0", - "sp-std", -] - -[[package]] -name = "bp-relayers" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9465ad727e466d67d64244a1aa7bb19933a297913fdde34b8e9bda0a341bdeb" -dependencies = [ - "bp-header-chain 0.18.1", - "bp-messages 0.18.0", - "bp-parachains 0.18.0", - "bp-runtime 0.18.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "pallet-utility 38.0.0", - "parity-scale-codec", - "scale-info", - "sp-runtime 39.0.5", - "sp-std", + "sp-core", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", ] [[package]] name = "bp-relayers" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6c60a61255c9d31a1b6cae44bd6d0421560c8a3663a30e7e06321463470cd21" -dependencies = [ - "bp-header-chain 0.19.0", - "bp-messages 0.19.0", - "bp-parachains 0.19.0", - "bp-runtime 0.19.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "pallet-utility 39.0.0", - "parity-scale-codec", - "scale-info", - "sp-runtime 40.1.0", - "sp-std", -] - -[[package]] -name = "bp-runtime" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "746d9464f912b278f8a5e2400f10541f95da7fc6c7d688a2788b9a46296146ee" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 38.2.0", - "frame-system 38.0.0", - "hash-db", - "impl-trait-for-tuples", - "log", - "num-traits", + "bp-header-chain", + "bp-messages", + "bp-parachains", + "bp-runtime", + "frame-support", + "frame-system", + "pallet-utility", "parity-scale-codec", "scale-info", - "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", - "sp-std", - "sp-trie 37.0.0", - "trie-db", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", ] [[package]] name = "bp-runtime" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94e7186d520ee9882efdd645103d412dcdd1228e89db7dd041e4b192b610018e" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-support", + "frame-system", "hash-db", "impl-trait-for-tuples", "log", @@ -1376,303 +1440,153 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-state-machine 0.44.0", - "sp-std", - "sp-trie 38.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-state-machine", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-trie", "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 0.18.1", - "bp-parachains 0.18.0", - "bp-polkadot-core 0.18.0", - "bp-runtime 0.18.0", - "ed25519-dalek", - "finality-grandpa", - "parity-scale-codec", - "sp-application-crypto 38.0.0", - "sp-consensus-grandpa 21.0.0", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-std", - "sp-trie 37.0.0", -] - -[[package]] -name = "bp-test-utils" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1a295e84b72f31d78d9c98766cb48a1cbd9c6843304eeb77f5f0e1ca6fcaeab" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bp-header-chain 0.19.0", - "bp-parachains 0.19.0", - "bp-polkadot-core 0.19.0", - "bp-runtime 0.19.0", + "bp-header-chain", + "bp-parachains", + "bp-polkadot-core", + "bp-runtime", "ed25519-dalek", "finality-grandpa", "parity-scale-codec", - "sp-application-crypto 39.0.0", - "sp-consensus-grandpa 22.0.0", - "sp-core 35.0.0", - "sp-runtime 40.1.0", - "sp-std", - "sp-trie 38.0.0", -] - -[[package]] -name = "bp-xcm-bridge-hub" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0873c54562b3d492541cbc8a7974c6854a5157d07880a2a71f8ba888a69e17e9" -dependencies = [ - "bp-messages 0.18.0", - "bp-runtime 0.18.0", - "frame-support 38.2.0", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-std", - "staging-xcm 14.2.0", + "sp-application-crypto", + "sp-consensus-grandpa", + "sp-core", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-trie", ] [[package]] name = "bp-xcm-bridge-hub" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6096670fa8e283b60208d214beb84d816dc225d2a90a11d6fbb53b41cf788b7a" +version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bp-messages 0.19.0", - "bp-runtime 0.19.0", - "frame-support 39.0.0", + "bp-messages", + "bp-runtime", + "frame-support", "parity-scale-codec", "scale-info", "serde", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-std", - "staging-xcm 15.0.1", + "sp-core", + "sp-io", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "staging-xcm", ] [[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", - "sp-runtime 39.0.5", - "staging-xcm 14.2.0", -] - -[[package]] -name = "bp-xcm-bridge-hub-router" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "439fd70cb49aae6cc58f6be630b460375fe11e0e950a6778b6eb47eb76bb1ac8" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-core 35.0.0", - "sp-runtime 40.1.0", - "staging-xcm 15.0.1", -] - -[[package]] -name = "bridge-hub-common" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c31b53c53d627e2da38f8910807944bf3121e154b5c0ac9e122995af9dfb13ed" +version = "0.6.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "cumulus-primitives-core 0.16.0", - "frame-support 38.2.0", - "pallet-message-queue 41.0.2", "parity-scale-codec", "scale-info", - "snowbridge-core 0.10.0", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-std", - "staging-xcm 14.2.0", + "sp-core", + "sp-runtime", + "staging-xcm", ] [[package]] name = "bridge-hub-common" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6e9199f3627f5f36fe6496f0cebb4ba19284d0c0d77637cca4134cb41ab42f2" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "cumulus-primitives-core 0.17.0", - "frame-support 39.0.0", - "pallet-message-queue 42.0.0", + "cumulus-primitives-core", + "frame-support", + "pallet-message-queue", "parity-scale-codec", "scale-info", - "snowbridge-core 0.12.0", - "sp-core 35.0.0", - "sp-runtime 40.1.0", - "sp-std", - "staging-xcm 15.0.1", -] - -[[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 18.0.0", - "bp-header-chain 0.18.1", - "bp-messages 0.18.0", - "bp-parachains 0.18.0", - "bp-polkadot-core 0.18.0", - "bp-relayers 0.18.0", - "bp-runtime 0.18.0", - "bp-test-utils 0.18.0", - "bp-xcm-bridge-hub 0.4.2", - "bridge-runtime-common 0.18.2", - "cumulus-pallet-parachain-system 0.17.1", - "cumulus-pallet-xcmp-queue 0.17.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "impl-trait-for-tuples", - "log", - "pallet-balances 39.0.0", - "pallet-bridge-grandpa 0.18.0", - "pallet-bridge-messages 0.18.0", - "pallet-bridge-parachains 0.18.0", - "pallet-bridge-relayers 0.18.2", - "pallet-timestamp 37.0.0", - "pallet-utility 38.0.0", - "pallet-xcm 17.0.1", - "pallet-xcm-bridge-hub 0.13.2", - "parachains-common 18.0.0", - "parachains-runtimes-test-utils 17.0.0", - "parity-scale-codec", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-keyring 39.0.0", - "sp-runtime 39.0.5", - "sp-tracing", - "staging-xcm 14.2.0", - "staging-xcm-builder 17.0.3", - "staging-xcm-executor 17.0.1", + "snowbridge-core", + "sp-core", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", ] [[package]] name = "bridge-hub-test-utils" -version = "0.21.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7bc8fc20a146f2fcb47ae11fa578f4447d8c1c54c31028f08768b2b86a262537" -dependencies = [ - "asset-test-utils 21.0.0", - "bp-header-chain 0.19.0", - "bp-messages 0.19.0", - "bp-parachains 0.19.0", - "bp-polkadot-core 0.19.0", - "bp-relayers 0.19.0", - "bp-runtime 0.19.0", - "bp-test-utils 0.19.0", - "cumulus-pallet-parachain-system 0.18.0", - "cumulus-pallet-xcmp-queue 0.18.1", - "frame-support 39.0.0", - "frame-system 39.1.0", +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" +dependencies = [ + "asset-test-utils", + "bp-header-chain", + "bp-messages", + "bp-parachains", + "bp-polkadot-core", + "bp-relayers", + "bp-runtime", + "bp-test-utils", + "cumulus-pallet-parachain-system", + "cumulus-pallet-xcmp-queue", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", - "pallet-balances 40.0.1", - "pallet-bridge-grandpa 0.19.0", - "pallet-bridge-messages 0.19.0", - "pallet-bridge-parachains 0.19.0", - "pallet-bridge-relayers 0.19.0", - "pallet-timestamp 38.0.0", - "pallet-utility 39.0.0", - "pallet-xcm 18.0.0", - "pallet-xcm-bridge-hub 0.14.1", - "parachains-common 19.0.0", - "parachains-runtimes-test-utils 20.0.0", - "parity-scale-codec", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-keyring 40.0.0", - "sp-runtime 40.1.0", - "sp-std", - "sp-tracing", - "staging-xcm 15.0.1", - "staging-xcm-builder 18.0.1", - "staging-xcm-executor 18.0.1", -] - -[[package]] -name = "bridge-runtime-common" -version = "0.18.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86cf718057e18ce3e5f2c8e3fc318c38ad71d47ada91dc4b841c0f69c214ef04" -dependencies = [ - "bp-header-chain 0.18.1", - "bp-messages 0.18.0", - "bp-parachains 0.18.0", - "bp-polkadot-core 0.18.0", - "bp-relayers 0.18.0", - "bp-runtime 0.18.0", - "bp-xcm-bridge-hub 0.4.2", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "pallet-bridge-grandpa 0.18.0", - "pallet-bridge-messages 0.18.0", - "pallet-bridge-parachains 0.18.0", - "pallet-bridge-relayers 0.18.2", - "pallet-transaction-payment 38.0.2", - "pallet-utility 38.0.0", - "parity-scale-codec", - "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std", - "sp-trie 37.0.0", - "staging-xcm 14.2.0", - "tuplex", + "pallet-balances", + "pallet-bridge-grandpa", + "pallet-bridge-messages", + "pallet-bridge-parachains", + "pallet-bridge-relayers", + "pallet-timestamp", + "pallet-utility", + "pallet-xcm", + "pallet-xcm-bridge-hub", + "parachains-common", + "parachains-runtimes-test-utils", + "parity-scale-codec", + "sp-core", + "sp-io", + "sp-keyring", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", ] [[package]] name = "bridge-runtime-common" -version = "0.19.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b3c06f20c040ade880c0925a0cdc83dd88a46b7e28ceebd3adb6b2caa8b7024" -dependencies = [ - "bp-header-chain 0.19.0", - "bp-messages 0.19.0", - "bp-parachains 0.19.0", - "bp-polkadot-core 0.19.0", - "bp-relayers 0.19.0", - "bp-runtime 0.19.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "pallet-bridge-grandpa 0.19.0", - "pallet-bridge-messages 0.19.0", - "pallet-bridge-parachains 0.19.0", - "pallet-bridge-relayers 0.19.0", - "pallet-transaction-payment 39.0.0", - "pallet-utility 39.0.0", - "parity-scale-codec", - "scale-info", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-std", - "sp-trie 38.0.0", +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" +dependencies = [ + "bp-header-chain", + "bp-messages", + "bp-parachains", + "bp-polkadot-core", + "bp-relayers", + "bp-runtime", + "frame-support", + "frame-system", + "log", + "pallet-bridge-grandpa", + "pallet-bridge-messages", + "pallet-bridge-parachains", + "pallet-bridge-relayers", + "pallet-transaction-payment", + "pallet-utility", + "parity-scale-codec", + "scale-info", + "sp-io", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-trie", "sp-weights", - "staging-xcm 15.0.1", + "staging-xcm", "tuplex", ] @@ -1735,6 +1649,9 @@ name = "bytes" version = "1.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50" +dependencies = [ + "serde", +] [[package]] name = "camino" @@ -1819,13 +1736,14 @@ checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" dependencies = [ "crypto-common", "inout", + "zeroize", ] [[package]] name = "clap" -version = "4.5.31" +version = "4.5.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "027bb0d98429ae334a8698531da7077bdf906419543a35a55c2cb1b66437d767" +checksum = "3e77c3243bd94243c03672cb5154667347c457ca271254724f9f393aee1c05ff" dependencies = [ "clap_builder", "clap_derive", @@ -1833,14 +1751,14 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.31" +version = "4.5.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5589e0cba072e0f3d23791efac0fd8627b49c829c196a492e88168e6a669d863" +checksum = "1b26884eb4b57140e4d2d93652abfa49498b938b3c9179f9fc487b0acc3edad7" dependencies = [ "anstream", "anstyle", "clap_lex", - "strsim 0.11.1", + "strsim", ] [[package]] @@ -1852,7 +1770,7 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -1887,6 +1805,22 @@ dependencies = [ "memchr", ] +[[package]] +name = "common" +version = "0.1.0" +source = "git+https://github.com/w3f/ring-proof?rev=665f5f5#665f5f51af5734c7b6d90b985dd6861d4c5b4752" +dependencies = [ + "ark-ec 0.4.2", + "ark-ff 0.4.2", + "ark-poly 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", + "fflonk", + "getrandom_or_panic", + "merlin", + "rand_chacha", +] + [[package]] name = "common-path" version = "1.0.0" @@ -1917,9 +1851,9 @@ dependencies = [ [[package]] name = "const-hex" -version = "1.13.1" +version = "1.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0121754e84117e65f9d90648ee6aa4882a6e63110307ab73967a4c5e7e69e586" +checksum = "4b0485bab839b018a8f1723fc5391819fea5f8f0f32288ef8a735fd096b6160c" dependencies = [ "cfg-if", "cpufeatures", @@ -1954,6 +1888,26 @@ dependencies = [ "tiny-keccak", ] +[[package]] +name = "const_format" +version = "0.2.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "126f97965c8ad46d6d9163268ff28432e8f6a1196a55578867832e3049df63dd" +dependencies = [ + "const_format_proc_macros", +] + +[[package]] +name = "const_format_proc_macros" +version = "0.2.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d57c2eccfb16dbac1f4e61e206105db5820c9d26c3c472bc17c774259ef7744" +dependencies = [ + "proc-macro2", + "quote", + "unicode-xid", +] + [[package]] name = "constant_time_eq" version = "0.1.5" @@ -2193,577 +2147,315 @@ dependencies = [ ] [[package]] -name = "ctr" -version = "0.9.2" +name = "crypto_secretbox" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" +checksum = "b9d6cf87adf719ddf43a805e92c6870a531aedda35ff640442cbaf8674e141e1" dependencies = [ + "aead", "cipher", + "generic-array", + "poly1305", + "salsa20", + "subtle", + "zeroize", ] [[package]] -name = "cumulus-pallet-aura-ext" -version = "0.17.0" +name = "ctr" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cbe2735fc7cf2b6521eab00cb1a1ab025abc1575cc36887b36dc8c5cb1c9434" +checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" dependencies = [ - "cumulus-pallet-parachain-system 0.17.1", - "frame-support 38.2.0", - "frame-system 38.0.0", - "pallet-aura 37.0.0", - "pallet-timestamp 37.0.0", - "parity-scale-codec", - "scale-info", - "sp-application-crypto 38.0.0", - "sp-consensus-aura 0.40.0", - "sp-runtime 39.0.5", + "cipher", ] [[package]] name = "cumulus-pallet-aura-ext" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcfd3a02157c9fa29569981d5ea9e3cdeec9db05d507eb92b1e273e8c79713e1" -dependencies = [ - "cumulus-pallet-parachain-system 0.18.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "pallet-aura 38.0.0", - "pallet-timestamp 38.0.0", - "parity-scale-codec", - "scale-info", - "sp-application-crypto 39.0.0", - "sp-consensus-aura 0.41.0", - "sp-runtime 40.1.0", -] - -[[package]] -name = "cumulus-pallet-dmp-queue" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97263a8e758d201ebe81db7cea7b278b4fb869c11442f77acef70138ac1a252f" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "cumulus-primitives-core 0.16.0", - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", + "cumulus-pallet-parachain-system", + "frame-support", + "frame-system", + "pallet-aura", + "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "staging-xcm 14.2.0", + "sp-application-crypto", + "sp-consensus-aura", + "sp-runtime", ] [[package]] name = "cumulus-pallet-dmp-queue" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84e948d691300be40f9bcc0b60158a4aa20808878b1208ccb8d28d3970a61b82" -dependencies = [ - "cumulus-primitives-core 0.17.0", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "staging-xcm 15.0.1", -] - -[[package]] -name = "cumulus-pallet-parachain-system" -version = "0.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "546403ee1185f4051a74cc9c9d76e82c63cac3fb68e1bf29f61efb5604c96488" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bytes", - "cumulus-pallet-parachain-system-proc-macro", - "cumulus-primitives-core 0.16.0", - "cumulus-primitives-parachain-inherent 0.16.0", - "cumulus-primitives-proof-size-hostfunction 0.10.0", - "environmental", - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "impl-trait-for-tuples", + "cumulus-primitives-core", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-message-queue 41.0.2", "parity-scale-codec", - "polkadot-parachain-primitives 14.0.0", - "polkadot-runtime-common 17.0.0", - "polkadot-runtime-parachains 17.0.2", "scale-info", - "sp-core 34.0.0", - "sp-externalities 0.29.0", - "sp-inherents 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", - "sp-std", - "sp-trie 37.0.0", - "sp-version 37.0.0", - "staging-xcm 14.2.0", - "staging-xcm-builder 17.0.3", - "trie-db", + "sp-io", + "sp-runtime", + "staging-xcm", ] [[package]] name = "cumulus-pallet-parachain-system" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c3cb5c0e69b6536f07479b22d209108918986737946206c3ec393950017a49c" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", - "cumulus-primitives-core 0.17.0", - "cumulus-primitives-parachain-inherent 0.17.0", - "cumulus-primitives-proof-size-hostfunction 0.11.0", + "cumulus-primitives-core", + "cumulus-primitives-parachain-inherent", + "cumulus-primitives-proof-size-hostfunction", "environmental", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-benchmarking", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", - "pallet-message-queue 42.0.0", - "parity-scale-codec", - "polkadot-parachain-primitives 15.0.0", - "polkadot-runtime-common 18.0.0", - "polkadot-runtime-parachains 18.0.1", - "scale-info", - "sp-core 35.0.0", - "sp-externalities 0.30.0", - "sp-inherents 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-state-machine 0.44.0", - "sp-std", - "sp-trie 38.0.0", - "sp-version 38.0.0", - "staging-xcm 15.0.1", - "staging-xcm-builder 18.0.1", + "pallet-message-queue", + "parity-scale-codec", + "polkadot-parachain-primitives", + "polkadot-runtime-parachains", + "scale-info", + "sp-core", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-inherents", + "sp-io", + "sp-runtime", + "sp-state-machine", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-trie", + "sp-version", + "staging-xcm", + "staging-xcm-builder", "trie-db", ] [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "befbaf3a1ce23ac8476481484fef5f4d500cbd15b4dad6380ce1d28134b0c1f7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.87", -] - -[[package]] -name = "cumulus-pallet-session-benchmarking" -version = "19.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18168570689417abfb514ac8812fca7e6429764d01942750e395d7d8ce0716ef" -dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "pallet-session 38.0.0", - "parity-scale-codec", - "sp-runtime 39.0.5", + "syn 2.0.98", ] [[package]] name = "cumulus-pallet-session-benchmarking" -version = "20.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d5e093cc159f319f12e60fa92a83c0d07c89bb09bfa16d5d29cf79bbb5de21c" +version = "9.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "pallet-session 39.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", + "pallet-session", "parity-scale-codec", - "sp-runtime 40.1.0", + "sp-runtime", ] [[package]] name = "cumulus-pallet-solo-to-para" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f42c74548c8cab75da6f2479a953f044b582cfce98479862344a24df7bbd215" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "cumulus-pallet-parachain-system 0.17.1", - "frame-support 38.2.0", - "frame-system 38.0.0", - "pallet-sudo 38.0.0", + "cumulus-pallet-parachain-system", + "frame-support", + "frame-system", + "pallet-sudo", "parity-scale-codec", - "polkadot-primitives 16.0.0", + "polkadot-primitives", "scale-info", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] -name = "cumulus-pallet-solo-to-para" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b57bedcf68a2db7adb6c193336521a2082e46217fdaf3450df3e429e203be01a" -dependencies = [ - "cumulus-pallet-parachain-system 0.18.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "pallet-sudo 39.0.0", - "parity-scale-codec", - "polkadot-primitives 17.0.0", - "scale-info", - "sp-runtime 40.1.0", -] - -[[package]] -name = "cumulus-pallet-xcm" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e49231f6cd8274438b078305dc8ce44c54c0d3f4a28e902589bcbaa53d954608" +name = "cumulus-pallet-weight-reclaim" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "cumulus-primitives-core 0.16.0", - "frame-support 38.2.0", - "frame-system 38.0.0", + "cumulus-primitives-storage-weight-reclaim", + "derive-where", + "docify", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", "parity-scale-codec", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "staging-xcm 14.2.0", + "sp-io", + "sp-runtime", + "sp-trie", ] [[package]] name = "cumulus-pallet-xcm" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a82cc65ef2e9e584279c2ee13ff9bf40440750fdfaa5d51ed72d9e4d93d38d60" -dependencies = [ - "cumulus-primitives-core 0.17.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "parity-scale-codec", - "scale-info", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "staging-xcm 15.0.1", -] - -[[package]] -name = "cumulus-pallet-xcmp-queue" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f788bdac9474795ea13ba791b55798fb664b2e3da8c3a7385b480c9af4e6539" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bounded-collections", - "bp-xcm-bridge-hub-router 0.14.1", - "cumulus-primitives-core 0.16.0", - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "pallet-message-queue 41.0.2", + "cumulus-primitives-core", + "frame-support", + "frame-system", "parity-scale-codec", - "polkadot-runtime-common 17.0.0", - "polkadot-runtime-parachains 17.0.2", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "staging-xcm 14.2.0", - "staging-xcm-builder 17.0.3", - "staging-xcm-executor 17.0.1", + "sp-io", + "sp-runtime", + "staging-xcm", ] [[package]] name = "cumulus-pallet-xcmp-queue" -version = "0.18.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9dcd28e856c7667eac03df9ef162aaaba6521b9500f209979581d27c9ac36a07" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "bounded-collections", - "bp-xcm-bridge-hub-router 0.15.0", - "cumulus-primitives-core 0.17.0", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "bp-xcm-bridge-hub-router", + "cumulus-primitives-core", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-message-queue 42.0.0", + "pallet-message-queue", "parity-scale-codec", - "polkadot-runtime-common 18.0.0", - "polkadot-runtime-parachains 18.0.1", + "polkadot-runtime-common", + "polkadot-runtime-parachains", "scale-info", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "staging-xcm 15.0.1", - "staging-xcm-builder 18.0.1", - "staging-xcm-executor 18.0.1", + "sp-core", + "sp-io", + "sp-runtime", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", ] [[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", - "cumulus-primitives-core 0.16.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "parity-scale-codec", - "scale-info", - "sp-runtime 39.0.5", - "staging-xcm 14.2.0", -] - -[[package]] -name = "cumulus-ping" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27ee32efcac02fa02fe55108d97ffe9d2a7a5bcf631323c2cffc3e53091edf9a" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "cumulus-pallet-xcm 0.18.0", - "cumulus-primitives-core 0.17.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "cumulus-pallet-xcm", + "cumulus-primitives-core", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-runtime 40.1.0", - "staging-xcm 15.0.1", -] - -[[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", - "polkadot-primitives 15.0.0", - "sp-api 34.0.0", - "sp-consensus-aura 0.40.0", - "sp-runtime 39.0.5", + "sp-runtime", + "staging-xcm", ] [[package]] name = "cumulus-primitives-aura" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3991e6f64338ee6656c624f8b5c3ff02c91cb17a0b2492b366c06e63c4339c02" -dependencies = [ - "sp-api 35.0.0", - "sp-consensus-aura 0.41.0", -] - -[[package]] -name = "cumulus-primitives-core" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c6b5221a4a3097f2ebef66c84c1e6d7a0b8ec7e63f2bd5ae04c1e6d3fc7514e" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "parity-scale-codec", - "polkadot-core-primitives 15.0.0", - "polkadot-parachain-primitives 14.0.0", - "polkadot-primitives 16.0.0", - "scale-info", - "sp-api 34.0.0", - "sp-runtime 39.0.5", - "sp-trie 37.0.0", - "staging-xcm 14.2.0", + "sp-api", + "sp-consensus-aura", ] [[package]] name = "cumulus-primitives-core" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "addbb15f04c1174d80696cc51a8b5281e2bf5e1917cd0811b2d3ed3373e5698d" -dependencies = [ - "parity-scale-codec", - "polkadot-core-primitives 16.0.0", - "polkadot-parachain-primitives 15.0.0", - "polkadot-primitives 17.0.0", - "scale-info", - "sp-api 35.0.0", - "sp-runtime 40.1.0", - "sp-trie 38.0.0", - "staging-xcm 15.0.1", -] - -[[package]] -name = "cumulus-primitives-parachain-inherent" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "842a694901e04a62d88995418dec35c22f7dba2b34d32d2b8de37d6b92f973ff" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "async-trait", - "cumulus-primitives-core 0.16.0", "parity-scale-codec", + "polkadot-core-primitives", + "polkadot-parachain-primitives", + "polkadot-primitives", "scale-info", - "sp-core 34.0.0", - "sp-inherents 34.0.0", - "sp-trie 37.0.0", + "sp-api", + "sp-runtime", + "sp-trie", + "staging-xcm", ] [[package]] name = "cumulus-primitives-parachain-inherent" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84c5e76a9ce17eb358b62e95f4835fec891c12502d9d6d6f0cc2e9dd8bdef3bf" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "async-trait", - "cumulus-primitives-core 0.17.0", + "cumulus-primitives-core", "parity-scale-codec", "scale-info", - "sp-core 35.0.0", - "sp-inherents 35.0.0", - "sp-trie 38.0.0", -] - -[[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", - "sp-runtime-interface 28.0.0", - "sp-trie 37.0.0", + "sp-core", + "sp-inherents", + "sp-trie", ] [[package]] name = "cumulus-primitives-proof-size-hostfunction" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e89a46c3a18f3e0b38a308d30a4252516e3a6d41f95071562b68d94e9964ee3" -dependencies = [ - "sp-externalities 0.30.0", - "sp-runtime-interface 29.0.0", - "sp-trie 38.0.0", -] - -[[package]] -name = "cumulus-primitives-storage-weight-reclaim" -version = "8.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fc49dfec0ba3438afad73787736cc0dba88d15b5855881f12a4d8b812a72927" +version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "cumulus-primitives-core 0.16.0", - "cumulus-primitives-proof-size-hostfunction 0.10.0", - "docify", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-runtime 39.0.5", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-trie", ] [[package]] name = "cumulus-primitives-storage-weight-reclaim" -version = "9.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33a21254b30c66c8212a2c0be1ed2ebca6d037ba1be00ded4bd187ef4163c818" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "cumulus-primitives-core 0.17.0", - "cumulus-primitives-proof-size-hostfunction 0.11.0", + "cumulus-primitives-core", + "cumulus-primitives-proof-size-hostfunction", "docify", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-runtime 40.1.0", -] - -[[package]] -name = "cumulus-primitives-timestamp" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33cffb8f010f39ac36b31d38994b8f9d9256d9b5e495d96b4ec59d3e30852d53" -dependencies = [ - "cumulus-primitives-core 0.16.0", - "sp-inherents 34.0.0", - "sp-timestamp 34.0.0", + "sp-runtime", ] [[package]] name = "cumulus-primitives-timestamp" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a4fc1196423d96c975d72fa744de49c153dd9646f109952a227f1279f6d5b28" -dependencies = [ - "cumulus-primitives-core 0.17.0", - "sp-inherents 35.0.0", - "sp-timestamp 35.0.0", -] - -[[package]] -name = "cumulus-primitives-utility" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bdcf4d46dd93f1e6d5dd6d379133566a44042ba6476d04bdcbdb4981c622ae4" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "cumulus-primitives-core 0.16.0", - "frame-support 38.2.0", - "log", - "pallet-asset-conversion 20.0.0", - "parity-scale-codec", - "polkadot-runtime-common 17.0.0", - "sp-runtime 39.0.5", - "staging-xcm 14.2.0", - "staging-xcm-builder 17.0.3", - "staging-xcm-executor 17.0.1", + "cumulus-primitives-core", + "sp-inherents", + "sp-timestamp", ] [[package]] name = "cumulus-primitives-utility" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "098b5b2077d237264d693572d0010d7152e1e3ce4c02ceac9a1f15e4eb153a71" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "cumulus-primitives-core 0.17.0", - "frame-support 39.0.0", + "cumulus-primitives-core", + "frame-support", "log", - "pallet-asset-conversion 21.0.0", - "parity-scale-codec", - "polkadot-runtime-common 18.0.0", - "sp-runtime 40.1.0", - "staging-xcm 15.0.1", - "staging-xcm-builder 18.0.1", - "staging-xcm-executor 18.0.1", -] - -[[package]] -name = "cumulus-test-relay-sproof-builder" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e570e41c3f05a8143ebff967bbb0c7dcaaa6f0bebd8639b9418b8005b13eda03" -dependencies = [ - "cumulus-primitives-core 0.16.0", + "pallet-asset-conversion", "parity-scale-codec", - "polkadot-primitives 16.0.0", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", - "sp-trie 37.0.0", + "polkadot-runtime-common", + "sp-runtime", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", ] [[package]] name = "cumulus-test-relay-sproof-builder" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebd21a9fe5af983ac7f0053f7e202ee122dda91d70db356870c211c7a18605e1" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "cumulus-primitives-core 0.17.0", + "cumulus-primitives-core", "parity-scale-codec", - "polkadot-primitives 17.0.0", - "sp-runtime 40.1.0", - "sp-state-machine 0.44.0", - "sp-trie 38.0.0", + "polkadot-primitives", + "sp-runtime", + "sp-state-machine", + "sp-trie", ] [[package]] @@ -2790,7 +2482,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -2817,7 +2509,7 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -2834,17 +2526,7 @@ checksum = "a1719100f31492cd6adeeab9a0f46cdbc846e615fdb66d7b398aa46ec7fdd06f" 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", + "syn 2.0.98", ] [[package]] @@ -2853,22 +2535,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]] @@ -2881,19 +2549,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.98", ] [[package]] @@ -2902,9 +2559,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.98", ] [[package]] @@ -2945,7 +2602,7 @@ checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -2956,7 +2613,7 @@ checksum = "62d671cc41a825ebabc75757b62d3d168c577f9149b2d49ece1dad1f72119d25" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -2969,7 +2626,7 @@ dependencies = [ "proc-macro2", "quote", "rustc_version 0.4.1", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -2989,7 +2646,8 @@ checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", + "unicode-xid", ] [[package]] @@ -3029,6 +2687,27 @@ dependencies = [ "dirs-sys-next", ] +[[package]] +name = "dirs" +version = "5.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" +dependencies = [ + "dirs-sys", +] + +[[package]] +name = "dirs-sys" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" +dependencies = [ + "libc", + "option-ext", + "redox_users", + "windows-sys 0.48.0", +] + [[package]] name = "dirs-sys-next" version = "0.1.2" @@ -3040,6 +2719,22 @@ dependencies = [ "winapi", ] +[[package]] +name = "dleq_vrf" +version = "0.0.2" +source = "git+https://github.com/w3f/ring-vrf?rev=0fef826#0fef8266d851932ad25d6b41bc4b34d834d1e11d" +dependencies = [ + "ark-ec 0.4.2", + "ark-ff 0.4.2", + "ark-scale", + "ark-secret-scalar", + "ark-serialize 0.4.2", + "ark-std 0.4.0", + "ark-transcript", + "arrayvec 0.7.6", + "zeroize", +] + [[package]] name = "doc-comment" version = "0.3.3" @@ -3067,7 +2762,7 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.87", + "syn 2.0.98", "termcolor", "toml 0.8.19", "walkdir", @@ -3166,6 +2861,18 @@ dependencies = [ "zeroize", ] +[[package]] +name = "educe" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d7bc049e1bd8cdeb31b68bbd586a9464ecf9f3944af3958a7a9d0f8b9799417" +dependencies = [ + "enum-ordinalize", + "proc-macro2", + "quote", + "syn 2.0.98", +] + [[package]] name = "either" version = "1.13.0" @@ -3198,24 +2905,44 @@ version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" +[[package]] +name = "enum-ordinalize" +version = "4.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fea0dcfa4e54eeb516fe454635a95753ddd39acda650ce703031c6973e315dd5" +dependencies = [ + "enum-ordinalize-derive", +] + +[[package]] +name = "enum-ordinalize-derive" +version = "4.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d28318a75d4aead5c4db25382e8ef717932d0346600cacae6357eb5941bc5ff" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.98", +] + [[package]] name = "enumflags2" -version = "0.7.10" +version = "0.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d232db7f5956f3f14313dc2f87985c58bd2c695ce124c8cdd984e08e15ac133d" +checksum = "ba2f4b465f5318854c6f8dd686ede6c0a9dc67d4b1ac241cf0eb51521a309147" dependencies = [ "enumflags2_derive", ] [[package]] name = "enumflags2_derive" -version = "0.7.10" +version = "0.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de0d48a183585823424a4ce1aa132d174a6a81bd540895822eb4c8373a8e49e8" +checksum = "fc4caf64a58d7a6d65ab00639b046ff54399a39f5f2554728895ace4b297cd79" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -3226,7 +2953,7 @@ checksum = "2f9ed6b3789237c8a0c1c505af1c7eb2c560df6186f01b098c3a1064ea532f38" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -3264,38 +2991,13 @@ dependencies = [ "windows-sys 0.52.0", ] -[[package]] -name = "ethabi-decode" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09d398648d65820a727d6a81e58b962f874473396a047e4c30bafe3240953417" -dependencies = [ - "ethereum-types 0.14.1", - "tiny-keccak", -] - [[package]] name = "ethabi-decode" version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "52029c4087f9f01108f851d0d02df9c21feb5660a19713466724b7f95bd2d773" dependencies = [ - "ethereum-types 0.15.1", - "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 0.3.0", - "impl-serde 0.4.0", - "scale-info", + "ethereum-types", "tiny-keccak", ] @@ -3308,39 +3010,23 @@ dependencies = [ "crunchy", "fixed-hash", "impl-codec 0.7.0", - "impl-rlp 0.4.0", - "impl-serde 0.5.0", + "impl-rlp", + "impl-serde", "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 0.13.0", - "fixed-hash", - "impl-codec 0.6.0", - "impl-rlp 0.3.0", - "impl-serde 0.4.0", - "primitive-types 0.12.2", - "scale-info", - "uint 0.9.5", -] - [[package]] name = "ethereum-types" version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1ab15ed80916029f878e0267c3a9f92b67df55e79af370bf66199059ae2b4ee3" dependencies = [ - "ethbloom 0.14.1", + "ethbloom", "fixed-hash", "impl-codec 0.7.0", - "impl-rlp 0.4.0", - "impl-serde 0.5.0", + "impl-rlp", + "impl-serde", "primitive-types 0.13.1", "scale-info", "uint 0.10.0", @@ -3379,7 +3065,7 @@ dependencies = [ "prettyplease", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -3421,6 +3107,19 @@ dependencies = [ "subtle", ] +[[package]] +name = "fflonk" +version = "0.1.1" +source = "git+https://github.com/w3f/fflonk#eda051ea3b80042e844a3ebd17c2f60536e6ee3f" +dependencies = [ + "ark-ec 0.5.0", + "ark-ff 0.5.0", + "ark-poly 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", + "merlin", +] + [[package]] name = "fiat-crypto" version = "0.2.9" @@ -3461,9 +3160,9 @@ dependencies = [ [[package]] name = "finality-grandpa" -version = "0.16.2" +version = "0.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36530797b9bf31cd4ff126dcfee8170f86b00cfdcea3269d73133cc0415945c3" +checksum = "b4f8f43dc520133541781ec03a8cab158ae8b7f7169cdf22e9050aa6cf0fbdfc" dependencies = [ "either", "futures", @@ -3493,6 +3192,12 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +[[package]] +name = "foldhash" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0d2fde1f7b3d48b8395d5f2de76c18a528bd6a9cdde438df747bfcba3e05d6f" + [[package]] name = "form_urlencoded" version = "1.2.1" @@ -3504,82 +3209,54 @@ dependencies = [ [[package]] name = "frame-benchmarking" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a01bdd47c2d541b38bd892da647d1e972c9d85b4ecd7094ad64f7600175da54d" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 38.2.0", - "frame-support-procedural 30.0.6", - "frame-system 38.0.0", + "frame-support", + "frame-support-procedural", + "frame-system", "linregress", "log", "parity-scale-codec", "paste", "scale-info", "serde", - "sp-api 34.0.0", - "sp-application-crypto 38.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-runtime-interface 28.0.0", - "sp-storage 21.0.0", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", "static_assertions", ] [[package]] -name = "frame-benchmarking" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c221b23f5cc5990830c4010bc01eac1cf401327e2bec362b0d28cb261809958" +name = "frame-benchmarking-pallet-pov" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 39.0.0", - "frame-support-procedural 31.0.1", - "frame-system 39.1.0", - "linregress", - "log", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "sp-api 35.0.0", - "sp-application-crypto 39.0.0", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-runtime-interface 29.0.0", - "sp-storage 22.0.0", - "static_assertions", -] - -[[package]] -name = "frame-benchmarking-pallet-pov" -version = "28.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ffde6f573a63eeb1ccb7d2667c5741a11ce93bc30f33712e5326b9d8a811c29" -dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-io", + "sp-runtime", ] [[package]] -name = "frame-benchmarking-pallet-pov" -version = "29.0.0" +name = "frame-decode" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32003da76f4f0947eb4f16495c2efa16079efafdd61af7124b6da6dc470595f2" +checksum = "6027a409bac4fe95b4d107f965fcdbc252fc89d884a360d076b3070b6128c094" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-metadata 17.0.0", "parity-scale-codec", + "scale-decode 0.14.0", "scale-info", - "sp-io 39.0.0", - "sp-runtime 40.1.0", + "scale-type-resolver", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -3593,98 +3270,60 @@ dependencies = [ "scale-decode 0.16.0", "scale-info", "scale-type-resolver", - "sp-crypto-hashing", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "frame-election-provider-solution-type" -version = "14.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8156f209055d352994ecd49e19658c6b469d7c6de923bd79868957d0dcfb6f71" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.87", -] - -[[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", - "frame-support 38.2.0", - "frame-system 38.0.0", - "parity-scale-codec", - "scale-info", - "sp-arithmetic", - "sp-core 34.0.0", - "sp-npos-elections 34.0.0", - "sp-runtime 39.0.5", + "syn 2.0.98", ] [[package]] name = "frame-election-provider-support" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d62cba64438e4f6f8b78c8c7ec1953ba3c3f4933245412b44501b31df0f87ef" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "frame-election-provider-solution-type", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "sp-arithmetic", - "sp-core 35.0.0", - "sp-npos-elections 35.0.0", - "sp-runtime 40.1.0", + "sp-core", + "sp-npos-elections", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", ] [[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.2.0", - "frame-system 38.0.0", - "frame-try-runtime 0.44.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-tracing", -] - -[[package]] -name = "frame-executive" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c883a3f584c13832c6fa79f49ea19ae48694029408b0aa457da16424a2518e2" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "aquamarine", - "frame-support 39.0.0", - "frame-system 39.1.0", - "frame-try-runtime 0.45.0", + "frame-support", + "frame-system", + "frame-try-runtime", "log", "parity-scale-codec", "scale-info", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-tracing", + "sp-core", + "sp-io", + "sp-runtime", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", ] [[package]] name = "frame-metadata" -version = "15.1.0" +version = "17.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "878babb0b136e731cc77ec2fd883ff02745ff21e6fb662729953d44923df009c" +checksum = "701bac17e9b55e0f95067c428ebcb46496587f08e8cf4ccc0fe5903bea10dbb8" dependencies = [ "cfg-if", "parity-scale-codec", @@ -3693,9 +3332,9 @@ dependencies = [ [[package]] name = "frame-metadata" -version = "16.0.0" +version = "18.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cf1549fba25a6fcac22785b61698317d958e96cac72a59102ea45b9ae64692" +checksum = "daaf440c68eb2c3d88e5760fe8c7af3f9fee9181fab6c2f2c4e7cc48dcc40bb8" dependencies = [ "cfg-if", "parity-scale-codec", @@ -3705,9 +3344,9 @@ dependencies = [ [[package]] name = "frame-metadata" -version = "18.0.0" +version = "19.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daaf440c68eb2c3d88e5760fe8c7af3f9fee9181fab6c2f2c4e7cc48dcc40bb8" +checksum = "835a2e736d544b98dab966b4b9541f15af416288a86c3738fdd67bd9fbc4696e" dependencies = [ "cfg-if", "parity-scale-codec", @@ -3717,93 +3356,33 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56ac71dbd97039c49fdd69f416a4dd5d8da3652fdcafc3738b45772ad79eb4ec" -dependencies = [ - "array-bytes", - "docify", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-runtime 39.0.5", -] - -[[package]] -name = "frame-metadata-hash-extension" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "014915e6982d15be6eedd8034daf020e62a057577f99d71e33ad2002367a35dc" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "array-bytes", "const-hex", "docify", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-runtime 40.1.0", -] - -[[package]] -name = "frame-support" -version = "38.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7dd8b9f161a8289e3b9fe6c1068519358dbff2270d38097a923d3d1b4459dca" -dependencies = [ - "aquamarine", - "array-bytes", - "bitflags 1.3.2", - "docify", - "environmental", - "frame-metadata 16.0.0", - "frame-support-procedural 30.0.6", - "impl-trait-for-tuples", - "k256", + "frame-support", + "frame-system", "log", - "macro_magic", "parity-scale-codec", - "paste", "scale-info", - "serde", - "serde_json", - "smallvec", - "sp-api 34.0.0", - "sp-arithmetic", - "sp-core 34.0.0", - "sp-crypto-hashing-proc-macro", - "sp-debug-derive", - "sp-genesis-builder 0.15.1", - "sp-inherents 34.0.0", - "sp-io 38.0.0", - "sp-metadata-ir 0.7.0", - "sp-runtime 39.0.5", - "sp-staking 36.0.0", - "sp-state-machine 0.43.0", - "sp-std", - "sp-tracing", - "sp-weights", - "static_assertions", - "tt-call", + "sp-runtime", ] [[package]] name = "frame-support" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4547b03c9267b2d545ddddd8967d1d39277a090814da2466176dc65ff489d0a" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "aquamarine", "array-bytes", - "binary-merkle-tree 16.0.0", + "binary-merkle-tree", "bitflags 1.3.2", "docify", "environmental", - "frame-metadata 18.0.0", - "frame-support-procedural 31.0.1", + "frame-metadata 19.0.0", + "frame-support-procedural", "impl-trait-for-tuples", "k256", "log", @@ -3814,21 +3393,21 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-api 35.0.0", + "sp-api", "sp-arithmetic", - "sp-core 35.0.0", + "sp-core", "sp-crypto-hashing-proc-macro", - "sp-debug-derive", - "sp-genesis-builder 0.16.0", - "sp-inherents 35.0.0", - "sp-io 39.0.0", - "sp-metadata-ir 0.8.0", - "sp-runtime 40.1.0", - "sp-staking 37.0.0", - "sp-state-machine 0.44.0", - "sp-std", - "sp-tracing", - "sp-trie 38.0.0", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-genesis-builder", + "sp-inherents", + "sp-io", + "sp-metadata-ir", + "sp-runtime", + "sp-staking", + "sp-state-machine", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-trie", "sp-weights", "static_assertions", "tt-call", @@ -3836,30 +3415,8 @@ dependencies = [ [[package]] name = "frame-support-procedural" -version = "30.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8da784d943f2a945be923ab081a7c0837355b38045c50945d7ec1a138e2f3c52" -dependencies = [ - "Inflector", - "cfg-expr", - "derive-syn-parse", - "docify", - "expander", - "frame-support-procedural-tools", - "itertools 0.11.0", - "macro_magic", - "proc-macro-warning", - "proc-macro2", - "quote", - "sp-crypto-hashing", - "syn 2.0.87", -] - -[[package]] -name = "frame-support-procedural" -version = "31.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e204cb5972b66489923ff201b11e0f605496dd5809bfee62258a42b6341e1c34" +version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "Inflector", "cfg-expr", @@ -3872,150 +3429,84 @@ dependencies = [ "proc-macro-warning", "proc-macro2", "quote", - "sp-crypto-hashing", - "syn 2.0.87", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "syn 2.0.98", ] [[package]] name = "frame-support-procedural-tools" -version = "13.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81a088fd6fda5f53ff0c17fc7551ce8bd0ead14ba742228443c8196296a7369b" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] name = "frame-support-procedural-tools-derive" -version = "12.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed971c6435503a099bdac99fe4c5bea08981709e5b5a0a8535a1856f48561191" +version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", -] - -[[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.2.0", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std", - "sp-version 37.0.0", - "sp-weights", + "syn 2.0.98", ] [[package]] name = "frame-system" -version = "39.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b97b74455a72cc924b8b8e8a1dee05de90d3714d1723b0ff54b9e6976aa009ac" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "cfg-if", "docify", - "frame-support 39.0.0", + "frame-support", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-std", - "sp-version 38.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-version", "sp-weights", ] [[package]] name = "frame-system-benchmarking" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9693b2a736beb076e673520e1e8dee4fc128b8d35b020ef3e8a4b1b5ad63d9f2" -dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "parity-scale-codec", - "scale-info", - "sp-core 34.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "frame-system-benchmarking" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50f737d2b4dbde43635fed849cc3fb97e8f89c5d3046c207ef1829673f096989" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 35.0.0", - "sp-runtime 40.1.0", -] - -[[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", + "sp-core", + "sp-runtime", ] [[package]] name = "frame-system-rpc-runtime-api" -version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9756d979251b162f1c9821a944b95e5fdd4d6c7aab8854a33b5820ce02a77af5" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "docify", "parity-scale-codec", - "sp-api 35.0.0", -] - -[[package]] -name = "frame-try-runtime" -version = "0.44.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83c811a5a1f5429c7fb5ebbf6cf9502d8f9b673fd395c12cf46c44a30a7daf0e" -dependencies = [ - "frame-support 38.2.0", - "parity-scale-codec", - "sp-api 34.0.0", - "sp-runtime 39.0.5", + "sp-api", ] [[package]] name = "frame-try-runtime" -version = "0.45.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2224250e66348e71a952060f50b75bf02b7114241818602ccc46e0f905331193" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 39.0.0", + "frame-support", "parity-scale-codec", - "sp-api 35.0.0", - "sp-runtime 40.1.0", + "sp-api", + "sp-runtime", ] [[package]] @@ -4103,7 +3594,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -4123,10 +3614,6 @@ name = "futures-timer" version = "3.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" -dependencies = [ - "gloo-timers", - "send_wrapper", -] [[package]] name = "futures-util" @@ -4210,66 +3697,14 @@ dependencies = [ [[package]] name = "gimli" -version = "0.28.1" +version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" +checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" dependencies = [ "fallible-iterator 0.3.0", "stable_deref_trait", ] -[[package]] -name = "gimli" -version = "0.31.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32085ea23f3234fc7846555e85283ba4de91e21016dc0455a16286d87a292d64" - -[[package]] -name = "gloo-net" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06f627b1a58ca3d42b45d6104bf1e1a03799df472df00988b6ba21accc10580" -dependencies = [ - "futures-channel", - "futures-core", - "futures-sink", - "gloo-utils", - "http 1.1.0", - "js-sys", - "pin-project", - "serde", - "serde_json", - "thiserror 1.0.69", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", -] - -[[package]] -name = "gloo-timers" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c" -dependencies = [ - "futures-channel", - "futures-core", - "js-sys", - "wasm-bindgen", -] - -[[package]] -name = "gloo-utils" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b5555354113b18c547c1d3a98fbf7fb32a9ff4f6fa112ce823a21641a0ba3aa" -dependencies = [ - "js-sys", - "serde", - "serde_json", - "wasm-bindgen", - "web-sys", -] - [[package]] name = "group" version = "0.13.0" @@ -4300,25 +3735,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "h2" -version = "0.4.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccae279728d634d083c00f6099cb58f01cc99c145b84b8be2f6c74618d79922e" -dependencies = [ - "atomic-waker", - "bytes", - "fnv", - "futures-core", - "futures-sink", - "http 1.1.0", - "indexmap 2.5.0", - "slab", - "tokio", - "tokio-util", - "tracing", -] - [[package]] name = "hash-db" version = "0.16.0" @@ -4339,9 +3755,6 @@ name = "hashbrown" version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" -dependencies = [ - "ahash 0.7.8", -] [[package]] name = "hashbrown" @@ -4349,7 +3762,7 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.11", + "ahash", ] [[package]] @@ -4358,8 +3771,19 @@ version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" dependencies = [ - "ahash 0.8.11", + "ahash", + "allocator-api2", + "serde", +] + +[[package]] +name = "hashbrown" +version = "0.15.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" +dependencies = [ "allocator-api2", + "foldhash", "serde", ] @@ -4392,6 +3816,9 @@ name = "hex" version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" +dependencies = [ + "serde", +] [[package]] name = "hex-conservative" @@ -4399,6 +3826,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" @@ -4478,31 +3914,8 @@ dependencies = [ ] [[package]] -name = "http-body" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" -dependencies = [ - "bytes", - "http 1.1.0", -] - -[[package]] -name = "http-body-util" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" -dependencies = [ - "bytes", - "futures-util", - "http 1.1.0", - "http-body 1.0.1", - "pin-project-lite", -] - -[[package]] -name = "httparse" -version = "1.9.4" +name = "httparse" +version = "1.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fcc0b4a115bf80b728eb8ea024ad5bd707b615bfed49e0665b6e0f86fd082d9" @@ -4528,9 +3941,9 @@ dependencies = [ "futures-channel", "futures-core", "futures-util", - "h2 0.3.26", + "h2", "http 0.2.12", - "http-body 0.4.6", + "http-body", "httparse", "httpdate", "itoa", @@ -4542,64 +3955,6 @@ dependencies = [ "want", ] -[[package]] -name = "hyper" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc2b571658e38e0c01b1fdca3bbbe93c00d3d71693ff2770043f8c29bc7d6f80" -dependencies = [ - "bytes", - "futures-channel", - "futures-util", - "h2 0.4.7", - "http 1.1.0", - "http-body 1.0.1", - "httparse", - "httpdate", - "itoa", - "pin-project-lite", - "smallvec", - "tokio", - "want", -] - -[[package]] -name = "hyper-rustls" -version = "0.27.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d191583f3da1305256f22463b9bb0471acad48a4e534a5218b9963e9c1f59b2" -dependencies = [ - "futures-util", - "http 1.1.0", - "hyper 1.6.0", - "hyper-util", - "log", - "rustls", - "rustls-pki-types", - "tokio", - "tokio-rustls", - "tower-service", -] - -[[package]] -name = "hyper-util" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4" -dependencies = [ - "bytes", - "futures-channel", - "futures-util", - "http 1.1.0", - "http-body 1.0.1", - "hyper 1.6.0", - "pin-project-lite", - "socket2", - "tokio", - "tower-service", - "tracing", -] - [[package]] name = "ident_case" version = "1.0.1" @@ -4645,15 +4000,6 @@ dependencies = [ "uint 0.10.0", ] -[[package]] -name = "impl-rlp" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f28220f89297a075ddc7245cd538076ee98b01f2a9c23a53a4f1105d5a322808" -dependencies = [ - "rlp 0.5.2", -] - [[package]] name = "impl-rlp" version = "0.4.0" @@ -4663,15 +4009,6 @@ dependencies = [ "rlp 0.6.1", ] -[[package]] -name = "impl-serde" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebc88fc67028ae3db0c853baa36269d398d5f45b6982f95549ff5def78c935cd" -dependencies = [ - "serde", -] - [[package]] name = "impl-serde" version = "0.5.0" @@ -4683,13 +4020,13 @@ dependencies = [ [[package]] name = "impl-trait-for-tuples" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb" +checksum = "a0eb5a3343abf848c0984fe4604b2b105da9539376e24fc0a3b0007411ae4fd9" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.98", ] [[package]] @@ -4730,6 +4067,7 @@ checksum = "68b900aa2f7301e21c36462b170ee99994de34dff39a4a6a528e80e7376d07e5" dependencies = [ "equivalent", "hashbrown 0.14.5", + "serde", ] [[package]] @@ -4863,14 +4201,8 @@ checksum = "834af00800e962dee8f7bfc0f60601de215e73e78e5497d733a2919da837d3c8" dependencies = [ "jsonrpsee-client-transport", "jsonrpsee-core", - "jsonrpsee-http-client", - "jsonrpsee-proc-macros", - "jsonrpsee-server", "jsonrpsee-types", - "jsonrpsee-wasm-client", "jsonrpsee-ws-client", - "tokio", - "tracing", ] [[package]] @@ -4880,9 +4212,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "548125b159ba1314104f5bb5f38519e03a41862786aa3925cf349aae9cdd546e" dependencies = [ "base64 0.22.1", - "futures-channel", "futures-util", - "gloo-net", "http 1.1.0", "jsonrpsee-core", "pin-project", @@ -4905,16 +4235,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f2882f6f8acb9fdaec7cefc4fd607119a9bd709831df7d7672a1d3b644628280" dependencies = [ "async-trait", - "bytes", "futures-timer", "futures-util", - "http 1.1.0", - "http-body 1.0.1", - "http-body-util", "jsonrpsee-types", - "parking_lot", "pin-project", - "rand", "rustc-hash 2.0.0", "serde", "serde_json", @@ -4922,72 +4246,6 @@ dependencies = [ "tokio", "tokio-stream", "tracing", - "wasm-bindgen-futures", -] - -[[package]] -name = "jsonrpsee-http-client" -version = "0.24.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87c24e981ad17798bbca852b0738bfb7b94816ed687bd0d5da60bfa35fa0fdc3" -dependencies = [ - "async-trait", - "base64 0.22.1", - "http-body 1.0.1", - "hyper 1.6.0", - "hyper-rustls", - "hyper-util", - "jsonrpsee-core", - "jsonrpsee-types", - "rustls", - "rustls-platform-verifier", - "serde", - "serde_json", - "thiserror 1.0.69", - "tokio", - "tower", - "tracing", - "url", -] - -[[package]] -name = "jsonrpsee-proc-macros" -version = "0.24.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fcae0c6c159e11541080f1f829873d8f374f81eda0abc67695a13fc8dc1a580" -dependencies = [ - "heck 0.5.0", - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 2.0.87", -] - -[[package]] -name = "jsonrpsee-server" -version = "0.24.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66b7a3df90a1a60c3ed68e7ca63916b53e9afa928e33531e87f61a9c8e9ae87b" -dependencies = [ - "futures-util", - "http 1.1.0", - "http-body 1.0.1", - "http-body-util", - "hyper 1.6.0", - "hyper-util", - "jsonrpsee-core", - "jsonrpsee-types", - "pin-project", - "route-recognizer", - "serde", - "serde_json", - "soketto", - "thiserror 1.0.69", - "tokio", - "tokio-stream", - "tokio-util", - "tower", - "tracing", ] [[package]] @@ -5002,17 +4260,6 @@ dependencies = [ "thiserror 1.0.69", ] -[[package]] -name = "jsonrpsee-wasm-client" -version = "0.24.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42e41af42ca39657313748174d02766e5287d3a57356f16756dbd8065b933977" -dependencies = [ - "jsonrpsee-client-transport", - "jsonrpsee-core", - "jsonrpsee-types", -] - [[package]] name = "jsonrpsee-ws-client" version = "0.24.7" @@ -5050,13 +4297,13 @@ dependencies = [ ] [[package]] -name = "keccak-hash" -version = "0.10.0" +name = "keccak-asm" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b286e6b663fb926e1eeb68528e69cb70ed46c6d65871a21b2215ae8154c6d3c" +checksum = "505d1856a39b200489082f90d897c3f07c455563880bc5952e38eabf731c83b6" dependencies = [ - "primitive-types 0.12.2", - "tiny-keccak", + "digest 0.10.7", + "sha3-asm", ] [[package]] @@ -5192,15 +4439,6 @@ version = "0.4.26" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "30bde2b3dc3671ae49d8e2e9f044c7c005836e7a023ee57cffa25ab82764bb9e" -[[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.12.4" @@ -5228,7 +4466,7 @@ dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -5242,7 +4480,7 @@ dependencies = [ "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -5253,7 +4491,7 @@ checksum = "b02abfe41815b5bd98dbd4260173db2c116dda171dc0fe7838cb206333b83308" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -5264,7 +4502,7 @@ checksum = "73ea28ee64b88876bf45277ed9a5817c1817df061a74f2b988971a12570e5869" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -5388,7 +4626,7 @@ checksum = "254a5372af8fc138e36684761d3c0cdb758a4410e938babcff1c860ce14ddbfc" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -5456,7 +4694,7 @@ checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -5521,15 +4759,6 @@ dependencies = [ "memchr", ] -[[package]] -name = "object" -version = "0.32.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" -dependencies = [ - "memchr", -] - [[package]] name = "object" version = "0.36.4" @@ -5557,6 +4786,12 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +[[package]] +name = "option-ext" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" + [[package]] name = "overload" version = "0.1.1" @@ -5565,3931 +4800,1973 @@ checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" [[package]] name = "pallet-alliance" -version = "37.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59378a648a0aa279a4b10650366c3389cd0a1239b1876f74bfecd268eecb086b" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-collective 38.0.0", - "pallet-identity 38.0.0", + "pallet-collective", + "pallet-identity", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-crypto-hashing", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-alliance" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "968c20a7ae2fd21c20a8d3b54ec3df6e94c38df572803a831b9a21f5a3364aaf" +name = "pallet-asset-conversion" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-collective 39.0.0", - "pallet-identity 39.0.0", "parity-scale-codec", "scale-info", - "sp-core 35.0.0", - "sp-crypto-hashing", - "sp-io 39.0.0", - "sp-runtime 40.1.0", + "sp-api", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-asset-conversion" -version = "20.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33f0078659ae95efe6a1bf138ab5250bc41ab98f22ff3651d0208684f08ae797" +name = "pallet-asset-conversion-ops" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", + "pallet-asset-conversion", "parity-scale-codec", "scale-info", - "sp-api 34.0.0", "sp-arithmetic", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-asset-conversion" -version = "21.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f8b3dc7ead2fafe65a65d1589017f25fd1c3e020dea3371c210ebdcfd0c11f5" +name = "pallet-asset-conversion-tx-payment" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", + "frame-benchmarking", + "frame-support", + "frame-system", + "pallet-asset-conversion", + "pallet-transaction-payment", "parity-scale-codec", "scale-info", - "sp-api 35.0.0", - "sp-arithmetic", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", + "sp-runtime", ] [[package]] -name = "pallet-asset-conversion-ops" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3edbeda834bcd6660f311d4eead3dabdf6d385b7308ac75b0fae941a960e6c3a" +name = "pallet-asset-rate" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "pallet-asset-conversion 20.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", ] [[package]] -name = "pallet-asset-conversion-ops" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dff7b1f8dfd80b2f472775df3842655578f3bb10546ac3587283d607d71667e" +name = "pallet-asset-rewards" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "pallet-asset-conversion 21.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", + "sp-api", "sp-arithmetic", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", ] [[package]] -name = "pallet-asset-conversion-tx-payment" -version = "20.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ab66c4c22ac0f20e620a954ce7ba050118d6d8011e2d02df599309502064e98" +name = "pallet-asset-tx-payment" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 38.2.0", - "frame-system 38.0.0", - "pallet-asset-conversion 20.0.0", - "pallet-transaction-payment 38.0.2", + "frame-benchmarking", + "frame-support", + "frame-system", + "pallet-transaction-payment", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", + "serde", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-asset-conversion-tx-payment" -version = "21.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b84e3e2883341b93117f1d4582ed9e4d466448a568883e5fe4ce7a195b8f709a" +name = "pallet-assets" +version = "29.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "pallet-asset-conversion 21.0.0", - "pallet-transaction-payment 39.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", + "impl-trait-for-tuples", + "log", "parity-scale-codec", "scale-info", - "sp-runtime 40.1.0", + "sp-core", + "sp-runtime", ] [[package]] -name = "pallet-asset-rate" -version = "17.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71b2149aa741bc39466bbcc92d9d0ab6e9adcf39d2790443a735ad573b3191e7" +name = "pallet-assets-freezer" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", + "log", + "pallet-assets", "parity-scale-codec", + "polkadot-sdk-frame", "scale-info", - "sp-core 34.0.0", - "sp-runtime 39.0.5", ] [[package]] -name = "pallet-asset-rate" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8e2ec12e466aee7f694a32cbecaf37ff0a77aaf6cbc43b934aa3496257852cb" +name = "pallet-assets-holder" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "pallet-assets", "parity-scale-codec", "scale-info", - "sp-core 35.0.0", - "sp-runtime 40.1.0", + "sp-runtime", ] [[package]] -name = "pallet-asset-tx-payment" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "406a486466d15acc48c99420191f96f1af018f3381fde829c467aba489030f18" +name = "pallet-atomic-swap" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "pallet-transaction-payment 38.0.2", "parity-scale-codec", + "polkadot-sdk-frame", "scale-info", - "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", ] [[package]] -name = "pallet-asset-tx-payment" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c452653e7f1dc18bce90de75cebf792180662e666567a99f3c25eeabe4ddc4a" +name = "pallet-aura" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "pallet-transaction-payment 39.0.0", + "frame-support", + "frame-system", + "log", + "pallet-timestamp", "parity-scale-codec", "scale-info", - "serde", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", + "sp-application-crypto", + "sp-consensus-aura", + "sp-runtime", ] [[package]] -name = "pallet-assets" -version = "40.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f45f4eb6027fc34c4650e0ed6a7e57ed3335cc364be74b4531f714237676bcee" +name = "pallet-authority-discovery" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "impl-trait-for-tuples", - "log", + "frame-support", + "frame-system", + "pallet-session", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-application-crypto", + "sp-authority-discovery", + "sp-runtime", ] [[package]] -name = "pallet-assets" -version = "41.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdf19a59a1213c8d526c55ce9fc3356fcc5a1c2ecd50e74a9caf94f36cb5978d" +name = "pallet-authorship" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-support", + "frame-system", "impl-trait-for-tuples", - "log", "parity-scale-codec", "scale-info", - "sp-core 35.0.0", - "sp-runtime 40.1.0", + "sp-runtime", ] [[package]] -name = "pallet-assets-freezer" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "127adc2250b89416b940850ce2175dab10a9297b503b1fcb05dc555bd9bd3207" +name = "pallet-babe" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-assets 40.0.0", + "pallet-authorship", + "pallet-session", + "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", + "sp-application-crypto", + "sp-consensus-babe", + "sp-core", + "sp-io", + "sp-runtime", + "sp-session", + "sp-staking", ] [[package]] -name = "pallet-assets-freezer" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32171fe43d09f55d37c4fb8a97170e41c5e23ddf645a063804cfc403d3a5ef79" +name = "pallet-bags-list" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "aquamarine", + "docify", + "frame-benchmarking", + "frame-election-provider-support", + "frame-support", + "frame-system", "log", - "pallet-assets 41.0.0", + "pallet-balances", "parity-scale-codec", "scale-info", - "sp-runtime 40.1.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", ] [[package]] -name = "pallet-atomic-swap" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15906a685adeabe6027e49c814a34066222dd6136187a8a79c213d0d739b6634" +name = "pallet-balances" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 38.2.0", - "frame-system 38.0.0", + "docify", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", ] [[package]] -name = "pallet-atomic-swap" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06679e86d9417d1ca9554f92403940e98e13b092544d80ed4d83290646371920" +name = "pallet-beefy" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-support", + "frame-system", + "log", + "pallet-authorship", + "pallet-session", "parity-scale-codec", "scale-info", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", + "serde", + "sp-consensus-beefy", + "sp-runtime", + "sp-session", + "sp-staking", ] [[package]] -name = "pallet-aura" -version = "37.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b31da6e794d655d1f9c4da6557a57399538d75905a7862a2ed3f7e5fb711d7e4" +name = "pallet-beefy-mmr" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 38.2.0", - "frame-system 38.0.0", + "array-bytes", + "binary-merkle-tree", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-timestamp 37.0.0", + "pallet-beefy", + "pallet-mmr", + "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto 38.0.0", - "sp-consensus-aura 0.40.0", - "sp-runtime 39.0.5", + "serde", + "sp-api", + "sp-consensus-beefy", + "sp-core", + "sp-io", + "sp-runtime", + "sp-state-machine", ] [[package]] -name = "pallet-aura" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "774df8bfc67659de57941fe2ff885c891ef0deb73b4dece137fff31b0db4680b" +name = "pallet-bounties" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-timestamp 38.0.0", + "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-application-crypto 39.0.0", - "sp-consensus-aura 0.41.0", - "sp-runtime 40.1.0", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-authority-discovery" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffb0208f0538d58dcb78ce1ff5e6e8641c5f37b23b20b05587e51da30ab13541" +name = "pallet-bridge-grandpa" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 38.2.0", - "frame-system 38.0.0", - "pallet-session 38.0.0", + "bp-header-chain", + "bp-runtime", + "bp-test-utils", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", "parity-scale-codec", "scale-info", - "sp-application-crypto 38.0.0", - "sp-authority-discovery 34.0.0", - "sp-runtime 39.0.5", + "sp-consensus-grandpa", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", ] [[package]] -name = "pallet-authority-discovery" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b3126c515a5da73738d58fc005522d0c2dc36049f8486ff36adf1bab288dbdb" +name = "pallet-bridge-messages" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 39.0.0", - "frame-system 39.1.0", - "pallet-session 39.0.0", + "bp-header-chain", + "bp-messages", + "bp-runtime", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", "parity-scale-codec", "scale-info", - "sp-application-crypto 39.0.0", - "sp-authority-discovery 35.0.0", - "sp-runtime 40.1.0", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-trie", ] [[package]] -name = "pallet-authorship" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "625d47577cabbe1318ccec5d612e2379002d1b6af1ab6edcef3243c66ec246df" +name = "pallet-bridge-parachains" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 38.2.0", - "frame-system 38.0.0", - "impl-trait-for-tuples", + "bp-header-chain", + "bp-parachains", + "bp-polkadot-core", + "bp-runtime", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "pallet-bridge-grandpa", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", ] [[package]] -name = "pallet-authorship" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "452584dcccd8412609dea0d9e63e4b36564b66793e637420624b9f61aa1cf2e9" +name = "pallet-bridge-relayers" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 39.0.0", - "frame-system 39.1.0", - "impl-trait-for-tuples", + "bp-header-chain", + "bp-messages", + "bp-relayers", + "bp-runtime", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "pallet-bridge-grandpa", + "pallet-bridge-messages", + "pallet-bridge-parachains", + "pallet-transaction-payment", "parity-scale-codec", "scale-info", - "sp-runtime 40.1.0", + "sp-arithmetic", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", ] [[package]] -name = "pallet-babe" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ee096c0def13832475b340d00121025e0225de29604d44bc6dfcaa294c995b4" +name = "pallet-broker" +version = "0.6.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", + "bitvec", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-authorship 38.0.0", - "pallet-session 38.0.0", - "pallet-timestamp 37.0.0", "parity-scale-codec", "scale-info", - "sp-application-crypto 38.0.0", - "sp-consensus-babe 0.40.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-session 36.0.0", - "sp-staking 36.0.0", + "sp-api", + "sp-arithmetic", + "sp-core", + "sp-runtime", ] [[package]] -name = "pallet-babe" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef195d55a068a8bd069d87d840d9153e1788fcb46b3c1b07c37f550918119374" +name = "pallet-child-bounties" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-authorship 39.0.0", - "pallet-session 39.0.0", - "pallet-timestamp 38.0.0", + "pallet-bounties", + "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-application-crypto 39.0.0", - "sp-consensus-babe 0.41.0", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-session 37.0.0", - "sp-staking 37.0.0", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-bags-list" -version = "37.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fd23a6f94ba9c1e57c8a7f8a41327d132903a79c55c0c83f36cbae19946cf10" +name = "pallet-collator-selection" +version = "9.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "aquamarine", - "docify", - "frame-benchmarking 38.0.0", - "frame-election-provider-support 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-balances 39.0.0", + "pallet-authorship", + "pallet-balances", + "pallet-session", "parity-scale-codec", + "rand", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-tracing", + "sp-runtime", + "sp-staking", ] [[package]] -name = "pallet-bags-list" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5177afdf203ef4aec11a356d343fcab43bee85a25fe216f06bfba8199e86d96a" +name = "pallet-collective" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "aquamarine", "docify", - "frame-benchmarking 39.0.0", - "frame-election-provider-support 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-balances 40.0.1", "parity-scale-codec", "scale-info", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-tracing", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-balances" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c6945b078919acb14d126490e4b0973a688568b30142476ca69c6df2bed27ad" +name = "pallet-collective-content" +version = "0.6.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "docify", - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", ] [[package]] -name = "pallet-balances" -version = "40.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b3d18caaae72674d6536d339c1ae5b5063b55de5813a43ee045847d28c0a128" +name = "pallet-contracts" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "docify", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "bitflags 1.3.2", + "environmental", + "frame-benchmarking", + "frame-support", + "frame-system", + "impl-trait-for-tuples", "log", + "pallet-balances", + "pallet-contracts-proc-macro", + "pallet-contracts-uapi", "parity-scale-codec", + "paste", + "rand", "scale-info", - "sp-runtime 40.1.0", + "serde", + "smallvec", + "sp-api", + "sp-core", + "sp-io", + "sp-runtime", + "staging-xcm", + "staging-xcm-builder", + "wasm-instrument", + "wasmi", ] [[package]] -name = "pallet-beefy" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "014d177a3aba19ac144fc6b2b5eb94930b9874734b91fd014902b6706288bb5f" +name = "pallet-contracts-mock-network" +version = "3.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "pallet-authorship 38.0.0", - "pallet-session 38.0.0", + "frame-support", + "frame-system", + "pallet-assets", + "pallet-balances", + "pallet-contracts", + "pallet-contracts-proc-macro", + "pallet-contracts-uapi", + "pallet-message-queue", + "pallet-timestamp", + "pallet-xcm", "parity-scale-codec", + "polkadot-parachain-primitives", + "polkadot-primitives", + "polkadot-runtime-parachains", "scale-info", - "serde", - "sp-consensus-beefy 22.1.0", - "sp-runtime 39.0.5", - "sp-session 36.0.0", - "sp-staking 36.0.0", + "sp-api", + "sp-core", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", + "xcm-simulator", ] [[package]] -name = "pallet-beefy" -version = "40.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41169fde2f160bec9fcd36875b8d2f80b7385a7d57a03bd7cef26e7cf73026e9" +name = "pallet-contracts-proc-macro" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "pallet-authorship 39.0.0", - "pallet-session 39.0.0", + "proc-macro2", + "quote", + "syn 2.0.98", +] + +[[package]] +name = "pallet-contracts-uapi" +version = "5.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" +dependencies = [ + "bitflags 1.3.2", "parity-scale-codec", + "paste", "scale-info", - "serde", - "sp-consensus-beefy 23.0.0", - "sp-runtime 40.1.0", - "sp-session 37.0.0", - "sp-staking 37.0.0", ] [[package]] -name = "pallet-beefy-mmr" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c64f536e7f04cf3a0a17fdf20870ddb3d63a7690419c40f75cfd2f72b6e6d22" +name = "pallet-conviction-voting" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "array-bytes", - "binary-merkle-tree 15.0.1", - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "pallet-beefy 39.0.0", - "pallet-mmr 38.0.0", - "pallet-session 38.0.0", + "assert_matches", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-api 34.0.0", - "sp-consensus-beefy 22.1.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-beefy-mmr" -version = "40.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1908920b699906c68668572e2ec22085502e1c1bcde3e66fba0da3848f5eae02" +name = "pallet-core-fellowship" +version = "12.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "array-bytes", - "binary-merkle-tree 16.0.0", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-beefy 40.0.0", - "pallet-mmr 39.0.0", - "pallet-session 39.0.0", + "pallet-ranked-collective", "parity-scale-codec", "scale-info", - "serde", - "sp-api 35.0.0", - "sp-consensus-beefy 23.0.0", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-state-machine 0.44.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-bounties" -version = "37.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59f3d032f78624b12238a31b6e80ab3e112381a7bc222df152650e33bb2ce190" +name = "pallet-delegated-staking" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", + "frame-support", + "frame-system", "log", - "pallet-treasury 37.0.0", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-io", + "sp-runtime", + "sp-staking", ] [[package]] -name = "pallet-bounties" -version = "38.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ef978b94401a5d9663091a985a70de76ded480fb07e4b2390b1c68d9d452442" +name = "pallet-democracy" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-treasury 38.0.0", "parity-scale-codec", "scale-info", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", + "serde", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-bridge-grandpa" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d825fbed9fb68bc5d344311653dc0f69caeabe647365abf79a539310b2245f6" +name = "pallet-dev-mode" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bp-header-chain 0.18.1", - "bp-runtime 0.18.0", - "bp-test-utils 0.18.0", - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", + "frame-support", + "frame-system", "log", + "pallet-balances", "parity-scale-codec", "scale-info", - "sp-consensus-grandpa 21.0.0", - "sp-runtime 39.0.5", - "sp-std", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-bridge-grandpa" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "976a6a3e45daa0ffa590891690c5207eba2fc998c9f6fa784428830ee05b04d1" +name = "pallet-election-provider-multi-block" +version = "0.9.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bp-header-chain 0.19.0", - "bp-runtime 0.19.0", - "bp-test-utils 0.19.0", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-benchmarking", + "frame-election-provider-support", + "frame-support", + "frame-system", "log", "parity-scale-codec", + "rand", "scale-info", - "sp-consensus-grandpa 22.0.0", - "sp-runtime 40.1.0", - "sp-std", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-npos-elections", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", ] [[package]] -name = "pallet-bridge-messages" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1decdc9fb885e46eb17f850aa14f8cf39e17f31574aa6a5fa1a9e603cc526a2" +name = "pallet-election-provider-multi-phase" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bp-header-chain 0.18.1", - "bp-messages 0.18.0", - "bp-runtime 0.18.0", - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", + "frame-benchmarking", + "frame-election-provider-support", + "frame-support", + "frame-system", "log", + "pallet-election-provider-support-benchmarking", "parity-scale-codec", + "rand", "scale-info", - "sp-runtime 39.0.5", - "sp-std", - "sp-trie 37.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-npos-elections", + "sp-runtime", + "strum 0.26.3", ] [[package]] -name = "pallet-bridge-messages" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "431db4e0e43a1f572af3949bf2d8bee7c8e06895abde4c2a1f47245016379ebd" +name = "pallet-election-provider-support-benchmarking" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bp-header-chain 0.19.0", - "bp-messages 0.19.0", - "bp-runtime 0.19.0", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", + "frame-benchmarking", + "frame-election-provider-support", + "frame-system", "parity-scale-codec", - "scale-info", - "sp-runtime 40.1.0", - "sp-std", - "sp-trie 38.0.0", + "sp-npos-elections", + "sp-runtime", ] [[package]] -name = "pallet-bridge-parachains" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41450a8d214f20eaff57aeca8e647b20c0df7d66871ee2262609b90824bd4cca" +name = "pallet-elections-phragmen" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bp-header-chain 0.18.1", - "bp-parachains 0.18.0", - "bp-polkadot-core 0.18.0", - "bp-runtime 0.18.0", - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-bridge-grandpa 0.18.0", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", - "sp-std", + "sp-core", + "sp-io", + "sp-npos-elections", + "sp-runtime", + "sp-staking", ] [[package]] -name = "pallet-bridge-parachains" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9bcf08e5dbc514f6bc537729a3258707660dd991da4b84cba49b77e6b33e1f2" +name = "pallet-fast-unstake" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bp-header-chain 0.19.0", - "bp-parachains 0.19.0", - "bp-polkadot-core 0.19.0", - "bp-runtime 0.19.0", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "docify", + "frame-benchmarking", + "frame-election-provider-support", + "frame-support", + "frame-system", "log", - "pallet-bridge-grandpa 0.19.0", "parity-scale-codec", "scale-info", - "sp-runtime 40.1.0", - "sp-std", + "sp-io", + "sp-runtime", + "sp-staking", ] [[package]] -name = "pallet-bridge-relayers" -version = "0.18.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fe3be7077b7ddee7178b1b12e9171435da73778d093788e10b1bdfad1e10962" +name = "pallet-glutton" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bp-header-chain 0.18.1", - "bp-messages 0.18.0", - "bp-relayers 0.18.0", - "bp-runtime 0.18.0", - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", + "blake2", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-bridge-grandpa 0.18.0", - "pallet-bridge-messages 0.18.0", - "pallet-bridge-parachains 0.18.0", - "pallet-transaction-payment 38.0.2", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-runtime 39.0.5", - "sp-std", + "sp-core", + "sp-inherents", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-bridge-relayers" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35e60cc9d33eba36cfdec466c97e0b2d405902fb3938ab20d1411f230f24529b" +name = "pallet-grandpa" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bp-header-chain 0.19.0", - "bp-messages 0.19.0", - "bp-relayers 0.19.0", - "bp-runtime 0.19.0", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-bridge-grandpa 0.19.0", - "pallet-bridge-messages 0.19.0", - "pallet-bridge-parachains 0.19.0", - "pallet-transaction-payment 39.0.0", + "pallet-authorship", + "pallet-session", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-runtime 40.1.0", - "sp-std", + "sp-application-crypto", + "sp-consensus-grandpa", + "sp-core", + "sp-io", + "sp-runtime", + "sp-session", + "sp-staking", ] [[package]] -name = "pallet-broker" -version = "0.17.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "018b477d7d464c451b1d09a4ce9e792c3c65b15fd764b23da38ff9980e786065" +name = "pallet-identity" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bitvec", - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", + "enumflags2", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-api 34.0.0", - "sp-arithmetic", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-broker" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eab9d48cedbe3abe3d50133249f8fb2f84431ac71702b77ee096e8f976d58cff" +name = "pallet-im-online" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bitvec", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", + "pallet-authorship", "parity-scale-codec", "scale-info", - "sp-api 35.0.0", - "sp-arithmetic", - "sp-core 35.0.0", - "sp-runtime 40.1.0", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", ] [[package]] -name = "pallet-child-bounties" -version = "37.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7f3bc38ae6584b5f57e4de3e49e5184bfc0f20692829530ae1465ffe04e09e7" +name = "pallet-indices" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "pallet-bounties 37.0.2", - "pallet-treasury 37.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-child-bounties" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e8e9ab469f6f8463371886c551a1f94eb11ccf258608348cc2d18ff62e03f3a" +name = "pallet-insecure-randomness-collective-flip" +version = "16.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "pallet-bounties 38.0.1", - "pallet-treasury 38.0.0", "parity-scale-codec", + "polkadot-sdk-frame", + "safe-mix", "scale-info", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", ] [[package]] -name = "pallet-collator-selection" -version = "19.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "658798d70c9054165169f6a6a96cfa9d6a5e7d24a524bc19825bf17fcbc5cc5a" +name = "pallet-lottery" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "pallet-authorship 38.0.0", - "pallet-balances 39.0.0", - "pallet-session 38.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", - "rand", "scale-info", - "sp-runtime 39.0.5", - "sp-staking 36.0.0", + "sp-runtime", ] [[package]] -name = "pallet-collator-selection" -version = "20.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6668a159d97ed0fc14a7a20eafe3cbb5e6b86be83884361d241e5fd0244264b" +name = "pallet-membership" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-authorship 39.0.0", - "pallet-balances 40.0.1", - "pallet-session 39.0.0", "parity-scale-codec", - "rand", "scale-info", - "sp-runtime 40.1.0", - "sp-staking 37.0.0", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-collective" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e149f1aefd444c9a1da6ec5a94bc8a7671d7a33078f85dd19ae5b06e3438e60" +name = "pallet-message-queue" +version = "31.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", + "environmental", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-weights", ] [[package]] -name = "pallet-collective" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6270210e07e3f8d741a9852756a22aeeed60574cb0ebd9093596a6e4b5fce6d" +name = "pallet-migrations" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ + "cfg-if", "docify", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-benchmarking", + "frame-support", + "frame-system", + "impl-trait-for-tuples", "log", "parity-scale-codec", + "polkadot-sdk-frame", "scale-info", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-collective-content" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38a6a5cbe781d9c711be74855ba32ef138f3779d6c54240c08e6d1b4bbba4d1d" +name = "pallet-mixnet" +version = "0.4.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", + "log", "parity-scale-codec", + "polkadot-sdk-frame", "scale-info", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "serde", + "sp-application-crypto", + "sp-mixnet", ] [[package]] -name = "pallet-collective-content" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49135fe0c39f08a15e3cccc42eba26e70258e99a0810b93b9a82efe6b9886083" +name = "pallet-mmr" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "log", "parity-scale-codec", + "polkadot-sdk-frame", "scale-info", - "sp-core 35.0.0", - "sp-runtime 40.1.0", + "sp-mmr-primitives", ] [[package]] -name = "pallet-contracts" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5df77077745d891c822b4275f273f336077a97e69e62a30134776aa721c96fee" +name = "pallet-multisig" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bitflags 1.3.2", - "environmental", - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "impl-trait-for-tuples", "log", - "pallet-balances 39.0.0", - "pallet-contracts-proc-macro", - "pallet-contracts-uapi", - "parity-scale-codec", - "paste", - "rand", - "scale-info", - "serde", - "smallvec", - "sp-api 34.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std", - "staging-xcm 14.2.0", - "staging-xcm-builder 17.0.3", - "wasm-instrument", - "wasmi", -] - -[[package]] -name = "pallet-contracts" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da39422144c21e59846fa42e0ce61976b71566446c6b2939a4033436ddeabece" -dependencies = [ - "bitflags 1.3.2", - "environmental", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "impl-trait-for-tuples", - "log", - "pallet-balances 40.0.1", - "pallet-contracts-proc-macro", - "pallet-contracts-uapi", - "parity-scale-codec", - "paste", - "rand", - "scale-info", - "serde", - "smallvec", - "sp-api 35.0.0", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-std", - "staging-xcm 15.0.1", - "staging-xcm-builder 18.0.1", - "wasm-instrument", - "wasmi", -] - -[[package]] -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.2.0", - "frame-system 38.0.0", - "pallet-assets 40.0.0", - "pallet-balances 39.0.0", - "pallet-contracts 38.0.0", - "pallet-contracts-proc-macro", - "pallet-contracts-uapi", - "pallet-insecure-randomness-collective-flip 26.0.0", - "pallet-message-queue 41.0.2", - "pallet-proxy 38.0.0", - "pallet-timestamp 37.0.0", - "pallet-utility 38.0.0", - "pallet-xcm 17.0.1", - "parity-scale-codec", - "polkadot-parachain-primitives 14.0.0", - "polkadot-primitives 16.0.0", - "polkadot-runtime-parachains 17.0.2", - "scale-info", - "sp-api 34.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-keystore 0.40.0", - "sp-runtime 39.0.5", - "sp-tracing", - "staging-xcm 14.2.0", - "staging-xcm-builder 17.0.3", - "staging-xcm-executor 17.0.1", - "xcm-simulator 17.0.0", -] - -[[package]] -name = "pallet-contracts-mock-network" -version = "15.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "160e493266500e1dbb974e2d3c92567183746dea5b69d72560e749b99d419a59" -dependencies = [ - "frame-support 39.0.0", - "frame-system 39.1.0", - "pallet-assets 41.0.0", - "pallet-balances 40.0.1", - "pallet-contracts 39.0.0", - "pallet-contracts-proc-macro", - "pallet-contracts-uapi", - "pallet-insecure-randomness-collective-flip 27.0.0", - "pallet-message-queue 42.0.0", - "pallet-proxy 39.0.0", - "pallet-timestamp 38.0.0", - "pallet-utility 39.0.0", - "pallet-xcm 18.0.0", - "parity-scale-codec", - "polkadot-parachain-primitives 15.0.0", - "polkadot-primitives 17.0.0", - "polkadot-runtime-parachains 18.0.1", - "scale-info", - "sp-api 35.0.0", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-keystore 0.41.0", - "sp-runtime 40.1.0", - "sp-tracing", - "staging-xcm 15.0.1", - "staging-xcm-builder 18.0.1", - "staging-xcm-executor 18.0.1", - "xcm-simulator 18.0.0", -] - -[[package]] -name = "pallet-contracts-proc-macro" -version = "23.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3170e2f4a3d95f2ace274b703a72630294f0a27c687a4adbad9590e2b3e5fe82" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.87", -] - -[[package]] -name = "pallet-contracts-uapi" -version = "12.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d3e13d72cda1a30083a1c080acc56fc5f286d09c89d9d91e8e4942a230c58c8" -dependencies = [ - "bitflags 1.3.2", - "parity-scale-codec", - "paste", - "scale-info", -] - -[[package]] -name = "pallet-conviction-voting" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "999c242491b74395b8c5409ef644e782fe426d87ae36ad92240ffbf21ff0a76e" -dependencies = [ - "assert_matches", - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "parity-scale-codec", - "scale-info", - "serde", - "sp-io 38.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "pallet-conviction-voting" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9226f683c6d7bf4bbc551101189e2138d2a0a16edc6e9614b89c27eb4ece3946" -dependencies = [ - "assert_matches", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "parity-scale-codec", - "scale-info", - "serde", - "sp-io 39.0.0", - "sp-runtime 40.1.0", -] - -[[package]] -name = "pallet-core-fellowship" -version = "22.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93052dd8d5910e1b939441541cec416e629b2c0ab92680124c2e5a137e12c285" -dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "pallet-ranked-collective 38.2.0", - "parity-scale-codec", - "scale-info", - "sp-arithmetic", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "pallet-core-fellowship" -version = "23.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bd7209d4c2632f5df7f9c80b84d195f02bd2508e3c2e590e6e3c4672fcb8b25" -dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "pallet-ranked-collective 39.0.0", - "parity-scale-codec", - "scale-info", - "sp-arithmetic", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", -] - -[[package]] -name = "pallet-delegated-staking" -version = "5.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "117f003a97f980514c6db25a50c22aaec2a9ccb5664b3cb32f52fb990e0b0c12" -dependencies = [ - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-staking 36.0.0", -] - -[[package]] -name = "pallet-delegated-staking" -version = "6.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7170954a2f3e79c91af2888ea45d5e4d14bface9610a560aa80cfef5bb025eb0" -dependencies = [ - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-staking 37.0.0", -] - -[[package]] -name = "pallet-democracy" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6d1dc655f50b7c65bb2fb14086608ba11af02ef2936546f7a67db980ec1f133" -dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "pallet-democracy" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e41818c8ffb2fda9d7b674c05f944230532a9657fc8d3847e9245c0f2406e554" -dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", -] - -[[package]] -name = "pallet-dev-mode" -version = "20.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae1d8050c09c5e003d502c1addc7fdfbde21a854bd57787e94447078032710c8" -dependencies = [ - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "pallet-balances 39.0.0", - "parity-scale-codec", - "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "pallet-dev-mode" -version = "21.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17d634bd5f6918dd81f1793ff8690c3c4284041167a52a13ac8739b6ccd61615" -dependencies = [ - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "pallet-balances 40.0.1", - "parity-scale-codec", - "scale-info", - "sp-io 39.0.0", - "sp-runtime 40.1.0", -] - -[[package]] -name = "pallet-election-provider-multi-phase" -version = "37.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62f9ad5ae0c13ba3727183dadf1825b6b7b0b0598ed5c366f8697e13fd540f7d" -dependencies = [ - "frame-benchmarking 38.0.0", - "frame-election-provider-support 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "pallet-election-provider-support-benchmarking 37.0.0", - "parity-scale-codec", - "rand", - "scale-info", - "sp-arithmetic", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-npos-elections 34.0.0", - "sp-runtime 39.0.5", - "strum 0.26.3", -] - -[[package]] -name = "pallet-election-provider-multi-phase" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0b0ee2c6c30e1fc820254f13f6e67d4fe4446abb39fb5e9df861839c7325d3b" -dependencies = [ - "frame-benchmarking 39.0.0", - "frame-election-provider-support 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "pallet-election-provider-support-benchmarking 38.0.0", - "parity-scale-codec", - "rand", - "scale-info", - "sp-arithmetic", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-npos-elections 35.0.0", - "sp-runtime 40.1.0", - "strum 0.26.3", -] - -[[package]] -name = "pallet-election-provider-support-benchmarking" -version = "37.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4111d0d27545c260c9dd0d6fc504961db59c1ec4b42e1bcdc28ebd478895c22" -dependencies = [ - "frame-benchmarking 38.0.0", - "frame-election-provider-support 38.0.0", - "frame-system 38.0.0", - "parity-scale-codec", - "sp-npos-elections 34.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "pallet-election-provider-support-benchmarking" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b088389136786a84eacbbeefb66ec19deca9d279b9c5c3a6391e39294c876cf" -dependencies = [ - "frame-benchmarking 39.0.0", - "frame-election-provider-support 39.0.0", - "frame-system 39.1.0", - "parity-scale-codec", - "sp-npos-elections 35.0.0", - "sp-runtime 40.1.0", -] - -[[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", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-npos-elections 34.0.0", - "sp-runtime 39.0.5", - "sp-staking 36.0.0", -] - -[[package]] -name = "pallet-elections-phragmen" -version = "40.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a7d1f33ed64ae16c2f340d7f01ad871661b5edc2d46b9d8a7390a57934fe35b" -dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-npos-elections 35.0.0", - "sp-runtime 40.1.0", - "sp-staking 37.0.0", -] - -[[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", - "frame-election-provider-support 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-staking 36.0.0", -] - -[[package]] -name = "pallet-fast-unstake" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3eee50c67ec8b77d60404b278bc645da169a90ab0b8f3def41c94f7ff4d0df43" -dependencies = [ - "docify", - "frame-benchmarking 39.0.0", - "frame-election-provider-support 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-staking 37.0.0", -] - -[[package]] -name = "pallet-glutton" -version = "24.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1c79ab340890f6ab088a638c350ac1173a1b2a79c18004787523032025582b4" -dependencies = [ - "blake2", - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 34.0.0", - "sp-inherents 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "pallet-glutton" -version = "25.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec5cd5a18e0d5dc121beb057b440530cd25e8a262f9046e752776507557cbf12" -dependencies = [ - "blake2", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 35.0.0", - "sp-inherents 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", -] - -[[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", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "pallet-authorship 38.0.0", - "pallet-session 38.0.0", - "parity-scale-codec", - "scale-info", - "sp-application-crypto 38.0.0", - "sp-consensus-grandpa 21.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-session 36.0.0", - "sp-staking 36.0.0", -] - -[[package]] -name = "pallet-grandpa" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e4306e37282ae29745a17c955334da18ac31cc52c2f757bd28194b00f7fb8ed" -dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "pallet-authorship 39.0.0", - "pallet-session 39.0.0", - "parity-scale-codec", - "scale-info", - "sp-application-crypto 39.0.0", - "sp-consensus-grandpa 22.0.0", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-session 37.0.0", - "sp-staking 37.0.0", -] - -[[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", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "pallet-identity" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a62a909459e4c14cd7c4087d22cb002be916330aa8011157237de98d93fdafa1" -dependencies = [ - "enumflags2", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-io 39.0.0", - "sp-runtime 40.1.0", -] - -[[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", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "pallet-authorship 38.0.0", - "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.5", - "sp-staking 36.0.0", -] - -[[package]] -name = "pallet-im-online" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9716fd42662b4f00803448eac5b164a470880dc2a6f2809c43a61a03f77b91c" -dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "pallet-authorship 39.0.0", - "parity-scale-codec", - "scale-info", - "sp-application-crypto 39.0.0", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-staking 37.0.0", -] - -[[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", - "frame-support 38.2.0", - "frame-system 38.0.0", - "parity-scale-codec", - "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-keyring 39.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "pallet-indices" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1cef05405530f903398f2a8409f09ef8bb27e048dbd2ee98443a0152fe390f0" -dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "parity-scale-codec", - "scale-info", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-keyring 40.0.0", - "sp-runtime 40.1.0", -] - -[[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.2.0", - "frame-system 38.0.0", - "parity-scale-codec", - "safe-mix", - "scale-info", - "sp-runtime 39.0.5", -] - -[[package]] -name = "pallet-insecure-randomness-collective-flip" -version = "27.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e01483a723c48e3dfa67fdce3f8ac8cc46e82f92a19624bd4b93ffe120a5cdd" -dependencies = [ - "frame-support 39.0.0", - "frame-system 39.1.0", - "parity-scale-codec", - "safe-mix", - "scale-info", - "sp-runtime 40.1.0", -] - -[[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", - "frame-support 38.2.0", - "frame-system 38.0.0", - "parity-scale-codec", - "scale-info", - "sp-runtime 39.0.5", -] - -[[package]] -name = "pallet-lottery" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e420b0683816afd6f90018dbef13f16f8aea0f8f329aa9fb8f63982ce64754b" -dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "parity-scale-codec", - "scale-info", - "sp-runtime 40.1.0", -] - -[[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", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "pallet-membership" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e780320e411960bc8784861099bf5d18a59162b3c8499bccb5814fd85c4790e1" -dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", -] - -[[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", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-arithmetic", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-weights", -] - -[[package]] -name = "pallet-message-queue" -version = "42.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f3a6c335db0939272a1b703ab9e156e5ff6dff6fb392726872af1de6812f586" -dependencies = [ - "environmental", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-arithmetic", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-weights", -] - -[[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", - "frame-support 38.2.0", - "frame-system 38.0.0", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 34.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "pallet-migrations" -version = "9.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "562f2efb55a58e7090800a57d2eeac41b9de0949b662ed10ff6419112970f104" -dependencies = [ - "cfg-if", - "docify", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 35.0.0", - "sp-runtime 40.1.0", -] - -[[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", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-application-crypto 38.0.0", - "sp-arithmetic", - "sp-io 38.0.0", - "sp-mixnet 0.12.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "pallet-mixnet" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c540ce084a8196c8997cc5a7dcb959c3fd7b950ed72dded8eb2af1d92a3531f2" -dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-application-crypto 39.0.0", - "sp-arithmetic", - "sp-io 39.0.0", - "sp-mixnet 0.13.0", - "sp-runtime 40.1.0", -] - -[[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", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-mmr-primitives 34.1.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "pallet-mmr" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "609c54592356fbddf8550ae1f466012295422b4c1aafb429f63aa512000cc7c7" -dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-mmr-primitives 35.0.0", - "sp-runtime 40.1.0", -] - -[[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", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "pallet-multisig" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d987911d6b538b0db2e534a67038478c98f5be8bff30c41fe7e58a7bc2c5f459" -dependencies = [ - "log", - "parity-scale-codec", - "polkadot-sdk-frame 0.8.0", - "scale-info", -] - -[[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", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "pallet-assets 40.0.0", - "pallet-nfts 32.0.0", - "parity-scale-codec", - "scale-info", - "sp-runtime 39.0.5", -] - -[[package]] -name = "pallet-nft-fractionalization" -version = "22.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5da94fe2b0552026741bd457713b33a4094ff11026035e4dc0cc11ead4675fa" -dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "pallet-assets 41.0.0", - "pallet-nfts 33.0.0", - "parity-scale-codec", - "scale-info", - "sp-runtime 40.1.0", -] - -[[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", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "pallet-nfts" -version = "33.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d22c8323586f2c1a450b801717df244ff028f3a30ab0c37135a03f631a4dbcc" -dependencies = [ - "enumflags2", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", -] - -[[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 32.0.0", - "parity-scale-codec", - "sp-api 34.0.0", -] - -[[package]] -name = "pallet-nfts-runtime-api" -version = "25.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "889be9a359ba319bede86c029e787e35d3560fe4c105d0d3caf382149e889d03" -dependencies = [ - "pallet-nfts 33.0.0", - "parity-scale-codec", - "sp-api 35.0.0", -] - -[[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", - "frame-support 38.2.0", - "frame-system 38.0.0", - "parity-scale-codec", - "scale-info", - "sp-arithmetic", - "sp-core 34.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "pallet-nis" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5b1f03adf6836d7c18ab7bc11c8f7284dc0fa0aacb2eb50086b314d5e829ca3" -dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "parity-scale-codec", - "scale-info", - "sp-arithmetic", - "sp-core 35.0.0", - "sp-runtime 40.1.0", -] - -[[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.2.0", - "frame-system 38.0.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "pallet-node-authorization" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "398e1501a8891b45a9045c7047a274256db186a244bc1915040a219f55de714f" -dependencies = [ - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", -] - -[[package]] -name = "pallet-nomination-pools" -version = "35.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50d04f050ab02af6cbe058e101abb8706be7f8ea7958e5bf1d4cd8caa6b66c71" -dependencies = [ - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "pallet-balances 39.0.0", - "parity-scale-codec", - "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-staking 36.0.0", - "sp-tracing", -] - -[[package]] -name = "pallet-nomination-pools" -version = "37.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f262322946ab14a59e49a462a59b8252edff05783ce2d96eb57dc14ba8ecaa6a" -dependencies = [ - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "pallet-balances 40.0.1", - "parity-scale-codec", - "scale-info", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-staking 37.0.0", - "sp-tracing", -] - -[[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", - "frame-election-provider-support 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "pallet-bags-list 37.0.0", - "pallet-delegated-staking 5.0.0", - "pallet-nomination-pools 35.0.2", - "pallet-staking 38.0.0", - "parity-scale-codec", - "scale-info", - "sp-runtime 39.0.5", - "sp-runtime-interface 28.0.0", - "sp-staking 36.0.0", -] - -[[package]] -name = "pallet-nomination-pools-benchmarking" -version = "37.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07bc7633433abe62a0255957ab7bd8afca552f8985f106ad582dae68466cd585" -dependencies = [ - "frame-benchmarking 39.0.0", - "frame-election-provider-support 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "pallet-bags-list 38.0.0", - "pallet-delegated-staking 6.0.0", - "pallet-nomination-pools 37.0.0", - "pallet-staking 39.0.1", - "parity-scale-codec", - "scale-info", - "sp-runtime 40.1.0", - "sp-runtime-interface 29.0.0", - "sp-staking 37.0.0", -] - -[[package]] -name = "pallet-nomination-pools-runtime-api" -version = "33.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03eea431eba0658ca763a078bd849e0622c37c85eddd011b8e886460b50c0827" -dependencies = [ - "pallet-nomination-pools 35.0.2", - "parity-scale-codec", - "sp-api 34.0.0", -] - -[[package]] -name = "pallet-nomination-pools-runtime-api" -version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a40136a17d80af5acf0efd78caad3529beb8a50a4fbad442e528ea9a60ff719e" -dependencies = [ - "pallet-nomination-pools 37.0.0", - "parity-scale-codec", - "sp-api 35.0.0", -] - -[[package]] -name = "pallet-offences" -version = "37.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c4379cf853465696c1c5c03e7e8ce80aeaca0a6139d698abe9ecb3223fd732a" -dependencies = [ - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "pallet-balances 39.0.0", - "parity-scale-codec", - "scale-info", - "serde", - "sp-runtime 39.0.5", - "sp-staking 36.0.0", -] - -[[package]] -name = "pallet-offences" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8c07d61db5ac381577acfaae375b17486d562f68e8cc3e365bcbf5ceee89476" -dependencies = [ - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "pallet-balances 40.0.1", - "parity-scale-codec", - "scale-info", - "serde", - "sp-runtime 40.1.0", - "sp-staking 37.0.0", -] - -[[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", - "frame-election-provider-support 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "pallet-babe 38.0.0", - "pallet-balances 39.0.0", - "pallet-grandpa 38.0.0", - "pallet-im-online 37.0.0", - "pallet-offences 37.0.0", - "pallet-session 38.0.0", - "pallet-staking 38.0.0", - "parity-scale-codec", - "scale-info", - "sp-runtime 39.0.5", - "sp-staking 36.0.0", -] - -[[package]] -name = "pallet-offences-benchmarking" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11f6923f68289ca5131e9f1bfac7f0fab31c088e9ee58351a824c663d15e267b" -dependencies = [ - "frame-benchmarking 39.0.0", - "frame-election-provider-support 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "pallet-babe 39.0.0", - "pallet-balances 40.0.1", - "pallet-grandpa 39.0.0", - "pallet-im-online 38.0.0", - "pallet-offences 38.0.0", - "pallet-session 39.0.0", - "pallet-staking 39.0.1", - "parity-scale-codec", - "scale-info", - "sp-runtime 40.1.0", - "sp-staking 37.0.0", -] - -[[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", - "frame-support 38.2.0", - "frame-system 38.0.0", - "parity-scale-codec", - "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-metadata-ir 0.7.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "pallet-paged-list" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5b3858e302ecef335b3999f87774e9e378a2e67f24d8358fd44431a87ee5383" -dependencies = [ - "docify", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "parity-scale-codec", - "scale-info", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-metadata-ir 0.8.0", - "sp-runtime 40.1.0", -] - -[[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", - "frame-support 38.2.0", - "frame-system 38.0.0", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "sp-core 34.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "pallet-parameters" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a4bf311195a586dc86f4cbc00ff96f6d598a67a092d18de1a1bcba8b3e7e095" -dependencies = [ - "docify", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "sp-core 35.0.0", - "sp-runtime 40.1.0", -] - -[[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", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "pallet-preimage" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e27478b70557e60dc34c3349724fb2f931e11edcdb7f03082c61f6d2b79e4e6" -dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", -] - -[[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", - "frame-support 38.2.0", - "frame-system 38.0.0", - "parity-scale-codec", - "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "pallet-proxy" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a854e633171927264d1a4e7ed9331f714f0ccc53143b0fd25b2c0ec7df0ebaf" -dependencies = [ - "parity-scale-codec", - "polkadot-sdk-frame 0.8.0", - "scale-info", -] - -[[package]] -name = "pallet-ranked-collective" -version = "38.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15a640e732164203eb5298823cc8c29cfc563763c43c9114e76153b3166b8b9d" -dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "scale-info", - "sp-arithmetic", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "pallet-ranked-collective" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6d4acea40defbd7b79e75939e158fb3b70ef60d5d53b269999c1470156d2b69" -dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "scale-info", - "sp-arithmetic", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", -] - -[[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", - "frame-support 38.2.0", - "frame-system 38.0.0", - "parity-scale-codec", - "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "pallet-recovery" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "988c75afe69b1c8176be87d15227f56e1f49ef33f19da886c45eff4fd592ba5d" -dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "parity-scale-codec", - "scale-info", - "sp-io 39.0.0", - "sp-runtime 40.1.0", -] - -[[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", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-arithmetic", - "sp-io 38.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "pallet-referenda" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0e83a5d462bbf835953c43806c5204bc27a079b88a4691496b97a93619c0606" -dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-arithmetic", - "sp-io 39.0.0", - "sp-runtime 40.1.0", -] - -[[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", - "frame-support 38.2.0", - "frame-system 38.0.0", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "pallet-remark" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9db4fd952d7163abcf19f3936db73fe67b9bc88e4348b83fd07cdcdda6fd903" -dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", -] - -[[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", - "frame-support 38.2.0", - "frame-system 38.0.0", - "impl-trait-for-tuples", - "log", - "pallet-balances 39.0.0", - "pallet-revive-fixtures", - "pallet-revive-proc-macro", - "pallet-revive-uapi 0.1.1", - "parity-scale-codec", - "paste", - "polkavm 0.10.0", - "scale-info", - "serde", - "sp-api 34.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std", - "staging-xcm 14.2.0", - "staging-xcm-builder 17.0.3", -] - -[[package]] -name = "pallet-revive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9af226b2b988725708ae7771fa53a2a1cfbc57a0e7f02f65d570d26cb4c95791" -dependencies = [ - "bitflags 1.3.2", - "derive_more 0.99.18", - "environmental", - "ethereum-types 0.15.1", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "hex", - "impl-trait-for-tuples", - "jsonrpsee", - "log", - "pallet-balances 40.0.1", - "pallet-revive-proc-macro", - "pallet-revive-uapi 0.2.0", - "pallet-transaction-payment 39.0.0", - "parity-scale-codec", - "paste", - "polkavm 0.13.0", - "rlp 0.6.1", - "scale-info", - "serde", - "sp-api 35.0.0", - "sp-arithmetic", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-std", - "sp-weights", - "staging-xcm 15.0.1", - "staging-xcm-builder 18.0.1", - "subxt-signer", -] - -[[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", - "parity-wasm", - "polkavm-linker 0.10.0", - "sp-runtime 39.0.5", - "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.2.0", - "frame-system 38.0.0", - "pallet-assets 40.0.0", - "pallet-balances 39.0.0", - "pallet-message-queue 41.0.2", - "pallet-proxy 38.0.0", - "pallet-revive 0.2.0", - "pallet-revive-proc-macro", - "pallet-revive-uapi 0.1.1", - "pallet-timestamp 37.0.0", - "pallet-utility 38.0.0", - "pallet-xcm 17.0.1", - "parity-scale-codec", - "polkadot-parachain-primitives 14.0.0", - "polkadot-primitives 16.0.0", - "polkadot-runtime-parachains 17.0.2", - "scale-info", - "sp-api 34.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-keystore 0.40.0", - "sp-runtime 39.0.5", - "sp-tracing", - "staging-xcm 14.2.0", - "staging-xcm-builder 17.0.3", - "staging-xcm-executor 17.0.1", - "xcm-simulator 17.0.0", -] - -[[package]] -name = "pallet-revive-proc-macro" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8aee42afa416be6324cf6650c137da9742f27dc7be3c7ed39ad9748baf3b9ae" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.87", -] - -[[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-revive-uapi" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3cd99e12cd2507f78b41c43da8b581dcec63fdd9ad18824a7f9995176b248da" -dependencies = [ - "bitflags 1.3.2", - "parity-scale-codec", - "paste", - "polkavm-derive 0.14.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.2.0", - "frame-system 38.0.0", - "pallet-session 38.0.0", - "pallet-staking 38.0.0", - "parity-scale-codec", - "scale-info", - "sp-runtime 39.0.5", - "sp-staking 36.0.0", -] - -[[package]] -name = "pallet-root-offences" -version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c7a16d3abcd32e360260aceb4b2fca5468241a26b9dc9e65aa53041e63a75ec" -dependencies = [ - "frame-support 39.0.0", - "frame-system 39.1.0", - "pallet-session 39.0.0", - "pallet-staking 39.0.1", - "parity-scale-codec", - "scale-info", - "sp-runtime 40.1.0", - "sp-staking 37.0.0", -] - -[[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.2.0", - "frame-system 38.0.0", - "parity-scale-codec", - "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "pallet-root-testing" -version = "15.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f163a8e68b625dc714fcfcefb76804e2d115fe4a238be70640ddedcd658ffbdd" -dependencies = [ - "frame-support 39.0.0", - "frame-system 39.1.0", "parity-scale-codec", + "polkadot-sdk-frame", "scale-info", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", ] [[package]] -name = "pallet-safe-mode" -version = "19.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d3e67dd4644c168cedbf257ac3dd2527aad81acf4a0d413112197094e549f76" +name = "pallet-nft-fractionalization" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "docify", - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "pallet-balances 39.0.0", - "pallet-proxy 38.0.0", - "pallet-utility 38.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "pallet-assets", + "pallet-nfts", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] -name = "pallet-safe-mode" -version = "20.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cef1ab303b25cfb6826e4f83da6088b55809b5b94e5a28a7f0ffce0711bf5fc" +name = "pallet-nfts" +version = "22.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "docify", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "pallet-balances 40.0.1", - "pallet-proxy 39.0.0", - "pallet-utility 39.0.0", + "enumflags2", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-runtime 40.1.0", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-salary" -version = "23.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3af2d92b1fef1c379c0692113b505c108c186e09c25c72b38e879b6e0f172ebe" +name = "pallet-nfts-runtime-api" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "pallet-ranked-collective 38.2.0", "parity-scale-codec", - "scale-info", - "sp-arithmetic", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-api", ] [[package]] -name = "pallet-salary" -version = "24.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42dc4b0757ca3d6e1200534cee209e83ccbae637908bd654749357f67f8412da" +name = "pallet-nis" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "pallet-ranked-collective 39.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "sp-arithmetic", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", + "sp-core", + "sp-runtime", ] [[package]] -name = "pallet-scheduler" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26899a331e7ab5f7d5966cbf203e1cf5bd99cd110356d7ddcaa7597087cdc0b5" +name = "pallet-node-authorization" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "docify", - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", "log", "parity-scale-codec", + "polkadot-sdk-frame", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-weights", ] [[package]] -name = "pallet-scheduler" -version = "40.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29d3d603f0bebb1c5ae7e2a2b26746c83ff120cb642d04d17b776c2e5ac3102f" +name = "pallet-nomination-pools" +version = "25.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "docify", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-support", + "frame-system", "log", + "pallet-balances", "parity-scale-codec", "scale-info", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-weights", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", ] [[package]] -name = "pallet-scored-pool" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f84b48bb4702712c902f43931c4077d3a1cb6773c8d8c290d4a6251f6bc2a5c" +name = "pallet-nomination-pools-benchmarking" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 38.2.0", - "frame-system 38.0.0", + "frame-benchmarking", + "frame-election-provider-support", + "frame-support", + "frame-system", + "pallet-bags-list", + "pallet-delegated-staking", + "pallet-nomination-pools", + "pallet-staking", "parity-scale-codec", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-runtime", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-staking", ] [[package]] -name = "pallet-scored-pool" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d857ee713738e90127d05eecec7a3fb0644ce66a34dbf17be7b1129052aeb0f6" +name = "pallet-nomination-pools-runtime-api" +version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 39.0.0", - "frame-system 39.1.0", + "pallet-nomination-pools", "parity-scale-codec", - "scale-info", - "sp-io 39.0.0", - "sp-runtime 40.1.0", + "sp-api", ] [[package]] -name = "pallet-session" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8474b62b6b7622f891e83d922a589e2ad5be5471f5ca47d45831a797dba0b3f4" +name = "pallet-offences" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 38.2.0", - "frame-system 38.0.0", - "impl-trait-for-tuples", + "frame-support", + "frame-system", "log", - "pallet-timestamp 37.0.0", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-session 36.0.0", - "sp-staking 36.0.0", - "sp-state-machine 0.43.0", - "sp-trie 37.0.0", + "serde", + "sp-runtime", + "sp-staking", ] [[package]] -name = "pallet-session" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e69f96c09d4ae772ee095f1392ef33a8d46f5dfa5be8a217935e9effd2979c39" +name = "pallet-offences-benchmarking" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 39.0.0", - "frame-system 39.1.0", - "impl-trait-for-tuples", + "frame-benchmarking", + "frame-election-provider-support", + "frame-support", + "frame-system", "log", - "pallet-timestamp 38.0.0", + "pallet-babe", + "pallet-balances", + "pallet-grandpa", + "pallet-im-online", + "pallet-offences", + "pallet-session", + "pallet-staking", "parity-scale-codec", "scale-info", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-session 37.0.0", - "sp-staking 37.0.0", - "sp-state-machine 0.44.0", - "sp-trie 38.0.0", + "sp-runtime", + "sp-staking", ] [[package]] -name = "pallet-session-benchmarking" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8aadce7df0fee981721983795919642648b846dab5ab9096f82c2cea781007d0" +name = "pallet-paged-list" +version = "0.6.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "pallet-session 38.0.0", - "pallet-staking 38.0.0", + "docify", + "frame-support", + "frame-system", "parity-scale-codec", - "rand", - "sp-runtime 39.0.5", - "sp-session 36.0.0", + "scale-info", + "sp-core", + "sp-io", + "sp-metadata-ir", + "sp-runtime", ] [[package]] -name = "pallet-session-benchmarking" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a93e611a3b38081dd1147173458e1a6203d31b7cbfaa86046a240633cdfba22a" +name = "pallet-parameters" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "pallet-session 39.0.0", - "pallet-staking 39.0.1", + "docify", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", - "rand", - "sp-runtime 40.1.0", - "sp-session 37.0.0", + "paste", + "scale-info", + "serde", + "sp-core", + "sp-runtime", ] [[package]] -name = "pallet-skip-feeless-payment" -version = "13.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8c2cb0dae13d2c2d2e76373f337d408468f571459df1900cbd7458f21cf6c01" +name = "pallet-preimage" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 38.2.0", - "frame-system 38.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-skip-feeless-payment" -version = "14.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30dda6e8301c9a42c0d9625c689fb07061b2216bbc33502e4f2c33c2e037dd75" +name = "pallet-proxy" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 39.0.0", - "frame-system 39.1.0", "parity-scale-codec", + "polkadot-sdk-frame", "scale-info", - "sp-runtime 40.1.0", ] [[package]] -name = "pallet-society" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1dc69fea8a8de343e71691f009d5fece6ae302ed82b7bb357882b2ea6454143" +name = "pallet-ranked-collective" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", + "impl-trait-for-tuples", "log", "parity-scale-codec", - "rand_chacha", "scale-info", "sp-arithmetic", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-society" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8acce235c826e767e7e62b678cde83c1957cc146ed6b8bcd2580a4a959a9fbcc" +name = "pallet-recovery" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", - "rand_chacha", "scale-info", - "sp-arithmetic", - "sp-io 39.0.0", - "sp-runtime 40.1.0", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-staking" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c870d123f4f053b56af808a4beae1ffc4309a696e829796c26837936c926db3b" +name = "pallet-referenda" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 38.0.0", - "frame-election-provider-support 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-authorship 38.0.0", - "pallet-session 38.0.0", "parity-scale-codec", "scale-info", "serde", - "sp-application-crypto 38.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-staking 36.0.0", + "sp-arithmetic", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-staking" -version = "39.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6d441fcf93546a7399dd8d2dfad13606613bf27766ccb8b94d04248e62686b4" +name = "pallet-remark" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-election-provider-support 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "pallet-authorship 39.0.0", - "pallet-session 39.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-application-crypto 39.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-staking 37.0.0", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-staking-reward-fn" -version = "22.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "988a7ebeacc84d4bdb0b12409681e956ffe35438447d8f8bc78db547cffb6ebc" +name = "pallet-revive" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ + "alloy-core", + "derive_more 0.99.18", + "environmental", + "ethabi-decode", + "ethereum-types", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex", + "impl-trait-for-tuples", "log", - "sp-arithmetic", -] - -[[package]] -name = "pallet-staking-runtime-api" -version = "24.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7298559ef3a6b2f5dfbe9a3b8f3d22f2ff9b073c97f4c4853d2b316d973e72d" -dependencies = [ + "pallet-revive-fixtures", + "pallet-revive-proc-macro", + "pallet-revive-uapi", + "pallet-transaction-payment", "parity-scale-codec", - "sp-api 34.0.0", - "sp-staking 36.0.0", + "paste", + "polkavm 0.21.0", + "polkavm-common 0.21.0", + "rlp 0.6.1", + "scale-info", + "serde", + "sp-api", + "sp-arithmetic", + "sp-consensus-aura", + "sp-consensus-babe", + "sp-consensus-slots", + "sp-core", + "sp-io", + "sp-runtime", + "staging-xcm", + "staging-xcm-builder", + "subxt-signer", ] [[package]] -name = "pallet-staking-runtime-api" -version = "25.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de1e238e23c94fd8bc089e87dfbcd3e7448b32c89f65743d2693508977402510" +name = "pallet-revive-fixtures" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "parity-scale-codec", - "sp-api 35.0.0", - "sp-staking 37.0.0", + "anyhow", + "polkavm-linker 0.21.0", + "sp-core", + "sp-io", + "toml 0.8.19", ] [[package]] -name = "pallet-state-trie-migration" -version = "40.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "138c15b4200b9dc4c3e031def6a865a235cdc76ff91ee96fba19ca1787c9dda6" +name = "pallet-revive-mock-network" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", + "frame-support", + "frame-system", + "pallet-assets", + "pallet-balances", + "pallet-message-queue", + "pallet-revive", + "pallet-revive-uapi", + "pallet-timestamp", + "pallet-xcm", "parity-scale-codec", + "polkadot-parachain-primitives", + "polkadot-primitives", + "polkadot-runtime-parachains", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", + "xcm-simulator", ] [[package]] -name = "pallet-state-trie-migration" -version = "43.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5085315d359bc340581b1a5133edd060e9357f475ac74215e4dca53f571bc6c" +name = "pallet-revive-proc-macro" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", + "proc-macro2", + "quote", + "syn 2.0.98", ] [[package]] -name = "pallet-statement" -version = "20.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e03e147efa900e75cd106337f36da3d7dcd185bd9e5f5c3df474c08c3c37d16" +name = "pallet-revive-uapi" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", + "bitflags 1.3.2", + "pallet-revive-proc-macro", "parity-scale-codec", + "paste", + "polkavm-derive 0.21.0", "scale-info", - "sp-api 34.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-statement-store 18.0.0", ] [[package]] -name = "pallet-statement" -version = "21.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9487f3aaff15b93cbac7f23f9cf191a682844fb4abdc3a98325615c7092df120" +name = "pallet-root-offences" +version = "25.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", + "frame-support", + "frame-system", + "pallet-session", + "pallet-staking", "parity-scale-codec", "scale-info", - "sp-api 35.0.0", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-statement-store 19.0.0", + "sp-runtime", + "sp-staking", ] [[package]] -name = "pallet-sudo" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1574fe2aed3d52db4a389b77b53d8c9758257b121e3e7bbe24c4904e11681e0e" +name = "pallet-root-testing" +version = "4.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "docify", - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-sudo" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97b935eaaa5fac451003c3c78c217950df9f057af460ffc5bfb1c26c8a955afd" +name = "pallet-safe-mode" +version = "9.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "docify", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-benchmarking", + "frame-support", + "frame-system", + "pallet-balances", + "pallet-proxy", + "pallet-utility", "parity-scale-codec", "scale-info", - "sp-io 39.0.0", - "sp-runtime 40.1.0", + "sp-arithmetic", + "sp-runtime", ] [[package]] -name = "pallet-timestamp" -version = "37.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9ba9b71bbfd33ae672f23ba7efaeed2755fdac37b8f946cb7474fc37841b7e1" +name = "pallet-salary" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "docify", - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", "log", + "pallet-ranked-collective", "parity-scale-codec", + "polkadot-sdk-frame", "scale-info", - "sp-inherents 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-storage 21.0.0", - "sp-timestamp 34.0.0", ] [[package]] -name = "pallet-timestamp" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dcb0a659187a3b9364a1754fb30cc962109be0753e9689d92fe01e47c747a71" +name = "pallet-scheduler" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "docify", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-inherents 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-storage 22.0.0", - "sp-timestamp 35.0.0", + "sp-io", + "sp-runtime", + "sp-weights", ] [[package]] -name = "pallet-tips" -version = "37.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa1d4371a70c309ba11624933f8f5262fe4edad0149c556361d31f26190da936" +name = "pallet-scored-pool" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "pallet-treasury 37.0.0", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-tips" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cc6e8ce13c9015bd7bbfbc90488eda4cffaf0543f640e95bce8e301aecb7588" +name = "pallet-session" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-support", + "frame-system", + "impl-trait-for-tuples", "log", - "pallet-treasury 38.0.0", + "pallet-timestamp", "parity-scale-codec", "scale-info", - "serde", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-state-machine", + "sp-trie", ] [[package]] -name = "pallet-transaction-payment" -version = "38.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6cdb86580c72b58145f9cddba21a0c1814742ca56abc9caac3c1ac72f6bde649" +name = "pallet-session-benchmarking" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 38.2.0", - "frame-system 38.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", + "pallet-session", + "pallet-staking", "parity-scale-codec", - "scale-info", - "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "rand", + "sp-runtime", + "sp-session", ] [[package]] -name = "pallet-transaction-payment" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33ee68d52c4f65063624f02ac83691ca6e46b471c8eb3bfb6f60b441f24a23ab" +name = "pallet-skip-feeless-payment" +version = "3.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "serde", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", -] - -[[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.2", - "parity-scale-codec", - "sp-api 34.0.0", - "sp-runtime 39.0.5", - "sp-weights", + "sp-runtime", ] [[package]] -name = "pallet-transaction-payment-rpc-runtime-api" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d3071434d642dd7bc44e7cec297849c7b33c7faaf0f67ebefdc336d9cd07939" +name = "pallet-society" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "pallet-transaction-payment 39.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", "parity-scale-codec", - "sp-api 35.0.0", - "sp-runtime 40.1.0", - "sp-weights", + "rand_chacha", + "scale-info", + "sp-arithmetic", + "sp-io", + "sp-runtime", ] -[[package]] -name = "pallet-transaction-storage" -version = "37.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8c337a972a6a796c0a0acc6c03b5e02901c43ad721ce79eb87b45717d75c93b" +[[package]] +name = "pallet-staking" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", + "frame-benchmarking", + "frame-election-provider-support", + "frame-support", + "frame-system", "log", - "pallet-balances 39.0.0", + "pallet-authorship", + "pallet-session", "parity-scale-codec", + "rand", + "rand_chacha", "scale-info", "serde", - "sp-inherents 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-transaction-storage-proof 34.0.0", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", ] [[package]] -name = "pallet-transaction-storage" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "559904cf64268876693089535a1e7ec69d49b0f493c438e025a81b8244cb3d8b" +name = "pallet-staking-ah-client" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-support", + "frame-system", "log", - "pallet-balances 40.0.1", + "pallet-authorship", + "pallet-session", + "pallet-staking", + "pallet-staking-rc-client", "parity-scale-codec", + "polkadot-primitives", + "polkadot-runtime-parachains", "scale-info", - "serde", - "sp-inherents 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-transaction-storage-proof 35.0.0", + "sp-core", + "sp-runtime", + "sp-staking", + "staging-xcm", ] [[package]] -name = "pallet-treasury" -version = "37.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98bfdd3bb9b58fb010bcd419ff5bf940817a8e404cdbf7886a53ac730f5dda2b" +name = "pallet-staking-rc-client" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "docify", - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "impl-trait-for-tuples", - "pallet-balances 39.0.0", + "frame-support", + "frame-system", + "log", "parity-scale-codec", "scale-info", - "serde", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", + "sp-staking", + "staging-xcm", ] [[package]] -name = "pallet-treasury" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "976845de04d67b8a0e9e892313a4540eba48ca14d76a015271d89a58612de60b" +name = "pallet-staking-reward-fn" +version = "19.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "docify", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "impl-trait-for-tuples", "log", - "pallet-balances 40.0.1", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 35.0.0", - "sp-runtime 40.1.0", + "sp-arithmetic", ] [[package]] -name = "pallet-tx-pause" -version = "19.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cee153f5be5efc84ebd53aa581e5361cde17dc3669ef80d8ad327f4041d89ebe" +name = "pallet-staking-runtime-api" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "docify", - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "pallet-balances 39.0.0", - "pallet-proxy 38.0.0", - "pallet-utility 38.0.0", "parity-scale-codec", - "scale-info", - "sp-runtime 39.0.5", + "sp-api", + "sp-staking", ] [[package]] -name = "pallet-tx-pause" -version = "20.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04ba2b64aea71bfccc9aec17f64d58bbe08cfde0790df7c02e763e94ba71641f" +name = "pallet-state-trie-migration" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "docify", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "pallet-balances 40.0.1", - "pallet-proxy 39.0.0", - "pallet-utility 39.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", "parity-scale-codec", "scale-info", - "sp-runtime 40.1.0", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-uniques" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2b13cdaedf2d5bd913a5f6e637cb52b5973d8ed4b8d45e56d921bc4d627006f" +name = "pallet-statement" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", + "sp-api", + "sp-core", + "sp-io", + "sp-runtime", + "sp-statement-store", ] [[package]] -name = "pallet-uniques" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52e18aaca62b247118a5cdce45e666a792c3865bc2e2eb4d8dfcf2dcb4ac01d0" +name = "pallet-sudo" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", + "docify", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-runtime 40.1.0", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-utility" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fdcade6efc0b66fc7fc4138964802c02d0ffb7380d894e26b9dd5073727d2b3" +name = "pallet-timestamp" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", + "docify", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-inherents", + "sp-io", + "sp-runtime", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-timestamp", ] [[package]] -name = "pallet-utility" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b30246db99703c4f62e1b8385ba807186e15f718c1d43ca03a48d1d487379645" +name = "pallet-tips" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", + "serde", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-verify-signature" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69b700b12f13c5e6e6779e9b139a6cd8a19912919b973c3911858916688ea1b7" +name = "pallet-transaction-payment" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-weights", + "serde", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-vesting" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "807df2ef13ab6bf940879352c3013bfa00b670458b4c125c2f60e5753f68e3d5" +name = "pallet-transaction-payment-rpc-runtime-api" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", + "pallet-transaction-payment", "parity-scale-codec", - "scale-info", - "sp-runtime 39.0.5", + "sp-api", + "sp-runtime", + "sp-weights", ] [[package]] -name = "pallet-vesting" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31d064e01f60deee5ba40493323e0f3105d2a2c3e00f3bf1416cae5beeb17bdc" +name = "pallet-transaction-storage" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", + "pallet-balances", "parity-scale-codec", "scale-info", - "sp-runtime 40.1.0", + "serde", + "sp-inherents", + "sp-io", + "sp-runtime", + "sp-transaction-storage-proof", ] [[package]] -name = "pallet-whitelist" -version = "37.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ef17df925290865cf37096dd0cb76f787df11805bba01b1d0ca3e106d06280b" +name = "pallet-treasury" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", + "docify", + "frame-benchmarking", + "frame-support", + "frame-system", + "impl-trait-for-tuples", + "log", + "pallet-balances", "parity-scale-codec", "scale-info", - "sp-api 34.0.0", - "sp-runtime 39.0.5", + "serde", + "sp-core", + "sp-runtime", ] [[package]] -name = "pallet-whitelist" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e187824ce5c023478d15f357f143ba02b6c8da3410b1b8a48ccc24308e4b1c6" +name = "pallet-tx-pause" +version = "9.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "docify", + "frame-benchmarking", + "frame-support", + "frame-system", + "pallet-balances", + "pallet-proxy", + "pallet-utility", "parity-scale-codec", "scale-info", - "sp-api 35.0.0", - "sp-runtime 40.1.0", + "sp-runtime", ] [[package]] -name = "pallet-xcm" -version = "17.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "989676964dbda5f5275650fbdcd3894fe7fac626d113abf89d572b4952adcc36" +name = "pallet-uniques" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bounded-collections", - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-balances 39.0.0", "parity-scale-codec", "scale-info", - "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "staging-xcm 14.2.0", - "staging-xcm-builder 17.0.3", - "staging-xcm-executor 17.0.1", - "tracing", - "xcm-runtime-apis 0.4.2", + "sp-runtime", ] [[package]] -name = "pallet-xcm" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "165300c258d4f6fd325d3195e3d68b976891d5710a6f0ac636b935906c22891c" +name = "pallet-utility" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bounded-collections", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "pallet-balances 40.0.1", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "serde", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "staging-xcm 15.0.1", - "staging-xcm-builder 18.0.1", - "staging-xcm-executor 18.0.1", - "tracing", - "xcm-runtime-apis 0.5.0", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] -name = "pallet-xcm-benchmarks" -version = "17.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2da423463933b42f4a4c74175f9e9295a439de26719579b894ce533926665e4a" +name = "pallet-verify-signature" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "staging-xcm 14.2.0", - "staging-xcm-builder 17.0.3", - "staging-xcm-executor 17.0.1", + "sp-core", + "sp-io", + "sp-runtime", + "sp-weights", ] [[package]] -name = "pallet-xcm-benchmarks" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af28701cd2e51cf55a954a13247480ad35e7cb4fa54fbda4c42eccb47566909f" +name = "pallet-vesting" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "staging-xcm 15.0.1", - "staging-xcm-builder 18.0.1", - "staging-xcm-executor 18.0.1", + "sp-runtime", ] [[package]] -name = "pallet-xcm-bridge-hub" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f336403f9e9bf22a0e1fdb90aa5093c52599c9a0639591fbcc1e979b58862d1b" +name = "pallet-whitelist" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bp-messages 0.18.0", - "bp-runtime 0.18.0", - "bp-xcm-bridge-hub 0.4.2", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "pallet-bridge-messages 0.18.0", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-std", - "staging-xcm 14.2.0", - "staging-xcm-builder 17.0.3", - "staging-xcm-executor 17.0.1", + "sp-api", + "sp-runtime", ] [[package]] -name = "pallet-xcm-bridge-hub" -version = "0.14.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3236ca0889b36ceee8382293ddbcf739215732346539a16a90aee78c4e3c7e" +name = "pallet-xcm" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bp-messages 0.19.0", - "bp-runtime 0.19.0", - "bp-xcm-bridge-hub 0.5.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "pallet-bridge-messages 0.19.0", + "bounded-collections", + "frame-benchmarking", + "frame-support", + "frame-system", + "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core 35.0.0", - "sp-runtime 40.1.0", - "sp-std", - "staging-xcm 15.0.1", - "staging-xcm-builder 18.0.1", - "staging-xcm-executor 18.0.1", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", + "tracing", + "xcm-runtime-apis", ] [[package]] -name = "pallet-xcm-bridge-hub-router" -version = "0.15.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fabf1fdcf451ac79995f11cb9b6a0761924c57bb79442c2d91b3bbefe4dfa081" +name = "pallet-xcm-benchmarks" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bp-xcm-bridge-hub-router 0.14.1", - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-std", - "staging-xcm 14.2.0", - "staging-xcm-builder 17.0.3", + "sp-io", + "sp-runtime", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", ] [[package]] -name = "pallet-xcm-bridge-hub-router" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91e88b2e2bbb9e0278656eba855f597c0dbed9cdba1eab283090fb9e30b7e9aa" +name = "pallet-xcm-bridge-hub" +version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bp-xcm-bridge-hub-router 0.15.0", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "bp-messages", + "bp-runtime", + "bp-xcm-bridge-hub", + "frame-support", + "frame-system", "log", + "pallet-bridge-messages", "parity-scale-codec", "scale-info", - "sp-core 35.0.0", - "sp-runtime 40.1.0", - "sp-std", - "staging-xcm 15.0.1", - "staging-xcm-builder 18.0.1", + "sp-core", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", ] [[package]] -name = "parachains-common" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9460a69f409be27c62161d8b4d36ffc32735d09a4f9097f9c789db0cca7196c" +name = "pallet-xcm-bridge-hub-router" +version = "0.5.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "cumulus-primitives-core 0.16.0", - "cumulus-primitives-utility 0.17.0", - "frame-support 38.2.0", - "frame-system 38.0.0", + "bp-xcm-bridge-hub-router", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-asset-tx-payment 38.0.0", - "pallet-assets 40.0.0", - "pallet-authorship 38.0.0", - "pallet-balances 39.0.0", - "pallet-collator-selection 19.0.0", - "pallet-message-queue 41.0.2", - "pallet-xcm 17.0.1", "parity-scale-codec", - "polkadot-primitives 16.0.0", "scale-info", - "sp-consensus-aura 0.40.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "staging-parachain-info 0.17.0", - "staging-xcm 14.2.0", - "staging-xcm-executor 17.0.1", - "substrate-wasm-builder 24.0.1", + "sp-core", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "staging-xcm", + "staging-xcm-builder", ] [[package]] name = "parachains-common" -version = "19.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b803351a2554a114b19df3decf8bb351dea332798b0ab21491557bfe86987207" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "cumulus-primitives-core 0.17.0", - "cumulus-primitives-utility 0.18.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "cumulus-primitives-core", + "cumulus-primitives-utility", + "frame-support", + "frame-system", "log", - "pallet-asset-tx-payment 39.0.0", - "pallet-assets 41.0.0", - "pallet-authorship 39.0.0", - "pallet-balances 40.0.1", - "pallet-collator-selection 20.0.0", - "pallet-message-queue 42.0.0", - "pallet-xcm 18.0.0", + "pallet-asset-tx-payment", + "pallet-assets", + "pallet-authorship", + "pallet-balances", + "pallet-collator-selection", + "pallet-message-queue", + "pallet-xcm", "parity-scale-codec", - "polkadot-primitives 17.0.0", + "polkadot-primitives", "scale-info", - "sp-consensus-aura 0.41.0", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "staging-parachain-info 0.18.0", - "staging-xcm 15.0.1", - "staging-xcm-executor 18.0.1", - "substrate-wasm-builder 25.0.0", -] - -[[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", - "cumulus-pallet-xcmp-queue 0.17.0", - "cumulus-primitives-core 0.16.0", - "cumulus-primitives-parachain-inherent 0.16.0", - "cumulus-test-relay-sproof-builder 0.16.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "pallet-balances 39.0.0", - "pallet-collator-selection 19.0.0", - "pallet-session 38.0.0", - "pallet-timestamp 37.0.0", - "pallet-xcm 17.0.1", - "parity-scale-codec", - "polkadot-parachain-primitives 14.0.0", - "sp-consensus-aura 0.40.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-tracing", - "staging-parachain-info 0.17.0", - "staging-xcm 14.2.0", - "staging-xcm-executor 17.0.1", - "substrate-wasm-builder 24.0.1", + "sp-consensus-aura", + "sp-core", + "sp-io", + "sp-runtime", + "staging-parachain-info", + "staging-xcm", + "staging-xcm-executor", + "substrate-wasm-builder", ] [[package]] name = "parachains-runtimes-test-utils" -version = "20.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7c112cab71412710254d500ee2d180dc257a56fb71eafefe5d1d6d2c6517451" -dependencies = [ - "cumulus-pallet-parachain-system 0.18.0", - "cumulus-pallet-xcmp-queue 0.18.1", - "cumulus-primitives-core 0.17.0", - "cumulus-primitives-parachain-inherent 0.17.0", - "cumulus-test-relay-sproof-builder 0.17.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "pallet-balances 40.0.1", - "pallet-collator-selection 20.0.0", - "pallet-session 39.0.0", - "pallet-timestamp 38.0.0", - "pallet-xcm 18.0.0", - "parity-scale-codec", - "polkadot-parachain-primitives 15.0.0", - "sp-consensus-aura 0.41.0", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-tracing", - "staging-parachain-info 0.18.0", - "staging-xcm 15.0.1", - "staging-xcm-executor 18.0.1", - "substrate-wasm-builder 25.0.0", +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" +dependencies = [ + "cumulus-pallet-parachain-system", + "cumulus-pallet-xcmp-queue", + "cumulus-primitives-core", + "cumulus-primitives-parachain-inherent", + "cumulus-test-relay-sproof-builder", + "frame-support", + "frame-system", + "pallet-balances", + "pallet-collator-selection", + "pallet-session", + "pallet-timestamp", + "pallet-xcm", + "parachains-common", + "parity-scale-codec", + "polkadot-parachain-primitives", + "sp-consensus-aura", + "sp-core", + "sp-io", + "sp-runtime", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "staging-parachain-info", + "staging-xcm", + "staging-xcm-executor", + "substrate-wasm-builder", + "xcm-runtime-apis", ] [[package]] @@ -9513,58 +6790,31 @@ checksum = "16b56e3a2420138bdb970f84dfb9c774aea80fa0e7371549eedec0d80c209c67" [[package]] name = "parity-scale-codec" -version = "3.6.12" +version = "3.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "306800abfa29c7f16596b5970a588435e3d5b3149683d00c12b699cc19f895ee" +checksum = "c9fde3d0718baf5bc92f577d652001da0f8d54cd03a7974e118d04fc888dc23d" dependencies = [ "arrayvec 0.7.6", "bitvec", "byte-slice-cast", "bytes", + "const_format", "impl-trait-for-tuples", "parity-scale-codec-derive", + "rustversion", "serde", ] [[package]] name = "parity-scale-codec-derive" -version = "3.6.12" +version = "3.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d830939c76d294956402033aee57a6da7b438f2294eb94864c37b0569053a42c" +checksum = "581c837bb6b9541ce7faa9377c20616e4fb7650f6b0f68bc93c827ee504fb7b3" dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 1.0.109", -] - -[[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 0.14.1", - "hashbrown 0.12.3", - "impl-trait-for-tuples", - "lru 0.8.1", - "parity-util-mem-derive", - "parking_lot", - "primitive-types 0.12.2", - "smallvec", - "winapi", -] - -[[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", + "syn 2.0.98", ] [[package]] @@ -9626,6 +6876,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" dependencies = [ "digest 0.10.7", + "hmac 0.12.1", "password-hash", ] @@ -9663,7 +6914,7 @@ checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -9707,9 +6958,9 @@ checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2" [[package]] name = "polkadot-ckb-merkle-mountain-range" -version = "0.7.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4b44320e5f7ce2c18227537a3032ae5b2c476a7e8eddba45333e1011fc31b92" +checksum = "221c71b432b38e494a0fdedb5f720e4cb974edf03a0af09e5b2238dbac7e6947" dependencies = [ "cfg-if", "itertools 0.10.5", @@ -9717,899 +6968,446 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" -version = "15.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2900d3b857e34c480101618a950c3a4fbcddc8c0d50573d48553376185908b8" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-core 34.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "polkadot-core-primitives" -version = "16.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe728468f0519d4ae802cae85b21a50072730fb93ad47bedb34fbc01fa62f125" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-core 35.0.0", - "sp-runtime 40.1.0", -] - -[[package]] -name = "polkadot-parachain-primitives" -version = "14.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52b5648a2e8ce1f9a0f8c41c38def670cefd91932cd793468e1a5b0b0b4e4af1" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bounded-collections", - "derive_more 0.99.18", "parity-scale-codec", - "polkadot-core-primitives 15.0.0", "scale-info", - "serde", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-weights", + "sp-core", + "sp-runtime", ] [[package]] name = "polkadot-parachain-primitives" -version = "15.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d10a3da595ecd419e526a9cfcc013cd00bcd9a2c962991d6efb312df8307eaf" +version = "6.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "bounded-collections", - "derive_more 0.99.18", - "parity-scale-codec", - "polkadot-core-primitives 16.0.0", - "scale-info", - "serde", - "sp-core 35.0.0", - "sp-runtime 40.1.0", - "sp-weights", -] - -[[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", - "polkadot-parachain-primitives 14.0.0", - "scale-info", - "serde", - "sp-api 34.0.0", - "sp-application-crypto 38.0.0", - "sp-arithmetic", - "sp-authority-discovery 34.0.0", - "sp-consensus-slots 0.40.1", - "sp-core 34.0.0", - "sp-inherents 34.0.0", - "sp-io 38.0.0", - "sp-keystore 0.40.0", - "sp-runtime 39.0.5", - "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 = [ - "bitvec", - "hex-literal", - "log", - "parity-scale-codec", - "polkadot-core-primitives 15.0.0", - "polkadot-parachain-primitives 14.0.0", - "scale-info", - "serde", - "sp-api 34.0.0", - "sp-application-crypto 38.0.0", - "sp-arithmetic", - "sp-authority-discovery 34.0.0", - "sp-consensus-slots 0.40.1", - "sp-core 34.0.0", - "sp-inherents 34.0.0", - "sp-io 38.0.0", - "sp-keystore 0.40.0", - "sp-runtime 39.0.5", - "sp-staking 36.0.0", -] - -[[package]] -name = "polkadot-primitives" -version = "17.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9514f89667c43019c44815f83af7d83887bbb31056e54b70c644c1a2b0ded1d0" -dependencies = [ - "bitvec", - "hex-literal", - "log", + "derive_more 0.99.18", "parity-scale-codec", - "polkadot-core-primitives 16.0.0", - "polkadot-parachain-primitives 15.0.0", + "polkadot-core-primitives", "scale-info", "serde", - "sp-api 35.0.0", - "sp-application-crypto 39.0.0", - "sp-arithmetic", - "sp-authority-discovery 35.0.0", - "sp-consensus-slots 0.41.0", - "sp-core 35.0.0", - "sp-inherents 35.0.0", - "sp-io 39.0.0", - "sp-keystore 0.41.0", - "sp-runtime 40.1.0", - "sp-staking 37.0.0", - "sp-std", - "thiserror 1.0.69", + "sp-core", + "sp-runtime", + "sp-weights", ] [[package]] -name = "polkadot-runtime-common" -version = "17.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc15154ba5ca55d323fcf7af0f5dcd39d58dcb4dfac3d9b30404840a6d8bbde4" +name = "polkadot-primitives" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "bitvec", - "frame-benchmarking 38.0.0", - "frame-election-provider-support 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "impl-trait-for-tuples", - "libsecp256k1", + "hex-literal", "log", - "pallet-asset-rate 17.0.0", - "pallet-authorship 38.0.0", - "pallet-balances 39.0.0", - "pallet-broker 0.17.2", - "pallet-election-provider-multi-phase 37.0.0", - "pallet-fast-unstake 37.0.0", - "pallet-identity 38.0.0", - "pallet-session 38.0.0", - "pallet-staking 38.0.0", - "pallet-staking-reward-fn", - "pallet-timestamp 37.0.0", - "pallet-transaction-payment 38.0.2", - "pallet-treasury 37.0.0", - "pallet-vesting 38.0.0", "parity-scale-codec", - "polkadot-primitives 16.0.0", - "polkadot-runtime-parachains 17.0.2", - "rustc-hex", + "polkadot-core-primitives", + "polkadot-parachain-primitives", "scale-info", "serde", - "serde_derive", - "slot-range-helper 15.0.0", - "sp-api 34.0.0", - "sp-core 34.0.0", - "sp-inherents 34.0.0", - "sp-io 38.0.0", - "sp-npos-elections 34.0.0", - "sp-runtime 39.0.5", - "sp-session 36.0.0", - "sp-staking 36.0.0", - "staging-xcm 14.2.0", - "staging-xcm-builder 17.0.3", - "staging-xcm-executor 17.0.1", - "static_assertions", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", + "sp-authority-discovery", + "sp-consensus-slots", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-staking", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "thiserror 1.0.69", ] [[package]] name = "polkadot-runtime-common" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16404fa92de5a557e29c46fbed1c72ec349f1c9cd0be02ac8f786f3d54c3ac42" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "bitvec", - "frame-benchmarking 39.0.0", - "frame-election-provider-support 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-benchmarking", + "frame-election-provider-support", + "frame-support", + "frame-system", "impl-trait-for-tuples", "libsecp256k1", "log", - "pallet-asset-rate 18.0.0", - "pallet-authorship 39.0.0", - "pallet-balances 40.0.1", - "pallet-broker 0.18.0", - "pallet-election-provider-multi-phase 38.0.0", - "pallet-fast-unstake 38.0.0", - "pallet-identity 39.0.0", - "pallet-session 39.0.0", - "pallet-staking 39.0.1", + "pallet-asset-rate", + "pallet-authorship", + "pallet-balances", + "pallet-broker", + "pallet-election-provider-multi-phase", + "pallet-fast-unstake", + "pallet-identity", + "pallet-session", + "pallet-staking", "pallet-staking-reward-fn", - "pallet-timestamp 38.0.0", - "pallet-transaction-payment 39.0.0", - "pallet-treasury 38.0.0", - "pallet-vesting 39.0.0", + "pallet-timestamp", + "pallet-transaction-payment", + "pallet-treasury", + "pallet-vesting", "parity-scale-codec", - "polkadot-primitives 17.0.0", - "polkadot-runtime-parachains 18.0.1", + "polkadot-primitives", + "polkadot-runtime-parachains", "rustc-hex", "scale-info", "serde", "serde_derive", - "slot-range-helper 16.0.0", - "sp-api 35.0.0", - "sp-core 35.0.0", - "sp-inherents 35.0.0", - "sp-io 39.0.0", - "sp-keyring 40.0.0", - "sp-npos-elections 35.0.0", - "sp-runtime 40.1.0", - "sp-session 37.0.0", - "sp-staking 37.0.0", - "staging-xcm 15.0.1", - "staging-xcm-builder 18.0.1", - "staging-xcm-executor 18.0.1", + "slot-range-helper", + "sp-api", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keyring", + "sp-npos-elections", + "sp-runtime", + "sp-session", + "sp-staking", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", "static_assertions", ] [[package]] name = "polkadot-runtime-metrics" -version = "17.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c306f1ace7644a24de860479f92cf8d6467393bb0c9b0777c57e2d42c9d452a" -dependencies = [ - "bs58", - "frame-benchmarking 38.0.0", - "parity-scale-codec", - "polkadot-primitives 16.0.0", - "sp-tracing", -] - -[[package]] -name = "polkadot-runtime-metrics" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "317eefe8eb7fc0d87e283a03567f4c59462f0a7edbee847d1c9f4134eb0993b6" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "bs58", - "frame-benchmarking 39.0.0", - "parity-scale-codec", - "polkadot-primitives 17.0.0", - "sp-tracing", -] - -[[package]] -name = "polkadot-runtime-parachains" -version = "17.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d4cdf181c2419b35c2cbde813da2d8ee777b69b4a6fa346b962d144e3521976" -dependencies = [ - "bitflags 1.3.2", - "bitvec", - "derive_more 0.99.18", - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "impl-trait-for-tuples", - "log", - "pallet-authority-discovery 38.0.0", - "pallet-authorship 38.0.0", - "pallet-babe 38.0.0", - "pallet-balances 39.0.0", - "pallet-broker 0.17.2", - "pallet-message-queue 41.0.2", - "pallet-mmr 38.0.0", - "pallet-session 38.0.0", - "pallet-staking 38.0.0", - "pallet-timestamp 37.0.0", - "pallet-vesting 38.0.0", + "frame-benchmarking", "parity-scale-codec", - "polkadot-core-primitives 15.0.0", - "polkadot-parachain-primitives 14.0.0", - "polkadot-primitives 16.0.0", - "polkadot-runtime-metrics 17.0.0", - "rand", - "rand_chacha", - "scale-info", - "serde", - "sp-api 34.0.0", - "sp-application-crypto 38.0.0", - "sp-arithmetic", - "sp-core 34.0.0", - "sp-inherents 34.0.0", - "sp-io 38.0.0", - "sp-keystore 0.40.0", - "sp-runtime 39.0.5", - "sp-session 36.0.0", - "sp-staking 36.0.0", - "sp-std", - "staging-xcm 14.2.0", - "staging-xcm-executor 17.0.1", + "polkadot-primitives", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", ] [[package]] name = "polkadot-runtime-parachains" -version = "18.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7ce68207973e3ea0d2c63841dd47d8fc8b9a6df34c19e395cef222cf6567425" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "bitflags 1.3.2", "bitvec", "derive_more 0.99.18", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-benchmarking", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", - "pallet-authority-discovery 39.0.0", - "pallet-authorship 39.0.0", - "pallet-babe 39.0.0", - "pallet-balances 40.0.1", - "pallet-broker 0.18.0", - "pallet-message-queue 42.0.0", - "pallet-mmr 39.0.0", - "pallet-session 39.0.0", - "pallet-staking 39.0.1", - "pallet-timestamp 38.0.0", - "pallet-vesting 39.0.0", - "parity-scale-codec", - "polkadot-core-primitives 16.0.0", - "polkadot-parachain-primitives 15.0.0", - "polkadot-primitives 17.0.0", - "polkadot-runtime-metrics 18.0.0", + "pallet-authority-discovery", + "pallet-authorship", + "pallet-babe", + "pallet-balances", + "pallet-broker", + "pallet-message-queue", + "pallet-mmr", + "pallet-session", + "pallet-staking", + "pallet-timestamp", + "parity-scale-codec", + "polkadot-core-primitives", + "polkadot-parachain-primitives", + "polkadot-primitives", + "polkadot-runtime-metrics", "rand", "rand_chacha", "scale-info", "serde", - "sp-api 35.0.0", - "sp-application-crypto 39.0.0", + "sp-api", + "sp-application-crypto", "sp-arithmetic", - "sp-core 35.0.0", - "sp-inherents 35.0.0", - "sp-io 39.0.0", - "sp-keystore 0.41.0", - "sp-runtime 40.1.0", - "sp-session 37.0.0", - "sp-staking 37.0.0", - "sp-std", - "staging-xcm 15.0.1", - "staging-xcm-executor 18.0.1", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "staging-xcm", + "staging-xcm-executor", ] [[package]] name = "polkadot-sdk" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb819108697967452fa6d8d96ab4c0d48cbaa423b3156499dcb24f1cf95d6775" -dependencies = [ - "asset-test-utils 18.0.0", - "assets-common 0.18.3", - "binary-merkle-tree 15.0.1", - "bp-header-chain 0.18.1", - "bp-messages 0.18.0", - "bp-parachains 0.18.0", - "bp-polkadot 0.16.0", - "bp-polkadot-core 0.18.0", - "bp-relayers 0.18.0", - "bp-runtime 0.18.0", - "bp-test-utils 0.18.0", - "bp-xcm-bridge-hub 0.4.2", - "bp-xcm-bridge-hub-router 0.14.1", - "bridge-hub-common 0.10.0", - "bridge-hub-test-utils 0.18.0", - "bridge-runtime-common 0.18.2", - "cumulus-pallet-aura-ext 0.17.0", - "cumulus-pallet-dmp-queue 0.17.0", - "cumulus-pallet-parachain-system 0.17.1", +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" +dependencies = [ + "asset-test-utils", + "assets-common", + "binary-merkle-tree", + "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", + "bridge-hub-common", + "bridge-hub-test-utils", + "bridge-runtime-common", + "cumulus-pallet-aura-ext", + "cumulus-pallet-dmp-queue", + "cumulus-pallet-parachain-system", "cumulus-pallet-parachain-system-proc-macro", - "cumulus-pallet-session-benchmarking 19.0.0", - "cumulus-pallet-solo-to-para 0.17.0", - "cumulus-pallet-xcm 0.17.0", - "cumulus-pallet-xcmp-queue 0.17.0", - "cumulus-ping 0.17.0", - "cumulus-primitives-aura 0.15.0", - "cumulus-primitives-core 0.16.0", - "cumulus-primitives-parachain-inherent 0.16.0", - "cumulus-primitives-proof-size-hostfunction 0.10.0", - "cumulus-primitives-storage-weight-reclaim 8.0.0", - "cumulus-primitives-timestamp 0.16.0", - "cumulus-primitives-utility 0.17.0", - "cumulus-test-relay-sproof-builder 0.16.0", - "frame-benchmarking 38.0.0", - "frame-benchmarking-pallet-pov 28.0.0", - "frame-election-provider-support 38.0.0", - "frame-executive 38.0.0", - "frame-metadata-hash-extension 0.6.0", - "frame-support 38.2.0", - "frame-support-procedural 30.0.6", - "frame-system 38.0.0", - "frame-system-benchmarking 38.0.0", - "frame-system-rpc-runtime-api 34.0.0", - "frame-try-runtime 0.44.0", - "pallet-alliance 37.0.0", - "pallet-asset-conversion 20.0.0", - "pallet-asset-conversion-ops 0.6.0", - "pallet-asset-conversion-tx-payment 20.0.0", - "pallet-asset-rate 17.0.0", - "pallet-asset-tx-payment 38.0.0", - "pallet-assets 40.0.0", - "pallet-assets-freezer 0.5.0", - "pallet-atomic-swap 38.0.0", - "pallet-aura 37.0.0", - "pallet-authority-discovery 38.0.0", - "pallet-authorship 38.0.0", - "pallet-babe 38.0.0", - "pallet-bags-list 37.0.0", - "pallet-balances 39.0.0", - "pallet-beefy 39.0.0", - "pallet-beefy-mmr 39.0.0", - "pallet-bounties 37.0.2", - "pallet-bridge-grandpa 0.18.0", - "pallet-bridge-messages 0.18.0", - "pallet-bridge-parachains 0.18.0", - "pallet-bridge-relayers 0.18.2", - "pallet-broker 0.17.2", - "pallet-child-bounties 37.0.0", - "pallet-collator-selection 19.0.0", - "pallet-collective 38.0.0", - "pallet-collective-content 0.16.0", - "pallet-contracts 38.0.0", - "pallet-contracts-mock-network 14.0.0", - "pallet-conviction-voting 38.0.0", - "pallet-core-fellowship 22.2.0", - "pallet-delegated-staking 5.0.0", - "pallet-democracy 38.0.0", - "pallet-dev-mode 20.0.0", - "pallet-election-provider-multi-phase 37.0.0", - "pallet-election-provider-support-benchmarking 37.0.0", - "pallet-elections-phragmen 39.0.0", - "pallet-fast-unstake 37.0.0", - "pallet-glutton 24.0.0", - "pallet-grandpa 38.0.0", - "pallet-identity 38.0.0", - "pallet-im-online 37.0.0", - "pallet-indices 38.0.0", - "pallet-insecure-randomness-collective-flip 26.0.0", - "pallet-lottery 38.0.0", - "pallet-membership 38.0.0", - "pallet-message-queue 41.0.2", - "pallet-migrations 8.0.0", - "pallet-mixnet 0.14.0", - "pallet-mmr 38.0.0", - "pallet-multisig 38.0.0", - "pallet-nft-fractionalization 21.0.0", - "pallet-nfts 32.0.0", - "pallet-nfts-runtime-api 24.0.0", - "pallet-nis 38.0.0", - "pallet-node-authorization 38.0.0", - "pallet-nomination-pools 35.0.2", - "pallet-nomination-pools-benchmarking 36.0.0", - "pallet-nomination-pools-runtime-api 33.0.2", - "pallet-offences 37.0.0", - "pallet-offences-benchmarking 38.0.0", - "pallet-paged-list 0.16.0", - "pallet-parameters 0.9.0", - "pallet-preimage 38.0.0", - "pallet-proxy 38.0.0", - "pallet-ranked-collective 38.2.0", - "pallet-recovery 38.0.0", - "pallet-referenda 38.0.0", - "pallet-remark 38.0.0", - "pallet-revive 0.2.0", - "pallet-revive-fixtures", + "cumulus-pallet-session-benchmarking", + "cumulus-pallet-solo-to-para", + "cumulus-pallet-weight-reclaim", + "cumulus-pallet-xcm", + "cumulus-pallet-xcmp-queue", + "cumulus-ping", + "cumulus-primitives-aura", + "cumulus-primitives-core", + "cumulus-primitives-parachain-inherent", + "cumulus-primitives-proof-size-hostfunction", + "cumulus-primitives-storage-weight-reclaim", + "cumulus-primitives-timestamp", + "cumulus-primitives-utility", + "cumulus-test-relay-sproof-builder", + "frame-benchmarking", + "frame-benchmarking-pallet-pov", + "frame-election-provider-support", + "frame-executive", + "frame-metadata-hash-extension", + "frame-support", + "frame-support-procedural", + "frame-system", + "frame-system-benchmarking", + "frame-system-rpc-runtime-api", + "frame-try-runtime", + "pallet-alliance", + "pallet-asset-conversion", + "pallet-asset-conversion-ops", + "pallet-asset-conversion-tx-payment", + "pallet-asset-rate", + "pallet-asset-rewards", + "pallet-asset-tx-payment", + "pallet-assets", + "pallet-assets-freezer", + "pallet-assets-holder", + "pallet-atomic-swap", + "pallet-aura", + "pallet-authority-discovery", + "pallet-authorship", + "pallet-babe", + "pallet-bags-list", + "pallet-balances", + "pallet-beefy", + "pallet-beefy-mmr", + "pallet-bounties", + "pallet-bridge-grandpa", + "pallet-bridge-messages", + "pallet-bridge-parachains", + "pallet-bridge-relayers", + "pallet-broker", + "pallet-child-bounties", + "pallet-collator-selection", + "pallet-collective", + "pallet-collective-content", + "pallet-contracts", + "pallet-contracts-mock-network", + "pallet-conviction-voting", + "pallet-core-fellowship", + "pallet-delegated-staking", + "pallet-democracy", + "pallet-dev-mode", + "pallet-election-provider-multi-block", + "pallet-election-provider-multi-phase", + "pallet-election-provider-support-benchmarking", + "pallet-elections-phragmen", + "pallet-fast-unstake", + "pallet-glutton", + "pallet-grandpa", + "pallet-identity", + "pallet-im-online", + "pallet-indices", + "pallet-insecure-randomness-collective-flip", + "pallet-lottery", + "pallet-membership", + "pallet-message-queue", + "pallet-migrations", + "pallet-mixnet", + "pallet-mmr", + "pallet-multisig", + "pallet-nft-fractionalization", + "pallet-nfts", + "pallet-nfts-runtime-api", + "pallet-nis", + "pallet-node-authorization", + "pallet-nomination-pools", + "pallet-nomination-pools-benchmarking", + "pallet-nomination-pools-runtime-api", + "pallet-offences", + "pallet-offences-benchmarking", + "pallet-paged-list", + "pallet-parameters", + "pallet-preimage", + "pallet-proxy", + "pallet-ranked-collective", + "pallet-recovery", + "pallet-referenda", + "pallet-remark", + "pallet-revive", "pallet-revive-mock-network", - "pallet-root-offences 35.0.0", - "pallet-root-testing 14.0.0", - "pallet-safe-mode 19.0.0", - "pallet-salary 23.2.0", - "pallet-scheduler 39.0.0", - "pallet-scored-pool 38.0.0", - "pallet-session 38.0.0", - "pallet-session-benchmarking 38.0.0", - "pallet-skip-feeless-payment 13.0.0", - "pallet-society 38.0.0", - "pallet-staking 38.0.0", - "pallet-staking-reward-fn", - "pallet-staking-runtime-api 24.0.0", - "pallet-state-trie-migration 40.0.0", - "pallet-statement 20.0.0", - "pallet-sudo 38.0.0", - "pallet-timestamp 37.0.0", - "pallet-tips 37.0.0", - "pallet-transaction-payment 38.0.2", - "pallet-transaction-payment-rpc-runtime-api 38.0.0", - "pallet-transaction-storage 37.0.0", - "pallet-treasury 37.0.0", - "pallet-tx-pause 19.0.0", - "pallet-uniques 38.0.0", - "pallet-utility 38.0.0", - "pallet-vesting 38.0.0", - "pallet-whitelist 37.0.0", - "pallet-xcm 17.0.1", - "pallet-xcm-benchmarks 17.0.0", - "pallet-xcm-bridge-hub 0.13.2", - "pallet-xcm-bridge-hub-router 0.15.3", - "parachains-common 18.0.0", - "parachains-runtimes-test-utils 17.0.0", - "polkadot-core-primitives 15.0.0", - "polkadot-parachain-primitives 14.0.0", - "polkadot-primitives 16.0.0", - "polkadot-runtime-common 17.0.0", - "polkadot-runtime-metrics 17.0.0", - "polkadot-runtime-parachains 17.0.2", - "polkadot-sdk-frame 0.7.0", - "sc-executor 0.40.1", - "slot-range-helper 15.0.0", - "snowbridge-beacon-primitives 0.10.0", - "snowbridge-core 0.10.0", - "snowbridge-ethereum 0.9.0", - "snowbridge-outbound-queue-merkle-tree 0.9.1", - "snowbridge-outbound-queue-runtime-api 0.10.0", - "snowbridge-pallet-ethereum-client 0.10.0", - "snowbridge-pallet-ethereum-client-fixtures 0.18.0", - "snowbridge-pallet-inbound-queue 0.10.0", - "snowbridge-pallet-inbound-queue-fixtures 0.18.1", - "snowbridge-pallet-outbound-queue 0.10.0", - "snowbridge-pallet-system 0.10.0", - "snowbridge-router-primitives 0.16.1", - "snowbridge-runtime-common 0.10.0", - "snowbridge-runtime-test-common 0.10.0", - "snowbridge-system-runtime-api 0.10.0", - "sp-api 34.0.0", - "sp-api-proc-macro 20.0.0", - "sp-application-crypto 38.0.0", - "sp-arithmetic", - "sp-authority-discovery 34.0.0", - "sp-block-builder 34.0.0", - "sp-consensus-aura 0.40.0", - "sp-consensus-babe 0.40.0", - "sp-consensus-beefy 22.1.0", - "sp-consensus-grandpa 21.0.0", - "sp-consensus-pow 0.40.0", - "sp-consensus-slots 0.40.1", - "sp-core 34.0.0", - "sp-core-hashing", - "sp-crypto-ec-utils 0.14.0", - "sp-crypto-hashing", - "sp-debug-derive", - "sp-externalities 0.29.0", - "sp-genesis-builder 0.15.1", - "sp-inherents 34.0.0", - "sp-io 38.0.0", - "sp-keyring 39.0.0", - "sp-keystore 0.40.0", - "sp-metadata-ir 0.7.0", - "sp-mixnet 0.12.0", - "sp-mmr-primitives 34.1.0", - "sp-npos-elections 34.0.0", - "sp-offchain 34.0.0", - "sp-runtime 39.0.5", - "sp-runtime-interface 28.0.0", - "sp-session 36.0.0", - "sp-staking 36.0.0", - "sp-state-machine 0.43.0", - "sp-statement-store 18.0.0", - "sp-std", - "sp-storage 21.0.0", - "sp-timestamp 34.0.0", - "sp-tracing", - "sp-transaction-pool 34.0.0", - "sp-transaction-storage-proof 34.0.0", - "sp-trie 37.0.0", - "sp-version 37.0.0", - "sp-wasm-interface", - "sp-weights", - "staging-parachain-info 0.17.0", - "staging-xcm 14.2.0", - "staging-xcm-builder 17.0.3", - "staging-xcm-executor 17.0.1", - "substrate-bip39", - "testnet-parachains-constants 10.0.0", - "xcm-runtime-apis 0.4.2", -] - -[[package]] -name = "polkadot-sdk" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d543f06a00f390bb863c441fe48460a12e2efb26eedf931144416aa934e45c1" -dependencies = [ - "asset-test-utils 21.0.0", - "assets-common 0.19.0", - "binary-merkle-tree 16.0.0", - "bp-header-chain 0.19.0", - "bp-messages 0.19.0", - "bp-parachains 0.19.0", - "bp-polkadot 0.17.0", - "bp-polkadot-core 0.19.0", - "bp-relayers 0.19.0", - "bp-runtime 0.19.0", - "bp-test-utils 0.19.0", - "bp-xcm-bridge-hub 0.5.0", - "bp-xcm-bridge-hub-router 0.15.0", - "bridge-hub-common 0.12.0", - "bridge-hub-test-utils 0.21.1", - "bridge-runtime-common 0.19.1", - "cumulus-pallet-aura-ext 0.18.0", - "cumulus-pallet-dmp-queue 0.18.0", - "cumulus-pallet-parachain-system 0.18.0", - "cumulus-pallet-parachain-system-proc-macro", - "cumulus-pallet-session-benchmarking 20.0.0", - "cumulus-pallet-solo-to-para 0.18.0", - "cumulus-pallet-xcm 0.18.0", - "cumulus-pallet-xcmp-queue 0.18.1", - "cumulus-ping 0.18.0", - "cumulus-primitives-aura 0.16.0", - "cumulus-primitives-core 0.17.0", - "cumulus-primitives-parachain-inherent 0.17.0", - "cumulus-primitives-proof-size-hostfunction 0.11.0", - "cumulus-primitives-storage-weight-reclaim 9.0.0", - "cumulus-primitives-timestamp 0.17.0", - "cumulus-primitives-utility 0.18.0", - "cumulus-test-relay-sproof-builder 0.17.0", - "frame-benchmarking 39.0.0", - "frame-benchmarking-pallet-pov 29.0.0", - "frame-election-provider-support 39.0.0", - "frame-executive 39.0.0", - "frame-metadata-hash-extension 0.7.0", - "frame-support 39.0.0", - "frame-support-procedural 31.0.1", - "frame-system 39.1.0", - "frame-system-benchmarking 39.0.0", - "frame-system-rpc-runtime-api 35.0.0", - "frame-try-runtime 0.45.0", - "pallet-alliance 38.0.0", - "pallet-asset-conversion 21.0.0", - "pallet-asset-conversion-ops 0.7.0", - "pallet-asset-conversion-tx-payment 21.0.0", - "pallet-asset-rate 18.0.0", - "pallet-asset-tx-payment 39.0.0", - "pallet-assets 41.0.0", - "pallet-assets-freezer 0.6.0", - "pallet-atomic-swap 39.0.0", - "pallet-aura 38.0.0", - "pallet-authority-discovery 39.0.0", - "pallet-authorship 39.0.0", - "pallet-babe 39.0.0", - "pallet-bags-list 38.0.0", - "pallet-balances 40.0.1", - "pallet-beefy 40.0.0", - "pallet-beefy-mmr 40.0.0", - "pallet-bounties 38.0.1", - "pallet-bridge-grandpa 0.19.0", - "pallet-bridge-messages 0.19.0", - "pallet-bridge-parachains 0.19.0", - "pallet-bridge-relayers 0.19.0", - "pallet-broker 0.18.0", - "pallet-child-bounties 38.0.0", - "pallet-collator-selection 20.0.0", - "pallet-collective 39.0.0", - "pallet-collective-content 0.17.0", - "pallet-contracts 39.0.0", - "pallet-contracts-mock-network 15.0.0", - "pallet-conviction-voting 39.0.0", - "pallet-core-fellowship 23.0.0", - "pallet-delegated-staking 6.0.0", - "pallet-democracy 39.0.0", - "pallet-dev-mode 21.0.0", - "pallet-election-provider-multi-phase 38.0.0", - "pallet-election-provider-support-benchmarking 38.0.0", - "pallet-elections-phragmen 40.0.0", - "pallet-fast-unstake 38.0.0", - "pallet-glutton 25.0.0", - "pallet-grandpa 39.0.0", - "pallet-identity 39.0.0", - "pallet-im-online 38.0.0", - "pallet-indices 39.0.0", - "pallet-insecure-randomness-collective-flip 27.0.0", - "pallet-lottery 39.0.0", - "pallet-membership 39.0.0", - "pallet-message-queue 42.0.0", - "pallet-migrations 9.0.0", - "pallet-mixnet 0.15.0", - "pallet-mmr 39.0.0", - "pallet-multisig 39.0.0", - "pallet-nft-fractionalization 22.0.0", - "pallet-nfts 33.0.0", - "pallet-nfts-runtime-api 25.0.0", - "pallet-nis 39.0.0", - "pallet-node-authorization 39.0.0", - "pallet-nomination-pools 37.0.0", - "pallet-nomination-pools-benchmarking 37.0.0", - "pallet-nomination-pools-runtime-api 35.0.0", - "pallet-offences 38.0.0", - "pallet-offences-benchmarking 39.0.0", - "pallet-paged-list 0.17.0", - "pallet-parameters 0.10.0", - "pallet-preimage 39.0.0", - "pallet-proxy 39.0.0", - "pallet-ranked-collective 39.0.0", - "pallet-recovery 39.0.0", - "pallet-referenda 39.0.0", - "pallet-remark 39.0.0", - "pallet-revive 0.3.1", - "pallet-root-offences 36.0.0", - "pallet-root-testing 15.0.0", - "pallet-safe-mode 20.0.0", - "pallet-salary 24.0.0", - "pallet-scheduler 40.0.0", - "pallet-scored-pool 39.0.0", - "pallet-session 39.0.0", - "pallet-session-benchmarking 39.0.0", - "pallet-skip-feeless-payment 14.1.0", - "pallet-society 39.0.0", - "pallet-staking 39.0.1", + "pallet-root-offences", + "pallet-root-testing", + "pallet-safe-mode", + "pallet-salary", + "pallet-scheduler", + "pallet-scored-pool", + "pallet-session", + "pallet-session-benchmarking", + "pallet-skip-feeless-payment", + "pallet-society", + "pallet-staking", + "pallet-staking-ah-client", + "pallet-staking-rc-client", "pallet-staking-reward-fn", - "pallet-staking-runtime-api 25.0.0", - "pallet-state-trie-migration 43.0.0", - "pallet-statement 21.0.0", - "pallet-sudo 39.0.0", - "pallet-timestamp 38.0.0", - "pallet-tips 38.0.0", - "pallet-transaction-payment 39.0.0", - "pallet-transaction-payment-rpc-runtime-api 39.0.0", - "pallet-transaction-storage 38.0.0", - "pallet-treasury 38.0.0", - "pallet-tx-pause 20.0.0", - "pallet-uniques 39.0.0", - "pallet-utility 39.0.0", + "pallet-staking-runtime-api", + "pallet-state-trie-migration", + "pallet-statement", + "pallet-sudo", + "pallet-timestamp", + "pallet-tips", + "pallet-transaction-payment", + "pallet-transaction-payment-rpc-runtime-api", + "pallet-transaction-storage", + "pallet-treasury", + "pallet-tx-pause", + "pallet-uniques", + "pallet-utility", "pallet-verify-signature", - "pallet-vesting 39.0.0", - "pallet-whitelist 38.0.0", - "pallet-xcm 18.0.0", - "pallet-xcm-benchmarks 18.0.0", - "pallet-xcm-bridge-hub 0.14.1", - "pallet-xcm-bridge-hub-router 0.16.0", - "parachains-common 19.0.0", - "parachains-runtimes-test-utils 20.0.0", - "polkadot-core-primitives 16.0.0", - "polkadot-parachain-primitives 15.0.0", - "polkadot-primitives 17.0.0", - "polkadot-runtime-common 18.0.0", - "polkadot-runtime-metrics 18.0.0", - "polkadot-runtime-parachains 18.0.1", - "polkadot-sdk-frame 0.8.0", - "sc-executor 0.41.0", - "slot-range-helper 16.0.0", - "snowbridge-beacon-primitives 0.12.0", - "snowbridge-core 0.12.0", - "snowbridge-ethereum 0.11.0", - "snowbridge-outbound-queue-merkle-tree 0.10.0", - "snowbridge-outbound-queue-runtime-api 0.12.0", - "snowbridge-pallet-ethereum-client 0.12.0", - "snowbridge-pallet-ethereum-client-fixtures 0.20.0", - "snowbridge-pallet-inbound-queue 0.12.0", - "snowbridge-pallet-inbound-queue-fixtures 0.20.1", - "snowbridge-pallet-outbound-queue 0.12.0", - "snowbridge-pallet-system 0.12.0", - "snowbridge-router-primitives 0.18.1", - "snowbridge-runtime-common 0.12.0", - "snowbridge-runtime-test-common 0.14.0", - "snowbridge-system-runtime-api 0.12.0", - "sp-api 35.0.0", - "sp-api-proc-macro 21.0.0", - "sp-application-crypto 39.0.0", + "pallet-vesting", + "pallet-whitelist", + "pallet-xcm", + "pallet-xcm-benchmarks", + "pallet-xcm-bridge-hub", + "pallet-xcm-bridge-hub-router", + "parachains-common", + "parachains-runtimes-test-utils", + "polkadot-core-primitives", + "polkadot-parachain-primitives", + "polkadot-primitives", + "polkadot-runtime-common", + "polkadot-runtime-metrics", + "polkadot-runtime-parachains", + "polkadot-sdk-frame", + "sc-executor", + "slot-range-helper", + "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", + "sp-api-proc-macro", + "sp-application-crypto", "sp-arithmetic", - "sp-authority-discovery 35.0.0", - "sp-block-builder 35.0.0", - "sp-consensus-aura 0.41.0", - "sp-consensus-babe 0.41.0", - "sp-consensus-beefy 23.0.0", - "sp-consensus-grandpa 22.0.0", - "sp-consensus-pow 0.41.0", - "sp-consensus-slots 0.41.0", - "sp-core 35.0.0", + "sp-authority-discovery", + "sp-block-builder", + "sp-consensus-aura", + "sp-consensus-babe", + "sp-consensus-beefy", + "sp-consensus-grandpa", + "sp-consensus-pow", + "sp-consensus-slots", + "sp-core", "sp-core-hashing", - "sp-crypto-ec-utils 0.15.0", - "sp-crypto-hashing", - "sp-debug-derive", - "sp-externalities 0.30.0", - "sp-genesis-builder 0.16.0", - "sp-inherents 35.0.0", - "sp-io 39.0.0", - "sp-keyring 40.0.0", - "sp-keystore 0.41.0", - "sp-metadata-ir 0.8.0", - "sp-mixnet 0.13.0", - "sp-mmr-primitives 35.0.0", - "sp-npos-elections 35.0.0", - "sp-offchain 35.0.0", - "sp-runtime 40.1.0", - "sp-runtime-interface 29.0.0", - "sp-session 37.0.0", - "sp-staking 37.0.0", - "sp-state-machine 0.44.0", - "sp-statement-store 19.0.0", - "sp-std", - "sp-storage 22.0.0", - "sp-timestamp 35.0.0", - "sp-tracing", - "sp-transaction-pool 35.0.0", - "sp-transaction-storage-proof 35.0.0", - "sp-trie 38.0.0", - "sp-version 38.0.0", - "sp-wasm-interface", + "sp-crypto-ec-utils 0.10.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-genesis-builder", + "sp-inherents", + "sp-io", + "sp-keyring", + "sp-keystore", + "sp-metadata-ir", + "sp-mixnet", + "sp-mmr-primitives", + "sp-npos-elections", + "sp-offchain", + "sp-runtime", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-session", + "sp-staking", + "sp-state-machine", + "sp-statement-store", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-timestamp", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-transaction-pool", + "sp-transaction-storage-proof", + "sp-trie", + "sp-version", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", "sp-weights", - "staging-parachain-info 0.18.0", - "staging-xcm 15.0.1", - "staging-xcm-builder 18.0.1", - "staging-xcm-executor 18.0.1", + "staging-parachain-info", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", "substrate-bip39", - "testnet-parachains-constants 11.0.0", - "xcm-runtime-apis 0.5.0", + "testnet-parachains-constants", + "xcm-runtime-apis", ] [[package]] -name = "polkadot-sdk-frame" +name = "polkadot-sdk" version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbdeb15ce08142082461afe1a62c15f7ce10a731d91b203ad6a8dc8d2e4a6a54" +checksum = "eb819108697967452fa6d8d96ab4c0d48cbaa423b3156499dcb24f1cf95d6775" dependencies = [ - "docify", - "frame-benchmarking 38.0.0", - "frame-executive 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "frame-system-benchmarking 38.0.0", - "frame-system-rpc-runtime-api 34.0.0", - "frame-try-runtime 0.44.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-api 34.0.0", - "sp-arithmetic", - "sp-block-builder 34.0.0", - "sp-consensus-aura 0.40.0", - "sp-consensus-grandpa 21.0.0", - "sp-core 34.0.0", - "sp-inherents 34.0.0", - "sp-io 38.0.0", - "sp-offchain 34.0.0", - "sp-runtime 39.0.5", - "sp-session 36.0.0", - "sp-storage 21.0.0", - "sp-transaction-pool 34.0.0", - "sp-version 37.0.0", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "polkadot-sdk-frame" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a52af032fa4fe7781dd801054faa214ba7b4229337ec0ef5ed604359ee9b763f" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "docify", - "frame-benchmarking 39.0.0", - "frame-executive 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "frame-system-benchmarking 39.0.0", - "frame-system-rpc-runtime-api 35.0.0", - "frame-try-runtime 0.45.0", + "frame-benchmarking", + "frame-executive", + "frame-support", + "frame-system", + "frame-system-benchmarking", + "frame-system-rpc-runtime-api", + "frame-try-runtime", "log", "parity-scale-codec", "scale-info", - "sp-api 35.0.0", + "sp-api", "sp-arithmetic", - "sp-block-builder 35.0.0", - "sp-consensus-aura 0.41.0", - "sp-consensus-grandpa 22.0.0", - "sp-core 35.0.0", - "sp-genesis-builder 0.16.0", - "sp-inherents 35.0.0", - "sp-io 39.0.0", - "sp-keyring 40.0.0", - "sp-offchain 35.0.0", - "sp-runtime 40.1.0", - "sp-session 37.0.0", - "sp-storage 22.0.0", - "sp-transaction-pool 35.0.0", - "sp-version 38.0.0", + "sp-block-builder", + "sp-consensus-aura", + "sp-consensus-grandpa", + "sp-core", + "sp-genesis-builder", + "sp-inherents", + "sp-io", + "sp-keyring", + "sp-offchain", + "sp-runtime", + "sp-session", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-transaction-pool", + "sp-version", ] [[package]] @@ -10620,13 +7418,13 @@ dependencies = [ "assert_cmd", "clap", "futures", - "hyper 0.14.32", + "hyper", "jsonrpsee", "log", "once_cell", "parity-scale-codec", "pin-project-lite", - "polkadot-sdk 0.12.1", + "polkadot-sdk 0.1.0", "prometheus", "regex", "scale-info", @@ -10634,6 +7432,7 @@ dependencies = [ "serde", "serde_json", "subxt", + "subxt-core 0.40.0", "thiserror 2.0.12", "tokio", "tracing-subscriber", @@ -10641,245 +7440,174 @@ dependencies = [ [[package]] name = "polkavm" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a3693e5efdb2bf74e449cd25fd777a28bd7ed87e41f5d5da75eb31b4de48b94" -dependencies = [ - "libc", - "log", - "polkavm-assembler 0.9.0", - "polkavm-common 0.9.0", - "polkavm-linux-raw 0.9.0", -] - -[[package]] -name = "polkavm" -version = "0.10.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7ec0c5935f2eff23cfc4653002f4f8d12b37f87a720e0631282d188c32089d6" +checksum = "dd044ab1d3b11567ab6b98ca71259a992b4034220d5972988a0e96518e5d343d" dependencies = [ "libc", "log", - "polkavm-assembler 0.10.0", - "polkavm-common 0.10.0", - "polkavm-linux-raw 0.10.0", + "polkavm-assembler 0.18.0", + "polkavm-common 0.18.0", + "polkavm-linux-raw 0.18.0", ] [[package]] name = "polkavm" -version = "0.13.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57e79a14b15ed38cb5b9a1e38d02e933f19e3d180ae5b325fed606c5e5b9177e" +checksum = "cfd34e2f74206fff33482ae1718e275f11365ef8c4de7f0e69217f8845303867" dependencies = [ "libc", "log", - "polkavm-assembler 0.13.0", - "polkavm-common 0.13.0", - "polkavm-linux-raw 0.13.0", -] - -[[package]] -name = "polkavm-assembler" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fa96d6d868243acc12de813dd48e756cbadcc8e13964c70d272753266deadc1" -dependencies = [ - "log", + "polkavm-assembler 0.21.0", + "polkavm-common 0.21.0", + "polkavm-linux-raw 0.21.0", ] [[package]] name = "polkavm-assembler" -version = "0.10.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8e4fd5a43100bf1afe9727b8130d01f966f5cfc9144d5604b21e795c2bcd80e" +checksum = "eaad38dc420bfed79e6f731471c973ce5ff5e47ab403e63cf40358fef8a6368f" dependencies = [ "log", ] [[package]] name = "polkavm-assembler" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e8da55465000feb0a61bbf556ed03024db58f3420eca37721fc726b3b2136bf" -dependencies = [ - "log", -] - -[[package]] -name = "polkavm-common" -version = "0.9.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d9428a5cfcc85c5d7b9fc4b6a18c4b802d0173d768182a51cc7751640f08b92" +checksum = "f512bc80cb10439391a7c13a9eb2d37cf66b7305e7df0a06d662eff4f5b07625" dependencies = [ "log", ] [[package]] name = "polkavm-common" -version = "0.10.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0097b48bc0bedf9f3f537ce8f37e8f1202d8d83f9b621bdb21ff2c59b9097c50" +checksum = "31ff33982a807d8567645d4784b9b5d7ab87bcb494f534a57cadd9012688e102" dependencies = [ "log", - "polkavm-assembler 0.10.0", + "polkavm-assembler 0.18.0", ] [[package]] name = "polkavm-common" -version = "0.13.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "084b4339aae7dfdaaa5aa7d634110afd95970e0737b6fb2a0cb10db8b56b753c" +checksum = "5c16b809cfd398f861261c045a8745e6c78b71ea7e0d3ef6f7cc553eb27bc17e" dependencies = [ + "blake3", "log", - "polkavm-assembler 0.13.0", -] - -[[package]] -name = "polkavm-common" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "711952a783e9c5ad407cdacb1ed147f36d37c5d43417c1091d86456d2999417b" - -[[package]] -name = "polkavm-derive" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae8c4bea6f3e11cd89bb18bcdddac10bd9a24015399bd1c485ad68a985a19606" -dependencies = [ - "polkavm-derive-impl-macro 0.9.0", + "polkavm-assembler 0.21.0", ] [[package]] name = "polkavm-derive" -version = "0.10.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dcc701385c08c31bdb0569f0c51a290c580d892fa77f1dd88a7352a62679ecf" +checksum = "c2eb703f3b6404c13228402e98a5eae063fd16b8f58afe334073ec105ee4117e" dependencies = [ - "polkavm-derive-impl-macro 0.10.0", + "polkavm-derive-impl-macro 0.18.0", ] [[package]] name = "polkavm-derive" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4832a0aebf6cefc988bb7b2d74ea8c86c983164672e2fc96300f356a1babfc1" -dependencies = [ - "polkavm-derive-impl-macro 0.14.0", -] - -[[package]] -name = "polkavm-derive-impl" -version = "0.9.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c4fdfc49717fb9a196e74a5d28e0bc764eb394a2c803eb11133a31ac996c60c" +checksum = "47239245f87329541932c0d7fec750a66a75b13aa87dfe4fbfd637bab86ad387" dependencies = [ - "polkavm-common 0.9.0", - "proc-macro2", - "quote", - "syn 2.0.87", + "polkavm-derive-impl-macro 0.21.0", ] [[package]] name = "polkavm-derive-impl" -version = "0.10.0" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7855353a5a783dd5d09e3b915474bddf66575f5a3cf45dec8d1c5e051ba320dc" +checksum = "2f2116a92e6e96220a398930f4c8a6cda1264206f3e2034fc9982bfd93f261f7" dependencies = [ - "polkavm-common 0.10.0", + "polkavm-common 0.18.0", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] name = "polkavm-derive-impl" -version = "0.14.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e339fc7c11310fe5adf711d9342278ac44a75c9784947937cce12bd4f30842f2" +checksum = "24fd6c6215450c3e57511df5c38a82eb4bde208de15ee15046ac33852f3c3eaa" dependencies = [ - "polkavm-common 0.14.0", + "polkavm-common 0.21.0", "proc-macro2", "quote", - "syn 2.0.87", -] - -[[package]] -name = "polkavm-derive-impl-macro" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429" -dependencies = [ - "polkavm-derive-impl 0.9.0", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] name = "polkavm-derive-impl-macro" -version = "0.10.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9324fe036de37c17829af233b46ef6b5562d4a0c09bb7fdb9f8378856dee30cf" +checksum = "48c16669ddc7433e34c1007d31080b80901e3e8e523cb9d4b441c3910cf9294b" dependencies = [ - "polkavm-derive-impl 0.10.0", - "syn 2.0.87", + "polkavm-derive-impl 0.18.1", + "syn 2.0.98", ] [[package]] name = "polkavm-derive-impl-macro" -version = "0.14.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b569754b15060d03000c09e3bf11509d527f60b75d79b4c30c3625b5071d9702" +checksum = "36837f6b7edfd6f4498f8d25d81da16cf03bd6992c3e56f3d477dfc90f4fefca" dependencies = [ - "polkavm-derive-impl 0.14.0", - "syn 2.0.87", + "polkavm-derive-impl 0.21.0", + "syn 2.0.98", ] [[package]] name = "polkavm-linker" -version = "0.9.2" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c7be503e60cf56c0eb785f90aaba4b583b36bff00e93997d93fef97f9553c39" +checksum = "e9bfe793b094d9ea5c99b7c43ba46e277b0f8f48f4bbfdbabf8d3ebf701a4bd3" dependencies = [ - "gimli 0.28.1", + "dirs", + "gimli 0.31.1", "hashbrown 0.14.5", "log", - "object 0.32.2", - "polkavm-common 0.9.0", + "object 0.36.4", + "polkavm-common 0.18.0", "regalloc2 0.9.3", "rustc-demangle", ] [[package]] name = "polkavm-linker" -version = "0.10.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d704edfe7bdcc876784f19436d53d515b65eb07bc9a0fae77085d552c2dbbb5" +checksum = "23bc764986c4a63f9ab9890c3f4eb9b4c13b6ff80d79685bd48ade147234aab4" dependencies = [ - "gimli 0.28.1", + "dirs", + "gimli 0.31.1", "hashbrown 0.14.5", "log", "object 0.36.4", - "polkavm-common 0.10.0", + "polkavm-common 0.21.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" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26e45fa59c7e1bb12ef5289080601e9ec9b31435f6e32800a5c90c132453d126" +checksum = "23eff02c070c70f31878a3d915e88a914ecf3e153741e2fb572dde28cce20fde" [[package]] name = "polkavm-linux-raw" -version = "0.13.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "686c4dd9c9c16cc22565b51bdbb269792318d0fd2e6b966b5f6c788534cad0e9" +checksum = "be6cd1d48c5e7814d287a3e12a339386a5dfa2f3ac72f932335f4cf56467f1b3" [[package]] name = "polling" @@ -10968,7 +7696,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "479cf940fbbb3426c32c5d5176f62ad57549a0bb84773423ba8be9d089f5faba" dependencies = [ "proc-macro2", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -10979,9 +7707,6 @@ checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" dependencies = [ "fixed-hash", "impl-codec 0.6.0", - "impl-rlp 0.3.0", - "impl-serde 0.4.0", - "scale-info", "uint 0.9.5", ] @@ -10994,8 +7719,8 @@ dependencies = [ "fixed-hash", "impl-codec 0.7.0", "impl-num-traits", - "impl-rlp 0.4.0", - "impl-serde 0.5.0", + "impl-rlp", + "impl-serde", "scale-info", "uint 0.10.0", ] @@ -11052,7 +7777,7 @@ dependencies = [ "proc-macro-error-attr2", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -11063,7 +7788,7 @@ checksum = "834da187cfe638ae8abb0203f0b33e5ccdb02a28e7199f2f47b3e2754f50edca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -11133,9 +7858,9 @@ checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" [[package]] name = "quote" -version = "1.0.37" +version = "1.0.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" +checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc" dependencies = [ "proc-macro2", ] @@ -11155,6 +7880,7 @@ dependencies = [ "libc", "rand_chacha", "rand_core", + "serde", ] [[package]] @@ -11248,7 +7974,7 @@ checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -11330,6 +8056,23 @@ dependencies = [ "subtle", ] +[[package]] +name = "ring" +version = "0.1.0" +source = "git+https://github.com/w3f/ring-proof?rev=665f5f5#665f5f51af5734c7b6d90b985dd6861d4c5b4752" +dependencies = [ + "ark-ec 0.4.2", + "ark-ff 0.4.2", + "ark-poly 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", + "arrayvec 0.7.6", + "blake2", + "common", + "fflonk", + "merlin", +] + [[package]] name = "ring" version = "0.17.8" @@ -11376,44 +8119,20 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" -version = "17.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1ec6683a2e52fe3be2eaf942a80619abd99eb36e973c5ab4489a2f3b100db5c" -dependencies = [ - "frame-support 38.2.0", - "polkadot-primitives 16.0.0", - "polkadot-runtime-common 17.0.0", - "smallvec", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-weights", - "staging-xcm 14.2.0", - "staging-xcm-builder 17.0.3", -] - -[[package]] -name = "rococo-runtime-constants" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e7c8a30ecfd13810a993acf2a99017f801f5d564b64c3e45601c7be4bfef5e8" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 39.0.0", - "polkadot-primitives 17.0.0", - "polkadot-runtime-common 18.0.0", + "frame-support", + "polkadot-primitives", + "polkadot-runtime-common", "smallvec", - "sp-core 35.0.0", - "sp-runtime 40.1.0", + "sp-core", + "sp-runtime", "sp-weights", - "staging-xcm 15.0.1", - "staging-xcm-builder 18.0.1", + "staging-xcm", + "staging-xcm-builder", ] -[[package]] -name = "route-recognizer" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afab94fb28594581f62d981211a9a4d53cc8130bbcbbb89a0440d9b8e81a7746" - [[package]] name = "ruint" version = "1.12.3" @@ -11530,7 +8249,7 @@ checksum = "f2dabaac7466917e566adb06783a81ca48944c6898a1b08b9374106dd671f4c8" dependencies = [ "log", "once_cell", - "ring", + "ring 0.17.8", "rustls-pki-types", "rustls-webpki", "subtle", @@ -11599,7 +8318,7 @@ version = "0.102.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9" dependencies = [ - "ring", + "ring 0.17.8", "rustls-pki-types", "untrusted", ] @@ -11657,162 +8376,85 @@ dependencies = [ ] [[package]] -name = "same-file" -version = "1.0.6" +name = "salsa20" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +checksum = "97a22f5af31f73a954c10289c93e8a50cc23d971e80ee446f1f6f7137a088213" dependencies = [ - "winapi-util", + "cipher", ] [[package]] -name = "sc-allocator" -version = "29.0.0" +name = "same-file" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b975ee3a95eaacb611e7b415737a7fa2db4d8ad7b880cc1b97371b04e95c7903" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" dependencies = [ - "log", - "sp-core 34.0.0", - "sp-wasm-interface", - "thiserror 1.0.69", + "winapi-util", ] [[package]] name = "sc-allocator" -version = "30.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a63e577eb150187ddd444a0a6f01e1ece0a5cfc592aacb4204d9f79bdc5265d" +version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "log", - "sp-core 35.0.0", - "sp-wasm-interface", + "sp-core", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", "thiserror 1.0.69", ] [[package]] name = "sc-executor" -version = "0.40.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f0cc0a3728fd033589183460c5a49b2e7545d09dc89a098216ef9e9aadcd9dc" -dependencies = [ - "parity-scale-codec", - "parking_lot", - "sc-executor-common 0.35.0", - "sc-executor-polkavm 0.32.0", - "sc-executor-wasmtime 0.35.0", - "schnellru", - "sp-api 34.0.0", - "sp-core 34.0.0", - "sp-externalities 0.29.0", - "sp-io 38.0.0", - "sp-panic-handler", - "sp-runtime-interface 28.0.0", - "sp-trie 37.0.0", - "sp-version 37.0.0", - "sp-wasm-interface", - "tracing", -] - -[[package]] -name = "sc-executor" -version = "0.41.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b450573fc0ca024bdcb6d508d61c104f862519ca7f78c416bd8042c9db32975" +version = "0.32.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "parity-scale-codec", "parking_lot", - "sc-executor-common 0.36.0", - "sc-executor-polkavm 0.33.0", - "sc-executor-wasmtime 0.36.0", + "sc-executor-common", + "sc-executor-polkavm", + "sc-executor-wasmtime", "schnellru", - "sp-api 35.0.0", - "sp-core 35.0.0", - "sp-externalities 0.30.0", - "sp-io 39.0.0", + "sp-api", + "sp-core", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-io", "sp-panic-handler", - "sp-runtime-interface 29.0.0", - "sp-trie 38.0.0", - "sp-version 38.0.0", - "sp-wasm-interface", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-trie", + "sp-version", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", "tracing", ] [[package]] name = "sc-executor-common" -version = "0.35.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c3b703a33dcb7cddf19176fdf12294b9a6408125836b0f4afee3e6969e7f190" -dependencies = [ - "polkavm 0.9.3", - "sc-allocator 29.0.0", - "sp-maybe-compressed-blob", - "sp-wasm-interface", - "thiserror 1.0.69", - "wasm-instrument", -] - -[[package]] -name = "sc-executor-common" -version = "0.36.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27f5d872331b68ed4601488100f22e8aa16331de006b51d4c69353930c568a16" +version = "0.29.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "polkavm 0.9.3", - "sc-allocator 30.0.0", + "polkavm 0.18.0", + "sc-allocator", "sp-maybe-compressed-blob", - "sp-wasm-interface", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", "thiserror 1.0.69", "wasm-instrument", ] [[package]] name = "sc-executor-polkavm" -version = "0.32.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26fe58d9cacfab73e5595fa84b80f7bd03efebe54a0574daaeb221a1d1f7ab80" -dependencies = [ - "log", - "polkavm 0.9.3", - "sc-executor-common 0.35.0", - "sp-wasm-interface", -] - -[[package]] -name = "sc-executor-polkavm" -version = "0.33.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16c4b3532c0f6dae1fcbe85f4582618042aefb9c8e2a03f855d298f56362daaa" -dependencies = [ - "log", - "polkavm 0.9.3", - "sc-executor-common 0.36.0", - "sp-wasm-interface", -] - -[[package]] -name = "sc-executor-wasmtime" -version = "0.35.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cd498f2f77ec1f861c30804f5bfd796d4afcc8ce44ea1f11bfbe2847551d161" +version = "0.29.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "anyhow", - "cfg-if", - "libc", "log", - "parking_lot", - "rustix 0.36.17", - "sc-allocator 29.0.0", - "sc-executor-common 0.35.0", - "sp-runtime-interface 28.0.0", - "sp-wasm-interface", - "wasmtime", + "polkavm 0.18.0", + "sc-executor-common", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", ] [[package]] name = "sc-executor-wasmtime" -version = "0.36.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d04b8d98a96a83b56eeb1061cd4a7a1949b7c2c147d572d309c4e4d5c0d870f" +version = "0.29.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "anyhow", "cfg-if", @@ -11820,10 +8462,10 @@ dependencies = [ "log", "parking_lot", "rustix 0.36.17", - "sc-allocator 30.0.0", - "sc-executor-common 0.36.0", - "sp-runtime-interface 29.0.0", - "sp-wasm-interface", + "sc-allocator", + "sc-executor-common", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", "wasmtime", ] @@ -11853,15 +8495,15 @@ 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 0.12.2", + "primitive-types 0.13.1", "scale-bits 0.6.0", - "scale-decode-derive 0.13.1", + "scale-decode-derive 0.14.0", "scale-type-resolver", "smallvec", ] @@ -11883,14 +8525,14 @@ 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.98", ] [[package]] @@ -11899,23 +8541,23 @@ version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2f4b54a1211260718b92832b661025d1f1a4b6930fbadd6908e00edd265fa5f7" dependencies = [ - "darling 0.20.10", + "darling", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[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 0.12.2", + "primitive-types 0.13.1", "scale-bits 0.6.0", - "scale-encode-derive 0.7.2", + "scale-encode-derive 0.8.0", "scale-type-resolver", "smallvec", ] @@ -11937,15 +8579,15 @@ 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", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -11954,11 +8596,11 @@ version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "78a3993a13b4eafa89350604672c8757b7ea84c7c5947d4b3691e3169c96379b" dependencies = [ - "darling 0.20.10", + "darling", "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -11984,7 +8626,7 @@ dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -12006,23 +8648,22 @@ dependencies = [ "proc-macro2", "quote", "scale-info", - "syn 2.0.87", + "syn 2.0.98", "thiserror 2.0.12", ] [[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 = [ - "derive_more 0.99.18", + "derive_more 1.0.0", "either", - "frame-metadata 15.1.0", "parity-scale-codec", "scale-bits 0.6.0", - "scale-decode 0.13.1", - "scale-encode 0.7.2", + "scale-decode 0.14.0", + "scale-encode 0.8.0", "scale-info", "scale-type-resolver", ] @@ -12061,7 +8702,7 @@ version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c9a8ef13a93c54d20580de1e5c413e624e53121d42fc7e2c11d10ef7f8b02367" dependencies = [ - "ahash 0.8.11", + "ahash", "cfg-if", "hashbrown 0.13.2", ] @@ -12097,6 +8738,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 = "sec1" version = "0.7.3" @@ -12130,6 +8783,17 @@ dependencies = [ "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]] name = "secp256k1-sys" version = "0.8.1" @@ -12148,6 +8812,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" @@ -12157,6 +8830,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" @@ -12232,12 +8914,6 @@ dependencies = [ "pest", ] -[[package]] -name = "send_wrapper" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f638d531eccd6e23b980caf34876660d38e265409d8e99b397ab71eb3612fad0" - [[package]] name = "serde" version = "1.0.218" @@ -12273,7 +8949,7 @@ checksum = "f09503e191f4e797cb8aac08e9a4a4695c5edf6a2e70e376d961ddd5c969f82b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -12352,6 +9028,16 @@ dependencies = [ "keccak", ] +[[package]] +name = "sha3-asm" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c28efc5e327c837aa837c59eae585fc250715ef939ac32881bcc11677cd02d46" +dependencies = [ + "cc", + "cfg-if", +] + [[package]] name = "sharded-slab" version = "0.1.7" @@ -12428,26 +9114,13 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" -version = "15.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e34f1146a457a5c554dedeae6c7273aa54c3b031f3e9eb0abd037b5511e2ce9" -dependencies = [ - "enumn", - "parity-scale-codec", - "paste", - "sp-runtime 39.0.5", -] - -[[package]] -name = "slot-range-helper" -version = "16.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8199911b47dabecb84931829526c605766aab92065e6a170a17e00a2ca06ff5" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "enumn", "parity-scale-codec", "paste", - "sp-runtime 40.1.0", + "sp-runtime", ] [[package]] @@ -12549,7 +9222,7 @@ dependencies = [ "hex", "itertools 0.13.0", "log", - "lru 0.12.4", + "lru", "parking_lot", "pin-project", "rand", @@ -12575,128 +9248,57 @@ dependencies = [ [[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.2.0", - "hex", - "parity-scale-codec", - "rlp 0.5.2", - "scale-info", - "serde", - "snowbridge-ethereum 0.9.0", - "snowbridge-milagro-bls", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std", - "ssz_rs", - "ssz_rs_derive", -] - -[[package]] -name = "snowbridge-beacon-primitives" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30ae387f38ed2cdeece98b8610a674bb5e19d2c2c320cdf441e08627b2ccb70f" +version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "byte-slice-cast", - "frame-support 39.0.0", + "frame-support", "hex", "parity-scale-codec", "rlp 0.6.1", "scale-info", "serde", - "snowbridge-ethereum 0.11.0", + "snowbridge-ethereum", "snowbridge-milagro-bls", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-std", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", "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 1.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "hex-literal", - "parity-scale-codec", - "polkadot-parachain-primitives 14.0.0", - "scale-info", - "serde", - "snowbridge-beacon-primitives 0.10.0", - "sp-arithmetic", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std", - "staging-xcm 14.2.0", - "staging-xcm-builder 17.0.3", -] - -[[package]] -name = "snowbridge-core" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcf9ac462013e55a7fc94f274fd20c39f6a4370b67992bae06c5064f994d991a" +version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "ethabi-decode 2.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "ethabi-decode", + "frame-support", + "frame-system", "hex-literal", "parity-scale-codec", - "polkadot-parachain-primitives 15.0.0", + "polkadot-parachain-primitives", "scale-info", "serde", - "snowbridge-beacon-primitives 0.12.0", + "snowbridge-beacon-primitives", "sp-arithmetic", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-std", - "staging-xcm 15.0.1", - "staging-xcm-builder 18.0.1", -] - -[[package]] -name = "snowbridge-ethereum" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc3d6d549c57df27cf89ec852f932fa4008eea877a6911a87e03e8002104eabd" -dependencies = [ - "ethabi-decode 1.0.0", - "ethbloom 0.13.0", - "ethereum-types 0.14.1", - "hex-literal", - "parity-bytes", - "parity-scale-codec", - "rlp 0.5.2", - "scale-info", - "serde", - "serde-big-array", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "staging-xcm", + "staging-xcm-builder", ] [[package]] name = "snowbridge-ethereum" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "510ced138ecff55bba6699d44a5f117a6baafe11717a54e67cd83d9aa2a76c77" +version = "0.3.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "ethabi-decode 2.0.0", - "ethbloom 0.14.1", - "ethereum-types 0.15.1", + "ethabi-decode", + "ethbloom", + "ethereum-types", "hex-literal", "parity-bytes", "parity-scale-codec", @@ -12704,9 +9306,9 @@ dependencies = [ "scale-info", "serde", "serde-big-array", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-std", + "sp-io", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", ] [[package]] @@ -12726,464 +9328,220 @@ dependencies = [ [[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", - "sp-runtime 39.0.5", -] - -[[package]] -name = "snowbridge-outbound-queue-merkle-tree" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0355a80f66bc620f2493a0564443b8772ed6ed176b5330551440ca174239b420" +version = "0.3.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "parity-scale-codec", "scale-info", - "sp-core 35.0.0", - "sp-runtime 40.1.0", -] - -[[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.2.0", - "parity-scale-codec", - "snowbridge-core 0.10.0", - "snowbridge-outbound-queue-merkle-tree 0.9.1", - "sp-api 34.0.0", - "sp-std", + "sp-core", + "sp-runtime", ] [[package]] name = "snowbridge-outbound-queue-runtime-api" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c96bb258b003105c3df371ddfacdfcd5d11dd72016e42ba5cf54ceb3248078f4" -dependencies = [ - "frame-support 39.0.0", - "parity-scale-codec", - "snowbridge-core 0.12.0", - "snowbridge-outbound-queue-merkle-tree 0.10.0", - "sp-api 35.0.0", - "sp-std", -] - -[[package]] -name = "snowbridge-pallet-ethereum-client" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d53d32d8470c643f9f8c1f508e1e34263f76297e4c9150e10e8f2e0b63992e1" +version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "pallet-timestamp 37.0.0", + "frame-support", "parity-scale-codec", - "scale-info", - "serde", - "snowbridge-beacon-primitives 0.10.0", - "snowbridge-core 0.10.0", - "snowbridge-ethereum 0.9.0", - "snowbridge-pallet-ethereum-client-fixtures 0.18.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std", - "static_assertions", + "snowbridge-core", + "snowbridge-outbound-queue-merkle-tree", + "sp-api", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", ] [[package]] name = "snowbridge-pallet-ethereum-client" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a1482f30012b7469391ef7bdda59bc9e8c73f55d1a26c946697c8d9769ae66b" +version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-timestamp 38.0.0", + "pallet-timestamp", "parity-scale-codec", "scale-info", "serde", - "snowbridge-beacon-primitives 0.12.0", - "snowbridge-core 0.12.0", - "snowbridge-ethereum 0.11.0", - "snowbridge-pallet-ethereum-client-fixtures 0.20.0", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-std", + "snowbridge-beacon-primitives", + "snowbridge-core", + "snowbridge-ethereum", + "snowbridge-pallet-ethereum-client-fixtures", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", "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 0.10.0", - "snowbridge-core 0.10.0", - "sp-core 34.0.0", - "sp-std", -] - -[[package]] -name = "snowbridge-pallet-ethereum-client-fixtures" -version = "0.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "477077f4537b7e8e27fd0971eb6c167374c802ebde8aba5a47c4d69590937d08" +version = "0.9.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "hex-literal", - "snowbridge-beacon-primitives 0.12.0", - "snowbridge-core 0.12.0", - "sp-core 35.0.0", - "sp-std", -] - -[[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", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "pallet-balances 39.0.0", - "parity-scale-codec", - "scale-info", - "serde", - "snowbridge-beacon-primitives 0.10.0", - "snowbridge-core 0.10.0", - "snowbridge-pallet-inbound-queue-fixtures 0.18.1", - "snowbridge-router-primitives 0.16.1", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std", - "staging-xcm 14.2.0", - "staging-xcm-executor 17.0.1", + "snowbridge-beacon-primitives", + "snowbridge-core", + "sp-core", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", ] [[package]] name = "snowbridge-pallet-inbound-queue" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0d84c1a72f8eefa68f66b99d17d42f3dca9ef3b2821264a503f37b550d5eda8" +version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "alloy-primitives", - "alloy-sol-types", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "alloy-core", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-balances 40.0.1", + "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "snowbridge-beacon-primitives 0.12.0", - "snowbridge-core 0.12.0", - "snowbridge-pallet-inbound-queue-fixtures 0.20.1", - "snowbridge-router-primitives 0.18.1", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-std", - "staging-xcm 15.0.1", - "staging-xcm-executor 18.0.1", -] - -[[package]] -name = "snowbridge-pallet-inbound-queue-fixtures" -version = "0.18.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1f251e579b3d3d93cf833c8e503122808742dee33e7ea53b0f292a76c024d66" -dependencies = [ - "hex-literal", - "snowbridge-beacon-primitives 0.10.0", - "snowbridge-core 0.10.0", - "sp-core 34.0.0", - "sp-std", + "snowbridge-beacon-primitives", + "snowbridge-core", + "snowbridge-pallet-inbound-queue-fixtures", + "snowbridge-router-primitives", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "staging-xcm", + "staging-xcm-executor", ] [[package]] name = "snowbridge-pallet-inbound-queue-fixtures" -version = "0.20.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dccf0ecc5bbd79614714fcfbd0a0a7ebb7758079646ab3c053ced4a4d0e87772" -dependencies = [ - "hex-literal", - "snowbridge-beacon-primitives 0.12.0", - "snowbridge-core 0.12.0", - "sp-core 35.0.0", - "sp-std", -] - -[[package]] -name = "snowbridge-pallet-outbound-queue" version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7d49478041b6512c710d0d4655675d146fe00a8e0c1624e5d8a1d6c161d490f" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bridge-hub-common 0.10.0", - "ethabi-decode 1.0.0", - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "parity-scale-codec", - "scale-info", - "serde", - "snowbridge-core 0.10.0", - "snowbridge-outbound-queue-merkle-tree 0.9.1", - "sp-arithmetic", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std", + "hex-literal", + "snowbridge-beacon-primitives", + "snowbridge-core", + "sp-core", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", ] [[package]] name = "snowbridge-pallet-outbound-queue" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "905544ae23545f881467790acf372e6306879e8155334752b2ded09c3ef3284f" +version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "bridge-hub-common 0.12.0", - "ethabi-decode 2.0.0", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", + "bridge-hub-common", + "ethabi-decode", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", - "snowbridge-core 0.12.0", - "snowbridge-outbound-queue-merkle-tree 0.10.0", + "snowbridge-core", + "snowbridge-outbound-queue-merkle-tree", "sp-arithmetic", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-std", -] - -[[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", - "frame-support 38.2.0", - "frame-system 38.0.0", - "log", - "parity-scale-codec", - "scale-info", - "snowbridge-core 0.10.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std", - "staging-xcm 14.2.0", - "staging-xcm-executor 17.0.1", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", ] [[package]] name = "snowbridge-pallet-system" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6df353b1c1274c864b2306574556d3571fb36370f4ee1ec132991557bc28704a" -dependencies = [ - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "log", - "parity-scale-codec", - "scale-info", - "snowbridge-core 0.12.0", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-std", - "staging-xcm 15.0.1", - "staging-xcm-executor 18.0.1", -] - -[[package]] -name = "snowbridge-router-primitives" -version = "0.16.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aefe74eafeac92e1d9e46b7bb76ec297f6182b4a023f7e7eb7eb8be193f93bef" +version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 38.2.0", - "hex-literal", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "snowbridge-core 0.10.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std", - "staging-xcm 14.2.0", - "staging-xcm-executor 17.0.1", + "snowbridge-core", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "staging-xcm", + "staging-xcm-executor", ] [[package]] name = "snowbridge-router-primitives" -version = "0.18.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a60256450bffe3659c1b8d6496382409082a4dc2f3d5ce8c6503186052da3281" +version = "0.9.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 39.0.0", + "frame-support", "hex-literal", "log", "parity-scale-codec", "scale-info", - "snowbridge-core 0.12.0", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-std", - "staging-xcm 15.0.1", - "staging-xcm-executor 18.0.1", -] - -[[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.2.0", - "log", - "parity-scale-codec", - "snowbridge-core 0.10.0", - "sp-arithmetic", - "sp-std", - "staging-xcm 14.2.0", - "staging-xcm-builder 17.0.3", - "staging-xcm-executor 17.0.1", + "snowbridge-core", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "staging-xcm", + "staging-xcm-executor", ] [[package]] name = "snowbridge-runtime-common" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3ce15a05d2bd874c4268dea3c4c60bd1aade90fdbc22509d876d242c6e55e33" +version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 39.0.0", + "frame-support", "log", "parity-scale-codec", - "snowbridge-core 0.12.0", + "snowbridge-core", "sp-arithmetic", - "sp-std", - "staging-xcm 15.0.1", - "staging-xcm-builder 18.0.1", - "staging-xcm-executor 18.0.1", -] - -[[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", - "frame-support 38.2.0", - "frame-system 38.0.0", - "pallet-balances 39.0.0", - "pallet-collator-selection 19.0.0", - "pallet-message-queue 41.0.2", - "pallet-session 38.0.0", - "pallet-timestamp 37.0.0", - "pallet-utility 38.0.0", - "pallet-xcm 17.0.1", - "parachains-runtimes-test-utils 17.0.0", - "parity-scale-codec", - "snowbridge-core 0.10.0", - "snowbridge-pallet-ethereum-client 0.10.0", - "snowbridge-pallet-ethereum-client-fixtures 0.18.0", - "snowbridge-pallet-outbound-queue 0.10.0", - "snowbridge-pallet-system 0.10.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-keyring 39.0.0", - "sp-runtime 39.0.5", - "staging-parachain-info 0.17.0", - "staging-xcm 14.2.0", - "staging-xcm-executor 17.0.1", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", ] [[package]] name = "snowbridge-runtime-test-common" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcc150b67ad7231141e1f7baf6bcdff7b26e067192d1fa4bd422fe95bfbf81c0" -dependencies = [ - "cumulus-pallet-parachain-system 0.18.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "pallet-balances 40.0.1", - "pallet-collator-selection 20.0.0", - "pallet-message-queue 42.0.0", - "pallet-session 39.0.0", - "pallet-timestamp 38.0.0", - "pallet-utility 39.0.0", - "pallet-xcm 18.0.0", - "parachains-runtimes-test-utils 20.0.0", - "parity-scale-codec", - "snowbridge-core 0.12.0", - "snowbridge-pallet-ethereum-client 0.12.0", - "snowbridge-pallet-ethereum-client-fixtures 0.20.0", - "snowbridge-pallet-outbound-queue 0.12.0", - "snowbridge-pallet-system 0.12.0", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-keyring 40.0.0", - "sp-runtime 40.1.0", - "staging-parachain-info 0.18.0", - "staging-xcm 15.0.1", - "staging-xcm-executor 18.0.1", -] - -[[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 0.10.0", - "sp-api 34.0.0", - "sp-std", - "staging-xcm 14.2.0", +version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" +dependencies = [ + "cumulus-pallet-parachain-system", + "frame-support", + "frame-system", + "pallet-balances", + "pallet-collator-selection", + "pallet-message-queue", + "pallet-session", + "pallet-timestamp", + "pallet-utility", + "pallet-xcm", + "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", + "sp-io", + "sp-keyring", + "sp-runtime", + "staging-parachain-info", + "staging-xcm", + "staging-xcm-executor", ] [[package]] name = "snowbridge-system-runtime-api" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b08cd0060937f9ebe2ea76c009b90628f6a28941c92e7a75ddaf69163cef2d4d" +version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "parity-scale-codec", - "snowbridge-core 0.12.0", - "sp-api 35.0.0", - "sp-std", - "staging-xcm 15.0.1", + "snowbridge-core", + "sp-api", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "staging-xcm", ] [[package]] @@ -13205,7 +9563,6 @@ dependencies = [ "base64 0.22.1", "bytes", "futures", - "http 1.1.0", "httparse", "log", "rand", @@ -13214,70 +9571,30 @@ dependencies = [ [[package]] name = "sp-api" -version = "34.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbce492e0482134128b7729ea36f5ef1a9f9b4de2d48ff8dde7b5e464e28ce75" -dependencies = [ - "docify", - "hash-db", - "log", - "parity-scale-codec", - "scale-info", - "sp-api-proc-macro 20.0.0", - "sp-core 34.0.0", - "sp-externalities 0.29.0", - "sp-metadata-ir 0.7.0", - "sp-runtime 39.0.5", - "sp-runtime-interface 28.0.0", - "sp-state-machine 0.43.0", - "sp-trie 37.0.0", - "sp-version 37.0.0", - "thiserror 1.0.69", -] - -[[package]] -name = "sp-api" -version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7538a61120585b0e1e89d9de57448732ea4d3f9d175cab882b3c86e9809612a0" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "docify", "hash-db", "log", "parity-scale-codec", "scale-info", - "sp-api-proc-macro 21.0.0", - "sp-core 35.0.0", - "sp-externalities 0.30.0", - "sp-metadata-ir 0.8.0", - "sp-runtime 40.1.0", - "sp-runtime-interface 29.0.0", - "sp-state-machine 0.44.0", - "sp-trie 38.0.0", - "sp-version 38.0.0", + "sp-api-proc-macro", + "sp-core", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-metadata-ir", + "sp-runtime", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-state-machine", + "sp-trie", + "sp-version", "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", - "expander", - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 2.0.87", -] - -[[package]] -name = "sp-api-proc-macro" -version = "21.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37f8b9621cfa68a45d6f9c124e672b8f6780839a6c95279a7877d244fef8d1dc" +version = "15.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "Inflector", "blake2", @@ -13285,40 +9602,25 @@ dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.87", -] - -[[package]] -name = "sp-application-crypto" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d8133012faa5f75b2f0b1619d9f720c1424ac477152c143e5f7dbde2fe1a958" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", + "syn 2.0.98", ] [[package]] name = "sp-application-crypto" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f6850bd745fe9c0a200a8e729a82c8036250e1ad1ef24ed7498b2289935c974" +version = "30.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 35.0.0", - "sp-io 39.0.0", + "sp-core", + "sp-io", ] [[package]] name = "sp-arithmetic" -version = "26.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46d0d0a4c591c421d3231ddd5e27d828618c24456d51445d21a1f79fcee97c23" +version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "docify", "integer-sqrt", @@ -13326,311 +9628,149 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std", "static_assertions", ] [[package]] -name = "sp-authority-discovery" -version = "34.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "519c33af0e25ba2dd2eb3790dc404d634b6e4ce0801bcc8fa3574e07c365e734" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-api 34.0.0", - "sp-application-crypto 38.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "sp-authority-discovery" -version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39fd73846f3998b60183622a55ae02a506cc7f165ebef8b4c66919e12fc74ef2" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-api 35.0.0", - "sp-application-crypto 39.0.0", - "sp-runtime 40.1.0", -] - -[[package]] -name = "sp-block-builder" -version = "34.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74738809461e3d4bd707b5b94e0e0c064a623a74a6a8fe5c98514417a02858dd" +name = "sp-ark-bls12-381" +version = "0.4.2" +source = "git+https://github.com/paritytech/arkworks-substrate#caa2eed74beb885dd07c7db5f916f2281dad818f" dependencies = [ - "sp-api 34.0.0", - "sp-inherents 34.0.0", - "sp-runtime 39.0.5", + "ark-bls12-381-ext", + "sp-crypto-ec-utils 0.10.0 (git+https://github.com/paritytech/polkadot-sdk)", ] [[package]] -name = "sp-block-builder" -version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5d66b12f19243bac666aa84c1df18f12989b924b467377973b349ff4913c3e6" +name = "sp-ark-ed-on-bls12-381-bandersnatch" +version = "0.4.2" +source = "git+https://github.com/paritytech/arkworks-substrate#caa2eed74beb885dd07c7db5f916f2281dad818f" dependencies = [ - "sp-api 35.0.0", - "sp-inherents 35.0.0", - "sp-runtime 40.1.0", + "ark-ed-on-bls12-381-bandersnatch-ext", + "sp-crypto-ec-utils 0.10.0 (git+https://github.com/paritytech/polkadot-sdk)", ] [[package]] -name = "sp-consensus-aura" -version = "0.40.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a8faaa05bbcb9c41f0cc535c4c1315abf6df472b53eae018678d1b4d811ac47" +name = "sp-authority-discovery" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "async-trait", "parity-scale-codec", "scale-info", - "sp-api 34.0.0", - "sp-application-crypto 38.0.0", - "sp-consensus-slots 0.40.1", - "sp-inherents 34.0.0", - "sp-runtime 39.0.5", - "sp-timestamp 34.0.0", + "sp-api", + "sp-application-crypto", + "sp-runtime", ] [[package]] -name = "sp-consensus-aura" -version = "0.41.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2174e77fed7a92c90f3d3e3603a0b4580ea311b2df8343aa62112c9597e2a97" +name = "sp-block-builder" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "async-trait", - "parity-scale-codec", - "scale-info", - "sp-api 35.0.0", - "sp-application-crypto 39.0.0", - "sp-consensus-slots 0.41.0", - "sp-inherents 35.0.0", - "sp-runtime 40.1.0", - "sp-timestamp 35.0.0", + "sp-api", + "sp-inherents", + "sp-runtime", ] [[package]] -name = "sp-consensus-babe" -version = "0.40.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36ee95e17ee8dcd14db7d584b899a426565ca9abe5a266ab82277977fc547f86" +name = "sp-consensus-aura" +version = "0.32.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "serde", - "sp-api 34.0.0", - "sp-application-crypto 38.0.0", - "sp-consensus-slots 0.40.1", - "sp-core 34.0.0", - "sp-inherents 34.0.0", - "sp-runtime 39.0.5", - "sp-timestamp 34.0.0", + "sp-api", + "sp-application-crypto", + "sp-consensus-slots", + "sp-inherents", + "sp-runtime", + "sp-timestamp", ] [[package]] name = "sp-consensus-babe" -version = "0.41.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1633fab9075508861b82999305a3d3d35f35a780feaf4e81f9d59aa6d62e5f7" +version = "0.32.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "async-trait", "parity-scale-codec", "scale-info", "serde", - "sp-api 35.0.0", - "sp-application-crypto 39.0.0", - "sp-consensus-slots 0.41.0", - "sp-core 35.0.0", - "sp-inherents 35.0.0", - "sp-runtime 40.1.0", - "sp-timestamp 35.0.0", -] - -[[package]] -name = "sp-consensus-beefy" -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 34.0.0", - "sp-application-crypto 38.0.0", - "sp-core 34.0.0", - "sp-crypto-hashing", - "sp-io 38.0.0", - "sp-keystore 0.40.0", - "sp-mmr-primitives 34.1.0", - "sp-runtime 39.0.5", - "sp-weights", - "strum 0.26.3", + "sp-api", + "sp-application-crypto", + "sp-consensus-slots", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-timestamp", ] [[package]] name = "sp-consensus-beefy" -version = "23.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e256e4df174286b738ae83bd7234850c8b3242f0e59b12e26c5561ed917da04" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 35.0.0", - "sp-application-crypto 39.0.0", - "sp-core 35.0.0", - "sp-crypto-hashing", - "sp-io 39.0.0", - "sp-keystore 0.41.0", - "sp-mmr-primitives 35.0.0", - "sp-runtime 40.1.0", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-io", + "sp-keystore", + "sp-mmr-primitives", + "sp-runtime", "sp-weights", "strum 0.26.3", ] [[package]] name = "sp-consensus-grandpa" -version = "21.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "587b791efe6c5f18e09dbbaf1ece0ee7b5fe51602c233e7151a3676b0de0260b" -dependencies = [ - "finality-grandpa", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 34.0.0", - "sp-application-crypto 38.0.0", - "sp-core 34.0.0", - "sp-keystore 0.40.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "sp-consensus-grandpa" -version = "22.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fee1b89de331df0c7b1502d626540d455a058eb86fa49f58cef0364d1a02abda" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "finality-grandpa", "log", "parity-scale-codec", "scale-info", "serde", - "sp-api 35.0.0", - "sp-application-crypto 39.0.0", - "sp-core 35.0.0", - "sp-keystore 0.41.0", - "sp-runtime 40.1.0", -] - -[[package]] -name = "sp-consensus-pow" -version = "0.40.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fa6b7d199a1c16cea1b74ee7cee174bf08f2120ab66a87bee7b12353100b47c" -dependencies = [ - "parity-scale-codec", - "sp-api 34.0.0", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-keystore", + "sp-runtime", ] [[package]] name = "sp-consensus-pow" -version = "0.41.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6e6c87b5b8c2f96eb095b179681f18f0751e89339bdb2ba89e8779198f1f341" -dependencies = [ - "parity-scale-codec", - "sp-api 35.0.0", - "sp-core 35.0.0", - "sp-runtime 40.1.0", -] - -[[package]] -name = "sp-consensus-slots" -version = "0.40.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbafb7ed44f51c22fa277fb39b33dc601fa426133a8e2b53f3f46b10f07fba43" +version = "0.32.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "parity-scale-codec", - "scale-info", - "serde", - "sp-timestamp 34.0.0", + "sp-api", + "sp-core", + "sp-runtime", ] [[package]] name = "sp-consensus-slots" -version = "0.41.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d79170cc0a66b22d29adee140017a16c01257d61b5d713bbe47224eb7c3dd45" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-timestamp 35.0.0", -] - -[[package]] -name = "sp-core" -version = "34.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c961a5e33fb2962fa775c044ceba43df9c6f917e2c35d63bfe23738468fa76a7" +version = "0.32.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "array-bytes", - "bitflags 1.3.2", - "blake2", - "bounded-collections", - "bs58", - "dyn-clonable", - "ed25519-zebra", - "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", - "paste", - "primitive-types 0.12.2", - "rand", "scale-info", - "schnorrkel", - "secp256k1 0.28.2", - "secrecy", "serde", - "sp-crypto-hashing", - "sp-debug-derive", - "sp-externalities 0.29.0", - "sp-runtime-interface 28.0.0", - "sp-std", - "sp-storage 21.0.0", - "ss58-registry", - "substrate-bip39", - "thiserror 1.0.69", - "tracing", - "w3f-bls", - "zeroize", + "sp-timestamp", ] [[package]] name = "sp-core" -version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4532774405a712a366a98080cbb4daa28c38ddff0ec595902ad6ee6a78a809f8" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "array-bytes", + "bandersnatch_vrfs", "bitflags 1.3.2", "blake2", "bounded-collections", @@ -13640,7 +9780,7 @@ dependencies = [ "futures", "hash-db", "hash256-std-hasher", - "impl-serde 0.5.0", + "impl-serde", "itertools 0.11.0", "k256", "libsecp256k1", @@ -13655,14 +9795,14 @@ dependencies = [ "scale-info", "schnorrkel", "secp256k1 0.28.2", - "secrecy", - "serde", - "sp-crypto-hashing", - "sp-debug-derive", - "sp-externalities 0.30.0", - "sp-runtime-interface 29.0.0", - "sp-std", - "sp-storage 22.0.0", + "secrecy 0.8.0", + "serde", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", "ss58-registry", "substrate-bip39", "thiserror 1.0.69", @@ -13673,18 +9813,16 @@ dependencies = [ [[package]] name = "sp-core-hashing" -version = "16.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f812cb2dff962eb378c507612a50f1c59f52d92eb97b710f35be3c2346a3cd7" +version = "15.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "sp-crypto-hashing", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", ] [[package]] name = "sp-crypto-ec-utils" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2acb24f8a607a48a87f0ee4c090fc5d577eee49ff39ced6a3c491e06eca03c37" +version = "0.10.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -13692,20 +9830,19 @@ dependencies = [ "ark-bls12-381-ext", "ark-bw6-761", "ark-bw6-761-ext", - "ark-ec", + "ark-ec 0.4.2", "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", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", ] [[package]] name = "sp-crypto-ec-utils" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4d64a8c21ef31aeea66fee00502268001981d24ea61b1befc424dd61003c426" +version = "0.10.0" +source = "git+https://github.com/paritytech/polkadot-sdk#54deef92f86a16d413f98a6f68418d11c8142a25" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -13713,13 +9850,13 @@ dependencies = [ "ark-bls12-381-ext", "ark-bw6-761", "ark-bw6-761-ext", - "ark-ec", + "ark-ec 0.4.2", "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 29.0.0", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk)", ] [[package]] @@ -13736,136 +9873,98 @@ dependencies = [ "twox-hash", ] +[[package]] +name = "sp-crypto-hashing" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" +dependencies = [ + "blake2b_simd", + "byteorder", + "digest 0.10.7", + "sha2 0.10.8", + "sha3", + "twox-hash", +] + [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b85d0f1f1e44bd8617eb2a48203ee854981229e3e79e6f468c7175d5fd37489b" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "quote", - "sp-crypto-hashing", - "syn 2.0.87", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "syn 2.0.98", ] [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48d09fa0a5f7299fb81ee25ae3853d26200f7a348148aed6de76be905c007dbe" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] -name = "sp-externalities" -version = "0.29.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a904407d61cb94228c71b55a9d3708e9d6558991f9e83bd42bd91df37a159d30" +name = "sp-debug-derive" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk#54deef92f86a16d413f98a6f68418d11c8142a25" dependencies = [ - "environmental", - "parity-scale-codec", - "sp-storage 21.0.0", + "proc-macro2", + "quote", + "syn 2.0.98", ] [[package]] name = "sp-externalities" -version = "0.30.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30cbf059dce180a8bf8b6c8b08b6290fa3d1c7f069a60f1df038ab5dd5fc0ba6" +version = "0.25.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "environmental", "parity-scale-codec", - "sp-storage 22.0.0", -] - -[[package]] -name = "sp-genesis-builder" -version = "0.15.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32a646ed222fd86d5680faa4a8967980eb32f644cae6c8523e1c689a6deda3e8" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde_json", - "sp-api 34.0.0", - "sp-runtime 39.0.5", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", ] [[package]] -name = "sp-genesis-builder" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4bd990146f77cdeff46e2a85b160718de021832a3c805c4a44c81f4ebba7999" +name = "sp-externalities" +version = "0.25.0" +source = "git+https://github.com/paritytech/polkadot-sdk#54deef92f86a16d413f98a6f68418d11c8142a25" dependencies = [ + "environmental", "parity-scale-codec", - "scale-info", - "serde_json", - "sp-api 35.0.0", - "sp-runtime 40.1.0", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk)", ] [[package]] -name = "sp-inherents" -version = "34.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afffbddc380d99a90c459ba1554bbbc01d62e892de9f1485af6940b89c4c0d57" +name = "sp-genesis-builder" +version = "0.8.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "async-trait", - "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", - "thiserror 1.0.69", + "serde_json", + "sp-api", + "sp-runtime", ] [[package]] name = "sp-inherents" -version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "575142ee4947deb9e5b731efbbfd432b1d28fc26f130f4cfdd3660e851907298" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 40.1.0", + "sp-runtime", "thiserror 1.0.69", ] [[package]] name = "sp-io" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59ef7eb561bb4839cc8424ce58c5ea236cbcca83f26fcc0426d8decfe8aa97d4" -dependencies = [ - "bytes", - "docify", - "ed25519-dalek", - "libsecp256k1", - "log", - "parity-scale-codec", - "polkavm-derive 0.9.1", - "rustversion", - "secp256k1 0.28.2", - "sp-core 34.0.0", - "sp-crypto-hashing", - "sp-externalities 0.29.0", - "sp-keystore 0.40.0", - "sp-runtime-interface 28.0.0", - "sp-state-machine 0.43.0", - "sp-tracing", - "sp-trie 37.0.0", - "tracing", - "tracing-core", -] - -[[package]] -name = "sp-io" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86554fd101635b388e41ce83c28754ee30078e6a93480e1310914b4b09a67130" +version = "30.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "bytes", "docify", @@ -13873,72 +9972,46 @@ dependencies = [ "libsecp256k1", "log", "parity-scale-codec", - "polkavm-derive 0.9.1", + "polkavm-derive 0.18.0", "rustversion", "secp256k1 0.28.2", - "sp-core 35.0.0", - "sp-crypto-hashing", - "sp-externalities 0.30.0", - "sp-keystore 0.41.0", - "sp-runtime-interface 29.0.0", - "sp-state-machine 0.44.0", - "sp-tracing", - "sp-trie 38.0.0", + "sp-core", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-keystore", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-state-machine", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-trie", "tracing", "tracing-core", ] [[package]] name = "sp-keyring" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c0e20624277f578b27f44ecfbe2ebc2e908488511ee2c900c5281599f700ab3" -dependencies = [ - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "strum 0.26.3", -] - -[[package]] -name = "sp-keyring" -version = "40.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ca46ebad50bd836bb2ea8951c9436149b5610299ff538087dd7989174d8f831" +version = "31.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "sp-core 35.0.0", - "sp-runtime 40.1.0", + "sp-core", + "sp-runtime", "strum 0.26.3", ] [[package]] name = "sp-keystore" -version = "0.40.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0248b4d784cb4a01472276928977121fa39d977a5bb24793b6b15e64b046df42" -dependencies = [ - "parity-scale-codec", - "parking_lot", - "sp-core 34.0.0", - "sp-externalities 0.29.0", -] - -[[package]] -name = "sp-keystore" -version = "0.41.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1d41475fcdf253f9f0da839564c1b7f8a95c6a293ddfffd6e48e3671e76f33b" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "parity-scale-codec", "parking_lot", - "sp-core 35.0.0", - "sp-externalities 0.30.0", + "sp-core", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", ] [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0c768c11afbe698a090386876911da4236af199cd38a5866748df4d8628aeff" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "thiserror 1.0.69", "zstd 0.12.4", @@ -13946,141 +10019,69 @@ dependencies = [ [[package]] name = "sp-metadata-ir" -version = "0.7.0" -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.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "427be4e8e6a33cb8ffc8c91f8834b9c6f563daf246e8f0da16e9e0db3db55f5a" -dependencies = [ - "frame-metadata 18.0.0", - "parity-scale-codec", - "scale-info", -] - -[[package]] -name = "sp-mixnet" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b0b017dd54823b6e62f9f7171a1df350972e5c6d0bf17e0c2f78680b5c31942" +version = "0.6.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ + "frame-metadata 19.0.0", "parity-scale-codec", "scale-info", - "sp-api 34.0.0", - "sp-application-crypto 38.0.0", ] [[package]] name = "sp-mixnet" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "506bf9fd887c786d0e954543827b126ee78426e9c58e53cc868c65edd1201ff5" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-api 35.0.0", - "sp-application-crypto 39.0.0", -] - -[[package]] -name = "sp-mmr-primitives" -version = "34.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a12dd76e368f1e48144a84b4735218b712f84b3f976970e2f25a29b30440e10" +version = "0.4.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "log", "parity-scale-codec", - "polkadot-ckb-merkle-mountain-range", "scale-info", - "serde", - "sp-api 34.0.0", - "sp-core 34.0.0", - "sp-debug-derive", - "sp-runtime 39.0.5", - "thiserror 1.0.69", + "sp-api", + "sp-application-crypto", ] [[package]] name = "sp-mmr-primitives" -version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1463108fd4527b54802e8cc1310401752aeae2e3b1bf5100a2672bd4e2eae7c" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "log", "parity-scale-codec", "polkadot-ckb-merkle-mountain-range", "scale-info", "serde", - "sp-api 35.0.0", - "sp-core 35.0.0", - "sp-debug-derive", - "sp-runtime 40.1.0", + "sp-api", + "sp-core", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-runtime", "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", - "sp-core 34.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "sp-npos-elections" -version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6df43d267689ec0e10e61eff57543af326f769481215cd43022e791c32ce30a3" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "parity-scale-codec", "scale-info", "serde", "sp-arithmetic", - "sp-core 35.0.0", - "sp-runtime 40.1.0", -] - -[[package]] -name = "sp-offchain" -version = "34.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d9de237d72ecffd07f90826eef18360208b16d8de939d54e61591fac0fcbf99" -dependencies = [ - "sp-api 34.0.0", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", ] [[package]] name = "sp-offchain" -version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c18f168775c2e88cab262fd2c8c002a19eeac2ed804b03bd5b7c7c7b190b7061" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "sp-api 35.0.0", - "sp-core 35.0.0", - "sp-runtime 40.1.0", + "sp-api", + "sp-core", + "sp-runtime", ] [[package]] name = "sp-panic-handler" -version = "13.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81478b3740b357fa0ea10fcdc1ee02ebae7734e50f80342c4743476d9f78eeea" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "backtrace", "regex", @@ -14088,38 +10089,10 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "39.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1e00503b83cf48fffe48746b91b9b832d6785d4e2eeb0941558371eac6baac6" -dependencies = [ - "docify", - "either", - "hash256-std-hasher", - "impl-trait-for-tuples", - "log", - "num-traits", - "parity-scale-codec", - "paste", - "rand", - "scale-info", - "serde", - "simple-mermaid", - "sp-application-crypto 38.0.0", - "sp-arithmetic", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-std", - "sp-weights", - "tracing", -] - -[[package]] -name = "sp-runtime" -version = "40.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d1356c519f12de28847f57638490b298b0bb35d7df032c6b2948c8a9a168abe" +version = "31.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "binary-merkle-tree 16.0.0", + "binary-merkle-tree", "docify", "either", "hash256-std-hasher", @@ -14132,12 +10105,12 @@ dependencies = [ "scale-info", "serde", "simple-mermaid", - "sp-application-crypto 39.0.0", + "sp-application-crypto", "sp-arithmetic", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-std", - "sp-trie 38.0.0", + "sp-core", + "sp-io", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-trie", "sp-weights", "tracing", "tuplex", @@ -14145,156 +10118,99 @@ dependencies = [ [[package]] name = "sp-runtime-interface" -version = "28.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "985eb981f40c689c6a0012c937b68ed58dabb4341d06f2dfe4dfd5ed72fa4017" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", - "polkavm-derive 0.9.1", - "primitive-types 0.12.2", - "sp-externalities 0.29.0", - "sp-runtime-interface-proc-macro", - "sp-std", - "sp-storage 21.0.0", - "sp-tracing", - "sp-wasm-interface", + "polkavm-derive 0.18.0", + "primitive-types 0.13.1", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-runtime-interface-proc-macro 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", "static_assertions", ] [[package]] name = "sp-runtime-interface" -version = "29.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51e83d940449837a8b2a01b4d877dd22d896fd14d3d3ade875787982da994a33" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk#54deef92f86a16d413f98a6f68418d11c8142a25" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", - "polkavm-derive 0.9.1", + "polkavm-derive 0.18.0", "primitive-types 0.13.1", - "sp-externalities 0.30.0", - "sp-runtime-interface-proc-macro", - "sp-std", - "sp-storage 22.0.0", - "sp-tracing", - "sp-wasm-interface", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk)", + "sp-runtime-interface-proc-macro 17.0.0 (git+https://github.com/paritytech/polkadot-sdk)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk)", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk)", "static_assertions", ] [[package]] name = "sp-runtime-interface-proc-macro" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0195f32c628fee3ce1dfbbf2e7e52a30ea85f3589da9fe62a8b816d70fc06294" +version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "Inflector", "expander", "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] -name = "sp-session" -version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00a3a307fedc423fb8cd2a7726a3bbb99014f1b4b52f26153993e2aae3338fe6" +name = "sp-runtime-interface-proc-macro" +version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk#54deef92f86a16d413f98a6f68418d11c8142a25" dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-api 34.0.0", - "sp-core 34.0.0", - "sp-keystore 0.40.0", - "sp-runtime 39.0.5", - "sp-staking 36.0.0", + "Inflector", + "expander", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.98", ] [[package]] name = "sp-session" -version = "37.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c9d8923ce9b19389c4a8d00059a3cf9f5c4014095edf0dec0fe32f6a60e02b5" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-api 35.0.0", - "sp-core 35.0.0", - "sp-keystore 0.41.0", - "sp-runtime 40.1.0", - "sp-staking 37.0.0", -] - -[[package]] -name = "sp-staking" -version = "34.0.0" -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", - "sp-runtime 39.0.5", -] - -[[package]] -name = "sp-staking" -version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a73eedb4b85f4cd420d31764827546aa22f82ce1646d0fd258993d051de7a90" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "serde", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-api", + "sp-core", + "sp-keystore", + "sp-runtime", + "sp-staking", ] [[package]] name = "sp-staking" -version = "37.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e16f953bf2c6702430f3374366b172ab024ee5e9fef5cccf29fa73a29161c2b0" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "serde", - "sp-core 35.0.0", - "sp-runtime 40.1.0", -] - -[[package]] -name = "sp-state-machine" -version = "0.43.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "930104d6ae882626e8880d9b1578da9300655d337a3ffb45e130c608b6c89660" -dependencies = [ - "hash-db", - "log", - "parity-scale-codec", - "parking_lot", - "rand", - "smallvec", - "sp-core 34.0.0", - "sp-externalities 0.29.0", - "sp-panic-handler", - "sp-trie 37.0.0", - "thiserror 1.0.69", - "tracing", - "trie-db", + "sp-core", + "sp-runtime", ] [[package]] name = "sp-state-machine" -version = "0.44.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bce4ee5ee6c614994077e6e317270eab6fde2bc346b028290286cbf9d0011b7e" +version = "0.35.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "hash-db", "log", @@ -14302,10 +10218,10 @@ dependencies = [ "parking_lot", "rand", "smallvec", - "sp-core 35.0.0", - "sp-externalities 0.30.0", + "sp-core", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", "sp-panic-handler", - "sp-trie 38.0.0", + "sp-trie", "thiserror 1.0.69", "tracing", "trie-db", @@ -14313,9 +10229,8 @@ dependencies = [ [[package]] name = "sp-statement-store" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c219bc34ef4d1f9835f3ed881f965643c32034fcc030eb33b759dadbc802c1c2" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "aes-gcm", "curve25519-dalek", @@ -14325,105 +10240,78 @@ dependencies = [ "rand", "scale-info", "sha2 0.10.8", - "sp-api 34.0.0", - "sp-application-crypto 38.0.0", - "sp-core 34.0.0", - "sp-crypto-hashing", - "sp-externalities 0.29.0", - "sp-runtime 39.0.5", - "sp-runtime-interface 28.0.0", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-runtime", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", "thiserror 1.0.69", "x25519-dalek", ] [[package]] -name = "sp-statement-store" -version = "19.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c8959bbd46dca069b4b9cf9880e1534406b2bb9c09ac45b8367652db50f3eda" -dependencies = [ - "aes-gcm", - "curve25519-dalek", - "ed25519-dalek", - "hkdf", - "parity-scale-codec", - "rand", - "scale-info", - "sha2 0.10.8", - "sp-api 35.0.0", - "sp-application-crypto 39.0.0", - "sp-core 35.0.0", - "sp-crypto-hashing", - "sp-externalities 0.30.0", - "sp-runtime 40.1.0", - "sp-runtime-interface 29.0.0", - "thiserror 1.0.69", - "x25519-dalek", -] +name = "sp-std" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" [[package]] name = "sp-std" version = "14.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12f8ee986414b0a9ad741776762f4083cd3a5128449b982a3919c4df36874834" +source = "git+https://github.com/paritytech/polkadot-sdk#54deef92f86a16d413f98a6f68418d11c8142a25" [[package]] name = "sp-storage" -version = "21.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99c82989b3a4979a7e1ad848aad9f5d0b4388f1f454cc131766526601ab9e8f8" +version = "19.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "impl-serde 0.4.0", + "impl-serde", "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", ] [[package]] name = "sp-storage" -version = "22.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee3b70ca340e41cde9d2e069d354508a6e37a6573d66f7cc38f11549002f64ec" +version = "19.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk#54deef92f86a16d413f98a6f68418d11c8142a25" dependencies = [ - "impl-serde 0.5.0", + "impl-serde", "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk)", ] [[package]] name = "sp-timestamp" -version = "34.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72a1cb4df653d62ccc0dbce1db45d1c9443ec60247ee9576962d24da4c9c6f07" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "async-trait", "parity-scale-codec", - "sp-inherents 34.0.0", - "sp-runtime 39.0.5", + "sp-inherents", + "sp-runtime", "thiserror 1.0.69", ] [[package]] -name = "sp-timestamp" -version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "595d392536ab1d212749f1d937692df157a0debf9a8b96a5ff78d38485dd6ac5" +name = "sp-tracing" +version = "16.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "async-trait", "parity-scale-codec", - "sp-inherents 35.0.0", - "sp-runtime 40.1.0", - "thiserror 1.0.69", + "tracing", + "tracing-core", + "tracing-subscriber", ] [[package]] name = "sp-tracing" -version = "17.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf641a1d17268c8fcfdb8e0fa51a79c2d4222f4cfda5f3944dbdbc384dced8d5" +version = "16.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk#54deef92f86a16d413f98a6f68418d11c8142a25" dependencies = [ "parity-scale-codec", "tracing", @@ -14433,85 +10321,33 @@ dependencies = [ [[package]] name = "sp-transaction-pool" -version = "34.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc4bf251059485a7dd38fe4afeda8792983511cc47f342ff4695e2dcae6b5247" -dependencies = [ - "sp-api 34.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "sp-transaction-pool" -version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88a18b6735f4a24245afd32850bac08ba113bb1a228146d5093b4db9baeb2f6a" -dependencies = [ - "sp-api 35.0.0", - "sp-runtime 40.1.0", -] - -[[package]] -name = "sp-transaction-storage-proof" -version = "34.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c765c2e9817d95f13d42a9f2295c60723464669765c6e5acbacebd2f54932f67" -dependencies = [ - "async-trait", - "parity-scale-codec", - "scale-info", - "sp-core 34.0.0", - "sp-inherents 34.0.0", - "sp-runtime 39.0.5", - "sp-trie 37.0.0", -] - -[[package]] -name = "sp-transaction-storage-proof" -version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f7c631a7407335e4c8747efa4023c1b927f6cccfb845f3d9b467779f6c38de5" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "async-trait", - "parity-scale-codec", - "scale-info", - "sp-core 35.0.0", - "sp-inherents 35.0.0", - "sp-runtime 40.1.0", - "sp-trie 38.0.0", + "sp-api", + "sp-runtime", ] [[package]] -name = "sp-trie" -version = "37.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6282aef9f4b6ecd95a67a45bcdb67a71f4a4155c09a53c10add4ffe823db18cd" +name = "sp-transaction-storage-proof" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "ahash 0.8.11", - "hash-db", - "lazy_static", - "memory-db", - "nohash-hasher", + "async-trait", "parity-scale-codec", - "parking_lot", - "rand", "scale-info", - "schnellru", - "sp-core 34.0.0", - "sp-externalities 0.29.0", - "thiserror 1.0.69", - "tracing", - "trie-db", - "trie-root", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-trie", ] [[package]] name = "sp-trie" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1851c4929ae88932c6bcdb9e60f4063e478ca612012af3b6d365c7dc9c591f7f" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "ahash 0.8.11", + "ahash", "hash-db", "memory-db", "nohash-hasher", @@ -14520,8 +10356,8 @@ dependencies = [ "rand", "scale-info", "schnellru", - "sp-core 35.0.0", - "sp-externalities 0.30.0", + "sp-core", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", "thiserror 1.0.69", "tracing", "trie-db", @@ -14530,83 +10366,60 @@ dependencies = [ [[package]] name = "sp-version" -version = "37.0.0" -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", - "sp-runtime 39.0.5", - "sp-std", - "sp-version-proc-macro 14.0.0", - "thiserror 1.0.69", -] - -[[package]] -name = "sp-version" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b7561e88742bc47b2f5fbdcab77a1cd98cf04117a3e163c1aadd58b9a592a18" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "impl-serde 0.5.0", + "impl-serde", "parity-scale-codec", "parity-wasm", "scale-info", "serde", "sp-crypto-hashing-proc-macro", - "sp-runtime 40.1.0", - "sp-std", - "sp-version-proc-macro 15.0.0", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "sp-version-proc-macro", "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" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "parity-scale-codec", + "proc-macro-warning", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] -name = "sp-version-proc-macro" -version = "15.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54cabc8279e835cd9c608d70cb00e693bddec94fe8478e9f3104dad1da5f93ca" +name = "sp-wasm-interface" +version = "20.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ + "anyhow", + "impl-trait-for-tuples", + "log", "parity-scale-codec", - "proc-macro-warning", - "proc-macro2", - "quote", - "syn 2.0.87", + "wasmtime", ] [[package]] name = "sp-wasm-interface" -version = "21.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b066baa6d57951600b14ffe1243f54c47f9c23dd89c262e17ca00ae8dca58be9" +version = "20.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk#54deef92f86a16d413f98a6f68418d11c8142a25" dependencies = [ "anyhow", "impl-trait-for-tuples", "log", "parity-scale-codec", - "wasmtime", ] [[package]] name = "sp-weights" -version = "31.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93cdaf72a1dad537bbb130ba4d47307ebe5170405280ed1aa31fa712718a400e" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -14614,7 +10427,7 @@ dependencies = [ "serde", "smallvec", "sp-arithmetic", - "sp-debug-derive", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", ] [[package]] @@ -14679,159 +10492,77 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-parachain-info" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d28266dfddbfff721d70ad2f873380845b569adfab32f257cf97d9cedd894b68" -dependencies = [ - "cumulus-primitives-core 0.16.0", - "frame-support 38.2.0", - "frame-system 38.0.0", - "parity-scale-codec", - "scale-info", - "sp-runtime 39.0.5", -] - -[[package]] -name = "staging-parachain-info" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae19a552b2010c485e0159060e339e80bcc03e26d9d4e5df70b4a33526f21959" -dependencies = [ - "cumulus-primitives-core 0.17.0", - "frame-support 39.0.0", - "frame-system 39.1.0", - "parity-scale-codec", - "scale-info", - "sp-runtime 40.1.0", -] - -[[package]] -name = "staging-xcm" -version = "14.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96bee7cd999e9cdf10f8db72342070d456e21e82a0f5962ff3b87edbd5f2b20e" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "array-bytes", - "bounded-collections", - "derivative", - "environmental", - "impl-trait-for-tuples", - "log", + "cumulus-primitives-core", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "serde", - "sp-runtime 39.0.5", - "sp-weights", - "xcm-procedural 10.1.0", + "sp-runtime", ] [[package]] name = "staging-xcm" -version = "15.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3061478a487d11bc79a57c752a7021fa591906fd58108cf35925f8ed85c2bd4" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "array-bytes", "bounded-collections", - "derivative", + "derive-where", "environmental", - "frame-support 39.0.0", + "frame-support", "hex-literal", "impl-trait-for-tuples", "log", "parity-scale-codec", "scale-info", "serde", - "sp-runtime 40.1.0", - "sp-weights", - "xcm-procedural 11.0.0", -] - -[[package]] -name = "staging-xcm-builder" -version = "17.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6f7a92cfaec55a5ed0f9cbbb9076aa8ec0aff1ba90b9804cc5c8f2369fde59c" -dependencies = [ - "frame-support 38.2.0", - "frame-system 38.0.0", - "impl-trait-for-tuples", - "log", - "pallet-asset-conversion 20.0.0", - "pallet-transaction-payment 38.0.2", - "parity-scale-codec", - "polkadot-parachain-primitives 14.0.0", - "scale-info", - "sp-arithmetic", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-runtime", "sp-weights", - "staging-xcm 14.2.0", - "staging-xcm-executor 17.0.1", + "xcm-procedural", ] [[package]] name = "staging-xcm-builder" -version = "18.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49c313f08759d0b0185eb2f889b516aa6a694b31c1032e587eedf29fc98e46e0" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", - "pallet-asset-conversion 21.0.0", - "pallet-transaction-payment 39.0.0", - "parity-scale-codec", - "polkadot-parachain-primitives 15.0.0", - "scale-info", - "sp-arithmetic", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-weights", - "staging-xcm 15.0.1", - "staging-xcm-executor 18.0.1", -] - -[[package]] -name = "staging-xcm-executor" -version = "17.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c89045f495097293ce29df1f3f459e9ccc991ff2ee88a4a91e8110a6886d2c8" -dependencies = [ - "environmental", - "frame-benchmarking 38.0.0", - "frame-support 38.2.0", - "impl-trait-for-tuples", + "pallet-asset-conversion", + "pallet-transaction-payment", "parity-scale-codec", + "polkadot-parachain-primitives", "scale-info", "sp-arithmetic", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-io", + "sp-runtime", "sp-weights", - "staging-xcm 14.2.0", - "tracing", + "staging-xcm", + "staging-xcm-executor", ] [[package]] name = "staging-xcm-executor" -version = "18.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc0d0e7f1456b35413a910b3198d72eff2276ecd9d64b51288a0da44e82084d9" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "environmental", - "frame-benchmarking 39.0.0", - "frame-support 39.0.0", + "frame-benchmarking", + "frame-support", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "sp-arithmetic", - "sp-core 35.0.0", - "sp-io 39.0.0", - "sp-runtime 40.1.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-weights", - "staging-xcm 15.0.1", + "staging-xcm", "tracing", ] @@ -14852,12 +10583,6 @@ dependencies = [ "serde", ] -[[package]] -name = "strsim" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" - [[package]] name = "strsim" version = "0.11.1" @@ -14902,14 +10627,13 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] name = "substrate-bip39" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca58ffd742f693dc13d69bdbb2e642ae239e0053f6aab3b104252892f856700a" +version = "0.4.7" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "hmac 0.12.1", "pbkdf2", @@ -14920,30 +10644,8 @@ dependencies = [ [[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", - "strum 0.26.3", - "tempfile", - "toml 0.8.19", - "walkdir", - "wasm-opt", -] - -[[package]] -name = "substrate-wasm-builder" -version = "25.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfebe406eca8d18abd10bb29d7c6af2d656fa60b5d4a8033afd80b97795b9efb" +version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "build-helper", "cargo_metadata", @@ -14951,7 +10653,7 @@ dependencies = [ "filetime", "jobserver", "parity-wasm", - "polkavm-linker 0.9.2", + "polkavm-linker 0.18.0", "shlex", "sp-maybe-compressed-blob", "strum 0.26.3", @@ -14969,9 +10671,9 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "subxt" -version = "0.39.0" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "797dd0ed45245ea027fc6a2afadcf4c03027aa7bcb06dc7043e75a060d7ce180" +checksum = "4ffca95192207f6dbaf68a032f7915cfc8670f062df0464bdddf05d35a09bcf8" dependencies = [ "async-trait", "derive-where", @@ -14979,10 +10681,9 @@ dependencies = [ "frame-metadata 18.0.0", "futures", "hex", - "impl-serde 0.5.0", + "impl-serde", "jsonrpsee", "parity-scale-codec", - "polkadot-sdk 0.7.0", "primitive-types 0.13.1", "scale-bits 0.7.0", "scale-decode 0.16.0", @@ -14991,10 +10692,11 @@ dependencies = [ "scale-value 0.18.0", "serde", "serde_json", - "subxt-core 0.39.0", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "subxt-core 0.40.0", "subxt-lightclient", "subxt-macro", - "subxt-metadata 0.39.0", + "subxt-metadata 0.40.0", "thiserror 2.0.12", "tokio", "tokio-util", @@ -15006,9 +10708,9 @@ dependencies = [ [[package]] name = "subxt-codegen" -version = "0.39.0" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b622b426e571fdd86b08ad0bec4ef0e323d937bb56ff5edcfaf4716f50384ca" +checksum = "5de8786ebc4be0905fac861c8ce1845e677a96b8ddb209e5c3e0e1f6b804d62f" dependencies = [ "heck 0.5.0", "parity-scale-codec", @@ -15016,55 +10718,56 @@ dependencies = [ "quote", "scale-info", "scale-typegen", - "subxt-metadata 0.39.0", - "syn 2.0.87", + "subxt-metadata 0.40.0", + "syn 2.0.98", "thiserror 2.0.12", ] [[package]] name = "subxt-core" -version = "0.37.1" +version = "0.38.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3af3b36405538a36b424d229dc908d1396ceb0994c90825ce928709eac1a159a" +checksum = "cb7a1bc6c9c1724971636a66e3225a7253cdb35bb6efb81524a6c71c04f08c59" dependencies = [ "base58", "blake2", "derive-where", - "frame-metadata 16.0.0", + "frame-decode 0.5.1", + "frame-metadata 17.0.0", "hashbrown 0.14.5", "hex", - "impl-serde 0.4.0", + "impl-serde", + "keccak-hash", "parity-scale-codec", - "primitive-types 0.12.2", + "polkadot-sdk 0.7.0", + "primitive-types 0.13.1", "scale-bits 0.6.0", - "scale-decode 0.13.1", - "scale-encode 0.7.2", + "scale-decode 0.14.0", + "scale-encode 0.8.0", "scale-info", - "scale-value 0.16.3", + "scale-value 0.17.0", "serde", "serde_json", - "sp-crypto-hashing", - "subxt-metadata 0.37.0", + "subxt-metadata 0.38.1", "tracing", ] [[package]] name = "subxt-core" -version = "0.39.0" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e7617b6c7ed846d3f69c0eafb11884730c9161217c82e1edc370e3872c2e5cf" +checksum = "daa812fea5d2a104d3253aa722daa51f222cf951304f4d47eda70c268bf99921" dependencies = [ "base58", "blake2", "derive-where", - "frame-decode", + "frame-decode 0.6.1", "frame-metadata 18.0.0", "hashbrown 0.14.5", "hex", - "impl-serde 0.5.0", - "keccak-hash 0.11.0", + "impl-serde", + "keccak-hash", "parity-scale-codec", - "polkadot-sdk 0.7.0", "primitive-types 0.13.1", "scale-bits 0.7.0", "scale-decode 0.16.0", @@ -15073,16 +10776,17 @@ dependencies = [ "scale-value 0.18.0", "serde", "serde_json", - "subxt-metadata 0.39.0", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "subxt-metadata 0.40.0", "thiserror 2.0.12", "tracing", ] [[package]] name = "subxt-lightclient" -version = "0.39.0" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcf5e44c8eb70f4f95e7017df85bc626356c633384b2615900ee09825ee79ef1" +checksum = "dcbf1a87957918fcfde2cc2150d792c752acb933f0f83262a8b42d96b8dfcc52" dependencies = [ "futures", "futures-util", @@ -15097,77 +10801,83 @@ dependencies = [ [[package]] name = "subxt-macro" -version = "0.39.0" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a12ac44222225bf0eb96a32d663d00fac8d2917f4873e4f6b5d00cdd1f5b6e7b" +checksum = "c0a120bac6a4a07d477e736f42a388eebef47a277d2a76c8cddcf90e71ee4aa2" dependencies = [ - "darling 0.20.10", + "darling", "parity-scale-codec", "proc-macro-error2", "quote", "scale-typegen", "subxt-codegen", "subxt-utils-fetchmetadata", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] name = "subxt-metadata" -version = "0.37.0" +version = "0.38.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "738be5890fdeff899bbffff4d9c0f244fe2a952fb861301b937e3aa40ebb55da" +checksum = "aacd4e7484fef58deaa2dcb32d94753a864b208a668c0dd0c28be1d8abeeadb2" dependencies = [ - "frame-metadata 16.0.0", + "frame-decode 0.5.1", + "frame-metadata 17.0.0", "hashbrown 0.14.5", "parity-scale-codec", + "polkadot-sdk 0.7.0", "scale-info", - "sp-crypto-hashing", ] [[package]] name = "subxt-metadata" -version = "0.39.0" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "330f692b6e2c590265d222be717e9f88c017ee4b2ddb50907f31fffdf26072a5" +checksum = "8fcee71f170e496294434c7c8646befc05e9a3a27a771712b4f3008d0c4d0ee7" dependencies = [ - "frame-decode", + "frame-decode 0.6.1", "frame-metadata 18.0.0", "hashbrown 0.14.5", "parity-scale-codec", - "polkadot-sdk 0.7.0", "scale-info", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "thiserror 2.0.12", ] [[package]] name = "subxt-signer" -version = "0.37.0" +version = "0.38.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f49888ae6ae90fe01b471193528eea5bd4ed52d8eecd2d13f4a2333b87388850" +checksum = "d680352d04665b1e4eb6f9d2a54b800c4d8e1b20478e69be1b7d975b08d9fc34" dependencies = [ + "base64 0.22.1", "bip32", "bip39", "cfg-if", + "crypto_secretbox", "hex", "hmac 0.12.1", - "keccak-hash 0.10.0", + "keccak-hash", "parity-scale-codec", "pbkdf2", + "polkadot-sdk 0.7.0", "regex", "schnorrkel", - "secp256k1 0.28.2", - "secrecy", + "scrypt", + "secp256k1 0.30.0", + "secrecy 0.10.3", + "serde", + "serde_json", "sha2 0.10.8", - "sp-crypto-hashing", - "subxt-core 0.37.1", + "subxt-core 0.38.1", "zeroize", ] [[package]] name = "subxt-utils-fetchmetadata" -version = "0.39.0" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "526a07767a8f16a9471dda6e3d41c23f9656b302e9cdefdcd7d5a74830284a5d" +checksum = "721556230144393c58ff3dd2660f734cc792fe19167823b957d6858b15e12362" dependencies = [ "hex", "parity-scale-codec", @@ -15187,9 +10897,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.87" +version = "2.0.98" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d" +checksum = "36147f1a48ae0ec2b5b3bc5b537d267457555a10dc06f3dbc8cb11ba3006d3b1" dependencies = [ "proc-macro2", "quote", @@ -15198,26 +10908,14 @@ dependencies = [ [[package]] name = "syn-solidity" -version = "0.4.2" +version = "0.8.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86b837ef12ab88835251726eb12237655e61ec8dc8a280085d1961cdc3dfd047" +checksum = "9c2de690018098e367beeb793991c7d4dc7270f42c9d2ac4ccc876c1368ca430" dependencies = [ "paste", "proc-macro2", "quote", - "syn 2.0.87", -] - -[[package]] -name = "synstructure" -version = "0.12.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", - "unicode-xid", + "syn 2.0.98", ] [[package]] @@ -15262,34 +10960,17 @@ 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", - "frame-support 38.2.0", - "polkadot-core-primitives 15.0.0", - "rococo-runtime-constants 17.0.0", - "smallvec", - "sp-runtime 39.0.5", - "staging-xcm 14.2.0", - "westend-runtime-constants 17.0.0", -] - -[[package]] -name = "testnet-parachains-constants" -version = "11.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8822afbba95f3794c7d6c737238eb37f9d75231da1214ec97125aac89e5fd50d" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "cumulus-primitives-core 0.17.0", - "frame-support 39.0.0", - "polkadot-core-primitives 16.0.0", - "rococo-runtime-constants 18.0.0", + "cumulus-primitives-core", + "frame-support", + "polkadot-core-primitives", + "rococo-runtime-constants", "smallvec", - "sp-runtime 40.1.0", - "staging-xcm 15.0.1", - "westend-runtime-constants 18.0.0", + "sp-runtime", + "staging-xcm", + "westend-runtime-constants", ] [[package]] @@ -15318,7 +10999,7 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -15329,7 +11010,7 @@ checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -15422,7 +11103,7 @@ checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -15445,7 +11126,6 @@ dependencies = [ "futures-core", "pin-project-lite", "tokio", - "tokio-util", ] [[package]] @@ -15502,30 +11182,9 @@ dependencies = [ "serde", "serde_spanned", "toml_datetime", - "winnow", -] - -[[package]] -name = "tower" -version = "0.4.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" -dependencies = [ - "futures-core", - "futures-util", - "pin-project", - "pin-project-lite", - "tower-layer", - "tower-service", - "tracing", + "winnow 0.6.18", ] -[[package]] -name = "tower-layer" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" - [[package]] name = "tower-service" version = "0.3.3" @@ -15552,7 +11211,7 @@ checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -15774,10 +11433,10 @@ checksum = "9c5da5fa2c6afa2c9158eaa7cd9aee249765eb32b5fb0c63ad8b9e79336a47ec" dependencies = [ "ark-bls12-377", "ark-bls12-381", - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-serialize 0.4.2", - "ark-serialize-derive", + "ark-serialize-derive 0.4.2", "arrayref", "constcat", "digest 0.10.7", @@ -15846,7 +11505,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", "wasm-bindgen-shared", ] @@ -15880,7 +11539,7 @@ checksum = "26c6ab57572f7a24a4985830b120de1594465e5d500f24afe89e16b4e833ef68" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -15963,7 +11622,7 @@ version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c128c039340ffd50d4195c3f8ce31aac357f06804cfc494c8b9508d4b30dca4" dependencies = [ - "ahash 0.8.11", + "ahash", "hashbrown 0.14.5", "string-interner", ] @@ -16225,36 +11884,18 @@ dependencies = [ [[package]] name = "westend-runtime-constants" -version = "17.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06861bf945aadac59f4be23b44c85573029520ea9bd3d6c9ab21c8b306e81cdc" -dependencies = [ - "frame-support 38.2.0", - "polkadot-primitives 16.0.0", - "polkadot-runtime-common 17.0.0", - "smallvec", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-weights", - "staging-xcm 14.2.0", - "staging-xcm-builder 17.0.3", -] - -[[package]] -name = "westend-runtime-constants" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18300e1826f83ec2c550000b10af6b657de4ba640f256e5064239470fa437cf9" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 39.0.0", - "polkadot-primitives 17.0.0", - "polkadot-runtime-common 18.0.0", + "frame-support", + "polkadot-primitives", + "polkadot-runtime-common", "smallvec", - "sp-core 35.0.0", - "sp-runtime 40.1.0", + "sp-core", + "sp-runtime", "sp-weights", - "staging-xcm 15.0.1", - "staging-xcm-builder 18.0.1", + "staging-xcm", + "staging-xcm-builder", ] [[package]] @@ -16521,6 +12162,15 @@ dependencies = [ "memchr", ] +[[package]] +name = "winnow" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59690dea168f2198d1a3b0cac23b8063efcd11012f10ae4698f284808c8ef603" +dependencies = [ + "memchr", +] + [[package]] name = "wyz" version = "0.5.1" @@ -16544,102 +12194,49 @@ dependencies = [ [[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.87", -] - -[[package]] -name = "xcm-procedural" -version = "11.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3befe97ebba165a058892fc7fc8327c79e61b853fa7957f606f1b48084dba939" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.87", -] - -[[package]] -name = "xcm-runtime-apis" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f3d96bd7362d9e6884ef6762f08737d89205a358d059a0451353f3e91985ca5" -dependencies = [ - "frame-support 38.2.0", - "parity-scale-codec", - "scale-info", - "sp-api 34.0.0", - "sp-weights", - "staging-xcm 14.2.0", - "staging-xcm-executor 17.0.1", + "syn 2.0.98", ] [[package]] name = "xcm-runtime-apis" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e27196c596b9175eb068f7e34da0be09e26806ae69cb8cbc837f26dff494ef1e" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 39.0.0", + "frame-support", "parity-scale-codec", "scale-info", - "sp-api 35.0.0", + "sp-api", "sp-weights", - "staging-xcm 15.0.1", - "staging-xcm-executor 18.0.1", -] - -[[package]] -name = "xcm-simulator" -version = "17.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "058e21bfc3e1180bbd83cad3690d0e63f34f43ab309e338afe988160aa776fcf" -dependencies = [ - "frame-support 38.2.0", - "frame-system 38.0.0", - "parity-scale-codec", - "paste", - "polkadot-core-primitives 15.0.0", - "polkadot-parachain-primitives 14.0.0", - "polkadot-primitives 16.0.0", - "polkadot-runtime-parachains 17.0.2", - "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std", - "staging-xcm 14.2.0", - "staging-xcm-builder 17.0.3", - "staging-xcm-executor 17.0.1", + "staging-xcm", + "staging-xcm-executor", ] [[package]] name = "xcm-simulator" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36d95b40a6899a9902628a1ed978c8dd81c9f09ee2aa6e15b7adc79d901f585e" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend#d5535ec5f79d3db7109eac9645858258ca96ca87" dependencies = [ - "frame-support 39.0.0", - "frame-system 39.1.0", + "frame-support", + "frame-system", "parity-scale-codec", "paste", - "polkadot-core-primitives 16.0.0", - "polkadot-parachain-primitives 15.0.0", - "polkadot-primitives 17.0.0", - "polkadot-runtime-parachains 18.0.1", + "polkadot-core-primitives", + "polkadot-parachain-primitives", + "polkadot-primitives", + "polkadot-runtime-parachains", "scale-info", - "sp-io 39.0.0", - "sp-runtime 40.1.0", - "sp-std", - "staging-xcm 15.0.1", - "staging-xcm-builder 18.0.1", - "staging-xcm-executor 18.0.1", + "sp-io", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=na-ah-next-westend)", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", ] [[package]] @@ -16666,7 +12263,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] @@ -16686,7 +12283,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.98", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index b25f1276a..5165f3e30 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,6 +8,7 @@ license = "GPL-3.0" repository = "https://github.com/paritytech/polkadot-staking-miner" homepage = "https://www.parity.io/" description = "A tool to submit NPoS election solutions for substrate based chains" +resolver = "2" [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0" } @@ -25,10 +26,11 @@ pin-project-lite = "0.2" # subxt scale-value = "0.18" -subxt = "0.39.0" +subxt = "0.40.0" +subxt-core = "0.40.0" # polkadot-sdk -polkadot-sdk = { version = "0.12", features = ["frame-election-provider-support", "frame-support", "sp-npos-elections", "sp-core", "sp-runtime", "pallet-election-provider-multi-phase"] } +polkadot-sdk = { git = "https://github.com/paritytech/polkadot-sdk", features = ["frame-election-provider-support", "frame-support", "sp-npos-elections", "sp-core", "sp-runtime", "pallet-election-provider-multi-phase", "pallet-election-provider-multi-block"], branch = "na-ah-next-westend" } # prometheus prometheus = "0.13" @@ -39,3 +41,8 @@ once_cell = "1.20" anyhow = "1" assert_cmd = "2.0" regex = "1" + + +[package.metadata.docs.rs] +default-features = true +rustdoc-args = ["--cfg", "docsrs"] \ No newline at end of file diff --git a/README.md b/README.md index bf111d4bf..c612d9997 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,14 @@ Remote_node: Compatible: YES ``` +### Experimental monitor multi-block + +This command is similar to the stable `monitor command` but targets the new pallet `pallet-election-provider-multi-block` which is currently only supported on asset-hub-next. + +```bash +polkadot-staking-miner --uri ws://127.0.0.1:9966 experimental-monitor-multi-block --seed-or-path //Alice +``` + ### Prepare your SEED While you could pass your seed directly to the cli or Docker, this is highly **NOT** recommended. Instead, you should use an ENV variable. diff --git a/artifacts/multi_block.scale b/artifacts/multi_block.scale new file mode 100644 index 000000000..8f3f09da5 Binary files /dev/null and b/artifacts/multi_block.scale differ diff --git a/src/client.rs b/src/client.rs index 4bf90d3f5..bf2cc6dea 100644 --- a/src/client.rs +++ b/src/client.rs @@ -1,4 +1,4 @@ -use crate::prelude::*; +use crate::prelude::{ChainClient, RpcClient, LOG_TARGET}; use jsonrpsee::ws_client::WsClientBuilder; use subxt::backend::rpc::RpcClient as RawRpcClient; diff --git a/src/commands/dry_run.rs b/src/commands/legacy/dry_run.rs similarity index 65% rename from src/commands/dry_run.rs rename to src/commands/legacy/dry_run.rs index e9a3b06e1..263868c27 100644 --- a/src/commands/dry_run.rs +++ b/src/commands/legacy/dry_run.rs @@ -16,47 +16,19 @@ //! The dry-run command. -use polkadot_sdk::pallet_election_provider_multi_phase::RawSolution; -use subxt::config::DefaultExtrinsicParamsBuilder; - use crate::{ - client::Client, epm, error::Error, helpers::storage_at, opt::Solver, prelude::*, - signer::Signer, static_types, + client::Client, + commands::types::DryRunConfig, + dynamic::legacy as dynamic, + error::Error, + prelude::{AccountId, ExtrinsicParamsBuilder, LOG_TARGET}, + runtime::legacy as runtime, + signer::Signer, + static_types::legacy as static_types, + utils::storage_at, }; -use clap::Parser; use codec::Encode; - -#[derive(Debug, Clone, Parser)] -#[cfg_attr(test, derive(PartialEq))] -pub struct DryRunConfig { - /// The block hash at which scraping happens. If none is provided, the latest head is used. - #[clap(long)] - pub at: Option, - - /// The solver algorithm to use. - #[clap(subcommand)] - pub solver: Solver, - - /// Force create a new snapshot, else expect one to exist onchain. - #[clap(long)] - pub force_snapshot: bool, - - /// The number of winners to take, instead of the `desired_targets` in snapshot. - // Doing this would cause the dry-run to typically fail, but that's fine, the program should - // still print out some score, and that should be it. - #[clap(long)] - pub force_winner_count: Option, - - /// The path to a file containing the seed of the account. If the file is not found, the seed is - /// used as-is. If this is not provided, we won't attempt to submit anything. - /// - /// Can also be provided via the `SEED` environment variable. - /// - /// WARNING: Don't use an account with a large stash for this. Based on how the bot is - /// configured, it might re-try and lose funds through transaction fees/deposits. - #[clap(long, short, env = "SEED")] - pub seed_or_path: Option, -} +use polkadot_sdk::pallet_election_provider_multi_phase::{MinerConfig, RawSolution}; pub async fn dry_run_cmd(client: Client, config: DryRunConfig) -> Result<(), Error> where @@ -71,7 +43,7 @@ where .fetch_or_default(&runtime::storage().election_provider_multi_phase().round()) .await?; - let miner_solution = epm::fetch_snapshot_and_mine_solution::( + let miner_solution = dynamic::fetch_snapshot_and_mine_solution::( client.chain_api(), config.at, config.solver, @@ -122,8 +94,8 @@ where .rpc() .system_account_next_index(signer.account_id()) .await?; - let tx = epm::signed_solution(raw_solution)?; - let params = DefaultExtrinsicParamsBuilder::new().nonce(nonce).build(); + let tx = dynamic::signed_solution(raw_solution)?; + let params = ExtrinsicParamsBuilder::new().nonce(nonce).build(); let xt = client .chain_api() .tx() diff --git a/src/commands/emergency_solution.rs b/src/commands/legacy/emergency_solution.rs similarity index 76% rename from src/commands/emergency_solution.rs rename to src/commands/legacy/emergency_solution.rs index 7f64131f8..8f55a1462 100644 --- a/src/commands/emergency_solution.rs +++ b/src/commands/legacy/emergency_solution.rs @@ -17,29 +17,23 @@ //! The emergency-solution command. use crate::{ - client::Client, epm, error::Error, helpers::storage_at, opt::Solver, prelude::*, static_types, + client::Client, + commands::types::EmergencySolutionConfig, + dynamic::legacy as dynamic, + error::Error, + prelude::{AccountId, LOG_TARGET}, + runtime::legacy as runtime, + static_types::legacy as static_types, + utils::storage_at, }; -use clap::Parser; use codec::Encode; -use polkadot_sdk::sp_core::hexdisplay::HexDisplay; +use polkadot_sdk::{ + pallet_election_provider_multi_phase::MinerConfig, sp_core::hexdisplay::HexDisplay, + sp_npos_elections::Supports, +}; use std::io::Write; use subxt::tx::Payload; -#[derive(Debug, Clone, Parser)] -#[cfg_attr(test, derive(PartialEq))] -pub struct EmergencySolutionConfig { - /// The block hash at which scraping happens. If none is provided, the latest head is used. - #[clap(long)] - pub at: Option, - - /// The solver algorithm to use. - #[clap(subcommand)] - pub solver: Solver, - - /// The number of top backed winners to take instead. All are taken, if not provided. - pub force_winner_count: Option, -} - pub async fn emergency_solution_cmd( client: Client, config: EmergencySolutionConfig, @@ -60,8 +54,7 @@ where let round = storage .fetch_or_default(&runtime::storage().election_provider_multi_phase().round()) .await?; - - let miner_solution = epm::fetch_snapshot_and_mine_solution::( + let solution = dynamic::fetch_snapshot_and_mine_solution::( client.chain_api(), config.at, config.solver, @@ -70,12 +63,12 @@ where ) .await?; - let ready_solution = miner_solution.feasibility_check()?; + let ready_solution = solution.feasibility_check()?; let encoded_size = ready_solution.encoded_size(); let score = ready_solution.score; - let mut supports: Vec<_> = ready_solution.supports.into_inner(); + let mut supports: Supports<_> = ready_solution.supports.into(); - // maybe truncate. + // Truncate if necessary. if let Some(force_winner_count) = config.force_winner_count { log::info!( target: LOG_TARGET, @@ -87,7 +80,7 @@ where supports.truncate(force_winner_count as usize); } - let call = epm::set_emergency_result(supports.clone())?; + let call = dynamic::set_emergency_result(supports.clone())?; let encoded_call = call .encode_call_data(&client.chain_api().metadata()) .map_err(|e| Error::Subxt(e.into()))?; diff --git a/src/commands/legacy/mod.rs b/src/commands/legacy/mod.rs new file mode 100644 index 000000000..513d84cc4 --- /dev/null +++ b/src/commands/legacy/mod.rs @@ -0,0 +1,7 @@ +mod dry_run; +mod emergency_solution; +mod monitor; + +pub use dry_run::*; +pub use emergency_solution::*; +pub use monitor::*; diff --git a/src/commands/monitor.rs b/src/commands/legacy/monitor.rs similarity index 57% rename from src/commands/monitor.rs rename to src/commands/legacy/monitor.rs index c17f269a6..63b116d82 100644 --- a/src/commands/monitor.rs +++ b/src/commands/legacy/monitor.rs @@ -16,156 +16,36 @@ use crate::{ client::Client, - epm, + commands::types::{Listen, MonitorConfig, SubmissionStrategy}, + dynamic::legacy as dynamic, error::Error, - helpers::{kill_main_task_if_critical_err, TimedFuture}, - opt::Solver, - prelude::*, + prelude::{ + AccountId, ChainClient, ExtrinsicParamsBuilder, Hash, Header, RpcClient, LOG_TARGET, + }, prometheus, + runtime::legacy as runtime, signer::Signer, - static_types, + static_types::legacy as static_types, + utils::{ + kill_main_task_if_critical_err, rpc_block_subscription, score_passes_strategy, + wait_for_in_block, TimedFuture, + }, }; -use clap::Parser; use codec::{Decode, Encode}; use futures::future::TryFutureExt; use jsonrpsee::core::ClientError as JsonRpseeError; use polkadot_sdk::{ frame_election_provider_support::NposSolution, - pallet_election_provider_multi_phase::{RawSolution, SolutionOf}, + pallet_election_provider_multi_phase::{MinerConfig, RawSolution, SolutionOf}, sp_npos_elections, - sp_runtime::Perbill, }; -use std::{str::FromStr, sync::Arc}; +use std::sync::Arc; use subxt::{ - backend::{legacy::rpc_methods::DryRunResult, rpc::RpcSubscription}, - config::{DefaultExtrinsicParamsBuilder, Header as _}, - error::RpcError, - tx::{TxInBlock, TxProgress}, + backend::legacy::rpc_methods::DryRunResult, config::Header as _, error::RpcError, Error as SubxtError, }; use tokio::sync::Mutex; -#[derive(Debug, Clone, Parser)] -#[cfg_attr(test, derive(PartialEq))] -pub struct MonitorConfig { - /// They type of event to listen to. - /// - /// Typically, finalized is safer and there is no chance of anything going wrong, but it can be - /// slower. It is recommended to use finalized, if the duration of the signed phase is longer - /// than the the finality delay. - #[clap(long, value_enum, default_value_t = Listen::Finalized)] - pub listen: Listen, - - /// The solver algorithm to use. - #[clap(subcommand)] - pub solver: Solver, - - /// Submission strategy to use. - /// - /// Possible options: - /// - /// `--submission-strategy if-leading`: only submit if leading. - /// - /// `--submission-strategy always`: always submit. - /// - /// `--submission-strategy "percent-better "`: submit if the submission is `n` percent better. - /// - /// `--submission-strategy "no-worse-than "`: submit if submission is no more than `n` percent worse. - #[clap(long, value_parser, default_value = "if-leading")] - pub submission_strategy: SubmissionStrategy, - - /// The path to a file containing the seed of the account. If the file is not found, the seed is - /// used as-is. - /// - /// Can also be provided via the `SEED` environment variable. - /// - /// WARNING: Don't use an account with a large stash for this. Based on how the bot is - /// configured, it might re-try and lose funds through transaction fees/deposits. - #[clap(long, short, env = "SEED")] - pub seed_or_path: String, - - /// Delay in number seconds to wait until starting mining a solution. - /// - /// At every block when a solution is attempted - /// a delay can be enforced to avoid submitting at - /// "same time" and risk potential races with other miners. - /// - /// When this is enabled and there are competing solutions, your solution might not be submitted - /// if the scores are equal. - #[clap(long, default_value_t = 0)] - pub delay: usize, - - /// Verify the submission by `dry-run` the extrinsic to check the validity. - /// If the extrinsic is invalid then the submission is ignored and the next block will attempted again. - /// - /// This requires a RPC endpoint that exposes unsafe RPC methods, if the RPC endpoint doesn't expose unsafe RPC methods - /// then the miner will be terminated. - #[clap(long)] - pub dry_run: bool, -} - -/// The type of event to listen to. -/// -/// -/// Typically, finalized is safer and there is no chance of anything going wrong, but it can be -/// slower. It is recommended to use finalized, if the duration of the signed phase is longer -/// than the the finality delay. -#[cfg_attr(test, derive(PartialEq))] -#[derive(clap::ValueEnum, Debug, Copy, Clone)] -pub enum Listen { - /// Latest finalized head of the canonical chain. - Finalized, - /// Latest head of the canonical chain. - Head, -} - -/// Submission strategy to use. -#[derive(Debug, Copy, Clone)] -#[cfg_attr(test, derive(PartialEq))] -pub enum SubmissionStrategy { - /// Always submit. - Always, - // Submit if we are leading, or if the solution that's leading is more that the given `Perbill` - // better than us. This helps detect obviously fake solutions and still combat them. - /// Only submit if at the time, we are the best (or equal to it). - IfLeading, - /// Submit if we are no worse than `Perbill` worse than the best. - ClaimNoWorseThan(Perbill), - /// Submit if we are leading, or if the solution that's leading is more that the given `Perbill` - /// better than us. This helps detect obviously fake solutions and still combat them. - ClaimBetterThan(Perbill), -} - -/// Custom `impl` to parse `SubmissionStrategy` from CLI. -/// -/// Possible options: -/// * --submission-strategy if-leading: only submit if leading -/// * --submission-strategy always: always submit -/// * --submission-strategy "percent-better ": submit if submission is `n` percent better. -/// -impl FromStr for SubmissionStrategy { - type Err = String; - - fn from_str(s: &str) -> Result { - let s = s.trim(); - - let res = if s == "if-leading" { - Self::IfLeading - } else if s == "always" { - Self::Always - } else if let Some(percent) = s.strip_prefix("no-worse-than ") { - let percent: u32 = percent.parse().map_err(|e| format!("{:?}", e))?; - Self::ClaimNoWorseThan(Perbill::from_percent(percent)) - } else if let Some(percent) = s.strip_prefix("percent-better ") { - let percent: u32 = percent.parse().map_err(|e| format!("{:?}", e))?; - Self::ClaimBetterThan(Perbill::from_percent(percent)) - } else { - return Err(s.into()); - }; - Ok(res) - } -} - pub async fn monitor_cmd(client: Client, config: MonitorConfig) -> Result<(), Error> where T: MinerConfig @@ -201,7 +81,7 @@ where dry_run_works(client.rpc()).await?; } - let mut subscription = heads_subscription(client.rpc(), config.listen).await?; + let mut subscription = rpc_block_subscription(client.rpc(), config.listen).await?; let (tx, mut rx) = tokio::sync::mpsc::unbounded_channel::(); let submit_lock = Arc::new(Mutex::new(())); @@ -219,7 +99,7 @@ where // - the subscription could not keep up with the server. None => { log::warn!(target: LOG_TARGET, "subscription to `{:?}` terminated. Retrying..", config.listen); - subscription = heads_subscription(client.rpc(), config.listen).await?; + subscription = rpc_block_subscription(client.rpc(), config.listen).await?; continue } } @@ -328,7 +208,7 @@ where tokio::time::sleep(std::time::Duration::from_secs(config.delay as u64)).await; let _lock = submit_lock.lock().await; - let (solution, score) = match epm::fetch_snapshot_and_mine_solution::( + let (solution, score) = match dynamic::fetch_snapshot_and_mine_solution::( client.chain_api(), Some(block_hash), config.solver, @@ -493,7 +373,7 @@ where let indices = api.storage().at(block_hash).fetch_or_default(&addr).await?; for (_score, _, idx) in indices.0 { - let submission = epm::signed_submission_at::(idx, Some(block_hash), api).await?; + let submission = dynamic::signed_submission_at::(idx, Some(block_hash), api).await?; if let Some(submission) = submission { if &submission.who == us { @@ -541,7 +421,7 @@ async fn submit_and_watch_solution( dry_run: bool, at: &Header, ) -> Result<(), Error> { - let tx = epm::signed_solution(RawSolution { + let tx = dynamic::signed_solution(RawSolution { solution, score, round, @@ -558,14 +438,12 @@ async fn submit_and_watch_solution( .constants() .at(&runtime::constants().babe().epoch_duration()) { - DefaultExtrinsicParamsBuilder::default() + ExtrinsicParamsBuilder::default() .nonce(nonce) .mortal(at, len) .build() } else { - DefaultExtrinsicParamsBuilder::default() - .nonce(nonce) - .build() + ExtrinsicParamsBuilder::default().nonce(nonce).build() }; let xt = client @@ -636,17 +514,6 @@ async fn submit_and_watch_solution( Ok(()) } -async fn heads_subscription( - rpc: &RpcClient, - listen: Listen, -) -> Result, Error> { - match listen { - Listen::Head => rpc.chain_subscribe_new_heads().await, - Listen::Finalized => rpc.chain_subscribe_finalized_heads().await, - } - .map_err(Into::into) -} - async fn get_latest_head(rpc: &RpcClient, listen: Listen) -> Result { match listen { Listen::Head => match rpc.chain_get_block_hash(None).await { @@ -658,26 +525,6 @@ async fn get_latest_head(rpc: &RpcClient, listen: Listen) -> Result } } -/// Returns `true` if `our_score` better the onchain `best_score` according the given strategy. -pub(crate) fn score_passes_strategy( - our_score: sp_npos_elections::ElectionScore, - best_score: sp_npos_elections::ElectionScore, - strategy: SubmissionStrategy, -) -> bool { - match strategy { - SubmissionStrategy::Always => true, - SubmissionStrategy::IfLeading => { - our_score.strict_threshold_better(best_score, Perbill::zero()) - } - SubmissionStrategy::ClaimBetterThan(epsilon) => { - our_score.strict_threshold_better(best_score, epsilon) - } - SubmissionStrategy::ClaimNoWorseThan(epsilon) => { - !best_score.strict_threshold_better(our_score, epsilon) - } - } -} - async fn dry_run_works(rpc: &RpcClient) -> Result<(), Error> { if let Err(SubxtError::Rpc(RpcError::ClientError(e))) = rpc.dry_run(&[], None).await { let rpc_err = match e.downcast::() { @@ -701,191 +548,3 @@ async fn dry_run_works(rpc: &RpcClient) -> Result<(), Error> { } Ok(()) } - -/// Wait for the transaction to be in a block. -/// -/// **Note:** transaction statuses like `Invalid`/`Usurped`/`Dropped` indicate with some -/// probability that the transaction will not make it into a block but there is no guarantee -/// that this is true. In those cases the stream is closed however, so you currently have no way to find -/// out if they finally made it into a block or not. -async fn wait_for_in_block(mut tx: TxProgress) -> Result, subxt::Error> -where - T: subxt::Config, - C: subxt::client::OnlineClientT, -{ - use subxt::{error::TransactionError, tx::TxStatus}; - - while let Some(status) = tx.next().await { - match status? { - // Finalized or otherwise in a block! Return. - TxStatus::InBestBlock(s) | TxStatus::InFinalizedBlock(s) => return Ok(s), - // Error scenarios; return the error. - TxStatus::Error { message } => return Err(TransactionError::Error(message).into()), - TxStatus::Invalid { message } => return Err(TransactionError::Invalid(message).into()), - TxStatus::Dropped { message } => return Err(TransactionError::Dropped(message).into()), - // Ignore anything else and wait for next status event: - _ => continue, - } - } - Err(RpcError::SubscriptionDropped.into()) -} - -#[cfg(test)] -mod tests { - use super::*; - - #[test] - fn score_passes_strategy_works() { - let s = |x| sp_npos_elections::ElectionScore { - minimal_stake: x, - ..Default::default() - }; - let two = Perbill::from_percent(2); - - // anything passes Always - assert!(score_passes_strategy( - s(0), - s(0), - SubmissionStrategy::Always - )); - assert!(score_passes_strategy( - s(5), - s(0), - SubmissionStrategy::Always - )); - assert!(score_passes_strategy( - s(5), - s(10), - SubmissionStrategy::Always - )); - - // if leading - assert!(!score_passes_strategy( - s(0), - s(0), - SubmissionStrategy::IfLeading - )); - assert!(score_passes_strategy( - s(1), - s(0), - SubmissionStrategy::IfLeading - )); - assert!(score_passes_strategy( - s(2), - s(0), - SubmissionStrategy::IfLeading - )); - assert!(!score_passes_strategy( - s(5), - s(10), - SubmissionStrategy::IfLeading - )); - assert!(!score_passes_strategy( - s(9), - s(10), - SubmissionStrategy::IfLeading - )); - assert!(!score_passes_strategy( - s(10), - s(10), - SubmissionStrategy::IfLeading - )); - - // if better by 2% - assert!(!score_passes_strategy( - s(50), - s(100), - SubmissionStrategy::ClaimBetterThan(two) - )); - assert!(!score_passes_strategy( - s(100), - s(100), - SubmissionStrategy::ClaimBetterThan(two) - )); - assert!(!score_passes_strategy( - s(101), - s(100), - SubmissionStrategy::ClaimBetterThan(two) - )); - assert!(!score_passes_strategy( - s(102), - s(100), - SubmissionStrategy::ClaimBetterThan(two) - )); - assert!(score_passes_strategy( - s(103), - s(100), - SubmissionStrategy::ClaimBetterThan(two) - )); - assert!(score_passes_strategy( - s(150), - s(100), - SubmissionStrategy::ClaimBetterThan(two) - )); - - // if no less than 2% worse - assert!(!score_passes_strategy( - s(50), - s(100), - SubmissionStrategy::ClaimNoWorseThan(two) - )); - assert!(!score_passes_strategy( - s(97), - s(100), - SubmissionStrategy::ClaimNoWorseThan(two) - )); - assert!(score_passes_strategy( - s(98), - s(100), - SubmissionStrategy::ClaimNoWorseThan(two) - )); - assert!(score_passes_strategy( - s(99), - s(100), - SubmissionStrategy::ClaimNoWorseThan(two) - )); - assert!(score_passes_strategy( - s(100), - s(100), - SubmissionStrategy::ClaimNoWorseThan(two) - )); - assert!(score_passes_strategy( - s(101), - s(100), - SubmissionStrategy::ClaimNoWorseThan(two) - )); - assert!(score_passes_strategy( - s(102), - s(100), - SubmissionStrategy::ClaimNoWorseThan(two) - )); - assert!(score_passes_strategy( - s(103), - s(100), - SubmissionStrategy::ClaimNoWorseThan(two) - )); - assert!(score_passes_strategy( - s(150), - s(100), - SubmissionStrategy::ClaimNoWorseThan(two) - )); - } - - #[test] - fn submission_strategy_from_str_works() { - assert_eq!( - SubmissionStrategy::from_str("if-leading"), - Ok(SubmissionStrategy::IfLeading) - ); - assert_eq!( - SubmissionStrategy::from_str("always"), - Ok(SubmissionStrategy::Always) - ); - assert_eq!( - SubmissionStrategy::from_str(" percent-better 99 "), - Ok(SubmissionStrategy::ClaimBetterThan(Accuracy::from_percent( - 99 - ))) - ); - } -} diff --git a/src/commands/mod.rs b/src/commands/mod.rs index 72815580c..873200b97 100644 --- a/src/commands/mod.rs +++ b/src/commands/mod.rs @@ -1,7 +1,5 @@ -pub mod dry_run; -pub mod emergency_solution; -pub mod monitor; +//! Supported commands for the polkadot-staking-miner and related types. -pub use dry_run::{dry_run_cmd, DryRunConfig}; -pub use emergency_solution::{emergency_solution_cmd, EmergencySolutionConfig}; -pub use monitor::{monitor_cmd, MonitorConfig}; +pub mod legacy; +pub mod multi_block; +pub mod types; diff --git a/src/commands/multi_block/mod.rs b/src/commands/multi_block/mod.rs new file mode 100644 index 000000000..b8b15fd7b --- /dev/null +++ b/src/commands/multi_block/mod.rs @@ -0,0 +1,4 @@ +mod monitor; +pub mod types; + +pub use monitor::monitor_cmd; diff --git a/src/commands/multi_block/monitor.rs b/src/commands/multi_block/monitor.rs new file mode 100644 index 000000000..adcd76a8f --- /dev/null +++ b/src/commands/multi_block/monitor.rs @@ -0,0 +1,422 @@ +use crate::{ + client::Client, + commands::{ + multi_block::types::{ + BlockDetails, CurrentSubmission, IncompleteSubmission, SharedSnapshot, + }, + types::{ExperimentalMultiBlockMonitorConfig, Listen, SubmissionStrategy}, + }, + dynamic::multi_block as dynamic, + error::Error, + prelude::{AccountId, ExtrinsicParamsBuilder, Storage, LOG_TARGET}, + prometheus, + runtime::multi_block::{ + self as runtime, runtime_types::pallet_election_provider_multi_block::types::Phase, + }, + signer::Signer, + static_types::multi_block as static_types, + utils::{self, kill_main_task_if_critical_err, score_passes_strategy, TimedFuture}, +}; +use futures::future::{abortable, AbortHandle}; +use polkadot_sdk::{ + pallet_election_provider_multi_block::unsigned::miner::MinerConfig, + sp_npos_elections::ElectionScore, +}; +use std::{collections::HashSet, sync::Arc}; +use tokio::sync::Mutex; + +pub async fn monitor_cmd( + client: Client, + config: ExperimentalMultiBlockMonitorConfig, +) -> Result<(), Error> +where + T: MinerConfig + Send + Sync + 'static, + T::Solution: Send, + T::Pages: Send + Sync + 'static, + T::TargetSnapshotPerBlock: Send + Sync + 'static, + T::VoterSnapshotPerBlock: Send + Sync + 'static, + T::MaxVotesPerVoter: Send + Sync + 'static, +{ + let signer = Signer::new(&config.seed_or_path)?; + + // Emit the account info at the start. + { + let account_info = client + .chain_api() + .storage() + .at_latest() + .await? + .fetch(&runtime::storage().system().account(signer.account_id())) + .await? + .ok_or(Error::AccountDoesNotExists)?; + prometheus::set_balance(account_info.data.free as f64); + + log::info!( + target: LOG_TARGET, + "Loaded account {} {{ nonce: {}, free_balance: {}, reserved_balance: {}, frozen_balance: {} }}", + signer, + account_info.nonce, + account_info.data.free, + account_info.data.reserved, + account_info.data.frozen, + ); + } + + let mut subscription = utils::rpc_block_subscription(client.rpc(), config.listen).await?; + let (tx, mut rx) = tokio::sync::mpsc::unbounded_channel::(); + let submit_lock = Arc::new(Mutex::new(())); + let snapshot = SharedSnapshot::::new(static_types::Pages::get()); + let mut pending_tasks: Vec = Vec::new(); + let mut prev_block_signed_phase = false; + + loop { + let at = tokio::select! { + maybe_rp = subscription.next() => { + match maybe_rp { + Some(Ok(r)) => r, + Some(Err(e)) => { + log::error!(target: LOG_TARGET, "subscription failed to decode Header {:?}, this is bug please file an issue", e); + return Err(e.into()); + } + // The subscription was dropped, should only happen if: + // - the connection was closed. + // - the subscription could not keep up with the server. + None => { + log::warn!(target: LOG_TARGET, "subscription to `{:?}` terminated. Retrying..", config.listen); + subscription = utils::rpc_block_subscription(client.rpc(), config.listen).await?; + continue + } + } + }, + maybe_err = rx.recv() => { + match maybe_err { + Some(err) => return Err(err), + None => unreachable!("at least one sender kept in the main loop should always return Some; qed"), + } + } + }; + + let state = BlockDetails::new(&client, at).await?; + let account_info = state + .storage + .fetch(&runtime::storage().system().account(signer.account_id())) + .await? + .ok_or(Error::AccountDoesNotExists)?; + prometheus::set_balance(account_info.data.free as f64); + + if !state.phase_is_signed() && !state.phase_is_snapshot() { + // Signal to pending mining task the sign phase has ended. + for stop in pending_tasks.drain(..) { + stop.abort(); + } + + // Clear snapshot cache + if prev_block_signed_phase { + snapshot.write().clear(); + prev_block_signed_phase = false; + } + + continue; + } + + prev_block_signed_phase = true; + let snapshot = snapshot.clone(); + let signer = signer.clone(); + let client = client.clone(); + let submit_lock = submit_lock.clone(); + let tx = tx.clone(); + let (fut, handle) = abortable(async move { + if let Err(e) = process_block( + client, + state, + snapshot, + signer, + config.listen, + submit_lock, + config.submission_strategy, + ) + .await + { + kill_main_task_if_critical_err(&tx, e); + } + }); + + tokio::spawn(fut); + pending_tasks.push(handle); + } +} + +/// For each block, the monitor essentially does the following: +/// +/// 1. Check if the phase is signed/snapshot, otherwise continue with the next block. +/// 2. Check if the solution has already been submitted, if so quit. +/// 3. Fetch the target and voter snapshots if not already in the cache. +/// 4. Mine the solution. +/// 5. Lock submissions. +/// 6. Check if that our score is the best. +/// 7. Register the solution score and submit each page of the solution. +async fn process_block( + client: Client, + state: BlockDetails, + snapshot: SharedSnapshot, + signer: Signer, + listen: Listen, + submit_lock: Arc>, + submission_strategy: SubmissionStrategy, +) -> Result<(), Error> +where + T: MinerConfig + Send + Sync + 'static, + T::Solution: Send, + T::Pages: Send, + T::TargetSnapshotPerBlock: Send, + T::VoterSnapshotPerBlock: Send, + T::MaxVotesPerVoter: Send, +{ + let BlockDetails { + storage, + phase, + round, + n_pages, + desired_targets, + block_number, + .. + } = state; + + // This will only change after runtime upgrades/when the metadata is changed. + // but let's be on the safe-side and update it every block. + snapshot.write().set_page_length(n_pages); + + // 1. Check if the phase is signed/snapshot, otherwise wait for the next block. + match phase { + Phase::Snapshot(_) => { + dynamic::fetch_missing_snapshots_lossy::(&snapshot, &storage).await?; + return Ok(()); + } + Phase::Signed(_) => {} + // Ignore other phases. + _ => return Ok(()), + } + + // 2. If the solution has already been submitted, nothing to do + if has_submitted(&storage, round, signer.account_id(), n_pages).await? { + return Ok(()); + } + + // 3. Fetch the target and voter snapshots if needed. + dynamic::fetch_missing_snapshots::(&snapshot, &storage).await?; + let (target_snapshot, voter_snapshot) = snapshot.read().get(); + + // 4. Lock mining and submission. + let _guard = submit_lock.lock().await; + + // After the submission lock has been acquired, check again + // that no submissions has been submitted. + if has_submitted( + &utils::storage_at_head(&client, listen).await?, + round, + signer.account_id(), + n_pages, + ) + .await? + { + return Ok(()); + } + + // 5. Mine solution + let paged_raw_solution = match dynamic::mine_solution::( + target_snapshot, + voter_snapshot, + n_pages, + round, + desired_targets, + block_number, + ) + .timed() + .await + { + (Ok(sol), dur) => { + log::trace!(target: LOG_TARGET, "Mining solution took {}ms", dur.as_millis()); + prometheus::observe_mined_solution_duration(dur.as_millis() as f64); + sol + } + (Err(e), _) => { + return Err(e); + } + }; + + let storage_head = utils::storage_at_head(&client, listen).await?; + + match get_submission(&storage_head, round, signer.account_id(), n_pages).await? { + CurrentSubmission::Done(score) => { + // We have already submitted the solution with a better score or equal score + if !score_passes_strategy(paged_raw_solution.score, score, submission_strategy) { + return Ok(()); + } + // Revert previous submission and submit the new one. + bail(listen, &client, signer.clone()).await?; + } + CurrentSubmission::Incomplete(s) => { + // Submit the missing pages. + if s.score() == paged_raw_solution.score { + let mut missing_pages = Vec::new(); + + for page in s.get_missing_pages() { + let solution = paged_raw_solution.solution_pages[page as usize].clone(); + missing_pages.push((page, solution)); + } + + dynamic::inner_submit_pages::(&client, &signer, missing_pages, listen).await?; + return Ok(()); + } + + // Revert previous submission and submit a new one. + bail(listen, &client, signer.clone()).await?; + } + CurrentSubmission::NotStarted => (), + }; + + // 6. Check if the score is better than the current best score. + // + // We allow overwriting the score if the "our account" has the best score but hasn't submitted + // the solution. This is to allow the miner to re-submit the score and solution if the miner crashed + // or the RPC connection was lost. + // + // This to ensure that the miner doesn't miss out on submitting the solution if the miner crashed + // and to prevent to be slashed. + + if !score_better( + &storage_head, + paged_raw_solution.score, + round, + submission_strategy, + ) + .await? + { + return Ok(()); + } + + prometheus::set_score(paged_raw_solution.score); + + // 7. Submit the score and solution to the chain. + match dynamic::submit(&client, &signer, paged_raw_solution, listen) + .timed() + .await + { + (Ok(_), dur) => { + log::trace!( + target: LOG_TARGET, + "Register score and solution pages took {}ms", + dur.as_millis() + ); + prometheus::observe_submit_and_watch_duration(dur.as_millis() as f64); + } + (Err(e), _) => { + return Err(e); + } + }; + + Ok(()) +} + +/// Whether the computed score is better than the current best score +async fn score_better( + storage: &Storage, + score: ElectionScore, + round: u32, + strategy: SubmissionStrategy, +) -> Result { + let scores = storage + .fetch_or_default(&runtime::storage().multi_block_signed().sorted_scores(round)) + .await?; + + if scores + .0 + .into_iter() + .any(|(_, other_score)| !score_passes_strategy(score, other_score.0, strategy)) + { + return Ok(false); + } + + Ok(true) +} + +/// Whether the current account has registered the score and submitted all pages for the given round. +async fn get_submission( + storage: &Storage, + round: u32, + who: &subxt::config::substrate::AccountId32, + n_pages: u32, +) -> Result { + let maybe_submission = storage + .fetch( + &runtime::storage() + .multi_block_signed() + .submission_metadata_storage(round, who), + ) + .await?; + + let Some(submission) = maybe_submission else { + return Ok(CurrentSubmission::NotStarted); + }; + + let pages: HashSet = submission + .pages + .0 + .into_iter() + .enumerate() + .filter_map( + |(i, submitted)| { + if submitted { + Some(i as u32) + } else { + None + } + }, + ) + .collect(); + + if pages.len() == n_pages as usize { + Ok(CurrentSubmission::Done(submission.claimed_score.0)) + } else { + Ok(CurrentSubmission::Incomplete(IncompleteSubmission::new( + submission.claimed_score.0, + pages, + n_pages, + ))) + } +} + +/// Whether the current account has registered the score and submitted all pages for the given round. +async fn has_submitted( + storage: &Storage, + round: u32, + who: &subxt::config::substrate::AccountId32, + n_pages: u32, +) -> Result { + match get_submission(storage, round, who, n_pages).await? { + CurrentSubmission::Done(_) => Ok(true), + _ => Ok(false), + } +} + +async fn bail(listen: Listen, client: &Client, signer: Signer) -> Result<(), Error> { + let tx = runtime::tx().multi_block_signed().bail(); + + let nonce = client + .rpc() + .system_account_next_index(signer.account_id()) + .await?; + + let xt_cfg = ExtrinsicParamsBuilder::default().nonce(nonce).build(); + let xt = client + .chain_api() + .tx() + .create_signed(&tx, &*signer, xt_cfg) + .await?; + + let tx = xt.submit_and_watch().await?; + + utils::wait_tx_in_block_for_strategy(tx, listen).await?; + + Ok(()) +} diff --git a/src/commands/multi_block/types.rs b/src/commands/multi_block/types.rs new file mode 100644 index 000000000..bad02b7f1 --- /dev/null +++ b/src/commands/multi_block/types.rs @@ -0,0 +1,215 @@ +use crate::{ + client::Client, + error::Error, + prelude::{AccountId, Hash, Header, Storage, LOG_TARGET}, + runtime::multi_block::{ + self as runtime, runtime_types::pallet_election_provider_multi_block::types::Phase, + }, + static_types::multi_block as static_types, + utils, +}; +use polkadot_sdk::{ + frame_election_provider_support, frame_support::BoundedVec, + pallet_election_provider_multi_block::unsigned::miner::MinerConfig, + sp_npos_elections::ElectionScore, +}; +use std::{ + collections::{BTreeMap, HashSet}, + sync::{Arc, RwLock}, +}; +use subxt::config::Header as _; + +pub type TargetSnapshotPageOf = + BoundedVec::TargetSnapshotPerBlock>; +pub type VoterSnapshotPageOf = BoundedVec, ::VoterSnapshotPerBlock>; +pub type Voter = + frame_election_provider_support::Voter::MaxVotesPerVoter>; +pub type TargetSnapshotPage = + BoundedVec<::AccountId, ::TargetSnapshotPerBlock>; +pub type VoterSnapshotPage = BoundedVec, ::VoterSnapshotPerBlock>; + +type Page = u32; + +/// Snapshot of the target and voter pages in the multi-block stuff. +/// +/// This type is used to store the target and voter snapshots in the multi-block +/// and relies on the hash to verify the snapshot is up-to-date with what's on-chain. +pub struct Snapshot { + pub target: Option<(TargetSnapshotPage, Hash)>, + pub voter: BTreeMap, Hash)>, + pub n_pages: Page, +} + +impl Snapshot { + pub fn new(n_pages: Page) -> Self { + Snapshot { + target: None, + voter: BTreeMap::new(), + n_pages, + } + } + + /// Whether the target snapshot needs to be fetched. + pub fn needs_target_snapshot(&self, hash: Hash) -> bool { + if let Some((_, target_hash)) = &self.target { + *target_hash != hash + } else { + true + } + } + + /// Whether the voter snapshot needs to be fetched. + pub fn needs_voter_page(&self, page: Page, hash: Hash) -> bool { + if let Some((_, voter_hash)) = self.voter.get(&page) { + *voter_hash != hash + } else { + true + } + } + + /// Set the target snapshot. + pub fn set_target_snapshot(&mut self, target: TargetSnapshotPage, hash: Hash) { + self.target = Some((target, hash)); + } + + /// Set a specific voter snapshot. + pub fn set_voter_page(&mut self, page: Page, voter: VoterSnapshotPage, hash: Hash) { + assert!( + page < self.n_pages, + "Page exceeds the maximum number of pages" + ); + self.voter.insert(page, (voter, hash)); + } + + pub fn set_page_length(&mut self, n_pages: Page) { + self.n_pages = n_pages; + } + + /// Clear the snapshot. + pub fn clear(&mut self) { + self.target = None; + self.voter.clear(); + } + + /// Get the target snapshot and voter snapshots. + /// + /// # Panics + /// + /// It's the caller's responsibility to ensure the target snapshot and voter snapshots are fetched. + pub fn get(&self) -> (TargetSnapshotPage, Vec>) { + let target = self + .target + .as_ref() + .expect("Target snapshot not fetched") + .0 + .clone(); + let voter = self + .voter + .iter() + .map(|(_, (snapshot, _))| snapshot.clone()) + .collect(); + (target, voter) + } +} + +pub struct SharedSnapshot(Arc>>); + +impl SharedSnapshot { + pub fn new(n_pages: Page) -> Self { + SharedSnapshot(Arc::new(RwLock::new(Snapshot::new(n_pages)))) + } + + pub fn read(&self) -> std::sync::RwLockReadGuard> { + self.0.read().expect("Lock is not poisoned; qed") + } + + pub fn write(&self) -> std::sync::RwLockWriteGuard> { + self.0.write().expect("Lock is not poisoned; qed") + } +} + +impl Clone for SharedSnapshot { + fn clone(&self) -> Self { + SharedSnapshot(self.0.clone()) + } +} + +/// Block details related to multi-block. +pub struct BlockDetails { + pub storage: Storage, + pub phase: Phase, + pub n_pages: u32, + pub round: u32, + pub desired_targets: u32, + pub block_number: u32, +} + +impl BlockDetails { + pub async fn new(client: &Client, at: Header) -> Result { + let storage = utils::storage_at(Some(at.hash()), client.chain_api()).await?; + let round = storage + .fetch_or_default(&runtime::storage().multi_block().round()) + .await?; + let phase = storage + .fetch_or_default(&runtime::storage().multi_block().current_phase()) + .await?; + let desired_targets = storage + .fetch(&runtime::storage().multi_block().desired_targets()) + .await? + .unwrap_or(0); + + log::trace!(target: LOG_TARGET, "Processing block={} round={}, phase={:?}", at.number, round, phase); + + let n_pages = static_types::Pages::get(); + + Ok(Self { + storage, + phase, + n_pages, + round, + desired_targets, + block_number: at.number, + }) + } + + pub fn phase_is_signed(&self) -> bool { + matches!(self.phase, Phase::Signed(_)) + } + + pub fn phase_is_snapshot(&self) -> bool { + matches!(self.phase, Phase::Snapshot(_)) + } +} + +pub enum CurrentSubmission { + /// Submission is completed. + Done(ElectionScore), + /// Submission is started but incomplete. + Incomplete(IncompleteSubmission), + /// Submission is not started. + NotStarted, +} + +pub struct IncompleteSubmission { + score: ElectionScore, + pages: HashSet, + n_pages: u32, +} + +impl IncompleteSubmission { + pub fn new(score: ElectionScore, pages: HashSet, n_pages: u32) -> Self { + Self { + score, + pages, + n_pages, + } + } + + pub fn score(&self) -> ElectionScore { + self.score + } + + pub fn get_missing_pages(&self) -> impl Iterator + '_ { + (0..self.n_pages).filter(|page| !self.pages.contains(page)) + } +} diff --git a/src/commands/types.rs b/src/commands/types.rs new file mode 100644 index 000000000..d626e8335 --- /dev/null +++ b/src/commands/types.rs @@ -0,0 +1,184 @@ +use crate::{opt::Solver, prelude::Hash}; +use clap::Parser; +use polkadot_sdk::sp_runtime::Perbill; + +#[derive(Debug, Clone, clap::Parser)] +#[cfg_attr(test, derive(PartialEq))] +pub struct EmergencySolutionConfig { + /// The block hash at which scraping happens. If none is provided, the latest head is used. + #[clap(long)] + pub at: Option, + + /// The solver algorithm to use. + #[clap(subcommand)] + pub solver: Solver, + + /// The number of top backed winners to take instead. All are taken, if not provided. + pub force_winner_count: Option, +} + +#[derive(Debug, Clone, clap::Parser)] +#[cfg_attr(test, derive(PartialEq))] +pub struct DryRunConfig { + /// The block hash at which scraping happens. If none is provided, the latest head is used. + #[clap(long)] + pub at: Option, + + /// The solver algorithm to use. + #[clap(subcommand)] + pub solver: Solver, + + /// Force create a new snapshot, else expect one to exist onchain. + #[clap(long)] + pub force_snapshot: bool, + + /// The number of winners to take, instead of the `desired_targets` in snapshot. + // Doing this would cause the dry-run to typically fail, but that's fine, the program should + // still print out some score, and that should be it. + #[clap(long)] + pub force_winner_count: Option, + + /// The path to a file containing the seed of the account. If the file is not found, the seed is + /// used as-is. If this is not provided, we won't attempt to submit anything. + /// + /// Can also be provided via the `SEED` environment variable. + /// + /// WARNING: Don't use an account with a large stash for this. Based on how the bot is + /// configured, it might re-try and lose funds through transaction fees/deposits. + #[clap(long, short, env = "SEED")] + pub seed_or_path: Option, +} + +/// The type of event to listen to. +/// +/// +/// Typically, finalized is safer and there is no chance of anything going wrong, but it can be +/// slower. It is recommended to use finalized, if the duration of the signed phase is longer +/// than the the finality delay. +#[derive(clap::ValueEnum, Debug, Copy, Clone, PartialEq)] +pub enum Listen { + /// Latest finalized head of the canonical chain. + Finalized, + /// Latest head of the canonical chain. + Head, +} + +/// Submission strategy to use. +#[derive(Debug, Copy, Clone)] +#[cfg_attr(test, derive(PartialEq))] +pub enum SubmissionStrategy { + /// Always submit. + Always, + // Submit if we are leading, or if the solution that's leading is more that the given `Perbill` + // better than us. This helps detect obviously fake solutions and still combat them. + /// Only submit if at the time, we are the best (or equal to it). + IfLeading, + /// Submit if we are no worse than `Perbill` worse than the best. + ClaimNoWorseThan(Perbill), + /// Submit if we are leading, or if the solution that's leading is more that the given `Perbill` + /// better than us. This helps detect obviously fake solutions and still combat them. + ClaimBetterThan(Perbill), +} + +/// Custom `impl` to parse `SubmissionStrategy` from CLI. +/// +/// Possible options: +/// * --submission-strategy if-leading: only submit if leading +/// * --submission-strategy always: always submit +/// * --submission-strategy "percent-better ": submit if submission is `n` percent better. +/// +impl std::str::FromStr for SubmissionStrategy { + type Err = String; + + fn from_str(s: &str) -> Result { + let s = s.trim(); + + let res = if s == "if-leading" { + Self::IfLeading + } else if s == "always" { + Self::Always + } else if let Some(percent) = s.strip_prefix("no-worse-than ") { + let percent: u32 = percent.parse().map_err(|e| format!("{:?}", e))?; + Self::ClaimNoWorseThan(Perbill::from_percent(percent)) + } else if let Some(percent) = s.strip_prefix("percent-better ") { + let percent: u32 = percent.parse().map_err(|e| format!("{:?}", e))?; + Self::ClaimBetterThan(Perbill::from_percent(percent)) + } else { + return Err(s.into()); + }; + Ok(res) + } +} + +#[derive(Debug, Clone, Parser)] +#[cfg_attr(test, derive(PartialEq))] +pub struct MonitorConfig { + /// They type of event to listen to. + /// + /// Typically, finalized is safer and there is no chance of anything going wrong, but it can be + /// slower. It is recommended to use finalized, if the duration of the signed phase is longer + /// than the the finality delay. + #[clap(long, value_enum, default_value_t = Listen::Finalized)] + pub listen: Listen, + + /// The solver algorithm to use. + #[clap(subcommand)] + pub solver: Solver, + + /// Submission strategy to use. + /// + /// Possible options: + /// + /// `--submission-strategy if-leading`: only submit if leading. + /// + /// `--submission-strategy always`: always submit. + /// + /// `--submission-strategy "percent-better "`: submit if the submission is `n` percent better. + /// + /// `--submission-strategy "no-worse-than "`: submit if submission is no more than `n` percent worse. + #[clap(long, value_parser, default_value = "if-leading")] + pub submission_strategy: SubmissionStrategy, + + /// The path to a file containing the seed of the account. If the file is not found, the seed is + /// used as-is. + /// + /// Can also be provided via the `SEED` environment variable. + /// + /// WARNING: Don't use an account with a large stash for this. Based on how the bot is + /// configured, it might re-try and lose funds through transaction fees/deposits. + #[clap(long, short, env = "SEED")] + pub seed_or_path: String, + + /// Delay in number seconds to wait until starting mining a solution. + /// + /// At every block when a solution is attempted + /// a delay can be enforced to avoid submitting at + /// "same time" and risk potential races with other miners. + /// + /// When this is enabled and there are competing solutions, your solution might not be submitted + /// if the scores are equal. + #[clap(long, default_value_t = 0)] + pub delay: usize, + + /// Verify the submission by `dry-run` the extrinsic to check the validity. + /// If the extrinsic is invalid then the submission is ignored and the next block will attempted again. + /// + /// This requires a RPC endpoint that exposes unsafe RPC methods, if the RPC endpoint doesn't expose unsafe RPC methods + /// then the miner will be terminated. + #[clap(long)] + pub dry_run: bool, +} + +/// TODO(niklasad1): Add solver algorithm configuration to the monitor command. +#[derive(Debug, Clone, clap::Parser)] +#[cfg_attr(test, derive(PartialEq))] +pub struct ExperimentalMultiBlockMonitorConfig { + #[clap(long, short, env = "SEED")] + pub seed_or_path: String, + + #[clap(long, value_enum, default_value_t = Listen::Finalized)] + pub listen: Listen, + + #[clap(long, value_parser, default_value = "if-leading")] + pub submission_strategy: SubmissionStrategy, +} diff --git a/src/epm.rs b/src/dynamic/legacy.rs similarity index 76% rename from src/epm.rs rename to src/dynamic/legacy.rs index 62209811e..65cd72e20 100644 --- a/src/epm.rs +++ b/src/dynamic/legacy.rs @@ -14,73 +14,48 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Wrappers or helpers for [`pallet_election_provider_multi_phase`]. +//! Utils to interact with single block election system. +use super::utils::{storage_addr, tx}; use crate::{ + dynamic::{pallet_api, utils::to_scale_value}, error::Error, - helpers::{storage_at, RuntimeDispatchInfo}, opt::{BalanceIterations, Balancing, Solver}, - prelude::*, + prelude::{AccountId, Accuracy, Balance, ChainClient, Hash, LOG_TARGET, SHARED_CLIENT}, prometheus, - static_types::{self}, + runtime::legacy as runtime, + static_types::legacy as static_types, + utils::{storage_at, RuntimeDispatchInfo}, }; - -use std::{ - cmp::Reverse, - collections::{BTreeSet, BinaryHeap}, - marker::PhantomData, -}; - use codec::{Decode, Encode}; use polkadot_sdk::{ frame_election_provider_support::{self, Get, NposSolution, PhragMMS, SequentialPhragmen}, frame_support::{weights::Weight, BoundedVec}, pallet_election_provider_multi_phase::{ - self, unsigned::TrimmingStatus, MinerConfig, RawSolution, ReadySolution, SolutionOf, + self, unsigned::TrimmingStatus, Miner, MinerConfig, RawSolution, ReadySolution, SolutionOf, SolutionOrSnapshotSize, }, sp_npos_elections::{ElectionScore, VoteWeight}, }; -use scale_info::{PortableRegistry, TypeInfo}; -use scale_value::scale::decode_as_type; +use scale_info::TypeInfo; +use std::{ + cmp::Reverse, + collections::{BTreeSet, BinaryHeap}, + marker::PhantomData, +}; use subxt::{dynamic::Value, tx::DynamicPayload}; -const EPM_PALLET_NAME: &str = "ElectionProviderMultiPhase"; - -type TypeId = u32; type MinerVoterOf = - frame_election_provider_support::Voter; + frame_election_provider_support::Voter; type RoundSnapshot = pallet_election_provider_multi_phase::RoundSnapshot; type Voters = Vec<( AccountId, VoteWeight, - BoundedVec, + BoundedVec, )>; - -#[derive(Copy, Clone, Debug)] -struct EpmConstant { - epm: &'static str, - constant: &'static str, -} - -impl EpmConstant { - const fn new(constant: &'static str) -> Self { - Self { - epm: EPM_PALLET_NAME, - constant, - } - } - - const fn to_parts(self) -> (&'static str, &'static str) { - (self.epm, self.constant) - } -} - -impl std::fmt::Display for EpmConstant { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - f.write_fmt(format_args!("{}::{}", self.epm, self.constant)) - } -} +/// Signed submission type. +type SignedSubmission = + polkadot_sdk::pallet_election_provider_multi_phase::SignedSubmission; #[derive(Debug)] pub struct State { @@ -203,62 +178,6 @@ where } } -/// Read the constants from the metadata and updates the static types. -pub(crate) fn update_metadata_constants(api: &ChainClient) -> Result<(), Error> { - const SIGNED_MAX_WEIGHT: EpmConstant = EpmConstant::new("SignedMaxWeight"); - const MAX_LENGTH: EpmConstant = EpmConstant::new("MinerMaxLength"); - const MAX_VOTES_PER_VOTER: EpmConstant = EpmConstant::new("MinerMaxVotesPerVoter"); - // NOTE: `MaxWinners` is used instead of `MinerMaxWinners` to work with older metadata. - const MAX_WINNERS: EpmConstant = EpmConstant::new("MaxWinners"); - - fn log_metadata(metadata: EpmConstant, val: impl std::fmt::Display) { - log::trace!(target: LOG_TARGET, "updating metadata constant `{metadata}`: {val}",); - } - - let max_weight = read_constant::(api, SIGNED_MAX_WEIGHT)?; - let max_length: u32 = read_constant(api, MAX_LENGTH)?; - let max_votes_per_voter: u32 = read_constant(api, MAX_VOTES_PER_VOTER)?; - let max_winners: u32 = read_constant(api, MAX_WINNERS)?; - - log_metadata(SIGNED_MAX_WEIGHT, max_weight); - log_metadata(MAX_LENGTH, max_length); - log_metadata(MAX_VOTES_PER_VOTER, max_votes_per_voter); - log_metadata(MAX_WINNERS, max_winners); - - static_types::MaxWeight::set(max_weight); - static_types::MaxLength::set(max_length); - static_types::MaxVotesPerVoter::set(max_votes_per_voter); - static_types::MaxWinners::set(max_winners); - - Ok(()) -} - -fn invalid_metadata_error(item: String, err: E) -> Error { - Error::InvalidMetadata(format!("{} failed: {}", item, err)) -} - -fn read_constant<'a, T: serde::Deserialize<'a>>( - api: &ChainClient, - constant: EpmConstant, -) -> Result { - let (epm_name, constant) = constant.to_parts(); - - let val = api - .constants() - .at(&subxt::dynamic::constant(epm_name, constant)) - .map_err(|e| invalid_metadata_error(constant.to_string(), e))? - .to_value() - .map_err(|e| Error::Subxt(e.into()))?; - - scale_value::serde::from_value::<_, T>(val).map_err(|e| { - Error::InvalidMetadata(format!( - "Decoding `{}` failed {}", - std::any::type_name::(), - e - )) - }) -} - /// Helper to construct a set emergency solution transaction. pub(crate) fn set_emergency_result( supports: frame_election_provider_support::Supports, @@ -266,9 +185,8 @@ pub(crate) fn set_emergency_result( let scale_result = to_scale_value(supports) .map_err(|e| Error::DynamicTransaction(format!("Failed to encode `Supports`: {:?}", e)))?; - Ok(subxt::dynamic::tx( - EPM_PALLET_NAME, - "set_emergency_election_result", + Ok(tx( + pallet_api::election_provider_multi_phase::tx::EMERGENCY, vec![scale_result], )) } @@ -281,9 +199,8 @@ pub fn signed_solution( Error::DynamicTransaction(format!("Failed to encode `RawSolution`: {:?}", e)) })?; - Ok(subxt::dynamic::tx( - EPM_PALLET_NAME, - "submit", + Ok(tx( + pallet_api::election_provider_multi_phase::tx::SUBMIT, vec![scale_solution], )) } @@ -296,9 +213,8 @@ pub fn unsigned_solution( let scale_solution = to_scale_value(solution)?; let scale_witness = to_scale_value(witness)?; - Ok(subxt::dynamic::tx( - EPM_PALLET_NAME, - "submit_unsigned", + Ok(tx( + pallet_api::election_provider_multi_phase::tx::SUBMIT_UNSIGNED, vec![scale_solution, scale_witness], )) } @@ -310,7 +226,10 @@ pub async fn signed_submission_at api: &ChainClient, ) -> Result>, Error> { let scale_idx = Value::u128(idx as u128); - let addr = subxt::dynamic::storage(EPM_PALLET_NAME, "SignedSubmissionsMap", vec![scale_idx]); + let addr = storage_addr( + pallet_api::election_provider_multi_phase::storage::SIGNED_SUBMISSIONS_MAP, + vec![scale_idx], + ); let storage = storage_at(block_hash, api).await?; @@ -330,7 +249,10 @@ pub async fn snapshot_at( api: &ChainClient, ) -> Result { let empty = Vec::::new(); - let addr = subxt::dynamic::storage(EPM_PALLET_NAME, "Snapshot", empty); + let addr = storage_addr( + pallet_api::election_provider_multi_phase::storage::SNAPSHOT, + empty, + ); let storage = storage_at(block_hash, api).await?; @@ -529,7 +451,9 @@ where /// Check that this solution is feasible /// /// Returns a [`pallet_election_provider_multi_phase::ReadySolution`] if the check passes. - pub fn feasibility_check(&self) -> Result, Error> { + pub fn feasibility_check( + &self, + ) -> Result, Error> { match Miner::::feasibility_check( RawSolution { solution: self.solution.clone(), @@ -561,31 +485,6 @@ impl std::fmt::Debug for MinedSolution { } } -fn make_type() -> (TypeId, PortableRegistry) { - let m = scale_info::MetaType::new::(); - let mut types = scale_info::Registry::new(); - let id = types.register_type(&m); - let portable_registry: PortableRegistry = types.into(); - - (id.id, portable_registry) -} - -fn to_scale_value(val: T) -> Result { - let (ty_id, types) = make_type::(); - - let bytes = val.encode(); - - decode_as_type(&mut bytes.as_ref(), ty_id, &types) - .map(|v| v.remove_context()) - .map_err(|e| { - Error::DynamicTransaction(format!( - "Failed to decode {}: {:?}", - std::any::type_name::(), - e - )) - }) -} - /// Fetch the weight for `RawSolution` from a remote node pub async fn runtime_api_solution_weight( raw_solution: RawSolution, diff --git a/src/dynamic/mod.rs b/src/dynamic/mod.rs new file mode 100644 index 000000000..b38da6ea7 --- /dev/null +++ b/src/dynamic/mod.rs @@ -0,0 +1,62 @@ +//! This module contains types, helper functions, and APIs to +//! interact with the runtime related to submitting solutions to the validator set in polkadot-sdk. +//! +//! These are built on top of the dynamic APIs in subxt to read storage, submit transactions, read events and read constants. +//! +//! The reason behind this is that subxt's static codegen generates a concrete type for NposSolution and we want to be +//! generic over the solution type to work across different runtimes. + +use crate::{error::Error, prelude::ChainClient, static_types}; + +pub mod legacy; +pub mod multi_block; +pub mod pallet_api; +pub mod utils; + +/// Read the constants from the metadata and updates the static types. +pub fn update_metadata_constants(api: &ChainClient, legacy: bool) -> Result<(), Error> { + if legacy { + use static_types::legacy::{MaxLength, MaxVotesPerVoter, MaxWeight, MaxWinners}; + + MaxWeight::set( + pallet_api::election_provider_multi_phase::constants::MAX_WEIGHT.fetch(api)?, + ); + MaxLength::set( + pallet_api::election_provider_multi_phase::constants::MAX_LENGTH.fetch(api)?, + ); + MaxVotesPerVoter::set( + pallet_api::election_provider_multi_phase::constants::MAX_VOTES_PER_VOTER.fetch(api)?, + ); + MaxWinners::set( + pallet_api::election_provider_multi_phase::constants::MAX_WINNERS.fetch(api)?, + ); + } else { + use polkadot_sdk::sp_runtime::Percent; + use static_types::multi_block::{ + MaxBackersPerWinner, MaxLength, MaxWinnersPerPage, Pages, TargetSnapshotPerBlock, + VoterSnapshotPerBlock, + }; + + let pages: u32 = pallet_api::multi_block::constants::PAGES.fetch(api)?; + Pages::set(pages); + TargetSnapshotPerBlock::set( + pallet_api::multi_block::constants::TARGET_SNAPSHOT_PER_BLOCK.fetch(api)?, + ); + VoterSnapshotPerBlock::set( + pallet_api::multi_block::constants::VOTER_SNAPSHOT_PER_BLOCK.fetch(api)?, + ); + + let block_len = pallet_api::system::constants::BLOCK_LENGTH.fetch(api)?; + + // As instructed, a reasonable default max length is 75% of the total block length. + MaxLength::set(Percent::from_percent(75) * block_len.total()); + MaxWinnersPerPage::set( + pallet_api::multi_block_verifier::constants::MAX_WINNERS_PER_PAGE.fetch(api)?, + ); + MaxBackersPerWinner::set( + pallet_api::multi_block_verifier::constants::MAX_BACKERS_PER_WINNER.fetch(api)?, + ); + } + + Ok(()) +} diff --git a/src/dynamic/multi_block.rs b/src/dynamic/multi_block.rs new file mode 100644 index 000000000..37d0fbebb --- /dev/null +++ b/src/dynamic/multi_block.rs @@ -0,0 +1,494 @@ +//! Utils to interact with multi-block election system. + +use crate::{ + client::Client, + commands::multi_block::types::{ + SharedSnapshot, TargetSnapshotPage, TargetSnapshotPageOf, VoterSnapshotPage, + VoterSnapshotPageOf, + }, + commands::types::Listen, + dynamic::{ + pallet_api, + utils::{decode_error, storage_addr, to_scale_value, tx}, + }, + error::Error, + prelude::{AccountId, ChainClient, Config, ExtrinsicParamsBuilder, Hash, Storage, LOG_TARGET}, + runtime::multi_block as runtime, + signer::Signer, + utils, +}; +use codec::Decode; +use futures::stream::FuturesUnordered; +use futures::StreamExt; +use polkadot_sdk::{ + frame_support::BoundedVec, + pallet_election_provider_multi_block::{ + types::PagedRawSolution, + unsigned::miner::{BaseMiner as Miner, MineInput, MinerConfig}, + }, + sp_npos_elections::ElectionScore, +}; +use std::collections::HashSet; +use subxt::{ + dynamic::Value, + tx::{DynamicPayload, TxProgress}, +}; + +/// A multi-block transaction. +pub enum TransactionKind { + RegisterScore, + SubmitPage(u32), +} + +impl std::fmt::Display for TransactionKind { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + match self { + Self::RegisterScore => f.write_str("register score"), + Self::SubmitPage(p) => f.write_fmt(format_args!("submit page {p}")), + } + } +} +pub struct MultiBlockTransaction { + kind: TransactionKind, + tx: DynamicPayload, +} + +impl MultiBlockTransaction { + /// Create a transaction to register a score. + pub fn register_score(score: ElectionScore) -> Result { + let scale_score = to_scale_value(score).map_err(decode_error::)?; + + Ok(Self { + kind: TransactionKind::RegisterScore, + tx: tx( + pallet_api::multi_block_signed::tx::REGISTER, + vec![scale_score], + ), + }) + } + + /// Create a new transaction to submit a page. + pub fn submit_page( + page: u32, + maybe_solution: Option, + ) -> Result { + let scale_page = to_scale_value(page).map_err(decode_error::)?; + let scale_solution = to_scale_value(maybe_solution).map_err(decode_error::)?; + + Ok(Self { + kind: TransactionKind::SubmitPage(page), + tx: tx( + pallet_api::multi_block_signed::tx::SUBMIT_PAGE, + vec![scale_page, scale_solution], + ), + }) + } + + pub fn into_parts(self) -> (TransactionKind, DynamicPayload) { + (self.kind, self.tx) + } +} + +/// Fetches the target snapshot. +/// +/// Note: the target snapshot is single paged. +pub(crate) async fn target_snapshot( + page: u32, + storage: &Storage, +) -> Result, Error> { + let page_idx = vec![Value::from(page)]; + let addr = storage_addr( + pallet_api::multi_block::storage::PAGED_TARGET_SNAPSHOT, + page_idx, + ); + + match storage.fetch(&addr).await { + Ok(Some(val)) => { + let snapshot: TargetSnapshotPage = Decode::decode(&mut val.encoded())?; + log::trace!( + target: LOG_TARGET, + "Target snapshot with len {:?}, hash: {:?}", + snapshot.len(), + target_snapshot_hash(page, storage).await, + ); + Ok(snapshot) + } + Ok(None) => Err(Error::EmptySnapshot), + Err(err) => Err(err.into()), + } +} + +/// Fetches `page` of the voter snapshot. +pub(crate) async fn paged_voter_snapshot( + page: u32, + storage: &Storage, +) -> Result, Error> +where + T: MinerConfig, +{ + match storage + .fetch(&storage_addr( + pallet_api::multi_block::storage::PAGED_VOTER_SNAPSHOT, + vec![Value::from(page)], + )) + .await + { + Ok(Some(val)) => match Decode::decode(&mut val.encoded()) { + Ok(s) => { + let snapshot: VoterSnapshotPage = s; + log::trace!( + target: LOG_TARGET, + "Voter snapshot page={page} len={}, hash={:?}", + snapshot.len(), + paged_voter_snapshot_hash(page, storage).await, + ); + Ok(snapshot) + } + Err(err) => Err(err.into()), + }, + Ok(None) => Err(Error::EmptySnapshot), + Err(err) => Err(err.into()), + } +} + +/// Submits a transaction and returns the progress. +pub(crate) async fn submit_inner( + client: &Client, + signer: Signer, + tx: MultiBlockTransaction, + nonce: u64, +) -> Result, Error> { + let (kind, tx) = tx.into_parts(); + + log::trace!(target: LOG_TARGET, "submit `{kind}` nonce={nonce}"); + + // NOTE: subxt sets mortal extrinsic by default. + let xt_cfg = ExtrinsicParamsBuilder::default().nonce(nonce).build(); + let xt = client + .chain_api() + .tx() + .create_signed(&tx, &*signer, xt_cfg) + .await?; + + xt.submit_and_watch() + .await + .map_err(|e| { + log::error!(target: LOG_TARGET, "submit tx {kind} failed: {:?}", e); + e + }) + .map_err(Into::into) +} + +pub(crate) async fn mine_solution( + target_snapshot: TargetSnapshotPageOf, + voter_snapshot_paged: Vec>, + n_pages: u32, + round: u32, + desired_targets: u32, + block_number: u32, +) -> Result, Error> +where + T: MinerConfig + Send + Sync + 'static, + T::Solution: Send, + T::Pages: Send, + T::TargetSnapshotPerBlock: Send, + T::VoterSnapshotPerBlock: Send, + T::MaxVotesPerVoter: Send, +{ + log::trace!( + target: LOG_TARGET, + "Mine_and_submit: election target snap size: {:?}, voter snap size: {:?}", + target_snapshot.len(), + voter_snapshot_paged.len() + ); + + let voter_pages: BoundedVec, T::Pages> = + BoundedVec::truncate_from(voter_snapshot_paged); + + log::trace!( + target: LOG_TARGET, + "MineInput: desired_targets={desired_targets},pages={n_pages},target_snapshot_len={},voters_pages_len={},do_reduce=false,round={round},at={block_number}", + target_snapshot.len(), voter_pages.len() + ); + + let input = MineInput { + desired_targets, + all_targets: target_snapshot.clone(), + voter_pages: voter_pages.clone(), + pages: n_pages, + // TODO: get from runtime/configs. + do_reduce: false, + round, + }; + + // Mine solution + tokio::task::spawn_blocking(move || { + let paged_raw_solution = + Miner::::mine_solution(input).map_err(|e| Error::Other(format!("{:?}", e)))?; + Miner::::check_feasibility( + &paged_raw_solution, + &voter_pages, + &target_snapshot, + desired_targets, + "multi-block-solution", + ) + .map_err(|e| Error::Feasibility(format!("{:?}", e)))?; + Ok(paged_raw_solution) + }) + .await + .map_err(|e| Error::Other(format!("{:?}", e)))? +} + +/// Fetches the target snapshot and all voter snapshots which are missing +/// but some snapshots may not exist yet which is just ignored. +pub(crate) async fn fetch_missing_snapshots_lossy( + snapshot: &SharedSnapshot, + storage: &Storage, +) -> Result<(), Error> { + let n_pages = snapshot.read().n_pages; + + for page in 0..n_pages { + match check_and_update_voter_snapshot(page, storage, snapshot).await { + Ok(_) => {} + Err(Error::EmptySnapshot) => {} + Err(e) => return Err(e), + }; + } + + let _ = check_and_update_target_snapshot(n_pages - 1, storage, snapshot).await; + + Ok(()) +} + +/// Similar to `fetch_missing_snapshots_lossy` but it returns an error if any snapshot is missing. +pub(crate) async fn fetch_missing_snapshots( + snapshot: &SharedSnapshot, + storage: &Storage, +) -> Result<(), Error> { + let n_pages = snapshot.read().n_pages; + + for page in 0..n_pages { + check_and_update_voter_snapshot(page, storage, snapshot).await?; + } + + check_and_update_target_snapshot(n_pages - 1, storage, snapshot).await +} + +pub(crate) async fn paged_voter_snapshot_hash(page: u32, storage: &Storage) -> Result { + let bytes = storage + .fetch(&storage_addr( + pallet_api::multi_block::storage::PAGED_VOTER_SNAPSHOT_HASH, + vec![Value::from(page)], + )) + .await? + .ok_or(Error::EmptySnapshot)?; + + Decode::decode(&mut bytes.encoded()).map_err(Into::into) +} + +pub(crate) async fn target_snapshot_hash(page: u32, storage: &Storage) -> Result { + let bytes = storage + .fetch(&storage_addr( + pallet_api::multi_block::storage::PAGED_TARGET_SNAPSHOT_HASH, + vec![Value::from(page)], + )) + .await? + .ok_or(Error::EmptySnapshot)?; + + Decode::decode(&mut bytes.encoded()).map_err(Into::into) +} + +pub(crate) async fn check_and_update_voter_snapshot( + page: u32, + storage: &Storage, + snapshot: &SharedSnapshot, +) -> Result<(), Error> { + let snapshot_hash = paged_voter_snapshot_hash(page, storage).await?; + if snapshot.read().needs_voter_page(page, snapshot_hash) { + let voter_snapshot = paged_voter_snapshot::(page, storage).await?; + snapshot + .write() + .set_voter_page(page, voter_snapshot, snapshot_hash); + } + Ok(()) +} + +pub(crate) async fn check_and_update_target_snapshot( + page: u32, + storage: &Storage, + snapshot: &SharedSnapshot, +) -> Result<(), Error> { + let snapshot_hash = target_snapshot_hash(page, storage).await?; + if snapshot.read().needs_target_snapshot(snapshot_hash) { + let target_snapshot = target_snapshot::(page, storage).await?; + snapshot + .write() + .set_target_snapshot(target_snapshot, snapshot_hash); + } + Ok(()) +} + +/// Submit a multi-block solution. +/// +/// It registers the score and submits all solution pages. +pub(crate) async fn submit( + client: &Client, + signer: &Signer, + mut paged_raw_solution: PagedRawSolution, + listen: Listen, +) -> Result<(), Error> { + let mut i = 0; + let tx_status = loop { + let nonce = client + .rpc() + .system_account_next_index(signer.account_id()) + .await?; + + // Register score. + match submit_inner( + client, + signer.clone(), + MultiBlockTransaction::register_score(paged_raw_solution.score)?, + nonce, + ) + .await + { + Ok(tx) => break tx, + Err(Error::Subxt(subxt::Error::Transaction(e))) => { + i += 1; + if i >= 10 { + return Err(Error::Subxt(subxt::Error::Transaction(e))); + } + log::debug!(target: LOG_TARGET, "Failed to register score: {:?}; retrying", e); + tokio::time::sleep(std::time::Duration::from_secs(6)).await; + } + Err(e) => return Err(e), + } + }; + + // 1. Wait for the `register_score tx` to be included in a block. + // + // NOTE: It's slow to iterate over the events to check if the score was registered + // but it's performed for registering the score only once. + let tx = utils::wait_tx_in_block_for_strategy(tx_status, listen).await?; + let events = tx.wait_for_success().await?; + if !events.has::()? { + return Err(Error::MissingTxEvent("Register score".to_string())); + }; + + log::info!(target: LOG_TARGET, "Score registered at block {:?}", tx.block_hash()); + + let solutions: Vec<(u32, T::Solution)> = paged_raw_solution + .solution_pages + .iter() + .enumerate() + .map(|(page, solution)| (page as u32, solution.clone())) + .collect::>(); + + // 2. Submit all solution pages. + let failed_pages = inner_submit_pages::(client, signer, solutions, listen).await?; + + // 3. All pages were submitted successfully, we are done. + if failed_pages.is_empty() { + return Ok(()); + } + + log::info!( + target: LOG_TARGET, + "Failed to submit pages: {:?}; retrying", + failed_pages.len() + ); + + // 4. Retry failed pages, one time. + let mut solutions = Vec::new(); + for page in failed_pages { + let solution = std::mem::take(&mut paged_raw_solution.solution_pages[page as usize]); + solutions.push((page, solution)); + } + + let failed_pages = inner_submit_pages::(client, signer, solutions, listen).await?; + + if failed_pages.is_empty() { + Ok(()) + } else { + Err(Error::FailedToSubmitPages(failed_pages.len())) + } +} + +pub(crate) async fn inner_submit_pages( + client: &Client, + signer: &Signer, + paged_raw_solution: Vec<(u32, T::Solution)>, + listen: Listen, +) -> Result, Error> { + let mut txs = FuturesUnordered::new(); + + let mut nonce = client + .rpc() + .system_account_next_index(signer.account_id()) + .await?; + + let len = paged_raw_solution.len(); + + // 1. Submit all solution pages. + for (page, solution) in paged_raw_solution.into_iter() { + let tx_status = submit_inner( + client, + signer.clone(), + MultiBlockTransaction::submit_page::(page, Some(solution))?, + nonce, + ) + .await?; + + txs.push(async move { + match utils::wait_tx_in_block_for_strategy(tx_status, listen).await { + Ok(tx) => Ok(tx), + Err(_) => Err(page), + } + }); + + nonce += 1; + } + + // 2. Wait for all pages to be included in a block. + let mut failed_pages = Vec::new(); + let mut submitted_pages = HashSet::new(); + + while let Some(page) = txs.next().await { + match page { + Ok(tx) => { + let hash = tx.block_hash(); + + // NOTE: It's slow to iterate over the events and that's we are + // submitting all pages "at once" and several pages are submitted in the same block. + let events = tx.wait_for_success().await?; + for event in events.iter() { + let event = event?; + + if let Some(solution_stored) = + event.as_event::()? + { + let page = solution_stored.2; + + log::info!( + target: LOG_TARGET, + "Page {page} included in block {:?}", + hash + ); + + submitted_pages.insert(solution_stored.2); + } + } + } + Err(p) => { + failed_pages.push(p); + } + } + + if submitted_pages.len() == len { + return Ok(vec![]); + } + } + + Ok(failed_pages) +} diff --git a/src/dynamic/pallet_api.rs b/src/dynamic/pallet_api.rs new file mode 100644 index 000000000..0d76d5c85 --- /dev/null +++ b/src/dynamic/pallet_api.rs @@ -0,0 +1,184 @@ +use crate::{ + dynamic::utils::invalid_metadata_error, + error::Error, + prelude::{ChainClient, LOG_TARGET}, +}; +use serde::de::DeserializeOwned; +use std::marker::PhantomData; + +/// Represent a pallet item which can be a constant, storage or transaction. +#[derive(Copy, Clone, Debug)] +pub struct PalletItem { + pallet: &'static str, + variant: &'static str, +} + +impl std::fmt::Display for PalletItem { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + f.write_fmt(format_args!("{}::{}", self.pallet, self.variant)) + } +} + +impl PalletItem { + pub const fn new(pallet: &'static str, variant: &'static str) -> Self { + Self { pallet, variant } + } + pub const fn into_parts(self) -> (&'static str, &'static str) { + (self.pallet, self.variant) + } +} + +/// Represents a constant in a pallet. +#[derive(Copy, Clone, Debug)] +pub struct PalletConstant { + inner: PalletItem, + _marker: PhantomData, +} + +impl PalletConstant { + pub const fn new(pallet: &'static str, variant: &'static str) -> Self { + Self { + inner: PalletItem::new(pallet, variant), + _marker: PhantomData, + } + } + + pub fn fetch(&self, api: &ChainClient) -> Result { + let (pallet, variant) = self.inner.into_parts(); + + let val = api + .constants() + .at(&subxt::dynamic::constant(pallet, variant)) + .map_err(|e| invalid_metadata_error(variant.to_string(), e))? + .to_value() + .map_err(|e| Error::Subxt(e.into()))?; + + let val = scale_value::serde::from_value::<_, T>(val).map_err(|e| { + Error::InvalidMetadata(format!( + "Decoding constant {pallet}:{variant} type: `{}` couldn't be decoded {}", + std::any::type_name::(), + e + )) + })?; + + log::trace!(target: LOG_TARGET, "updating metadata constant `{}`: {val}", self.inner); + Ok(val) + } +} + +pub mod multi_block { + pub const NAME: &str = "MultiBlock"; + + pub mod constants { + use super::{super::*, *}; + pub const PAGES: PalletConstant = PalletConstant::new(NAME, "Pages"); + pub const TARGET_SNAPSHOT_PER_BLOCK: PalletConstant = + PalletConstant::new(NAME, "TargetSnapshotPerBlock"); + pub const VOTER_SNAPSHOT_PER_BLOCK: PalletConstant = + PalletConstant::new(NAME, "VoterSnapshotPerBlock"); + } + + pub mod storage { + use super::{super::*, *}; + pub const PAGED_TARGET_SNAPSHOT: PalletItem = PalletItem::new(NAME, "PagedTargetSnapshot"); + pub const PAGED_TARGET_SNAPSHOT_HASH: PalletItem = + PalletItem::new(NAME, "PagedTargetSnapshotHash"); + pub const PAGED_VOTER_SNAPSHOT: PalletItem = PalletItem::new(NAME, "PagedVoterSnapshot"); + pub const PAGED_VOTER_SNAPSHOT_HASH: PalletItem = + PalletItem::new(NAME, "PagedVoterSnapshotHash"); + } +} + +pub mod multi_block_verifier { + pub const NAME: &str = "MultiBlockVerifier"; + + pub mod constants { + use super::{super::*, *}; + pub const MAX_WINNERS_PER_PAGE: PalletConstant = + PalletConstant::new(NAME, "MaxWinnersPerPage"); + pub const MAX_BACKERS_PER_WINNER: PalletConstant = + PalletConstant::new(NAME, "MaxBackersPerWinner"); + } +} + +pub mod election_provider_multi_phase { + pub const NAME: &str = "ElectionProviderMultiPhase"; + + pub mod constants { + use super::{super::*, *}; + use polkadot_sdk::frame_support::weights::Weight; + + pub const MAX_VOTES_PER_VOTER: PalletConstant = + PalletConstant::new(NAME, "MinerMaxVotesPerVoter"); + pub const MAX_LENGTH: PalletConstant = PalletConstant::new(NAME, "MinerMaxLength"); + pub const MAX_WEIGHT: PalletConstant = PalletConstant::new(NAME, "SignedMaxWeight"); + // NOTE: `MaxWinners` is used instead of `MinerMaxWinners` to work with older metadata. + pub const MAX_WINNERS: PalletConstant = PalletConstant::new(NAME, "MaxWinners"); + } + + pub mod storage { + use super::{super::*, *}; + pub const SIGNED_SUBMISSIONS_MAP: PalletItem = + PalletItem::new(NAME, "SignedSubmissionsMap"); + pub const SNAPSHOT: PalletItem = PalletItem::new(NAME, "Snapshot"); + } + + pub mod tx { + use super::{super::*, *}; + pub const SUBMIT_UNSIGNED: PalletItem = PalletItem::new(NAME, "submit_unsigned"); + pub const SUBMIT: PalletItem = PalletItem::new(NAME, "submit"); + pub const EMERGENCY: PalletItem = PalletItem::new(NAME, "set_emergency_election_result"); + } +} + +pub mod multi_block_signed { + pub const NAME: &str = "MultiBlockSigned"; + + pub mod tx { + use super::{super::*, *}; + pub const SUBMIT_PAGE: PalletItem = PalletItem::new(NAME, "submit_page"); + pub const REGISTER: PalletItem = PalletItem::new(NAME, "register"); + } +} + +pub mod system { + use codec::Decode; + use serde::Deserialize; + + const NAME: &str = "System"; + + /// Simplified version of the `BlockLength` type to get the total block length. + #[derive(Decode, Deserialize, Debug)] + pub struct BlockLength { + max: PerDispatchClass, + } + + impl BlockLength { + pub fn total(&self) -> u32 { + let mut total = 0_u32; + total = total.saturating_add(self.max.normal); + total = total.saturating_add(self.max.operational); + total = total.saturating_add(self.max.mandatory); + total + } + } + + impl std::fmt::Display for BlockLength { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + write!(f, "{}", self.total()) + } + } + + #[derive(Decode, Deserialize, Debug)] + pub struct PerDispatchClass { + normal: u32, + operational: u32, + mandatory: u32, + } + + pub mod constants { + use super::{super::*, *}; + pub const BLOCK_LENGTH: PalletConstant = + PalletConstant::new(NAME, "BlockLength"); + } +} diff --git a/src/dynamic/utils.rs b/src/dynamic/utils.rs new file mode 100644 index 000000000..f3b41e6fd --- /dev/null +++ b/src/dynamic/utils.rs @@ -0,0 +1,54 @@ +use super::pallet_api::PalletItem; +use crate::error::Error; +use codec::Encode; +use scale_info::PortableRegistry; +use scale_value::scale::decode_as_type; +use subxt::dynamic::Value; + +type TypeId = u32; + +pub fn invalid_metadata_error(item: String, err: E) -> Error { + Error::InvalidMetadata(format!("{} failed: {}", item, err)) +} + +pub fn make_type() -> (TypeId, PortableRegistry) { + let m = scale_info::MetaType::new::(); + let mut types = scale_info::Registry::new(); + let id = types.register_type(&m); + let portable_registry: PortableRegistry = types.into(); + + (id.id, portable_registry) +} + +pub fn to_scale_value(val: T) -> Result { + let (ty_id, types) = make_type::(); + let bytes = val.encode(); + + decode_as_type(&mut bytes.as_ref(), ty_id, &types) + .map(|v| v.remove_context()) + .map_err(|e| decode_error::(e)) +} + +pub fn storage_addr( + storage: PalletItem, + params: P, +) -> subxt::storage::DynamicAddress

{ + let (pallet, variant) = storage.into_parts(); + subxt::dynamic::storage(pallet, variant, params) +} + +pub fn tx( + tx: PalletItem, + call_data: impl Into>, +) -> subxt::tx::DynamicPayload { + let (pallet, variant) = tx.into_parts(); + subxt::dynamic::tx(pallet, variant, call_data) +} + +pub fn decode_error(err: impl std::error::Error) -> Error { + Error::DynamicTransaction(format!( + "Failed to decode {}: {:?}", + std::any::type_name::(), + err + )) +} diff --git a/src/error.rs b/src/error.rs index 1051bbad5..b28a4ad0a 100644 --- a/src/error.rs +++ b/src/error.rs @@ -36,7 +36,7 @@ pub enum Error { AccountDoesNotExists, #[error("Submission with better score already exist")] BetterScoreExist, - #[error("Invalid chain: `{0}`, staking-miner supports only polkadot, kusama and westend")] + #[error("Invalid chain: `{0}`, staking-miner supports only polkadot, kusama, westend, node and asset-hub-next")] InvalidChain(String), #[error("Other error: `{0}`")] Other(String), @@ -52,4 +52,14 @@ pub enum Error { Join(#[from] tokio::task::JoinError), #[error("Empty snapshot")] EmptySnapshot, + #[error("Missing event for transaction: {0}")] + MissingTxEvent(String), + #[error("Failed to submit {0} pages")] + FailedToSubmitPages(usize), +} + +impl From for Error { + fn from(e: subxt_core::Error) -> Self { + Self::Subxt(e.into()) + } } diff --git a/src/helpers.rs b/src/helpers.rs deleted file mode 100644 index 23a7ed038..000000000 --- a/src/helpers.rs +++ /dev/null @@ -1,157 +0,0 @@ -// Copyright 2021-2022 Parity Technologies (UK) Ltd. -// This file is part of Polkadot. - -// Polkadot is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. - -// Polkadot is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License -// along with Polkadot. If not, see . - -use crate::{error::Error, prelude::*}; -use codec::Decode; -use jsonrpsee::core::ClientError as JsonRpseeError; -use pin_project_lite::pin_project; -use polkadot_sdk::frame_support::weights::Weight; -use serde::Deserialize; -use std::{ - future::Future, - pin::Pin, - task::{Context, Poll}, - time::{Duration, Instant}, -}; -use subxt::{ - error::{Error as SubxtError, RpcError}, - storage::Storage, -}; - -pin_project! { - pub struct Timed - where - Fut: Future, - { - #[pin] - inner: Fut, - start: Option, - } -} - -impl Future for Timed -where - Fut: Future, -{ - type Output = (Fut::Output, Duration); - - fn poll(self: Pin<&mut Self>, cx: &mut Context) -> Poll { - let this = self.project(); - let start = this.start.get_or_insert_with(Instant::now); - - match this.inner.poll(cx) { - Poll::Pending => Poll::Pending, - Poll::Ready(v) => { - let elapsed = start.elapsed(); - Poll::Ready((v, elapsed)) - } - } - } -} - -pub trait TimedFuture: Sized + Future { - fn timed(self) -> Timed { - Timed { - inner: self, - start: None, - } - } -} - -impl TimedFuture for F {} - -/// Custom `RuntimeDispatchInfo` type definition similar to -/// what is in substrate but only tries to decode the `weight` field. -/// -/// All other fields are not used by the staking miner. -#[derive(Decode, Default, Debug, Deserialize)] -pub struct RuntimeDispatchInfo { - /// Weight of this dispatch. - pub weight: Weight, -} - -pub fn kill_main_task_if_critical_err(tx: &tokio::sync::mpsc::UnboundedSender, err: Error) { - match err { - Error::AlreadySubmitted - | Error::BetterScoreExist - | Error::IncorrectPhase - | Error::TransactionRejected(_) - | Error::Join(_) - | Error::Feasibility(_) - | Error::EmptySnapshot => {} - Error::Subxt(SubxtError::Rpc(rpc_err)) => { - log::debug!(target: LOG_TARGET, "rpc error: {:?}", rpc_err); - - match rpc_err { - RpcError::ClientError(e) => { - let jsonrpsee_err = match e.downcast::() { - Ok(e) => *e, - Err(_) => { - let _ = tx.send(Error::Other( - "Failed to downcast RPC error; this is a bug please file an issue" - .to_string(), - )); - return; - } - }; - - match jsonrpsee_err { - JsonRpseeError::Call(e) => { - const BAD_EXTRINSIC_FORMAT: i32 = 1001; - const VERIFICATION_ERROR: i32 = 1002; - use jsonrpsee::types::error::ErrorCode; - - // Check if the transaction gets fatal errors from the `author` RPC. - // It's possible to get other errors such as outdated nonce and similar - // but then it should be possible to try again in the next block or round. - if e.code() == BAD_EXTRINSIC_FORMAT - || e.code() == VERIFICATION_ERROR - || e.code() == ErrorCode::MethodNotFound.code() - { - let _ = tx.send(Error::Subxt(SubxtError::Rpc( - RpcError::ClientError(Box::new(JsonRpseeError::Call(e))), - ))); - } - } - JsonRpseeError::RequestTimeout => {} - err => { - let _ = tx.send(Error::Subxt(SubxtError::Rpc(RpcError::ClientError( - Box::new(err), - )))); - } - } - } - RpcError::SubscriptionDropped => (), - _ => (), - } - } - err => { - let _ = tx.send(err); - } - } -} - -/// Helper to get storage at block. -pub async fn storage_at( - block: Option, - api: &ChainClient, -) -> Result, Error> { - if let Some(block_hash) = block { - Ok(api.storage().at(block_hash)) - } else { - api.storage().at_latest().await.map_err(Into::into) - } -} diff --git a/src/lib.rs b/src/lib.rs index a78d9600c..5639e6121 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -14,15 +14,17 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -#![allow(dead_code)] +#![cfg_attr(docsrs, feature(doc_cfg))] pub mod client; pub mod commands; -pub mod epm; +pub mod dynamic; pub mod error; -pub mod helpers; +pub mod macros; pub mod opt; pub mod prelude; pub mod prometheus; +pub mod runtime; pub mod signer; pub mod static_types; +pub mod utils; diff --git a/src/macros.rs b/src/macros.rs new file mode 100644 index 000000000..1003af907 --- /dev/null +++ b/src/macros.rs @@ -0,0 +1,105 @@ +/// Macro to mimic a polkadot-sdk runtime parameter type +/// +/// Internally, it uses an AtomicU32 to store the value which +/// can be accessed and set using the get and set APIs +/// +/// Example: +/// impl_u32_parameter_type(module_name, Type); +macro_rules! impl_u32_parameter_type { + ($mod:ident, $name:ident) => { + mod $mod { + use std::sync::atomic::{AtomicU32, Ordering}; + static VAL: AtomicU32 = AtomicU32::new(0); + pub struct $name; + + impl $name { + pub fn get() -> u32 { + VAL.load(Ordering::SeqCst) + } + } + impl> polkadot_sdk::frame_support::traits::Get for $name { + fn get() -> I { + I::from(Self::get()) + } + } + + impl $name { + pub fn set(val: u32) { + VAL.store(val, std::sync::atomic::Ordering::SeqCst); + } + } + } + pub use $mod::$name; + }; +} + +// A helper to configure to correct MinerConfig depending on chain. +#[allow(unused_macros)] +macro_rules! for_legacy_runtime { + ($chain:tt, $($code:tt)*) => { + match $chain { + $crate::opt::Chain::Polkadot => { + #[allow(unused)] + use $crate::static_types::legacy::polkadot::MinerConfig; + $($code)* + }, + $crate::opt::Chain::Kusama => { + #[allow(unused)] + use $crate::static_types::legacy::kusama::MinerConfig; + $($code)* + }, + $crate::opt::Chain::Westend => { + #[allow(unused)] + use $crate::static_types::legacy::westend::MinerConfig; + $($code)* + }, + $crate::opt::Chain::AssetHubNext => { + #[allow(unused)] + use $crate::static_types::legacy::westend::MinerConfig; + $($code)* + } + $crate::opt::Chain::SubstrateNode => { + #[allow(unused)] + use $crate::static_types::legacy::node::MinerConfig; + $($code)* + } + } + }; +} + +// A helper to configure to correct MinerConfig depending on chain. +#[allow(unused_macros)] +macro_rules! for_multi_block_runtime { + ($chain:tt, $($code:tt)*) => { + match $chain { + $crate::opt::Chain::Polkadot => { + #[allow(unused)] + use $crate::static_types::multi_block::polkadot::MinerConfig; + $($code)* + }, + $crate::opt::Chain::Kusama => { + #[allow(unused)] + use $crate::static_types::multi_block::kusama::MinerConfig; + $($code)* + }, + $crate::opt::Chain::Westend => { + #[allow(unused)] + use $crate::static_types::multi_block::westend::MinerConfig; + $($code)* + }, + $crate::opt::Chain::AssetHubNext => { + #[allow(unused)] + use $crate::static_types::multi_block::westend::MinerConfig; + $($code)* + } + $crate::opt::Chain::SubstrateNode => { + #[allow(unused)] + use $crate::static_types::multi_block::node::MinerConfig; + $($code)* + } + } + }; +} + +#[allow(unused)] +pub(crate) use {for_legacy_runtime, for_multi_block_runtime, impl_u32_parameter_type}; diff --git a/src/main.rs b/src/main.rs index 27577ac17..1e7e348e6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -17,7 +17,8 @@ //! # Polkadot Staking Miner. //! //! Simple bot capable of monitoring a polkadot (and cousins) chain and submitting solutions to the -//! `pallet-election-provider-multi-phase`. See `--help` for more details. +//! `pallet-election-provider-multi-phase` and `experimental support for pallet-election-provider-multi-block`. +//! See `help` for more information. //! //! # Implementation Notes: //! @@ -28,21 +29,26 @@ //! development. It is intended to run this bot with a `restart = true` way, so that it reports it //! crash, but resumes work thereafter. +#![cfg_attr(docsrs, feature(doc_cfg))] + mod client; mod commands; -mod epm; +mod dynamic; mod error; -mod helpers; +mod macros; mod opt; mod prelude; mod prometheus; +mod runtime; mod signer; mod static_types; +mod utils; use clap::Parser; +use dynamic::update_metadata_constants; use error::Error; use futures::future::{BoxFuture, FutureExt}; -use prelude::*; +use prelude::{ChainClient, DEFAULT_PROMETHEUS_PORT, DEFAULT_URI, LOG_TARGET, SHARED_CLIENT}; use std::str::FromStr; use tokio::sync::oneshot; use tracing_subscriber::EnvFilter; @@ -76,36 +82,15 @@ pub struct Opt { #[cfg_attr(test, derive(PartialEq))] pub enum Command { /// Monitor for the phase being signed, then compute. - Monitor(commands::MonitorConfig), + Monitor(commands::types::MonitorConfig), /// Just compute a solution now, and don't submit it. - DryRun(commands::DryRunConfig), + DryRun(commands::types::DryRunConfig), /// Provide a solution that can be submitted to the chain as an emergency response. - EmergencySolution(commands::EmergencySolutionConfig), + EmergencySolution(commands::types::EmergencySolutionConfig), /// Check if the staking-miner metadata is compatible to a remote node. Info, -} - -// A helper to use different MinerConfig depending on chain. -macro_rules! any_runtime { - ($chain:tt, $($code:tt)*) => { - match $chain { - $crate::opt::Chain::Polkadot => { - #[allow(unused)] - use $crate::static_types::polkadot::MinerConfig; - $($code)* - }, - $crate::opt::Chain::Kusama => { - #[allow(unused)] - use $crate::static_types::kusama::MinerConfig; - $($code)* - }, - $crate::opt::Chain::Westend => { - #[allow(unused)] - use $crate::static_types::westend::MinerConfig; - $($code)* - }, - } - }; + /// Experimental multi-block monitor command. + ExperimentalMonitorMultiBlock(commands::types::ExperimentalMultiBlockMonitorConfig), } #[tokio::main] @@ -126,7 +111,8 @@ async fn main() -> Result<(), Error> { let _prometheus_handle = prometheus::run(prometheus_port) .map_err(|e| log::warn!("Failed to start prometheus endpoint: {}", e)); log::info!(target: LOG_TARGET, "Connected to chain: {}", chain); - epm::update_metadata_constants(client.chain_api())?; + + let is_legacy = !matches!(command, Command::ExperimentalMonitorMultiBlock(_)); SHARED_CLIENT .set(client.clone()) @@ -135,35 +121,55 @@ async fn main() -> Result<(), Error> { // Start a new tokio task to perform the runtime updates in the background. // if this fails then the miner will be stopped and has to be re-started. let (tx_upgrade, rx_upgrade) = oneshot::channel::(); - tokio::spawn(runtime_upgrade_task(client.chain_api().clone(), tx_upgrade)); - - let res = any_runtime!(chain, { - let fut = match command { - Command::Monitor(cfg) => commands::monitor_cmd::(client, cfg).boxed(), - Command::DryRun(cfg) => commands::dry_run_cmd::(client, cfg).boxed(), - Command::EmergencySolution(cfg) => { - commands::emergency_solution_cmd::(client, cfg).boxed() - } - Command::Info => async { - let is_compat = if runtime::is_codegen_valid_for(&client.chain_api().metadata()) { - "YES" - } else { - "NO" - }; + tokio::spawn(runtime_upgrade_task( + client.chain_api().clone(), + tx_upgrade, + is_legacy, + )); - let remote_node = serde_json::to_string_pretty(&runtime_version) - .expect("Serialize is infallible; qed"); + update_metadata_constants(client.chain_api(), is_legacy)?; - eprintln!("Remote_node:\n{remote_node}"); - eprintln!("Compatible: {is_compat}"); + let fut = match command { + Command::Info => async { + let is_compat = if runtime::legacy::is_codegen_valid_for(&client.chain_api().metadata()) + { + "YES" + } else { + "NO" + }; - Ok(()) - } - .boxed(), - }; + let remote_node = serde_json::to_string_pretty(&runtime_version) + .expect("Serialize is infallible; qed"); + + eprintln!("Remote_node:\n{remote_node}"); + eprintln!("Compatible: {is_compat}"); - run_command(fut, rx_upgrade).await - }); + Ok(()) + } + .boxed(), + Command::Monitor(cfg) => { + macros::for_legacy_runtime!(chain, { + commands::legacy::monitor_cmd::(client, cfg).boxed() + }) + } + Command::DryRun(cfg) => { + macros::for_legacy_runtime!(chain, { + commands::legacy::dry_run_cmd::(client, cfg).boxed() + }) + } + Command::EmergencySolution(cfg) => { + macros::for_legacy_runtime!(chain, { + commands::legacy::emergency_solution_cmd::(client, cfg).boxed() + }) + } + Command::ExperimentalMonitorMultiBlock(cfg) => { + macros::for_multi_block_runtime!(chain, { + commands::multi_block::monitor_cmd::(client, cfg).boxed() + }) + } + }; + + let res = run_command(fut, rx_upgrade).await; log::debug!(target: LOG_TARGET, "round of execution finished. outcome = {:?}", res); res @@ -215,7 +221,7 @@ async fn run_command( } /// Runs until the RPC connection fails or updating the metadata failed. -async fn runtime_upgrade_task(client: ChainClient, tx: oneshot::Sender) { +async fn runtime_upgrade_task(client: ChainClient, tx: oneshot::Sender, is_legacy: bool) { let updater = client.updater(); let mut update_stream = match updater.runtime_updates().await { @@ -246,7 +252,7 @@ async fn runtime_upgrade_task(client: ChainClient, tx: oneshot::Sender) { let version = update.runtime_version().spec_version; match updater.apply_update(update) { Ok(()) => { - if let Err(e) = epm::update_metadata_constants(&client) { + if let Err(e) = dynamic::update_metadata_constants(&client, is_legacy) { let _ = tx.send(e); return; } @@ -263,7 +269,9 @@ async fn runtime_upgrade_task(client: ChainClient, tx: oneshot::Sender) { #[cfg(test)] mod tests { use super::*; - use commands::monitor; + use crate::commands::types::{ + DryRunConfig, EmergencySolutionConfig, Listen, MonitorConfig, SubmissionStrategy, + }; #[test] fn cli_monitor_works() { @@ -290,10 +298,10 @@ mod tests { uri: "hi".to_string(), prometheus_port: 9999, log: "info".to_string(), - command: Command::Monitor(commands::MonitorConfig { - listen: monitor::Listen::Head, + command: Command::Monitor(MonitorConfig { + listen: Listen::Head, solver: opt::Solver::SeqPhragmen { iterations: 10 }, - submission_strategy: monitor::SubmissionStrategy::IfLeading, + submission_strategy: SubmissionStrategy::IfLeading, seed_or_path: "//Alice".to_string(), delay: 12, dry_run: false, @@ -321,7 +329,7 @@ mod tests { uri: "hi".to_string(), prometheus_port: 9999, log: "info".to_string(), - command: Command::DryRun(commands::DryRunConfig { + command: Command::DryRun(DryRunConfig { at: None, solver: opt::Solver::PhragMMS { iterations: 10 }, force_snapshot: false, @@ -352,7 +360,7 @@ mod tests { uri: "hi".to_string(), prometheus_port: 9999, log: "info".to_string(), - command: Command::EmergencySolution(commands::EmergencySolutionConfig { + command: Command::EmergencySolution(EmergencySolutionConfig { at: None, force_winner_count: Some(99), solver: opt::Solver::PhragMMS { iterations: 1337 }, diff --git a/src/opt.rs b/src/opt.rs index f53fe6d51..3d6236499 100644 --- a/src/opt.rs +++ b/src/opt.rs @@ -50,6 +50,8 @@ pub enum Chain { Westend, Kusama, Polkadot, + SubstrateNode, + AssetHubNext, } impl fmt::Display for Chain { @@ -58,6 +60,8 @@ impl fmt::Display for Chain { Self::Polkadot => "polkadot", Self::Kusama => "kusama", Self::Westend => "westend", + Self::SubstrateNode => "node", + Self::AssetHubNext => "asset-hub-next", }; write!(f, "{}", chain) } @@ -70,7 +74,9 @@ impl std::str::FromStr for Chain { match s { "polkadot" => Ok(Self::Polkadot), "kusama" => Ok(Self::Kusama), - "westend" | "node" => Ok(Self::Westend), + "westend" => Ok(Self::Westend), + "asset-hub-next" => Ok(Self::AssetHubNext), + "node" => Ok(Self::SubstrateNode), chain => Err(Error::InvalidChain(chain.to_string())), } } diff --git a/src/prelude.rs b/src/prelude.rs index 29f321b09..3b6a751cd 100644 --- a/src/prelude.rs +++ b/src/prelude.rs @@ -1,40 +1,8 @@ -// Copyright 2021-2022 Parity Technologies (UK) Ltd. -// This file is part of Polkadot. - -// Polkadot is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. - -// Polkadot is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License -// along with Polkadot. If not, see . - -//! Types that we don't fetch from a particular runtime and just assume that they are constant all -//! of the place. -//! -//! It is actually easy to convert the rest as well, but it'll be a lot of noise in our codebase, -//! needing to sprinkle `any_runtime` in a few extra places. - -// re-exports. -pub use polkadot_sdk::{ - pallet_election_provider_multi_phase::{Miner, MinerConfig}, - sp_runtime::traits::{Block as BlockT, Header as HeaderT}, -}; -/// The account id type. -pub type AccountId = polkadot_sdk::sp_runtime::AccountId32; /// The header type. We re-export it here, but we can easily get it from block as well. pub type Header = subxt::config::substrate::SubstrateHeader; /// The header type. We re-export it here, but we can easily get it from block as well. pub type Hash = subxt::utils::H256; -/// Balance type -pub type Balance = u128; - /// Default URI to connect to. /// /// This will never work on a remote node, so we might as well try a local node. @@ -43,37 +11,25 @@ pub const DEFAULT_URI: &str = "ws://127.0.0.1:9944"; pub const DEFAULT_PROMETHEUS_PORT: u16 = 9999; /// The logging target. pub const LOG_TARGET: &str = "polkadot-staking-miner"; -/// The key pair type being used. We "strongly" assume sr25519 for simplicity. -pub type Pair = polkadot_sdk::sp_core::sr25519::Pair; -/// The accuracy that we use for election computations. -pub type Accuracy = polkadot_sdk::sp_runtime::Perbill; /// RPC client. pub type RpcClient = subxt::backend::legacy::LegacyRpcMethods; /// Subxt client used by the staking miner on all chains. pub type ChainClient = subxt::OnlineClient; /// Config used by the staking-miner pub type Config = subxt::PolkadotConfig; -/// Submission type used by the staking miner. -pub type SignedSubmission = - polkadot_sdk::pallet_election_provider_multi_phase::SignedSubmission; - -#[subxt::subxt( - runtime_metadata_path = "artifacts/metadata.scale", - derive_for_all_types = "Clone, Debug, Eq, PartialEq", - derive_for_type( - path = "pallet_election_provider_multi_phase::RoundSnapshot", - derive = "Default" - ), - substitute_type( - path = "sp_npos_elections::ElectionScore", - with = "::subxt::utils::Static" - ), - substitute_type( - path = "pallet_election_provider_multi_phase::Phase", - with = "::subxt::utils::Static>" - ) -)] -pub mod runtime {} - +/// Shared client. pub static SHARED_CLIENT: once_cell::sync::OnceCell = once_cell::sync::OnceCell::new(); +pub use polkadot_sdk::sp_runtime::traits::{Block as BlockT, Header as HeaderT}; +/// The account id type. +pub type AccountId = polkadot_sdk::sp_runtime::AccountId32; +/// The key pair type being used. We "strongly" assume sr25519 for simplicity. +pub type Pair = polkadot_sdk::sp_core::sr25519::Pair; +/// The accuracy that we use for election computations. +pub type Accuracy = polkadot_sdk::sp_runtime::Perbill; +/// Storage type. +pub type Storage = subxt::storage::Storage; +/// Extrinsic params builder. +pub type ExtrinsicParamsBuilder = subxt::config::DefaultExtrinsicParamsBuilder; +/// Balance type. +pub type Balance = u128; diff --git a/src/prometheus.rs b/src/prometheus.rs index 74cd39c40..6dde235df 100644 --- a/src/prometheus.rs +++ b/src/prometheus.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -use super::prelude::LOG_TARGET; +use crate::prelude::LOG_TARGET; use futures::channel::oneshot; pub use hidden::*; use hyper::{ diff --git a/src/runtime.rs b/src/runtime.rs new file mode 100644 index 000000000..b0d06c342 --- /dev/null +++ b/src/runtime.rs @@ -0,0 +1,23 @@ +#[subxt::subxt( + runtime_metadata_path = "artifacts/multi_block.scale", + derive_for_all_types = "Clone, Debug, Eq, PartialEq", + substitute_type( + path = "sp_npos_elections::ElectionScore", + with = "::subxt::utils::Static" + ) +)] +pub mod multi_block {} + +#[subxt::subxt( + runtime_metadata_path = "artifacts/metadata.scale", + derive_for_all_types = "Clone, Debug, Eq, PartialEq", + substitute_type( + path = "sp_npos_elections::ElectionScore", + with = "::subxt::utils::Static" + ), + substitute_type( + path = "pallet_election_provider_multi_phase::Phase", + with = "::subxt::utils::Static>" + ) +)] +pub mod legacy {} diff --git a/src/signer.rs b/src/signer.rs index 4a729210f..472652676 100644 --- a/src/signer.rs +++ b/src/signer.rs @@ -18,7 +18,7 @@ use crate::{ error::Error, - prelude::{Config as PolkadotConfig, Pair}, + prelude::{Config, Pair}, }; use polkadot_sdk::{ sp_core::Pair as PairT, @@ -27,12 +27,11 @@ use polkadot_sdk::{ MultiSignature as SpMultiSignature, }, }; -use subxt::Config; /// A [`Signer`] implementation that can be constructed from an [`Pair`]. #[derive(Clone)] pub struct PairSigner { - account_id: ::AccountId, + account_id: ::AccountId, signer: Pair, } @@ -48,21 +47,21 @@ impl PairSigner { } /// Return the account ID. - pub fn account_id(&self) -> &::AccountId { + pub fn account_id(&self) -> &::AccountId { &self.account_id } } -impl subxt::tx::Signer for PairSigner { - fn account_id(&self) -> ::AccountId { +impl subxt::tx::Signer for PairSigner { + fn account_id(&self) -> ::AccountId { self.account_id.clone() } - fn address(&self) -> ::Address { + fn address(&self) -> ::Address { self.account_id.clone().into() } - fn sign(&self, signer_payload: &[u8]) -> ::Signature { + fn sign(&self, signer_payload: &[u8]) -> ::Signature { let signature = self.signer.sign(signer_payload); subxt::config::substrate::MultiSignature::Sr25519(signature.0) } diff --git a/src/static_types.rs b/src/static_types/legacy.rs similarity index 71% rename from src/static_types.rs rename to src/static_types/legacy.rs index d69074af6..bd3f89aed 100644 --- a/src/static_types.rs +++ b/src/static_types/legacy.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -use crate::{epm, prelude::*}; +use crate::{dynamic::legacy as dynamic, macros::impl_u32_parameter_type, prelude::AccountId}; use polkadot_sdk::{ frame_election_provider_support::{self, traits::NposSolution}, frame_support::{self, traits::ConstU32, weights::Weight}, @@ -22,40 +22,8 @@ use polkadot_sdk::{ sp_runtime, }; -macro_rules! impl_atomic_u32_parameter_types { - ($mod:ident, $name:ident) => { - mod $mod { - use std::sync::atomic::{AtomicU32, Ordering}; - - static VAL: AtomicU32 = AtomicU32::new(0); - - pub struct $name; - - impl $name { - pub fn get() -> u32 { - VAL.load(Ordering::SeqCst) - } - } - - impl> polkadot_sdk::frame_support::traits::Get for $name { - fn get() -> I { - I::from(Self::get()) - } - } - - impl $name { - pub fn set(val: u32) { - VAL.store(val, std::sync::atomic::Ordering::SeqCst); - } - } - } - - pub use $mod::$name; - }; -} - mod max_weight { - use polkadot_sdk::frame_support::{self, weights::Weight}; + use polkadot_sdk::frame_support::weights::Weight; use std::sync::atomic::{AtomicU64, Ordering}; static REF_TIME: AtomicU64 = AtomicU64::new(0); @@ -72,7 +40,7 @@ mod max_weight { } } - impl frame_support::traits::Get for MaxWeight { + impl polkadot_sdk::frame_support::traits::Get for MaxWeight { fn get() -> Weight { Self::get() } @@ -86,11 +54,75 @@ mod max_weight { } } -impl_atomic_u32_parameter_types!(max_length, MaxLength); -impl_atomic_u32_parameter_types!(max_votes, MaxVotesPerVoter); -impl_atomic_u32_parameter_types!(max_winners, MaxWinners); +impl_u32_parameter_type!(max_length, MaxLength); +impl_u32_parameter_type!(max_votes, MaxVotesPerVoter); +impl_u32_parameter_type!(max_winners, MaxWinners); pub use max_weight::MaxWeight; +pub mod node { + use super::*; + + // SYNC + frame_election_provider_support::generate_solution_type!( + #[compact] + pub struct NposSolution16::< + VoterIndex = u32, + TargetIndex = u16, + Accuracy = sp_runtime::PerU16, + MaxVoters = ConstU32::<22500> + >(16) + ); + + #[derive(Debug)] + pub struct MinerConfig; + impl pallet_election_provider_multi_phase::unsigned::MinerConfig for MinerConfig { + type AccountId = AccountId; + type MaxLength = MaxLength; + type MaxWeight = MaxWeight; + type MaxVotesPerVoter = MaxVotesPerVoter; + type MaxBackersPerWinner = ConstU32<22500>; + type Solution = NposSolution16; + type MaxWinners = MaxWinners; + + fn solution_weight( + voters: u32, + targets: u32, + active_voters: u32, + desired_targets: u32, + ) -> Weight { + let Some(votes) = dynamic::mock_votes( + active_voters, + desired_targets + .try_into() + .expect("Desired targets < u16::MAX"), + ) else { + return Weight::MAX; + }; + + // Mock a RawSolution to get the correct weight without having to do the heavy work. + let raw = RawSolution { + solution: NposSolution16 { + votes1: votes, + ..Default::default() + }, + ..Default::default() + }; + + if raw.solution.voter_count() != active_voters as usize + || raw.solution.unique_targets().len() != desired_targets as usize + { + return Weight::MAX; + } + + futures::executor::block_on(dynamic::runtime_api_solution_weight( + raw, + SolutionOrSnapshotSize { voters, targets }, + )) + .expect("solution_weight should work") + } + } +} + pub mod westend { use super::*; @@ -112,6 +144,7 @@ pub mod westend { type MaxLength = MaxLength; type MaxWeight = MaxWeight; type MaxVotesPerVoter = MaxVotesPerVoter; + type MaxBackersPerWinner = ConstU32<22500>; type Solution = NposSolution16; type MaxWinners = MaxWinners; @@ -121,7 +154,7 @@ pub mod westend { active_voters: u32, desired_targets: u32, ) -> Weight { - let Some(votes) = epm::mock_votes( + let Some(votes) = dynamic::mock_votes( active_voters, desired_targets .try_into() @@ -145,7 +178,7 @@ pub mod westend { return Weight::MAX; } - futures::executor::block_on(epm::runtime_api_solution_weight( + futures::executor::block_on(dynamic::runtime_api_solution_weight( raw, SolutionOrSnapshotSize { voters, targets }, )) @@ -175,6 +208,7 @@ pub mod polkadot { type MaxLength = MaxLength; type MaxWeight = MaxWeight; type MaxVotesPerVoter = MaxVotesPerVoter; + type MaxBackersPerWinner = ConstU32<22500>; type Solution = NposSolution16; type MaxWinners = MaxWinners; @@ -184,7 +218,7 @@ pub mod polkadot { active_voters: u32, desired_targets: u32, ) -> Weight { - let Some(votes) = epm::mock_votes( + let Some(votes) = dynamic::mock_votes( active_voters, desired_targets .try_into() @@ -208,7 +242,7 @@ pub mod polkadot { return Weight::MAX; } - futures::executor::block_on(epm::runtime_api_solution_weight( + futures::executor::block_on(dynamic::runtime_api_solution_weight( raw, SolutionOrSnapshotSize { voters, targets }, )) @@ -238,6 +272,7 @@ pub mod kusama { type MaxLength = MaxLength; type MaxWeight = MaxWeight; type MaxVotesPerVoter = MaxVotesPerVoter; + type MaxBackersPerWinner = ConstU32<22500>; type Solution = NposSolution24; type MaxWinners = MaxWinners; @@ -247,7 +282,7 @@ pub mod kusama { active_voters: u32, desired_targets: u32, ) -> Weight { - let Some(votes) = epm::mock_votes( + let Some(votes) = dynamic::mock_votes( active_voters, desired_targets .try_into() @@ -271,7 +306,7 @@ pub mod kusama { return Weight::MAX; } - futures::executor::block_on(epm::runtime_api_solution_weight( + futures::executor::block_on(dynamic::runtime_api_solution_weight( raw, SolutionOrSnapshotSize { voters, targets }, )) diff --git a/src/static_types/mod.rs b/src/static_types/mod.rs new file mode 100644 index 000000000..b485b2d14 --- /dev/null +++ b/src/static_types/mod.rs @@ -0,0 +1,10 @@ +//! This module contains the static types or may be hardcoded types for supported runtimes +//! which can't be fetched or instantiated from the metadata or similar. +//! +//! These relies that configuration is corresponding to to the runtime and are error-prone +//! if something changes in the runtime, these needs to be updated manually. +//! +//! In most cases, these will be detected by the integration tests. + +pub mod legacy; +pub mod multi_block; diff --git a/src/static_types/multi_block.rs b/src/static_types/multi_block.rs new file mode 100644 index 000000000..15181eafd --- /dev/null +++ b/src/static_types/multi_block.rs @@ -0,0 +1,162 @@ +use crate::{ + macros::impl_u32_parameter_type, + prelude::{AccountId, Accuracy, Hash}, +}; +use polkadot_sdk::{ + frame_election_provider_support::{self, SequentialPhragmen}, + frame_support, pallet_election_provider_multi_block as multi_block, + sp_runtime::{traits::ConstU32, PerU16, Percent}, +}; + +impl_u32_parameter_type!(pages, Pages); +impl_u32_parameter_type!(target_snapshot_per_block, TargetSnapshotPerBlock); +impl_u32_parameter_type!(voter_snapshot_per_block, VoterSnapshotPerBlock); +impl_u32_parameter_type!(max_winners_per_page, MaxWinnersPerPage); +impl_u32_parameter_type!(max_backers_per_winner, MaxBackersPerWinner); +impl_u32_parameter_type!(max_length, MaxLength); + +pub mod node { + use super::*; + + frame_election_provider_support::generate_solution_type!( + #[compact] + pub struct NposSolution16::< + VoterIndex = u16, + TargetIndex = u16, + Accuracy = Percent, + MaxVoters = ConstU32::<22500> // TODO: fetch + >(16) + ); + + #[derive(Debug)] + pub struct MinerConfig; + + impl multi_block::unsigned::miner::MinerConfig for MinerConfig { + type AccountId = AccountId; + type Solution = NposSolution16; + // TODO: make it configurable via CLI/data from the node. + type Solver = SequentialPhragmen; + type Pages = Pages; + // TODO: make it configurable via CLI/data from the node. + type MaxVotesPerVoter = ConstU32<16>; + type MaxWinnersPerPage = MaxWinnersPerPage; + type MaxBackersPerWinner = MaxBackersPerWinner; + // TODO: make it configurable via CLI/data from the node. + type MaxBackersPerWinnerFinal = ConstU32<{ u32::MAX }>; + type VoterSnapshotPerBlock = VoterSnapshotPerBlock; + type TargetSnapshotPerBlock = TargetSnapshotPerBlock; + type MaxLength = MaxLength; + type Hash = Hash; + } +} + +pub mod polkadot { + use super::*; + use frame_election_provider_support::SequentialPhragmen; + + // TODO: not tested, not sure whether the accuracy will be changed to percent as well. + frame_election_provider_support::generate_solution_type!( + #[compact] + pub struct NposSolution16::< + VoterIndex = u32, + TargetIndex = u16, + Accuracy = PerU16, + MaxVoters = ConstU32::<22500> // TODO: fetch + >(16) + ); + + #[derive(Debug)] + pub struct MinerConfig; + + impl multi_block::unsigned::miner::MinerConfig for MinerConfig { + type AccountId = AccountId; + type Solution = NposSolution16; + // TODO: make it configurable via CLI/data from the node. + type Solver = SequentialPhragmen; + type Pages = Pages; + // TODO: make it configurable via CLI/data from the node. + type MaxVotesPerVoter = ConstU32<16>; + type MaxWinnersPerPage = MaxWinnersPerPage; + type MaxBackersPerWinner = MaxBackersPerWinner; + // TODO: make it configurable via CLI/data from the node. + type MaxBackersPerWinnerFinal = ConstU32<{ u32::MAX }>; + type VoterSnapshotPerBlock = VoterSnapshotPerBlock; + type TargetSnapshotPerBlock = TargetSnapshotPerBlock; + type MaxLength = MaxLength; + type Hash = Hash; + } +} + +pub mod kusama { + use super::*; + use frame_election_provider_support::SequentialPhragmen; + + // TODO: not tested, not sure whether the accuracy will be changed to percent as well. + frame_election_provider_support::generate_solution_type!( + #[compact] + pub struct NposSolution24::< + VoterIndex = u32, + TargetIndex = u16, + Accuracy = PerU16, + MaxVoters = ConstU32::<12500> // TODO: fetch/validate + >(24) + ); + + #[derive(Debug)] + pub struct MinerConfig; + + impl multi_block::unsigned::miner::MinerConfig for MinerConfig { + type AccountId = AccountId; + type Solution = NposSolution24; + // TODO: make it configurable via CLI/data from the node. + type Solver = SequentialPhragmen; + type Pages = Pages; + // TODO: make it configurable via CLI/data from the node. + type MaxVotesPerVoter = ConstU32<24>; + type MaxWinnersPerPage = MaxWinnersPerPage; + type MaxBackersPerWinner = MaxBackersPerWinner; + // TODO: make it configurable via CLI/data from the node. + type MaxBackersPerWinnerFinal = ConstU32<{ u32::MAX }>; + type VoterSnapshotPerBlock = VoterSnapshotPerBlock; + type TargetSnapshotPerBlock = TargetSnapshotPerBlock; + type MaxLength = MaxLength; + type Hash = Hash; + } +} + +pub mod westend { + use super::*; + use frame_election_provider_support::SequentialPhragmen; + + // TODO: not tested, not sure whether the accuracy will be changed to percent as well. + frame_election_provider_support::generate_solution_type!( + #[compact] + pub struct NposSolution16::< + VoterIndex = u32, + TargetIndex = u16, + Accuracy = PerU16, + MaxVoters = ConstU32::<22500> // TODO: fetch/validate + >(16) + ); + + #[derive(Debug)] + pub struct MinerConfig; + + impl multi_block::unsigned::miner::MinerConfig for MinerConfig { + type AccountId = AccountId; + type Solution = NposSolution16; + // TODO: make it configurable via CLI/data from the node. + type Solver = SequentialPhragmen; + type Pages = Pages; + // TODO: make it configurable via CLI/data from the node. + type MaxVotesPerVoter = ConstU32<16>; + type MaxWinnersPerPage = MaxWinnersPerPage; + type MaxBackersPerWinner = MaxBackersPerWinner; + // TODO: make it configurable via CLI/data from the node. + type MaxBackersPerWinnerFinal = ConstU32<{ u32::MAX }>; + type VoterSnapshotPerBlock = VoterSnapshotPerBlock; + type TargetSnapshotPerBlock = TargetSnapshotPerBlock; + type MaxLength = MaxLength; + type Hash = Hash; + } +} diff --git a/src/utils.rs b/src/utils.rs new file mode 100644 index 000000000..c1b3960a8 --- /dev/null +++ b/src/utils.rs @@ -0,0 +1,411 @@ +// Copyright 2021-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . + +use crate::{ + client::Client, + commands::types::{Listen, SubmissionStrategy}, + error::Error, + prelude::{ChainClient, Config, Hash, Header, RpcClient, Storage, LOG_TARGET}, +}; +use codec::Decode; +use jsonrpsee::core::ClientError as JsonRpseeError; +use pin_project_lite::pin_project; +use polkadot_sdk::{frame_support::weights::Weight, sp_npos_elections, sp_runtime::Perbill}; +use serde::Deserialize; +use std::{ + future::Future, + pin::Pin, + task::{Context, Poll}, + time::{Duration, Instant}, +}; +use subxt::{ + backend::rpc::RpcSubscription, + error::{Error as SubxtError, RpcError}, + tx::{TxInBlock, TxProgress}, +}; + +pin_project! { + pub struct Timed + where + Fut: Future, + { + #[pin] + inner: Fut, + start: Option, + } +} + +impl Future for Timed +where + Fut: Future, +{ + type Output = (Fut::Output, Duration); + + fn poll(self: Pin<&mut Self>, cx: &mut Context) -> Poll { + let this = self.project(); + let start = this.start.get_or_insert_with(Instant::now); + + match this.inner.poll(cx) { + Poll::Pending => Poll::Pending, + Poll::Ready(v) => { + let elapsed = start.elapsed(); + Poll::Ready((v, elapsed)) + } + } + } +} + +pub trait TimedFuture: Sized + Future { + fn timed(self) -> Timed { + Timed { + inner: self, + start: None, + } + } +} + +impl TimedFuture for F {} + +/// Custom `RuntimeDispatchInfo` type definition similar to +/// what is in substrate but only tries to decode the `weight` field. +/// +/// All other fields are not used by the staking miner. +#[derive(Decode, Default, Debug, Deserialize)] +pub struct RuntimeDispatchInfo { + /// Weight of this dispatch. + pub weight: Weight, +} + +pub fn kill_main_task_if_critical_err(tx: &tokio::sync::mpsc::UnboundedSender, err: Error) { + match err { + Error::AlreadySubmitted + | Error::BetterScoreExist + | Error::IncorrectPhase + | Error::TransactionRejected(_) + | Error::Join(_) + | Error::Feasibility(_) + | Error::EmptySnapshot => {} + Error::Subxt(SubxtError::Rpc(rpc_err)) => { + log::debug!(target: LOG_TARGET, "rpc error: {:?}", rpc_err); + + match rpc_err { + RpcError::ClientError(e) => { + let jsonrpsee_err = match e.downcast::() { + Ok(e) => *e, + Err(_) => { + let _ = tx.send(Error::Other( + "Failed to downcast RPC error; this is a bug please file an issue" + .to_string(), + )); + return; + } + }; + + match jsonrpsee_err { + JsonRpseeError::Call(e) => { + const BAD_EXTRINSIC_FORMAT: i32 = 1001; + const VERIFICATION_ERROR: i32 = 1002; + use jsonrpsee::types::error::ErrorCode; + + // Check if the transaction gets fatal errors from the `author` RPC. + // It's possible to get other errors such as outdated nonce and similar + // but then it should be possible to try again in the next block or round. + if e.code() == BAD_EXTRINSIC_FORMAT + || e.code() == VERIFICATION_ERROR + || e.code() == ErrorCode::MethodNotFound.code() + { + let _ = tx.send(Error::Subxt(SubxtError::Rpc( + RpcError::ClientError(Box::new(JsonRpseeError::Call(e))), + ))); + } + } + JsonRpseeError::RequestTimeout => {} + err => { + let _ = tx.send(Error::Subxt(SubxtError::Rpc(RpcError::ClientError( + Box::new(err), + )))); + } + } + } + RpcError::SubscriptionDropped => (), + _ => (), + } + } + err => { + let _ = tx.send(err); + } + } +} + +/// Helper to get storage at block. +pub async fn storage_at(block: Option, api: &ChainClient) -> Result { + if let Some(block_hash) = block { + Ok(api.storage().at(block_hash)) + } else { + api.storage().at_latest().await.map_err(Into::into) + } +} + +pub async fn storage_at_head(api: &Client, listen: Listen) -> Result { + let hash = rpc_get_latest_head(api.rpc(), listen).await?; + storage_at(Some(hash), api.chain_api()).await +} + +/// Wait for the transaction to be in a block. +/// +/// **Note:** transaction statuses like `Invalid`/`Usurped`/`Dropped` indicate with some +/// probability that the transaction will not make it into a block but there is no guarantee +/// that this is true. In those cases the stream is closed however, so you currently have no way to find +/// out if they finally made it into a block or not. +pub async fn wait_for_in_block( + mut tx: TxProgress, +) -> Result, subxt::Error> +where + T: subxt::Config + Clone, + C: subxt::client::OnlineClientT + std::fmt::Debug + Clone, +{ + use subxt::{error::TransactionError, tx::TxStatus}; + + while let Some(status) = tx.next().await { + match status? { + // Finalized or otherwise in a block! Return. + TxStatus::InBestBlock(s) | TxStatus::InFinalizedBlock(s) => return Ok(s), + // Error scenarios; return the error. + TxStatus::Error { message } => return Err(TransactionError::Error(message).into()), + TxStatus::Invalid { message } => return Err(TransactionError::Invalid(message).into()), + TxStatus::Dropped { message } => return Err(TransactionError::Dropped(message).into()), + // Ignore anything else and wait for next status event: + _ => continue, + } + } + Err(RpcError::SubscriptionDropped.into()) +} + +pub async fn rpc_block_subscription( + rpc: &RpcClient, + listen: Listen, +) -> Result, Error> { + match listen { + Listen::Head => rpc.chain_subscribe_new_heads().await, + Listen::Finalized => rpc.chain_subscribe_finalized_heads().await, + } + .map_err(Into::into) +} + +pub async fn rpc_get_latest_head(rpc: &RpcClient, listen: Listen) -> Result { + match listen { + Listen::Head => match rpc.chain_get_block_hash(None).await { + Ok(Some(hash)) => Ok(hash), + Ok(None) => Err(Error::Other("Latest block not found".into())), + Err(e) => Err(e.into()), + }, + Listen::Finalized => rpc.chain_get_finalized_head().await.map_err(Into::into), + } +} + +/// Returns `true` if `our_score` better the onchain `best_score` according the given strategy. +pub fn score_passes_strategy( + our_score: sp_npos_elections::ElectionScore, + best_score: sp_npos_elections::ElectionScore, + strategy: SubmissionStrategy, +) -> bool { + match strategy { + SubmissionStrategy::Always => true, + SubmissionStrategy::IfLeading => { + our_score.strict_threshold_better(best_score, Perbill::zero()) + } + SubmissionStrategy::ClaimBetterThan(epsilon) => { + our_score.strict_threshold_better(best_score, epsilon) + } + SubmissionStrategy::ClaimNoWorseThan(epsilon) => { + !best_score.strict_threshold_better(our_score, epsilon) + } + } +} + +/// Wait for the transaction to be included in a block according to the listen strategy +/// which can be either `Listen::Finalized` or `Listen::Head`. +pub async fn wait_tx_in_block_for_strategy( + tx: TxProgress, + listen: Listen, +) -> Result, Error> { + match listen { + Listen::Finalized => tx.wait_for_finalized().await.map_err(Into::into), + Listen::Head => wait_for_in_block(tx).await.map_err(Into::into), + } +} + +#[cfg(test)] +mod tests { + use super::*; + use crate::prelude::Accuracy; + use std::str::FromStr; + + #[test] + fn score_passes_strategy_works() { + let s = |x| sp_npos_elections::ElectionScore { + minimal_stake: x, + ..Default::default() + }; + let two = Perbill::from_percent(2); + + // anything passes Always + assert!(score_passes_strategy( + s(0), + s(0), + SubmissionStrategy::Always + )); + assert!(score_passes_strategy( + s(5), + s(0), + SubmissionStrategy::Always + )); + assert!(score_passes_strategy( + s(5), + s(10), + SubmissionStrategy::Always + )); + + // if leading + assert!(!score_passes_strategy( + s(0), + s(0), + SubmissionStrategy::IfLeading + )); + assert!(score_passes_strategy( + s(1), + s(0), + SubmissionStrategy::IfLeading + )); + assert!(score_passes_strategy( + s(2), + s(0), + SubmissionStrategy::IfLeading + )); + assert!(!score_passes_strategy( + s(5), + s(10), + SubmissionStrategy::IfLeading + )); + assert!(!score_passes_strategy( + s(9), + s(10), + SubmissionStrategy::IfLeading + )); + assert!(!score_passes_strategy( + s(10), + s(10), + SubmissionStrategy::IfLeading + )); + + // if better by 2% + assert!(!score_passes_strategy( + s(50), + s(100), + SubmissionStrategy::ClaimBetterThan(two) + )); + assert!(!score_passes_strategy( + s(100), + s(100), + SubmissionStrategy::ClaimBetterThan(two) + )); + assert!(!score_passes_strategy( + s(101), + s(100), + SubmissionStrategy::ClaimBetterThan(two) + )); + assert!(!score_passes_strategy( + s(102), + s(100), + SubmissionStrategy::ClaimBetterThan(two) + )); + assert!(score_passes_strategy( + s(103), + s(100), + SubmissionStrategy::ClaimBetterThan(two) + )); + assert!(score_passes_strategy( + s(150), + s(100), + SubmissionStrategy::ClaimBetterThan(two) + )); + + // if no less than 2% worse + assert!(!score_passes_strategy( + s(50), + s(100), + SubmissionStrategy::ClaimNoWorseThan(two) + )); + assert!(!score_passes_strategy( + s(97), + s(100), + SubmissionStrategy::ClaimNoWorseThan(two) + )); + assert!(score_passes_strategy( + s(98), + s(100), + SubmissionStrategy::ClaimNoWorseThan(two) + )); + assert!(score_passes_strategy( + s(99), + s(100), + SubmissionStrategy::ClaimNoWorseThan(two) + )); + assert!(score_passes_strategy( + s(100), + s(100), + SubmissionStrategy::ClaimNoWorseThan(two) + )); + assert!(score_passes_strategy( + s(101), + s(100), + SubmissionStrategy::ClaimNoWorseThan(two) + )); + assert!(score_passes_strategy( + s(102), + s(100), + SubmissionStrategy::ClaimNoWorseThan(two) + )); + assert!(score_passes_strategy( + s(103), + s(100), + SubmissionStrategy::ClaimNoWorseThan(two) + )); + assert!(score_passes_strategy( + s(150), + s(100), + SubmissionStrategy::ClaimNoWorseThan(two) + )); + } + + #[test] + fn submission_strategy_from_str_works() { + assert_eq!( + SubmissionStrategy::from_str("if-leading"), + Ok(SubmissionStrategy::IfLeading) + ); + assert_eq!( + SubmissionStrategy::from_str("always"), + Ok(SubmissionStrategy::Always) + ); + assert_eq!( + SubmissionStrategy::from_str(" percent-better 99 "), + Ok(SubmissionStrategy::ClaimBetterThan(Accuracy::from_percent( + 99 + ))) + ); + } +} diff --git a/tests/common.rs b/tests/common.rs index e80aa6666..e2d328218 100644 --- a/tests/common.rs +++ b/tests/common.rs @@ -1,8 +1,5 @@ use assert_cmd::cargo::cargo_bin; -use polkadot_staking_miner::{ - opt::Chain, - prelude::{runtime, ChainClient}, -}; +use polkadot_staking_miner::{opt::Chain, prelude::ChainClient, runtime::legacy as runtime}; use std::{ io::{BufRead, BufReader, Read}, net::SocketAddr, @@ -86,6 +83,8 @@ pub fn run_polkadot_node(chain: Chain) -> (KillChildOnDrop, String) { Chain::Polkadot => "chainspecs/polkadot-dev.json", Chain::Kusama => "chainspecs/kusama-dev.json", Chain::Westend => "westend-dev", + Chain::SubstrateNode => "dev", + Chain::AssetHubNext => panic!("AssetHubNext is not supported"), }; let mut node_cmd = KillChildOnDrop( diff --git a/tests/monitor.rs b/tests/monitor.rs index 6afb5b1e9..fcf339859 100644 --- a/tests/monitor.rs +++ b/tests/monitor.rs @@ -23,6 +23,7 @@ async fn submit_monitor_works_basic() { } #[tokio::test] +#[ignore] async fn default_trimming_works() { init_logger(); let (_drop, ws_url) = run_staking_miner_playground();