diff --git a/.cargo/config.toml b/.cargo/config.toml deleted file mode 100644 index 4ad9a7956a..0000000000 --- a/.cargo/config.toml +++ /dev/null @@ -1,35 +0,0 @@ -# -# An auto defined `clippy` feature was introduced, -# but it was found to clash with user defined features, -# so was renamed to `cargo-clippy`. -# -# If you want standard clippy run: -# RUSTFLAGS= cargo clippy -[target.'cfg(feature = "cargo-clippy")'] -rustflags = [ - # Substrate config - # https://github.com/paritytech/substrate/blob/master/.cargo/config.toml - "-Aclippy::all", - "-Dclippy::correctness", - "-Aclippy::if-same-then-else", - "-Aclippy::clone-double-ref", - "-Dclippy::complexity", - "-Aclippy::clone_on_copy", # Too common - "-Aclippy::needless_lifetimes", # Backward compat? - "-Aclippy::zero-prefixed-literal", # 00_1000_000 - "-Aclippy::type_complexity", # raison d'etre - "-Aclippy::nonminimal-bool", # maybe - "-Aclippy::borrowed-box", # Reasonable to fix this one - "-Aclippy::too-many-arguments", # (Turning this on would lead to) - "-Aclippy::unnecessary_cast", # Types may change - "-Aclippy::identity-op", # One case where we do 0 + - "-Aclippy::useless_conversion", # Types may change - "-Aclippy::unit_arg", # styalistic. - "-Aclippy::option-map-unit-fn", # styalistic - "-Aclippy::bind_instead_of_map", # styalistic - "-Aclippy::erasing_op", # E.g. 0 * DOLLARS - "-Aclippy::eq_op", # In tests we test equality. - "-Aclippy::while_immutable_condition", # false positives - "-Aclippy::needless_option_as_deref", # false positives - "-Aclippy::derivable_impls", # false positives -] diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index 91bf3fe813..9ea0759194 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -7,6 +7,8 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} +env: + TARPAULIN_VERSION: "0.34.1" jobs: coverage: if: github.event.pull_request.draft == false @@ -43,16 +45,14 @@ jobs: - name: Install deps run: sudo apt -y install protobuf-compiler - # TODO: Use `cargo install` with a specific version during the next PolkadotSDK uplift and Rust toolchain version upgrade. - name: Install Tarpaulin run: | - curl -L -o tarpaulin.tar.gz https://github.com/xd009642/tarpaulin/releases/download/0.31.4/cargo-tarpaulin-x86_64-unknown-linux-gnu.tar.gz - tar -zxvf tarpaulin.tar.gz -C $HOME/.cargo/bin + cargo install cargo-tarpaulin --version $TARPAULIN_VERSION --locked cargo tarpaulin --version - name: Run Tarpaulin run: | - cargo tarpaulin --features try-runtime,runtime-benchmarks + cargo tarpaulin --features runtime-benchmarks - name: Code Coverage Summary Report uses: irongut/CodeCoverageSummary@v1.2.0 diff --git a/.github/workflows/zepter.yml b/.github/workflows/zepter.yml index 33cceaa7c4..8e66a16c06 100644 --- a/.github/workflows/zepter.yml +++ b/.github/workflows/zepter.yml @@ -30,8 +30,7 @@ jobs: run: rustup show - name: Install Zepter - #run: cargo install zepter -f --locked && zepter --version - run: cargo install zepter@1.78.2 --locked # TODO: use latest version once we bump toolchain version + run: cargo install zepter -f --locked && zepter --version - name: Check Rust features run: zepter run check diff --git a/Cargo.lock b/Cargo.lock index 6e8f5dd7f9..cf05b8981e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "Inflector" @@ -23,18 +23,18 @@ dependencies = [ [[package]] name = "addr2line" -version = "0.24.2" +version = "0.25.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" +checksum = "1b5d307320b3181d6d7954e663bd7c774a838b8220fe0593c86d9fb09f498b4b" dependencies = [ - "gimli 0.31.1", + "gimli 0.32.3", ] [[package]] name = "adler2" -version = "2.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" +checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" [[package]] name = "aead" @@ -73,22 +73,22 @@ dependencies = [ [[package]] name = "ahash" -version = "0.8.11" +version = "0.8.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" +checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75" dependencies = [ "cfg-if", - "getrandom 0.2.16", + "getrandom 0.3.4", "once_cell", "version_check", - "zerocopy 0.7.35", + "zerocopy", ] [[package]] name = "aho-corasick" -version = "1.1.3" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" +checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" dependencies = [ "memchr", ] @@ -100,16 +100,159 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" [[package]] -name = "always-assert" -version = "0.1.3" +name = "alloy-core" +version = "1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4436e0292ab1bb631b42973c61205e704475fe8126af845c8d923c0996328127" +checksum = "9d4087016b0896051dd3d03e0bedda2f4d4d1689af8addc8450288c63a9e5f68" +dependencies = [ + "alloy-dyn-abi", + "alloy-json-abi", + "alloy-primitives", + "alloy-rlp", + "alloy-sol-types", +] [[package]] -name = "android-tzdata" -version = "0.1.1" +name = "alloy-dyn-abi" +version = "1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" +checksum = "369f5707b958927176265e8a58627fc6195e5dfa5c55689396e68b241b3a72e6" +dependencies = [ + "alloy-json-abi", + "alloy-primitives", + "alloy-sol-type-parser", + "alloy-sol-types", + "itoa", + "serde", + "serde_json", + "winnow", +] + +[[package]] +name = "alloy-json-abi" +version = "1.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84e3cf01219c966f95a460c95f1d4c30e12f6c18150c21a30b768af2a2a29142" +dependencies = [ + "alloy-primitives", + "alloy-sol-type-parser", + "serde", + "serde_json", +] + +[[package]] +name = "alloy-primitives" +version = "1.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6a0fb18dd5fb43ec5f0f6a20be1ce0287c79825827de5744afaa6c957737c33" +dependencies = [ + "alloy-rlp", + "bytes", + "cfg-if", + "const-hex", + "derive_more 2.1.1", + "foldhash 0.2.0", + "hashbrown 0.16.1", + "indexmap 2.12.1", + "itoa", + "k256", + "keccak-asm", + "paste", + "proptest", + "rand 0.9.2", + "rapidhash", + "ruint", + "rustc-hash 2.1.1", + "serde", + "sha3", + "tiny-keccak", +] + +[[package]] +name = "alloy-rlp" +version = "0.3.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f70d83b765fdc080dbcd4f4db70d8d23fe4761f2f02ebfa9146b833900634b4" +dependencies = [ + "arrayvec 0.7.6", + "bytes", +] + +[[package]] +name = "alloy-sol-macro" +version = "1.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09eb18ce0df92b4277291bbaa0ed70545d78b02948df756bbd3d6214bf39a218" +dependencies = [ + "alloy-sol-macro-expander", + "alloy-sol-macro-input", + "proc-macro-error2", + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "alloy-sol-macro-expander" +version = "1.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95d9fa2daf21f59aa546d549943f10b5cce1ae59986774019fbedae834ffe01b" +dependencies = [ + "alloy-sol-macro-input", + "const-hex", + "heck 0.5.0", + "indexmap 2.12.1", + "proc-macro-error2", + "proc-macro2", + "quote", + "syn 2.0.111", + "syn-solidity", + "tiny-keccak", +] + +[[package]] +name = "alloy-sol-macro-input" +version = "1.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9396007fe69c26ee118a19f4dee1f5d1d6be186ea75b3881adf16d87f8444686" +dependencies = [ + "const-hex", + "dunce", + "heck 0.5.0", + "macro-string", + "proc-macro2", + "quote", + "syn 2.0.111", + "syn-solidity", +] + +[[package]] +name = "alloy-sol-type-parser" +version = "1.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af67a0b0dcebe14244fc92002cd8d96ecbf65db4639d479f5fcd5805755a4c27" +dependencies = [ + "serde", + "winnow", +] + +[[package]] +name = "alloy-sol-types" +version = "1.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09aeea64f09a7483bdcd4193634c7e5cf9fd7775ee767585270cd8ce2d69dc95" +dependencies = [ + "alloy-json-abi", + "alloy-primitives", + "alloy-sol-macro", + "serde", +] + +[[package]] +name = "always-assert" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4436e0292ab1bb631b42973c61205e704475fe8126af845c8d923c0996328127" [[package]] name = "android_system_properties" @@ -122,9 +265,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.18" +version = "0.6.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b" +checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a" dependencies = [ "anstyle", "anstyle-parse", @@ -137,44 +280,44 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.10" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9" +checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78" [[package]] name = "anstyle-parse" -version = "0.2.6" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9" +checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.1.2" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c" +checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] name = "anstyle-wincon" -version = "3.0.7" +version = "3.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3534e77181a9cc07539ad51f2141fe32f6c3ffd4df76db8ad92346b003ae4e" +checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" dependencies = [ "anstyle", - "once_cell", - "windows-sys 0.59.0", + "once_cell_polyfill", + "windows-sys 0.61.2", ] [[package]] name = "anyhow" -version = "1.0.98" +version = "1.0.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487" +checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61" [[package]] name = "approx" @@ -196,7 +339,16 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", +] + +[[package]] +name = "ar_archive_writer" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0c269894b6fe5e9d7ada0cf69b5bf847ff35bc25fc271f08e1d080fce80339a" +dependencies = [ + "object 0.32.2", ] [[package]] @@ -205,9 +357,9 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb00293ba84f51ce3bd026bd0de55899c4e68f0a39a5728cebae3a73ffdc0a4f" dependencies = [ - "ark-ec", - "ark-ff", - "ark-std", + "ark-ec 0.4.2", + "ark-ff 0.4.2", + "ark-std 0.4.0", ] [[package]] @@ -216,10 +368,22 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c775f0d12169cba7aae4caeb547bb6a50781c7449a8aa53793827c9ec4abf488" dependencies = [ - "ark-ec", - "ark-ff", - "ark-serialize", - "ark-std", + "ark-ec 0.4.2", + "ark-ff 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", +] + +[[package]] +name = "ark-bls12-381" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3df4dcc01ff89867cd86b0da835f23c3f02738353aaee7dde7495af71363b8d5" +dependencies = [ + "ark-ec 0.5.0", + "ark-ff 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", ] [[package]] @@ -228,10 +392,10 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "defd9a439d56ac24968cca0571f598a61bc8c55f71d50a89cda591cb750670ba" dependencies = [ - "ark-ff", - "ark-poly", - "ark-serialize", - "ark-std", + "ark-ff 0.4.2", + "ark-poly 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", "derivative", "hashbrown 0.13.2", "itertools 0.10.5", @@ -239,16 +403,67 @@ 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.5", + "itertools 0.13.0", + "num-bigint", + "num-integer", + "num-traits", + "zeroize", +] + +[[package]] +name = "ark-ed-on-bls12-381-bandersnatch" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1786b2e3832f6f0f7c8d62d5d5a282f6952a1ab99981c54cd52b6ac1d8f02df5" +dependencies = [ + "ark-bls12-381 0.5.0", + "ark-ec 0.5.0", + "ark-ff 0.5.0", + "ark-std 0.5.0", +] + +[[package]] +name = "ark-ff" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b3235cc41ee7a12aaaf2c575a2ad7b46713a8a50bda2fc3b003a04845c05dd6" +dependencies = [ + "ark-ff-asm 0.3.0", + "ark-ff-macros 0.3.0", + "ark-serialize 0.3.0", + "ark-std 0.3.0", + "derivative", + "num-bigint", + "num-traits", + "paste", + "rustc_version 0.3.3", + "zeroize", +] + [[package]] name = "ark-ff" version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec847af850f44ad29048935519032c33da8aa03340876d351dfab5660d2966ba" dependencies = [ - "ark-ff-asm", - "ark-ff-macros", - "ark-serialize", - "ark-std", + "ark-ff-asm 0.4.2", + "ark-ff-macros 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", "derivative", "digest 0.10.7", "itertools 0.10.5", @@ -259,6 +474,36 @@ 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" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db02d390bf6643fb404d3d22d31aee1c4bc4459600aef9113833d17e786c6e44" +dependencies = [ + "quote", + "syn 1.0.109", +] + [[package]] name = "ark-ff-asm" version = "0.4.2" @@ -269,6 +514,28 @@ 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.111", +] + +[[package]] +name = "ark-ff-macros" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db2fd794a08ccb318058009eefdf15bcaaaaf6f8161eb3345f907222bac38b20" +dependencies = [ + "num-bigint", + "num-traits", + "quote", + "syn 1.0.109", +] + [[package]] name = "ark-ff-macros" version = "0.4.2" @@ -282,27 +549,78 @@ 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.111", +] + [[package]] name = "ark-poly" version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d320bfc44ee185d899ccbadfa8bc31aab923ce1558716e1997a1e74057fe86bf" dependencies = [ - "ark-ff", - "ark-serialize", - "ark-std", + "ark-ff 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", "derivative", "hashbrown 0.13.2", ] +[[package]] +name = "ark-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.5", +] + +[[package]] +name = "ark-serialize" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d6c2b318ee6e10f8c2853e73a83adc0ccb88995aa978d8a3408d492ab2ee671" +dependencies = [ + "ark-std 0.3.0", + "digest 0.9.0", +] + [[package]] name = "ark-serialize" version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5" dependencies = [ - "ark-serialize-derive", - "ark-std", + "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", ] @@ -318,6 +636,27 @@ 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.111", +] + +[[package]] +name = "ark-std" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1df2c09229cbc5a028b1d70e00fdb2acee28b1055dfb5ca73eea49c5a25c4e7c" +dependencies = [ + "num-traits", + "rand 0.8.5", +] + [[package]] name = "ark-std" version = "0.4.0" @@ -328,12 +667,65 @@ dependencies = [ "rand 0.8.5", ] +[[package]] +name = "ark-std" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "246a225cc6131e9ee4f24619af0f19d67761fff15d7ccc22e42b80846e69449a" +dependencies = [ + "num-traits", + "rand 0.8.5", +] + +[[package]] +name = "ark-transcript" +version = "0.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47c1c928edb9d8ff24cb5dcb7651d3a98494fff3099eee95c2404cd813a9139f" +dependencies = [ + "ark-ff 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", + "digest 0.10.7", + "rand_core 0.6.4", + "sha3", +] + +[[package]] +name = "ark-vrf" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d63e9780640021b74d02b32895d8cec1b4abe8e5547b560a6bda6b14b78c6da" +dependencies = [ + "ark-bls12-381 0.5.0", + "ark-ec 0.5.0", + "ark-ed-on-bls12-381-bandersnatch", + "ark-ff 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", + "digest 0.10.7", + "rand_chacha 0.3.1", + "sha2 0.10.9", + "w3f-ring-proof", + "zeroize", +] + [[package]] name = "array-bytes" version = "6.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5d5dde061bd34119e902bbb2d9b90c5692635cf59fb91d582c2b68043f1b8293" +[[package]] +name = "array-bytes" +version = "9.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27d55334c98d756b32dcceb60248647ab34f027690f87f9a362fd292676ee927" +dependencies = [ + "smallvec", + "thiserror 2.0.17", +] + [[package]] name = "arrayref" version = "0.3.9" @@ -357,12 +749,12 @@ checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" [[package]] name = "asn1-rs" -version = "0.5.2" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f6fd5ddaf0351dff5b8da21b2fb4ff8e08ddd02857f0bf69c47639106c0fff0" +checksum = "5493c3bedbacf7fd7382c6346bbd66687d12bbaad3a89a2d2c303ee6cf20b048" dependencies = [ - "asn1-rs-derive 0.4.0", - "asn1-rs-impl 0.1.0", + "asn1-rs-derive 0.5.1", + "asn1-rs-impl", "displaydoc", "nom", "num-traits", @@ -378,25 +770,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "56624a96882bb8c26d61312ae18cb45868e5a9992ea73c58e45c3101e56a1e60" dependencies = [ "asn1-rs-derive 0.6.0", - "asn1-rs-impl 0.2.0", + "asn1-rs-impl", "displaydoc", "nom", "num-traits", "rusticata-macros", - "thiserror 2.0.12", + "thiserror 2.0.17", "time", ] [[package]] name = "asn1-rs-derive" -version = "0.4.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "726535892e8eae7e70657b4c8ea93d26b8553afb1ce617caee529ef96d7dee6c" +checksum = "965c2d33e53cb6b267e148a4cb0760bc01f4904c1cd4bb4002a085bb016d1490" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", - "synstructure 0.12.6", + "syn 2.0.111", + "synstructure 0.13.2", ] [[package]] @@ -407,21 +799,10 @@ checksum = "3109e49b1e4909e9db6515a30c633684d68cdeaa252f215214cb4fa1a5bfee2c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", "synstructure 0.13.2", ] -[[package]] -name = "asn1-rs-impl" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2777730b2039ac0f95f093556e61b6d26cebed5393ca6f152717777cec3a42ed" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "asn1-rs-impl" version = "0.2.0" @@ -430,7 +811,7 @@ checksum = "7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -473,6 +854,7 @@ dependencies = [ "cumulus-relay-chain-minimal-node", "cumulus-relay-chain-rpc-interface", "cumulus-test-relay-sproof-builder", + "ethereum", "fc-api", "fc-consensus", "fc-db", @@ -492,7 +874,7 @@ dependencies = [ "frame-system-rpc-runtime-api", "frame-try-runtime", "futures 0.3.31", - "jsonrpsee 0.24.9", + "jsonrpsee", "local-runtime", "log", "moonbeam-primitives-ext", @@ -602,7 +984,7 @@ dependencies = [ name = "astar-runtime" version = "19.0.0" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "astar-primitives", "astar-xcm-benchmarks", "cumulus-pallet-aura-ext", @@ -613,6 +995,7 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", "dapp-staking-runtime-api", + "ethereum", "fp-evm", "fp-rpc", "fp-self-contained", @@ -766,9 +1149,9 @@ dependencies = [ [[package]] name = "async-channel" -version = "2.3.1" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89b47800b0be77592da0afd425cc03468052844aff33b84e33cc696f64e77b6a" +checksum = "924ed96dd52d1b75e9c1a3e6275715fd320f5f9439fb5a4a11fa51f4221158d2" dependencies = [ "concurrent-queue", "event-listener-strategy", @@ -778,14 +1161,14 @@ dependencies = [ [[package]] name = "async-executor" -version = "1.13.2" +version = "1.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb812ffb58524bdd10860d7d974e2f01cc0950c2438a74ee5ec2e2280c6c4ffa" +checksum = "497c00e0fd83a72a79a39fcbd8e3e2f055d6f6c7e025f3b3d91f4f8e76527fb8" dependencies = [ "async-task", "concurrent-queue", "fastrand 2.3.0", - "futures-lite 2.6.0", + "futures-lite 2.6.1", "pin-project-lite", "slab", ] @@ -804,13 +1187,13 @@ dependencies = [ [[package]] name = "async-fs" -version = "2.1.2" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebcd09b382f40fcd159c2d695175b2ae620ffa5f3bd6f664131efff4e8b9e04a" +checksum = "8034a681df4aed8b8edbd7fbe472401ecf009251c8b40556b304567052e294c5" dependencies = [ - "async-lock 3.4.0", + "async-lock 3.4.2", "blocking", - "futures-lite 2.6.0", + "futures-lite 2.6.1", ] [[package]] @@ -835,21 +1218,20 @@ dependencies = [ [[package]] name = "async-io" -version = "2.4.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a2b323ccce0a1d90b449fd71f2a06ca7faa7c54c2751f06c9bd851fc061059" +checksum = "456b8a8feb6f42d237746d4b3e9a178494627745c3c56c6ea55d92ba50d026fc" dependencies = [ - "async-lock 3.4.0", + "autocfg", "cfg-if", "concurrent-queue", "futures-io", - "futures-lite 2.6.0", + "futures-lite 2.6.1", "parking", - "polling 3.7.4", - "rustix 0.38.44", + "polling 3.11.0", + "rustix 1.1.3", "slab", - "tracing", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -863,11 +1245,11 @@ dependencies = [ [[package]] name = "async-lock" -version = "3.4.0" +version = "3.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff6e472cdea888a4bd64f342f09b3f50e1886d32afe8df3d663c01140b811b18" +checksum = "290f7f2596bd5b78a9fec8088ccd89180d7f9f55b94b0576823bbbdc72ee8311" dependencies = [ - "event-listener 5.4.0", + "event-listener 5.4.1", "event-listener-strategy", "pin-project-lite", ] @@ -889,9 +1271,9 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b948000fad4873c1c9339d60f2623323a0cfd3816e5181033c6a5cb68b2accf7" dependencies = [ - "async-io 2.4.0", + "async-io 2.6.0", "blocking", - "futures-lite 2.6.0", + "futures-lite 2.6.1", ] [[package]] @@ -913,39 +1295,38 @@ dependencies = [ [[package]] name = "async-process" -version = "2.3.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63255f1dc2381611000436537bbedfe83183faa303a5a0edaf191edef06526bb" +checksum = "fc50921ec0055cdd8a16de48773bfeec5c972598674347252c0399676be7da75" dependencies = [ - "async-channel 2.3.1", - "async-io 2.4.0", - "async-lock 3.4.0", + "async-channel 2.5.0", + "async-io 2.6.0", + "async-lock 3.4.2", "async-signal", "async-task", "blocking", "cfg-if", - "event-listener 5.4.0", - "futures-lite 2.6.0", - "rustix 0.38.44", - "tracing", + "event-listener 5.4.1", + "futures-lite 2.6.1", + "rustix 1.1.3", ] [[package]] name = "async-signal" -version = "0.2.10" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "637e00349800c0bdf8bfc21ebbc0b6524abea702b0da4168ac00d070d0c0b9f3" +checksum = "43c070bbf59cd3570b6b2dd54cd772527c7c3620fce8be898406dd3ed6adc64c" dependencies = [ - "async-io 2.4.0", - "async-lock 3.4.0", + "async-io 2.6.0", + "async-lock 3.4.2", "atomic-waker", "cfg-if", "futures-core", "futures-io", - "rustix 0.38.44", + "rustix 1.1.3", "signal-hook-registry", "slab", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -956,13 +1337,13 @@ checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" [[package]] name = "async-trait" -version = "0.1.88" +version = "0.1.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e539d3fca749fcee5236ab05e93a52867dd549cc157c8cb7f99595f3cedffdb5" +checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -989,6 +1370,19 @@ dependencies = [ "pin-project-lite", ] +[[package]] +name = "asynchronous-codec" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a860072022177f903e59730004fb5dc13db9275b79bb2aef7ba8ce831956c233" +dependencies = [ + "bytes", + "futures-sink", + "futures-util", + "memchr", + "pin-project-lite", +] + [[package]] name = "atoi" version = "2.0.0" @@ -1040,28 +1434,28 @@ checksum = "ffdcb70bdbc4d478427380519163274ac86e52916e10f0a8889adf0f96d3fee7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "autocfg" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" +checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" [[package]] name = "backtrace" -version = "0.3.74" +version = "0.3.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a" +checksum = "bb531853791a215d7c62a30daf0dde835f381ab5de4589cfe7c649d2cbe92bd6" dependencies = [ - "addr2line 0.24.2", + "addr2line 0.25.1", "cfg-if", "libc", "miniz_oxide", - "object 0.36.7", + "object 0.37.3", "rustc-demangle", - "windows-targets 0.52.6", + "windows-link", ] [[package]] @@ -1076,6 +1470,16 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" +[[package]] +name = "base256emoji" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5e9430d9a245a77c92176e649af6e275f20839a48389859d1661e9a128d077c" +dependencies = [ + "const-str", + "match-lookup", +] + [[package]] name = "base58" version = "0.2.0" @@ -1102,9 +1506,9 @@ checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" [[package]] name = "base64ct" -version = "1.7.3" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89e25b6adfb930f02d1981565a6e5d9c547ac15a96606256d3b59040e5cd4ca3" +checksum = "0e050f626429857a27ddccb31e0aca21356bfa709c04041aefddac081a8f068a" [[package]] name = "bech32" @@ -1112,19 +1516,10 @@ version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d86b93f97252c47b41663388e6d155714a9d0c398b99f1005cbc5f978b29f445" -[[package]] -name = "beef" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1" -dependencies = [ - "serde", -] - [[package]] name = "binary-merkle-tree" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "hash-db", "log", @@ -1158,7 +1553,7 @@ dependencies = [ "regex", "rustc-hash 1.1.0", "shlex", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -1180,29 +1575,60 @@ dependencies = [ [[package]] name = "bip39" -version = "2.1.0" +version = "2.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33415e24172c1b7d6066f6d999545375ab8e1d95421d6784bdfff9496f292387" +checksum = "90dbd31c98227229239363921e60fcf5e558e43ec69094d46fc4996f08d1d5bc" dependencies = [ - "bitcoin_hashes", + "bitcoin_hashes 0.14.1", "serde", "unicode-normalization", ] +[[package]] +name = "bit-set" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3" +dependencies = [ + "bit-vec", +] + +[[package]] +name = "bit-vec" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7" + [[package]] name = "bitcoin-internals" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9425c3bf7089c983facbae04de54513cce73b41c7f9ff8c845b54e7bc64ebbfb" +[[package]] +name = "bitcoin-io" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2dee39a0ee5b4095224a0cfc6bf4cc1baf0f9624b96b367e53b66d974e51d953" + [[package]] name = "bitcoin_hashes" version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1930a4dabfebb8d7d9992db18ebe3ae2876f0a305fab206fd168df931ede293b" +checksum = "1930a4dabfebb8d7d9992db18ebe3ae2876f0a305fab206fd168df931ede293b" +dependencies = [ + "bitcoin-internals", + "hex-conservative 0.1.2", +] + +[[package]] +name = "bitcoin_hashes" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26ec84b80c482df901772e931a9a681e26a1b9ee2302edeff23cb30328745c8b" dependencies = [ - "bitcoin-internals", - "hex-conservative", + "bitcoin-io", + "hex-conservative 0.2.2", ] [[package]] @@ -1213,9 +1639,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.9.0" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd" +checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" [[package]] name = "bitvec" @@ -1316,14 +1742,14 @@ dependencies = [ [[package]] name = "blocking" -version = "1.6.1" +version = "1.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "703f41c54fc768e63e091340b424302bb1c29ef4aa0c7f10fe849dfb114d29ea" +checksum = "e83f8d02be6967315521be875afa792a316e28d57b5a2d401897e2a7921b7f21" dependencies = [ - "async-channel 2.3.1", + "async-channel 2.5.0", "async-task", "futures-io", - "futures-lite 2.6.0", + "futures-lite 2.6.1", "piper", ] @@ -1350,8 +1776,8 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub-router" -version = "0.15.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.18.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "parity-scale-codec", "scale-info", @@ -1372,12 +1798,12 @@ dependencies = [ [[package]] name = "bstr" -version = "1.12.0" +version = "1.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "234113d19d0d7d613b40e86fb654acf958910802bcceab913a4f9e7cda03b1a4" +checksum = "63044e1ae8e69f3b5a92c736ca6269b8d12fa7efe39bf34ddb06d102cf0e2cab" dependencies = [ "memchr", - "regex-automata 0.4.9", + "regex-automata", "serde", ] @@ -1392,9 +1818,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.17.0" +version = "3.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf" +checksum = "5dd9dc738b7a8311c7ade152424974d8115f2cdad61e8dab8dac9f2362298510" [[package]] name = "byte-slice-cast" @@ -1410,9 +1836,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "bytemuck" -version = "1.23.0" +version = "1.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9134a6ef01ce4b366b50689c94f82c14bc72bc5d0386829828a2e2752ef7958c" +checksum = "1fbdf580320f38b612e485521afda1ee26d10cc9884efaaa750d383e13e3c5f4" [[package]] name = "byteorder" @@ -1422,9 +1848,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.10.1" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" +checksum = "b35204fbdc0b3f4446b89fc1ac2cf84a8a68971995d0bf2e925ec7cd960f9cb3" dependencies = [ "serde", ] @@ -1451,11 +1877,11 @@ dependencies = [ [[package]] name = "camino" -version = "1.1.9" +version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b96ec4966b5813e2c0507c1f86115c8c5abaadc3980879c3424042a02fd1ad3" +checksum = "e629a66d692cb9ff1a1c664e41771b3dcaf961985a9774c0eb0bd1b51cf60a48" dependencies = [ - "serde", + "serde_core", ] [[package]] @@ -1475,7 +1901,7 @@ checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" dependencies = [ "camino", "cargo-platform", - "semver 1.0.26", + "semver 1.0.27", "serde", "serde_json", "thiserror 1.0.69", @@ -1489,7 +1915,7 @@ checksum = "2d886547e41f740c616ae73108f6eb70afe6d940c7bc697cb30f13daec073037" dependencies = [ "camino", "cargo-platform", - "semver 1.0.26", + "semver 1.0.27", "serde", "serde_json", "thiserror 1.0.69", @@ -1503,10 +1929,11 @@ checksum = "fd6c0e7b807d60291f42f33f58480c0bfafe28ed08286446f45e463728cf9c1c" [[package]] name = "cc" -version = "1.2.21" +version = "1.2.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8691782945451c1c383942c4874dbe63814f61cb57ef773cda2972682b7bb3c0" +checksum = "9f50d563227a1c37cc0a263f64eca3334388c01c5e4c4861a9def205c614383c" dependencies = [ + "find-msvc-tools", "jobserver", "libc", "shlex", @@ -1538,9 +1965,9 @@ dependencies = [ [[package]] name = "cfg-if" -version = "1.0.0" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" +checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" [[package]] name = "cfg_aliases" @@ -1590,14 +2017,14 @@ dependencies = [ [[package]] name = "chrono" -version = "0.4.41" +version = "0.4.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c469d952047f47f91b68d1cba3f10d63c11d73e4636f24f08daf0278abf01c4d" +checksum = "145052bdd345b87320e369255277e3fb5152762ad123a901ef5c262dd38fe8d2" dependencies = [ - "android-tzdata", "iana-time-zone", "js-sys", "num-traits", + "serde", "wasm-bindgen", "windows-link", ] @@ -1660,9 +2087,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.37" +version = "4.5.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eccb054f56cbd38340b380d4a8e69ef1f02f1af43db2f0cc817a4774d80ae071" +checksum = "c9e340e012a1bf4935f5282ed1436d1489548e8f72308207ea5df0e23d2d03f8" dependencies = [ "clap_builder", "clap_derive", @@ -1670,34 +2097,34 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.37" +version = "4.5.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efd9466fac8543255d3b1fcad4762c5e116ffe808c8a3043d4263cd4fd4862a2" +checksum = "d76b5d13eaa18c901fd2f7fca939fefe3a0727a953561fefdf3b2922b8569d00" dependencies = [ "anstream", "anstyle", "clap_lex", - "strsim 0.11.1", + "strsim", "terminal_size", ] [[package]] name = "clap_derive" -version = "4.5.32" +version = "4.5.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09176aae279615badda0765c0c0b3f6ed53f4709118af73cf4655d85d1530cd7" +checksum = "2a0b5487afeab2deb2ff4e03a807ad1a03ac532ff5a2cee5d86884440c7f7671" dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "clap_lex" -version = "0.7.4" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" +checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d" [[package]] name = "coarsetime" @@ -1712,9 +2139,9 @@ dependencies = [ [[package]] name = "codespan-reporting" -version = "0.12.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe6d2e5af09e8c8ad56c969f2157a3d4238cebc7c55f0a517728c38f7b200f81" +checksum = "af491d569909a7e4dee0ad7db7f5341fef5c614d5b8ec8cf765732aba3cff681" dependencies = [ "serde", "termcolor", @@ -1775,9 +2202,9 @@ dependencies = [ [[package]] name = "colorchoice" -version = "1.0.3" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990" +checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75" [[package]] name = "combine" @@ -1791,9 +2218,9 @@ dependencies = [ [[package]] name = "comfy-table" -version = "7.1.4" +version = "7.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a65ebfec4fb190b6f90e944a817d60499ee0744e582530e2c9900a22e591d9a" +checksum = "b03b7db8e0b4b2fdad6c551e634134e99ec000e5c8c3b6856c65e8bbaded7a3b" dependencies = [ "unicode-segmentation", "unicode-width", @@ -1829,15 +2256,14 @@ dependencies = [ [[package]] name = "const-hex" -version = "1.14.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b0485bab839b018a8f1723fc5391819fea5f8f0f32288ef8a735fd096b6160c" +checksum = "3bb320cac8a0750d7f25280aa97b09c26edfe161164238ecbbb31092b079e735" dependencies = [ "cfg-if", "cpufeatures", - "hex", "proptest", - "serde", + "serde_core", ] [[package]] @@ -1866,11 +2292,17 @@ dependencies = [ "tiny-keccak", ] +[[package]] +name = "const-str" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f421161cb492475f1661ddc9815a745a1c894592070661180fdec3d4872e9c3" + [[package]] name = "const_format" -version = "0.2.34" +version = "0.2.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "126f97965c8ad46d6d9163268ff28432e8f6a1196a55578867832e3049df63dd" +checksum = "7faa7469a93a566e9ccc1c73fe783b4a65c274c5ace346038dca9c39fe0030ad" dependencies = [ "const_format_proc_macros", ] @@ -1904,6 +2336,15 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" +[[package]] +name = "convert_case" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "633458d4ef8c78b72454de2d54fd6ab2e60f9e02be22f3c6104cdc8a4e0fceb9" +dependencies = [ + "unicode-segmentation", +] + [[package]] name = "core-foundation" version = "0.9.4" @@ -1916,9 +2357,9 @@ dependencies = [ [[package]] name = "core-foundation" -version = "0.10.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b55271e5c8c478ad3f38ad24ef34923091e0548492a266d19b3c0b4d82574c63" +checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6" dependencies = [ "core-foundation-sys", "libc", @@ -2067,9 +2508,9 @@ dependencies = [ [[package]] name = "crc" -version = "3.2.1" +version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69e6e4d7b33a94f0991c26729976b10ebde1d34c3ee82408fb536164fa10d636" +checksum = "5eb8a2a1cd12ab0d987a5d5e825195d372001a4094a0376319d5a0ad71c1ba0d" dependencies = [ "crc-catalog", ] @@ -2082,13 +2523,28 @@ checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" [[package]] name = "crc32fast" -version = "1.4.2" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" +checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" dependencies = [ "cfg-if", ] +[[package]] +name = "critical-section" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "790eea4361631c5e7d22598ecd5723ff611904e3344ce8720784c93e3d83d40b" + +[[package]] +name = "crossbeam-channel" +version = "0.5.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2" +dependencies = [ + "crossbeam-utils", +] + [[package]] name = "crossbeam-deque" version = "0.8.6" @@ -2125,9 +2581,9 @@ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" [[package]] name = "crunchy" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43da5946c66ffcc7745f48db692ffbb10a83bfe0afd96235c5c2a4fb23994929" +checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" [[package]] name = "crypto-bigint" @@ -2143,9 +2599,9 @@ dependencies = [ [[package]] name = "crypto-common" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" dependencies = [ "generic-array 0.14.7", "rand_core 0.6.4", @@ -2172,6 +2628,21 @@ dependencies = [ "subtle 2.6.1", ] +[[package]] +name = "crypto_secretbox" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9d6cf87adf719ddf43a805e92c6870a531aedda35ff640442cbaf8674e141e1" +dependencies = [ + "aead", + "cipher 0.4.4", + "generic-array 0.14.7", + "poly1305", + "salsa20", + "subtle 2.6.1", + "zeroize", +] + [[package]] name = "ctr" version = "0.9.2" @@ -2181,10 +2652,36 @@ dependencies = [ "cipher 0.4.4", ] +[[package]] +name = "cumulus-client-bootnodes" +version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" +dependencies = [ + "array-bytes 6.2.3", + "async-channel 1.9.0", + "cumulus-client-network", + "cumulus-primitives-core", + "cumulus-relay-chain-interface", + "futures 0.3.31", + "hex", + "ip_network", + "log", + "num-traits", + "parachains-common", + "parity-scale-codec", + "prost 0.12.6", + "prost-build", + "sc-network", + "sc-service", + "sp-consensus-babe", + "sp-runtime", + "tokio", +] + [[package]] name = "cumulus-client-cli" -version = "0.21.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.24.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "clap", "parity-scale-codec", @@ -2200,15 +2697,15 @@ dependencies = [ [[package]] name = "cumulus-client-collator" -version = "0.21.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.24.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", "cumulus-primitives-core", "futures 0.3.31", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-overseer", @@ -2223,8 +2720,8 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" -version = "0.21.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.24.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "cumulus-client-collator", @@ -2236,7 +2733,7 @@ dependencies = [ "cumulus-relay-chain-interface", "futures 0.3.31", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", @@ -2262,6 +2759,7 @@ dependencies = [ "sp-runtime", "sp-state-machine", "sp-timestamp", + "sp-trie", "substrate-prometheus-endpoint", "tokio", "tracing", @@ -2269,13 +2767,14 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" -version = "0.21.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.24.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "cumulus-client-pov-recovery", "cumulus-primitives-core", "cumulus-relay-chain-interface", + "cumulus-relay-chain-streams", "dyn-clone", "futures 0.3.31", "log", @@ -2284,6 +2783,7 @@ dependencies = [ "sc-client-api", "sc-consensus", "sc-consensus-babe", + "sc-network", "schnellru", "sp-blockchain", "sp-consensus", @@ -2299,8 +2799,8 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-proposer" -version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.20.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "anyhow", "async-trait", @@ -2314,15 +2814,15 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-relay-chain" -version = "0.21.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.24.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "cumulus-client-consensus-common", "cumulus-primitives-core", "cumulus-relay-chain-interface", "futures 0.3.31", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "sc-consensus", "sp-api", "sp-block-builder", @@ -2337,20 +2837,21 @@ dependencies = [ [[package]] name = "cumulus-client-network" -version = "0.21.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.24.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "cumulus-relay-chain-interface", "futures 0.3.31", "futures-timer", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-parachain-primitives", "polkadot-primitives", "sc-client-api", + "sc-network", "sp-api", "sp-blockchain", "sp-consensus", @@ -2363,8 +2864,8 @@ dependencies = [ [[package]] name = "cumulus-client-parachain-inherent" -version = "0.15.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.18.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2373,24 +2874,24 @@ dependencies = [ "cumulus-test-relay-sproof-builder", "parity-scale-codec", "sc-client-api", - "sp-api", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2412)", + "sc-consensus-babe", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2506)", "sp-inherents", "sp-runtime", "sp-state-machine", "sp-storage", - "sp-trie", "tracing", ] [[package]] name = "cumulus-client-pov-recovery" -version = "0.21.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.24.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", + "cumulus-relay-chain-streams", "futures 0.3.31", "futures-timer", "parity-scale-codec", @@ -2401,6 +2902,7 @@ dependencies = [ "rand 0.8.5", "sc-client-api", "sc-consensus", + "sc-network", "sp-api", "sp-consensus", "sp-maybe-compressed-blob", @@ -2411,9 +2913,10 @@ dependencies = [ [[package]] name = "cumulus-client-service" -version = "0.22.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.25.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ + "async-channel 1.9.0", "cumulus-client-cli", "cumulus-client-collator", "cumulus-client-consensus-common", @@ -2424,8 +2927,10 @@ dependencies = [ "cumulus-relay-chain-inprocess-interface", "cumulus-relay-chain-interface", "cumulus-relay-chain-minimal-node", + "cumulus-relay-chain-streams", "futures 0.3.31", "polkadot-primitives", + "prometheus", "sc-client-api", "sc-consensus", "sc-network", @@ -2448,8 +2953,8 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" -version = "0.18.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.21.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -2465,9 +2970,10 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" -version = "0.18.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.21.2" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ + "array-bytes 6.2.3", "bytes", "cumulus-pallet-parachain-system-proc-macro", "cumulus-primitives-core", @@ -2477,14 +2983,15 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "hashbrown 0.15.5", "impl-trait-for-tuples", "log", "pallet-message-queue", "parity-scale-codec", "polkadot-parachain-primitives", - "polkadot-runtime-common", "polkadot-runtime-parachains", "scale-info", + "sp-consensus-babe", "sp-core", "sp-externalities", "sp-inherents", @@ -2502,18 +3009,18 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "cumulus-pallet-xcm" -version = "0.18.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.20.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2527,9 +3034,10 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" -version = "0.18.2" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.21.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ + "approx", "bounded-collections", "bp-xcm-bridge-hub-router", "cumulus-primitives-core", @@ -2552,8 +3060,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-aura" -version = "0.16.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.18.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "sp-api", "sp-consensus-aura", @@ -2561,8 +3069,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" -version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.19.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2573,12 +3081,13 @@ dependencies = [ "sp-runtime", "sp-trie", "staging-xcm", + "tracing", ] [[package]] name = "cumulus-primitives-parachain-inherent" -version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.19.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2591,18 +3100,35 @@ dependencies = [ [[package]] name = "cumulus-primitives-proof-size-hostfunction" -version = "0.11.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.13.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "sp-externalities", "sp-runtime-interface", "sp-trie", ] +[[package]] +name = "cumulus-primitives-storage-weight-reclaim" +version = "12.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" +dependencies = [ + "cumulus-primitives-core", + "cumulus-primitives-proof-size-hostfunction", + "docify", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-runtime", +] + [[package]] name = "cumulus-primitives-utility" -version = "0.18.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.21.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2618,18 +3144,22 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" -version = "0.22.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.25.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ + "async-channel 1.9.0", "async-trait", + "cumulus-client-bootnodes", "cumulus-primitives-core", "cumulus-relay-chain-interface", "futures 0.3.31", "futures-timer", "polkadot-cli", + "polkadot-primitives", "polkadot-service", "sc-cli", "sc-client-api", + "sc-network", "sc-sysinfo", "sc-telemetry", "sc-tracing", @@ -2642,16 +3172,17 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" -version = "0.21.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.24.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "cumulus-primitives-core", "futures 0.3.31", - "jsonrpsee-core 0.24.9", + "jsonrpsee-core", "parity-scale-codec", "polkadot-overseer", "sc-client-api", + "sc-network", "sp-api", "sp-blockchain", "sp-state-machine", @@ -2661,11 +3192,13 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-minimal-node" -version = "0.22.2" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.25.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", + "async-channel 1.9.0", "async-trait", + "cumulus-client-bootnodes", "cumulus-primitives-core", "cumulus-relay-chain-interface", "cumulus-relay-chain-rpc-interface", @@ -2690,14 +3223,13 @@ dependencies = [ "sp-consensus-babe", "sp-runtime", "substrate-prometheus-endpoint", - "tokio", "tracing", ] [[package]] name = "cumulus-relay-chain-rpc-interface" -version = "0.21.2" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.24.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2705,13 +3237,14 @@ dependencies = [ "either", "futures 0.3.31", "futures-timer", - "jsonrpsee 0.24.9", + "jsonrpsee", "parity-scale-codec", "pin-project", "polkadot-overseer", "prometheus", "rand 0.8.5", "sc-client-api", + "sc-network", "sc-rpc-api", "sc-service", "schnellru", @@ -2719,7 +3252,6 @@ dependencies = [ "serde_json", "smoldot 0.11.0", "smoldot-light 0.9.0", - "sp-api", "sp-authority-discovery", "sp-consensus-babe", "sp-core", @@ -2735,10 +3267,24 @@ dependencies = [ "url", ] +[[package]] +name = "cumulus-relay-chain-streams" +version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" +dependencies = [ + "cumulus-relay-chain-interface", + "futures 0.3.31", + "polkadot-node-subsystem", + "polkadot-primitives", + "sp-api", + "sp-consensus", + "tracing", +] + [[package]] name = "cumulus-test-relay-sproof-builder" -version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.20.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -2772,7 +3318,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -2790,61 +3336,64 @@ dependencies = [ [[package]] name = "cxx" -version = "1.0.158" +version = "1.0.192" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a71ea7f29c73f7ffa64c50b83c9fe4d3a6d4be89a86b009eb80d5a6d3429d741" +checksum = "bbda285ba6e5866529faf76352bdf73801d9b44a6308d7cd58ca2379f378e994" dependencies = [ "cc", + "cxx-build", "cxxbridge-cmd", "cxxbridge-flags", "cxxbridge-macro", - "foldhash", + "foldhash 0.2.0", "link-cplusplus", ] [[package]] name = "cxx-build" -version = "1.0.158" +version = "1.0.192" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36a8232661d66dcf713394726157d3cfe0a89bfc85f52d6e9f9bbc2306797fe7" +checksum = "af9efde466c5d532d57efd92f861da3bdb7f61e369128ce8b4c3fe0c9de4fa4d" dependencies = [ "cc", "codespan-reporting", + "indexmap 2.12.1", "proc-macro2", "quote", "scratch", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "cxxbridge-cmd" -version = "1.0.158" +version = "1.0.192" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f44296c8693e9ea226a48f6a122727f77aa9e9e338380cb021accaeeb7ee279" +checksum = "3efb93799095bccd4f763ca07997dc39a69e5e61ab52d2c407d4988d21ce144d" dependencies = [ "clap", "codespan-reporting", + "indexmap 2.12.1", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "cxxbridge-flags" -version = "1.0.158" +version = "1.0.192" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c42f69c181c176981ae44ba9876e2ea41ce8e574c296b38d06925ce9214fb8e4" +checksum = "3092010228026e143b32a4463ed9fa8f86dca266af4bf5f3b2a26e113dbe4e45" [[package]] name = "cxxbridge-macro" -version = "1.0.158" +version = "1.0.192" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8faff5d4467e0709448187df29ccbf3b0982cc426ee444a193f87b11afb565a8" +checksum = "31d72ebfcd351ae404fb00ff378dfc9571827a00722c9e735c9181aec320ba0a" dependencies = [ + "indexmap 2.12.1", "proc-macro2", "quote", - "rustversion", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -2858,72 +3407,72 @@ dependencies = [ [[package]] name = "darling" -version = "0.14.4" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b750cb3417fd1b327431a470f388520309479ab0bf5e323505daf0290cd3850" +checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee" dependencies = [ - "darling_core 0.14.4", - "darling_macro 0.14.4", + "darling_core 0.20.11", + "darling_macro 0.20.11", ] [[package]] name = "darling" -version = "0.20.11" +version = "0.21.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee" +checksum = "9cdf337090841a411e2a7f3deb9187445851f91b309c0c0a29e05f74a00a48c0" dependencies = [ - "darling_core 0.20.11", - "darling_macro 0.20.11", + "darling_core 0.21.3", + "darling_macro 0.21.3", ] [[package]] name = "darling_core" -version = "0.14.4" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "109c1ca6e6b7f82cc233a97004ea8ed7ca123a9af07a8230878fcfda9b158bf0" +checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e" dependencies = [ "fnv", "ident_case", "proc-macro2", "quote", - "strsim 0.10.0", - "syn 1.0.109", + "strsim", + "syn 2.0.111", ] [[package]] name = "darling_core" -version = "0.20.11" +version = "0.21.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e" +checksum = "1247195ecd7e3c85f83c8d2a366e4210d588e802133e1e355180a9870b517ea4" dependencies = [ "fnv", "ident_case", "proc-macro2", "quote", - "strsim 0.11.1", - "syn 2.0.101", + "strsim", + "syn 2.0.111", ] [[package]] name = "darling_macro" -version = "0.14.4" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e" +checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead" dependencies = [ - "darling_core 0.14.4", + "darling_core 0.20.11", "quote", - "syn 1.0.109", + "syn 2.0.111", ] [[package]] name = "darling_macro" -version = "0.20.11" +version = "0.21.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead" +checksum = "d38308df82d1080de0afee5d069fa14b0326a88c14f15c5ccda35b4a6c414c81" dependencies = [ - "darling_core 0.20.11", + "darling_core 0.21.3", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -2936,7 +3485,7 @@ dependencies = [ "hashbrown 0.14.5", "lock_api", "once_cell", - "parking_lot_core 0.9.10", + "parking_lot_core 0.9.12", ] [[package]] @@ -2962,7 +3511,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8d162beedaa69905488a8da94f5ac3edb4dd4788b732fadb7bd120b2625c1976" dependencies = [ "data-encoding", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -2994,16 +3543,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" dependencies = [ "const-oid", + "pem-rfc7468", "zeroize", ] [[package]] name = "der-parser" -version = "8.2.0" +version = "9.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbd676fbbab537128ef0278adb5576cf363cff6aa22a7b24effe97347cfab61e" +checksum = "5cd0a5c643689626bec213c4d8bd4d96acc8ffdb4ad4bb6bc16abf27d5f4b553" dependencies = [ - "asn1-rs 0.5.2", + "asn1-rs 0.6.2", "displaydoc", "nom", "num-bigint", @@ -3027,9 +3577,9 @@ dependencies = [ [[package]] name = "deranged" -version = "0.4.0" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c9e6a11ca8224451684bc0d7d5a7adbf8f2fd6887261a1cfc3c0432f9d4068e" +checksum = "ececcb659e7ba858fb4f10388c250a7252eb0a27373f1a72b8748afdd248e587" dependencies = [ "powerfmt", ] @@ -3053,18 +3603,18 @@ checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "derive-where" -version = "1.4.0" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e73f2692d4bd3cac41dca28934a39894200c9fabf49586d77d0e5954af1d7902" +checksum = "ef941ded77d15ca19b40374869ac6000af1c9f2a4c0f3d4c70926287e6364a8f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -3073,11 +3623,11 @@ version = "0.99.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6edb4b64a43d977b8e99788fe3a04d483834fba1215a7e02caa415b626497f7f" dependencies = [ - "convert_case", + "convert_case 0.4.0", "proc-macro2", "quote", "rustc_version 0.4.1", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -3086,7 +3636,16 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4a9b99b9cbbe49445b21764dc0625032a89b145a2642e67603e1c936f5458d05" dependencies = [ - "derive_more-impl", + "derive_more-impl 1.0.0", +] + +[[package]] +name = "derive_more" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134" +dependencies = [ + "derive_more-impl 2.1.1", ] [[package]] @@ -3097,15 +3656,23 @@ checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", "unicode-xid", ] [[package]] -name = "difflib" -version = "0.4.0" +name = "derive_more-impl" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8" +checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb" +dependencies = [ + "convert_case 0.10.0", + "proc-macro2", + "quote", + "rustc_version 0.4.1", + "syn 2.0.111", + "unicode-xid", +] [[package]] name = "digest" @@ -3156,6 +3723,15 @@ 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" @@ -3187,7 +3763,7 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -3211,9 +3787,9 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.101", + "syn 2.0.111", "termcolor", - "toml 0.8.22", + "toml 0.8.23", "walkdir", ] @@ -3265,14 +3841,14 @@ checksum = "7e8671d54058979a37a26f3511fbf8d198ba1aa35ffb202c42587d918d77213a" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "dyn-clone" -version = "1.0.19" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c7a8fb8a9fbf66c1f703fe16184d10ca0ee9d23be5b4436400408ba54a95005" +checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555" [[package]] name = "ecdsa" @@ -3301,9 +3877,9 @@ dependencies = [ [[package]] name = "ed25519-dalek" -version = "2.1.1" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" +checksum = "70e796c081cee67dc755e1a36a0a172b897fab85fc3f6bc48307991f64e4eca9" dependencies = [ "curve25519-dalek", "ed25519", @@ -3316,19 +3892,32 @@ dependencies = [ [[package]] name = "ed25519-zebra" -version = "4.0.3" +version = "4.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d9ce6874da5d4415896cd45ffbc4d1cfc0c4f9c079427bd870742c30f2f65a9" +checksum = "0017d969298eec91e3db7a2985a8cab4df6341d86e6f3a6f5878b13fb7846bc9" dependencies = [ "curve25519-dalek", "ed25519", - "hashbrown 0.14.5", - "hex", + "hashbrown 0.15.5", + "pkcs8", "rand_core 0.6.4", "sha2 0.10.9", + "subtle 2.6.1", "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.111", +] + [[package]] name = "either" version = "1.15.0" @@ -3392,47 +3981,55 @@ dependencies = [ ] [[package]] -name = "enum-as-inner" -version = "0.5.1" +name = "enum-as-inner" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1e6a265c649f3f5979b601d26f1d05ada116434c87741c9493cb56218f76cbc" +dependencies = [ + "heck 0.5.0", + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "enum-ordinalize" +version = "4.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9720bba047d567ffc8a3cba48bf19126600e249ab7f128e9233e6376976a116" +checksum = "4a1091a7bb1f8f2c4b28f1fe2cef4980ca2d410a3d727d67ecc3178c9b0800f0" dependencies = [ - "heck 0.4.1", - "proc-macro2", - "quote", - "syn 1.0.109", + "enum-ordinalize-derive", ] [[package]] -name = "enum-as-inner" -version = "0.6.1" +name = "enum-ordinalize-derive" +version = "4.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1e6a265c649f3f5979b601d26f1d05ada116434c87741c9493cb56218f76cbc" +checksum = "8ca9601fb2d62598ee17836250842873a413586e5d7ed88b356e38ddbb0ec631" dependencies = [ - "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "enumflags2" -version = "0.7.11" +version = "0.7.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba2f4b465f5318854c6f8dd686ede6c0a9dc67d4b1ac241cf0eb51521a309147" +checksum = "1027f7680c853e056ebcec683615fb6fbbc07dbaa13b4d5d9442b146ded4ecef" dependencies = [ "enumflags2_derive", ] [[package]] name = "enumflags2_derive" -version = "0.7.11" +version = "0.7.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc4caf64a58d7a6d65ab00639b046ff54399a39f5f2554728895ace4b297cd79" +checksum = "67c78a4d8fdf9953a5c9d458f9efe940fd97a0cab0941c075a813ac594733827" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -3443,7 +4040,17 @@ checksum = "2f9ed6b3789237c8a0c1c505af1c7eb2c560df6186f01b098c3a1064ea532f38" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", +] + +[[package]] +name = "env_filter" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bf3c259d255ca70051b30e2e95b5446cdb8949ac4cd22c0d7fd634d89f568e2" +dependencies = [ + "log", + "regex", ] [[package]] @@ -3472,6 +4079,19 @@ dependencies = [ "termcolor", ] +[[package]] +name = "env_logger" +version = "0.11.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c863f0904021b108aa8b2f55046443e6b1ebde8fd4a15c399893aae4fa069f" +dependencies = [ + "anstream", + "anstyle", + "env_filter", + "jiff", + "log", +] + [[package]] name = "environmental" version = "1.1.4" @@ -3486,12 +4106,12 @@ checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" [[package]] name = "errno" -version = "0.3.11" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "976dd42dc7e85965fe702eb8164f21f450704bdde31faefd6471dba214cb594e" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -3507,13 +4127,13 @@ dependencies = [ "hmac 0.12.1", "pbkdf2 0.11.0", "rand 0.8.5", - "scrypt", + "scrypt 0.10.0", "serde", "serde_json", "sha2 0.10.9", "sha3", "thiserror 1.0.69", - "uuid", + "uuid 0.8.2", ] [[package]] @@ -3565,13 +4185,15 @@ dependencies = [ [[package]] name = "ethereum" -version = "0.15.0" -source = "git+https://github.com/rust-ethereum/ethereum?rev=3be0d8fd4c2ad1ba216b69ef65b9382612efc8ba#3be0d8fd4c2ad1ba216b69ef65b9382612efc8ba" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ee371ebb7479ed3258617557ab0b3247e741075cb6b02b820d188f68da44441" dependencies = [ "bytes", "ethereum-types 0.15.1", "hash-db", "hash256-std-hasher", + "k256", "parity-scale-codec", "rlp 0.6.1", "scale-info", @@ -3580,6 +4202,14 @@ dependencies = [ "trie-root", ] +[[package]] +name = "ethereum-standards" +version = "0.1.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" +dependencies = [ + "alloy-core", +] + [[package]] name = "ethereum-types" version = "0.14.1" @@ -3674,8 +4304,8 @@ dependencies = [ "regex", "serde", "serde_json", - "syn 2.0.101", - "toml 0.8.22", + "syn 2.0.111", + "toml 0.8.23", "walkdir", ] @@ -3692,7 +4322,7 @@ dependencies = [ "proc-macro2", "quote", "serde_json", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -3710,7 +4340,7 @@ dependencies = [ "ethabi", "generic-array 0.14.7", "k256", - "num_enum 0.7.3", + "num_enum 0.7.5", "once_cell", "open-fastrlp", "rand 0.8.5", @@ -3718,7 +4348,7 @@ dependencies = [ "serde", "serde_json", "strum 0.26.3", - "syn 2.0.101", + "syn 2.0.111", "tempfile", "thiserror 1.0.69", "tiny-keccak", @@ -3825,19 +4455,9 @@ dependencies = [ [[package]] name = "event-listener" -version = "4.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e" -dependencies = [ - "concurrent-queue", - "pin-project-lite", -] - -[[package]] -name = "event-listener" -version = "5.4.0" +version = "5.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3492acde4c3fc54c845eaab3eed8bd00c7a7d881f78bfc801e43a93dec1331ae" +checksum = "e13b66accf52311f30a0db42147dadea9850cb48cd070028831ae5f5d4b856ab" dependencies = [ "concurrent-queue", "parking", @@ -3850,14 +4470,14 @@ version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8be9f3dfaaffdae2972880079a491a1a8bb7cbed0b8dd7a347f668b4150a3b93" dependencies = [ - "event-listener 5.4.0", + "event-listener 5.4.1", "pin-project-lite", ] [[package]] name = "evm" -version = "0.42.0" -source = "git+https://github.com/rust-ethereum/evm?rev=e81732d6bb47e3d3d68d233e43919c4522598361#e81732d6bb47e3d3d68d233e43919c4522598361" +version = "0.43.4" +source = "git+https://github.com/rust-ethereum/evm?branch=v0.x#6917b131d552559ee84b0b3ea5450d9890a7e9bd" dependencies = [ "auto_impl", "environmental", @@ -3876,8 +4496,8 @@ dependencies = [ [[package]] name = "evm-core" -version = "0.42.0" -source = "git+https://github.com/rust-ethereum/evm?rev=e81732d6bb47e3d3d68d233e43919c4522598361#e81732d6bb47e3d3d68d233e43919c4522598361" +version = "0.43.0" +source = "git+https://github.com/rust-ethereum/evm?branch=v0.x#6917b131d552559ee84b0b3ea5450d9890a7e9bd" dependencies = [ "parity-scale-codec", "primitive-types 0.13.1", @@ -3887,8 +4507,8 @@ dependencies = [ [[package]] name = "evm-gasometer" -version = "0.42.0" -source = "git+https://github.com/rust-ethereum/evm?rev=e81732d6bb47e3d3d68d233e43919c4522598361#e81732d6bb47e3d3d68d233e43919c4522598361" +version = "0.43.0" +source = "git+https://github.com/rust-ethereum/evm?branch=v0.x#6917b131d552559ee84b0b3ea5450d9890a7e9bd" dependencies = [ "environmental", "evm-core", @@ -3898,8 +4518,8 @@ dependencies = [ [[package]] name = "evm-runtime" -version = "0.42.0" -source = "git+https://github.com/rust-ethereum/evm?rev=e81732d6bb47e3d3d68d233e43919c4522598361#e81732d6bb47e3d3d68d233e43919c4522598361" +version = "0.43.0" +source = "git+https://github.com/rust-ethereum/evm?branch=v0.x#6917b131d552559ee84b0b3ea5450d9890a7e9bd" dependencies = [ "auto_impl", "environmental", @@ -3943,7 +4563,7 @@ dependencies = [ "prettyplease", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -3989,6 +4609,28 @@ version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" +[[package]] +name = "fastrlp" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "139834ddba373bbdd213dffe02c8d110508dcf1726c2be27e8d1f7d7e1856418" +dependencies = [ + "arrayvec 0.7.6", + "auto_impl", + "bytes", +] + +[[package]] +name = "fastrlp" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce8dba4714ef14b8274c371879b175aa55b16b30f269663f19d576f380018dc4" +dependencies = [ + "arrayvec 0.7.6", + "auto_impl", + "bytes", +] + [[package]] name = "fatality" version = "0.1.1" @@ -4006,17 +4648,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eb42427514b063d97ce21d5199f36c0c307d981434a6be32582bc79fe5bd2303" dependencies = [ "expander", - "indexmap 2.9.0", - "proc-macro-crate 3.3.0", + "indexmap 2.12.1", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "fc-api" version = "1.0.0-dev" -source = "git+https://github.com/AstarNetwork/frontier?rev=e74325d1b2150a6e505c20a4190236db4daca2bb#e74325d1b2150a6e505c20a4190236db4daca2bb" +source = "git+https://github.com/AstarNetwork/frontier?branch=stable2506#20314b66f29eb44f2f1980bf7c073df04fba3361" dependencies = [ "async-trait", "fp-storage", @@ -4028,7 +4670,7 @@ dependencies = [ [[package]] name = "fc-consensus" version = "2.0.0-dev" -source = "git+https://github.com/AstarNetwork/frontier?rev=e74325d1b2150a6e505c20a4190236db4daca2bb#e74325d1b2150a6e505c20a4190236db4daca2bb" +source = "git+https://github.com/AstarNetwork/frontier?branch=stable2506#20314b66f29eb44f2f1980bf7c073df04fba3361" dependencies = [ "async-trait", "fp-consensus", @@ -4038,13 +4680,13 @@ dependencies = [ "sp-block-builder", "sp-consensus", "sp-runtime", - "thiserror 1.0.69", + "thiserror 2.0.17", ] [[package]] name = "fc-db" version = "2.0.0-dev" -source = "git+https://github.com/AstarNetwork/frontier?rev=e74325d1b2150a6e505c20a4190236db4daca2bb#e74325d1b2150a6e505c20a4190236db4daca2bb" +source = "git+https://github.com/AstarNetwork/frontier?branch=stable2506#20314b66f29eb44f2f1980bf7c073df04fba3361" dependencies = [ "async-trait", "ethereum", @@ -4058,7 +4700,7 @@ dependencies = [ "log", "parity-db", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "sc-client-api", "sc-client-db", "smallvec", @@ -4074,7 +4716,7 @@ dependencies = [ [[package]] name = "fc-mapping-sync" version = "2.0.0-dev" -source = "git+https://github.com/AstarNetwork/frontier?rev=e74325d1b2150a6e505c20a4190236db4daca2bb#e74325d1b2150a6e505c20a4190236db4daca2bb" +source = "git+https://github.com/AstarNetwork/frontier?branch=stable2506#20314b66f29eb44f2f1980bf7c073df04fba3361" dependencies = [ "fc-db", "fc-storage", @@ -4083,7 +4725,7 @@ dependencies = [ "futures 0.3.31", "futures-timer", "log", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "sc-client-api", "sc-utils", "sp-api", @@ -4097,7 +4739,7 @@ dependencies = [ [[package]] name = "fc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/AstarNetwork/frontier?rev=e74325d1b2150a6e505c20a4190236db4daca2bb#e74325d1b2150a6e505c20a4190236db4daca2bb" +source = "git+https://github.com/AstarNetwork/frontier?branch=stable2506#20314b66f29eb44f2f1980bf7c073df04fba3361" dependencies = [ "ethereum", "ethereum-types 0.15.1", @@ -4111,13 +4753,13 @@ dependencies = [ "fp-storage", "futures 0.3.31", "hex", - "jsonrpsee 0.24.9", + "jsonrpsee", "libsecp256k1", "log", "pallet-evm", "parity-scale-codec", "prometheus", - "rand 0.8.5", + "rand 0.9.2", "rlp 0.6.1", "sc-client-api", "sc-consensus-aura", @@ -4142,30 +4784,32 @@ dependencies = [ "sp-state-machine", "sp-storage", "sp-timestamp", + "sp-trie", "substrate-prometheus-endpoint", - "thiserror 1.0.69", + "thiserror 2.0.17", "tokio", ] [[package]] name = "fc-rpc-core" version = "1.1.0-dev" -source = "git+https://github.com/AstarNetwork/frontier?rev=e74325d1b2150a6e505c20a4190236db4daca2bb#e74325d1b2150a6e505c20a4190236db4daca2bb" +source = "git+https://github.com/AstarNetwork/frontier?branch=stable2506#20314b66f29eb44f2f1980bf7c073df04fba3361" dependencies = [ "ethereum", "ethereum-types 0.15.1", - "jsonrpsee 0.24.9", + "jsonrpsee", "rlp 0.6.1", "rustc-hex", "serde", "serde_json", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2412)", + "sp-core", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2506)", ] [[package]] name = "fc-storage" version = "1.0.0-dev" -source = "git+https://github.com/AstarNetwork/frontier?rev=e74325d1b2150a6e505c20a4190236db4daca2bb#e74325d1b2150a6e505c20a4190236db4daca2bb" +source = "git+https://github.com/AstarNetwork/frontier?branch=stable2506#20314b66f29eb44f2f1980bf7c073df04fba3361" dependencies = [ "ethereum", "ethereum-types 0.15.1", @@ -4227,14 +4871,14 @@ dependencies = [ [[package]] name = "filetime" -version = "0.2.25" +version = "0.2.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586" +checksum = "bc0505cd1b6fa6580283f6bdf70a73fcf4aba1184038c90902b92b3dd0df63ed" dependencies = [ "cfg-if", "libc", "libredox", - "windows-sys 0.59.0", + "windows-sys 0.60.2", ] [[package]] @@ -4249,19 +4893,15 @@ dependencies = [ "log", "num-traits", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "scale-info", ] [[package]] -name = "finito" -version = "0.1.0" +name = "find-msvc-tools" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2384245d85162258a14b43567a9ee3598f5ae746a1581fb5d3d2cb780f0dbf95" -dependencies = [ - "futures-timer", - "pin-project", -] +checksum = "3a3076410a55c90011c298b04d0cfa770b00fa04e1e3c97d3f6c9de105a03844" [[package]] name = "fixed-hash" @@ -4282,13 +4922,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] -name = "float-cmp" -version = "0.9.0" +name = "fixedbitset" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4" -dependencies = [ - "num-traits", -] +checksum = "1d674e81391d1e1ab681a28d99df07927c6d4aa5b027d7da16ba32d1d21ecd99" [[package]] name = "flume" @@ -4313,6 +4950,12 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" +[[package]] +name = "foldhash" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" + [[package]] name = "foreign-types" version = "0.3.2" @@ -4331,16 +4974,16 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "13.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "parity-scale-codec", ] [[package]] name = "form_urlencoded" -version = "1.2.1" +version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" dependencies = [ "percent-encoding", ] @@ -4358,7 +5001,7 @@ dependencies = [ [[package]] name = "fp-account" version = "1.0.0-dev" -source = "git+https://github.com/AstarNetwork/frontier?rev=e74325d1b2150a6e505c20a4190236db4daca2bb#e74325d1b2150a6e505c20a4190236db4daca2bb" +source = "git+https://github.com/AstarNetwork/frontier?branch=stable2506#20314b66f29eb44f2f1980bf7c073df04fba3361" dependencies = [ "hex", "impl-serde 0.5.0", @@ -4370,14 +5013,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-runtime-interface", "staging-xcm", ] [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/AstarNetwork/frontier?rev=e74325d1b2150a6e505c20a4190236db4daca2bb#e74325d1b2150a6e505c20a4190236db4daca2bb" +source = "git+https://github.com/AstarNetwork/frontier?branch=stable2506#20314b66f29eb44f2f1980bf7c073df04fba3361" dependencies = [ "ethereum", "parity-scale-codec", @@ -4388,7 +5030,7 @@ dependencies = [ [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://github.com/AstarNetwork/frontier?rev=e74325d1b2150a6e505c20a4190236db4daca2bb#e74325d1b2150a6e505c20a4190236db4daca2bb" +source = "git+https://github.com/AstarNetwork/frontier?branch=stable2506#20314b66f29eb44f2f1980bf7c073df04fba3361" dependencies = [ "ethereum", "ethereum-types 0.15.1", @@ -4400,12 +5042,12 @@ dependencies = [ [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/AstarNetwork/frontier?rev=e74325d1b2150a6e505c20a4190236db4daca2bb#e74325d1b2150a6e505c20a4190236db4daca2bb" +source = "git+https://github.com/AstarNetwork/frontier?branch=stable2506#20314b66f29eb44f2f1980bf7c073df04fba3361" dependencies = [ "environmental", "evm", "frame-support", - "num_enum 0.7.3", + "num_enum 0.7.5", "parity-scale-codec", "scale-info", "serde", @@ -4416,7 +5058,7 @@ dependencies = [ [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/AstarNetwork/frontier?rev=e74325d1b2150a6e505c20a4190236db4daca2bb#e74325d1b2150a6e505c20a4190236db4daca2bb" +source = "git+https://github.com/AstarNetwork/frontier?branch=stable2506#20314b66f29eb44f2f1980bf7c073df04fba3361" dependencies = [ "ethereum", "ethereum-types 0.15.1", @@ -4432,7 +5074,7 @@ dependencies = [ [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/AstarNetwork/frontier?rev=e74325d1b2150a6e505c20a4190236db4daca2bb#e74325d1b2150a6e505c20a4190236db4daca2bb" +source = "git+https://github.com/AstarNetwork/frontier?branch=stable2506#20314b66f29eb44f2f1980bf7c073df04fba3361" dependencies = [ "frame-support", "parity-scale-codec", @@ -4444,7 +5086,7 @@ dependencies = [ [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/AstarNetwork/frontier?rev=e74325d1b2150a6e505c20a4190236db4daca2bb#e74325d1b2150a6e505c20a4190236db4daca2bb" +source = "git+https://github.com/AstarNetwork/frontier?branch=stable2506#20314b66f29eb44f2f1980bf7c073df04fba3361" dependencies = [ "parity-scale-codec", "serde", @@ -4458,8 +5100,8 @@ checksum = "28dd6caf6059519a65843af8fe2a3ae298b14b80179855aeb4adc2c1934ee619" [[package]] name = "frame-benchmarking" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-support", "frame-support-procedural", @@ -4482,22 +5124,23 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" -version = "46.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "49.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "Inflector", - "array-bytes", + "array-bytes 6.2.3", "chrono", "clap", "comfy-table", "cumulus-client-parachain-inherent", "cumulus-primitives-proof-size-hostfunction", + "env_filter", "frame-benchmarking", + "frame-storage-access-test-runtime", "frame-support", "frame-system", "gethostname", "handlebars", - "hex", "itertools 0.11.0", "linked-hash-map", "log", @@ -4513,6 +5156,8 @@ dependencies = [ "sc-client-db", "sc-executor", "sc-executor-common", + "sc-executor-wasmtime", + "sc-runtime-utilities", "sc-service", "sc-sysinfo", "serde", @@ -4521,7 +5166,6 @@ dependencies = [ "sp-block-builder", "sp-blockchain", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2412)", "sp-database", "sp-externalities", "sp-genesis-builder", @@ -4529,6 +5173,7 @@ dependencies = [ "sp-io", "sp-keystore", "sp-runtime", + "sp-runtime-interface", "sp-state-machine", "sp-storage", "sp-timestamp", @@ -4542,21 +5187,35 @@ dependencies = [ "thousands", ] +[[package]] +name = "frame-decode" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7cb8796f93fa038f979a014234d632e9688a120e745f936e2635123c77537f7" +dependencies = [ + "frame-metadata 21.0.0", + "parity-scale-codec", + "scale-decode", + "scale-info", + "scale-type-resolver", + "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.2" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "16.1.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "frame-election-provider-support" -version = "39.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -4567,12 +5226,13 @@ dependencies = [ "sp-core", "sp-npos-elections", "sp-runtime", + "sp-std", ] [[package]] name = "frame-executive" -version = "39.1.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.2" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "aquamarine", "frame-support", @@ -4589,32 +5249,32 @@ dependencies = [ [[package]] name = "frame-metadata" -version = "15.1.0" +version = "20.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "878babb0b136e731cc77ec2fd883ff02745ff21e6fb662729953d44923df009c" +checksum = "26de808fa6461f2485dc51811aefed108850064994fb4a62b3ac21ffa62ac8df" dependencies = [ "cfg-if", "parity-scale-codec", "scale-info", + "serde", ] [[package]] name = "frame-metadata" -version = "16.0.0" +version = "21.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cf1549fba25a6fcac22785b61698317d958e96cac72a59102ea45b9ae64692" +checksum = "20dfd1d7eae1d94e32e869e2fb272d81f52dd8db57820a373adb83ea24d7d862" dependencies = [ "cfg-if", "parity-scale-codec", "scale-info", - "serde", ] [[package]] name = "frame-metadata" -version = "18.0.0" +version = "23.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daaf440c68eb2c3d88e5760fe8c7af3f9fee9181fab6c2f2c4e7cc48dcc40bb8" +checksum = "9ba5be0edbdb824843a0f9c6f0906ecfc66c5316218d74457003218b24909ed0" dependencies = [ "cfg-if", "parity-scale-codec", @@ -4624,10 +5284,10 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.9.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "const-hex", "docify", "frame-support", @@ -4638,18 +5298,32 @@ dependencies = [ "sp-runtime", ] +[[package]] +name = "frame-storage-access-test-runtime" +version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" +dependencies = [ + "cumulus-pallet-parachain-system", + "parity-scale-codec", + "sp-core", + "sp-runtime", + "sp-state-machine", + "sp-trie", + "substrate-wasm-builder", +] + [[package]] name = "frame-support" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "aquamarine", - "array-bytes", + "array-bytes 6.2.3", "binary-merkle-tree", "bitflags 1.3.2", "docify", "environmental", - "frame-metadata 18.0.0", + "frame-metadata 23.0.1", "frame-support-procedural", "impl-trait-for-tuples", "k256", @@ -4660,7 +5334,6 @@ dependencies = [ "scale-info", "serde", "serde_json", - "smallvec", "sp-api", "sp-arithmetic", "sp-core", @@ -4677,14 +5350,13 @@ dependencies = [ "sp-tracing", "sp-trie", "sp-weights", - "static_assertions", "tt-call", ] [[package]] name = "frame-support-procedural" -version = "31.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "34.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "Inflector", "cfg-expr", @@ -4694,39 +5366,39 @@ dependencies = [ "frame-support-procedural-tools", "itertools 0.11.0", "macro_magic", - "proc-macro-warning 1.84.1", + "proc-macro-warning", "proc-macro2", "quote", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2412)", - "syn 2.0.101", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2506)", + "syn 2.0.111", ] [[package]] name = "frame-support-procedural-tools" version = "13.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-support-procedural-tools-derive", - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "frame-support-procedural-tools-derive" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "frame-system" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.2" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "cfg-if", "docify", @@ -4738,15 +5410,14 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", "sp-version", "sp-weights", ] [[package]] name = "frame-system-benchmarking" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-support", @@ -4759,8 +5430,8 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" -version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "docify", "parity-scale-codec", @@ -4769,8 +5440,8 @@ dependencies = [ [[package]] name = "frame-try-runtime" -version = "0.45.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.47.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-support", "parity-scale-codec", @@ -4836,9 +5507,9 @@ dependencies = [ [[package]] name = "futures-bounded" -version = "0.1.0" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b07bbbe7d7e78809544c6f718d875627addc73a7c3582447abc052cd3dc67e0" +checksum = "91f328e7fb845fc832912fb6a34f40cf6d1888c92f974d1893a54e97b5ff542e" dependencies = [ "futures-timer", "futures-util", @@ -4880,7 +5551,7 @@ checksum = "1d930c203dd0b6ff06e0201a4a2fe9149b43c684fd4420555b26d21b1a02956f" dependencies = [ "futures-core", "lock_api", - "parking_lot 0.12.3", + "parking_lot 0.12.5", ] [[package]] @@ -4906,9 +5577,9 @@ dependencies = [ [[package]] name = "futures-lite" -version = "2.6.0" +version = "2.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5edaec856126859abb19ed65f39e90fea3a9574b9707f13539acf4abf7eb532" +checksum = "f78e10609fe0e0b3f4157ffab1876319b5b0db102a2c60dc4626306dc46b44ad" dependencies = [ "fastrand 2.3.0", "futures-core", @@ -4935,17 +5606,18 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "futures-rustls" -version = "0.24.0" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35bd3cf68c183738046838e300353e4716c674dc5e56890de4826801a6622a28" +checksum = "a8f2f12607f92c69b12ed746fabf9ca4f5c482cba46679c1a75b874ed7c26adb" dependencies = [ "futures-io", - "rustls 0.21.12", + "rustls", + "rustls-pki-types", ] [[package]] @@ -5035,20 +5707,24 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" dependencies = [ "cfg-if", + "js-sys", "libc", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi", + "wasm-bindgen", ] [[package]] name = "getrandom" -version = "0.3.2" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73fea8450eea4bac3940448fb7ae50d91f034f941199fcd9d909a5a07aa455f0" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" dependencies = [ "cfg-if", + "js-sys", "libc", "r-efi", - "wasi 0.14.2+wasi-0.2.4", + "wasip2", + "wasm-bindgen", ] [[package]] @@ -5084,9 +5760,9 @@ 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", @@ -5094,15 +5770,15 @@ dependencies = [ [[package]] name = "gimli" -version = "0.31.1" +version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" +checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7" [[package]] name = "glob" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2" +checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280" [[package]] name = "gloo-timers" @@ -5128,7 +5804,7 @@ dependencies = [ "futures-timer", "no-std-compat", "nonzero_ext", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "portable-atomic", "quanta", "rand 0.8.5", @@ -5149,9 +5825,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.26" +version = "0.3.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" +checksum = "0beca50380b1fc32983fc1cb4587bfa4bb9e78fc259aad4a0032d2080309222d" dependencies = [ "bytes", "fnv", @@ -5159,7 +5835,7 @@ dependencies = [ "futures-sink", "futures-util", "http 0.2.12", - "indexmap 2.9.0", + "indexmap 2.12.1", "slab", "tokio", "tokio-util", @@ -5168,17 +5844,17 @@ dependencies = [ [[package]] name = "h2" -version = "0.4.9" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75249d144030531f8dee69fe9cea04d3edf809a017ae445e2abdff6629e86633" +checksum = "f3c0b69cfcb4e1b9f1bf2f53f95f766e4661169728ec61cd3fe5a0166f2d1386" dependencies = [ "atomic-waker", "bytes", "fnv", "futures-core", "futures-sink", - "http 1.3.1", - "indexmap 2.9.0", + "http 1.4.0", + "indexmap 2.12.1", "slab", "tokio", "tokio-util", @@ -5242,13 +5918,24 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.15.3" +version = "0.15.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84b26c544d002229e640969970a2e74021aadf6e2f96372b9c58eff97de08eb3" +checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" dependencies = [ "allocator-api2", "equivalent", - "foldhash", + "foldhash 0.1.5", +] + +[[package]] +name = "hashbrown" +version = "0.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" +dependencies = [ + "foldhash 0.2.0", + "serde", + "serde_core", ] [[package]] @@ -5301,15 +5988,9 @@ checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" [[package]] name = "hermit-abi" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc" - -[[package]] -name = "hermit-abi" -version = "0.5.0" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbd780fe5cc30f81464441920d82ac8740e2e46b29a6fad543ddd075229ce37e" +checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" [[package]] name = "hex" @@ -5326,6 +6007,15 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "212ab92002354b4819390025006c897e8140934349e8635c9b077f47b4dcbd20" +[[package]] +name = "hex-conservative" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fda06d18ac606267c40c04e41b9947729bf8b9efe74bd4e82b61a5f26a510b9f" +dependencies = [ + "arrayvec 0.7.6", +] + [[package]] name = "hex-literal" version = "0.4.1" @@ -5341,14 +6031,15 @@ dependencies = [ "async-trait", "cfg-if", "data-encoding", - "enum-as-inner 0.6.1", + "enum-as-inner", "futures-channel", "futures-io", "futures-util", - "idna 1.0.3", + "idna", "ipnet", "once_cell", "rand 0.8.5", + "socket2 0.5.10", "thiserror 1.0.69", "tinyvec", "tokio", @@ -5356,6 +6047,31 @@ dependencies = [ "url", ] +[[package]] +name = "hickory-proto" +version = "0.25.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8a6fe56c0038198998a6f217ca4e7ef3a5e51f46163bd6dd60b5c71ca6c6502" +dependencies = [ + "async-trait", + "cfg-if", + "data-encoding", + "enum-as-inner", + "futures-channel", + "futures-io", + "futures-util", + "idna", + "ipnet", + "once_cell", + "rand 0.9.2", + "ring 0.17.14", + "thiserror 2.0.17", + "tinyvec", + "tokio", + "tracing", + "url", +] + [[package]] name = "hickory-resolver" version = "0.24.4" @@ -5364,11 +6080,11 @@ checksum = "cbb117a1ca520e111743ab2f6688eddee69db4e0ea242545a604dce8a66fd22e" dependencies = [ "cfg-if", "futures-util", - "hickory-proto", + "hickory-proto 0.24.4", "ipconfig", "lru-cache", "once_cell", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "rand 0.8.5", "resolv-conf", "smallvec", @@ -5377,6 +6093,27 @@ dependencies = [ "tracing", ] +[[package]] +name = "hickory-resolver" +version = "0.25.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc62a9a99b0bfb44d2ab95a7208ac952d31060efc16241c87eaf36406fecf87a" +dependencies = [ + "cfg-if", + "futures-util", + "hickory-proto 0.25.2", + "ipconfig", + "moka", + "once_cell", + "parking_lot 0.12.5", + "rand 0.9.2", + "resolv-conf", + "smallvec", + "thiserror 2.0.17", + "tokio", + "tracing", +] + [[package]] name = "hkdf" version = "0.12.4" @@ -5429,12 +6166,11 @@ dependencies = [ [[package]] name = "http" -version = "1.3.1" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565" +checksum = "e3ba2a386d7f85a81f119ad7498ebe444d2e22c2af0b86b069416ace48b3311a" dependencies = [ "bytes", - "fnv", "itoa", ] @@ -5456,7 +6192,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" dependencies = [ "bytes", - "http 1.3.1", + "http 1.4.0", ] [[package]] @@ -5467,7 +6203,7 @@ checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" dependencies = [ "bytes", "futures-core", - "http 1.3.1", + "http 1.4.0", "http-body 1.0.1", "pin-project-lite", ] @@ -5486,9 +6222,19 @@ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" [[package]] name = "humantime" -version = "2.2.0" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "135b12329e5e3ce057a9f972339ea52bc954fe1e9358ef27f95e89716fbc5424" + +[[package]] +name = "humantime-serde" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b112acc8b3adf4b107a8ec20977da0273a8c386765a3ec0229bd500a1443f9f" +checksum = "57a3db5ea5923d99402c94e9feb261dc5ee9b4efa158b0315f788cf549cc200c" +dependencies = [ + "humantime", + "serde", +] [[package]] name = "hyper" @@ -5500,14 +6246,14 @@ dependencies = [ "futures-channel", "futures-core", "futures-util", - "h2 0.3.26", + "h2 0.3.27", "http 0.2.12", "http-body 0.4.6", "httparse", "httpdate", "itoa", "pin-project-lite", - "socket2 0.5.9", + "socket2 0.5.10", "tokio", "tower-service", "tracing", @@ -5516,75 +6262,61 @@ dependencies = [ [[package]] name = "hyper" -version = "1.6.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc2b571658e38e0c01b1fdca3bbbe93c00d3d71693ff2770043f8c29bc7d6f80" +checksum = "2ab2d4f250c3d7b1c9fcdff1cece94ea4e2dfbec68614f7b87cb205f24ca9d11" dependencies = [ + "atomic-waker", "bytes", "futures-channel", - "futures-util", - "h2 0.4.9", - "http 1.3.1", - "http-body 1.0.1", - "httparse", - "httpdate", - "itoa", - "pin-project-lite", - "smallvec", - "tokio", - "want", -] - -[[package]] -name = "hyper-rustls" -version = "0.24.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" -dependencies = [ - "futures-util", - "http 0.2.12", - "hyper 0.14.32", - "log", - "rustls 0.21.12", - "rustls-native-certs 0.6.3", + "futures-core", + "h2 0.4.12", + "http 1.4.0", + "http-body 1.0.1", + "httparse", + "httpdate", + "itoa", + "pin-project-lite", + "pin-utils", + "smallvec", "tokio", - "tokio-rustls 0.24.1", + "want", ] [[package]] name = "hyper-rustls" -version = "0.27.5" +version = "0.27.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d191583f3da1305256f22463b9bb0471acad48a4e534a5218b9963e9c1f59b2" +checksum = "e3c93eb611681b207e1fe55d5a71ecf91572ec8a6705cdb6857f7d8d5242cf58" dependencies = [ - "futures-util", - "http 1.3.1", - "hyper 1.6.0", + "http 1.4.0", + "hyper 1.8.1", "hyper-util", "log", - "rustls 0.23.26", - "rustls-native-certs 0.8.1", + "rustls", + "rustls-native-certs", "rustls-pki-types", "tokio", - "tokio-rustls 0.26.2", + "tokio-rustls", "tower-service", ] [[package]] name = "hyper-util" -version = "0.1.11" +version = "0.1.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "497bbc33a26fdd4af9ed9c70d63f61cf56a938375fbb32df34db9b1cd6d643f2" +checksum = "727805d60e7938b76b826a6ef209eb70eaa1812794f9424d4a4e2d740662df5f" dependencies = [ "bytes", "futures-channel", + "futures-core", "futures-util", - "http 1.3.1", + "http 1.4.0", "http-body 1.0.1", - "hyper 1.6.0", + "hyper 1.8.1", "libc", "pin-project-lite", - "socket2 0.5.9", + "socket2 0.6.1", "tokio", "tower-service", "tracing", @@ -5592,9 +6324,9 @@ dependencies = [ [[package]] name = "iana-time-zone" -version = "0.1.63" +version = "0.1.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0c919e5debc312ad217002b8048a17b7d83f80703865bbfcfebb0458b0b27d8" +checksum = "33e57f83510bb73707521ebaffa789ec8caf86f9657cad665b092b581d40e9fb" dependencies = [ "android_system_properties", "core-foundation-sys", @@ -5602,7 +6334,7 @@ dependencies = [ "js-sys", "log", "wasm-bindgen", - "windows-core 0.61.0", + "windows-core 0.62.2", ] [[package]] @@ -5616,21 +6348,22 @@ dependencies = [ [[package]] name = "icu_collections" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526" +checksum = "4c6b649701667bbe825c3b7e6388cb521c23d88644678e83c0c4d0a621a34b43" dependencies = [ "displaydoc", + "potential_utf", "yoke", "zerofrom", "zerovec", ] [[package]] -name = "icu_locid" -version = "1.5.0" +name = "icu_locale_core" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637" +checksum = "edba7861004dd3714265b4db54a3c390e880ab658fec5f7db895fae2046b5bb6" dependencies = [ "displaydoc", "litemap", @@ -5639,99 +6372,61 @@ dependencies = [ "zerovec", ] -[[package]] -name = "icu_locid_transform" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e" -dependencies = [ - "displaydoc", - "icu_locid", - "icu_locid_transform_data", - "icu_provider", - "tinystr", - "zerovec", -] - -[[package]] -name = "icu_locid_transform_data" -version = "1.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7515e6d781098bf9f7205ab3fc7e9709d34554ae0b21ddbcb5febfa4bc7df11d" - [[package]] name = "icu_normalizer" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f" +checksum = "5f6c8828b67bf8908d82127b2054ea1b4427ff0230ee9141c54251934ab1b599" dependencies = [ - "displaydoc", "icu_collections", "icu_normalizer_data", "icu_properties", "icu_provider", "smallvec", - "utf16_iter", - "utf8_iter", - "write16", "zerovec", ] [[package]] name = "icu_normalizer_data" -version = "1.5.1" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5e8338228bdc8ab83303f16b797e177953730f601a96c25d10cb3ab0daa0cb7" +checksum = "7aedcccd01fc5fe81e6b489c15b247b8b0690feb23304303a9e560f37efc560a" [[package]] name = "icu_properties" -version = "1.5.1" +version = "2.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5" +checksum = "020bfc02fe870ec3a66d93e677ccca0562506e5872c650f893269e08615d74ec" dependencies = [ - "displaydoc", "icu_collections", - "icu_locid_transform", + "icu_locale_core", "icu_properties_data", "icu_provider", - "tinystr", + "zerotrie", "zerovec", ] [[package]] name = "icu_properties_data" -version = "1.5.1" +version = "2.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85fb8799753b75aee8d2a21d7c14d9f38921b54b3dbda10f5a3c7a7b82dba5e2" +checksum = "616c294cf8d725c6afcd8f55abc17c56464ef6211f9ed59cccffe534129c77af" [[package]] name = "icu_provider" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9" +checksum = "85962cf0ce02e1e0a629cc34e7ca3e373ce20dda4c4d7294bbd0bf1fdb59e614" dependencies = [ "displaydoc", - "icu_locid", - "icu_provider_macros", - "stable_deref_trait", - "tinystr", + "icu_locale_core", "writeable", "yoke", "zerofrom", + "zerotrie", "zerovec", ] -[[package]] -name = "icu_provider_macros" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.101", -] - [[package]] name = "ident_case" version = "1.0.1" @@ -5740,30 +6435,9 @@ checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" [[package]] name = "idna" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8" -dependencies = [ - "matches", - "unicode-bidi", - "unicode-normalization", -] - -[[package]] -name = "idna" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" -dependencies = [ - "unicode-bidi", - "unicode-normalization", -] - -[[package]] -name = "idna" -version = "1.0.3" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" dependencies = [ "idna_adapter", "smallvec", @@ -5772,9 +6446,9 @@ dependencies = [ [[package]] name = "idna_adapter" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71" +checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344" dependencies = [ "icu_normalizer", "icu_properties", @@ -5796,7 +6470,7 @@ version = "3.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cdf9d64cfcf380606e64f9a0bcf493616b65331199f984151a6fa11a7b3cde38" dependencies = [ - "async-io 2.4.0", + "async-io 2.6.0", "core-foundation 0.9.4", "fnv", "futures 0.3.31", @@ -5810,7 +6484,7 @@ dependencies = [ "rtnetlink", "system-configuration 0.6.1", "tokio", - "windows", + "windows 0.53.0", ] [[package]] @@ -5905,7 +6579,7 @@ checksum = "a0eb5a3343abf848c0984fe4604b2b105da9539376e24fc0a3b0007411ae4fd9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -5929,9 +6603,9 @@ dependencies = [ [[package]] name = "indenter" -version = "0.3.3" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683" +checksum = "964de6e86d545b246d84badc0fef527924ace5134f30641c203ef52ba83f58d5" [[package]] name = "indexmap" @@ -5946,12 +6620,14 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.9.0" +version = "2.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e" +checksum = "0ad4bb2b565bca0645f4d68c5c9af97fba094e9791da685bf83cb5f3ce74acf2" dependencies = [ "equivalent", - "hashbrown 0.15.3", + "hashbrown 0.16.1", + "serde", + "serde_core", ] [[package]] @@ -5999,7 +6675,7 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", "cumulus-test-relay-sproof-builder", - "env_logger 0.10.2", + "env_logger 0.11.8", "ethereum", "fp-evm", "fp-rpc", @@ -6036,6 +6712,7 @@ dependencies = [ "pallet-utility", "pallet-xcm", "parity-scale-codec", + "polkadot-primitives", "precompile-utils", "sha3", "shibuya-runtime", @@ -6075,7 +6752,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f" dependencies = [ - "socket2 0.5.9", + "socket2 0.5.10", "widestring", "windows-sys 0.48.0", "winreg", @@ -6089,29 +6766,29 @@ checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" [[package]] name = "is-terminal" -version = "0.4.16" +version = "0.4.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e04d7f318608d35d4b61ddd75cbdaee86b023ebe2bd5a66ee0915f0bf93095a9" +checksum = "3640c1c38b8e4e43584d8df18be5fc6b0aa314ce6ebf51b53313d4306cca8e46" dependencies = [ - "hermit-abi 0.5.0", + "hermit-abi 0.5.2", "libc", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] name = "is_executable" -version = "1.0.4" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4a1b5bad6f9072935961dfbf1cced2f3d129963d091b6f69f007fe04e758ae2" +checksum = "baabb8b4867b26294d818bf3f651a454b6901431711abb96e296245888d6e8c4" dependencies = [ - "winapi", + "windows-sys 0.60.2", ] [[package]] name = "is_terminal_polyfill" -version = "1.70.1" +version = "1.70.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" +checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" [[package]] name = "itertools" @@ -6140,6 +6817,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + [[package]] name = "itertools" version = "0.14.0" @@ -6151,22 +6837,32 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.15" +version = "1.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" +checksum = "7ee5b5339afb4c41626dde77b7a611bd4f2c202b897852b4bcf5d03eddc61010" [[package]] -name = "jni" -version = "0.19.0" +name = "jiff" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6df18c2e3db7e453d3c6ac5b3e9d5182664d28788126d39b91f2d1e22b017ec" +checksum = "49cce2b81f2098e7e3efc35bc2e0a6b7abec9d34128283d7a26fa8f32a6dbb35" dependencies = [ - "cesu8", - "combine", - "jni-sys", + "jiff-static", "log", - "thiserror 1.0.69", - "walkdir", + "portable-atomic", + "portable-atomic-util", + "serde_core", +] + +[[package]] +name = "jiff-static" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "980af8b43c3ad5d8d349ace167ec8170839f753a42d233ba19e08afe1850fa69" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", ] [[package]] @@ -6193,19 +6889,19 @@ checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" [[package]] name = "jobserver" -version = "0.1.33" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38f262f097c174adebe41eb73d66ae9c06b2844fb0da69969647bbddd9b0538a" +checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" dependencies = [ - "getrandom 0.3.2", + "getrandom 0.3.4", "libc", ] [[package]] name = "js-sys" -version = "0.3.77" +version = "0.3.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f" +checksum = "464a3709c7f55f1f721e5389aa6ea4e3bc6aba669353300af094b29ffbdde1d8" dependencies = [ "once_cell", "wasm-bindgen", @@ -6213,104 +6909,38 @@ dependencies = [ [[package]] name = "jsonrpsee" -version = "0.22.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfdb12a2381ea5b2e68c3469ec604a007b367778cdb14d09612c8069ebd616ad" -dependencies = [ - "jsonrpsee-client-transport 0.22.5", - "jsonrpsee-core 0.22.5", - "jsonrpsee-http-client", - "jsonrpsee-types 0.22.5", -] - -[[package]] -name = "jsonrpsee" -version = "0.23.2" +version = "0.24.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b089779ad7f80768693755a031cc14a7766aba707cbe886674e3f79e9b7e47" +checksum = "e281ae70cc3b98dac15fced3366a880949e65fc66e345ce857a5682d152f3e62" dependencies = [ - "jsonrpsee-core 0.23.2", - "jsonrpsee-types 0.23.2", - "jsonrpsee-ws-client 0.23.2", -] - -[[package]] -name = "jsonrpsee" -version = "0.24.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37b26c20e2178756451cfeb0661fb74c47dd5988cb7e3939de7e9241fd604d42" -dependencies = [ - "jsonrpsee-core 0.24.9", + "jsonrpsee-client-transport", + "jsonrpsee-core", "jsonrpsee-proc-macros", "jsonrpsee-server", - "jsonrpsee-types 0.24.9", - "jsonrpsee-ws-client 0.24.9", - "tokio", - "tracing", -] - -[[package]] -name = "jsonrpsee-client-transport" -version = "0.22.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4978087a58c3ab02efc5b07c5e5e2803024536106fd5506f558db172c889b3aa" -dependencies = [ - "futures-util", - "http 0.2.12", - "jsonrpsee-core 0.22.5", - "pin-project", - "rustls-native-certs 0.7.3", - "rustls-pki-types", - "soketto 0.7.1", - "thiserror 1.0.69", - "tokio", - "tokio-rustls 0.25.0", - "tokio-util", - "tracing", - "url", -] - -[[package]] -name = "jsonrpsee-client-transport" -version = "0.23.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08163edd8bcc466c33d79e10f695cdc98c00d1e6ddfb95cec41b6b0279dd5432" -dependencies = [ - "base64 0.22.1", - "futures-util", - "http 1.3.1", - "jsonrpsee-core 0.23.2", - "pin-project", - "rustls 0.23.26", - "rustls-pki-types", - "rustls-platform-verifier 0.3.4", - "soketto 0.8.1", - "thiserror 1.0.69", + "jsonrpsee-types", + "jsonrpsee-ws-client", "tokio", - "tokio-rustls 0.26.2", - "tokio-util", "tracing", - "url", ] [[package]] name = "jsonrpsee-client-transport" -version = "0.24.9" +version = "0.24.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bacb85abf4117092455e1573625e21b8f8ef4dec8aff13361140b2dc266cdff2" +checksum = "cc4280b709ac3bb5e16cf3bad5056a0ec8df55fa89edfe996361219aadc2c7ea" dependencies = [ "base64 0.22.1", "futures-util", - "http 1.3.1", - "jsonrpsee-core 0.24.9", + "http 1.4.0", + "jsonrpsee-core", "pin-project", - "rustls 0.23.26", + "rustls", "rustls-pki-types", - "rustls-platform-verifier 0.5.2", + "rustls-platform-verifier", "soketto 0.8.1", "thiserror 1.0.69", "tokio", - "tokio-rustls 0.26.2", + "tokio-rustls", "tokio-util", "tracing", "url", @@ -6318,64 +6948,19 @@ dependencies = [ [[package]] name = "jsonrpsee-core" -version = "0.22.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4b257e1ec385e07b0255dde0b933f948b5c8b8c28d42afda9587c3a967b896d" -dependencies = [ - "anyhow", - "async-trait", - "beef", - "futures-timer", - "futures-util", - "hyper 0.14.32", - "jsonrpsee-types 0.22.5", - "pin-project", - "rustc-hash 1.1.0", - "serde", - "serde_json", - "thiserror 1.0.69", - "tokio", - "tokio-stream", - "tracing", -] - -[[package]] -name = "jsonrpsee-core" -version = "0.23.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79712302e737d23ca0daa178e752c9334846b08321d439fd89af9a384f8c830b" -dependencies = [ - "anyhow", - "async-trait", - "beef", - "futures-timer", - "futures-util", - "jsonrpsee-types 0.23.2", - "pin-project", - "rustc-hash 1.1.0", - "serde", - "serde_json", - "thiserror 1.0.69", - "tokio", - "tokio-stream", - "tracing", -] - -[[package]] -name = "jsonrpsee-core" -version = "0.24.9" +version = "0.24.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "456196007ca3a14db478346f58c7238028d55ee15c1df15115596e411ff27925" +checksum = "348ee569eaed52926b5e740aae20863762b16596476e943c9e415a6479021622" dependencies = [ "async-trait", "bytes", "futures-timer", "futures-util", - "http 1.3.1", + "http 1.4.0", "http-body 1.0.1", "http-body-util", - "jsonrpsee-types 0.24.9", - "parking_lot 0.12.3", + "jsonrpsee-types", + "parking_lot 0.12.5", "pin-project", "rand 0.8.5", "rustc-hash 2.1.1", @@ -6387,53 +6972,33 @@ dependencies = [ "tracing", ] -[[package]] -name = "jsonrpsee-http-client" -version = "0.22.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ccf93fc4a0bfe05d851d37d7c32b7f370fe94336b52a2f0efc5f1981895c2e5" -dependencies = [ - "async-trait", - "hyper 0.14.32", - "hyper-rustls 0.24.2", - "jsonrpsee-core 0.22.5", - "jsonrpsee-types 0.22.5", - "serde", - "serde_json", - "thiserror 1.0.69", - "tokio", - "tower", - "tracing", - "url", -] - [[package]] name = "jsonrpsee-proc-macros" -version = "0.24.9" +version = "0.24.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e65763c942dfc9358146571911b0cd1c361c2d63e2d2305622d40d36376ca80" +checksum = "7398cddf5013cca4702862a2692b66c48a3bd6cf6ec681a47453c93d63cf8de5" dependencies = [ "heck 0.5.0", - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "jsonrpsee-server" -version = "0.24.9" +version = "0.24.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55e363146da18e50ad2b51a0a7925fc423137a0b1371af8235b1c231a0647328" +checksum = "21429bcdda37dcf2d43b68621b994adede0e28061f816b038b0f18c70c143d51" dependencies = [ "futures-util", - "http 1.3.1", + "http 1.4.0", "http-body 1.0.1", "http-body-util", - "hyper 1.6.0", + "hyper 1.8.1", "hyper-util", - "jsonrpsee-core 0.24.9", - "jsonrpsee-types 0.24.9", + "jsonrpsee-core", + "jsonrpsee-types", "pin-project", "route-recognizer", "serde", @@ -6449,37 +7014,11 @@ dependencies = [ [[package]] name = "jsonrpsee-types" -version = "0.22.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "150d6168405890a7a3231a3c74843f58b8959471f6df76078db2619ddee1d07d" -dependencies = [ - "anyhow", - "beef", - "serde", - "serde_json", - "thiserror 1.0.69", -] - -[[package]] -name = "jsonrpsee-types" -version = "0.23.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9c465fbe385238e861fdc4d1c85e04ada6c1fd246161d26385c1b311724d2af" -dependencies = [ - "beef", - "http 1.3.1", - "serde", - "serde_json", - "thiserror 1.0.69", -] - -[[package]] -name = "jsonrpsee-types" -version = "0.24.9" +version = "0.24.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08a8e70baf945b6b5752fc8eb38c918a48f1234daf11355e07106d963f860089" +checksum = "b0f05e0028e55b15dbd2107163b3c744cd3bb4474f193f95d9708acbf5677e44" dependencies = [ - "http 1.3.1", + "http 1.4.0", "serde", "serde_json", "thiserror 1.0.69", @@ -6487,27 +7026,14 @@ dependencies = [ [[package]] name = "jsonrpsee-ws-client" -version = "0.23.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c28759775f5cb2f1ea9667672d3fe2b0e701d1f4b7b67954e60afe7fd058b5e" -dependencies = [ - "http 1.3.1", - "jsonrpsee-client-transport 0.23.2", - "jsonrpsee-core 0.23.2", - "jsonrpsee-types 0.23.2", - "url", -] - -[[package]] -name = "jsonrpsee-ws-client" -version = "0.24.9" +version = "0.24.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01b3323d890aa384f12148e8d2a1fd18eb66e9e7e825f9de4fa53bcc19b93eef" +checksum = "78fc744f17e7926d57f478cf9ca6e1ee5d8332bf0514860b1a3cdf1742e614cc" dependencies = [ - "http 1.3.1", - "jsonrpsee-client-transport 0.24.9", - "jsonrpsee-core 0.24.9", - "jsonrpsee-types 0.24.9", + "http 1.4.0", + "jsonrpsee-client-transport", + "jsonrpsee-core", + "jsonrpsee-types", "url", ] @@ -6518,7 +7044,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6971da4d9c3aa03c3d8f3ff0f4155b534aad021292003895a469716b2a230378" dependencies = [ "base64 0.21.7", - "pem", + "pem 1.1.1", "ring 0.16.20", "serde", "serde_json", @@ -6549,13 +7075,23 @@ dependencies = [ "cpufeatures", ] +[[package]] +name = "keccak-asm" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "505d1856a39b200489082f90d897c3f07c455563880bc5952e38eabf731c83b6" +dependencies = [ + "digest 0.10.7", + "sha3-asm", +] + [[package]] name = "keccak-hash" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b286e6b663fb926e1eeb68528e69cb70ed46c6d65871a21b2215ae8154c6d3c" +checksum = "3e1b8590eb6148af2ea2d75f38e7d29f5ca970d5a4df456b3ef19b8b415d0264" dependencies = [ - "primitive-types 0.12.2", + "primitive-types 0.13.1", "tiny-keccak", ] @@ -6581,7 +7117,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf7a85fe66f9ff9cd74e169fdd2c94c6e1e74c412c99a73b4df3200b5d3760b2" dependencies = [ "kvdb", - "parking_lot 0.12.3", + "parking_lot 0.12.5", ] [[package]] @@ -6592,7 +7128,7 @@ checksum = "b644c70b92285f66bfc2032922a79000ea30af7bc2ab31902992a5dcb9b434f6" dependencies = [ "kvdb", "num_cpus", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "regex", "rocksdb", "smallvec", @@ -6626,38 +7162,37 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.172" +version = "0.2.178" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa" +checksum = "37c93d8daa9d8a012fd8ab92f088405fb202ea0b6ab73ee2482ae66af4f42091" [[package]] name = "libloading" -version = "0.8.6" +version = "0.8.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34" +checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55" dependencies = [ "cfg-if", - "windows-targets 0.52.6", + "windows-link", ] [[package]] name = "libm" -version = "0.2.13" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9627da5196e5d8ed0b0495e61e518847578da83483c37288316d9b2e03a7f72" +checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de" [[package]] name = "libp2p" -version = "0.52.4" +version = "0.54.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e94495eb319a85b70a68b85e2389a95bb3555c71c49025b78c691a854a7e6464" +checksum = "bbbe80f9c7e00526cd6b838075b9c171919404a4732cb2fa8ece0a093223bfc4" dependencies = [ "bytes", "either", "futures 0.3.31", "futures-timer", "getrandom 0.2.16", - "instant", "libp2p-allow-block-list", "libp2p-connection-limits", "libp2p-core", @@ -6674,7 +7209,6 @@ dependencies = [ "libp2p-swarm", "libp2p-tcp", "libp2p-upnp", - "libp2p-wasm-ext", "libp2p-websocket", "libp2p-yamux", "multiaddr 0.18.2", @@ -6685,9 +7219,9 @@ dependencies = [ [[package]] name = "libp2p-allow-block-list" -version = "0.2.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55b46558c5c0bf99d3e2a1a38fd54ff5476ca66dd1737b12466a1824dd219311" +checksum = "d1027ccf8d70320ed77e984f273bc8ce952f623762cb9bf2d126df73caef8041" dependencies = [ "libp2p-core", "libp2p-identity", @@ -6697,9 +7231,9 @@ dependencies = [ [[package]] name = "libp2p-connection-limits" -version = "0.2.1" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f5107ad45cb20b2f6c3628c7b6014b996fcb13a88053f4569c872c6e30abf58" +checksum = "8d003540ee8baef0d254f7b6bfd79bac3ddf774662ca0abf69186d517ef82ad8" dependencies = [ "libp2p-core", "libp2p-identity", @@ -6709,55 +7243,55 @@ dependencies = [ [[package]] name = "libp2p-core" -version = "0.40.1" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd44289ab25e4c9230d9246c475a22241e301b23e8f4061d3bdef304a1a99713" +checksum = "a61f26c83ed111104cd820fe9bc3aaabbac5f1652a1d213ed6e900b7918a1298" dependencies = [ "either", "fnv", "futures 0.3.31", "futures-timer", - "instant", "libp2p-identity", - "log", "multiaddr 0.18.2", "multihash 0.19.3", "multistream-select", "once_cell", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "pin-project", "quick-protobuf", "rand 0.8.5", "rw-stream-sink", "smallvec", "thiserror 1.0.69", - "unsigned-varint 0.7.2", + "tracing", + "unsigned-varint 0.8.0", "void", + "web-time", ] [[package]] name = "libp2p-dns" -version = "0.40.1" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6a18db73084b4da2871438f6239fef35190b05023de7656e877c18a00541a3b" +checksum = "97f37f30d5c7275db282ecd86e54f29dd2176bd3ac656f06abf43bedb21eb8bd" dependencies = [ "async-trait", "futures 0.3.31", + "hickory-resolver 0.24.4", "libp2p-core", "libp2p-identity", - "log", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "smallvec", - "trust-dns-resolver", + "tracing", ] [[package]] name = "libp2p-identify" -version = "0.43.1" +version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45a96638a0a176bec0a4bcaebc1afa8cf909b114477209d7456ade52c61cd9cd" +checksum = "1711b004a273be4f30202778856368683bd9a83c4c7dcc8f848847606831a4e3" dependencies = [ - "asynchronous-codec", + "asynchronous-codec 0.7.0", "either", "futures 0.3.31", "futures-bounded", @@ -6765,20 +7299,20 @@ dependencies = [ "libp2p-core", "libp2p-identity", "libp2p-swarm", - "log", "lru 0.12.5", "quick-protobuf", "quick-protobuf-codec", "smallvec", "thiserror 1.0.69", + "tracing", "void", ] [[package]] name = "libp2p-identity" -version = "0.2.11" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbb68ea10844211a59ce46230909fd0ea040e8a192454d4cc2ee0d53e12280eb" +checksum = "f0c7892c221730ba55f7196e98b0b8ba5e04b4155651736036628e9f73ed6fc3" dependencies = [ "bs58", "ed25519-dalek", @@ -6787,90 +7321,91 @@ dependencies = [ "quick-protobuf", "rand 0.8.5", "sha2 0.10.9", - "thiserror 2.0.12", + "thiserror 2.0.17", "tracing", "zeroize", ] [[package]] name = "libp2p-kad" -version = "0.44.6" +version = "0.46.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16ea178dabba6dde6ffc260a8e0452ccdc8f79becf544946692fff9d412fc29d" +checksum = "ced237d0bd84bbebb7c2cad4c073160dacb4fe40534963c32ed6d4c6bb7702a3" dependencies = [ "arrayvec 0.7.6", - "asynchronous-codec", + "asynchronous-codec 0.7.0", "bytes", "either", "fnv", "futures 0.3.31", + "futures-bounded", "futures-timer", - "instant", "libp2p-core", "libp2p-identity", "libp2p-swarm", - "log", "quick-protobuf", "quick-protobuf-codec", "rand 0.8.5", "sha2 0.10.9", "smallvec", "thiserror 1.0.69", + "tracing", "uint 0.9.5", - "unsigned-varint 0.7.2", "void", + "web-time", ] [[package]] name = "libp2p-mdns" -version = "0.44.0" +version = "0.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42a2567c305232f5ef54185e9604579a894fd0674819402bb0ac0246da82f52a" +checksum = "14b8546b6644032565eb29046b42744aee1e9f261ed99671b2c93fb140dba417" dependencies = [ "data-encoding", "futures 0.3.31", + "hickory-proto 0.24.4", "if-watch", "libp2p-core", "libp2p-identity", "libp2p-swarm", - "log", "rand 0.8.5", "smallvec", - "socket2 0.5.9", + "socket2 0.5.10", "tokio", - "trust-dns-proto 0.22.0", + "tracing", "void", ] [[package]] name = "libp2p-metrics" -version = "0.13.1" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "239ba7d28f8d0b5d77760dc6619c05c7e88e74ec8fbbe97f856f20a56745e620" +checksum = "77ebafa94a717c8442d8db8d3ae5d1c6a15e30f2d347e0cd31d057ca72e42566" dependencies = [ - "instant", + "futures 0.3.31", "libp2p-core", "libp2p-identify", "libp2p-identity", "libp2p-kad", "libp2p-ping", "libp2p-swarm", - "once_cell", + "pin-project", "prometheus-client", + "web-time", ] [[package]] name = "libp2p-noise" -version = "0.43.2" +version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2eeec39ad3ad0677551907dd304b2f13f17208ccebe333bef194076cd2e8921" +checksum = "36b137cb1ae86ee39f8e5d6245a296518912014eaa87427d24e6ff58cfc1b28c" dependencies = [ + "asynchronous-codec 0.7.0", "bytes", "curve25519-dalek", "futures 0.3.31", "libp2p-core", "libp2p-identity", - "log", "multiaddr 0.18.2", "multihash 0.19.3", "once_cell", @@ -6880,33 +7415,34 @@ dependencies = [ "snow", "static_assertions", "thiserror 1.0.69", + "tracing", "x25519-dalek", "zeroize", ] [[package]] name = "libp2p-ping" -version = "0.43.1" +version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e702d75cd0827dfa15f8fd92d15b9932abe38d10d21f47c50438c71dd1b5dae3" +checksum = "005a34420359223b974ee344457095f027e51346e992d1e0dcd35173f4cdd422" dependencies = [ "either", "futures 0.3.31", "futures-timer", - "instant", "libp2p-core", "libp2p-identity", "libp2p-swarm", - "log", "rand 0.8.5", + "tracing", "void", + "web-time", ] [[package]] name = "libp2p-quic" -version = "0.9.3" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "130d451d83f21b81eb7b35b360bc7972aeafb15177784adc56528db082e6b927" +checksum = "46352ac5cd040c70e88e7ff8257a2ae2f891a4076abad2c439584a31c15fd24e" dependencies = [ "bytes", "futures 0.3.31", @@ -6915,76 +7451,78 @@ dependencies = [ "libp2p-core", "libp2p-identity", "libp2p-tls", - "log", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "quinn", "rand 0.8.5", - "ring 0.16.20", - "rustls 0.21.12", - "socket2 0.5.9", + "ring 0.17.14", + "rustls", + "socket2 0.5.10", "thiserror 1.0.69", "tokio", + "tracing", ] [[package]] name = "libp2p-request-response" -version = "0.25.3" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8e3b4d67870478db72bac87bfc260ee6641d0734e0e3e275798f089c3fecfd4" +checksum = "1356c9e376a94a75ae830c42cdaea3d4fe1290ba409a22c809033d1b7dcab0a6" dependencies = [ "async-trait", "futures 0.3.31", - "instant", + "futures-bounded", + "futures-timer", "libp2p-core", "libp2p-identity", "libp2p-swarm", - "log", "rand 0.8.5", "smallvec", + "tracing", "void", + "web-time", ] [[package]] name = "libp2p-swarm" -version = "0.43.7" +version = "0.45.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "580189e0074af847df90e75ef54f3f30059aedda37ea5a1659e8b9fca05c0141" +checksum = "d7dd6741793d2c1fb2088f67f82cf07261f25272ebe3c0b0c311e0c6b50e851a" dependencies = [ "either", "fnv", "futures 0.3.31", "futures-timer", - "instant", "libp2p-core", "libp2p-identity", "libp2p-swarm-derive", - "log", + "lru 0.12.5", "multistream-select", "once_cell", "rand 0.8.5", "smallvec", "tokio", + "tracing", "void", + "web-time", ] [[package]] name = "libp2p-swarm-derive" -version = "0.33.0" +version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4d5ec2a3df00c7836d7696c136274c9c59705bac69133253696a6c932cd1d74" +checksum = "206e0aa0ebe004d778d79fb0966aa0de996c19894e2c0605ba2f8524dd4443d8" dependencies = [ - "heck 0.4.1", - "proc-macro-warning 0.4.2", + "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "libp2p-tcp" -version = "0.40.1" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b558dd40d1bcd1aaaed9de898e9ec6a436019ecc2420dd0016e712fbb61c5508" +checksum = "ad964f312c59dcfcac840acd8c555de8403e295d39edf96f5240048b5fcaa314" dependencies = [ "futures 0.3.31", "futures-timer", @@ -6992,103 +7530,91 @@ dependencies = [ "libc", "libp2p-core", "libp2p-identity", - "log", - "socket2 0.5.9", + "socket2 0.5.10", "tokio", + "tracing", ] [[package]] name = "libp2p-tls" -version = "0.2.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8218d1d5482b122ccae396bbf38abdcb283ecc96fa54760e1dfd251f0546ac61" +checksum = "47b23dddc2b9c355f73c1e36eb0c3ae86f7dc964a3715f0731cfad352db4d847" dependencies = [ "futures 0.3.31", "futures-rustls", "libp2p-core", "libp2p-identity", "rcgen", - "ring 0.16.20", - "rustls 0.21.12", + "ring 0.17.14", + "rustls", "rustls-webpki 0.101.7", "thiserror 1.0.69", - "x509-parser 0.15.1", + "x509-parser 0.16.0", "yasna", ] [[package]] name = "libp2p-upnp" -version = "0.1.1" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82775a47b34f10f787ad3e2a22e2c1541e6ebef4fe9f28f3ac553921554c94c1" +checksum = "01bf2d1b772bd3abca049214a3304615e6a36fa6ffc742bdd1ba774486200b8f" dependencies = [ "futures 0.3.31", "futures-timer", "igd-next", "libp2p-core", "libp2p-swarm", - "log", "tokio", + "tracing", "void", ] -[[package]] -name = "libp2p-wasm-ext" -version = "0.40.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e5d8e3a9e07da0ef5b55a9f26c009c8fb3c725d492d8bb4b431715786eea79c" -dependencies = [ - "futures 0.3.31", - "js-sys", - "libp2p-core", - "send_wrapper 0.6.0", - "wasm-bindgen", - "wasm-bindgen-futures", -] - [[package]] name = "libp2p-websocket" -version = "0.42.2" +version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "004ee9c4a4631435169aee6aad2f62e3984dc031c43b6d29731e8e82a016c538" +checksum = "888b2ff2e5d8dcef97283daab35ad1043d18952b65e05279eecbe02af4c6e347" dependencies = [ "either", "futures 0.3.31", "futures-rustls", "libp2p-core", "libp2p-identity", - "log", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "pin-project-lite", "rw-stream-sink", "soketto 0.8.1", "thiserror 1.0.69", + "tracing", "url", - "webpki-roots 0.25.4", + "webpki-roots", ] [[package]] name = "libp2p-yamux" -version = "0.44.1" +version = "0.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8eedcb62824c4300efb9cfd4e2a6edaf3ca097b9e68b36dabe45a44469fd6a85" +checksum = "788b61c80789dba9760d8c669a5bedb642c8267555c803fabd8396e4ca5c5882" dependencies = [ + "either", "futures 0.3.31", "libp2p-core", - "log", "thiserror 1.0.69", + "tracing", "yamux 0.12.1", + "yamux 0.13.8", ] [[package]] name = "libredox" -version = "0.1.3" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" +checksum = "df15f6eac291ed1cf25865b1ee60399f57e7c227e7f51bdbd4c5270396a9ed50" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.10.0", "libc", - "redox_syscall 0.5.11", + "redox_syscall 0.6.0", ] [[package]] @@ -7167,9 +7693,9 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.1.22" +version = "1.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b70e7a7df205e92a1a4cd9aaae7898dac0aa555503cc0a649494d0d60e7651d" +checksum = "15d118bbf3771060e7311cc7bb0545b01d08a8b4a7de949198dec1fa0ca1c0f7" dependencies = [ "cc", "pkg-config", @@ -7178,9 +7704,9 @@ dependencies = [ [[package]] name = "link-cplusplus" -version = "1.0.10" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a6f6da007f968f9def0d65a05b187e2960183de70c160204ecfccf0ee330212" +checksum = "7f78c730aaa7d0b9336a299029ea49f9ee53b0ed06e9202e8cb7db9bae7b8c82" dependencies = [ "cc", ] @@ -7193,9 +7719,9 @@ checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" [[package]] name = "linked_hash_set" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bae85b5be22d9843c80e5fc80e9b64c8a3b1f98f867c709956eca3efff4e92e2" +checksum = "984fb35d06508d1e69fc91050cceba9c0b748f983e6739fa2c7a9237154c52c8" dependencies = [ "linked-hash-map", ] @@ -7229,9 +7755,9 @@ checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" [[package]] name = "linux-raw-sys" -version = "0.9.4" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12" +checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039" [[package]] name = "lioness" @@ -7247,15 +7773,15 @@ dependencies = [ [[package]] name = "litemap" -version = "0.7.5" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23fb14cb19457329c82206317a5663005a4d404783dc74f4252769b0d5f42856" +checksum = "6373607a59f0be73a39b6fe456b8192fcc3585f602af20751600e974dd455e77" [[package]] name = "litep2p" -version = "0.9.4" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d71056c23c896bb0e18113b2d2f1989be95135e6bdeedb0b757422ee21a073eb" +checksum = "14fb10e63363204b89d91e1292df83322fd9de5d7fa76c3d5c78ddc2f8f3efa9" dependencies = [ "async-trait", "bs58", @@ -7264,14 +7790,14 @@ dependencies = [ "ed25519-dalek", "futures 0.3.31", "futures-timer", - "hickory-resolver", - "indexmap 2.9.0", + "hickory-resolver 0.25.2", + "indexmap 2.12.1", "libc", - "mockall 0.13.1", + "mockall", "multiaddr 0.17.1", "multihash 0.17.0", "network-interface", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "pin-project", "prost 0.13.5", "prost-build", @@ -7281,8 +7807,8 @@ dependencies = [ "simple-dns", "smallvec", "snow", - "socket2 0.5.9", - "thiserror 2.0.12", + "socket2 0.5.10", + "thiserror 2.0.17", "tokio", "tokio-stream", "tokio-tungstenite", @@ -7293,7 +7819,7 @@ dependencies = [ "url", "x25519-dalek", "x509-parser 0.17.0", - "yamux 0.13.4", + "yamux 0.13.8", "yasna", "zeroize", ] @@ -7302,9 +7828,10 @@ dependencies = [ name = "local-runtime" version = "5.46.0" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "astar-primitives", "dapp-staking-runtime-api", + "ethereum", "fp-evm", "fp-rpc", "fp-self-contained", @@ -7390,19 +7917,18 @@ dependencies = [ [[package]] name = "lock_api" -version = "0.4.12" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" dependencies = [ - "autocfg", "scopeguard", ] [[package]] name = "log" -version = "0.4.27" +version = "0.4.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" +checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" [[package]] name = "lru" @@ -7416,7 +7942,7 @@ version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38" dependencies = [ - "hashbrown 0.15.3", + "hashbrown 0.15.5", ] [[package]] @@ -7428,6 +7954,12 @@ dependencies = [ "linked-hash-map", ] +[[package]] +name = "lru-slab" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154" + [[package]] name = "lz4" version = "1.28.1" @@ -7456,6 +7988,17 @@ dependencies = [ "libc", ] +[[package]] +name = "macro-string" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b27834086c65ec3f9387b096d66e99f221cf081c2b738042aa252bcd41204e3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + [[package]] name = "macro_magic" version = "0.5.1" @@ -7465,7 +8008,7 @@ dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -7479,7 +8022,7 @@ dependencies = [ "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -7490,7 +8033,7 @@ checksum = "b02abfe41815b5bd98dbd4260173db2c116dda171dc0fe7838cb206333b83308" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -7501,29 +8044,34 @@ checksum = "73ea28ee64b88876bf45277ed9a5817c1817df061a74f2b988971a12570e5869" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] -name = "matchers" -version = "0.1.0" +name = "match-lookup" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558" +checksum = "1265724d8cb29dbbc2b0f06fffb8bf1a8c0cf73a78eede9ba73a4a66c52a981e" dependencies = [ - "regex-automata 0.1.10", + "proc-macro2", + "quote", + "syn 1.0.109", ] [[package]] -name = "matches" -version = "0.1.10" +name = "matchers" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" +checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9" +dependencies = [ + "regex-automata", +] [[package]] name = "matrixmultiply" -version = "0.3.9" +version = "0.3.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9380b911e3e96d10c1f415da0876389aaf1b56759054eeb0de7df940c456ba1a" +checksum = "a06de3016e9fae57a36fd14dba131fccf49f74b40b7fbdb472f96e361ec71a08" dependencies = [ "autocfg", "rawpointer", @@ -7531,17 +8079,17 @@ dependencies = [ [[package]] name = "memchr" -version = "2.7.4" +version = "2.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" +checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" [[package]] name = "memfd" -version = "0.6.4" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" +checksum = "ad38eb12aea514a0466ea40a80fd8cc83637065948eb4a426e4aa46261175227" dependencies = [ - "rustix 0.38.44", + "rustix 1.1.3", ] [[package]] @@ -7555,9 +8103,9 @@ dependencies = [ [[package]] name = "memmap2" -version = "0.9.5" +version = "0.9.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd3f7eed9d3848f8b98834af67102b720745c4ec028fcd0aa0239277e7de374f" +checksum = "744133e4a0e0a658e1374cf3bf8e415c4052a15a111acd372764c55b4177d490" dependencies = [ "libc", ] @@ -7573,22 +8121,24 @@ dependencies = [ [[package]] name = "memory-db" -version = "0.32.0" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "808b50db46293432a45e63bc15ea51e0ab4c0a1647b8eb114e31a3e698dd6fbe" +checksum = "7e300c54e3239a86f9c61cc63ab0f03862eb40b1c6e065dc6fd6ceaeff6da93d" dependencies = [ + "foldhash 0.1.5", "hash-db", + "hashbrown 0.15.5", ] [[package]] name = "merkleized-metadata" -version = "0.2.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38c592efaf1b3250df14c8f3c2d952233f0302bb81d3586db2f303666c1cd607" +checksum = "b3e3e3f549d27d2dc054372f320ddf68045a833fab490563ff70d4cf1b9d91ea" dependencies = [ - "array-bytes", + "array-bytes 9.3.0", "blake3", - "frame-metadata 18.0.0", + "frame-metadata 23.0.1", "parity-scale-codec", "scale-decode", "scale-info", @@ -7620,22 +8170,22 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.8.8" +version = "0.8.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3be647b768db090acb35d5ec5db2b0e1f1de11133ca123b9eacf5137868f892a" +checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" dependencies = [ "adler2", ] [[package]] name = "mio" -version = "1.0.3" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" +checksum = "a69bcab0ad47271a0234d9422b131806bf3968021e5dc9328caf2d4cd58557fc" dependencies = [ "libc", - "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.52.0", + "wasi", + "windows-sys 0.61.2", ] [[package]] @@ -7654,7 +8204,7 @@ dependencies = [ "hashlink", "lioness", "log", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "rand 0.8.5", "rand_chacha 0.3.1", "rand_distr", @@ -7665,8 +8215,8 @@ dependencies = [ [[package]] name = "mmr-gadget" -version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "46.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "futures 0.3.31", "log", @@ -7684,10 +8234,10 @@ dependencies = [ [[package]] name = "mmr-rpc" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "jsonrpsee 0.24.9", + "jsonrpsee", "parity-scale-codec", "serde", "sp-api", @@ -7697,21 +8247,6 @@ dependencies = [ "sp-runtime", ] -[[package]] -name = "mockall" -version = "0.11.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c84490118f2ee2d74570d114f3d0493cbf02790df303d2707606c3e14e07c96" -dependencies = [ - "cfg-if", - "downcast", - "fragile", - "lazy_static", - "mockall_derive 0.11.4", - "predicates 2.1.5", - "predicates-tree", -] - [[package]] name = "mockall" version = "0.13.1" @@ -7721,33 +8256,38 @@ dependencies = [ "cfg-if", "downcast", "fragile", - "mockall_derive 0.13.1", - "predicates 3.1.3", + "mockall_derive", + "predicates", "predicates-tree", ] [[package]] name = "mockall_derive" -version = "0.11.4" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22ce75669015c4f47b289fd4d4f56e894e4c96003ffdf3ac51313126f94c6cbb" +checksum = "25ca3004c2efe9011bd4e461bd8256445052b9615405b4f7ea43fc8ca5c20898" dependencies = [ "cfg-if", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.111", ] [[package]] -name = "mockall_derive" -version = "0.13.1" +name = "moka" +version = "0.12.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25ca3004c2efe9011bd4e461bd8256445052b9615405b4f7ea43fc8ca5c20898" +checksum = "a3dec6bd31b08944e08b58fd99373893a6c17054d6f3ea5006cc894f4f4eee2a" dependencies = [ - "cfg-if", - "proc-macro2", - "quote", - "syn 2.0.101", + "crossbeam-channel", + "crossbeam-epoch", + "crossbeam-utils", + "equivalent", + "parking_lot 0.12.5", + "portable-atomic", + "smallvec", + "tagptr", + "uuid 1.19.0", ] [[package]] @@ -7757,10 +8297,9 @@ dependencies = [ "ethereum-types 0.15.1", "evm-tracing-events", "hex", - "moonbeam-rpc-primitives-debug", + "log", "parity-scale-codec", "serde", - "serde_json", "sp-runtime", "sp-std", ] @@ -7769,6 +8308,7 @@ dependencies = [ name = "moonbeam-evm-tracer" version = "0.1.0" dependencies = [ + "environmental", "ethereum-types 0.15.1", "evm", "evm-gasometer", @@ -7788,10 +8328,8 @@ dependencies = [ name = "moonbeam-primitives-ext" version = "0.1.0" dependencies = [ - "ethereum-types 0.15.1", "evm-tracing-events", "parity-scale-codec", - "sp-externalities", "sp-runtime-interface", "sp-std", ] @@ -7804,7 +8342,7 @@ dependencies = [ "ethereum-types 0.15.1", "fc-rpc-core", "futures 0.3.31", - "jsonrpsee 0.24.9", + "jsonrpsee", "moonbeam-client-evm-tracing", "moonbeam-rpc-core-types", "serde", @@ -7818,7 +8356,7 @@ version = "0.6.0" dependencies = [ "ethereum-types 0.15.1", "futures 0.3.31", - "jsonrpsee 0.24.9", + "jsonrpsee", "moonbeam-client-evm-tracing", "moonbeam-rpc-core-types", "serde", @@ -7831,7 +8369,6 @@ version = "0.1.0" dependencies = [ "ethereum-types 0.15.1", "serde", - "serde_json", ] [[package]] @@ -7849,7 +8386,8 @@ dependencies = [ "fp-rpc", "futures 0.3.31", "hex-literal", - "jsonrpsee 0.24.9", + "jsonrpsee", + "log", "moonbeam-client-evm-tracing", "moonbeam-rpc-core-debug", "moonbeam-rpc-core-types", @@ -7862,6 +8400,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", + "sp-trie", "tokio", ] @@ -7869,15 +8408,10 @@ dependencies = [ name = "moonbeam-rpc-primitives-debug" version = "0.1.0" dependencies = [ - "environmental", "ethereum", "ethereum-types 0.15.1", - "hex", "parity-scale-codec", - "serde", "sp-api", - "sp-core", - "sp-io", "sp-runtime", "sp-std", ] @@ -7907,7 +8441,7 @@ dependencies = [ "fc-storage", "fp-rpc", "futures 0.3.31", - "jsonrpsee 0.24.9", + "jsonrpsee", "log", "moonbeam-client-evm-tracing", "moonbeam-rpc-core-trace", @@ -7976,11 +8510,12 @@ dependencies = [ [[package]] name = "multibase" -version = "0.9.1" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b3539ec3c1f04ac9748a260728e855f261b4977f5c3406612c884564f329404" +checksum = "8694bb4835f452b0e3bb06dbebb1d6fc5385b6ca1caf2e55fd165c042390ec77" dependencies = [ "base-x", + "base256emoji", "data-encoding", "data-encoding-macro", ] @@ -8028,9 +8563,9 @@ dependencies = [ [[package]] name = "multimap" -version = "0.10.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "defc4c55412d89136f966bbb339008b474350e5e6e78d2714439c386b3137a03" +checksum = "1d87ecb2933e8aeadb3e3a02b828fed80a7528047e68b4f424523a0981a3a084" [[package]] name = "multistream-select" @@ -8078,9 +8613,9 @@ checksum = "6a51313c5820b0b02bd422f4b44776fbf47961755c74ce64afc73bfad10226c3" [[package]] name = "native-tls" -version = "0.2.12" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8614eb2c83d59d1c8cc974dd3f920198647674a0a035e1af1fa58707e317466" +checksum = "87de3442987e9dbec73158d5c715e7ad9072fda936bb03d19d7fa10e00520f0e" dependencies = [ "libc", "log", @@ -8141,7 +8676,7 @@ dependencies = [ "log", "netlink-packet-core", "netlink-sys", - "thiserror 2.0.12", + "thiserror 2.0.17", ] [[package]] @@ -8159,13 +8694,13 @@ dependencies = [ [[package]] name = "network-interface" -version = "2.0.1" +version = "2.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3329f515506e4a2de3aa6e07027a6758e22e0f0e8eaf64fa47261cec2282602" +checksum = "5e79101e6efcffacab279462884a7eebf65ea5f4ac2cc727b60c715a9aa04722" dependencies = [ "cc", "libc", - "thiserror 1.0.69", + "thiserror 2.0.17", "winapi", ] @@ -8182,13 +8717,13 @@ dependencies = [ [[package]] name = "nix" -version = "0.28.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab2156c4fce2f8df6c499cc1c763e4394b7482525bf2a9701c9d79d215f519e4" +checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.10.0", "cfg-if", - "cfg_aliases 0.1.1", + "cfg_aliases 0.2.1", "libc", ] @@ -8239,19 +8774,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "38bf9645c8b145698bb0b18a4637dcacbc421ea49bef2317e4fd8065a387cf21" [[package]] -name = "normalize-line-endings" -version = "0.3.0" +name = "ntapi" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" +checksum = "c70f219e21142367c70c0b30c6a9e3a14d55b4d12a204d897fbec83a0363f081" +dependencies = [ + "winapi", +] [[package]] name = "nu-ansi-term" -version = "0.46.0" +version = "0.50.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" +checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" dependencies = [ - "overload", - "winapi", + "windows-sys 0.61.2", ] [[package]] @@ -8301,7 +8838,7 @@ checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -8357,11 +8894,11 @@ dependencies = [ [[package]] name = "num_cpus" -version = "1.16.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" +checksum = "91df4bbde75afed763b708b7eee1e8e7651e02d97f6d5dd763e89367e957b23b" dependencies = [ - "hermit-abi 0.3.9", + "hermit-abi 0.5.2", "libc", ] @@ -8376,11 +8913,12 @@ dependencies = [ [[package]] name = "num_enum" -version = "0.7.3" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e613fc340b2220f734a8595782c551f1250e969d87d3be1ae0579e8d4065179" +checksum = "b1207a7e20ad57b847bbddc6776b968420d38292bbfe2089accff5e19e82454c" dependencies = [ - "num_enum_derive 0.7.3", + "num_enum_derive 0.7.5", + "rustversion", ] [[package]] @@ -8397,14 +8935,14 @@ dependencies = [ [[package]] name = "num_enum_derive" -version = "0.7.3" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af1844ef2428cc3e1cb900be36181049ef3d3193c63e43026cfe202983b27a56" +checksum = "ff32365de1b6743cb203b710788263c44a03de03802daf96092f2da4fe6ba4d7" dependencies = [ - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -8437,13 +8975,22 @@ dependencies = [ "memchr", ] +[[package]] +name = "object" +version = "0.37.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe" +dependencies = [ + "memchr", +] + [[package]] name = "oid-registry" -version = "0.6.1" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bedf36ffb6ba96c2eb7144ef6270557b52e54b20c0a8e1eb2ff99a6c6959bff" +checksum = "a8d8034d9489cdaf79228eb9f6a3b8d7bb32ba00d6645ebd48eef4077ceb5bd9" dependencies = [ - "asn1-rs 0.5.2", + "asn1-rs 0.6.2", ] [[package]] @@ -8460,6 +9007,16 @@ name = "once_cell" version = "1.21.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" +dependencies = [ + "critical-section", + "portable-atomic", +] + +[[package]] +name = "once_cell_polyfill" +version = "1.70.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" [[package]] name = "opaque-debug" @@ -8500,11 +9057,11 @@ dependencies = [ [[package]] name = "openssl" -version = "0.10.72" +version = "0.10.75" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fedfea7d58a1f73118430a55da6a286e7b044961736ce96a16a17068ea25e5da" +checksum = "08838db121398ad17ab8531ce9de97b244589089e290a384c900cb9ff7434328" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.10.0", "cfg-if", "foreign-types", "libc", @@ -8521,7 +9078,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -8532,9 +9089,9 @@ checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e" [[package]] name = "openssl-sys" -version = "0.9.108" +version = "0.9.111" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e145e1651e858e820e4860f7b9c5e169bc1d8ce1c86043be79fa7b7634821847" +checksum = "82cab2d520aa75e3c58898289429321eb788c3106963d0dc886ec7a5f4adc321" dependencies = [ "cc", "libc", @@ -8550,9 +9107,9 @@ checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" [[package]] name = "orchestra" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41f6bbacc8c189a3f2e45e0fd0436e5d97f194db888e721bdbc3973e7dbed4c2" +checksum = "19051f0b0512402f5d52d6776999f55996f01887396278aeeccbbdfbc83eef2d" dependencies = [ "async-trait", "dyn-clonable", @@ -8567,15 +9124,15 @@ dependencies = [ [[package]] name = "orchestra-proc-macro" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7b1d40dd8f367db3c65bec8d3dd47d4a604ee8874480738f93191bddab4e0e0" +checksum = "43dfaf083aef571385fccfdc3a2f8ede8d0a1863160455d4f2b014d8f7d04a3f" dependencies = [ "expander", - "indexmap 2.9.0", + "indexmap 2.12.1", "itertools 0.11.0", - "petgraph", - "proc-macro-crate 3.3.0", + "petgraph 0.6.5", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", "syn 1.0.109", @@ -8583,8 +9140,8 @@ dependencies = [ [[package]] name = "orml-oracle" -version = "1.2.1" -source = "git+https://github.com/AstarNetwork/open-runtime-module-library?branch=stable2412#2eb1c9e19d570819aa56bc81a088da031afd4818" +version = "1.4.0" +source = "git+https://github.com/AstarNetwork/open-runtime-module-library?branch=stable2506#b167585299589570f01ef40dcd68361f5c6cbaa1" dependencies = [ "frame-benchmarking", "frame-support", @@ -8602,8 +9159,8 @@ dependencies = [ [[package]] name = "orml-traits" -version = "1.2.1" -source = "git+https://github.com/AstarNetwork/open-runtime-module-library?branch=stable2412#2eb1c9e19d570819aa56bc81a088da031afd4818" +version = "1.4.0" +source = "git+https://github.com/AstarNetwork/open-runtime-module-library?branch=stable2506#b167585299589570f01ef40dcd68361f5c6cbaa1" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -8622,8 +9179,8 @@ dependencies = [ [[package]] name = "orml-utilities" -version = "1.2.1" -source = "git+https://github.com/AstarNetwork/open-runtime-module-library?branch=stable2412#2eb1c9e19d570819aa56bc81a088da031afd4818" +version = "1.4.0" +source = "git+https://github.com/AstarNetwork/open-runtime-module-library?branch=stable2506#b167585299589570f01ef40dcd68361f5c6cbaa1" dependencies = [ "frame-support", "parity-scale-codec", @@ -8637,8 +9194,8 @@ dependencies = [ [[package]] name = "orml-xcm-support" -version = "1.2.1" -source = "git+https://github.com/AstarNetwork/open-runtime-module-library?branch=stable2412#2eb1c9e19d570819aa56bc81a088da031afd4818" +version = "1.4.0" +source = "git+https://github.com/AstarNetwork/open-runtime-module-library?branch=stable2506#b167585299589570f01ef40dcd68361f5c6cbaa1" dependencies = [ "frame-support", "orml-traits", @@ -8651,8 +9208,8 @@ dependencies = [ [[package]] name = "orml-xtokens" -version = "1.2.1" -source = "git+https://github.com/AstarNetwork/open-runtime-module-library?branch=stable2412#2eb1c9e19d570819aa56bc81a088da031afd4818" +version = "1.4.0" +source = "git+https://github.com/AstarNetwork/open-runtime-module-library?branch=stable2506#b167585299589570f01ef40dcd68361f5c6cbaa1" dependencies = [ "frame-support", "frame-system", @@ -8670,16 +9227,10 @@ dependencies = [ "staging-xcm-executor", ] -[[package]] -name = "overload" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" - [[package]] name = "pallet-asset-conversion" -version = "21.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-support", @@ -8696,8 +9247,8 @@ dependencies = [ [[package]] name = "pallet-asset-rate" -version = "18.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "20.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-support", @@ -8710,8 +9261,8 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-support", @@ -8720,21 +9271,22 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", "sp-io", "sp-runtime", ] [[package]] name = "pallet-assets" -version = "41.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "43.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ + "ethereum-standards", "frame-benchmarking", "frame-support", "frame-system", "impl-trait-for-tuples", "log", + "pallet-revive", "parity-scale-codec", "scale-info", "sp-core", @@ -8743,8 +9295,8 @@ dependencies = [ [[package]] name = "pallet-aura" -version = "38.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-support", "frame-system", @@ -8759,8 +9311,8 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-support", "frame-system", @@ -8774,8 +9326,8 @@ dependencies = [ [[package]] name = "pallet-authorship" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-support", "frame-system", @@ -8787,8 +9339,8 @@ dependencies = [ [[package]] name = "pallet-babe" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-support", @@ -8810,8 +9362,8 @@ dependencies = [ [[package]] name = "pallet-bags-list" -version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "aquamarine", "docify", @@ -8831,8 +9383,8 @@ dependencies = [ [[package]] name = "pallet-balances" -version = "40.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "42.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "docify", "frame-benchmarking", @@ -8841,13 +9393,14 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", + "sp-core", "sp-runtime", ] [[package]] name = "pallet-beefy" -version = "40.1.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "42.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-support", "frame-system", @@ -8865,10 +9418,10 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" -version = "40.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "42.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "binary-merkle-tree", "frame-benchmarking", "frame-support", @@ -8890,14 +9443,14 @@ dependencies = [ [[package]] name = "pallet-bounties" -version = "38.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "log", - "pallet-treasury 38.1.0", + "pallet-treasury 40.0.0", "parity-scale-codec", "scale-info", "sp-core", @@ -8907,8 +9460,8 @@ dependencies = [ [[package]] name = "pallet-broker" -version = "0.18.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.20.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "bitvec", "frame-benchmarking", @@ -8967,15 +9520,15 @@ dependencies = [ [[package]] name = "pallet-child-bounties" -version = "38.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "log", "pallet-bounties", - "pallet-treasury 38.1.0", + "pallet-treasury 40.0.0", "parity-scale-codec", "scale-info", "sp-core", @@ -9011,8 +9564,8 @@ dependencies = [ [[package]] name = "pallet-collator-selection" -version = "20.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "22.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-support", @@ -9030,8 +9583,8 @@ dependencies = [ [[package]] name = "pallet-collective" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "docify", "frame-benchmarking", @@ -9067,10 +9620,9 @@ dependencies = [ [[package]] name = "pallet-contracts" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "bitflags 1.3.2", "environmental", "frame-benchmarking", "frame-support", @@ -9091,7 +9643,6 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", "staging-xcm", "staging-xcm-builder", "wasm-instrument", @@ -9100,18 +9651,18 @@ dependencies = [ [[package]] name = "pallet-contracts-proc-macro" -version = "23.0.2" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "23.0.3" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "pallet-contracts-uapi" -version = "12.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", @@ -9121,8 +9672,8 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "assert_matches", "frame-benchmarking", @@ -9160,8 +9711,8 @@ dependencies = [ [[package]] name = "pallet-delegated-staking" -version = "6.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "8.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-support", "frame-system", @@ -9175,8 +9726,8 @@ dependencies = [ [[package]] name = "pallet-democracy" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-support", @@ -9212,15 +9763,14 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" -version = "38.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-election-provider-support", "frame-support", "frame-system", "log", - "pallet-election-provider-support-benchmarking", "parity-scale-codec", "rand 0.8.5", "scale-info", @@ -9234,8 +9784,8 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" -version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -9247,8 +9797,8 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" -version = "40.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "42.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-support", @@ -9266,8 +9816,9 @@ dependencies = [ [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/AstarNetwork/frontier?rev=e74325d1b2150a6e505c20a4190236db4daca2bb#e74325d1b2150a6e505c20a4190236db4daca2bb" +source = "git+https://github.com/AstarNetwork/frontier?branch=stable2506#20314b66f29eb44f2f1980bf7c073df04fba3361" dependencies = [ + "environmental", "ethereum", "ethereum-types 0.15.1", "evm", @@ -9314,9 +9865,11 @@ dependencies = [ [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/AstarNetwork/frontier?rev=e74325d1b2150a6e505c20a4190236db4daca2bb#e74325d1b2150a6e505c20a4190236db4daca2bb" +source = "git+https://github.com/AstarNetwork/frontier?branch=stable2506#20314b66f29eb44f2f1980bf7c073df04fba3361" dependencies = [ + "cumulus-primitives-storage-weight-reclaim", "environmental", + "ethereum", "evm", "fp-account", "fp-evm", @@ -9337,7 +9890,7 @@ dependencies = [ [[package]] name = "pallet-evm-chain-id" version = "1.0.0-dev" -source = "git+https://github.com/AstarNetwork/frontier?rev=e74325d1b2150a6e505c20a4190236db4daca2bb#e74325d1b2150a6e505c20a4190236db4daca2bb" +source = "git+https://github.com/AstarNetwork/frontier?branch=stable2506#20314b66f29eb44f2f1980bf7c073df04fba3361" dependencies = [ "frame-support", "frame-system", @@ -9374,7 +9927,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-blake2" version = "2.0.0-dev" -source = "git+https://github.com/AstarNetwork/frontier?rev=e74325d1b2150a6e505c20a4190236db4daca2bb#e74325d1b2150a6e505c20a4190236db4daca2bb" +source = "git+https://github.com/AstarNetwork/frontier?branch=stable2506#20314b66f29eb44f2f1980bf7c073df04fba3361" dependencies = [ "fp-evm", ] @@ -9382,7 +9935,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-bn128" version = "2.0.0-dev" -source = "git+https://github.com/AstarNetwork/frontier?rev=e74325d1b2150a6e505c20a4190236db4daca2bb#e74325d1b2150a6e505c20a4190236db4daca2bb" +source = "git+https://github.com/AstarNetwork/frontier?branch=stable2506#20314b66f29eb44f2f1980bf7c073df04fba3361" dependencies = [ "fp-evm", "sp-core", @@ -9420,7 +9973,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-dispatch" version = "2.0.0-dev" -source = "git+https://github.com/AstarNetwork/frontier?rev=e74325d1b2150a6e505c20a4190236db4daca2bb#e74325d1b2150a6e505c20a4190236db4daca2bb" +source = "git+https://github.com/AstarNetwork/frontier?branch=stable2506#20314b66f29eb44f2f1980bf7c073df04fba3361" dependencies = [ "fp-evm", "frame-support", @@ -9458,7 +10011,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-ed25519" version = "2.0.0-dev" -source = "git+https://github.com/AstarNetwork/frontier?rev=e74325d1b2150a6e505c20a4190236db4daca2bb#e74325d1b2150a6e505c20a4190236db4daca2bb" +source = "git+https://github.com/AstarNetwork/frontier?branch=stable2506#20314b66f29eb44f2f1980bf7c073df04fba3361" dependencies = [ "ed25519-dalek", "fp-evm", @@ -9467,7 +10020,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-modexp" version = "2.0.0-dev" -source = "git+https://github.com/AstarNetwork/frontier?rev=e74325d1b2150a6e505c20a4190236db4daca2bb#e74325d1b2150a6e505c20a4190236db4daca2bb" +source = "git+https://github.com/AstarNetwork/frontier?branch=stable2506#20314b66f29eb44f2f1980bf7c073df04fba3361" dependencies = [ "fp-evm", "num", @@ -9476,16 +10029,18 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-sha3fips" version = "2.0.0-dev" -source = "git+https://github.com/AstarNetwork/frontier?rev=e74325d1b2150a6e505c20a4190236db4daca2bb#e74325d1b2150a6e505c20a4190236db4daca2bb" +source = "git+https://github.com/AstarNetwork/frontier?branch=stable2506#20314b66f29eb44f2f1980bf7c073df04fba3361" dependencies = [ "fp-evm", + "frame-support", + "pallet-evm", "tiny-keccak", ] [[package]] name = "pallet-evm-precompile-simple" version = "2.0.0-dev" -source = "git+https://github.com/AstarNetwork/frontier?rev=e74325d1b2150a6e505c20a4190236db4daca2bb#e74325d1b2150a6e505c20a4190236db4daca2bb" +source = "git+https://github.com/AstarNetwork/frontier?branch=stable2506#20314b66f29eb44f2f1980bf7c073df04fba3361" dependencies = [ "fp-evm", "ripemd", @@ -9608,8 +10163,8 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" -version = "38.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "docify", "frame-benchmarking", @@ -9626,8 +10181,8 @@ dependencies = [ [[package]] name = "pallet-grandpa" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-support", @@ -9648,8 +10203,8 @@ dependencies = [ [[package]] name = "pallet-identity" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "enumflags2", "frame-benchmarking", @@ -9664,8 +10219,8 @@ dependencies = [ [[package]] name = "pallet-im-online" -version = "38.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-support", @@ -9683,8 +10238,8 @@ dependencies = [ [[package]] name = "pallet-indices" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-support", @@ -9693,7 +10248,6 @@ dependencies = [ "scale-info", "sp-core", "sp-io", - "sp-keyring", "sp-runtime", ] @@ -9718,21 +10272,19 @@ dependencies = [ [[package]] name = "pallet-insecure-randomness-collective-flip" -version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "frame-support", - "frame-system", "parity-scale-codec", + "polkadot-sdk-frame", "safe-mix", "scale-info", - "sp-runtime", ] [[package]] name = "pallet-membership" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-support", @@ -9747,8 +10299,8 @@ dependencies = [ [[package]] name = "pallet-message-queue" -version = "42.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "44.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "environmental", "frame-benchmarking", @@ -9765,44 +10317,58 @@ dependencies = [ ] [[package]] -name = "pallet-migrations" -version = "9.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +name = "pallet-meta-tx" +version = "0.3.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "cfg-if", "docify", "frame-benchmarking", "frame-support", "frame-system", - "impl-trait-for-tuples", - "log", "parity-scale-codec", "scale-info", + "serde", "sp-core", + "sp-io", "sp-runtime", + "sp-std", ] [[package]] -name = "pallet-mmr" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +name = "pallet-migrations" +version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ + "docify", "frame-benchmarking", "frame-support", "frame-system", + "impl-trait-for-tuples", "log", "parity-scale-codec", + "polkadot-sdk-frame", "scale-info", "sp-core", "sp-io", - "sp-mmr-primitives", "sp-runtime", ] +[[package]] +name = "pallet-mmr" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" +dependencies = [ + "log", + "parity-scale-codec", + "polkadot-sdk-frame", + "scale-info", + "sp-mmr-primitives", +] + [[package]] name = "pallet-multisig" -version = "39.1.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "log", "parity-scale-codec", @@ -9812,23 +10378,18 @@ dependencies = [ [[package]] name = "pallet-nis" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", "parity-scale-codec", + "polkadot-sdk-frame", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-runtime", ] [[package]] name = "pallet-nomination-pools" -version = "37.0.2" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "39.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-support", "frame-system", @@ -9845,8 +10406,8 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" -version = "37.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "39.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -9865,8 +10426,8 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" -version = "35.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -9875,13 +10436,12 @@ dependencies = [ [[package]] name = "pallet-offences" -version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-support", "frame-system", "log", - "pallet-balances", "parity-scale-codec", "scale-info", "serde", @@ -9891,8 +10451,8 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -9914,8 +10474,8 @@ dependencies = [ [[package]] name = "pallet-parameters" -version = "0.10.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.12.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "docify", "frame-benchmarking", @@ -9931,8 +10491,8 @@ dependencies = [ [[package]] name = "pallet-preimage" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-support", @@ -9969,8 +10529,8 @@ dependencies = [ [[package]] name = "pallet-proxy" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -9979,8 +10539,8 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.2" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-support", @@ -9997,72 +10557,145 @@ dependencies = [ [[package]] name = "pallet-recovery" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" +dependencies = [ + "parity-scale-codec", + "polkadot-sdk-frame", + "scale-info", +] + +[[package]] +name = "pallet-referenda" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ + "assert_matches", "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", + "serde", + "sp-arithmetic", "sp-io", "sp-runtime", ] [[package]] -name = "pallet-referenda" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +name = "pallet-revive" +version = "0.7.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "assert_matches", + "alloy-core", + "derive_more 0.99.20", + "environmental", + "ethereum-standards", + "ethereum-types 0.15.1", "frame-benchmarking", "frame-support", "frame-system", + "hex-literal", + "humantime-serde", + "impl-trait-for-tuples", "log", + "num-bigint", + "num-integer", + "num-traits", + "pallet-revive-fixtures", + "pallet-revive-proc-macro", + "pallet-revive-uapi", + "pallet-transaction-payment", "parity-scale-codec", + "paste", + "polkavm 0.21.0", + "polkavm-common 0.21.0", + "rand 0.8.5", + "rand_pcg", + "ripemd", + "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", + "substrate-bn", + "subxt-signer", +] + +[[package]] +name = "pallet-revive-fixtures" +version = "0.4.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" +dependencies = [ + "anyhow", + "cargo_metadata 0.15.4", + "pallet-revive-uapi", + "polkavm-linker 0.21.0", + "sp-core", + "sp-io", + "toml 0.8.23", +] + +[[package]] +name = "pallet-revive-proc-macro" +version = "0.3.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "pallet-revive-uapi" +version = "0.5.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" +dependencies = [ + "bitflags 1.3.2", + "pallet-revive-proc-macro", + "parity-scale-codec", + "polkavm-derive 0.21.0", + "scale-info", ] [[package]] name = "pallet-root-testing" -version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core", "sp-io", "sp-runtime", ] [[package]] name = "pallet-safe-mode" -version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "22.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "docify", - "frame-benchmarking", - "frame-support", - "frame-system", "pallet-balances", "pallet-proxy", "pallet-utility", "parity-scale-codec", + "polkadot-sdk-frame", "scale-info", - "sp-arithmetic", - "sp-runtime", ] [[package]] name = "pallet-scheduler" -version = "40.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "42.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "docify", "frame-benchmarking", @@ -10078,8 +10711,8 @@ dependencies = [ [[package]] name = "pallet-session" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-support", "frame-system", @@ -10099,8 +10732,8 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-support", @@ -10115,8 +10748,8 @@ dependencies = [ [[package]] name = "pallet-society" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-support", @@ -10132,8 +10765,8 @@ dependencies = [ [[package]] name = "pallet-staking" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -10152,10 +10785,46 @@ dependencies = [ "sp-staking", ] +[[package]] +name = "pallet-staking-async-ah-client" +version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" +dependencies = [ + "frame-support", + "frame-system", + "log", + "pallet-authorship", + "pallet-session", + "pallet-staking-async-rc-client", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-runtime", + "sp-staking", +] + +[[package]] +name = "pallet-staking-async-rc-client" +version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" +dependencies = [ + "frame-support", + "frame-system", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-runtime", + "sp-staking", + "staging-xcm", +] + [[package]] name = "pallet-staking-reward-fn" -version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "log", "sp-arithmetic", @@ -10163,8 +10832,8 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" -version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "parity-scale-codec", "sp-api", @@ -10173,8 +10842,8 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" -version = "43.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "46.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-support", @@ -10209,8 +10878,8 @@ dependencies = [ [[package]] name = "pallet-sudo" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "docify", "frame-benchmarking", @@ -10224,8 +10893,8 @@ dependencies = [ [[package]] name = "pallet-timestamp" -version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "docify", "frame-benchmarking", @@ -10235,7 +10904,6 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-inherents", - "sp-io", "sp-runtime", "sp-storage", "sp-timestamp", @@ -10243,14 +10911,14 @@ dependencies = [ [[package]] name = "pallet-tips" -version = "38.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "log", - "pallet-treasury 38.1.0", + "pallet-treasury 40.0.0", "parity-scale-codec", "scale-info", "serde", @@ -10261,8 +10929,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-support", @@ -10270,17 +10938,16 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", "sp-io", "sp-runtime", ] [[package]] name = "pallet-transaction-payment-rpc" -version = "42.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "44.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "jsonrpsee 0.24.9", + "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", "sp-api", @@ -10293,8 +10960,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -10324,8 +10991,8 @@ dependencies = [ [[package]] name = "pallet-treasury" -version = "38.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "docify", "frame-benchmarking", @@ -10343,19 +11010,13 @@ dependencies = [ [[package]] name = "pallet-tx-pause" -version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "22.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "docify", - "frame-benchmarking", - "frame-support", - "frame-system", - "pallet-balances", - "pallet-proxy", - "pallet-utility", "parity-scale-codec", + "polkadot-sdk-frame", "scale-info", - "sp-runtime", ] [[package]] @@ -10385,8 +11046,8 @@ dependencies = [ [[package]] name = "pallet-utility" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-support", @@ -10399,33 +11060,44 @@ dependencies = [ ] [[package]] -name = "pallet-vesting" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +name = "pallet-verify-signature" +version = "0.4.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log", "parity-scale-codec", "scale-info", + "sp-io", "sp-runtime", + "sp-weights", ] [[package]] -name = "pallet-whitelist" -version = "38.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +name = "pallet-vesting" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", - "sp-api", "sp-runtime", ] +[[package]] +name = "pallet-whitelist" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" +dependencies = [ + "parity-scale-codec", + "polkadot-sdk-frame", + "scale-info", +] + [[package]] name = "pallet-xc-asset-config" version = "1.3.0" @@ -10448,14 +11120,17 @@ dependencies = [ [[package]] name = "pallet-xcm" -version = "18.1.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "20.1.3" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "bounded-collections", "frame-benchmarking", "frame-support", "frame-system", + "hex-literal", "pallet-balances", + "pallet-revive", + "pallet-timestamp", "parity-scale-codec", "scale-info", "serde", @@ -10471,8 +11146,8 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" -version = "18.1.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "21.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-benchmarking", "frame-support", @@ -10488,8 +11163,8 @@ dependencies = [ [[package]] name = "parachains-common" -version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "22.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", @@ -10500,7 +11175,7 @@ dependencies = [ "pallet-assets", "pallet-authorship", "pallet-balances", - "pallet-collator-selection 20.1.0", + "pallet-collator-selection 22.0.0", "pallet-message-queue", "pallet-xcm", "parity-scale-codec", @@ -10513,7 +11188,6 @@ dependencies = [ "staging-parachain-info", "staging-xcm", "staging-xcm-executor", - "substrate-wasm-builder", ] [[package]] @@ -10522,7 +11196,7 @@ version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4e69bf016dc406eff7d53a7d3f7cf1c2e72c82b9088aac1118591e36dd2cd3e9" dependencies = [ - "bitcoin_hashes", + "bitcoin_hashes 0.13.0", "rand 0.8.5", "rand_core 0.6.4", "serde", @@ -10543,7 +11217,7 @@ dependencies = [ "log", "lz4", "memmap2 0.5.10", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "rand 0.8.5", "siphasher 0.3.11", "snap", @@ -10552,9 +11226,9 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.7.4" +version = "3.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9fde3d0718baf5bc92f577d652001da0f8d54cd03a7974e118d04fc888dc23d" +checksum = "799781ae679d79a948e13d4824a40970bfa500058d245760dd857301059810fa" dependencies = [ "arrayvec 0.7.6", "bitvec", @@ -10569,14 +11243,14 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "3.7.4" +version = "3.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "581c837bb6b9541ce7faa9377c20616e4fb7650f6b0f68bc93c827ee504fb7b3" +checksum = "34b4653168b563151153c9e4c08ebed57fb8262bebfa79711552fa983c623e7a" dependencies = [ - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -10604,12 +11278,12 @@ dependencies = [ [[package]] name = "parking_lot" -version = "0.12.3" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" dependencies = [ "lock_api", - "parking_lot_core 0.9.10", + "parking_lot_core 0.9.12", ] [[package]] @@ -10628,15 +11302,15 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.10" +version = "0.9.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.5.11", + "redox_syscall 0.5.18", "smallvec", - "windows-targets 0.52.6", + "windows-link", ] [[package]] @@ -10692,33 +11366,51 @@ checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" name = "pem" version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8835c273a76a90455d7344889b0964598e3316e2a79ede8e36f16bdcf2228b8" +checksum = "a8835c273a76a90455d7344889b0964598e3316e2a79ede8e36f16bdcf2228b8" +dependencies = [ + "base64 0.13.1", +] + +[[package]] +name = "pem" +version = "3.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d30c53c26bc5b31a98cd02d20f25a7c8567146caf63ed593a9d87b2775291be" +dependencies = [ + "base64 0.22.1", + "serde_core", +] + +[[package]] +name = "pem-rfc7468" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412" dependencies = [ - "base64 0.13.1", + "base64ct", ] [[package]] name = "percent-encoding" -version = "2.3.1" +version = "2.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" [[package]] name = "pest" -version = "2.8.0" +version = "2.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "198db74531d58c70a361c42201efde7e2591e976d518caf7662a47dc5720e7b6" +checksum = "cbcfd20a6d4eeba40179f05735784ad32bdaef05ce8e8af05f180d45bb3e7e22" dependencies = [ "memchr", - "thiserror 2.0.12", "ucd-trie", ] [[package]] name = "pest_derive" -version = "2.8.0" +version = "2.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d725d9cfd79e87dccc9341a2ef39d1b6f6353d68c4b33c177febbe1a402c97c5" +checksum = "51f72981ade67b1ca6adc26ec221be9f463f2b5839c7508998daa17c23d94d7f" dependencies = [ "pest", "pest_generator", @@ -10726,24 +11418,23 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.8.0" +version = "2.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db7d01726be8ab66ab32f9df467ae8b1148906685bbe75c82d1e65d7f5b3f841" +checksum = "dee9efd8cdb50d719a80088b76f81aec7c41ed6d522ee750178f83883d271625" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "pest_meta" -version = "2.8.0" +version = "2.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f9f832470494906d1fca5329f8ab5791cc60beb230c74815dff541cbd2b5ca0" +checksum = "bf1d70880e76bdc13ba52eafa6239ce793d85c8e43896507e43dd8984ff05b82" dependencies = [ - "once_cell", "pest", "sha2 0.10.9", ] @@ -10754,8 +11445,18 @@ version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" dependencies = [ - "fixedbitset", - "indexmap 2.9.0", + "fixedbitset 0.4.2", + "indexmap 2.12.1", +] + +[[package]] +name = "petgraph" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3672b37090dbd86368a4145bc067582552b29c27377cad4e0a306c97f9bd7772" +dependencies = [ + "fixedbitset 0.5.7", + "indexmap 2.12.1", ] [[package]] @@ -10785,7 +11486,7 @@ checksum = "6e918e4ff8c4549eb882f14b3a4bc8c8bc93de829416eacf579f1207a8fbf861" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -10829,10 +11530,9 @@ checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" [[package]] name = "polkadot-approval-distribution" -version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "bitvec", "futures 0.3.31", "futures-timer", "itertools 0.11.0", @@ -10848,10 +11548,9 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" -version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "always-assert", "futures 0.3.31", "futures-timer", "polkadot-node-network-protocol", @@ -10864,10 +11563,9 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" -version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "derive_more 0.99.20", "fatality", "futures 0.3.31", "parity-scale-codec", @@ -10888,8 +11586,8 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" -version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "fatality", @@ -10911,9 +11609,9 @@ dependencies = [ [[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", @@ -10921,10 +11619,9 @@ dependencies = [ [[package]] name = "polkadot-cli" -version = "22.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "25.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "cfg-if", "clap", "frame-benchmarking-cli", "futures 0.3.31", @@ -10933,15 +11630,12 @@ dependencies = [ "polkadot-node-primitives", "polkadot-service", "sc-cli", - "sc-executor", "sc-service", "sc-storage-monitor", "sc-sysinfo", "sc-tracing", "sp-core", - "sp-io", "sp-keyring", - "sp-maybe-compressed-blob", "sp-runtime", "substrate-build-script-utils", "thiserror 1.0.69", @@ -10949,8 +11643,8 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" -version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "bitvec", "fatality", @@ -10972,8 +11666,8 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" -version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "parity-scale-codec", "scale-info", @@ -10983,23 +11677,20 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" -version = "21.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "derive_more 0.99.20", "fatality", "futures 0.3.31", "futures-timer", - "indexmap 2.9.0", + "indexmap 2.12.1", "parity-scale-codec", - "polkadot-erasure-coding", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", "sc-network", - "schnellru", "sp-application-crypto", "sp-keystore", "thiserror 1.0.69", @@ -11008,8 +11699,8 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "20.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -11022,8 +11713,8 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" -version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "futures 0.3.31", "futures-timer", @@ -11034,18 +11725,17 @@ dependencies = [ "rand 0.8.5", "rand_chacha 0.3.1", "sc-network", - "sc-network-common", "sp-application-crypto", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2412)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2506)", "sp-keystore", "tracing-gum", ] [[package]] name = "polkadot-network-bridge" -version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "always-assert", "async-trait", @@ -11053,7 +11743,7 @@ dependencies = [ "fatality", "futures 0.3.31", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "polkadot-node-metrics", "polkadot-node-network-protocol", "polkadot-node-subsystem", @@ -11067,8 +11757,8 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" -version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "futures 0.3.31", "parity-scale-codec", @@ -11079,15 +11769,14 @@ dependencies = [ "polkadot-primitives", "schnellru", "sp-core", - "sp-maybe-compressed-blob", "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-node-core-approval-voting" -version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "bitvec", @@ -11095,7 +11784,6 @@ dependencies = [ "futures 0.3.31", "futures-timer", "itertools 0.11.0", - "kvdb", "merlin", "parity-scale-codec", "polkadot-node-primitives", @@ -11108,7 +11796,7 @@ dependencies = [ "rand_core 0.6.4", "sc-keystore", "schnellru", - "schnorrkel 0.11.4", + "schnorrkel 0.11.5", "sp-application-crypto", "sp-consensus", "sp-consensus-slots", @@ -11119,12 +11807,11 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting-parallel" -version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "futures 0.3.31", - "futures-timer", "itertools 0.11.0", "polkadot-approval-distribution", "polkadot-node-core-approval-voting", @@ -11136,32 +11823,25 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "rand 0.8.5", - "rand_chacha 0.3.1", "rand_core 0.6.4", "sc-keystore", - "sp-application-crypto", "sp-consensus", - "sp-consensus-slots", - "sp-runtime", - "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-node-core-av-store" -version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "bitvec", "futures 0.3.31", "futures-timer", - "kvdb", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", - "polkadot-overseer", "polkadot-primitives", "sp-consensus", "thiserror 1.0.69", @@ -11170,8 +11850,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" -version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "bitvec", "fatality", @@ -11191,8 +11871,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" -version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "futures 0.3.31", "polkadot-node-subsystem", @@ -11206,8 +11886,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" -version = "21.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "futures 0.3.31", @@ -11228,8 +11908,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" -version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "futures 0.3.31", "polkadot-node-metrics", @@ -11242,12 +11922,11 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" -version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "futures 0.3.31", "futures-timer", - "kvdb", "parity-scale-codec", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -11259,12 +11938,11 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" -version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "fatality", "futures 0.3.31", - "kvdb", "parity-scale-codec", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -11278,8 +11956,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" -version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "futures 0.3.31", @@ -11295,8 +11973,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-prospective-parachains" -version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "fatality", "futures 0.3.31", @@ -11309,8 +11987,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" -version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "bitvec", "fatality", @@ -11320,25 +11998,21 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "schnellru", "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-node-core-pvf" -version = "21.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "always-assert", - "array-bytes", - "blake3", - "cfg-if", + "array-bytes 6.2.3", "futures 0.3.31", "futures-timer", "parity-scale-codec", "pin-project", - "polkadot-core-primitives", "polkadot-node-core-pvf-common", "polkadot-node-metrics", "polkadot-node-primitives", @@ -11346,6 +12020,7 @@ dependencies = [ "polkadot-parachain-primitives", "polkadot-primitives", "rand 0.8.5", + "sc-tracing", "slotmap", "sp-core", "strum 0.26.3", @@ -11357,30 +12032,27 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" -version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "futures 0.3.31", - "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", - "polkadot-overseer", "polkadot-primitives", "sp-keystore", - "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-node-core-pvf-common" -version = "17.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "20.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "cpu-time", "futures 0.3.31", "landlock", "libc", - "nix 0.28.0", + "nix 0.29.0", "parity-scale-codec", "polkadot-parachain-primitives", "polkadot-primitives", @@ -11389,7 +12061,7 @@ dependencies = [ "sc-executor-wasmtime", "seccompiler", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2412)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2506)", "sp-externalities", "sp-io", "sp-tracing", @@ -11399,8 +12071,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" -version = "21.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "futures 0.3.31", "polkadot-node-metrics", @@ -11414,13 +12086,12 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" -version = "21.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "bs58", "futures 0.3.31", "futures-timer", - "log", "parity-scale-codec", "polkadot-primitives", "prioritized-metered-channel", @@ -11428,13 +12099,12 @@ dependencies = [ "sc-service", "sc-tracing", "substrate-prometheus-endpoint", - "tracing-gum", ] [[package]] name = "polkadot-node-network-protocol" -version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-channel 1.9.0", "async-trait", @@ -11458,8 +12128,8 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" -version = "17.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "20.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "bitvec", "bounded-vec", @@ -11469,23 +12139,21 @@ dependencies = [ "polkadot-parachain-primitives", "polkadot-primitives", "sc-keystore", - "schnorrkel 0.11.4", + "schnorrkel 0.11.5", "serde", "sp-application-crypto", "sp-consensus-babe", "sp-consensus-slots", - "sp-core", "sp-keystore", "sp-maybe-compressed-blob", - "sp-runtime", "thiserror 1.0.69", "zstd 0.12.4", ] [[package]] name = "polkadot-node-subsystem" -version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "polkadot-node-subsystem-types", "polkadot-overseer", @@ -11493,11 +12161,10 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" -version = "21.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", - "bitvec", "derive_more 0.99.20", "fatality", "futures 0.3.31", @@ -11522,20 +12189,16 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" -version = "21.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "async-trait", - "derive_more 0.99.20", "fatality", "futures 0.3.31", - "futures-channel", "itertools 0.11.0", "kvdb", "parity-db", "parity-scale-codec", - "parking_lot 0.12.3", - "pin-project", + "parking_lot 0.12.5", "polkadot-erasure-coding", "polkadot-node-metrics", "polkadot-node-network-protocol", @@ -11546,7 +12209,7 @@ dependencies = [ "polkadot-primitives", "prioritized-metered-channel", "rand 0.8.5", - "sc-client-api", + "sc-keystore", "schnellru", "sp-application-crypto", "sp-core", @@ -11557,21 +12220,19 @@ dependencies = [ [[package]] name = "polkadot-overseer" -version = "21.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "futures 0.3.31", "futures-timer", "orchestra", - "parking_lot 0.12.3", "polkadot-node-metrics", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem-types", "polkadot-primitives", "sc-client-api", - "sp-api", "sp-core", "tikv-jemalloc-ctl", "tracing-gum", @@ -11579,8 +12240,8 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" -version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "bounded-collections", "derive_more 0.99.20", @@ -11595,10 +12256,11 @@ dependencies = [ [[package]] name = "polkadot-primitives" -version = "17.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "19.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "bitvec", + "bounded-collections", "hex-literal", "log", "parity-scale-codec", @@ -11623,10 +12285,10 @@ dependencies = [ [[package]] name = "polkadot-rpc" -version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "25.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "jsonrpsee 0.24.9", + "jsonrpsee", "mmr-rpc", "pallet-transaction-payment-rpc", "polkadot-primitives", @@ -11636,11 +12298,9 @@ dependencies = [ "sc-consensus-babe-rpc", "sc-consensus-beefy", "sc-consensus-beefy-rpc", - "sc-consensus-epochs", "sc-consensus-grandpa", "sc-consensus-grandpa-rpc", "sc-rpc", - "sc-rpc-spec-v2", "sc-sync-state-rpc", "sc-transaction-pool-api", "sp-api", @@ -11658,8 +12318,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "18.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "20.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "bitvec", "frame-benchmarking", @@ -11682,7 +12342,7 @@ dependencies = [ "pallet-staking-reward-fn", "pallet-timestamp", "pallet-transaction-payment", - "pallet-treasury 38.1.0", + "pallet-treasury 40.0.0", "pallet-vesting", "parity-scale-codec", "polkadot-primitives", @@ -11690,7 +12350,6 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "serde_derive", "slot-range-helper", "sp-api", "sp-core", @@ -11709,8 +12368,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" -version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "21.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "bs58", "frame-benchmarking", @@ -11721,13 +12380,13 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "18.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "20.0.3" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "bitflags 1.3.2", "bitvec", - "derive_more 0.99.20", "frame-benchmarking", + "frame-election-provider-support", "frame-support", "frame-system", "impl-trait-for-tuples", @@ -11742,7 +12401,6 @@ dependencies = [ "pallet-session", "pallet-staking", "pallet-timestamp", - "pallet-vesting", "parity-scale-codec", "polkadot-core-primitives", "polkadot-parachain-primitives", @@ -11770,8 +12428,8 @@ dependencies = [ [[package]] name = "polkadot-sdk-frame" -version = "0.8.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.10.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "docify", "frame-benchmarking", @@ -11784,6 +12442,7 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", + "serde", "sp-api", "sp-arithmetic", "sp-block-builder", @@ -11804,8 +12463,8 @@ dependencies = [ [[package]] name = "polkadot-service" -version = "22.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "25.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "frame-benchmarking", @@ -11822,7 +12481,7 @@ dependencies = [ "pallet-transaction-payment-rpc-runtime-api", "parity-db", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "polkadot-approval-distribution", "polkadot-availability-bitfield-distribution", "polkadot-availability-distribution", @@ -11912,15 +12571,13 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" -version = "21.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "arrayvec 0.7.6", "bitvec", "fatality", "futures 0.3.31", "futures-timer", - "indexmap 2.9.0", "parity-scale-codec", "polkadot-node-network-protocol", "polkadot-node-primitives", @@ -11928,104 +12585,190 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "sp-keystore", - "sp-staking", "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-statement-table" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "20.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "parity-scale-codec", "polkadot-primitives", - "sp-core", "tracing-gum", ] [[package]] name = "polkavm" -version = "0.9.3" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfd34e2f74206fff33482ae1718e275f11365ef8c4de7f0e69217f8845303867" +dependencies = [ + "libc", + "log", + "polkavm-assembler 0.21.0", + "polkavm-common 0.21.0", + "polkavm-linux-raw 0.21.0", +] + +[[package]] +name = "polkavm" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a3693e5efdb2bf74e449cd25fd777a28bd7ed87e41f5d5da75eb31b4de48b94" +checksum = "f2a01db119bb3a86572c0641ba6e7c9786fbd2ac89c25b43b688c4e353787526" dependencies = [ "libc", "log", - "polkavm-assembler", - "polkavm-common", - "polkavm-linux-raw", + "polkavm-assembler 0.24.0", + "polkavm-common 0.24.0", + "polkavm-linux-raw 0.24.0", ] [[package]] name = "polkavm-assembler" -version = "0.9.0" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f512bc80cb10439391a7c13a9eb2d37cf66b7305e7df0a06d662eff4f5b07625" +dependencies = [ + "log", +] + +[[package]] +name = "polkavm-assembler" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fa96d6d868243acc12de813dd48e756cbadcc8e13964c70d272753266deadc1" +checksum = "eea6105f3f344abe0bf0151d67b3de6f5d24353f2393355ecf3f5f6e06d7fd0b" 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 = "5c16b809cfd398f861261c045a8745e6c78b71ea7e0d3ef6f7cc553eb27bc17e" +dependencies = [ + "blake3", + "log", + "polkavm-assembler 0.21.0", +] + +[[package]] +name = "polkavm-common" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d9428a5cfcc85c5d7b9fc4b6a18c4b802d0173d768182a51cc7751640f08b92" +checksum = "d91ed9e5af472f729fcf3b3c1cf17508ddbb3505259dd6e2ee0fb5a29e105d22" dependencies = [ "log", + "polkavm-assembler 0.24.0", ] [[package]] name = "polkavm-derive" -version = "0.9.1" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47239245f87329541932c0d7fec750a66a75b13aa87dfe4fbfd637bab86ad387" +dependencies = [ + "polkavm-derive-impl-macro 0.21.0", +] + +[[package]] +name = "polkavm-derive" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae8c4bea6f3e11cd89bb18bcdddac10bd9a24015399bd1c485ad68a985a19606" +checksum = "176144f8661117ea95fa7cf868c9a62d6b143e8a2ebcb7582464c3faade8669a" dependencies = [ - "polkavm-derive-impl-macro", + "polkavm-derive-impl-macro 0.24.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 = "24fd6c6215450c3e57511df5c38a82eb4bde208de15ee15046ac33852f3c3eaa" +dependencies = [ + "polkavm-common 0.21.0", + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "polkavm-derive-impl" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c4fdfc49717fb9a196e74a5d28e0bc764eb394a2c803eb11133a31ac996c60c" +checksum = "c5a21844afdfcc10c92b9ef288ccb926211af27478d1730fcd55e4aec710179d" dependencies = [ - "polkavm-common", + "polkavm-common 0.24.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "polkavm-derive-impl-macro" -version = "0.9.0" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36837f6b7edfd6f4498f8d25d81da16cf03bd6992c3e56f3d477dfc90f4fefca" +dependencies = [ + "polkavm-derive-impl 0.21.0", + "syn 2.0.111", +] + +[[package]] +name = "polkavm-derive-impl-macro" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429" +checksum = "ba0ef0f17ad81413ea1ca5b1b67553aedf5650c88269b673d3ba015c83bc2651" dependencies = [ - "polkavm-derive-impl", - "syn 2.0.101", + "polkavm-derive-impl 0.24.0", + "syn 2.0.111", ] [[package]] name = "polkavm-linker" -version = "0.9.2" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c7be503e60cf56c0eb785f90aaba4b583b36bff00e93997d93fef97f9553c39" +checksum = "23bc764986c4a63f9ab9890c3f4eb9b4c13b6ff80d79685bd48ade147234aab4" dependencies = [ - "gimli 0.28.1", + "dirs", + "gimli 0.31.1", "hashbrown 0.14.5", "log", - "object 0.32.2", - "polkavm-common", + "object 0.36.7", + "polkavm-common 0.21.0", + "regalloc2 0.9.3", + "rustc-demangle", +] + +[[package]] +name = "polkavm-linker" +version = "0.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06c95a521a1331024ebe5823ffdfba9ea6df40b934b0804049d5171887579806" +dependencies = [ + "dirs", + "gimli 0.31.1", + "hashbrown 0.14.5", + "log", + "object 0.36.7", + "polkavm-common 0.24.0", "regalloc2 0.9.3", "rustc-demangle", ] [[package]] name = "polkavm-linux-raw" -version = "0.9.0" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be6cd1d48c5e7814d287a3e12a339386a5dfa2f3ac72f932335f4cf56467f1b3" + +[[package]] +name = "polkavm-linux-raw" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26e85d3456948e650dff0cfc85603915847faf893ed1e66b020bb82ef4557120" +checksum = "4ec0b13e26ec7234dba213ca17118c70c562809bdce0eefe84f92613d5c8da26" [[package]] name = "polling" @@ -12045,17 +12788,16 @@ dependencies = [ [[package]] name = "polling" -version = "3.7.4" +version = "3.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a604568c3202727d1507653cb121dbd627a58684eb09a820fd746bee38b4442f" +checksum = "5d0e4f59085d47d8241c88ead0f274e8a0cb551f3625263c05eb8dd897c34218" dependencies = [ "cfg-if", "concurrent-queue", - "hermit-abi 0.4.0", + "hermit-abi 0.5.2", "pin-project-lite", - "rustix 0.38.44", - "tracing", - "windows-sys 0.59.0", + "rustix 1.1.3", + "windows-sys 0.61.2", ] [[package]] @@ -12083,9 +12825,27 @@ dependencies = [ [[package]] name = "portable-atomic" -version = "1.11.0" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f59e70c4aef1e55797c2e8fd94a4f2a973fc972cfde0e0b05f683667b0cd39dd" + +[[package]] +name = "portable-atomic-util" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507" +dependencies = [ + "portable-atomic", +] + +[[package]] +name = "potential_utf" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e" +checksum = "b73949432f5e2a09657003c25bca5e19a0e9c84f8058ca374f49e0ebe605af77" +dependencies = [ + "zerovec", +] [[package]] name = "powerfmt" @@ -12099,13 +12859,13 @@ version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" dependencies = [ - "zerocopy 0.8.25", + "zerocopy", ] [[package]] name = "precompile-utils" version = "0.1.0" -source = "git+https://github.com/AstarNetwork/frontier?rev=e74325d1b2150a6e505c20a4190236db4daca2bb#e74325d1b2150a6e505c20a4190236db4daca2bb" +source = "git+https://github.com/AstarNetwork/frontier?branch=stable2506#20314b66f29eb44f2f1980bf7c073df04fba3361" dependencies = [ "derive_more 1.0.0", "environmental", @@ -12117,7 +12877,7 @@ dependencies = [ "hex-literal", "impl-trait-for-tuples", "log", - "num_enum 0.7.3", + "num_enum 0.7.5", "pallet-evm", "parity-scale-codec", "precompile-utils-macro", @@ -12134,29 +12894,15 @@ dependencies = [ [[package]] name = "precompile-utils-macro" version = "0.1.0" -source = "git+https://github.com/AstarNetwork/frontier?rev=e74325d1b2150a6e505c20a4190236db4daca2bb#e74325d1b2150a6e505c20a4190236db4daca2bb" +source = "git+https://github.com/AstarNetwork/frontier?branch=stable2506#20314b66f29eb44f2f1980bf7c073df04fba3361" dependencies = [ "case", - "num_enum 0.7.3", + "num_enum 0.7.5", "prettyplease", "proc-macro2", "quote", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2412)", - "syn 2.0.101", -] - -[[package]] -name = "predicates" -version = "2.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59230a63c37f3e18569bdb90e4a89cbf5bf8b06fea0b84e65ea10cc4df47addd" -dependencies = [ - "difflib", - "float-cmp", - "itertools 0.10.5", - "normalize-line-endings", - "predicates-core", - "regex", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2506)", + "syn 2.0.111", ] [[package]] @@ -12187,12 +12933,12 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.2.32" +version = "0.2.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "664ec5419c51e34154eec046ebcba56312d5a2fc3b09a06da188e1ad21afadf6" +checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b" dependencies = [ "proc-macro2", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -12252,11 +12998,11 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "3.3.0" +version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edce586971a4dfaa28950c6f18ed55e0406c1ab88bbce2c6f6293a7aaba73d35" +checksum = "219cb19e96be00ab2e37d6e299658a0cfa83e52429179969b0f0121b4ac46983" dependencies = [ - "toml_edit", + "toml_edit 0.23.10+spec-1.0.0", ] [[package]] @@ -12284,14 +13030,25 @@ dependencies = [ ] [[package]] -name = "proc-macro-warning" -version = "0.4.2" +name = "proc-macro-error-attr2" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5" +dependencies = [ + "proc-macro2", + "quote", +] + +[[package]] +name = "proc-macro-error2" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" +checksum = "11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802" dependencies = [ + "proc-macro-error-attr2", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -12302,14 +13059,14 @@ checksum = "75eea531cfcd120e0851a3f8aed42c4841f78c889eefafd96339c72677ae42c3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "proc-macro2" -version = "1.0.95" +version = "1.0.103" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778" +checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8" dependencies = [ "unicode-ident", ] @@ -12324,19 +13081,19 @@ dependencies = [ "fnv", "lazy_static", "memchr", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "thiserror 1.0.69", ] [[package]] name = "prometheus-client" -version = "0.21.2" +version = "0.22.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c99afa9a01501019ac3a14d71d9f94050346f55ca471ce90c799a15c58f61e2" +checksum = "504ee9ff529add891127c4827eb481bd69dc0ebc72e9a682e187db4caa60c3ca" dependencies = [ "dtoa", "itoa", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "prometheus-client-derive-encode", ] @@ -12348,22 +13105,25 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "proptest" -version = "1.6.0" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14cae93065090804185d3b75f0bf93b8eeda30c7a9b4a33d3bdb3988d6229e50" +checksum = "bee689443a2bd0a16ab0348b52ee43e3b2d1b1f931c8aa5c9f8de4c86fbe8c40" dependencies = [ - "bitflags 2.9.0", - "lazy_static", - "num-traits", - "rand 0.8.5", - "rand_chacha 0.3.1", + "bit-set", + "bit-vec", + "bitflags 2.10.0", + "num-traits", + "rand 0.9.2", + "rand_chacha 0.9.0", "rand_xorshift", - "regex-syntax 0.8.5", + "regex-syntax", + "rusty-fork", + "tempfile", "unarray", ] @@ -12398,12 +13158,12 @@ dependencies = [ "log", "multimap", "once_cell", - "petgraph", + "petgraph 0.7.1", "prettyplease", "prost 0.13.5", "prost-types", "regex", - "syn 2.0.101", + "syn 2.0.111", "tempfile", ] @@ -12417,7 +13177,7 @@ dependencies = [ "itertools 0.12.1", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -12430,7 +13190,7 @@ dependencies = [ "itertools 0.14.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -12444,28 +13204,35 @@ dependencies = [ [[package]] name = "psm" -version = "0.1.26" +version = "0.1.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e944464ec8536cd1beb0bbfd96987eb5e3b72f2ecdafdc5c769a37f1fa2ae1f" +checksum = "d11f2fedc3b7dafdc2851bc52f277377c5473d378859be234bc7ebb593144d01" dependencies = [ + "ar_archive_writer", "cc", ] [[package]] name = "quanta" -version = "0.12.5" +version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3bd1fe6824cea6538803de3ff1bc0cf3949024db3d43c9643024bfb33a807c0e" +checksum = "f3ab5a9d756f0d97bdc89019bd2e4ea098cf9cde50ee7564dde6b81ccc8f06c7" dependencies = [ "crossbeam-utils", "libc", "once_cell", "raw-cpuid", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi", "web-sys", "winapi", ] +[[package]] +name = "quick-error" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" + [[package]] name = "quick-protobuf" version = "0.8.1" @@ -12477,79 +13244,87 @@ dependencies = [ [[package]] name = "quick-protobuf-codec" -version = "0.2.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8ededb1cd78531627244d51dd0c7139fbe736c7d57af0092a76f0ffb2f56e98" +checksum = "15a0580ab32b169745d7a39db2ba969226ca16738931be152a3209b409de2474" dependencies = [ - "asynchronous-codec", + "asynchronous-codec 0.7.0", "bytes", "quick-protobuf", "thiserror 1.0.69", - "unsigned-varint 0.7.2", + "unsigned-varint 0.8.0", ] [[package]] name = "quinn" -version = "0.10.2" +version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cc2c5017e4b43d5995dcea317bc46c1e09404c0a9664d2908f7f02dfe943d75" +checksum = "b9e20a958963c291dc322d98411f541009df2ced7b5a4f2bd52337638cfccf20" dependencies = [ "bytes", + "cfg_aliases 0.2.1", "futures-io", "pin-project-lite", "quinn-proto", "quinn-udp", - "rustc-hash 1.1.0", - "rustls 0.21.12", - "thiserror 1.0.69", + "rustc-hash 2.1.1", + "rustls", + "socket2 0.6.1", + "thiserror 2.0.17", "tokio", "tracing", + "web-time", ] [[package]] name = "quinn-proto" -version = "0.10.6" +version = "0.11.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "141bf7dfde2fbc246bfd3fe12f2455aa24b0fbd9af535d8c86c7bd1381ff2b1a" +checksum = "f1906b49b0c3bc04b5fe5d86a77925ae6524a19b816ae38ce1e426255f1d8a31" dependencies = [ "bytes", - "rand 0.8.5", - "ring 0.16.20", - "rustc-hash 1.1.0", - "rustls 0.21.12", + "getrandom 0.3.4", + "lru-slab", + "rand 0.9.2", + "ring 0.17.14", + "rustc-hash 2.1.1", + "rustls", + "rustls-pki-types", "slab", - "thiserror 1.0.69", + "thiserror 2.0.17", "tinyvec", "tracing", + "web-time", ] [[package]] name = "quinn-udp" -version = "0.4.1" +version = "0.5.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "055b4e778e8feb9f93c4e439f71dc2156ef13360b432b799e179a8c4cdf0b1d7" +checksum = "addec6a0dcad8a8d96a771f815f0eaf55f9d1805756410b39f5fa81332574cbd" dependencies = [ - "bytes", + "cfg_aliases 0.2.1", "libc", - "socket2 0.5.9", + "once_cell", + "socket2 0.6.1", "tracing", - "windows-sys 0.48.0", + "windows-sys 0.60.2", ] [[package]] name = "quote" -version = "1.0.40" +version = "1.0.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" +checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f" dependencies = [ "proc-macro2", ] [[package]] name = "r-efi" -version = "5.2.0" +version = "5.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" [[package]] name = "radium" @@ -12570,12 +13345,13 @@ dependencies = [ [[package]] name = "rand" -version = "0.9.1" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fbfd9d094a40bf3ae768db9361049ace4c0e04a4fd6b359518bd7b73a73dd97" +checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" dependencies = [ "rand_chacha 0.9.0", "rand_core 0.9.3", + "serde", ] [[package]] @@ -12613,7 +13389,8 @@ version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" dependencies = [ - "getrandom 0.3.2", + "getrandom 0.3.4", + "serde", ] [[package]] @@ -12637,20 +13414,29 @@ dependencies = [ [[package]] name = "rand_xorshift" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f" +checksum = "513962919efc330f829edb2535844d1b912b0fbe2ca165d613e4e8788bb05a5a" dependencies = [ - "rand_core 0.6.4", + "rand_core 0.9.3", +] + +[[package]] +name = "rapidhash" +version = "4.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2988730ee014541157f48ce4dcc603940e00915edc3c7f9a8d78092256bb2493" +dependencies = [ + "rustversion", ] [[package]] name = "raw-cpuid" -version = "11.5.0" +version = "11.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6df7ab838ed27997ba19a4664507e6f82b41fe6e20be42929332156e5e85146" +checksum = "498cd0dc59d73224351ee52a95fee0f1a617a2eae0e7d9d720cc622c73a54186" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.10.0", ] [[package]] @@ -12661,9 +13447,9 @@ checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" [[package]] name = "rayon" -version = "1.10.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" +checksum = "368f01d005bf8fd9b1206fb6fa653e6c4a81ceb1466406b81792d87c5677a58f" dependencies = [ "either", "rayon-core", @@ -12671,9 +13457,9 @@ dependencies = [ [[package]] name = "rayon-core" -version = "1.12.1" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" +checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91" dependencies = [ "crossbeam-deque", "crossbeam-utils", @@ -12681,48 +13467,41 @@ dependencies = [ [[package]] name = "rcgen" -version = "0.10.0" +version = "0.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffbe84efe2f38dea12e9bfc1f65377fdf03e53a18cb3b995faedf7934c7e785b" +checksum = "52c4f3084aa3bc7dfbba4eff4fab2a54db4324965d8872ab933565e6fbd83bc6" dependencies = [ - "pem", + "pem 3.0.6", "ring 0.16.20", "time", "yasna", ] [[package]] -name = "reconnecting-jsonrpsee-ws-client" -version = "0.4.3" +name = "redox_syscall" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06fa4f17e09edfc3131636082faaec633c7baa269396b4004040bc6c52f49f65" +checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" dependencies = [ - "cfg_aliases 0.2.1", - "finito", - "futures 0.3.31", - "jsonrpsee 0.23.2", - "serde_json", - "thiserror 1.0.69", - "tokio", - "tracing", + "bitflags 1.3.2", ] [[package]] name = "redox_syscall" -version = "0.2.16" +version = "0.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.10.0", ] [[package]] name = "redox_syscall" -version = "0.5.11" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2f103c6d277498fbceb16e84d317e2a400f160f46904d5f5410848c829511a3" +checksum = "ec96166dafa0886eb81fe1c0a388bece180fbef2135f97c1e2cf8302e74b43b5" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.10.0", ] [[package]] @@ -12750,22 +13529,22 @@ dependencies = [ [[package]] name = "ref-cast" -version = "1.0.24" +version = "1.0.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a0ae411dbe946a674d89546582cea4ba2bb8defac896622d6496f14c23ba5cf" +checksum = "f354300ae66f76f1c85c5f84693f0ce81d747e2c3f21a45fef496d89c960bf7d" dependencies = [ "ref-cast-impl", ] [[package]] name = "ref-cast-impl" -version = "1.0.24" +version = "1.0.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1165225c21bff1f3bbce98f5a1f889949bc902d3575308cc7b0de30b4f6d27c7" +checksum = "b7186006dcb21920990093f30e3dea63b7d6e977bf1256be20c3563a5db070da" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -12795,47 +13574,32 @@ dependencies = [ [[package]] name = "regex" -version = "1.11.1" +version = "1.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" +checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.9", - "regex-syntax 0.8.5", -] - -[[package]] -name = "regex-automata" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" -dependencies = [ - "regex-syntax 0.6.29", + "regex-automata", + "regex-syntax", ] [[package]] name = "regex-automata" -version = "0.4.9" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" +checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.8.5", + "regex-syntax", ] [[package]] name = "regex-syntax" -version = "0.6.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" - -[[package]] -name = "regex-syntax" -version = "0.8.5" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" +checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" [[package]] name = "reqwest" @@ -12848,7 +13612,7 @@ dependencies = [ "encoding_rs", "futures-core", "futures-util", - "h2 0.3.26", + "h2 0.3.27", "http 0.2.12", "http-body 0.4.6", "hyper 0.14.32", @@ -12875,9 +13639,9 @@ dependencies = [ [[package]] name = "resolv-conf" -version = "0.7.3" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc7c8f7f733062b66dc1c63f9db168ac0b97a9210e247fa90fdc9ad08f51b302" +checksum = "1e061d1b48cb8d38042de4ae0a7a6401009d6143dc80d2e2d6f31f0bdd6470c7" [[package]] name = "rfc6979" @@ -12968,7 +13732,7 @@ checksum = "652db34deaaa57929e10ca18e5454a32cb0efc351ae80d320334bbf907b908b3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -12983,8 +13747,8 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "21.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "binary-merkle-tree", "bitvec", @@ -13007,14 +13771,12 @@ dependencies = [ "pallet-beefy-mmr", "pallet-bounties", "pallet-child-bounties", - "pallet-collective", "pallet-conviction-voting", "pallet-democracy", "pallet-elections-phragmen", "pallet-grandpa", "pallet-identity", "pallet-indices", - "pallet-membership", "pallet-message-queue", "pallet-migrations", "pallet-mmr", @@ -13038,7 +13800,7 @@ dependencies = [ "pallet-tips", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", - "pallet-treasury 38.1.0", + "pallet-treasury 40.0.0", "pallet-utility", "pallet-vesting", "pallet-whitelist", @@ -13054,7 +13816,6 @@ dependencies = [ "serde", "serde_derive", "serde_json", - "smallvec", "sp-api", "sp-arithmetic", "sp-authority-discovery", @@ -13078,15 +13839,14 @@ dependencies = [ "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", - "static_assertions", "substrate-wasm-builder", "xcm-runtime-apis", ] [[package]] name = "rococo-runtime-constants" -version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "21.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-support", "polkadot-primitives", @@ -13144,11 +13904,45 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "ruint" +version = "1.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a68df0380e5c9d20ce49534f292a36a7514ae21350726efe1865bdb1fa91d278" +dependencies = [ + "alloy-rlp", + "ark-ff 0.3.0", + "ark-ff 0.4.2", + "ark-ff 0.5.0", + "bytes", + "fastrlp 0.3.1", + "fastrlp 0.4.0", + "num-bigint", + "num-integer", + "num-traits", + "parity-scale-codec", + "primitive-types 0.12.2", + "proptest", + "rand 0.8.5", + "rand 0.9.2", + "rlp 0.5.2", + "ruint-macro", + "serde_core", + "valuable", + "zeroize", +] + +[[package]] +name = "ruint-macro" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48fd7bd8a6377e15ad9d42a8ec25371b94ddc67abe7c8b9127bec79bebaaae18" + [[package]] name = "rustc-demangle" -version = "0.1.24" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" +checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace" [[package]] name = "rustc-hash" @@ -13177,13 +13971,22 @@ dependencies = [ "semver 0.9.0", ] +[[package]] +name = "rustc_version" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0dfe2087c51c460008730de8b57e6a320782fbfb312e1f4d520e6c6fae155ee" +dependencies = [ + "semver 0.11.0", +] + [[package]] name = "rustc_version" version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" dependencies = [ - "semver 1.0.26", + "semver 1.0.27", ] [[package]] @@ -13229,7 +14032,7 @@ version = "0.38.44" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.10.0", "errno", "libc", "linux-raw-sys 0.4.15", @@ -13238,158 +14041,72 @@ dependencies = [ [[package]] name = "rustix" -version = "1.0.7" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c71e83d6afe7ff64890ec6b71d6a69bb8a610ab78ce364b3352876bb4c801266" +checksum = "146c9e247ccc180c1f61615433868c99f3de3ae256a30a43b49f67c2d9171f34" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.10.0", "errno", "libc", - "linux-raw-sys 0.9.4", - "windows-sys 0.59.0", -] - -[[package]] -name = "rustls" -version = "0.21.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e" -dependencies = [ - "log", - "ring 0.17.14", - "rustls-webpki 0.101.7", - "sct", -] - -[[package]] -name = "rustls" -version = "0.22.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432" -dependencies = [ - "log", - "ring 0.17.14", - "rustls-pki-types", - "rustls-webpki 0.102.8", - "subtle 2.6.1", - "zeroize", + "linux-raw-sys 0.11.0", + "windows-sys 0.61.2", ] [[package]] name = "rustls" -version = "0.23.26" +version = "0.23.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df51b5869f3a441595eac5e8ff14d486ff285f7b8c0df8770e49c3b56351f0f0" +checksum = "533f54bc6a7d4f647e46ad909549eda97bf5afc1585190ef692b4286b198bd8f" dependencies = [ "log", "once_cell", "ring 0.17.14", "rustls-pki-types", - "rustls-webpki 0.103.1", + "rustls-webpki 0.103.8", "subtle 2.6.1", "zeroize", ] [[package]] name = "rustls-native-certs" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" -dependencies = [ - "openssl-probe", - "rustls-pemfile 1.0.4", - "schannel", - "security-framework 2.11.1", -] - -[[package]] -name = "rustls-native-certs" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5bfb394eeed242e909609f56089eecfe5fda225042e8b171791b9c95f5931e5" -dependencies = [ - "openssl-probe", - "rustls-pemfile 2.2.0", - "rustls-pki-types", - "schannel", - "security-framework 2.11.1", -] - -[[package]] -name = "rustls-native-certs" -version = "0.8.1" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fcff2dd52b58a8d98a70243663a0d234c4e2b79235637849d15913394a247d3" +checksum = "9980d917ebb0c0536119ba501e90834767bffc3d60641457fd84a1f3fd337923" dependencies = [ "openssl-probe", "rustls-pki-types", "schannel", - "security-framework 3.2.0", -] - -[[package]] -name = "rustls-pemfile" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" -dependencies = [ - "base64 0.21.7", -] - -[[package]] -name = "rustls-pemfile" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50" -dependencies = [ - "rustls-pki-types", + "security-framework 3.5.1", ] [[package]] name = "rustls-pki-types" -version = "1.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "917ce264624a4b4db1c364dcc35bfca9ded014d0a958cd47ad3e960e988ea51c" - -[[package]] -name = "rustls-platform-verifier" -version = "0.3.4" +version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afbb878bdfdf63a336a5e63561b1835e7a8c91524f51621db870169eac84b490" +checksum = "21e6f2ab2928ca4291b86736a8bd920a277a399bba1589409d72154ff87c1282" dependencies = [ - "core-foundation 0.9.4", - "core-foundation-sys", - "jni 0.19.0", - "log", - "once_cell", - "rustls 0.23.26", - "rustls-native-certs 0.7.3", - "rustls-platform-verifier-android", - "rustls-webpki 0.102.8", - "security-framework 2.11.1", - "security-framework-sys", - "webpki-roots 0.26.10", - "winapi", + "web-time", + "zeroize", ] [[package]] name = "rustls-platform-verifier" -version = "0.5.2" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4937d110d34408e9e5ad30ba0b0ca3b6a8a390f8db3636db60144ac4fa792750" +checksum = "19787cda76408ec5404443dc8b31795c87cd8fec49762dc75fa727740d34acc1" dependencies = [ - "core-foundation 0.10.0", + "core-foundation 0.10.1", "core-foundation-sys", - "jni 0.21.1", + "jni", "log", "once_cell", - "rustls 0.23.26", - "rustls-native-certs 0.8.1", + "rustls", + "rustls-native-certs", "rustls-platform-verifier-android", - "rustls-webpki 0.103.1", - "security-framework 3.2.0", + "rustls-webpki 0.103.8", + "security-framework 3.5.1", "security-framework-sys", - "webpki-root-certs", + "webpki-root-certs 0.26.11", "windows-sys 0.59.0", ] @@ -13411,9 +14128,9 @@ dependencies = [ [[package]] name = "rustls-webpki" -version = "0.102.8" +version = "0.103.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9" +checksum = "2ffdfa2f5286e2247234e03f680868ac2815974dc39e00ea15adc445d0aafe52" dependencies = [ "ring 0.17.14", "rustls-pki-types", @@ -13421,21 +14138,22 @@ dependencies = [ ] [[package]] -name = "rustls-webpki" -version = "0.103.1" +name = "rustversion" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fef8b8769aaccf73098557a87cd1816b4f9c7c16811c9c77142aa695c16f2c03" -dependencies = [ - "ring 0.17.14", - "rustls-pki-types", - "untrusted 0.9.0", -] +checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" [[package]] -name = "rustversion" -version = "1.0.20" +name = "rusty-fork" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2" +checksum = "cc6bf79ff24e648f6da1f8d1f011e9cac26491b619e6b9280f2b47f1774e6ee2" +dependencies = [ + "fnv", + "quick-error", + "tempfile", + "wait-timeout", +] [[package]] name = "ruzstd" @@ -13450,13 +14168,12 @@ dependencies = [ [[package]] name = "ruzstd" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58c4eb8a81997cf040a091d1f7e1938aeab6749d3a0dfa73af43cdc32393483d" +checksum = "5174a470eeb535a721ae9fdd6e291c2411a906b96592182d05217591d5c5cf7b" dependencies = [ "byteorder", "derive_more 0.99.20", - "twox-hash", ] [[package]] @@ -13472,9 +14189,9 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.20" +version = "1.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" +checksum = "62049b2877bf12821e8f9ad256ee38fdc31db7387ec2d3b3f403024de2034aea" [[package]] name = "safe-mix" @@ -13514,8 +14231,8 @@ dependencies = [ [[package]] name = "sc-allocator" -version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "32.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "log", "sp-core", @@ -13525,17 +14242,15 @@ dependencies = [ [[package]] name = "sc-authority-discovery" -version = "0.48.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.51.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "futures 0.3.31", "futures-timer", "ip_network", - "libp2p", "linked_hash_set", "log", - "multihash 0.19.3", "parity-scale-codec", "prost 0.12.6", "prost-build", @@ -13543,6 +14258,8 @@ dependencies = [ "sc-client-api", "sc-network", "sc-network-types", + "serde", + "serde_json", "sp-api", "sp-authority-discovery", "sp-blockchain", @@ -13551,15 +14268,15 @@ dependencies = [ "sp-runtime", "substrate-prometheus-endpoint", "thiserror 1.0.69", + "tokio", ] [[package]] name = "sc-basic-authorship" -version = "0.48.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.50.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "futures 0.3.31", - "futures-timer", "log", "parity-scale-codec", "sc-block-builder", @@ -13577,8 +14294,8 @@ dependencies = [ [[package]] name = "sc-block-builder" -version = "0.43.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.45.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "parity-scale-codec", "sp-api", @@ -13592,13 +14309,12 @@ dependencies = [ [[package]] name = "sc-chain-spec" -version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "44.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "docify", - "log", - "memmap2 0.9.5", + "memmap2 0.9.9", "parity-scale-codec", "sc-chain-spec-derive", "sc-client-api", @@ -13609,7 +14325,7 @@ dependencies = [ "serde_json", "sp-blockchain", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2412)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2506)", "sp-genesis-builder", "sp-io", "sp-runtime", @@ -13620,20 +14336,20 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "sc-cli" -version = "0.50.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.53.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "chrono", "clap", "fdlimit", @@ -13672,14 +14388,14 @@ dependencies = [ [[package]] name = "sc-client-api" -version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "fnv", "futures 0.3.31", "log", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "sc-executor", "sc-transaction-pool-api", "sc-utils", @@ -13691,7 +14407,6 @@ dependencies = [ "sp-externalities", "sp-runtime", "sp-state-machine", - "sp-statement-store", "sp-storage", "sp-trie", "substrate-prometheus-endpoint", @@ -13699,8 +14414,8 @@ dependencies = [ [[package]] name = "sc-client-db" -version = "0.45.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.47.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "hash-db", "kvdb", @@ -13710,7 +14425,7 @@ dependencies = [ "log", "parity-db", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "sc-client-api", "sc-state-db", "schnellru", @@ -13721,23 +14436,24 @@ dependencies = [ "sp-runtime", "sp-state-machine", "sp-trie", + "substrate-prometheus-endpoint", + "sysinfo", ] [[package]] name = "sc-consensus" -version = "0.47.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.50.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "futures 0.3.31", "log", - "mockall 0.11.4", - "parking_lot 0.12.3", + "mockall", + "parking_lot 0.12.5", "sc-client-api", "sc-network-types", "sc-utils", "serde", - "sp-api", "sp-blockchain", "sp-consensus", "sp-core", @@ -13749,8 +14465,8 @@ dependencies = [ [[package]] name = "sc-consensus-aura" -version = "0.48.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.51.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "futures 0.3.31", @@ -13778,8 +14494,8 @@ dependencies = [ [[package]] name = "sc-consensus-babe" -version = "0.48.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.51.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "fork-tree", @@ -13789,7 +14505,7 @@ dependencies = [ "num-rational", "num-traits", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "sc-client-api", "sc-consensus", "sc-consensus-epochs", @@ -13804,7 +14520,7 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-slots", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2412)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2506)", "sp-inherents", "sp-keystore", "sp-runtime", @@ -13814,11 +14530,11 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" -version = "0.48.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.51.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "futures 0.3.31", - "jsonrpsee 0.24.9", + "jsonrpsee", "sc-consensus-babe", "sc-consensus-epochs", "sc-rpc-api", @@ -13836,17 +14552,16 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" -version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "30.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "async-channel 1.9.0", "async-trait", - "fnv", "futures 0.3.31", "log", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "sc-client-api", "sc-consensus", "sc-network", @@ -13861,7 +14576,6 @@ dependencies = [ "sp-consensus", "sp-consensus-beefy", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2412)", "sp-keystore", "sp-runtime", "substrate-prometheus-endpoint", @@ -13872,14 +14586,14 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" -version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "30.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "futures 0.3.31", - "jsonrpsee 0.24.9", + "jsonrpsee", "log", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "sc-consensus-beefy", "sc-rpc", "serde", @@ -13892,8 +14606,8 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" -version = "0.47.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.50.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "fork-tree", "parity-scale-codec", @@ -13905,11 +14619,11 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" -version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.36.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "ahash", - "array-bytes", + "array-bytes 6.2.3", "async-trait", "dyn-clone", "finality-grandpa", @@ -13918,7 +14632,7 @@ dependencies = [ "futures-timer", "log", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "rand 0.8.5", "sc-block-builder", "sc-chain-spec", @@ -13940,7 +14654,7 @@ dependencies = [ "sp-consensus", "sp-consensus-grandpa", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2412)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2506)", "sp-keystore", "sp-runtime", "substrate-prometheus-endpoint", @@ -13949,12 +14663,12 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" -version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.36.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "finality-grandpa", "futures 0.3.31", - "jsonrpsee 0.24.9", + "jsonrpsee", "log", "parity-scale-codec", "sc-client-api", @@ -13969,14 +14683,14 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" -version = "0.49.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.52.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "assert_matches", "async-trait", "futures 0.3.31", "futures-timer", - "jsonrpsee 0.24.9", + "jsonrpsee", "log", "parity-scale-codec", "sc-client-api", @@ -14004,8 +14718,8 @@ dependencies = [ [[package]] name = "sc-consensus-slots" -version = "0.47.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.50.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "futures 0.3.31", @@ -14027,11 +14741,11 @@ dependencies = [ [[package]] name = "sc-executor" -version = "0.41.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.43.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "sc-executor-common", "sc-executor-polkavm", "sc-executor-wasmtime", @@ -14050,10 +14764,10 @@ dependencies = [ [[package]] name = "sc-executor-common" -version = "0.36.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.39.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "polkavm", + "polkavm 0.24.0", "sc-allocator", "sp-maybe-compressed-blob", "sp-wasm-interface", @@ -14063,25 +14777,23 @@ dependencies = [ [[package]] name = "sc-executor-polkavm" -version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.36.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "log", - "polkavm", + "polkavm 0.24.0", "sc-executor-common", "sp-wasm-interface", ] [[package]] name = "sc-executor-wasmtime" -version = "0.36.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.39.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "anyhow", - "cfg-if", - "libc", "log", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "rustix 0.36.17", "sc-allocator", "sc-executor-common", @@ -14092,8 +14804,8 @@ dependencies = [ [[package]] name = "sc-informant" -version = "0.47.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.50.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "console", "futures 0.3.31", @@ -14101,7 +14813,6 @@ dependencies = [ "log", "sc-client-api", "sc-network", - "sc-network-common", "sc-network-sync", "sp-blockchain", "sp-runtime", @@ -14109,11 +14820,11 @@ dependencies = [ [[package]] name = "sc-keystore" -version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "36.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "array-bytes", - "parking_lot 0.12.3", + "array-bytes 6.2.3", + "parking_lot 0.12.5", "serde_json", "sp-application-crypto", "sp-core", @@ -14123,10 +14834,10 @@ dependencies = [ [[package]] name = "sc-mixnet" -version = "0.18.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.21.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "arrayvec 0.7.6", "blake2 0.10.6", "bytes", @@ -14134,9 +14845,8 @@ dependencies = [ "futures-timer", "log", "mixnet", - "multiaddr 0.18.2", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "sc-client-api", "sc-network", "sc-network-types", @@ -14152,13 +14862,13 @@ dependencies = [ [[package]] name = "sc-network" -version = "0.48.4" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.51.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "async-channel 1.9.0", "async-trait", - "asynchronous-codec", + "asynchronous-codec 0.6.2", "bytes", "cid 0.9.0", "either", @@ -14170,10 +14880,9 @@ dependencies = [ "linked_hash_set", "litep2p", "log", - "mockall 0.11.4", - "once_cell", + "mockall", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "partial_sort", "pin-project", "prost 0.12.6", @@ -14203,26 +14912,18 @@ dependencies = [ [[package]] name = "sc-network-common" -version = "0.47.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.49.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "async-trait", "bitflags 1.3.2", - "futures 0.3.31", - "libp2p-identity", "parity-scale-codec", - "prost-build", - "sc-consensus", - "sc-network-types", - "sp-consensus", - "sp-consensus-grandpa", "sp-runtime", ] [[package]] name = "sc-network-gossip" -version = "0.48.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.51.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "ahash", "futures 0.3.31", @@ -14240,10 +14941,10 @@ dependencies = [ [[package]] name = "sc-network-light" -version = "0.47.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.50.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "async-channel 1.9.0", "futures 0.3.31", "log", @@ -14261,17 +14962,16 @@ dependencies = [ [[package]] name = "sc-network-sync" -version = "0.47.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.50.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "async-channel 1.9.0", "async-trait", "fork-tree", "futures 0.3.31", - "futures-timer", "log", - "mockall 0.11.4", + "mockall", "parity-scale-codec", "prost 0.12.6", "prost-build", @@ -14297,10 +14997,10 @@ dependencies = [ [[package]] name = "sc-network-transactions" -version = "0.47.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.50.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "futures 0.3.31", "log", "parity-scale-codec", @@ -14316,45 +15016,46 @@ dependencies = [ [[package]] name = "sc-network-types" -version = "0.15.2" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.17.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "bs58", + "bytes", "ed25519-dalek", "libp2p-identity", + "libp2p-kad", "litep2p", "log", "multiaddr 0.18.2", "multihash 0.19.3", "rand 0.8.5", + "serde", + "serde_with", "thiserror 1.0.69", "zeroize", ] [[package]] name = "sc-offchain" -version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "46.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "array-bytes", "bytes", "fnv", "futures 0.3.31", "futures-timer", "http-body-util", - "hyper 1.6.0", - "hyper-rustls 0.27.5", + "hyper 1.8.1", + "hyper-rustls", "hyper-util", - "log", "num_cpus", "once_cell", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "rand 0.8.5", - "rustls 0.23.26", + "rustls", "sc-client-api", "sc-network", - "sc-network-common", "sc-network-types", "sc-transaction-pool-api", "sc-utils", @@ -14370,8 +15071,8 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" -version = "0.18.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.20.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -14379,14 +15080,14 @@ dependencies = [ [[package]] name = "sc-rpc" -version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "46.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "futures 0.3.31", - "jsonrpsee 0.24.9", + "jsonrpsee", "log", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "sc-block-builder", "sc-chain-spec", "sc-client-api", @@ -14411,10 +15112,10 @@ dependencies = [ [[package]] name = "sc-rpc-api" -version = "0.47.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.50.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "jsonrpsee 0.24.9", + "jsonrpsee", "parity-scale-codec", "sc-chain-spec", "sc-mixnet", @@ -14431,18 +15132,18 @@ dependencies = [ [[package]] name = "sc-rpc-server" -version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "dyn-clone", "forwarded-header-value", "futures 0.3.31", "governor", - "http 1.3.1", + "http 1.4.0", "http-body-util", - "hyper 1.6.0", + "hyper 1.8.1", "ip_network", - "jsonrpsee 0.24.9", + "jsonrpsee", "log", "sc-rpc-api", "serde", @@ -14455,18 +15156,18 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" -version = "0.48.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.51.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "futures 0.3.31", "futures-util", "hex", "itertools 0.11.0", - "jsonrpsee 0.24.9", + "jsonrpsee", "log", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "rand 0.8.5", "sc-chain-spec", "sc-client-api", @@ -14480,25 +15181,41 @@ dependencies = [ "sp-rpc", "sp-runtime", "sp-version", + "substrate-prometheus-endpoint", "thiserror 1.0.69", "tokio", "tokio-stream", ] +[[package]] +name = "sc-runtime-utilities" +version = "0.3.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" +dependencies = [ + "parity-scale-codec", + "sc-executor", + "sc-executor-common", + "sp-core", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2506)", + "sp-state-machine", + "sp-wasm-interface", + "thiserror 1.0.69", +] + [[package]] name = "sc-service" -version = "0.49.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.52.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "directories", "exit-future", "futures 0.3.31", "futures-timer", - "jsonrpsee 0.24.9", + "jsonrpsee", "log", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "pin-project", "rand 0.8.5", "sc-chain-spec", @@ -14551,19 +15268,19 @@ dependencies = [ [[package]] name = "sc-state-db" -version = "0.37.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.39.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "log", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "sp-core", ] [[package]] name = "sc-storage-monitor" -version = "0.23.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.25.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "clap", "fs4", @@ -14575,10 +15292,10 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" -version = "0.48.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.51.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "jsonrpsee 0.24.9", + "jsonrpsee", "parity-scale-codec", "sc-chain-spec", "sc-client-api", @@ -14594,8 +15311,8 @@ dependencies = [ [[package]] name = "sc-sysinfo" -version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "43.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "derive_more 0.99.20", "futures 0.3.31", @@ -14608,24 +15325,22 @@ dependencies = [ "serde", "serde_json", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2412)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2506)", "sp-io", - "sp-std", ] [[package]] name = "sc-telemetry" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "chrono", "futures 0.3.31", "libp2p", "log", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "pin-project", "rand 0.8.5", - "sc-network", "sc-utils", "serde", "serde_json", @@ -14635,16 +15350,17 @@ dependencies = [ [[package]] name = "sc-tracing" -version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "40.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "chrono", "console", + "frame-metadata 23.0.1", "is-terminal", "libc", "log", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "rustc-hash 1.1.0", "sc-client-api", "sc-tracing-proc-macro", @@ -14655,6 +15371,7 @@ dependencies = [ "sp-rpc", "sp-runtime", "sp-tracing", + "sp-trie", "thiserror 1.0.69", "tracing", "tracing-log", @@ -14663,29 +15380,28 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" -version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "11.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "sc-transaction-pool" -version = "38.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "40.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "futures 0.3.31", "futures-timer", - "indexmap 2.9.0", + "indexmap 2.12.1", "itertools 0.11.0", "linked-hash-map", - "log", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "sc-client-api", "sc-transaction-pool-api", "sc-utils", @@ -14693,7 +15409,7 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2412)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2506)", "sp-runtime", "sp-tracing", "sp-transaction-pool", @@ -14701,15 +15417,17 @@ dependencies = [ "thiserror 1.0.69", "tokio", "tokio-stream", + "tracing", ] [[package]] name = "sc-transaction-pool-api" -version = "38.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "futures 0.3.31", + "indexmap 2.12.1", "log", "parity-scale-codec", "serde", @@ -14721,23 +15439,23 @@ dependencies = [ [[package]] name = "sc-utils" -version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "19.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-channel 1.9.0", "futures 0.3.31", "futures-timer", "log", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "prometheus", "sp-arithmetic", ] [[package]] name = "scale-bits" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e57b1e7f6b65ed1f04e79a85a57d755ad56d76fdf1e9bddcc9ae14f71fcdcf54" +checksum = "27243ab0d2d6235072b017839c5f0cd1a3b1ce45c0f7a715363b0c7d36c76c94" dependencies = [ "parity-scale-codec", "scale-info", @@ -14747,57 +15465,57 @@ dependencies = [ [[package]] name = "scale-decode" -version = "0.13.1" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e98f3262c250d90e700bb802eb704e1f841e03331c2eb815e46516c4edbf5b27" +checksum = "8d6ed61699ad4d54101ab5a817169259b5b0efc08152f8632e61482d8a27ca3d" dependencies = [ - "derive_more 0.99.20", "parity-scale-codec", - "primitive-types 0.12.2", + "primitive-types 0.13.1", "scale-bits", "scale-decode-derive", "scale-type-resolver", "smallvec", + "thiserror 2.0.17", ] [[package]] name = "scale-decode-derive" -version = "0.13.1" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bb22f574168103cdd3133b19281639ca65ad985e24612728f727339dcaf4021" +checksum = "65cb245f7fdb489e7ba43a616cbd34427fe3ba6fe0edc1d0d250085e6c84f3ec" dependencies = [ - "darling 0.14.4", + "darling 0.20.11", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.111", ] [[package]] name = "scale-encode" -version = "0.7.2" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "528464e6ae6c8f98e2b79633bf79ef939552e795e316579dab09c61670d56602" +checksum = "f2a976d73564a59e482b74fd5d95f7518b79ca8c8ca5865398a4d629dd15ee50" dependencies = [ - "derive_more 0.99.20", "parity-scale-codec", - "primitive-types 0.12.2", + "primitive-types 0.13.1", "scale-bits", "scale-encode-derive", "scale-type-resolver", "smallvec", + "thiserror 2.0.17", ] [[package]] name = "scale-encode-derive" -version = "0.7.2" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef2618f123c88da9cd8853b69d766068f1eddc7692146d7dfe9b89e25ce2efd" +checksum = "17020f2d59baabf2ddcdc20a4e567f8210baf089b8a8d4785f5fd5e716f92038" dependencies = [ "darling 0.20.11", - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -14820,10 +15538,10 @@ version = "2.11.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c6630024bf739e2179b91fb424b28898baf819414262c5d376677dbff1fe7ebf" dependencies = [ - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -14838,45 +15556,43 @@ dependencies = [ [[package]] name = "scale-typegen" -version = "0.8.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "498d1aecf2ea61325d4511787c115791639c0fd21ef4f8e11e49dd09eff2bbac" +checksum = "05c61b6b706a3eaad63b506ab50a1d2319f817ae01cf753adcc3f055f9f0fcd6" dependencies = [ "proc-macro2", "quote", "scale-info", - "syn 2.0.101", - "thiserror 1.0.69", + "syn 2.0.111", + "thiserror 2.0.17", ] [[package]] name = "scale-value" -version = "0.16.3" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cd6ab090d823e75cfdb258aad5fe92e13f2af7d04b43a55d607d25fcc38c811" +checksum = "884aab179aba344c67ddcd1d7dd8e3f8fee202f2e570d97ec34ec8688442a5b3" dependencies = [ "base58", "blake2 0.10.6", - "derive_more 0.99.20", "either", - "frame-metadata 15.1.0", "parity-scale-codec", "scale-bits", "scale-decode", "scale-encode", - "scale-info", "scale-type-resolver", "serde", + "thiserror 2.0.17", "yap", ] [[package]] name = "schannel" -version = "0.1.27" +version = "0.1.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f29ebaa345f945cec9fbbc532eb307f0fdad8161f281b6369539c8d84876b3d" +checksum = "891d81b926048e76efe18581bf793546b4c0eaf8448d72be8de2bbee5fd166e1" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -14908,9 +15624,9 @@ dependencies = [ [[package]] name = "schnorrkel" -version = "0.11.4" +version = "0.11.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8de18f6d8ba0aad7045f5feae07ec29899c1112584a38509a84ad7b04451eaa0" +checksum = "6e9fcb6c2e176e86ec703e22560d99d65a5ee9056ae45a08e13e84ebf796296f" dependencies = [ "aead", "arrayref", @@ -14933,9 +15649,9 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "scratch" -version = "1.0.8" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f6280af86e5f559536da57a45ebc84948833b3bee313a7dd25232e09c878a52" +checksum = "d68f2ec51b097e4c1a75b681a8bec621909b5e91f15bb7b840c4f2f7b01148b2" [[package]] name = "scrypt" @@ -14950,13 +15666,15 @@ dependencies = [ ] [[package]] -name = "sct" -version = "0.7.1" +name = "scrypt" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" +checksum = "0516a385866c09368f0b5bcd1caff3366aace790fcd46e2bb032697bb172fd1f" dependencies = [ - "ring 0.17.14", - "untrusted 0.9.0", + "password-hash", + "pbkdf2 0.12.2", + "salsa20", + "sha2 0.10.9", ] [[package]] @@ -14989,7 +15707,7 @@ version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "25996b82292a7a57ed3508f052cfff8640d38d32018784acd714758b43da9c8f" dependencies = [ - "secp256k1-sys 0.8.1", + "secp256k1-sys 0.8.2", ] [[package]] @@ -15001,11 +15719,22 @@ 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.1", + "rand 0.8.5", + "secp256k1-sys 0.10.1", +] + [[package]] name = "secp256k1-sys" -version = "0.8.1" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70a129b9e9efbfb223753b9163c4ab3b13cff7fd9c7f010fbac25ab4099fa07e" +checksum = "4473013577ec77b4ee3668179ef1186df3146e2cf2d927bd200974c6fe60fd99" dependencies = [ "cc", ] @@ -15019,6 +15748,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" @@ -15028,28 +15766,36 @@ 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" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.10.0", "core-foundation 0.9.4", "core-foundation-sys", "libc", - "num-bigint", "security-framework-sys", ] [[package]] name = "security-framework" -version = "3.2.0" +version = "3.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "271720403f46ca04f7ba6f55d438f8bd878d6b8ca0a1046e8228c4145bcbb316" +checksum = "b3297343eaf830f66ede390ea39da1d462b6b0c1b000f420d0a83f898bbbe6ef" dependencies = [ - "bitflags 2.9.0", - "core-foundation 0.10.0", + "bitflags 2.10.0", + "core-foundation 0.10.1", "core-foundation-sys", "libc", "security-framework-sys", @@ -15057,9 +15803,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.14.0" +version = "2.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49db231d56a190491cb4aeda9527f1ad45345af50b0851622a7adb8c03b01c32" +checksum = "cc1f0cbffaac4852523ce30d8bd3c5cdc873501d96ff467ca09b6767bb8cd5c0" dependencies = [ "core-foundation-sys", "libc", @@ -15071,7 +15817,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a3186ec9e65071a2095434b1f5bb24838d4e8e130f584c790f6033c79943537" dependencies = [ - "semver-parser", + "semver-parser 0.7.0", ] [[package]] @@ -15080,16 +15826,26 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" dependencies = [ - "semver-parser", + "semver-parser 0.7.0", ] [[package]] name = "semver" -version = "1.0.26" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6" +dependencies = [ + "semver-parser 0.10.3", +] + +[[package]] +name = "semver" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0" +checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2" dependencies = [ "serde", + "serde_core", ] [[package]] @@ -15098,6 +15854,15 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" +[[package]] +name = "semver-parser" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9900206b54a3527fdc7b8a938bffd94a568bac4f4aa8113b209df75a09c0dec2" +dependencies = [ + "pest", +] + [[package]] name = "send_wrapper" version = "0.4.0" @@ -15112,50 +15877,62 @@ checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" [[package]] name = "serde" -version = "1.0.219" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" +checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" dependencies = [ + "serde_core", "serde_derive", ] [[package]] name = "serde_bytes" -version = "0.11.17" +version = "0.11.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8437fd221bde2d4ca316d61b90e337e9e702b3820b87d63caa9ba6c02bd06d96" +checksum = "a5d440709e79d88e51ac01c4b72fc6cb7314017bb7da9eeff678aa94c10e3ea8" dependencies = [ "serde", + "serde_core", +] + +[[package]] +name = "serde_core" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" +dependencies = [ + "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.219" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "serde_json" -version = "1.0.140" +version = "1.0.146" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" +checksum = "217ca874ae0207aac254aa02c957ded05585a90892cc8d87f9e5fa49669dadd8" dependencies = [ "itoa", "memchr", "ryu", "serde", + "serde_core", ] [[package]] name = "serde_spanned" -version = "0.6.8" +version = "0.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87607cb1398ed59d48732e575a4c28a7a8ebf2454b964fe3f224f2afc07909e1" +checksum = "bf41e0cfaf7226dca15e8197172c295a782857fcb97fad1808a166870dee75a3" dependencies = [ "serde", ] @@ -15172,6 +15949,33 @@ dependencies = [ "serde", ] +[[package]] +name = "serde_with" +version = "3.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fa237f2807440d238e0364a218270b98f767a00d3dada77b1c53ae88940e2e7" +dependencies = [ + "base64 0.22.1", + "chrono", + "hex", + "serde_core", + "serde_json", + "serde_with_macros", + "time", +] + +[[package]] +name = "serde_with_macros" +version = "3.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52a8e3ca0ca629121f70ab50f95249e5a6f925cc0f6ffe8256c45b728875706c" +dependencies = [ + "darling 0.21.3", + "proc-macro2", + "quote", + "syn 2.0.111", +] + [[package]] name = "serdect" version = "0.2.0" @@ -15240,6 +16044,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" @@ -15253,7 +16067,7 @@ dependencies = [ name = "shibuya-runtime" version = "19.0.0" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "astar-primitives", "astar-xcm-benchmarks", "cumulus-pallet-aura-ext", @@ -15264,6 +16078,7 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", "dapp-staking-runtime-api", + "ethereum", "fp-evm", "fp-rpc", "fp-self-contained", @@ -15377,7 +16192,7 @@ dependencies = [ name = "shiden-runtime" version = "19.0.0" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "astar-primitives", "astar-xcm-benchmarks", "cumulus-pallet-aura-ext", @@ -15388,6 +16203,7 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", "dapp-staking-runtime-api", + "ethereum", "fp-evm", "fp-rpc", "fp-self-contained", @@ -15492,9 +16308,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "signal-hook-registry" -version = "1.4.5" +version = "1.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9203b8055f63a2a00e2f593bb0510367fe707d7ff1e5c872de2f537b339e5410" +checksum = "7664a098b8e616bdfcc2dc0e9ac44eb231eedf41db4e9fe95d8d32ec728dedad" dependencies = [ "libc", ] @@ -15511,9 +16327,9 @@ dependencies = [ [[package]] name = "simba" -version = "0.9.0" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3a386a501cd104797982c15ae17aafe8b9261315b5d07e3ec803f2ea26be0fa" +checksum = "c99284beb21666094ba2b75bbceda012e610f5479dfcc2d6e2426f53197ffd95" dependencies = [ "approx", "num-complex", @@ -15548,7 +16364,7 @@ version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dee851d0e5e7af3721faea1843e8015e820a234f81fda3dea9247e15bac9a86a" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.10.0", ] [[package]] @@ -15565,7 +16381,7 @@ checksum = "297f631f50729c8c99b84667867963997ec0b50f32b2a7dbcab828ef0541e8bb" dependencies = [ "num-bigint", "num-traits", - "thiserror 2.0.12", + "thiserror 2.0.17", "time", ] @@ -15583,12 +16399,9 @@ checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d" [[package]] name = "slab" -version = "0.4.9" +version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" -dependencies = [ - "autocfg", -] +checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" [[package]] name = "slice-group-by" @@ -15610,8 +16423,8 @@ dependencies = [ [[package]] name = "slot-range-helper" -version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "enumn", "parity-scale-codec", @@ -15621,18 +16434,18 @@ dependencies = [ [[package]] name = "slotmap" -version = "1.0.7" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbff4acf519f630b3a3ddcfaea6c06b42174d9a44bc70c620e9ed1649d58b82a" +checksum = "bdd58c3c93c3d278ca835519292445cb4b0d4dc59ccfdf7ceadaab3f8aeb4038" dependencies = [ "version_check", ] [[package]] name = "smallvec" -version = "1.15.0" +version = "1.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8917285742e9f3e1683f0a9c4e6b57960b7314d0b08d30d1ecd426713ee2eee9" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" [[package]] name = "smol" @@ -15657,15 +16470,15 @@ version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a33bd3e260892199c3ccfc487c88b2da2265080acb316cd920da72fdfd7c599f" dependencies = [ - "async-channel 2.3.1", + "async-channel 2.5.0", "async-executor", - "async-fs 2.1.2", - "async-io 2.4.0", - "async-lock 3.4.0", + "async-fs 2.2.0", + "async-io 2.6.0", + "async-lock 3.4.2", "async-net 2.0.0", - "async-process 2.3.0", + "async-process 2.5.0", "blocking", - "futures-lite 2.6.0", + "futures-lite 2.6.1", ] [[package]] @@ -15724,14 +16537,14 @@ dependencies = [ [[package]] name = "smoldot" -version = "0.16.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6d1eaa97d77be4d026a1e7ffad1bb3b78448763b357ea6f8188d3e6f736a9b9" +checksum = "966e72d77a3b2171bb7461d0cb91f43670c63558c62d7cf42809cae6c8b6b818" dependencies = [ "arrayvec 0.7.6", - "async-lock 3.4.0", + "async-lock 3.4.2", "atomic-take", - "base64 0.21.7", + "base64 0.22.1", "bip39", "blake2-rfc", "bs58", @@ -15740,18 +16553,17 @@ dependencies = [ "derive_more 0.99.20", "ed25519-zebra", "either", - "event-listener 4.0.3", + "event-listener 5.4.1", "fnv", - "futures-lite 2.6.0", + "futures-lite 2.6.1", "futures-util", "hashbrown 0.14.5", "hex", "hmac 0.12.1", - "itertools 0.12.1", + "itertools 0.13.0", "libm", "libsecp256k1", "merlin", - "no-std-net", "nom", "num-bigint", "num-rational", @@ -15761,8 +16573,8 @@ dependencies = [ "poly1305", "rand 0.8.5", "rand_chacha 0.3.1", - "ruzstd 0.5.0", - "schnorrkel 0.11.4", + "ruzstd 0.6.0", + "schnorrkel 0.11.5", "serde", "serde_json", "sha2 0.10.9", @@ -15770,9 +16582,9 @@ dependencies = [ "siphasher 1.0.1", "slab", "smallvec", - "soketto 0.7.1", + "soketto 0.8.1", "twox-hash", - "wasmi 0.31.2", + "wasmi 0.32.3", "x25519-dalek", "zeroize", ] @@ -15800,7 +16612,7 @@ dependencies = [ "log", "lru 0.11.1", "no-std-net", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "pin-project", "rand 0.8.5", "rand_chacha 0.3.1", @@ -15815,28 +16627,28 @@ dependencies = [ [[package]] name = "smoldot-light" -version = "0.14.0" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5496f2d116b7019a526b1039ec2247dd172b8670633b1a64a614c9ea12c9d8c7" +checksum = "2a33b06891f687909632ce6a4e3fd7677b24df930365af3d0bcb078310129f3f" dependencies = [ - "async-channel 2.3.1", - "async-lock 3.4.0", - "base64 0.21.7", + "async-channel 2.5.0", + "async-lock 3.4.2", + "base64 0.22.1", "blake2-rfc", + "bs58", "derive_more 0.99.20", "either", - "event-listener 4.0.3", + "event-listener 5.4.1", "fnv", "futures-channel", - "futures-lite 2.6.0", + "futures-lite 2.6.1", "futures-util", "hashbrown 0.14.5", "hex", - "itertools 0.12.1", + "itertools 0.13.0", "log", "lru 0.12.5", - "no-std-net", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "pin-project", "rand 0.8.5", "rand_chacha 0.3.1", @@ -15845,7 +16657,7 @@ dependencies = [ "siphasher 1.0.1", "slab", "smol 2.0.2", - "smoldot 0.16.0", + "smoldot 0.18.0", "zeroize", ] @@ -15884,14 +16696,24 @@ dependencies = [ [[package]] name = "socket2" -version = "0.5.9" +version = "0.5.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f5fd57c80058a56cf5c777ab8a126398ece8e442983605d280a44ce79d0edef" +checksum = "e22376abed350d73dd1cd119b57ffccad95b4e585a7cda43e286245ce23c0678" dependencies = [ "libc", "windows-sys 0.52.0", ] +[[package]] +name = "socket2" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17129e116933cf371d018bb80ae557e889637989d8638274fb25622827b03881" +dependencies = [ + "libc", + "windows-sys 0.60.2", +] + [[package]] name = "soketto" version = "0.7.1" @@ -15916,7 +16738,7 @@ dependencies = [ "base64 0.22.1", "bytes", "futures 0.3.31", - "http 1.3.1", + "http 1.4.0", "httparse", "log", "rand 0.8.5", @@ -15925,8 +16747,8 @@ dependencies = [ [[package]] name = "sp-api" -version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "docify", "hash-db", @@ -15947,22 +16769,22 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" -version = "21.0.2" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "Inflector", "blake2 0.10.6", "expander", - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "sp-application-crypto" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "parity-scale-codec", "scale-info", @@ -15973,8 +16795,8 @@ dependencies = [ [[package]] name = "sp-arithmetic" -version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "docify", "integer-sqrt", @@ -15987,8 +16809,8 @@ dependencies = [ [[package]] name = "sp-authority-discovery" -version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "parity-scale-codec", "scale-info", @@ -15999,8 +16821,8 @@ dependencies = [ [[package]] name = "sp-block-builder" -version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "sp-api", "sp-inherents", @@ -16009,12 +16831,12 @@ dependencies = [ [[package]] name = "sp-blockchain" -version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "futures 0.3.31", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "schnellru", "sp-api", "sp-consensus", @@ -16028,13 +16850,12 @@ dependencies = [ [[package]] name = "sp-consensus" -version = "0.41.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.43.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "futures 0.3.31", "log", - "sp-core", "sp-inherents", "sp-runtime", "sp-state-machine", @@ -16043,8 +16864,8 @@ dependencies = [ [[package]] name = "sp-consensus-aura" -version = "0.41.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.43.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "parity-scale-codec", @@ -16059,8 +16880,8 @@ dependencies = [ [[package]] name = "sp-consensus-babe" -version = "0.41.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.43.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "parity-scale-codec", @@ -16077,8 +16898,8 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" -version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "25.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "parity-scale-codec", "scale-info", @@ -16086,7 +16907,7 @@ dependencies = [ "sp-api", "sp-application-crypto", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2412)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2506)", "sp-io", "sp-keystore", "sp-mmr-primitives", @@ -16097,8 +16918,8 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" -version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "finality-grandpa", "log", @@ -16114,8 +16935,8 @@ dependencies = [ [[package]] name = "sp-consensus-slots" -version = "0.41.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.43.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "parity-scale-codec", "scale-info", @@ -16125,15 +16946,16 @@ dependencies = [ [[package]] name = "sp-core" -version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "array-bytes", + "ark-vrf", + "array-bytes 6.2.3", "bitflags 1.3.2", "blake2 0.10.6", "bounded-collections", "bs58", - "dyn-clonable", + "dyn-clone", "ed25519-zebra", "futures 0.3.31", "hash-db", @@ -16146,16 +16968,17 @@ dependencies = [ "merlin", "parity-bip39", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "paste", "primitive-types 0.13.1", "rand 0.8.5", "scale-info", - "schnorrkel 0.11.4", + "schnorrkel 0.11.5", "secp256k1 0.28.2", - "secrecy", + "secrecy 0.8.0", "serde", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2412)", + "sha2 0.10.9", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2506)", "sp-debug-derive", "sp-externalities", "sp-runtime-interface", @@ -16186,7 +17009,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "blake2b_simd", "byteorder", @@ -16199,36 +17022,36 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "quote", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2412)", - "syn 2.0.101", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2506)", + "syn 2.0.111", ] [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "kvdb", - "parking_lot 0.12.3", + "parking_lot 0.12.5", ] [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "sp-externalities" version = "0.30.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "environmental", "parity-scale-codec", @@ -16237,8 +17060,8 @@ dependencies = [ [[package]] name = "sp-genesis-builder" -version = "0.16.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.18.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "parity-scale-codec", "scale-info", @@ -16249,8 +17072,8 @@ dependencies = [ [[package]] name = "sp-inherents" -version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -16262,8 +17085,8 @@ dependencies = [ [[package]] name = "sp-io" -version = "39.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "41.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "bytes", "docify", @@ -16271,11 +17094,11 @@ dependencies = [ "libsecp256k1", "log", "parity-scale-codec", - "polkavm-derive", + "polkavm-derive 0.24.0", "rustversion", "secp256k1 0.28.2", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2412)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2506)", "sp-externalities", "sp-keystore", "sp-runtime-interface", @@ -16288,8 +17111,8 @@ dependencies = [ [[package]] name = "sp-keyring" -version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "42.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "sp-core", "sp-runtime", @@ -16298,11 +17121,11 @@ dependencies = [ [[package]] name = "sp-keystore" -version = "0.41.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.43.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "sp-core", "sp-externalities", ] @@ -16310,7 +17133,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "thiserror 1.0.69", "zstd 0.12.4", @@ -16318,18 +17141,18 @@ dependencies = [ [[package]] name = "sp-metadata-ir" -version = "0.8.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.11.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "frame-metadata 18.0.0", + "frame-metadata 23.0.1", "parity-scale-codec", "scale-info", ] [[package]] name = "sp-mixnet" -version = "0.13.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.15.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "parity-scale-codec", "scale-info", @@ -16339,8 +17162,8 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" -version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "log", "parity-scale-codec", @@ -16356,8 +17179,8 @@ dependencies = [ [[package]] name = "sp-npos-elections" -version = "35.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "parity-scale-codec", "scale-info", @@ -16369,8 +17192,8 @@ dependencies = [ [[package]] name = "sp-offchain" -version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "sp-api", "sp-core", @@ -16379,8 +17202,8 @@ dependencies = [ [[package]] name = "sp-panic-handler" -version = "13.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "13.0.2" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "backtrace", "regex", @@ -16388,8 +17211,8 @@ dependencies = [ [[package]] name = "sp-rpc" -version = "33.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "35.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "rustc-hash 1.1.0", "serde", @@ -16398,8 +17221,8 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "40.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "42.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "binary-merkle-tree", "docify", @@ -16427,13 +17250,13 @@ dependencies = [ [[package]] name = "sp-runtime-interface" -version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "30.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", - "polkavm-derive", + "polkavm-derive 0.24.0", "primitive-types 0.13.1", "sp-externalities", "sp-runtime-interface-proc-macro", @@ -16446,21 +17269,21 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" -version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "19.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "Inflector", "expander", - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "sp-session" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "39.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "parity-scale-codec", "scale-info", @@ -16473,8 +17296,8 @@ dependencies = [ [[package]] name = "sp-staking" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "39.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -16486,13 +17309,13 @@ dependencies = [ [[package]] name = "sp-state-machine" -version = "0.44.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.46.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "hash-db", "log", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "rand 0.8.5", "smallvec", "sp-core", @@ -16506,8 +17329,8 @@ dependencies = [ [[package]] name = "sp-statement-store" -version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "21.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "aes-gcm", "curve25519-dalek", @@ -16520,7 +17343,7 @@ dependencies = [ "sp-api", "sp-application-crypto", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2412)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2506)", "sp-externalities", "sp-runtime", "sp-runtime-interface", @@ -16531,12 +17354,12 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" [[package]] name = "sp-storage" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "impl-serde 0.5.0", "parity-scale-codec", @@ -16547,8 +17370,8 @@ dependencies = [ [[package]] name = "sp-timestamp" -version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "parity-scale-codec", @@ -16559,8 +17382,8 @@ dependencies = [ [[package]] name = "sp-tracing" -version = "17.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "17.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "parity-scale-codec", "tracing", @@ -16570,8 +17393,8 @@ dependencies = [ [[package]] name = "sp-transaction-pool" -version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "sp-api", "sp-runtime", @@ -16579,8 +17402,8 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" -version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "async-trait", "parity-scale-codec", @@ -16593,20 +17416,23 @@ dependencies = [ [[package]] name = "sp-trie" -version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "ahash", + "foldhash 0.1.5", "hash-db", + "hashbrown 0.15.5", "memory-db", "nohash-hasher", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "rand 0.8.5", "scale-info", "schnellru", "sp-core", "sp-externalities", + "substrate-prometheus-endpoint", "thiserror 1.0.69", "tracing", "trie-db", @@ -16615,8 +17441,8 @@ dependencies = [ [[package]] name = "sp-version" -version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "impl-serde 0.5.0", "parity-scale-codec", @@ -16633,19 +17459,19 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "parity-scale-codec", - "proc-macro-warning 1.84.1", + "proc-macro-warning", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "sp-wasm-interface" -version = "21.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "22.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -16656,8 +17482,8 @@ dependencies = [ [[package]] name = "sp-weights" -version = "31.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "32.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -16744,7 +17570,7 @@ dependencies = [ "futures-util", "hashlink", "hex", - "indexmap 2.9.0", + "indexmap 2.12.1", "log", "memchr", "native-tls", @@ -16839,14 +17665,14 @@ dependencies = [ [[package]] name = "stable_deref_trait" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" [[package]] name = "staging-parachain-info" -version = "0.18.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.21.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -16858,12 +17684,12 @@ dependencies = [ [[package]] name = "staging-xcm" -version = "15.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "bounded-collections", - "derivative", + "derive-where", "environmental", "frame-support", "hex-literal", @@ -16879,30 +17705,32 @@ dependencies = [ [[package]] name = "staging-xcm-builder" -version = "18.2.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "21.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ + "environmental", "frame-support", "frame-system", "impl-trait-for-tuples", - "log", "pallet-asset-conversion", "pallet-transaction-payment", "parity-scale-codec", "polkadot-parachain-primitives", "scale-info", "sp-arithmetic", + "sp-core", "sp-io", "sp-runtime", "sp-weights", "staging-xcm", "staging-xcm-executor", + "tracing", ] [[package]] name = "staging-xcm-executor" -version = "18.0.3" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "20.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "environmental", "frame-benchmarking", @@ -16927,15 +17755,15 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "static_init" -version = "1.0.3" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a2a1c578e98c1c16fc3b8ec1328f7659a500737d7a0c6d625e73e830ff9c1f6" +checksum = "8bae1df58c5fea7502e8e352ec26b5579f6178e1fdb311e088580c980dee25ed" dependencies = [ "bitflags 1.3.2", - "cfg_aliases 0.1.1", + "cfg_aliases 0.2.1", "libc", - "parking_lot 0.11.2", - "parking_lot_core 0.8.6", + "parking_lot 0.12.5", + "parking_lot_core 0.9.12", "static_init_macro", "winapi", ] @@ -16964,12 +17792,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" @@ -17014,17 +17836,17 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "substrate-bip39" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "hmac 0.12.1", "pbkdf2 0.12.2", - "schnorrkel 0.11.4", + "schnorrkel 0.11.5", "sha2 0.10.9", "zeroize", ] @@ -17045,17 +17867,17 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" [[package]] name = "substrate-frame-rpc-system" -version = "42.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "45.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "docify", "frame-system-rpc-runtime-api", "futures 0.3.31", - "jsonrpsee 0.24.9", + "jsonrpsee", "log", "parity-scale-codec", "sc-rpc-api", @@ -17069,11 +17891,11 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" -version = "0.17.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.17.6" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "http-body-util", - "hyper 1.6.0", + "hyper 1.8.1", "hyper-util", "log", "prometheus", @@ -17083,10 +17905,10 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" -version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "44.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "jsonrpsee 0.24.9", + "jsonrpsee", "parity-scale-codec", "sc-client-api", "sc-rpc-api", @@ -17100,20 +17922,20 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" -version = "25.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ - "array-bytes", + "array-bytes 6.2.3", "build-helper", "cargo_metadata 0.15.4", "console", "filetime", - "frame-metadata 18.0.0", + "frame-metadata 23.0.1", "jobserver", "merkleized-metadata", "parity-scale-codec", "parity-wasm", - "polkavm-linker", + "polkavm-linker 0.24.0", "sc-executor", "shlex", "sp-core", @@ -17123,7 +17945,7 @@ dependencies = [ "sp-version", "strum 0.26.3", "tempfile", - "toml 0.8.22", + "toml 0.8.23", "walkdir", "wasm-opt", ] @@ -17148,22 +17970,18 @@ checksum = "734676eb262c623cec13c3155096e08d1f8f29adce39ba17948b18dad1e54142" [[package]] name = "subxt" -version = "0.37.0" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a160cba1edbf3ec4fbbeaea3f1a185f70448116a6bccc8276bb39adb3b3053bd" +checksum = "03459d84546def5e1d0d22b162754609f18e031522b0319b53306f5829de9c09" dependencies = [ "async-trait", "derive-where", "either", - "frame-metadata 16.0.0", + "frame-metadata 20.0.0", "futures 0.3.31", "hex", - "impl-serde 0.4.0", - "instant", - "jsonrpsee 0.22.5", "parity-scale-codec", - "primitive-types 0.12.2", - "reconnecting-jsonrpsee-ws-client", + "primitive-types 0.13.1", "scale-bits", "scale-decode", "scale-encode", @@ -17176,48 +17994,49 @@ dependencies = [ "subxt-lightclient", "subxt-macro", "subxt-metadata", - "thiserror 1.0.69", + "subxt-rpcs", + "thiserror 2.0.17", + "tokio", "tokio-util", "tracing", "url", + "web-time", ] [[package]] name = "subxt-codegen" -version = "0.37.0" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d703dca0905cc5272d7cc27a4ac5f37dcaae7671acc7fef0200057cc8c317786" +checksum = "324c52c09919fec8c22a4b572a466878322e99fe14a9e3d50d6c3700a226ec25" dependencies = [ - "frame-metadata 16.0.0", "heck 0.5.0", - "hex", - "jsonrpsee 0.22.5", "parity-scale-codec", "proc-macro2", "quote", "scale-info", "scale-typegen", "subxt-metadata", - "syn 2.0.101", - "thiserror 1.0.69", - "tokio", + "syn 2.0.111", + "thiserror 2.0.17", ] [[package]] name = "subxt-core" -version = "0.37.1" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3af3b36405538a36b424d229dc908d1396ceb0994c90825ce928709eac1a159a" +checksum = "66ef00be9d64885ec94e478a58e4e39d222024b20013ae7df4fc6ece545391aa" dependencies = [ "base58", "blake2 0.10.6", "derive-where", - "frame-metadata 16.0.0", + "frame-decode", + "frame-metadata 20.0.0", "hashbrown 0.14.5", "hex", - "impl-serde 0.4.0", + "impl-serde 0.5.0", + "keccak-hash", "parity-scale-codec", - "primitive-types 0.12.2", + "primitive-types 0.13.1", "scale-bits", "scale-decode", "scale-encode", @@ -17227,21 +18046,22 @@ dependencies = [ "serde_json", "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "subxt-metadata", + "thiserror 2.0.17", "tracing", ] [[package]] name = "subxt-lightclient" -version = "0.37.0" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d9406fbdb9548c110803cb8afa750f8b911d51eefdf95474b11319591d225d9" +checksum = "ce07c2515b2e63b85ec3043fe4461b287af0615d4832c2fe6e81ba780b906bc0" dependencies = [ "futures 0.3.31", "futures-util", "serde", "serde_json", - "smoldot-light 0.14.0", - "thiserror 1.0.69", + "smoldot-light 0.16.2", + "thiserror 2.0.17", "tokio", "tokio-stream", "tracing", @@ -17249,56 +18069,99 @@ dependencies = [ [[package]] name = "subxt-macro" -version = "0.37.0" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c195f803d70687e409aba9be6c87115b5da8952cd83c4d13f2e043239818fcd" +checksum = "7c2c8da275a620dd676381d72395dfea91f0a6cd849665b4f1d0919371850701" dependencies = [ "darling 0.20.11", "parity-scale-codec", - "proc-macro-error", + "proc-macro-error2", "quote", "scale-typegen", "subxt-codegen", - "syn 2.0.101", + "subxt-utils-fetchmetadata", + "syn 2.0.111", ] [[package]] name = "subxt-metadata" -version = "0.37.0" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "738be5890fdeff899bbffff4d9c0f244fe2a952fb861301b937e3aa40ebb55da" +checksum = "fff4591673600c4388e21305788282414d26c791b4dee21b7cb0b19c10076f98" dependencies = [ - "frame-metadata 16.0.0", + "frame-decode", + "frame-metadata 20.0.0", "hashbrown 0.14.5", "parity-scale-codec", "scale-info", "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror 2.0.17", +] + +[[package]] +name = "subxt-rpcs" +version = "0.41.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ba7494d250d65dc3439365ac5e8e0fbb9c3992e6e84b7aa01d69e082249b8b8" +dependencies = [ + "derive-where", + "frame-metadata 20.0.0", + "futures 0.3.31", + "hex", + "impl-serde 0.5.0", + "jsonrpsee", + "parity-scale-codec", + "primitive-types 0.13.1", + "serde", + "serde_json", + "subxt-core", + "subxt-lightclient", + "thiserror 2.0.17", + "tracing", + "url", ] [[package]] name = "subxt-signer" -version = "0.37.0" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f49888ae6ae90fe01b471193528eea5bd4ed52d8eecd2d13f4a2333b87388850" +checksum = "4a2370298a210ed1df26152db7209a85e0ed8cfbce035309c3b37f7b61755377" dependencies = [ + "base64 0.22.1", "bip32", "bip39", "cfg-if", + "crypto_secretbox", "hex", "hmac 0.12.1", "keccak-hash", "parity-scale-codec", "pbkdf2 0.12.2", "regex", - "schnorrkel 0.11.4", - "secp256k1 0.28.2", - "secrecy", + "schnorrkel 0.11.5", + "scrypt 0.11.0", + "secp256k1 0.30.0", + "secrecy 0.10.3", + "serde", + "serde_json", "sha2 0.10.9", "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "subxt-core", + "thiserror 2.0.17", "zeroize", ] +[[package]] +name = "subxt-utils-fetchmetadata" +version = "0.41.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc868b55fe2303788dc7703457af390111940c3da4714b510983284501780ed5" +dependencies = [ + "hex", + "parity-scale-codec", + "thiserror 2.0.17", +] + [[package]] name = "syn" version = "1.0.109" @@ -17312,15 +18175,27 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.101" +version = "2.0.111" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf" +checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87" dependencies = [ "proc-macro2", "quote", "unicode-ident", ] +[[package]] +name = "syn-solidity" +version = "1.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f92d01b5de07eaf324f7fca61cc6bd3d82bbc1de5b6c963e6fe79e86f36580d" +dependencies = [ + "paste", + "proc-macro2", + "quote", + "syn 2.0.111", +] + [[package]] name = "sync_wrapper" version = "0.1.2" @@ -17347,7 +18222,22 @@ checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", +] + +[[package]] +name = "sysinfo" +version = "0.30.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0a5b4ddaee55fb2bea2bf0e5000747e5f5c0de765e5a5ff87f4cd106439f4bb3" +dependencies = [ + "cfg-if", + "core-foundation-sys", + "libc", + "ntapi", + "once_cell", + "rayon", + "windows 0.52.0", ] [[package]] @@ -17367,7 +18257,7 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c879d448e9d986b661742763247d3693ed13609438cf3d006f51f5368a5ba6b" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.10.0", "core-foundation 0.9.4", "system-configuration-sys 0.6.0", ] @@ -17392,6 +18282,12 @@ dependencies = [ "libc", ] +[[package]] +name = "tagptr" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b2093cf4c8eb1e67749a6762251bc9cd836b6fc171623bd0a9d324d37af2417" + [[package]] name = "tap" version = "1.0.1" @@ -17406,15 +18302,15 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" [[package]] name = "tempfile" -version = "3.19.1" +version = "3.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7437ac7763b9b123ccf33c338a5cc1bac6f69b45a136c19bdd8a65e3916435bf" +checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16" dependencies = [ "fastrand 2.3.0", - "getrandom 0.3.2", + "getrandom 0.3.4", "once_cell", - "rustix 1.0.7", - "windows-sys 0.59.0", + "rustix 1.1.3", + "windows-sys 0.61.2", ] [[package]] @@ -17428,12 +18324,12 @@ dependencies = [ [[package]] name = "terminal_size" -version = "0.4.2" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45c6481c4829e4cc63825e62c49186a34538b7b2750b73b266581ffb612fb5ed" +checksum = "60b8cb979cb11c32ce1603f8137b22262a9d131aaa5c37b5678025f22b8becd0" dependencies = [ - "rustix 1.0.7", - "windows-sys 0.59.0", + "rustix 1.1.3", + "windows-sys 0.60.2", ] [[package]] @@ -17453,11 +18349,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.12" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" +checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" dependencies = [ - "thiserror-impl 2.0.12", + "thiserror-impl 2.0.17", ] [[package]] @@ -17477,7 +18373,7 @@ checksum = "e4c60d69f36615a077cc7663b9cb8e42275722d23e58a7fa3d2c7f2915d09d04" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -17488,18 +18384,18 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "thiserror-impl" -version = "2.0.12" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" +checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -17510,12 +18406,11 @@ checksum = "3bf63baf9f5039dadc247375c29eb13706706cfde997d0330d05aa63a77d8820" [[package]] name = "thread_local" -version = "1.1.8" +version = "1.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" +checksum = "f60246a4944f24f6e018aa17cdeffb7818b76356965d03b07d6a9886e8962185" dependencies = [ "cfg-if", - "once_cell", ] [[package]] @@ -17550,9 +18445,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.41" +version = "0.3.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a7619e19bc266e0f9c5e6686659d394bc57973859340060a69221e57dbc0c40" +checksum = "91e7d9e3bb61134e77bde20dd4825b97c010155709965fedf0f49bb138e52a9d" dependencies = [ "deranged", "itoa", @@ -17565,15 +18460,15 @@ dependencies = [ [[package]] name = "time-core" -version = "0.1.4" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9e9a38711f559d9e3ce1cdb06dd7c5b8ea546bc90052da6d06bb76da74bb07c" +checksum = "40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b" [[package]] name = "time-macros" -version = "0.2.22" +version = "0.2.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3526739392ec93fd8b359c8e98514cb3e8e021beb4e5f597b00a0221f8ed8a49" +checksum = "30cfb0125f12d9c277f35663a0a33f8c30190f4e4574868a330595412d34ebf3" dependencies = [ "num-conv", "time-core", @@ -17590,9 +18485,9 @@ dependencies = [ [[package]] name = "tinystr" -version = "0.7.6" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f" +checksum = "42d3e9c45c09de15d06dd8acf5f4e0e399e85927b7f00711024eb7ae10fa4869" dependencies = [ "displaydoc", "zerovec", @@ -17600,9 +18495,9 @@ dependencies = [ [[package]] name = "tinyvec" -version = "1.9.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09b3661f17e86524eccd4371ab0429194e0d7c008abb45f7a7495b1719463c71" +checksum = "bfa5fdc3bce6191a1dbc8c02d5c8bffcf557bafa17c124c5264a458f1b0613fa" dependencies = [ "tinyvec_macros", ] @@ -17615,61 +18510,39 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.44.2" +version = "1.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6b88822cbe49de4185e3a4cbf8321dd487cf5fe0c5c65695fef6346371e9c48" +checksum = "ff360e02eab121e0bc37a2d3b4d4dc622e6eda3a8e5253d5435ecf5bd4c68408" dependencies = [ - "backtrace", "bytes", "libc", "mio", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "pin-project-lite", "signal-hook-registry", - "socket2 0.5.9", + "socket2 0.6.1", "tokio-macros", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] name = "tokio-macros" -version = "2.5.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" +checksum = "af407857209536a95c8e56f8231ef2c2e2aff839b22e07a1ffcbc617e9db9fa5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", -] - -[[package]] -name = "tokio-rustls" -version = "0.24.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" -dependencies = [ - "rustls 0.21.12", - "tokio", -] - -[[package]] -name = "tokio-rustls" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "775e0c0f0adb3a2f22a00c4745d728b479985fc15ee7ca6a2608388c5569860f" -dependencies = [ - "rustls 0.22.4", - "rustls-pki-types", - "tokio", + "syn 2.0.111", ] [[package]] name = "tokio-rustls" -version = "0.26.2" +version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e727b36a1a0e8b74c376ac2211e40c2c8af09fb4013c60d910495810f008e9b" +checksum = "1729aa945f29d91ba541258c8df89027d5792d85a8841fb65e8bf0f4ede4ef61" dependencies = [ - "rustls 0.23.26", + "rustls", "tokio", ] @@ -17693,19 +18566,19 @@ checksum = "7a9daff607c6d2bf6c16fd681ccb7eecc83e4e2cdc1ca067ffaadfca5de7f084" dependencies = [ "futures-util", "log", - "rustls 0.23.26", - "rustls-native-certs 0.8.1", + "rustls", + "rustls-native-certs", "rustls-pki-types", "tokio", - "tokio-rustls 0.26.2", + "tokio-rustls", "tungstenite", ] [[package]] name = "tokio-util" -version = "0.7.15" +version = "0.7.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66a539a9ad6d5d281510d5bd368c973d636c02dbf8a67300bfb6b950696ad7df" +checksum = "2efa149fe76073d6e8fd97ef4f4eca7b67f599660115591483572e406e165594" dependencies = [ "bytes", "futures-core", @@ -17726,44 +18599,74 @@ dependencies = [ [[package]] name = "toml" -version = "0.8.22" +version = "0.8.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05ae329d1f08c4d17a59bed7ff5b5a769d062e64a62d34a3261b219e62cd5aae" +checksum = "dc1beb996b9d83529a9e75c17a1686767d148d70663143c7854d8b4a09ced362" dependencies = [ "serde", "serde_spanned", - "toml_datetime", - "toml_edit", + "toml_datetime 0.6.11", + "toml_edit 0.22.27", ] [[package]] name = "toml_datetime" -version = "0.6.9" +version = "0.6.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3da5db5a963e24bc68be8b17b6fa82814bb22ee8660f192bb182771d498f09a3" +checksum = "22cddaf88f4fbc13c51aebbf5f8eceb5c7c5a9da2ac40a13519eb5b0a0e8f11c" dependencies = [ "serde", ] +[[package]] +name = "toml_datetime" +version = "0.7.5+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92e1cfed4a3038bc5a127e35a2d360f145e1f4b971b551a2ba5fd7aedf7e1347" +dependencies = [ + "serde_core", +] + [[package]] name = "toml_edit" -version = "0.22.26" +version = "0.22.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "310068873db2c5b3e7659d2cc35d21855dbafa50d1ce336397c666e3cb08137e" +checksum = "41fe8c660ae4257887cf66394862d21dbca4a6ddd26f04a3560410406a2f819a" dependencies = [ - "indexmap 2.9.0", + "indexmap 2.12.1", "serde", "serde_spanned", - "toml_datetime", + "toml_datetime 0.6.11", "toml_write", "winnow", ] +[[package]] +name = "toml_edit" +version = "0.23.10+spec-1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84c8b9f757e028cee9fa244aea147aab2a9ec09d5325a9b01e0a49730c2b5269" +dependencies = [ + "indexmap 2.12.1", + "toml_datetime 0.7.5+spec-1.1.0", + "toml_parser", + "winnow", +] + +[[package]] +name = "toml_parser" +version = "1.0.6+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3198b4b0a8e11f09dd03e133c0280504d0801269e9afa46362ffde1cbeebf44" +dependencies = [ + "winnow", +] + [[package]] name = "toml_write" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfb942dfe1d8e29a7ee7fcbde5bd2b9a25fb89aa70caea2eba3bee836ff41076" +checksum = "5d99f8c9a7727884afe522e9bd5edbfc91a3312b36a77b5fb8926e4c31a41801" [[package]] name = "tower" @@ -17786,9 +18689,9 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e9cd434a998747dd2c4276bc96ee2e0c7a2eadf3cae88e52be55a05fa9053f5" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.10.0", "bytes", - "http 1.3.1", + "http 1.4.0", "http-body 1.0.1", "http-body-util", "pin-project-lite", @@ -17810,9 +18713,9 @@ checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" [[package]] name = "tracing" -version = "0.1.41" +version = "0.1.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" +checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" dependencies = [ "log", "pin-project-lite", @@ -17822,20 +18725,20 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.28" +version = "0.1.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" +checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "tracing-core" -version = "0.1.33" +version = "0.1.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" +checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" dependencies = [ "once_cell", "valuable", @@ -17853,8 +18756,8 @@ dependencies = [ [[package]] name = "tracing-gum" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "20.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "coarsetime", "polkadot-primitives", @@ -17865,13 +18768,13 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "expander", - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -17887,115 +18790,43 @@ dependencies = [ [[package]] name = "tracing-subscriber" -version = "0.3.19" +version = "0.3.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8189decb5ac0fa7bc8b96b7cb9b2701d60d48805aca84a238004d665fcc4008" +checksum = "2f30143827ddab0d256fd843b7a66d164e9f271cfa0dde49142c5ca0ca291f1e" dependencies = [ "matchers", "nu-ansi-term", "once_cell", - "parking_lot 0.12.3", - "regex", - "sharded-slab", - "smallvec", - "thread_local", - "time", - "tracing", - "tracing-core", - "tracing-log", -] - -[[package]] -name = "trie-db" -version = "0.29.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c992b4f40c234a074d48a757efeabb1a6be88af84c0c23f7ca158950cb0ae7f" -dependencies = [ - "hash-db", - "log", - "rustc-hex", - "smallvec", -] - -[[package]] -name = "trie-root" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4ed310ef5ab98f5fa467900ed906cb9232dd5376597e00fd4cba2a449d06c0b" -dependencies = [ - "hash-db", -] - -[[package]] -name = "trust-dns-proto" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f7f83d1e4a0e4358ac54c5c3681e5d7da5efc5a7a632c90bb6d6669ddd9bc26" -dependencies = [ - "async-trait", - "cfg-if", - "data-encoding", - "enum-as-inner 0.5.1", - "futures-channel", - "futures-io", - "futures-util", - "idna 0.2.3", - "ipnet", - "lazy_static", - "rand 0.8.5", - "smallvec", - "socket2 0.4.10", - "thiserror 1.0.69", - "tinyvec", - "tokio", + "parking_lot 0.12.5", + "regex-automata", + "sharded-slab", + "smallvec", + "thread_local", + "time", "tracing", - "url", + "tracing-core", + "tracing-log", ] [[package]] -name = "trust-dns-proto" -version = "0.23.2" +name = "trie-db" +version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3119112651c157f4488931a01e586aa459736e9d6046d3bd9105ffb69352d374" +checksum = "6c0670ab45a6b7002c7df369fee950a27cf29ae0474343fd3a15aa15f691e7a6" dependencies = [ - "async-trait", - "cfg-if", - "data-encoding", - "enum-as-inner 0.6.1", - "futures-channel", - "futures-io", - "futures-util", - "idna 0.4.0", - "ipnet", - "once_cell", - "rand 0.8.5", + "hash-db", + "log", + "rustc-hex", "smallvec", - "thiserror 1.0.69", - "tinyvec", - "tokio", - "tracing", - "url", ] [[package]] -name = "trust-dns-resolver" -version = "0.23.2" +name = "trie-root" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10a3e6c3aff1718b3c73e395d1f35202ba2ffa847c6a62eea0db8fb4cfe30be6" +checksum = "d4ed310ef5ab98f5fa467900ed906cb9232dd5376597e00fd4cba2a449d06c0b" dependencies = [ - "cfg-if", - "futures-util", - "ipconfig", - "lru-cache", - "once_cell", - "parking_lot 0.12.3", - "rand 0.8.5", - "resolv-conf", - "smallvec", - "thiserror 1.0.69", - "tokio", - "tracing", - "trust-dns-proto 0.23.2", + "hash-db", ] [[package]] @@ -18018,14 +18849,14 @@ checksum = "4793cb5e56680ecbb1d843515b23b6de9a75eb04b66643e256a396d43be33c13" dependencies = [ "bytes", "data-encoding", - "http 1.3.1", + "http 1.4.0", "httparse", "log", - "rand 0.9.1", - "rustls 0.23.26", + "rand 0.9.2", + "rustls", "rustls-pki-types", "sha1", - "thiserror 2.0.12", + "thiserror 2.0.17", "url", "utf-8", ] @@ -18050,9 +18881,9 @@ dependencies = [ [[package]] name = "typenum" -version = "1.18.0" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f" +checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb" [[package]] name = "ucd-trie" @@ -18090,17 +18921,11 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" -[[package]] -name = "unicode-bidi" -version = "0.3.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5" - [[package]] name = "unicode-ident" -version = "1.0.18" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" +checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" [[package]] name = "unicode-normalization" @@ -18119,9 +18944,9 @@ checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" [[package]] name = "unicode-width" -version = "0.2.0" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd" +checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" [[package]] name = "unicode-xid" @@ -18162,7 +18987,7 @@ version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6889a77d49f1f013504cec6bf97a2c730394adedaeb1deb5ea08949a50541105" dependencies = [ - "asynchronous-codec", + "asynchronous-codec 0.6.2", "bytes", "futures-io", "futures-util", @@ -18192,13 +19017,14 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.5.4" +version = "2.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" +checksum = "08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b" dependencies = [ "form_urlencoded", - "idna 1.0.3", + "idna", "percent-encoding", + "serde", ] [[package]] @@ -18213,12 +19039,6 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" -[[package]] -name = "utf16_iter" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246" - [[package]] name = "utf8_iter" version = "1.0.4" @@ -18241,6 +19061,17 @@ dependencies = [ "serde", ] +[[package]] +name = "uuid" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2e054861b4bd027cd373e18e8d8d8e6548085000e41290d95ce0c373a654b4a" +dependencies = [ + "getrandom 0.3.4", + "js-sys", + "wasm-bindgen", +] + [[package]] name = "valuable" version = "0.1.1" @@ -18293,11 +19124,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6bfb937b3d12077654a9e43e32a4e9c20177dd9fea0f3aba673e7840bb54f32" dependencies = [ "ark-bls12-377", - "ark-bls12-381", - "ark-ec", - "ark-ff", - "ark-serialize", - "ark-serialize-derive", + "ark-bls12-381 0.4.0", + "ark-ec 0.4.2", + "ark-ff 0.4.2", + "ark-serialize 0.4.2", + "ark-serialize-derive 0.4.2", "arrayref", "digest 0.10.7", "rand 0.8.5", @@ -18308,6 +19139,61 @@ dependencies = [ "zeroize", ] +[[package]] +name = "w3f-pcs" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fbe7a8d5c914b69392ab3b267f679a2e546fe29afaddce47981772ac71bd02e1" +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 = "w3f-plonk-common" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1aca389e494fe08c5c108b512e2328309036ee1c0bc7bdfdb743fef54d448c8c" +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", + "getrandom_or_panic", + "rand_core 0.6.4", + "w3f-pcs", +] + +[[package]] +name = "w3f-ring-proof" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a639379402ad51504575dbd258740383291ac8147d3b15859bdf1ea48c677de" +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", + "ark-transcript", + "w3f-pcs", + "w3f-plonk-common", +] + +[[package]] +name = "wait-timeout" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11" +dependencies = [ + "libc", +] + [[package]] name = "waker-fn" version = "1.2.0" @@ -18335,17 +19221,17 @@ dependencies = [ [[package]] name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" +version = "0.11.1+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" [[package]] -name = "wasi" -version = "0.14.2+wasi-0.2.4" +name = "wasip2" +version = "1.0.1+wasi-0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3" +checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7" dependencies = [ - "wit-bindgen-rt", + "wit-bindgen", ] [[package]] @@ -18354,40 +19240,27 @@ version = "0.12.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c1fbb4ef9bbca0c1170e0b00dd28abc9e3b68669821600cad1caaed606583c6d" dependencies = [ - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi", ] [[package]] name = "wasm-bindgen" -version = "0.2.100" +version = "0.2.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5" +checksum = "0d759f433fa64a2d763d1340820e46e111a7a5ab75f993d1852d70b03dbb80fd" dependencies = [ "cfg-if", "once_cell", "rustversion", "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.100" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6" -dependencies = [ - "bumpalo", - "log", - "proc-macro2", - "quote", - "syn 2.0.101", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.50" +version = "0.4.56" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "555d470ec0bc3bb57890405e5d4322cc9ea83cebb085523ced7be4144dac1e61" +checksum = "836d9622d604feee9e5de25ac10e3ea5f2d65b41eac0d9ce72eb5deae707ce7c" dependencies = [ "cfg-if", "js-sys", @@ -18398,9 +19271,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.100" +version = "0.2.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407" +checksum = "48cb0d2638f8baedbc542ed444afc0644a29166f1595371af4fecf8ce1e7eeb3" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -18408,22 +19281,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.100" +version = "0.2.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" +checksum = "cefb59d5cd5f92d9dcf80e4683949f15ca4b511f4ac0a6e14d4e1ac60c6ecd40" dependencies = [ + "bumpalo", "proc-macro2", "quote", - "syn 2.0.101", - "wasm-bindgen-backend", + "syn 2.0.111", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.100" +version = "0.2.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d" +checksum = "cbc538057e648b67f72a982e708d485b2efa771e1ac05fec311f9f63e5800db4" dependencies = [ "unicode-ident", ] @@ -18779,9 +19652,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.77" +version = "0.3.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2" +checksum = "9b32828d774c412041098d182a8b38b16ea816958e07cf40eec2bc080ae137ac" dependencies = [ "js-sys", "wasm-bindgen", @@ -18799,32 +19672,32 @@ dependencies = [ [[package]] name = "webpki-root-certs" -version = "0.26.10" +version = "0.26.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c99403924bc5f23afefc319b8ac67ed0e50669f6e52a413314cccb1fdbc93ba0" +checksum = "75c7f0ef91146ebfb530314f5f1d24528d7f0767efbfd31dce919275413e393e" dependencies = [ - "rustls-pki-types", + "webpki-root-certs 1.0.4", ] [[package]] -name = "webpki-roots" -version = "0.25.4" +name = "webpki-root-certs" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" +checksum = "ee3e3b5f5e80bc89f30ce8d0343bf4e5f12341c51f3e26cbeecbc7c85443e85b" +dependencies = [ + "rustls-pki-types", +] [[package]] name = "webpki-roots" -version = "0.26.10" +version = "0.25.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37493cadf42a2a939ed404698ded7fb378bf301b5011f973361779a3a74f8c93" -dependencies = [ - "rustls-pki-types", -] +checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" [[package]] name = "westend-runtime" -version = "21.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "24.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "binary-merkle-tree", "bitvec", @@ -18847,19 +19720,16 @@ dependencies = [ "pallet-balances", "pallet-beefy", "pallet-beefy-mmr", - "pallet-collective", "pallet-conviction-voting", "pallet-delegated-staking", - "pallet-democracy", "pallet-election-provider-multi-phase", "pallet-election-provider-support-benchmarking", - "pallet-elections-phragmen", "pallet-fast-unstake", "pallet-grandpa", "pallet-identity", "pallet-indices", - "pallet-membership", "pallet-message-queue", + "pallet-meta-tx", "pallet-migrations", "pallet-mmr", "pallet-multisig", @@ -18877,16 +19747,17 @@ dependencies = [ "pallet-scheduler", "pallet-session", "pallet-session-benchmarking", - "pallet-society", "pallet-staking", + "pallet-staking-async-ah-client", + "pallet-staking-async-rc-client", "pallet-staking-runtime-api", - "pallet-state-trie-migration", "pallet-sudo", "pallet-timestamp", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", - "pallet-treasury 38.1.0", + "pallet-treasury 40.0.0", "pallet-utility", + "pallet-verify-signature", "pallet-vesting", "pallet-whitelist", "pallet-xcm", @@ -18900,7 +19771,6 @@ dependencies = [ "serde", "serde_derive", "serde_json", - "smallvec", "sp-api", "sp-application-crypto", "sp-arithmetic", @@ -18933,8 +19803,8 @@ dependencies = [ [[package]] name = "westend-runtime-constants" -version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "21.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-support", "polkadot-primitives", @@ -18949,9 +19819,9 @@ dependencies = [ [[package]] name = "wide" -version = "0.7.32" +version = "0.7.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41b5576b9a81633f3e8df296ce0063042a73507636cbe956c61133dd7034ab22" +checksum = "0ce5da8ecb62bcd8ec8b7ea19f69a51275e91299be594ea5cc6ef7819e16cd03" dependencies = [ "bytemuck", "safe_arch", @@ -18959,9 +19829,9 @@ dependencies = [ [[package]] name = "widestring" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd7cf3379ca1aac9eea11fba24fd7e315d621f8dfe35c8d7d2be8b793726e07d" +checksum = "72069c3113ab32ab29e5584db3c6ec55d416895e60715417b5b883a357c3e471" [[package]] name = "winapi" @@ -18981,11 +19851,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.9" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -18994,6 +19864,16 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +[[package]] +name = "windows" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be" +dependencies = [ + "windows-core 0.52.0", + "windows-targets 0.52.6", +] + [[package]] name = "windows" version = "0.53.0" @@ -19004,6 +19884,15 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "windows-core" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +dependencies = [ + "windows-targets 0.52.6", +] + [[package]] name = "windows-core" version = "0.53.0" @@ -19016,44 +19905,44 @@ dependencies = [ [[package]] name = "windows-core" -version = "0.61.0" +version = "0.62.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4763c1de310c86d75a878046489e2e5ba02c649d185f21c67d4cf8a56d098980" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" dependencies = [ "windows-implement", "windows-interface", "windows-link", - "windows-result 0.3.2", + "windows-result 0.4.1", "windows-strings", ] [[package]] name = "windows-implement" -version = "0.60.0" +version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "windows-interface" -version = "0.59.1" +version = "0.59.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "windows-link" -version = "0.1.1" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76840935b766e1b0a05c0066835fb9ec80071d4c09a16f6bd5f7e655e3c14c38" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" [[package]] name = "windows-result" @@ -19066,18 +19955,18 @@ dependencies = [ [[package]] name = "windows-result" -version = "0.3.2" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c64fd11a4fd95df68efcfee5f44a294fe71b8bc6a91993e2791938abcc712252" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" dependencies = [ "windows-link", ] [[package]] name = "windows-strings" -version = "0.4.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a2ba9642430ee452d5a7aa78d72907ebe8cfda358e8cb7918a2050581322f97" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" dependencies = [ "windows-link", ] @@ -19118,6 +20007,24 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "windows-sys" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" +dependencies = [ + "windows-targets 0.53.5", +] + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link", +] + [[package]] name = "windows-targets" version = "0.42.2" @@ -19157,13 +20064,30 @@ dependencies = [ "windows_aarch64_gnullvm 0.52.6", "windows_aarch64_msvc 0.52.6", "windows_i686_gnu 0.52.6", - "windows_i686_gnullvm", + "windows_i686_gnullvm 0.52.6", "windows_i686_msvc 0.52.6", "windows_x86_64_gnu 0.52.6", "windows_x86_64_gnullvm 0.52.6", "windows_x86_64_msvc 0.52.6", ] +[[package]] +name = "windows-targets" +version = "0.53.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" +dependencies = [ + "windows-link", + "windows_aarch64_gnullvm 0.53.1", + "windows_aarch64_msvc 0.53.1", + "windows_i686_gnu 0.53.1", + "windows_i686_gnullvm 0.53.1", + "windows_i686_msvc 0.53.1", + "windows_x86_64_gnu 0.53.1", + "windows_x86_64_gnullvm 0.53.1", + "windows_x86_64_msvc 0.53.1", +] + [[package]] name = "windows_aarch64_gnullvm" version = "0.42.2" @@ -19182,6 +20106,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" + [[package]] name = "windows_aarch64_msvc" version = "0.42.2" @@ -19200,6 +20130,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" +[[package]] +name = "windows_aarch64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" + [[package]] name = "windows_i686_gnu" version = "0.42.2" @@ -19218,12 +20154,24 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" +[[package]] +name = "windows_i686_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" + [[package]] name = "windows_i686_gnullvm" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" +[[package]] +name = "windows_i686_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" + [[package]] name = "windows_i686_msvc" version = "0.42.2" @@ -19242,6 +20190,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" +[[package]] +name = "windows_i686_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" + [[package]] name = "windows_x86_64_gnu" version = "0.42.2" @@ -19260,6 +20214,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" +[[package]] +name = "windows_x86_64_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" + [[package]] name = "windows_x86_64_gnullvm" version = "0.42.2" @@ -19278,6 +20238,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" + [[package]] name = "windows_x86_64_msvc" version = "0.42.2" @@ -19296,11 +20262,17 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" +[[package]] +name = "windows_x86_64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" + [[package]] name = "winnow" -version = "0.7.9" +version = "0.7.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9fb597c990f03753e08d3c29efbfcf2019a003b4bf4ba19225c158e1549f0f3" +checksum = "5a5364e9d77fcdeeaa6062ced926ee3381faa2ee02d3eb83a5c27a8825540829" dependencies = [ "memchr", ] @@ -19316,31 +20288,22 @@ dependencies = [ ] [[package]] -name = "wit-bindgen-rt" -version = "0.39.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1" -dependencies = [ - "bitflags 2.9.0", -] - -[[package]] -name = "write16" -version = "1.0.0" +name = "wit-bindgen" +version = "0.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936" +checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59" [[package]] name = "writeable" -version = "0.5.5" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51" +checksum = "9edde0db4769d2dc68579893f2306b26c6ecfbe0ef499b013d731b7b9247e0b9" [[package]] name = "ws_stream_wasm" -version = "0.7.4" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7999f5f4217fe3818726b66257a4475f71e74ffd190776ad053fa159e50737f5" +checksum = "6c173014acad22e83f16403ee360115b38846fe754e735c5d9d3803fe70c6abc" dependencies = [ "async_io_stream", "futures 0.3.31", @@ -19349,7 +20312,7 @@ dependencies = [ "pharos", "rustc_version 0.4.1", "send_wrapper 0.6.0", - "thiserror 1.0.69", + "thiserror 2.0.17", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", @@ -19378,16 +20341,16 @@ dependencies = [ [[package]] name = "x509-parser" -version = "0.15.1" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7069fba5b66b9193bd2c5d3d4ff12b839118f6bcbef5328efafafb5395cf63da" +checksum = "fcbc162f30700d6f3f82a24bf7cc62ffe7caea42c0b2cba8bf7f3ae50cf51f69" dependencies = [ - "asn1-rs 0.5.2", + "asn1-rs 0.6.2", "data-encoding", - "der-parser 8.2.0", + "der-parser 9.0.0", "lazy_static", "nom", - "oid-registry 0.6.1", + "oid-registry 0.7.1", "rusticata-macros", "thiserror 1.0.69", "time", @@ -19406,25 +20369,25 @@ dependencies = [ "nom", "oid-registry 0.8.1", "rusticata-macros", - "thiserror 2.0.12", + "thiserror 2.0.17", "time", ] [[package]] name = "xcm-procedural" -version = "11.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "11.0.2" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] name = "xcm-runtime-apis" -version = "0.5.3" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "0.8.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-support", "parity-scale-codec", @@ -19437,8 +20400,8 @@ dependencies = [ [[package]] name = "xcm-simulator" -version = "18.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2412#09dc9b243d515c5f27075dcaf4dc37a6b763db40" +version = "21.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#dc937dd74221e38ce4c184be27b6cdcf36de0452" dependencies = [ "frame-support", "frame-system", @@ -19451,7 +20414,6 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -19520,9 +20482,9 @@ dependencies = [ [[package]] name = "xml-rs" -version = "0.8.26" +version = "0.8.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a62ce76d9b56901b19a74f19431b0d8b3bc7ca4ad685a746dfd78ca8f4fc6bda" +checksum = "3ae8337f8a065cfc972643663ea4279e04e7256de865aa66fe25cec5fb912d3f" [[package]] name = "xmltree" @@ -19542,7 +20504,7 @@ dependencies = [ "futures 0.3.31", "log", "nohash-hasher", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "pin-project", "rand 0.8.5", "static_assertions", @@ -19550,25 +20512,25 @@ dependencies = [ [[package]] name = "yamux" -version = "0.13.4" +version = "0.13.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17610762a1207ee816c6fadc29220904753648aba0a9ed61c7b8336e80a559c4" +checksum = "deab71f2e20691b4728b349c6cee8fc7223880fa67b6b4f92225ec32225447e5" dependencies = [ "futures 0.3.31", "log", "nohash-hasher", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "pin-project", - "rand 0.8.5", + "rand 0.9.2", "static_assertions", "web-time", ] [[package]] name = "yap" -version = "0.11.0" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff4524214bc4629eba08d78ceb1d6507070cc0bcbbed23af74e19e6e924a24cf" +checksum = "bfe269e7b803a5e8e20cbd97860e136529cd83bf2c9c6d37b142467e7e1f051f" [[package]] name = "yasna" @@ -19581,11 +20543,10 @@ dependencies = [ [[package]] name = "yoke" -version = "0.7.5" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40" +checksum = "72d6e5c6afb84d73944e5cedb052c4680d5657337201555f9f2a16b7406d4954" dependencies = [ - "serde", "stable_deref_trait", "yoke-derive", "zerofrom", @@ -19593,54 +20554,34 @@ dependencies = [ [[package]] name = "yoke-derive" -version = "0.7.5" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154" +checksum = "b659052874eb698efe5b9e8cf382204678a0086ebf46982b79d6ca3182927e5d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", "synstructure 0.13.2", ] [[package]] name = "zerocopy" -version = "0.7.35" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" -dependencies = [ - "zerocopy-derive 0.7.35", -] - -[[package]] -name = "zerocopy" -version = "0.8.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1702d9583232ddb9174e01bb7c15a2ab8fb1bc6f227aa1233858c351a3ba0cb" -dependencies = [ - "zerocopy-derive 0.8.25", -] - -[[package]] -name = "zerocopy-derive" -version = "0.7.35" +version = "0.8.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" +checksum = "fd74ec98b9250adb3ca554bdde269adf631549f51d8a8f8f0a10b50f1cb298c3" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.101", + "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.8.25" +version = "0.8.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28a6e20d751156648aa063f3800b706ee209a32c0b4d9f24be3d980b01be55ef" +checksum = "d8a8d209fdf45cf5138cbb5a506f6b52522a25afccc534d1475dad8e31105c6a" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -19660,15 +20601,15 @@ checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", "synstructure 0.13.2", ] [[package]] name = "zeroize" -version = "1.8.1" +version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" +checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0" dependencies = [ "zeroize_derive", ] @@ -19681,14 +20622,25 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", +] + +[[package]] +name = "zerotrie" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a59c17a5562d507e4b54960e8569ebee33bee890c70aa3fe7b97e85a9fd7851" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", ] [[package]] name = "zerovec" -version = "0.10.4" +version = "0.11.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079" +checksum = "6c28719294829477f525be0186d13efa9a3c602f7ec202ca9e353d310fb9a002" dependencies = [ "yoke", "zerofrom", @@ -19697,13 +20649,13 @@ dependencies = [ [[package]] name = "zerovec-derive" -version = "0.10.3" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6" +checksum = "eadce39539ca5cb3985590102671f2567e659fca9666581ad3411d59207951f3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.111", ] [[package]] @@ -19746,9 +20698,9 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "2.0.15+zstd.1.5.7" +version = "2.0.16+zstd.1.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb81183ddd97d0c74cedf1d50d85c8d08c1b8b68ee863bdee9e706eedba1a237" +checksum = "91e19ebc2adc8f83e43039e79776e3fda8ca919132d68a1fed6a5faca2683748" dependencies = [ "cc", "pkg-config", diff --git a/Cargo.toml b/Cargo.toml index beef6f511a..8eb6d54a13 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,10 +48,41 @@ edition = "2021" homepage = "https://astar.network" repository = "https://github.com/AstarNetwork/Astar" +[workspace.lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(substrate_runtime)'] } +suspicious_double_ref_op = { level = "allow", priority = 2 } + +[workspace.lints.clippy] +all = { level = "allow", priority = 0 } +correctness = { level = "deny", priority = 1 } +complexity = { level = "deny", priority = 1 } +bind_instead_of_map = { level = "allow", priority = 2 } # styalistic +borrowed-box = { level = "allow", priority = 2 } # Reasonable to fix this one +clone_on_copy = { level = "allow", priority = 2 } +default_constructed_unit_structs = { level = "allow", priority = 2 } # stylistic +derivable_impls = { level = "allow", priority = 2 } # false positives +eq_op = { level = "allow", priority = 2 } # In tests we test equality. +erasing_op = { level = "allow", priority = 2 } # E.g. 0 * DOLLARS +extra-unused-type-parameters = { level = "allow", priority = 2 } # stylistic +identity-op = { level = "allow", priority = 2 } # One case where we do 0 + +if-same-then-else = { level = "allow", priority = 2 } +needless_lifetimes = { level = "allow", priority = 2 } # Backward compat? +needless_option_as_deref = { level = "allow", priority = 2 } # false positives +nonminimal-bool = { level = "allow", priority = 2 } # maybe +option-map-unit-fn = { level = "allow", priority = 2 } # styalistic +unit_arg = { level = "allow", priority = 2 } # styalistic. +useless_conversion = { level = "allow", priority = 2 } # Types may change +stable_sort_primitive = { level = "allow", priority = 2 } # prefer stable sort +too-many-arguments = { level = "allow", priority = 2 } # (Turning this on would lead to) +type_complexity = { level = "allow", priority = 2 } # raison d'etre +unnecessary_cast = { level = "allow", priority = 2 } # Types may change +while_immutable_condition = { level = "allow", priority = 2 } # false positives +zero-prefixed-literal = { level = "allow", priority = 2 } # 00_1000_000 + [workspace.dependencies] # General deps # (wasm) -parity-scale-codec = { version = "3.6.12", default-features = false, features = ["derive"] } +parity-scale-codec = { version = "3.7.5", default-features = false, features = ["derive"] } scale-info = { version = "2.11.6", default-features = false, features = ["derive"] } log = { version = "0.4.27", default-features = false } environmental = { version = "1.1.4", default-features = false } @@ -59,228 +90,228 @@ sha3 = { version = "0.10.1", default-features = false } num_enum = { version = "0.5.3", default-features = false } num-traits = { version = "0.2", default-features = false } rand = { version = "0.8.5", default-features = false } -bounded-collections = { version = "0.1.5", default-features = false } +bounded-collections = { version = "0.2.3", default-features = false } hex = { version = "0.4.3", default-features = false } -paste = "1.0.6" -once_cell = { version = "1.19.0", default-features = false } +paste = "1.0.15" +once_cell = { version = "1.21.3", default-features = false } # (native) array-bytes = "6.2.2" -smallvec = "1.9.0" -async-trait = "0.1.79" -clap = { version = "4.2.5", features = ["derive"] } -env_logger = "0.10.0" -futures = { version = "0.3.30" } +smallvec = "1.11.0" +async-trait = "0.1.88" +clap = { version = "4.5.13", features = ["derive"] } +env_logger = "0.11.2" +futures = { version = "0.3.31" } serde = { version = "1.0.214", default-features = false, features = ["derive", "alloc"] } serde_json = { version = "1.0.132", default-features = false } -tokio = { version = "1.40.0", features = ["macros", "sync"] } -url = "2.2.2" +tokio = { version = "1.45.0", features = ["macros", "sync"] } +url = "2.5.4" jsonrpsee = { version = "0.24.7", features = ["server"] } hex-literal = "0.4.1" -rlp = "0.6" -tracing = "0.1.34" +rlp = "0.6.1" +tracing = "0.1.37" similar-asserts = { version = "1.1.0" } -assert_matches = "1.3.0" +assert_matches = "1.5.0" libsecp256k1 = { version = "0.7.0", default-features = false } -impl-trait-for-tuples = "0.2.2" +impl-trait-for-tuples = "0.2.3" slices = "0.2.0" derive_more = { version = "0.99" } proc-macro2 = "1.0" quote = "1.0" -syn = { version = "1.0" } +syn = { version = "2.0.87" } ethers = { version = "2.0.9", default-features = false } -docify = { version = "0.2.8" } +docify = { version = "0.2.9" } # Substrate # (wasm) -sp-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -sp-core-hashing = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -sp-io = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -sp-tracing = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -sp-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -sp-runtime-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -sp-session = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -sp-version = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -sp-staking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -sp-externalities = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -sp-genesis-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -sp-weights = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +sp-core-hashing = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +sp-tracing = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +sp-runtime-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +sp-session = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +sp-version = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +sp-staking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +sp-externalities = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +sp-genesis-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +sp-weights = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } # (native) -sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -sp-consensus = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -sp-keyring = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -sp-trie = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -sc-basic-authorship = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -sc-chain-spec = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -sc-client-db = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -sc-consensus = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -sc-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -sc-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -sc-executor = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -sc-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -sc-consensus-manual-seal = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -sc-network = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -sc-network-sync = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -sc-offchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -sc-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -sc-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -sc-sysinfo = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -sc-telemetry = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -sc-tracing = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -sc-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -sc-transaction-pool-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -sc-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -sc-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } +sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +sp-consensus = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +sp-keyring = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +sp-trie = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +sc-basic-authorship = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +sc-chain-spec = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +sc-client-db = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +sc-consensus = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +sc-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +sc-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +sc-executor = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +sc-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +sc-consensus-manual-seal = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +sc-network = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +sc-network-sync = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +sc-offchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +sc-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +sc-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +sc-sysinfo = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +sc-telemetry = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +sc-tracing = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +sc-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +sc-transaction-pool-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +sc-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +sc-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } # Substrate pallets # (wasm) -pallet-assets = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -pallet-proxy = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -frame-support = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -frame-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -frame-executive = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -frame-metadata-hash-extension = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -pallet-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -pallet-authorship = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -pallet-contracts = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -pallet-contracts-uapi = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -pallet-identity = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -pallet-migrations = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -pallet-insecure-randomness-collective-flip = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -pallet-session = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false, features = ["historical"] } -pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -pallet-vesting = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -frame-system-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -frame-try-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -pallet-preimage = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -pallet-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -pallet-message-queue = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -pallet-membership = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -pallet-democracy = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -pallet-tx-pause = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -pallet-safe-mode = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-assets = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +pallet-proxy = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +frame-executive = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +frame-metadata-hash-extension = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +pallet-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +pallet-authorship = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +pallet-contracts = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +pallet-contracts-uapi = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +pallet-identity = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +pallet-migrations = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +pallet-insecure-randomness-collective-flip = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +pallet-session = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false, features = ["historical"] } +pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +pallet-vesting = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +frame-system-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +frame-try-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +pallet-preimage = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +pallet-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +pallet-message-queue = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +pallet-membership = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +pallet-collective = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +pallet-democracy = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +pallet-tx-pause = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +pallet-safe-mode = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } # EVM & Ethereum # (wasm) # To make it compatible with frontier -evm = { git = "https://github.com/rust-ethereum/evm", rev = "e81732d6bb47e3d3d68d233e43919c4522598361", default-features = false } -evm-gasometer = { git = "https://github.com/rust-ethereum/evm", rev = "e81732d6bb47e3d3d68d233e43919c4522598361", default-features = false } -evm-runtime = { git = "https://github.com/rust-ethereum/evm", rev = "e81732d6bb47e3d3d68d233e43919c4522598361", default-features = false } +evm = { git = "https://github.com/rust-ethereum/evm", branch = "v0.x", default-features = false } +evm-gasometer = { git = "https://github.com/rust-ethereum/evm", branch = "v0.x", default-features = false } +evm-runtime = { git = "https://github.com/rust-ethereum/evm", branch = "v0.x", default-features = false } ethereum-types = { version = "0.15", default-features = false } -ethereum = { git = "https://github.com/rust-ethereum/ethereum", rev = "3be0d8fd4c2ad1ba216b69ef65b9382612efc8ba", default-features = false } +ethereum = { version = "0.18.2", default-features = false } # Frontier # (wasm) -fp-rpc = { git = "https://github.com/AstarNetwork/frontier", rev = "e74325d1b2150a6e505c20a4190236db4daca2bb", default-features = false } -fp-self-contained = { git = "https://github.com/AstarNetwork/frontier", rev = "e74325d1b2150a6e505c20a4190236db4daca2bb", default-features = false, features = ["serde"] } -pallet-ethereum = { git = "https://github.com/AstarNetwork/frontier", rev = "e74325d1b2150a6e505c20a4190236db4daca2bb", default-features = false, features = ["forbid-evm-reentrancy"] } -pallet-evm = { git = "https://github.com/AstarNetwork/frontier", rev = "e74325d1b2150a6e505c20a4190236db4daca2bb", default-features = false, features = ["forbid-evm-reentrancy"] } -pallet-evm-precompile-blake2 = { git = "https://github.com/AstarNetwork/frontier", rev = "e74325d1b2150a6e505c20a4190236db4daca2bb", default-features = false } -pallet-evm-precompile-bn128 = { git = "https://github.com/AstarNetwork/frontier", rev = "e74325d1b2150a6e505c20a4190236db4daca2bb", default-features = false } -pallet-evm-precompile-dispatch = { git = "https://github.com/AstarNetwork/frontier", rev = "e74325d1b2150a6e505c20a4190236db4daca2bb", default-features = false } -pallet-evm-precompile-ed25519 = { git = "https://github.com/AstarNetwork/frontier", rev = "e74325d1b2150a6e505c20a4190236db4daca2bb", default-features = false } -pallet-evm-precompile-modexp = { git = "https://github.com/AstarNetwork/frontier", rev = "e74325d1b2150a6e505c20a4190236db4daca2bb", default-features = false } -pallet-evm-precompile-sha3fips = { git = "https://github.com/AstarNetwork/frontier", rev = "e74325d1b2150a6e505c20a4190236db4daca2bb", default-features = false } -pallet-evm-precompile-simple = { git = "https://github.com/AstarNetwork/frontier", rev = "e74325d1b2150a6e505c20a4190236db4daca2bb", default-features = false } -pallet-base-fee = { git = "https://github.com/AstarNetwork/frontier", rev = "e74325d1b2150a6e505c20a4190236db4daca2bb", default-features = false } -pallet-evm-chain-id = { git = "https://github.com/AstarNetwork/frontier", rev = "e74325d1b2150a6e505c20a4190236db4daca2bb", default-features = false } -fp-evm = { git = "https://github.com/AstarNetwork/frontier", rev = "e74325d1b2150a6e505c20a4190236db4daca2bb", default-features = false } -fp-ethereum = { git = "https://github.com/AstarNetwork/frontier", rev = "e74325d1b2150a6e505c20a4190236db4daca2bb", default-features = false } -precompile-utils = { git = "https://github.com/AstarNetwork/frontier", rev = "e74325d1b2150a6e505c20a4190236db4daca2bb", default-features = false } +fp-rpc = { git = "https://github.com/AstarNetwork/frontier", branch = "stable2506", default-features = false } +fp-self-contained = { git = "https://github.com/AstarNetwork/frontier", branch = "stable2506", default-features = false, features = ["serde"] } +pallet-ethereum = { git = "https://github.com/AstarNetwork/frontier", branch = "stable2506", default-features = false, features = ["forbid-evm-reentrancy"] } +pallet-evm = { git = "https://github.com/AstarNetwork/frontier", branch = "stable2506", default-features = false, features = ["forbid-evm-reentrancy"] } +pallet-evm-precompile-blake2 = { git = "https://github.com/AstarNetwork/frontier", branch = "stable2506", default-features = false } +pallet-evm-precompile-bn128 = { git = "https://github.com/AstarNetwork/frontier", branch = "stable2506", default-features = false } +pallet-evm-precompile-dispatch = { git = "https://github.com/AstarNetwork/frontier", branch = "stable2506", default-features = false } +pallet-evm-precompile-ed25519 = { git = "https://github.com/AstarNetwork/frontier", branch = "stable2506", default-features = false } +pallet-evm-precompile-modexp = { git = "https://github.com/AstarNetwork/frontier", branch = "stable2506", default-features = false } +pallet-evm-precompile-sha3fips = { git = "https://github.com/AstarNetwork/frontier", branch = "stable2506", default-features = false } +pallet-evm-precompile-simple = { git = "https://github.com/AstarNetwork/frontier", branch = "stable2506", default-features = false } +pallet-base-fee = { git = "https://github.com/AstarNetwork/frontier", branch = "stable2506", default-features = false } +pallet-evm-chain-id = { git = "https://github.com/AstarNetwork/frontier", branch = "stable2506", default-features = false } +fp-evm = { git = "https://github.com/AstarNetwork/frontier", branch = "stable2506", default-features = false } +fp-ethereum = { git = "https://github.com/AstarNetwork/frontier", branch = "stable2506", default-features = false } +precompile-utils = { git = "https://github.com/AstarNetwork/frontier", branch = "stable2506", default-features = false } # (native) -fc-consensus = { git = "https://github.com/AstarNetwork/frontier", rev = "e74325d1b2150a6e505c20a4190236db4daca2bb" } -fc-db = { git = "https://github.com/AstarNetwork/frontier", rev = "e74325d1b2150a6e505c20a4190236db4daca2bb" } -fc-api = { git = "https://github.com/AstarNetwork/frontier", rev = "e74325d1b2150a6e505c20a4190236db4daca2bb" } -fc-mapping-sync = { git = "https://github.com/AstarNetwork/frontier", rev = "e74325d1b2150a6e505c20a4190236db4daca2bb" } -fc-rpc = { git = "https://github.com/AstarNetwork/frontier", rev = "e74325d1b2150a6e505c20a4190236db4daca2bb", features = ["rpc-binary-search-estimate", "txpool"] } -fc-rpc-core = { git = "https://github.com/AstarNetwork/frontier", rev = "e74325d1b2150a6e505c20a4190236db4daca2bb" } -fp-consensus = { git = "https://github.com/AstarNetwork/frontier", rev = "e74325d1b2150a6e505c20a4190236db4daca2bb" } -fp-storage = { git = "https://github.com/AstarNetwork/frontier", rev = "e74325d1b2150a6e505c20a4190236db4daca2bb" } -fc-storage = { git = "https://github.com/AstarNetwork/frontier", rev = "e74325d1b2150a6e505c20a4190236db4daca2bb" } +fc-consensus = { git = "https://github.com/AstarNetwork/frontier", branch = "stable2506" } +fc-db = { git = "https://github.com/AstarNetwork/frontier", branch = "stable2506" } +fc-api = { git = "https://github.com/AstarNetwork/frontier", branch = "stable2506" } +fc-mapping-sync = { git = "https://github.com/AstarNetwork/frontier", branch = "stable2506" } +fc-rpc = { git = "https://github.com/AstarNetwork/frontier", branch = "stable2506", features = ["rpc-binary-search-estimate", "txpool"] } +fc-rpc-core = { git = "https://github.com/AstarNetwork/frontier", branch = "stable2506" } +fp-consensus = { git = "https://github.com/AstarNetwork/frontier", branch = "stable2506" } +fp-storage = { git = "https://github.com/AstarNetwork/frontier", branch = "stable2506" } +fc-storage = { git = "https://github.com/AstarNetwork/frontier", branch = "stable2506" } # Cumulus # (wasm) -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -cumulus-primitives-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -cumulus-primitives-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -parachain-info = { package = "staging-parachain-info", git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -parachains-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +cumulus-primitives-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +cumulus-primitives-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +parachain-info = { package = "staging-parachain-info", git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +parachains-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } # (native) -cumulus-client-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -cumulus-client-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -cumulus-client-consensus-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -cumulus-client-network = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -cumulus-client-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -cumulus-client-collator = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -cumulus-client-consensus-proposer = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -cumulus-relay-chain-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -cumulus-relay-chain-minimal-node = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } +cumulus-client-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +cumulus-client-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +cumulus-client-consensus-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +cumulus-client-network = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +cumulus-client-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +cumulus-client-collator = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +cumulus-client-consensus-proposer = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +cumulus-relay-chain-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +cumulus-relay-chain-minimal-node = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } # Polkadot # (wasm) -polkadot-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } # XCM # (wasm) -cumulus-pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -pallet-xcm-benchmarks = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -xcm-simulator = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } -xcm-runtime-apis = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +pallet-xcm-benchmarks = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +xcm-simulator = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +xcm-runtime-apis = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } # (native) -polkadot-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -polkadot-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } +polkadot-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +polkadot-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } # ORML # (wasm) -orml-xtokens = { git = "https://github.com/AstarNetwork/open-runtime-module-library", branch = "stable2412", default-features = false } -orml-traits = { git = "https://github.com/AstarNetwork/open-runtime-module-library", branch = "stable2412", default-features = false } -orml-xcm-support = { git = "https://github.com/AstarNetwork/open-runtime-module-library", branch = "stable2412", default-features = false } -orml-oracle = { git = "https://github.com/AstarNetwork/open-runtime-module-library", branch = "stable2412", default-features = false } +orml-xtokens = { git = "https://github.com/AstarNetwork/open-runtime-module-library", branch = "stable2506", default-features = false } +orml-traits = { git = "https://github.com/AstarNetwork/open-runtime-module-library", branch = "stable2506", default-features = false } +orml-xcm-support = { git = "https://github.com/AstarNetwork/open-runtime-module-library", branch = "stable2506", default-features = false } +orml-oracle = { git = "https://github.com/AstarNetwork/open-runtime-module-library", branch = "stable2506", default-features = false } # Astar pallets & modules # (wasm) @@ -340,5 +371,5 @@ moonbeam-rpc-core-trace = { path = "./vendor/rpc-core/trace" } moonbeam-rpc-core-debug = { path = "./vendor/rpc-core/debug" } # Build deps -substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } -substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2412" } +substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } +substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506" } diff --git a/bin/collator/Cargo.toml b/bin/collator/Cargo.toml index 5e81da5361..9e9a4dec6f 100644 --- a/bin/collator/Cargo.toml +++ b/bin/collator/Cargo.toml @@ -9,6 +9,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [[bin]] name = "astar-collator" path = "bin/main.rs" @@ -20,6 +23,7 @@ crate-type = ["cdylib", "rlib"] # third-party dependencies async-trait = { workspace = true } clap = { workspace = true } +ethereum = { workspace = true } futures = { workspace = true } log = { workspace = true, features = ["std"] } parity-scale-codec = { workspace = true, features = ["std"] } diff --git a/bin/collator/src/command.rs b/bin/collator/src/command.rs index 2daf46bf0b..cac73eb8a9 100644 --- a/bin/collator/src/command.rs +++ b/bin/collator/src/command.rs @@ -72,18 +72,6 @@ impl IdentifyChain for T { } } -/// A trait to identify the network backend based on the chain spec. -pub trait IdentifyChainNetworkBackend { - /// Returns the default network backend. - fn default_network_backend(&self) -> sc_network::config::NetworkBackendType; -} - -impl IdentifyChainNetworkBackend for Box { - fn default_network_backend(&self) -> sc_network::config::NetworkBackendType { - sc_network::config::NetworkBackendType::Libp2p - } -} - fn load_spec(id: &str) -> std::result::Result, String> { Ok(match id { "dev" => Box::new(development_config()), @@ -370,7 +358,7 @@ pub fn run() -> Result<()> { let db = params.backend.expose_db(); let storage = params.backend.expose_storage(); - cmd.run(config, params.client, db, storage) + cmd.run(config, params.client, db, storage, None) }) } else { runner.sync_run(|config| { @@ -378,7 +366,7 @@ pub fn run() -> Result<()> { let db = params.backend.expose_db(); let storage = params.backend.expose_storage(); - cmd.run(config, params.client, db, storage) + cmd.run(config, params.client, db, storage, None) }) } } diff --git a/bin/collator/src/local/service.rs b/bin/collator/src/local/service.rs index 271b2d1164..a1956eb7a2 100644 --- a/bin/collator/src/local/service.rs +++ b/bin/collator/src/local/service.rs @@ -47,6 +47,15 @@ use astar_primitives::*; const GRANDPA_JUSTIFICATION_PERIOD: u32 = 512; /// Parachain host functions +#[cfg(feature = "runtime-benchmarks")] +pub type HostFunctions = ( + frame_benchmarking::benchmarking::HostFunctions, + cumulus_client_service::ParachainHostFunctions, + moonbeam_primitives_ext::moonbeam_ext::HostFunctions, +); + +/// Parachain host functions +#[cfg(not(feature = "runtime-benchmarks"))] pub type HostFunctions = ( cumulus_client_service::ParachainHostFunctions, moonbeam_primitives_ext::moonbeam_ext::HostFunctions, @@ -246,7 +255,7 @@ where ); net_config.add_notification_protocol(grandpa_protocol_config); - let (network, system_rpc_tx, tx_handler_controller, network_starter, sync_service) = + let (network, system_rpc_tx, tx_handler_controller, sync_service) = sc_service::build_network(sc_service::BuildNetworkParams { config: &config, net_config, @@ -590,6 +599,5 @@ where ); } - network_starter.start_network(); Ok(task_manager) } diff --git a/bin/collator/src/parachain/fake_runtime_api.rs b/bin/collator/src/parachain/fake_runtime_api.rs index 9a7bc6852b..94bb73255e 100644 --- a/bin/collator/src/parachain/fake_runtime_api.rs +++ b/bin/collator/src/parachain/fake_runtime_api.rs @@ -22,6 +22,7 @@ extern crate alloc; use astar_primitives::{AccountId, Balance, Block, Nonce}; +use ethereum::AuthorizationList; use frame_support::weights::Weight; use pallet_transaction_payment::{FeeDetails, RuntimeDispatchInfo}; use sp_api::impl_runtime_apis; @@ -176,6 +177,7 @@ impl_runtime_apis! { _nonce: Option, _estimate: bool, _access_list: Option)>>, + _authorization_list: Option, ) -> Result { unimplemented!() } @@ -190,6 +192,7 @@ impl_runtime_apis! { _nonce: Option, _estimate: bool, _access_list: Option)>>, + _authorization_list: Option, ) -> Result { unimplemented!() } @@ -271,6 +274,7 @@ impl_runtime_apis! { _max_priority_fee_per_gas: Option, _nonce: Option, _access_list: Option)>>, + _authorization_list: Option, ) -> Result<(), sp_runtime::DispatchError> { unimplemented!() } diff --git a/bin/collator/src/parachain/service.rs b/bin/collator/src/parachain/service.rs index dc406f772d..4e6042f5d5 100644 --- a/bin/collator/src/parachain/service.rs +++ b/bin/collator/src/parachain/service.rs @@ -59,10 +59,18 @@ use super::shell_upgrade::*; use crate::{ evm_tracing_types::{EthApi as EthApiCmd, FrontierConfig}, rpc::tracing, - IdentifyChainNetworkBackend, }; /// Parachain host functions +#[cfg(feature = "runtime-benchmarks")] +pub type HostFunctions = ( + frame_benchmarking::benchmarking::HostFunctions, + cumulus_client_service::ParachainHostFunctions, + moonbeam_primitives_ext::moonbeam_ext::HostFunctions, +); + +/// Parachain host functions +#[cfg(not(feature = "runtime-benchmarks"))] pub type HostFunctions = ( cumulus_client_service::ParachainHostFunctions, moonbeam_primitives_ext::moonbeam_ext::HostFunctions, @@ -202,7 +210,7 @@ async fn build_relay_chain_interface( Arc<(dyn RelayChainInterface + 'static)>, Option, )> { - if let cumulus_client_cli::RelayChainMode::ExternalRpc(rpc_target_urls) = + let result = if let cumulus_client_cli::RelayChainMode::ExternalRpc(rpc_target_urls) = collator_options.relay_chain_mode { build_minimal_relay_chain_node_with_rpc( @@ -220,7 +228,11 @@ async fn build_relay_chain_interface( task_manager, hwbench, ) - } + }; + + // Extract only the first two elements from the 4-tuple + result + .map(|(relay_chain_interface, collator_pair, _, _)| (relay_chain_interface, collator_pair)) } #[derive(Clone)] @@ -275,6 +287,13 @@ where prometheus_registry.clone(), ); + let metrics = N::register_notification_metrics( + parachain_config + .prometheus_config + .as_ref() + .map(|cfg| &cfg.registry), + ); + let (relay_chain_interface, collator_key) = build_relay_chain_interface( polkadot_config, ¶chain_config, @@ -288,7 +307,7 @@ where let is_authority = parachain_config.role.is_authority(); let import_queue_service = import_queue.service(); - let (network, system_rpc_tx, tx_handler_controller, start_network, sync_service) = + let (network, system_rpc_tx, tx_handler_controller, sync_service) = cumulus_client_service::build_network(BuildNetworkParams { parachain_config: ¶chain_config, net_config, @@ -299,6 +318,7 @@ where import_queue, relay_chain_interface: relay_chain_interface.clone(), sybil_resistance_level: cumulus_client_service::CollatorSybilResistance::Resistant, + metrics, }) .await?; @@ -513,6 +533,7 @@ where } else { DARecoveryProfile::FullNode }, + prometheus_registry: prometheus_registry.as_ref(), })?; if is_authority { @@ -533,8 +554,6 @@ where )?; } - start_network.start_network(); - Ok((task_manager, client)) } @@ -553,35 +572,38 @@ pub fn build_import_queue( ) -> sc_consensus::DefaultImportQueue { let verifier_client = client.clone(); + let create_inherent_data_providers = move |parent_hash, _| { + let cidp_client = verifier_client.clone(); + async move { + let slot_duration = + cumulus_client_consensus_aura::slot_duration_at(&*cidp_client, parent_hash)?; + let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); + + let slot = + sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_slot_duration( + *timestamp, + slot_duration, + ); + + Ok((slot, timestamp)) + } + }; + let aura_verifier = Box::new(cumulus_client_consensus_aura::build_verifier::< AuraPair, _, _, _, >(cumulus_client_consensus_aura::BuildVerifierParams { - client: verifier_client.clone(), - create_inherent_data_providers: move |parent_hash, _| { - let cidp_client = verifier_client.clone(); - async move { - let slot_duration = - cumulus_client_consensus_aura::slot_duration_at(&*cidp_client, parent_hash)?; - let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); - - let slot = - sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_slot_duration( - *timestamp, - slot_duration, - ); - - Ok((slot, timestamp)) - } - }, + client: client.clone(), + create_inherent_data_providers: create_inherent_data_providers.clone(), telemetry: telemetry_handle, })); - let relay_chain_verifier = Box::new(RelayChainVerifier::new(client.clone(), |_, _| async { - Ok(()) - })) as Box<_>; + let relay_chain_verifier = Box::new(RelayChainVerifier::new( + client.clone(), + create_inherent_data_providers, + )) as Box<_>; let verifier = Verifier { client, @@ -668,6 +690,9 @@ fn start_aura_consensus( collator_service, authoring_duration: Duration::from_millis(2000), reinitialize: false, + // If necessary, AdditionalConfig CLI params could be extend to make it configurable. + // However, it will be removed once https://github.com/paritytech/polkadot-sdk/issues/6020 is fixed. + max_pov_percentage: None, // default is 85% }; let fut = async move { @@ -729,13 +754,7 @@ pub async fn start_node( para_id: ParaId, additional_config: AdditionalConfig, ) -> sc_service::error::Result<(TaskManager, Arc)> { - let default_backend = parachain_config.chain_spec.default_network_backend(); - // If the network backend is unspecified, use the default for the given chain. - let network_backend = parachain_config - .network - .network_backend - .unwrap_or(default_backend); - match network_backend { + match parachain_config.network.network_backend { NetworkBackendType::Libp2p => { start_node_impl::>( parachain_config, diff --git a/bin/collator/src/parachain/shell_upgrade.rs b/bin/collator/src/parachain/shell_upgrade.rs index 28abe1fd11..2e8d7dbff0 100644 --- a/bin/collator/src/parachain/shell_upgrade.rs +++ b/bin/collator/src/parachain/shell_upgrade.rs @@ -198,6 +198,8 @@ where relay_chain_state, downward_messages: Default::default(), horizontal_messages: Default::default(), + relay_parent_descendants: Default::default(), + collator_peer_id: Default::default(), }; Ok((slot, timestamp, parachain_inherent_data)) } diff --git a/bin/collator/src/rpc.rs b/bin/collator/src/rpc.rs index 96efe69b72..6c2443ae4a 100644 --- a/bin/collator/src/rpc.rs +++ b/bin/collator/src/rpc.rs @@ -342,6 +342,7 @@ where )?; let max_past_logs: u32 = 10_000; + let max_block_range: u32 = 1024; let max_stored_filters: usize = 500; io.merge( EthFilter::new( @@ -351,6 +352,7 @@ where filter_pool, max_stored_filters, max_past_logs, + max_block_range, block_data_cache, ) .into_rpc(), diff --git a/bin/xcm-tools/Cargo.toml b/bin/xcm-tools/Cargo.toml index 2db3bdb1fb..9b6c66bf79 100644 --- a/bin/xcm-tools/Cargo.toml +++ b/bin/xcm-tools/Cargo.toml @@ -8,6 +8,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [[bin]] name = "xcm-tools" path = "src/main.rs" diff --git a/chain-extensions/pallet-assets/Cargo.toml b/chain-extensions/pallet-assets/Cargo.toml index e3e4c2a617..4957a43861 100644 --- a/chain-extensions/pallet-assets/Cargo.toml +++ b/chain-extensions/pallet-assets/Cargo.toml @@ -8,6 +8,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] assets-chain-extension-types = { workspace = true } frame-support = { workspace = true } diff --git a/chain-extensions/pallet-assets/src/lib.rs b/chain-extensions/pallet-assets/src/lib.rs index 6109ae6797..cbb151c95d 100644 --- a/chain-extensions/pallet-assets/src/lib.rs +++ b/chain-extensions/pallet-assets/src/lib.rs @@ -167,10 +167,7 @@ where log::trace!( target: LOG_TARGET, - "approve_transfer: raw arguments: id: {:?}, delegate: {:?}, amount: {:?}", - id, - delegate, - amount + "approve_transfer: raw arguments: id: {id:?}, delegate: {delegate:?}, amount: {amount:?}", ); let call_result = pallet_assets::Pallet::::approve_transfer( diff --git a/chain-extensions/pallet-assets/src/mock.rs b/chain-extensions/pallet-assets/src/mock.rs index 57add996b3..2db3a0c364 100644 --- a/chain-extensions/pallet-assets/src/mock.rs +++ b/chain-extensions/pallet-assets/src/mock.rs @@ -180,9 +180,12 @@ impl ExtBuilder { let mut t = frame_system::GenesisConfig::::default() .build_storage() .unwrap(); - pallet_balances::GenesisConfig:: { balances: vec![] } - .assimilate_storage(&mut t) - .unwrap(); + pallet_balances::GenesisConfig:: { + balances: vec![], + ..Default::default() + } + .assimilate_storage(&mut t) + .unwrap(); let mut ext = sp_io::TestExternalities::new(t); ext.execute_with(|| System::set_block_number(1)); ext diff --git a/chain-extensions/types/assets/Cargo.toml b/chain-extensions/types/assets/Cargo.toml index ddb1119268..d3ae08159f 100644 --- a/chain-extensions/types/assets/Cargo.toml +++ b/chain-extensions/types/assets/Cargo.toml @@ -7,6 +7,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] num_enum = { workspace = true } parity-scale-codec = { workspace = true } diff --git a/chain-extensions/types/assets/src/lib.rs b/chain-extensions/types/assets/src/lib.rs index 29797cef3a..84bf76b9fc 100644 --- a/chain-extensions/types/assets/src/lib.rs +++ b/chain-extensions/types/assets/src/lib.rs @@ -99,7 +99,7 @@ impl From for Outcome { DispatchError::Module(ModuleError { message, .. }) => message, _ => Some("No module error Info"), }; - return match error_text { + match error_text { Some("BalanceLow") => Outcome::BalanceLow, Some("NoAccount") => Outcome::NoAccount, Some("NoPermission") => Outcome::NoPermission, @@ -121,7 +121,7 @@ impl From for Outcome { Some("NotFrozen") => Outcome::NotFrozen, Some("CallbackFailed") => Outcome::CallbackFailed, _ => Outcome::RuntimeError, - }; + } } } diff --git a/chain-extensions/types/unified-accounts/Cargo.toml b/chain-extensions/types/unified-accounts/Cargo.toml index 340f7195ee..351b2f03a0 100644 --- a/chain-extensions/types/unified-accounts/Cargo.toml +++ b/chain-extensions/types/unified-accounts/Cargo.toml @@ -7,6 +7,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] num_enum = { workspace = true } parity-scale-codec = { workspace = true } diff --git a/chain-extensions/unified-accounts/Cargo.toml b/chain-extensions/unified-accounts/Cargo.toml index 91c36e05b8..7cdba58e85 100644 --- a/chain-extensions/unified-accounts/Cargo.toml +++ b/chain-extensions/unified-accounts/Cargo.toml @@ -7,6 +7,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] frame-support = { workspace = true } frame-system = { workspace = true } diff --git a/pallets/astar-xcm-benchmarks/Cargo.toml b/pallets/astar-xcm-benchmarks/Cargo.toml index 5faa029c95..8928a56807 100644 --- a/pallets/astar-xcm-benchmarks/Cargo.toml +++ b/pallets/astar-xcm-benchmarks/Cargo.toml @@ -7,6 +7,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] @@ -76,4 +79,5 @@ runtime-benchmarks = [ "astar-primitives/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks", "sp-runtime/runtime-benchmarks", + "xcm/runtime-benchmarks", ] diff --git a/pallets/astar-xcm-benchmarks/src/mock.rs b/pallets/astar-xcm-benchmarks/src/mock.rs index 47ddd172ae..dba4467fd3 100644 --- a/pallets/astar-xcm-benchmarks/src/mock.rs +++ b/pallets/astar-xcm-benchmarks/src/mock.rs @@ -215,6 +215,7 @@ impl xcm_executor::Config for XcmConfig { type HrmpChannelAcceptedHandler = (); type HrmpChannelClosingHandler = (); type XcmRecorder = (); + type XcmEventEmitter = (); } impl pallet_xcm_benchmarks::Config for Test { @@ -290,8 +291,11 @@ impl pallet_xcm_benchmarks::generic::Config for Test { Err(BenchmarkError::Skip) } - fn fee_asset() -> Result { - Ok((AssetId(Here.into()), 100).into()) + fn worst_case_for_trader() -> Result<(Asset, WeightLimit), BenchmarkError> { + Ok(( + (AssetId(Here.into()), 100).into(), + Limited(Weight::from_parts(5000, 5000)), + )) } } diff --git a/pallets/collator-selection/Cargo.toml b/pallets/collator-selection/Cargo.toml index 0cddd9238b..67116f5ca8 100644 --- a/pallets/collator-selection/Cargo.toml +++ b/pallets/collator-selection/Cargo.toml @@ -9,6 +9,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/pallets/collator-selection/src/benchmarking.rs b/pallets/collator-selection/src/benchmarking.rs index b747f76092..f55438571c 100644 --- a/pallets/collator-selection/src/benchmarking.rs +++ b/pallets/collator-selection/src/benchmarking.rs @@ -40,7 +40,7 @@ pub type BalanceOf = const SEED: u32 = 0; -fn assert_last_event(generic_event: ::RuntimeEvent) { +fn assert_last_event(generic_event: crate::Event) { let events = frame_system::Pallet::::events(); let system_event: ::RuntimeEvent = generic_event.into(); // compare to the last event record @@ -121,7 +121,7 @@ benchmarks! { ); } verify { - assert_last_event::(Event::NewInvulnerables(new_invulnerables).into()); + assert_last_event::(Event::NewInvulnerables(new_invulnerables)); } add_invulnerable { @@ -173,7 +173,7 @@ benchmarks! { ); } verify { - assert_last_event::(Event::NewDesiredCandidates(max).into()); + assert_last_event::(Event::NewDesiredCandidates(max)); } set_candidacy_bond { @@ -185,7 +185,7 @@ benchmarks! { ); } verify { - assert_last_event::(Event::NewCandidacyBond(bond).into()); + assert_last_event::(Event::NewCandidacyBond(bond)); } register_as_candidate { @@ -212,7 +212,7 @@ benchmarks! { }: _(RawOrigin::Signed(caller.clone())) verify { - assert_last_event::(Event::CandidacyApplicationSubmitted(caller, bond / 2u32.into()).into()); + assert_last_event::(Event::CandidacyApplicationSubmitted(caller, bond / 2u32.into())); } // worst case is when called by signed origin @@ -235,7 +235,7 @@ benchmarks! { }: _(RawOrigin::Signed(caller.clone()), caller.clone()) verify { - assert_last_event::(Event::CandidacyApplicationClosed(caller).into()); + assert_last_event::(Event::CandidacyApplicationClosed(caller)); } // worse case is when we have all the max-candidate slots filled except one, and we fill that @@ -268,7 +268,7 @@ benchmarks! { assert_ok!(>::approve_application(origin, caller.clone())); } verify { - assert_last_event::(Event::CandidateAdded(caller, bond / 2u32.into()).into()); + assert_last_event::(Event::CandidateAdded(caller, bond / 2u32.into())); } // worse case is the last candidate kicking. @@ -289,7 +289,7 @@ benchmarks! { ); } verify { - assert_last_event::(Event::CandidateKicked(leaving).into()); + assert_last_event::(Event::CandidateKicked(leaving)); } // worse case is the last candidate leaving. @@ -305,7 +305,7 @@ benchmarks! { whitelist_account!(leaving); }: _(RawOrigin::Signed(leaving.clone())) verify { - assert_last_event::(Event::CandidateRemoved(leaving).into()); + assert_last_event::(Event::CandidateRemoved(leaving)); } withdraw_bond { diff --git a/pallets/collator-selection/src/lib.rs b/pallets/collator-selection/src/lib.rs index ead4a768a0..42862821f8 100644 --- a/pallets/collator-selection/src/lib.rs +++ b/pallets/collator-selection/src/lib.rs @@ -79,6 +79,7 @@ //! [this issue](https://github.com/paritytech/statemint/issues/21#issuecomment-810481073). #![cfg_attr(not(feature = "std"), no_std)] +#![allow(clippy::useless_conversion)] pub use pallet::*; pub mod migrations; @@ -141,9 +142,6 @@ pub mod pallet { /// Configure the pallet by specifying the parameters and types on which it depends. #[pallet::config] pub trait Config: frame_system::Config { - /// Overarching event type. - type RuntimeEvent: From> + IsType<::RuntimeEvent>; - /// The currency mechanism. type Currency: ReservableCurrency; @@ -287,8 +285,8 @@ pub mod pallet { "genesis desired_candidates are more than T::MaxCandidates", ); - >::put(&self.desired_candidates); - >::put(&self.candidacy_bond); + >::put(self.desired_candidates); + >::put(self.candidacy_bond); >::put(&self.invulnerables); } } @@ -397,7 +395,7 @@ pub mod pallet { if max > T::MaxCandidates::get() { log::warn!("max > T::MaxCandidates; you might need to run benchmarks again"); } - >::put(&max); + >::put(max); Self::deposit_event(Event::NewDesiredCandidates(max)); Ok(().into()) } @@ -410,7 +408,7 @@ pub mod pallet { bond: BalanceOf, ) -> DispatchResultWithPostInfo { T::UpdateOrigin::ensure_origin(origin)?; - >::put(&bond); + >::put(bond); Self::deposit_event(Event::NewCandidacyBond(bond)); Ok(().into()) } @@ -720,7 +718,7 @@ pub mod pallet { let candidate = candidates.remove(index); // start un-bonding period, 1 session let session_index = T::ValidatorSet::session_index().saturating_add(1); - >::insert(&who, (session_index, candidate.deposit)); + >::insert(who, (session_index, candidate.deposit)); Ok(candidates.len()) })?; Self::deposit_event(Event::CandidateRemoved(who.clone())); diff --git a/pallets/collator-selection/src/migrations.rs b/pallets/collator-selection/src/migrations.rs index ad341f9632..ae1841bff6 100644 --- a/pallets/collator-selection/src/migrations.rs +++ b/pallets/collator-selection/src/migrations.rs @@ -46,7 +46,7 @@ impl OnRuntimeUpgrade for LastAuthoredBlockCleanup { for (account, _) in LastAuthoredBlock::::iter() { if read >= MAX_SCAN { - log::warn!("LastAuthoredBlockCleanup: scan limit {} reached.", MAX_SCAN); + log::warn!("LastAuthoredBlockCleanup: scan limit {MAX_SCAN} reached."); break; } read += 1; @@ -63,10 +63,7 @@ impl OnRuntimeUpgrade for LastAuthoredBlockCleanup { } log::info!( - "LastAuthoredBlockCleanup completed: removed {} entries (reads {}, writes {}).", - write, - read, - write + "LastAuthoredBlockCleanup completed: removed {write:?} entries (reads {read:?}, writes {write:?})." ); ::DbWeight::get().reads_writes(read, write) diff --git a/pallets/collator-selection/src/mock.rs b/pallets/collator-selection/src/mock.rs index 82664f2ef7..cf34b67b95 100644 --- a/pallets/collator-selection/src/mock.rs +++ b/pallets/collator-selection/src/mock.rs @@ -149,6 +149,7 @@ impl pallet_session::Config for Test { type SessionManager = CollatorSelection; type SessionHandler = TestSessionHandler; type Keys = MockSessionKeys; + type DisablingStrategy = (); type WeightInfo = (); } @@ -186,7 +187,6 @@ impl AccountCheck for DummyAccountCheck { } impl Config for Test { - type RuntimeEvent = RuntimeEvent; type Currency = Balances; type UpdateOrigin = EnsureSignedBy; type GovernanceOrigin = EnsureSignedBy; @@ -234,9 +234,12 @@ pub fn new_test_ext() -> sp_io::TestExternalities { keys, ..Default::default() }; - pallet_balances::GenesisConfig:: { balances } - .assimilate_storage(&mut t) - .unwrap(); + pallet_balances::GenesisConfig:: { + balances, + ..Default::default() + } + .assimilate_storage(&mut t) + .unwrap(); // collator selection must be initialized before session. collator_selection.assimilate_storage(&mut t).unwrap(); session.assimilate_storage(&mut t).unwrap(); diff --git a/pallets/collective-proxy/Cargo.toml b/pallets/collective-proxy/Cargo.toml index 6b79615d84..6f6a5ec35f 100644 --- a/pallets/collective-proxy/Cargo.toml +++ b/pallets/collective-proxy/Cargo.toml @@ -7,6 +7,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] frame-support = { workspace = true } frame-system = { workspace = true } diff --git a/pallets/collective-proxy/src/benchmarking.rs b/pallets/collective-proxy/src/benchmarking.rs index e715cebed4..451d81098a 100644 --- a/pallets/collective-proxy/src/benchmarking.rs +++ b/pallets/collective-proxy/src/benchmarking.rs @@ -21,7 +21,7 @@ use super::*; use frame_benchmarking::v2::*; /// Assert that the last event equals the provided one. -pub(super) fn assert_last_event(generic_event: ::RuntimeEvent) { +pub(super) fn assert_last_event(generic_event: crate::Event) { frame_system::Pallet::::assert_last_event(generic_event.into()); } diff --git a/pallets/collective-proxy/src/lib.rs b/pallets/collective-proxy/src/lib.rs index 94ae03e1a2..23b1e22e10 100644 --- a/pallets/collective-proxy/src/lib.rs +++ b/pallets/collective-proxy/src/lib.rs @@ -55,9 +55,6 @@ pub mod pallet { /// Configuration trait. #[pallet::config] pub trait Config: frame_system::Config { - /// The overarching event type. - type RuntimeEvent: From> + IsType<::RuntimeEvent>; - /// The overarching call type. type RuntimeCall: Parameter + Dispatchable diff --git a/pallets/collective-proxy/src/mock.rs b/pallets/collective-proxy/src/mock.rs index 2929718705..07afa7cda4 100644 --- a/pallets/collective-proxy/src/mock.rs +++ b/pallets/collective-proxy/src/mock.rs @@ -82,7 +82,6 @@ impl InstanceFilter for MockCallFilter { } impl pallet_collective_proxy::Config for Test { - type RuntimeEvent = RuntimeEvent; type RuntimeCall = RuntimeCall; type CollectiveProxy = EnsureSignedBy; type ProxyAccountId = ProxyAccountId; @@ -104,9 +103,12 @@ impl ExtBuilder { .collect(); balances.push((COMMUNITY_ACCOUNT, 1000)); - pallet_balances::GenesisConfig:: { balances: balances } - .assimilate_storage(&mut storage) - .ok(); + pallet_balances::GenesisConfig:: { + balances: balances, + ..Default::default() + } + .assimilate_storage(&mut storage) + .ok(); let mut ext = TestExternalities::from(storage); ext.execute_with(|| { diff --git a/pallets/dapp-staking/Cargo.toml b/pallets/dapp-staking/Cargo.toml index b7f335ad8a..d0218ca7ed 100644 --- a/pallets/dapp-staking/Cargo.toml +++ b/pallets/dapp-staking/Cargo.toml @@ -7,6 +7,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] frame-support = { workspace = true } frame-system = { workspace = true } @@ -28,8 +31,8 @@ assert_matches = { workspace = true, optional = true } frame-benchmarking = { workspace = true, optional = true } [dev-dependencies] -pallet-balances = { workspace = true } -pallet-migrations = { workspace = true } +pallet-balances = { workspace = true, features = ["std"] } +pallet-migrations = { workspace = true, features = ["std"] } [features] default = ["std"] diff --git a/pallets/dapp-staking/rpc/runtime-api/Cargo.toml b/pallets/dapp-staking/rpc/runtime-api/Cargo.toml index 637ce49e50..78bab1827d 100644 --- a/pallets/dapp-staking/rpc/runtime-api/Cargo.toml +++ b/pallets/dapp-staking/rpc/runtime-api/Cargo.toml @@ -7,6 +7,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/pallets/dapp-staking/rpc/runtime-api/src/lib.rs b/pallets/dapp-staking/rpc/runtime-api/src/lib.rs index ed4b1c77f7..caf5fe41fd 100644 --- a/pallets/dapp-staking/rpc/runtime-api/src/lib.rs +++ b/pallets/dapp-staking/rpc/runtime-api/src/lib.rs @@ -18,7 +18,9 @@ #![cfg_attr(not(feature = "std"), no_std)] -use astar_primitives::dapp_staking::{DAppId, EraNumber, PeriodNumber, RankedTier, TierId}; +#[allow(unused_imports)] +use astar_primitives::dapp_staking::TierId; +use astar_primitives::dapp_staking::{DAppId, EraNumber, PeriodNumber, RankedTier}; use astar_primitives::BlockNumber; pub use sp_std::collections::btree_map::BTreeMap; diff --git a/pallets/dapp-staking/src/benchmarking/utils.rs b/pallets/dapp-staking/src/benchmarking/utils.rs index 504beb81dc..a59861fe73 100644 --- a/pallets/dapp-staking/src/benchmarking/utils.rs +++ b/pallets/dapp-staking/src/benchmarking/utils.rs @@ -121,7 +121,7 @@ pub(super) const NUMBER_OF_SLOTS: u32 = 100; pub(super) const SEED: u32 = 9000; /// Assert that the last event equals the provided one. -pub(super) fn assert_last_event(generic_event: ::RuntimeEvent) { +pub(super) fn assert_last_event(generic_event: crate::Event) { frame_system::Pallet::::assert_last_event(generic_event.into()); } diff --git a/pallets/dapp-staking/src/lib.rs b/pallets/dapp-staking/src/lib.rs index 6dd8e496a6..177eb08c05 100644 --- a/pallets/dapp-staking/src/lib.rs +++ b/pallets/dapp-staking/src/lib.rs @@ -110,6 +110,7 @@ pub mod pallet { #[pallet::config] pub trait Config: frame_system::Config { /// The overarching event type. + #[allow(deprecated)] type RuntimeEvent: From> + IsType<::RuntimeEvent> + TryInto>; diff --git a/pallets/dapp-staking/src/test/mock.rs b/pallets/dapp-staking/src/test/mock.rs index af7d06d02c..754b74635d 100644 --- a/pallets/dapp-staking/src/test/mock.rs +++ b/pallets/dapp-staking/src/test/mock.rs @@ -261,9 +261,12 @@ impl ExtBuilder { .map(|(idx, amount)| (idx as u64 + 1, amount)) .collect(); - pallet_balances::GenesisConfig:: { balances: balances } - .assimilate_storage(&mut storage) - .ok(); + pallet_balances::GenesisConfig:: { + balances, + ..Default::default() + } + .assimilate_storage(&mut storage) + .ok(); let mut ext = TestExternalities::from(storage); ext.execute_with(|| { diff --git a/pallets/dapp-staking/src/types.rs b/pallets/dapp-staking/src/types.rs index 374ce13f0f..aa44e0508a 100644 --- a/pallets/dapp-staking/src/types.rs +++ b/pallets/dapp-staking/src/types.rs @@ -145,7 +145,18 @@ pub enum AccountLedgerError { } /// Distinct subperiods in dApp staking protocol. -#[derive(Encode, Decode, MaxEncodedLen, Clone, Copy, Debug, PartialEq, Eq, TypeInfo)] +#[derive( + Encode, + Decode, + DecodeWithMemTracking, + MaxEncodedLen, + Clone, + Copy, + Debug, + PartialEq, + Eq, + TypeInfo, +)] pub enum Subperiod { /// Subperiod during which the focus is on voting. No rewards are earned during this subperiod. Voting, @@ -199,7 +210,18 @@ pub struct PeriodEndInfo { } /// Force types to speed up the next era, and even period. -#[derive(Encode, Decode, MaxEncodedLen, Clone, Copy, Debug, PartialEq, Eq, TypeInfo)] +#[derive( + Encode, + Decode, + DecodeWithMemTracking, + MaxEncodedLen, + Clone, + Copy, + Debug, + PartialEq, + Eq, + TypeInfo, +)] pub enum ForcingType { /// Force the next era to start. Era, @@ -1615,6 +1637,7 @@ where #[derive( Encode, Decode, + DecodeWithMemTracking, MaxEncodedLen, Copy, Clone, @@ -1659,6 +1682,7 @@ impl TierThreshold { #[derive( Encode, Decode, + DecodeWithMemTracking, MaxEncodedLen, RuntimeDebugNoBound, PartialEqNoBound, diff --git a/pallets/democracy-mbm/Cargo.toml b/pallets/democracy-mbm/Cargo.toml index 65ade03104..c002886f7d 100644 --- a/pallets/democracy-mbm/Cargo.toml +++ b/pallets/democracy-mbm/Cargo.toml @@ -8,6 +8,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] astar-primitives = { workspace = true } frame-benchmarking = { workspace = true, optional = true } diff --git a/pallets/democracy-mbm/src/mock.rs b/pallets/democracy-mbm/src/mock.rs index 72718b82d4..6f1127cf04 100644 --- a/pallets/democracy-mbm/src/mock.rs +++ b/pallets/democracy-mbm/src/mock.rs @@ -98,6 +98,7 @@ impl pallet_scheduler::Config for Runtime { type WeightInfo = (); type OriginPrivilegeCmp = EqualPrivilegeOnly; type Preimages = (); + type BlockNumberProvider = System; } impl pallet_democracy::Config for Runtime { @@ -154,6 +155,7 @@ impl ExtBuilder { (DAVE, 10000), (YUKI, 10000), ], + ..Default::default() } .assimilate_storage(&mut t) .unwrap(); diff --git a/pallets/dynamic-evm-base-fee/Cargo.toml b/pallets/dynamic-evm-base-fee/Cargo.toml index 2081a31aaa..d6d5c990a0 100644 --- a/pallets/dynamic-evm-base-fee/Cargo.toml +++ b/pallets/dynamic-evm-base-fee/Cargo.toml @@ -8,6 +8,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] parity-scale-codec = { workspace = true } scale-info = { workspace = true } diff --git a/pallets/dynamic-evm-base-fee/src/lib.rs b/pallets/dynamic-evm-base-fee/src/lib.rs index a651590d95..bfb6c542c2 100644 --- a/pallets/dynamic-evm-base-fee/src/lib.rs +++ b/pallets/dynamic-evm-base-fee/src/lib.rs @@ -108,8 +108,6 @@ pub mod pallet { #[pallet::config] pub trait Config: frame_system::Config { - /// Overarching event type - type RuntimeEvent: From + IsType<::RuntimeEvent>; /// Default base fee per gas value. Used in genesis if no other value specified explicitly. type DefaultBaseFeePerGas: Get; /// Minimum value 'base fee per gas' can be adjusted to. This is a defensive measure to prevent the fee from being too low. diff --git a/pallets/dynamic-evm-base-fee/src/mock.rs b/pallets/dynamic-evm-base-fee/src/mock.rs index b41626903b..ca266c7e51 100644 --- a/pallets/dynamic-evm-base-fee/src/mock.rs +++ b/pallets/dynamic-evm-base-fee/src/mock.rs @@ -62,7 +62,6 @@ parameter_types! { } impl pallet_dynamic_evm_base_fee::Config for TestRuntime { - type RuntimeEvent = RuntimeEvent; type DefaultBaseFeePerGas = DefaultBaseFeePerGas; type MinBaseFeePerGas = MinBaseFeePerGas; type MaxBaseFeePerGas = MaxBaseFeePerGas; diff --git a/pallets/ethereum-checked/Cargo.toml b/pallets/ethereum-checked/Cargo.toml index 3fd9e5022e..ed6f8a1daf 100644 --- a/pallets/ethereum-checked/Cargo.toml +++ b/pallets/ethereum-checked/Cargo.toml @@ -7,6 +7,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] hex = { workspace = true, optional = true } parity-scale-codec = { workspace = true } diff --git a/pallets/ethereum-checked/src/lib.rs b/pallets/ethereum-checked/src/lib.rs index 1dce24f9c1..2ff9fd399d 100644 --- a/pallets/ethereum-checked/src/lib.rs +++ b/pallets/ethereum-checked/src/lib.rs @@ -20,7 +20,7 @@ //! //! ## Overview //! -//! A `pallet-ethereum like pallet that execute transactions from checked source, +//! A `pallet-ethereum` like pallet that execute transactions from checked source, //! like XCM remote call. Only `Call` transactions are supported //! (no `Create`). //! @@ -43,7 +43,7 @@ use parity_scale_codec::{Decode, Encode}; use scale_info::TypeInfo; use ethereum_types::U256; -use fp_ethereum::{TransactionData, ValidatedTransaction}; +use fp_ethereum::{Transaction, TransactionData, ValidatedTransaction}; use fp_evm::{ CallInfo, CallOrCreateInfo, CheckEvmTransaction, CheckEvmTransactionConfig, ExitReason, ExitSucceed, TransactionValidationError, @@ -81,7 +81,17 @@ mod tests; pub type WeightInfoOf = ::WeightInfo; /// Origin for dispatch-able calls. -#[derive(PartialEq, Eq, Clone, Encode, Decode, RuntimeDebug, TypeInfo, MaxEncodedLen)] +#[derive( + PartialEq, + Eq, + Clone, + Encode, + Decode, + DecodeWithMemTracking, + RuntimeDebug, + TypeInfo, + MaxEncodedLen, +)] pub enum RawOrigin { XcmEthereumTx(AccountId), } @@ -182,7 +192,9 @@ impl Pallet { ) -> Result<(PostDispatchInfo, CallInfo), DispatchErrorWithPostInfo> { let chain_id = T::ChainId::get(); let nonce = Nonce::::get(); - let tx = checked_tx.into_ethereum_tx(Nonce::::get(), chain_id); + let tx: Transaction = checked_tx + .into_ethereum_tx(Nonce::::get(), chain_id) + .into(); let tx_data: TransactionData = (&tx).into(); let (weight_limit, proof_size_base_cost) = @@ -247,7 +259,7 @@ impl Pallet { } // Execute the tx. - let (post_info, apply_info) = T::ValidatedTransaction::apply(source, tx)?; + let (post_info, apply_info) = T::ValidatedTransaction::apply(source, tx, None)?; match apply_info { CallOrCreateInfo::Call(info) => Ok((post_info, info)), // It is not possible to have a `Create` transaction via `CheckedEthereumTx`. diff --git a/pallets/ethereum-checked/src/mock.rs b/pallets/ethereum-checked/src/mock.rs index 9e1d697920..586de8df9f 100644 --- a/pallets/ethereum-checked/src/mock.rs +++ b/pallets/ethereum-checked/src/mock.rs @@ -139,7 +139,6 @@ impl pallet_evm::Config for TestRuntime { type WithdrawOrigin = pallet_evm::EnsureAddressTruncated; type AddressMapping = MockAddressMapping; type Currency = Balances; - type RuntimeEvent = RuntimeEvent; type Runner = pallet_evm::runner::stack::Runner; type PrecompilesType = (); type PrecompilesValue = (); @@ -153,6 +152,8 @@ impl pallet_evm::Config for TestRuntime { type GasLimitPovSizeRatio = ConstU64<4>; type AccountProvider = pallet_evm::FrameSystemAccountProvider; type GasLimitStorageGrowthRatio = ConstU64<0>; + type CreateOriginFilter = (); + type CreateInnerOriginFilter = (); } parameter_types! { @@ -160,7 +161,6 @@ parameter_types! { } impl pallet_ethereum::Config for TestRuntime { - type RuntimeEvent = RuntimeEvent; type StateRoot = pallet_ethereum::IntermediateStateRoot<::Version>; type PostLogContent = PostBlockAndTxnHashes; @@ -259,6 +259,7 @@ impl ExtBuilder { pallet_balances::GenesisConfig:: { balances: self.balances, + ..Default::default() } .assimilate_storage(&mut t) .unwrap(); @@ -278,6 +279,7 @@ impl ExtBuilder { None, Some(U256::zero()), vec![], + vec![], )); System::assert_last_event(RuntimeEvent::Evm(pallet_evm::Event::Created { address: contract_address(), diff --git a/pallets/ethereum-checked/src/tests.rs b/pallets/ethereum-checked/src/tests.rs index 74189ddb1a..504b9b46b3 100644 --- a/pallets/ethereum-checked/src/tests.rs +++ b/pallets/ethereum-checked/src/tests.rs @@ -22,7 +22,7 @@ use super::*; use mock::*; use astar_primitives::ethereum_checked::EthereumTxInput; -use ethereum::{ReceiptV3 as Receipt, TransactionV2 as Transaction}; +use ethereum::{ReceiptV4 as Receipt, TransactionV3 as Transaction}; use frame_support::{assert_noop, assert_ok}; use sp_runtime::DispatchError; diff --git a/pallets/inflation/Cargo.toml b/pallets/inflation/Cargo.toml index 0422dce7cb..bb803f2d27 100644 --- a/pallets/inflation/Cargo.toml +++ b/pallets/inflation/Cargo.toml @@ -8,6 +8,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] log = { workspace = true } parity-scale-codec = { workspace = true } diff --git a/pallets/inflation/src/benchmarking.rs b/pallets/inflation/src/benchmarking.rs index 2739d1628b..86cc6cd4a9 100644 --- a/pallets/inflation/src/benchmarking.rs +++ b/pallets/inflation/src/benchmarking.rs @@ -26,7 +26,7 @@ use sp_std::prelude::*; const UNIT: u128 = 1_000_000_000_000_000_000; /// Assert that the last event equals the provided one. -fn assert_last_event(generic_event: ::RuntimeEvent) { +fn assert_last_event(generic_event: crate::Event) { System::::assert_last_event(generic_event.into()); } diff --git a/pallets/inflation/src/lib.rs b/pallets/inflation/src/lib.rs index 30e2a88589..f18958d7ed 100644 --- a/pallets/inflation/src/lib.rs +++ b/pallets/inflation/src/lib.rs @@ -157,9 +157,6 @@ pub mod pallet { /// Cycle ('year') configuration - covers periods, subperiods, eras & blocks. type CycleConfiguration: CycleConfiguration; - /// The overarching event type. - type RuntimeEvent: From> + IsType<::RuntimeEvent>; - /// Weight information for extrinsics in this pallet. type WeightInfo: WeightInfo; } @@ -555,7 +552,19 @@ pub mod pallet { /// Configuration of the inflation. /// Contains information about rewards, when inflation is recalculated, etc. -#[derive(Encode, Decode, MaxEncodedLen, Default, Copy, Clone, Debug, PartialEq, Eq, TypeInfo)] +#[derive( + Encode, + Decode, + DecodeWithMemTracking, + MaxEncodedLen, + Default, + Copy, + Clone, + Debug, + PartialEq, + Eq, + TypeInfo, +)] #[cfg_attr(feature = "std", derive(serde::Serialize, serde::Deserialize))] pub struct InflationConfiguration { /// Era number at which the inflation configuration must be recalculated, based on the total issuance at that block. @@ -630,6 +639,7 @@ impl InflationConfiguration { #[derive( Encode, Decode, + DecodeWithMemTracking, MaxEncodedLen, Copy, Clone, diff --git a/pallets/inflation/src/mock.rs b/pallets/inflation/src/mock.rs index faff40744f..a8938c32e0 100644 --- a/pallets/inflation/src/mock.rs +++ b/pallets/inflation/src/mock.rs @@ -105,7 +105,6 @@ impl pallet_inflation::Config for Test { type Currency = Balances; type PayoutPerBlock = DummyPayoutPerBlock; type CycleConfiguration = DummyCycleConfiguration; - type RuntimeEvent = RuntimeEvent; type WeightInfo = (); } @@ -128,6 +127,7 @@ impl ExternalityBuilder { // This will cause some initial issuance pallet_balances::GenesisConfig:: { balances: vec![(1, 9 * unit), (2, 7 * unit), (3, 5 * unit)], + ..Default::default() } .assimilate_storage(&mut storage) .ok(); diff --git a/pallets/price-aggregator/Cargo.toml b/pallets/price-aggregator/Cargo.toml index 0471595eca..7a67c3f059 100644 --- a/pallets/price-aggregator/Cargo.toml +++ b/pallets/price-aggregator/Cargo.toml @@ -8,6 +8,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] log = { workspace = true } parity-scale-codec = { workspace = true } diff --git a/pallets/price-aggregator/src/lib.rs b/pallets/price-aggregator/src/lib.rs index 4c4b85a939..fabee5af8a 100644 --- a/pallets/price-aggregator/src/lib.rs +++ b/pallets/price-aggregator/src/lib.rs @@ -263,9 +263,6 @@ pub mod pallet { #[pallet::config] pub trait Config: frame_system::Config { - /// The overarching event type. - type RuntimeEvent: From> + IsType<::RuntimeEvent>; - /// Maximum number of distinct currency values we can store during a single block. #[pallet::constant] type MaxValuesPerBlock: Get; diff --git a/pallets/price-aggregator/src/mock.rs b/pallets/price-aggregator/src/mock.rs index c3d2d7a1b4..0721c7ed02 100644 --- a/pallets/price-aggregator/src/mock.rs +++ b/pallets/price-aggregator/src/mock.rs @@ -57,7 +57,6 @@ parameter_types! { } impl pallet_price_aggregator::Config for Test { - type RuntimeEvent = RuntimeEvent; // Should at least be 3 for tests to work properly type MaxValuesPerBlock = ConstU32<4>; type ProcessBlockValues = AverageBlockValue; diff --git a/pallets/static-price-provider/Cargo.toml b/pallets/static-price-provider/Cargo.toml index 550512c72e..aa52851b67 100644 --- a/pallets/static-price-provider/Cargo.toml +++ b/pallets/static-price-provider/Cargo.toml @@ -8,6 +8,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] log = { workspace = true } parity-scale-codec = { workspace = true } diff --git a/pallets/static-price-provider/src/lib.rs b/pallets/static-price-provider/src/lib.rs index 067b7dcab2..5a99926214 100644 --- a/pallets/static-price-provider/src/lib.rs +++ b/pallets/static-price-provider/src/lib.rs @@ -56,10 +56,7 @@ pub mod pallet { pub struct Pallet(PhantomData); #[pallet::config] - pub trait Config: frame_system::Config { - /// The overarching event type. - type RuntimeEvent: From> + IsType<::RuntimeEvent>; - } + pub trait Config: frame_system::Config {} #[pallet::event] #[pallet::generate_deposit(pub(crate) fn deposit_event)] diff --git a/pallets/static-price-provider/src/mock.rs b/pallets/static-price-provider/src/mock.rs index 1af5c0a2a6..dc95c9d31f 100644 --- a/pallets/static-price-provider/src/mock.rs +++ b/pallets/static-price-provider/src/mock.rs @@ -47,9 +47,7 @@ impl pallet_balances::Config for Test { type AccountStore = System; } -impl pallet_static_price_provider::Config for Test { - type RuntimeEvent = RuntimeEvent; -} +impl pallet_static_price_provider::Config for Test {} construct_runtime!( pub struct Test { diff --git a/pallets/unified-accounts/Cargo.toml b/pallets/unified-accounts/Cargo.toml index 4b37bbae3b..3cf6e706e8 100644 --- a/pallets/unified-accounts/Cargo.toml +++ b/pallets/unified-accounts/Cargo.toml @@ -7,6 +7,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] diff --git a/pallets/unified-accounts/src/benchmarking.rs b/pallets/unified-accounts/src/benchmarking.rs index 9f3a181c5f..0ca8845f17 100644 --- a/pallets/unified-accounts/src/benchmarking.rs +++ b/pallets/unified-accounts/src/benchmarking.rs @@ -25,7 +25,7 @@ use frame_system::RawOrigin; use sp_std::prelude::*; /// Assert that the last event equals the provided one. -fn assert_last_event(generic_event: ::RuntimeEvent) { +fn assert_last_event(generic_event: crate::Event) { frame_system::Pallet::::assert_last_event(generic_event.into()); } diff --git a/pallets/unified-accounts/src/lib.rs b/pallets/unified-accounts/src/lib.rs index c74289bb1c..08939fc20d 100644 --- a/pallets/unified-accounts/src/lib.rs +++ b/pallets/unified-accounts/src/lib.rs @@ -72,7 +72,7 @@ use frame_support::{ traits::{ fungible::{Inspect as FungibleInspect, Mutate as FungibleMutate}, tokens::{Fortitude::*, Precision::*, Preservation::*}, - IsType, OnKilledAccount, + OnKilledAccount, }, }; use frame_system::{ensure_signed, pallet_prelude::*}; @@ -108,8 +108,6 @@ pub mod pallet { #[pallet::config] pub trait Config: frame_system::Config { - /// The overarching event type - type RuntimeEvent: From> + IsType<::RuntimeEvent>; /// The Currency for managing evm address assets type Currency: FungibleMutate; /// Default address conversion diff --git a/pallets/unified-accounts/src/mock.rs b/pallets/unified-accounts/src/mock.rs index 7c39bb86a8..3b9b9dcbfc 100644 --- a/pallets/unified-accounts/src/mock.rs +++ b/pallets/unified-accounts/src/mock.rs @@ -94,7 +94,6 @@ impl pallet_evm::Config for TestRuntime { type WithdrawOrigin = pallet_evm::EnsureAddressTruncated; type AddressMapping = UnifiedAccounts; type Currency = Balances; - type RuntimeEvent = RuntimeEvent; type Runner = pallet_evm::runner::stack::Runner; type PrecompilesType = (); type PrecompilesValue = (); @@ -108,6 +107,8 @@ impl pallet_evm::Config for TestRuntime { type GasLimitPovSizeRatio = ConstU64<4>; type AccountProvider = pallet_evm::FrameSystemAccountProvider; type GasLimitStorageGrowthRatio = ConstU64<0>; + type CreateOriginFilter = (); + type CreateInnerOriginFilter = (); } parameter_types! { @@ -115,7 +116,6 @@ parameter_types! { } impl pallet_ethereum::Config for TestRuntime { - type RuntimeEvent = RuntimeEvent; type StateRoot = pallet_ethereum::IntermediateStateRoot<::Version>; type PostLogContent = PostBlockAndTxnHashes; @@ -127,7 +127,6 @@ parameter_types! { } impl pallet_unified_accounts::Config for TestRuntime { - type RuntimeEvent = RuntimeEvent; type Currency = Balances; type DefaultMappings = HashedDefaultMappings; type ChainId = ChainId; @@ -187,6 +186,7 @@ impl ExtBuilder { pallet_balances::GenesisConfig:: { balances: self.balances, + ..Default::default() } .assimilate_storage(&mut t) .unwrap(); diff --git a/pallets/vesting-mbm/Cargo.toml b/pallets/vesting-mbm/Cargo.toml index 39e854e99f..b9c204739f 100644 --- a/pallets/vesting-mbm/Cargo.toml +++ b/pallets/vesting-mbm/Cargo.toml @@ -8,6 +8,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] astar-primitives = { workspace = true } frame-benchmarking = { workspace = true, optional = true } diff --git a/pallets/vesting-mbm/src/mock.rs b/pallets/vesting-mbm/src/mock.rs index 95062f474d..de3553ae14 100644 --- a/pallets/vesting-mbm/src/mock.rs +++ b/pallets/vesting-mbm/src/mock.rs @@ -100,6 +100,7 @@ impl ExtBuilder { .unwrap(); pallet_balances::GenesisConfig:: { balances: vec![(ALICE, 100), (BOB, 100), (CHARLIE, 1000), (DAVE, 800)], + ..Default::default() } .assimilate_storage(&mut t) .unwrap(); diff --git a/pallets/xc-asset-config/Cargo.toml b/pallets/xc-asset-config/Cargo.toml index dbf5955a29..e93927740f 100644 --- a/pallets/xc-asset-config/Cargo.toml +++ b/pallets/xc-asset-config/Cargo.toml @@ -6,6 +6,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] log = { workspace = true } serde = { workspace = true, optional = true } @@ -55,6 +58,7 @@ runtime-benchmarks = [ "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "sp-runtime/runtime-benchmarks", + "xcm/runtime-benchmarks", ] try-runtime = [ "frame-support/try-runtime", diff --git a/pallets/xc-asset-config/src/benchmarking.rs b/pallets/xc-asset-config/src/benchmarking.rs index 899ec1c46b..04779662c4 100644 --- a/pallets/xc-asset-config/src/benchmarking.rs +++ b/pallets/xc-asset-config/src/benchmarking.rs @@ -34,7 +34,7 @@ benchmarks! { }: _(RawOrigin::Root, Box::new(asset_location.clone().into_versioned()), asset_id) verify { - assert_eq!(AssetIdToLocation::::get(&asset_id), Some(asset_location.into_versioned())); + assert_eq!(AssetIdToLocation::::get(asset_id), Some(asset_location.into_versioned())); } set_asset_units_per_second { @@ -46,7 +46,7 @@ benchmarks! { }: _(RawOrigin::Root, Box::new(asset_location.clone().into_versioned()), units) verify { - assert_eq!(AssetLocationUnitsPerSecond::::get(&asset_location.into_versioned()), Some(units)); + assert_eq!(AssetLocationUnitsPerSecond::::get(asset_location.into_versioned()), Some(units)); } change_existing_asset_location { @@ -61,9 +61,9 @@ benchmarks! { }: _(RawOrigin::Root, Box::new(new_asset_location.clone().into_versioned()), asset_id) verify { - assert!(!AssetLocationToId::::contains_key(&asset_location.clone().into_versioned())); - assert_eq!(AssetLocationToId::::get(&new_asset_location.clone().into_versioned()), Some(asset_id)); - assert_eq!(AssetLocationUnitsPerSecond::::get(&new_asset_location.into_versioned()), Some(units)); + assert!(!AssetLocationToId::::contains_key(asset_location.clone().into_versioned())); + assert_eq!(AssetLocationToId::::get(new_asset_location.clone().into_versioned()), Some(asset_id)); + assert_eq!(AssetLocationUnitsPerSecond::::get(new_asset_location.into_versioned()), Some(units)); } remove_payment_asset { @@ -76,7 +76,7 @@ benchmarks! { }: _(RawOrigin::Root, Box::new(asset_location.clone().into_versioned())) verify { - assert!(!AssetLocationUnitsPerSecond::::contains_key(&asset_location.into_versioned())); + assert!(!AssetLocationUnitsPerSecond::::contains_key(asset_location.into_versioned())); } remove_asset { @@ -89,9 +89,9 @@ benchmarks! { }: _(RawOrigin::Root, asset_id) verify { - assert!(!AssetLocationToId::::contains_key(&asset_location.clone().into_versioned())); + assert!(!AssetLocationToId::::contains_key(asset_location.clone().into_versioned())); assert!(!AssetIdToLocation::::contains_key(asset_id)); - assert!(!AssetLocationUnitsPerSecond::::contains_key(&asset_location.into_versioned())); + assert!(!AssetLocationUnitsPerSecond::::contains_key(asset_location.into_versioned())); } } diff --git a/pallets/xc-asset-config/src/lib.rs b/pallets/xc-asset-config/src/lib.rs index 0f3dd81f6a..00e7bf14fb 100644 --- a/pallets/xc-asset-config/src/lib.rs +++ b/pallets/xc-asset-config/src/lib.rs @@ -128,8 +128,6 @@ pub mod pallet { #[pallet::config] pub trait Config: frame_system::Config { - type RuntimeEvent: From> + IsType<::RuntimeEvent>; - /// The Asset Id. This will be used to create the asset and to associate it with /// a AssetLocation type AssetId: Member + Parameter + Default + Copy + HasCompact + MaxEncodedLen; @@ -152,6 +150,7 @@ pub mod pallet { MultiLocationNotSupported, } + #[allow(clippy::large_enum_variant)] #[pallet::event] #[pallet::generate_deposit(pub(crate) fn deposit_event)] pub enum Event { @@ -218,7 +217,7 @@ pub mod pallet { // Ensure such an assetId does not exist ensure!( - !AssetIdToLocation::::contains_key(&asset_id), + !AssetIdToLocation::::contains_key(asset_id), Error::::AssetAlreadyRegistered ); @@ -226,7 +225,7 @@ pub mod pallet { .map_err(|_| Error::::MultiLocationNotSupported)?; let asset_location = VersionedLocation::V5(v5_asset_loc); - AssetIdToLocation::::insert(&asset_id, asset_location.clone()); + AssetIdToLocation::::insert(asset_id, asset_location.clone()); AssetLocationToId::::insert(&asset_location, asset_id); Self::deposit_event(Event::AssetRegistered { @@ -281,10 +280,10 @@ pub mod pallet { let new_asset_location = VersionedLocation::V5(v5_asset_loc); let previous_asset_location = - AssetIdToLocation::::get(&asset_id).ok_or(Error::::AssetDoesNotExist)?; + AssetIdToLocation::::get(asset_id).ok_or(Error::::AssetDoesNotExist)?; // Insert new asset type info - AssetIdToLocation::::insert(&asset_id, new_asset_location.clone()); + AssetIdToLocation::::insert(asset_id, new_asset_location.clone()); AssetLocationToId::::insert(&new_asset_location, asset_id); // Remove previous asset type info @@ -334,9 +333,9 @@ pub mod pallet { T::ManagerOrigin::ensure_origin(origin)?; let asset_location = - AssetIdToLocation::::get(&asset_id).ok_or(Error::::AssetDoesNotExist)?; + AssetIdToLocation::::get(asset_id).ok_or(Error::::AssetDoesNotExist)?; - AssetIdToLocation::::remove(&asset_id); + AssetIdToLocation::::remove(asset_id); AssetLocationToId::::remove(&asset_location); AssetLocationUnitsPerSecond::::remove(&asset_location); diff --git a/pallets/xc-asset-config/src/mock.rs b/pallets/xc-asset-config/src/mock.rs index 0909cd4932..ae9e13f7f0 100644 --- a/pallets/xc-asset-config/src/mock.rs +++ b/pallets/xc-asset-config/src/mock.rs @@ -65,7 +65,6 @@ impl pallet_balances::Config for Test { type AssetId = u128; impl pallet_xc_asset_config::Config for Test { - type RuntimeEvent = RuntimeEvent; type AssetId = AssetId; type ManagerOrigin = frame_system::EnsureRoot; type WeightInfo = (); diff --git a/precompiles/assets-erc20/Cargo.toml b/precompiles/assets-erc20/Cargo.toml index 56d3315e67..29b3406289 100644 --- a/precompiles/assets-erc20/Cargo.toml +++ b/precompiles/assets-erc20/Cargo.toml @@ -7,6 +7,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] log = { workspace = true } num_enum = { workspace = true } diff --git a/precompiles/assets-erc20/src/lib.rs b/precompiles/assets-erc20/src/lib.rs index 179c9e859e..2808cfc87d 100644 --- a/precompiles/assets-erc20/src/lib.rs +++ b/precompiles/assets-erc20/src/lib.rs @@ -346,7 +346,7 @@ where { let caller: Runtime::AccountId = Runtime::AddressMapping::into_account_id(handle.context().caller); - let from: Runtime::AccountId = Runtime::AddressMapping::into_account_id(from.clone()); + let from: Runtime::AccountId = Runtime::AddressMapping::into_account_id(from); let to: Runtime::AccountId = Runtime::AddressMapping::into_account_id(to); // If caller is "from", it can spend as much as it wants from its own balance. diff --git a/precompiles/assets-erc20/src/mock.rs b/precompiles/assets-erc20/src/mock.rs index dc0b0140e0..ab8ff68eec 100644 --- a/precompiles/assets-erc20/src/mock.rs +++ b/precompiles/assets-erc20/src/mock.rs @@ -133,7 +133,6 @@ impl pallet_evm::Config for Runtime { type WithdrawOrigin = EnsureAddressNever; type AddressMapping = AccountId; type Currency = Balances; - type RuntimeEvent = RuntimeEvent; type Runner = pallet_evm::runner::stack::Runner; type PrecompilesType = Erc20AssetsPrecompileSet; type PrecompilesValue = PrecompilesValue; @@ -148,6 +147,8 @@ impl pallet_evm::Config for Runtime { type GasLimitPovSizeRatio = ConstU64<4>; type AccountProvider = pallet_evm::FrameSystemAccountProvider; type GasLimitStorageGrowthRatio = ConstU64<0>; + type CreateOriginFilter = (); + type CreateInnerOriginFilter = (); } // These parameters dont matter much as this will only be called by root with the forced arguments @@ -217,6 +218,7 @@ impl ExtBuilder { pallet_balances::GenesisConfig:: { balances: self.balances, + ..Default::default() } .assimilate_storage(&mut t) .expect("Pallet balances storage can be assimilated"); diff --git a/precompiles/assets-erc20/src/tests.rs b/precompiles/assets-erc20/src/tests.rs index c060cf23a1..cd96498f1a 100644 --- a/precompiles/assets-erc20/src/tests.rs +++ b/precompiles/assets-erc20/src/tests.rs @@ -258,7 +258,7 @@ fn mint_is_ok() { value: mint_amount.into(), }, ) - .expect_cost(28681756) // 1 weight => 1 gas in mock + .expect_cost(26624756) // 1 weight => 1 gas in mock .expect_log(log3( LocalAssetId(0u128), SELECTOR_LOG_TRANSFER, @@ -347,7 +347,7 @@ fn burn_is_ok() { value: burn_amount.into(), }, ) - .expect_cost(37096756) + .expect_cost(34663756) .expect_log(log3( LocalAssetId(0u128), SELECTOR_LOG_TRANSFER, diff --git a/precompiles/dapp-staking/Cargo.toml b/precompiles/dapp-staking/Cargo.toml index c72023cb10..f39ce8ded9 100644 --- a/precompiles/dapp-staking/Cargo.toml +++ b/precompiles/dapp-staking/Cargo.toml @@ -8,6 +8,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] log = { workspace = true } num_enum = { workspace = true } diff --git a/precompiles/dapp-staking/src/test/mock.rs b/precompiles/dapp-staking/src/test/mock.rs index 94ca2256bf..d577eebe53 100644 --- a/precompiles/dapp-staking/src/test/mock.rs +++ b/precompiles/dapp-staking/src/test/mock.rs @@ -136,7 +136,6 @@ impl pallet_evm::Config for Test { type WithdrawOrigin = EnsureAddressNever; type AddressMapping = AddressMapper; type Currency = Balances; - type RuntimeEvent = RuntimeEvent; type Runner = pallet_evm::runner::stack::Runner; type PrecompilesType = DappStakingPrecompile; type PrecompilesValue = PrecompilesValue; @@ -151,6 +150,8 @@ impl pallet_evm::Config for Test { type GasLimitPovSizeRatio = ConstU64<4>; type AccountProvider = pallet_evm::FrameSystemAccountProvider; type GasLimitStorageGrowthRatio = ConstU64<0>; + type CreateOriginFilter = (); + type CreateInnerOriginFilter = (); } #[derive_impl(pallet_timestamp::config_preludes::TestDefaultConfig)] @@ -441,10 +442,6 @@ pub fn dapp_staking_events() -> Vec> { System::events() .into_iter() .map(|r| r.event) - .filter_map(|e| { - ::RuntimeEvent::from(e) - .try_into() - .ok() - }) + .filter_map(|e| e.try_into().ok()) .collect::>() } diff --git a/precompiles/dispatch-lockdrop/Cargo.toml b/precompiles/dispatch-lockdrop/Cargo.toml index f6f508c611..be38f23178 100644 --- a/precompiles/dispatch-lockdrop/Cargo.toml +++ b/precompiles/dispatch-lockdrop/Cargo.toml @@ -7,6 +7,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] fp-evm = { workspace = true } frame-support = { workspace = true } diff --git a/precompiles/dispatch-lockdrop/src/lib.rs b/precompiles/dispatch-lockdrop/src/lib.rs index 26f58e1862..5708a509dd 100644 --- a/precompiles/dispatch-lockdrop/src/lib.rs +++ b/precompiles/dispatch-lockdrop/src/lib.rs @@ -80,12 +80,10 @@ where ) -> EvmResult { log::trace!( target: LOG_TARGET, - "raw arguments: call: {:?}, pubkey: {:?}", - call, - pubkey + "raw arguments: call: {call:?}, pubkey: {pubkey:?}", ); - let caller: H160 = handle.context().caller.into(); + let caller: H160 = handle.context().caller; let input: Vec = call.into(); // Record a fixed amount of weight to ensure there is no free execution @@ -96,7 +94,7 @@ where // Ensure that the caller matches the public key if caller != Self::get_evm_address_from_pubkey(pubkey.as_bytes()) { let message: &str = "caller does not match the public key"; - log::trace!(target: LOG_TARGET, "{}", message); + log::trace!(target: LOG_TARGET, "{message}"); return Err(revert(message)); } diff --git a/precompiles/dispatch-lockdrop/src/mock.rs b/precompiles/dispatch-lockdrop/src/mock.rs index 0b0681c49d..df51c04234 100644 --- a/precompiles/dispatch-lockdrop/src/mock.rs +++ b/precompiles/dispatch-lockdrop/src/mock.rs @@ -153,7 +153,6 @@ impl pallet_evm::Config for TestRuntime { type WithdrawOrigin = EnsureAddressNever; type AddressMapping = AddressMapper; type Currency = Balances; - type RuntimeEvent = RuntimeEvent; type Runner = pallet_evm::runner::stack::Runner; type PrecompilesType = TestPrecompileSet; type PrecompilesValue = PrecompilesValue; @@ -168,6 +167,8 @@ impl pallet_evm::Config for TestRuntime { type GasLimitPovSizeRatio = ConstU64<4>; type AccountProvider = pallet_evm::FrameSystemAccountProvider; type GasLimitStorageGrowthRatio = ConstU64<0>; + type CreateOriginFilter = (); + type CreateInnerOriginFilter = (); } impl pallet_utility::Config for TestRuntime { diff --git a/precompiles/sr25519/Cargo.toml b/precompiles/sr25519/Cargo.toml index 7ed56d51ad..1f8a1fa632 100644 --- a/precompiles/sr25519/Cargo.toml +++ b/precompiles/sr25519/Cargo.toml @@ -7,6 +7,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] log = { workspace = true } num_enum = { workspace = true } diff --git a/precompiles/sr25519/src/lib.rs b/precompiles/sr25519/src/lib.rs index 9d7dae81f9..ff3c2184dd 100644 --- a/precompiles/sr25519/src/lib.rs +++ b/precompiles/sr25519/src/lib.rs @@ -49,7 +49,7 @@ impl Sr25519Precompile { // Parse pub key let public = sr25519::Public::unchecked_from(public); // Parse signature - let signature = if let Ok(sig) = sr25519::Signature::from_slice(&signature.as_bytes()) { + let signature = if let Ok(sig) = sr25519::Signature::from_slice(signature.as_bytes()) { sig } else { // Return `false` if signature length is wrong @@ -58,17 +58,14 @@ impl Sr25519Precompile { log::trace!( target: "sr25519-precompile", - "Verify signature {:?} for public {:?} and message {:?}", - signature, public, message, + "Verify signature {signature:?} for public {public:?} and message {message:?}", ); - let is_confirmed = - sp_io::crypto::sr25519_verify(&signature, &message.as_bytes(), &public.into()); + let is_confirmed = sp_io::crypto::sr25519_verify(&signature, message.as_bytes(), &public); log::trace!( target: "sr25519-precompile", - "Verified signature {:?} is {:?}", - signature, is_confirmed, + "Verified signature {signature:?} is {is_confirmed:?}", ); Ok(is_confirmed) diff --git a/precompiles/sr25519/src/mock.rs b/precompiles/sr25519/src/mock.rs index 42480a9f7d..632635a718 100644 --- a/precompiles/sr25519/src/mock.rs +++ b/precompiles/sr25519/src/mock.rs @@ -31,7 +31,7 @@ use serde::{Deserialize, Serialize}; use pallet_evm::{ AddressMapping, EnsureAddressNever, EnsureAddressRoot, PrecompileResult, PrecompileSet, }; -use sp_core::H160; +use sp_core::{DecodeWithMemTracking, H160}; use sp_runtime::{traits::IdentityLookup, BuildStorage}; pub type AccountId = TestAccount; @@ -48,6 +48,7 @@ pub const PRECOMPILE_ADDRESS: H160 = H160::repeat_byte(0xBB); Clone, Encode, Decode, + DecodeWithMemTracking, Debug, MaxEncodedLen, Serialize, @@ -171,7 +172,6 @@ impl pallet_evm::Config for Runtime { type WithdrawOrigin = EnsureAddressNever; type AddressMapping = AccountId; type Currency = Balances; - type RuntimeEvent = RuntimeEvent; type Runner = pallet_evm::runner::stack::Runner; type PrecompilesType = TestPrecompileSet; type PrecompilesValue = PrecompilesValue; @@ -186,6 +186,8 @@ impl pallet_evm::Config for Runtime { type GasLimitPovSizeRatio = ConstU64<4>; type AccountProvider = pallet_evm::FrameSystemAccountProvider; type GasLimitStorageGrowthRatio = ConstU64<0>; + type CreateOriginFilter = (); + type CreateInnerOriginFilter = (); } // Configure a mock runtime to test the pallet. diff --git a/precompiles/substrate-ecdsa/Cargo.toml b/precompiles/substrate-ecdsa/Cargo.toml index c891b865eb..b130e9e17a 100644 --- a/precompiles/substrate-ecdsa/Cargo.toml +++ b/precompiles/substrate-ecdsa/Cargo.toml @@ -7,6 +7,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] assert_matches = { workspace = true } log = { workspace = true } diff --git a/precompiles/substrate-ecdsa/src/lib.rs b/precompiles/substrate-ecdsa/src/lib.rs index fbb94b8523..d2cd4b2e25 100644 --- a/precompiles/substrate-ecdsa/src/lib.rs +++ b/precompiles/substrate-ecdsa/src/lib.rs @@ -73,16 +73,14 @@ impl SubstrateEcdsaPrecompile { log::trace!( target: "substrate-ecdsa-precompile", - "Verify signature {:?} for public {:?} and message {:?}", - signature, public, message, + "Verify signature {signature:?} for public {public:?} and message {message:?}", ); let is_confirmed = sp_io::crypto::ecdsa_verify(&signature, &message[..], &public); log::trace!( target: "substrate-ecdsa-precompile", - "Verified signature {:?} is {:?}", - signature, is_confirmed, + "Verified signature {signature:?} is {is_confirmed:?}", ); Ok(is_confirmed) diff --git a/precompiles/substrate-ecdsa/src/mock.rs b/precompiles/substrate-ecdsa/src/mock.rs index 0ef02800f2..6e3aeabcab 100644 --- a/precompiles/substrate-ecdsa/src/mock.rs +++ b/precompiles/substrate-ecdsa/src/mock.rs @@ -31,7 +31,7 @@ use serde::{Deserialize, Serialize}; use pallet_evm::{ AddressMapping, EnsureAddressNever, EnsureAddressRoot, PrecompileResult, PrecompileSet, }; -use sp_core::H160; +use sp_core::{DecodeWithMemTracking, H160}; use sp_runtime::{traits::IdentityLookup, BuildStorage}; pub type AccountId = TestAccount; @@ -48,6 +48,7 @@ pub const PRECOMPILE_ADDRESS: H160 = H160::repeat_byte(0x3F); Clone, Encode, Decode, + DecodeWithMemTracking, Debug, MaxEncodedLen, Serialize, @@ -171,7 +172,6 @@ impl pallet_evm::Config for Runtime { type WithdrawOrigin = EnsureAddressNever; type AddressMapping = AccountId; type Currency = Balances; - type RuntimeEvent = RuntimeEvent; type Runner = pallet_evm::runner::stack::Runner; type PrecompilesType = TestPrecompileSet; type PrecompilesValue = PrecompilesValue; @@ -186,6 +186,8 @@ impl pallet_evm::Config for Runtime { type GasLimitPovSizeRatio = ConstU64<4>; type AccountProvider = pallet_evm::FrameSystemAccountProvider; type GasLimitStorageGrowthRatio = ConstU64<0>; + type CreateOriginFilter = (); + type CreateInnerOriginFilter = (); } // Configure a mock runtime to test the pallet. diff --git a/precompiles/unified-accounts/Cargo.toml b/precompiles/unified-accounts/Cargo.toml index dbbdc909e1..9589e69164 100644 --- a/precompiles/unified-accounts/Cargo.toml +++ b/precompiles/unified-accounts/Cargo.toml @@ -7,6 +7,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] hex = { workspace = true } log = { workspace = true } diff --git a/precompiles/unified-accounts/src/mock.rs b/precompiles/unified-accounts/src/mock.rs index ccdde61a26..dfe14e9673 100644 --- a/precompiles/unified-accounts/src/mock.rs +++ b/precompiles/unified-accounts/src/mock.rs @@ -183,7 +183,6 @@ impl pallet_evm::Config for TestRuntime { type WithdrawOrigin = EnsureAddressNever; type AddressMapping = UnifiedAccounts; type Currency = Balances; - type RuntimeEvent = RuntimeEvent; type Runner = pallet_evm::runner::stack::Runner; type PrecompilesType = TestPrecompileSet; type PrecompilesValue = PrecompilesValue; @@ -198,6 +197,8 @@ impl pallet_evm::Config for TestRuntime { type GasLimitPovSizeRatio = ConstU64<4>; type AccountProvider = pallet_evm::FrameSystemAccountProvider; type GasLimitStorageGrowthRatio = ConstU64<0>; + type CreateOriginFilter = (); + type CreateInnerOriginFilter = (); } parameter_types! { @@ -207,7 +208,6 @@ parameter_types! { } impl pallet_unified_accounts::Config for TestRuntime { - type RuntimeEvent = RuntimeEvent; type Currency = Balances; type DefaultMappings = HashedDefaultMappings; type ChainId = ChainId; diff --git a/precompiles/xcm/Cargo.toml b/precompiles/xcm/Cargo.toml index aafb457a4b..16e30687f4 100644 --- a/precompiles/xcm/Cargo.toml +++ b/precompiles/xcm/Cargo.toml @@ -7,6 +7,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] astar-primitives = { workspace = true } log = { workspace = true } @@ -87,4 +90,5 @@ runtime-benchmarks = [ "pallet-evm-precompile-assets-erc20/runtime-benchmarks", "sp-runtime/runtime-benchmarks", "xcm-executor/runtime-benchmarks", + "xcm/runtime-benchmarks", ] diff --git a/precompiles/xcm/src/mock.rs b/precompiles/xcm/src/mock.rs index 95b80164e9..b906f803f8 100644 --- a/precompiles/xcm/src/mock.rs +++ b/precompiles/xcm/src/mock.rs @@ -21,6 +21,7 @@ use super::*; use fp_evm::{IsPrecompileResult, Precompile}; +use frame_support::traits::Disabled; use frame_support::{ construct_runtime, derive_impl, parameter_types, traits::{AsEnsureOriginWithArg, ConstU64, Everything, Nothing}, @@ -35,7 +36,7 @@ use pallet_evm::{ AddressMapping, EnsureAddressNever, EnsureAddressRoot, PrecompileResult, PrecompileSet, }; use pallet_evm_precompile_assets_erc20::AddressToAssetId; -use sp_core::{ConstU32, H160}; +use sp_core::{ConstU32, DecodeWithMemTracking, H160}; use sp_runtime::{traits::IdentityLookup, BuildStorage}; use sp_std::cell::RefCell; @@ -82,6 +83,7 @@ pub const ASSET_PRECOMPILE_ADDRESS_PREFIX: &[u8] = &[255u8; 4]; Clone, Encode, Decode, + DecodeWithMemTracking, Debug, MaxEncodedLen, Serialize, @@ -337,7 +339,6 @@ impl pallet_evm::Config for Runtime { type WithdrawOrigin = EnsureAddressNever; type AddressMapping = AccountId; type Currency = Balances; - type RuntimeEvent = RuntimeEvent; type Runner = pallet_evm::runner::stack::Runner; type PrecompilesType = TestPrecompileSet; type PrecompilesValue = PrecompilesValue; @@ -352,6 +353,8 @@ impl pallet_evm::Config for Runtime { type AccountProvider = pallet_evm::FrameSystemAccountProvider; type GasLimitStorageGrowthRatio = ConstU64<0>; type Timestamp = Timestamp; + type CreateOriginFilter = (); + type CreateInnerOriginFilter = (); } parameter_types! { @@ -421,6 +424,7 @@ impl xcm_executor::Config for XcmConfig { type HrmpChannelAcceptedHandler = (); type HrmpChannelClosingHandler = (); type XcmRecorder = (); + type XcmEventEmitter = (); } parameter_types! { @@ -497,10 +501,10 @@ impl pallet_xcm::Config for Runtime { type RemoteLockConsumerIdentifier = (); type WeightInfo = pallet_xcm::TestWeightInfo; type AdminOrigin = frame_system::EnsureRoot; + type AuthorizedAliasConsideration = Disabled; } impl orml_xtokens::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type Balance = Balance; type CurrencyId = AssetId; type CurrencyIdConvert = CurrencyIdToMultiLocation; diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index 76467fd1ca..2735d38435 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -6,6 +6,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] # third-party dependencies impl-trait-for-tuples = { workspace = true } @@ -100,6 +103,7 @@ runtime-benchmarks = [ "pallet-membership/runtime-benchmarks", "pallet-treasury/runtime-benchmarks", "orml-oracle/runtime-benchmarks", + "xcm/runtime-benchmarks", ] try-runtime = [ "pallet-contracts/try-runtime", diff --git a/primitives/src/dapp_staking.rs b/primitives/src/dapp_staking.rs index 183c3c4958..edf3221276 100644 --- a/primitives/src/dapp_staking.rs +++ b/primitives/src/dapp_staking.rs @@ -22,7 +22,7 @@ use parity_scale_codec::{Decode, Encode, MaxEncodedLen}; use frame_support::pallet_prelude::{RuntimeDebug, Weight}; use sp_arithmetic::ArithmeticError; -use sp_core::H160; +use sp_core::{DecodeWithMemTracking, H160}; use sp_runtime::{ traits::{UniqueSaturatedInto, Zero}, FixedPointNumber, @@ -149,6 +149,7 @@ pub trait SmartContractHandle { Clone, Encode, Decode, + DecodeWithMemTracking, RuntimeDebug, MaxEncodedLen, Hash, diff --git a/primitives/src/ethereum_checked.rs b/primitives/src/ethereum_checked.rs index eeef9fff7a..56117ba53e 100644 --- a/primitives/src/ethereum_checked.rs +++ b/primitives/src/ethereum_checked.rs @@ -20,7 +20,8 @@ use parity_scale_codec::{Decode, Encode}; use scale_info::TypeInfo; use ethereum::{ - AccessListItem, EIP1559Transaction, TransactionAction, TransactionV2 as Transaction, + eip2930::TransactionSignature, AccessListItem, EIP1559Transaction, TransactionAction, + TransactionV2 as Transaction, }; use ethereum_types::{H160, H256, U256}; use frame_support::{pallet_prelude::*, traits::ConstU32, BoundedVec}; @@ -32,7 +33,7 @@ pub const MAX_ETHEREUM_TX_INPUT_SIZE: u32 = 2u32.pow(16); pub type EthereumTxInput = BoundedVec>; /// The checked Ethereum transaction. Only contracts `call` is support(no `create`). -#[derive(Encode, Decode, Clone, PartialEq, Eq, RuntimeDebug, TypeInfo)] +#[derive(Encode, Decode, Clone, PartialEq, Eq, RuntimeDebug, TypeInfo, DecodeWithMemTracking)] pub struct CheckedEthereumTx { /// Gas limit. pub gas_limit: U256, @@ -69,9 +70,8 @@ impl CheckedEthereumTx { action: TransactionAction::Call(self.target), input: self.input.to_vec(), access_list, - odd_y_parity: true, - r: dummy_rs(), - s: dummy_rs(), + signature: TransactionSignature::new(true, dummy_rs(), dummy_rs()) + .expect("dummy signature must be valid"), }) } } diff --git a/primitives/src/evm.rs b/primitives/src/evm.rs index 79144a487d..0c8d10d768 100644 --- a/primitives/src/evm.rs +++ b/primitives/src/evm.rs @@ -109,7 +109,7 @@ pub trait UnifiedAddressMapper { pub struct HashedDefaultMappings(PhantomData); impl> UnifiedAddressMapper for HashedDefaultMappings { fn to_default_account_id(evm_address: &EvmAddress) -> AccountId { - HashedAddressMapping::::into_account_id(evm_address.clone()) + HashedAddressMapping::::into_account_id(*evm_address) } fn to_default_h160(account_id: &AccountId) -> EvmAddress { @@ -178,6 +178,10 @@ where pallet_evm::EVMFungibleAdapter::::withdraw_fee(who, fee) } + fn can_withdraw(who: &H160, amount: U256) -> Result<(), pallet_evm::Error> { + pallet_evm::EVMFungibleAdapter::::can_withdraw(who, amount) + } + fn correct_and_deposit_fee( who: &H160, corrected_fee: U256, diff --git a/primitives/src/lib.rs b/primitives/src/lib.rs index 7420296822..e67d8059b2 100644 --- a/primitives/src/lib.rs +++ b/primitives/src/lib.rs @@ -99,12 +99,3 @@ impl FailedMigrationHandler for UnfreezeChainOnFailedMigration { FailedMigrationHandling::ForceUnstuck } } - -/// Currently used MAX_POV_SIZE on Polkadot & Kusama is 10 MiB. -/// At the moment of adding this constant, we're using `stable2412` which still has 5MiB limit. -/// -/// To prevent excessive increase in gas used by ethereum transactions, we'll define this temporary -/// constant for the correct PoV limit. After the next uplift, this should be removed & replaced with value from polkadot-sdk. -/// -// For reference: https://github.com/paritytech/polkadot-sdk/blob/f6cd17e550caeaa1b8184b5f3135ca21f2cb16eb/polkadot/primitives/src/v8/mod.rs#L455 -pub const MAX_POV_SIZE: u32 = 10 * 1024 * 1024; diff --git a/primitives/src/oracle.rs b/primitives/src/oracle.rs index 643075cb09..bc68b23777 100644 --- a/primitives/src/oracle.rs +++ b/primitives/src/oracle.rs @@ -29,7 +29,18 @@ pub trait PriceProvider { pub type Price = FixedU128; pub type CurrencyAmount = FixedU128; -#[derive(Encode, Decode, MaxEncodedLen, Clone, Copy, Debug, PartialEq, Eq, TypeInfo)] +#[derive( + Encode, + Decode, + DecodeWithMemTracking, + MaxEncodedLen, + Clone, + Copy, + Debug, + PartialEq, + Eq, + TypeInfo, +)] pub enum CurrencyId { ASTR, SDN, diff --git a/runtime/astar/Cargo.toml b/runtime/astar/Cargo.toml index 8b4a2f89c3..5ab92fd2b9 100644 --- a/runtime/astar/Cargo.toml +++ b/runtime/astar/Cargo.toml @@ -7,8 +7,12 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] # third-party dependencies +ethereum = { workspace = true } hex-literal = { workspace = true } log = { workspace = true, optional = true } num_enum = { workspace = true } @@ -257,6 +261,7 @@ std = [ "xcm-executor/std", "xcm-runtime-apis/std", "xcm/std", + "ethereum/std", ] runtime-benchmarks = [ "astar-primitives/runtime-benchmarks", @@ -316,6 +321,7 @@ runtime-benchmarks = [ "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", "xcm-runtime-apis/runtime-benchmarks", + "xcm/runtime-benchmarks", ] try-runtime = [ "astar-primitives/try-runtime", @@ -370,6 +376,7 @@ try-runtime = [ "parachain-info/try-runtime", "polkadot-runtime-common/try-runtime", "sp-runtime/try-runtime", + "parachains-common/try-runtime", ] evm-tracing = [ "moonbeam-evm-tracer", diff --git a/runtime/astar/src/genesis_config.rs b/runtime/astar/src/genesis_config.rs index 9da9b80baf..dbeaaf5f54 100644 --- a/runtime/astar/src/genesis_config.rs +++ b/runtime/astar/src/genesis_config.rs @@ -60,15 +60,18 @@ pub fn default_config(para_id: u32) -> serde_json::Value { let config = RuntimeGenesisConfig { system: Default::default(), + #[cfg(feature = "astar-sudo")] + sudo: SudoConfig { + key: Some(alice.account_id()), + }, parachain_info: ParachainInfoConfig { parachain_id: para_id.into(), ..Default::default() }, - #[cfg(feature = "astar-sudo")] - sudo: SudoConfig { - key: Some(alice.account_id()), + balances: BalancesConfig { + balances, + ..Default::default() }, - balances: BalancesConfig { balances }, vesting: VestingConfig { vesting: vec![] }, session: SessionConfig { keys: authorities diff --git a/runtime/astar/src/lib.rs b/runtime/astar/src/lib.rs index eefdfe5432..e1a39fefab 100644 --- a/runtime/astar/src/lib.rs +++ b/runtime/astar/src/lib.rs @@ -23,6 +23,8 @@ #![recursion_limit = "512"] extern crate alloc; +extern crate core; + #[cfg(feature = "runtime-benchmarks")] #[macro_use] extern crate frame_benchmarking; @@ -30,6 +32,7 @@ use alloc::{borrow::Cow, collections::btree_map::BTreeMap, vec, vec::Vec}; use core::marker::PhantomData; use cumulus_primitives_core::AggregateMessageOrigin; +use ethereum::AuthorizationList; use frame_support::{ construct_runtime, dispatch::DispatchClass, @@ -59,7 +62,7 @@ use pallet_transaction_payment::{ FeeDetails, Multiplier, RuntimeDispatchInfo, TargetedFeeAdjustment, }; use pallet_tx_pause::RuntimeCallNameOf; -use parity_scale_codec::{Compact, Decode, Encode, MaxEncodedLen}; +use parity_scale_codec::{Compact, Decode, DecodeWithMemTracking, Encode, MaxEncodedLen}; use polkadot_runtime_common::BlockHashCount; use sp_api::impl_runtime_apis; use sp_core::{sr25519, OpaqueMetadata, H160, H256, U256}; @@ -224,7 +227,7 @@ const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(75); /// We allow for 2 seconds of compute with a 6 second average block time. const MAXIMUM_BLOCK_WEIGHT: Weight = Weight::from_parts( WEIGHT_REF_TIME_PER_SECOND.saturating_mul(2), - astar_primitives::MAX_POV_SIZE as u64, + polkadot_primitives::MAX_POV_SIZE as u64, ); parameter_types! { @@ -359,6 +362,8 @@ impl pallet_identity::Config for Runtime { type WeightInfo = pallet_identity::weights::SubstrateWeight; type UsernameDeposit = UsernameDeposit; type UsernameGracePeriod = ConstU32<{ 7 * DAYS }>; + #[cfg(feature = "runtime-benchmarks")] + type BenchmarkHelper = (); } parameter_types! { @@ -375,6 +380,7 @@ impl pallet_multisig::Config for Runtime { type DepositBase = DepositBase; type DepositFactor = DepositFactor; type MaxSignatories = ConstU32<100>; + type BlockNumberProvider = System; type WeightInfo = pallet_multisig::weights::SubstrateWeight; } @@ -387,6 +393,7 @@ impl pallet_scheduler::Config for Runtime { type RuntimeOrigin = RuntimeOrigin; type PalletsOrigin = OriginCaller; type RuntimeCall = RuntimeCall; + type BlockNumberProvider = System; type MaximumWeight = MaximumSchedulerWeight; type ScheduleOrigin = EnsureRoot; type MaxScheduledPerBlock = ConstU32<32>; @@ -513,7 +520,6 @@ impl pallet_inflation::Config for Runtime { type Currency = Balances; type PayoutPerBlock = InflationPayoutPerBlock; type CycleConfiguration = InflationCycleConfig; - type RuntimeEvent = RuntimeEvent; type WeightInfo = weights::pallet_inflation::SubstrateWeight; } @@ -544,6 +550,7 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type ConsensusHook = ConsensusHook; type SelectCore = cumulus_pallet_parachain_system::DefaultCoreSelector; type WeightInfo = cumulus_pallet_parachain_system::weights::SubstrateWeight; + type RelayParentOffset = ConstU32<0>; } type ConsensusHook = cumulus_pallet_aura_ext::FixedVelocityConsensusHook< @@ -584,6 +591,7 @@ impl pallet_session::Config for Runtime { type SessionManager = CollatorSelection; type SessionHandler = ::KeyTypeIdProviders; type Keys = SessionKeys; + type DisablingStrategy = (); type WeightInfo = pallet_session::weights::SubstrateWeight; } @@ -604,7 +612,6 @@ impl pallet_collator_selection::AccountCheck for CollatorSelectionAcc } impl pallet_collator_selection::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type Currency = Balances; type UpdateOrigin = EnsureRoot; type ForceRemovalOrigin = EnsureRootOrThreeFourthMainCouncil; @@ -706,6 +713,7 @@ impl pallet_assets::Config for Runtime { type StringLimit = AssetsStringLimit; type Freezer = (); type Extra = (); + type Holder = (); type WeightInfo = weights::pallet_assets::SubstrateWeight; type RemoveItemsLimit = ConstU32<1000>; type AssetIdParameter = Compact; @@ -906,7 +914,6 @@ impl Get for AdjustmentFactorGetter { } impl pallet_dynamic_evm_base_fee::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type DefaultBaseFeePerGas = DefaultBaseFeePerGas; type MinBaseFeePerGas = MinBaseFeePerGas; type MaxBaseFeePerGas = MaxBaseFeePerGas; @@ -971,7 +978,6 @@ impl pallet_evm::Config for Runtime { type WithdrawOrigin = pallet_evm::EnsureAddressTruncated; type AddressMapping = pallet_evm::HashedAddressMapping; type Currency = Balances; - type RuntimeEvent = RuntimeEvent; type Runner = pallet_evm::runner::stack::Runner; type PrecompilesType = Precompiles; type PrecompilesValue = PrecompilesValue; @@ -986,6 +992,8 @@ impl pallet_evm::Config for Runtime { // gas based storage limit not enabled type GasLimitStorageGrowthRatio = ConstU64<0>; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type CreateOriginFilter = (); + type CreateInnerOriginFilter = (); } parameter_types! { @@ -993,7 +1001,6 @@ parameter_types! { } impl pallet_ethereum::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type StateRoot = pallet_ethereum::IntermediateStateRoot<::Version>; type PostLogContent = PostBlockAndTxnHashes; @@ -1009,7 +1016,6 @@ impl pallet_sudo::Config for Runtime { } impl pallet_xc_asset_config::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type AssetId = AssetId; type ManagerOrigin = EnsureRoot; type WeightInfo = pallet_xc_asset_config::weights::SubstrateWeight; @@ -1052,6 +1058,7 @@ impl pallet_message_queue::Config for Runtime { PartialOrd, Encode, Decode, + DecodeWithMemTracking, RuntimeDebug, MaxEncodedLen, scale_info::TypeInfo, @@ -1179,6 +1186,7 @@ impl pallet_proxy::Config for Runtime { type ProxyDepositBase = ProxyDepositBase; type ProxyDepositFactor = ProxyDepositFactor; type MaxProxies = MaxProxies; + type BlockNumberProvider = System; type WeightInfo = pallet_proxy::weights::SubstrateWeight; type MaxPending = MaxPending; type CallHasher = BlakeTwo256; @@ -1193,7 +1201,6 @@ parameter_types! { } impl pallet_price_aggregator::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type MaxValuesPerBlock = ConstU32<8>; type ProcessBlockValues = pallet_price_aggregator::MedianBlockValue; type NativeCurrencyId = NativeCurrencyId; @@ -1222,7 +1229,6 @@ parameter_types! { } impl orml_oracle::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type OnNewData = PriceAggregator; type CombineData = DummyCombineData; type Time = Timestamp; @@ -1497,7 +1503,6 @@ impl InstanceFilter for CommunityCouncilCallFilter { } impl pallet_collective_proxy::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type RuntimeCall = RuntimeCall; type CollectiveProxy = EnsureRootOrTwoThirdsCommunityCouncil; type ProxyAccountId = CommunityTreasuryAccountId; @@ -2033,6 +2038,7 @@ impl_runtime_apis! { nonce: Option, estimate: bool, access_list: Option)>>, + authorization_list: Option, ) -> Result { let config = if estimate { let mut config = ::config().clone(); @@ -2089,7 +2095,8 @@ impl_runtime_apis! { max_fee_per_gas, max_priority_fee_per_gas, nonce, - Vec::new(), + access_list.unwrap_or_default(), + authorization_list.unwrap_or_default(), is_transactional, validate, weight_limit, @@ -2111,6 +2118,7 @@ impl_runtime_apis! { nonce: Option, estimate: bool, access_list: Option)>>, + authorization_list: Option, ) -> Result { let config = if estimate { let mut config = ::config().clone(); @@ -2167,7 +2175,8 @@ impl_runtime_apis! { max_fee_per_gas, max_priority_fee_per_gas, nonce, - Vec::new(), + access_list.unwrap_or_default(), + authorization_list.unwrap_or_default(), is_transactional, validate, weight_limit, @@ -2428,7 +2437,7 @@ impl_runtime_apis! { Vec, Vec, ) { - use frame_benchmarking::{baseline, Benchmarking, BenchmarkList}; + use frame_benchmarking::{baseline, BenchmarkList}; use frame_support::traits::StorageInfoTrait; use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; pub use frame_system_benchmarking::{ @@ -2450,11 +2459,12 @@ impl_runtime_apis! { (list, storage_info) } + #[allow(non_local_definitions)] fn dispatch_benchmark( config: frame_benchmarking::BenchmarkConfig ) -> Result, alloc::string::String> { use alloc::boxed::Box; - use frame_benchmarking::{baseline, Benchmarking, BenchmarkBatch, BenchmarkError}; + use frame_benchmarking::{baseline, BenchmarkBatch, BenchmarkError}; pub use frame_system_benchmarking::{ extensions::Pallet as SystemExtensionsBench, Pallet as SystemBench }; @@ -2462,23 +2472,36 @@ impl_runtime_apis! { use baseline::Pallet as BaselineBench; use xcm::latest::prelude::*; use xcm_builder::MintLocation; - use astar_primitives::benchmarks::XcmBenchmarkHelper; + use astar_primitives::{benchmarks::XcmBenchmarkHelper, xcm::ASSET_HUB_PARA_ID}; use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; pub struct TestDeliveryHelper; impl xcm_builder::EnsureDelivery for TestDeliveryHelper { fn ensure_successful_delivery( origin_ref: &Location, - _dest: &Location, + dest: &Location, _fee_reason: xcm_executor::traits::FeeReason, ) -> (Option, Option) { use xcm_executor::traits::ConvertLocation; - let account = xcm_config::LocationToAccountId::convert_location(origin_ref) - .expect("Invalid location"); - // Give the existential deposit at least - let balance = ExistentialDeposit::get(); - let _ = >:: - make_free_balance_be(&account.into(), balance); + + // This sets up the necessary infrastructure (HostConfiguration) for sending XCM messages + ::ensure_successful_delivery( + Some(dest.clone()) + ); + + // Open HRMP channel for sibling parachain destinations + if let Some(Parachain(para_id)) = dest.interior().first() { + ParachainSystem::open_outbound_hrmp_channel_for_benchmarks_or_tests( + (*para_id).into() + ); + } + + if let Some(account) = xcm_config::LocationToAccountId::convert_location(origin_ref) { + // Give the account some balance to ensure delivery + let balance = ExistentialDeposit::get() * 1000u128; // Give more than just ED + let _ = >:: + make_free_balance_be(&account.into(), balance); + } (None, None) } @@ -2488,7 +2511,7 @@ impl_runtime_apis! { type DeliveryHelper = TestDeliveryHelper; fn reachable_dest() -> Option { - Some(Parent.into()) + Some(AssetHubLocation::get()) } fn teleportable_asset_and_dest() -> Option<(Asset, Location)> { @@ -2517,7 +2540,18 @@ impl_runtime_apis! { } } - impl frame_system_benchmarking::Config for Runtime {} + // Needed to run `set_code` and `apply_authorized_upgrade` frame_system benchmarks + // https://github.com/paritytech/cumulus/pull/2766 + impl frame_system_benchmarking::Config for Runtime { + fn setup_set_code_requirements(code: &Vec) -> Result<(), BenchmarkError> { + ParachainSystem::initialize_for_set_code_benchmark(code.len() as u32); + Ok(()) + } + + fn verify_set_code() { + System::assert_last_event(cumulus_pallet_parachain_system::Event::::ValidationFunctionStored.into()); + } + } impl baseline::Config for Runtime {} // XCM Benchmarks @@ -2528,12 +2562,24 @@ impl_runtime_apis! { impl pallet_xcm_benchmarks::Config for Runtime { type XcmConfig = xcm_config::XcmConfig; type AccountIdConverter = xcm_config::LocationToAccountId; - type DeliveryHelper = (); + type DeliveryHelper = TestDeliveryHelper; // destination location to be used in benchmarks fn valid_destination() -> Result { - assert_ok!(PolkadotXcm::force_xcm_version(RuntimeOrigin::root(), Box::new(Location::parent()), xcm::v5::VERSION)); - Ok(Location::parent()) + let asset_hub = AssetHubLocation::get(); + assert_ok!(PolkadotXcm::force_xcm_version(RuntimeOrigin::root(), Box::new(asset_hub.clone()), xcm::v5::VERSION)); + + // This sets up the necessary infrastructure (HostConfiguration) for sending XCM messages + ::ensure_successful_delivery( + Some(asset_hub.clone()) + ); + + // Open HRMP channel for sibling parachain destinations + ParachainSystem::open_outbound_hrmp_channel_for_benchmarks_or_tests( + AssetHubParaId::get().into() + ); + + Ok(asset_hub) } fn worst_case_holding(_depositable_count: u32) -> Assets { XcmBenchmarkHelper::::worst_case_holding() @@ -2585,8 +2631,11 @@ impl_runtime_apis! { fn alias_origin() -> Result<(Location, Location), BenchmarkError> { Err(BenchmarkError::Skip) } - fn fee_asset() -> Result { - Ok((AssetId(Here.into()), 1_000_000_000_000_000_000u128).into()) + fn worst_case_for_trader() -> Result<(Asset, WeightLimit), BenchmarkError> { + Ok(( + (AssetId(Here.into()), 1_000_000_000_000_000_000u128).into(), + Limited(Weight::from_parts(5000, 5000)), + )) } } @@ -2596,7 +2645,9 @@ impl_runtime_apis! { pub const TransactAssetId: u128 = 1001; pub TransactAssetLocation: Location = Location { parents: 0, interior: [GeneralIndex(TransactAssetId::get())].into() }; - pub TrustedReserveLocation: Location = Parent.into(); + pub const AssetHubParaId: u32 = ASSET_HUB_PARA_ID; + pub AssetHubLocation: Location = Location::new(1, [Parachain(AssetHubParaId::get())]); + pub TrustedReserveLocation: Location = AssetHubLocation::get(); pub TrustedReserveAsset: Asset = Asset { id: AssetId(TrustedReserveLocation::get()), fun: Fungible(1_000_000) }; pub TrustedReserve: Option<(Location, Asset)> = Some((TrustedReserveLocation::get(), TrustedReserveAsset::get())); } @@ -2731,6 +2782,7 @@ impl_runtime_apis! { max_priority_fee_per_gas: Option, nonce: Option, access_list: Option)>>, + authorization_list: Option, ) -> Result<(), sp_runtime::DispatchError> { use moonbeam_evm_tracer::tracer::EvmTracer; @@ -2788,6 +2840,7 @@ impl_runtime_apis! { max_priority_fee_per_gas, nonce, access_list.unwrap_or_default(), + authorization_list.unwrap_or_default(), is_transactional, validate, weight_limit, diff --git a/runtime/astar/src/precompiles.rs b/runtime/astar/src/precompiles.rs index 6ee6e13912..25f1ad0c37 100644 --- a/runtime/astar/src/precompiles.rs +++ b/runtime/astar/src/precompiles.rs @@ -18,7 +18,7 @@ //! The Astar Network EVM precompiles. This can be compiled with ``#[no_std]`, ready for Wasm. -use crate::RuntimeCall; +use crate::{Runtime, RuntimeCall}; use astar_primitives::precompiles::DispatchFilterValidate; use frame_support::{parameter_types, traits::Contains}; use pallet_evm_precompile_assets_erc20::Erc20AssetsPrecompileSet; @@ -109,7 +109,11 @@ pub type AstarPrecompilesSetAt = ( PrecompileAt, Bn128Pairing, EthereumPrecompilesChecks>, PrecompileAt, Blake2F, EthereumPrecompilesChecks>, // Non-Astar specific nor Ethereum precompiles : - PrecompileAt, Sha3FIPS256, (CallableByContract, CallableByPrecompile)>, + PrecompileAt< + AddressU64<1024>, + Sha3FIPS256, + (CallableByContract, CallableByPrecompile), + >, PrecompileAt< AddressU64<1025>, Dispatch>, diff --git a/runtime/astar/src/weights/block_weights.rs b/runtime/astar/src/weights/block_weights.rs index a5976cca30..fbc780dea1 100644 --- a/runtime/astar/src/weights/block_weights.rs +++ b/runtime/astar/src/weights/block_weights.rs @@ -17,7 +17,7 @@ // along with Astar. If not, see . //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-07-22 (Y/M/D) +//! DATE: 2025-12-19 (Y/M/D) //! HOSTNAME: `gh-runner-01-ovh`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz` //! //! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `astar` @@ -43,17 +43,17 @@ parameter_types! { /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 583_675, 697_917 - /// Average: 615_726 - /// Median: 611_138 - /// Std-Dev: 28557.24 + /// Min, Max: 708_212, 844_044 + /// Average: 761_989 + /// Median: 754_226 + /// Std-Dev: 30284.39 /// /// Percentiles nanoseconds: - /// 99th: 697_917 - /// 95th: 682_427 - /// 75th: 623_746 + /// 99th: 844_044 + /// 95th: 817_447 + /// 75th: 758_024 pub const BlockExecutionWeight: Weight = - Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(615_726), 5_525); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(761_989), 6_281); } #[cfg(test)] diff --git a/runtime/astar/src/weights/extrinsic_weights.rs b/runtime/astar/src/weights/extrinsic_weights.rs index 5fcaa3c8e8..8b08ebdadb 100644 --- a/runtime/astar/src/weights/extrinsic_weights.rs +++ b/runtime/astar/src/weights/extrinsic_weights.rs @@ -17,7 +17,7 @@ // along with Astar. If not, see . //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-07-22 (Y/M/D) +//! DATE: 2025-12-19 (Y/M/D) //! HOSTNAME: `gh-runner-01-ovh`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz` //! //! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `astar` @@ -43,17 +43,17 @@ parameter_types! { /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 112_959, 114_898 - /// Average: 113_599 - /// Median: 113_519 - /// Std-Dev: 384.67 + /// Min, Max: 99_630, 101_936 + /// Average: 100_226 + /// Median: 100_119 + /// Std-Dev: 477.29 /// /// Percentiles nanoseconds: - /// 99th: 114_898 - /// 95th: 114_372 - /// 75th: 113_802 + /// 99th: 101_936 + /// 95th: 101_138 + /// 75th: 100_462 pub const ExtrinsicBaseWeight: Weight = - Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(113_599), 167); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(100_226), 166); } #[cfg(test)] diff --git a/runtime/astar/src/weights/frame_system_extensions.rs b/runtime/astar/src/weights/frame_system_extensions.rs index b309973fa1..0347d5bffa 100644 --- a/runtime/astar/src/weights/frame_system_extensions.rs +++ b/runtime/astar/src/weights/frame_system_extensions.rs @@ -19,25 +19,26 @@ //! Autogenerated weights for `frame_system_extensions` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.1.0 -//! DATE: 2025-05-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-12-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `gh-runner-01-ovh`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("astar-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: -// ./target/release/astar-collator +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=astar-dev +// --runtime=./target/release/wbuild/astar-runtime/astar_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=frame_system_extensions // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./benchmark-results/astar-dev/system_extensions_weights.rs -// --template=./scripts/templates/weight-template.hbs +// --output=./benchmark-results/astar/runtime/system_extensions_weights.rs +// --template=./scripts/templates/runtime-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -55,32 +56,32 @@ impl frame_system::ExtensionsWeightInfo for SubstrateWe // Proof Size summary in bytes: // Measured: `30` // Estimated: `0` - // Minimum execution time: 3_436_000 picoseconds. - Weight::from_parts(3_544_000, 0) + // Minimum execution time: 3_945_000 picoseconds. + Weight::from_parts(4_062_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn check_mortality_mortal_transaction() -> Weight { // Proof Size summary in bytes: // Measured: `68` // Estimated: `0` - // Minimum execution time: 6_645_000 picoseconds. - Weight::from_parts(6_812_000, 0) + // Minimum execution time: 7_427_000 picoseconds. + Weight::from_parts(7_656_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn check_mortality_immortal_transaction() -> Weight { // Proof Size summary in bytes: // Measured: `68` // Estimated: `0` - // Minimum execution time: 6_742_000 picoseconds. - Weight::from_parts(6_930_000, 0) + // Minimum execution time: 7_500_000 picoseconds. + Weight::from_parts(7_702_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn check_non_zero_sender() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 455_000 picoseconds. - Weight::from_parts(490_000, 0) + // Minimum execution time: 569_000 picoseconds. + Weight::from_parts(597_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `System::Account` (r:1 w:1) @@ -89,8 +90,8 @@ impl frame_system::ExtensionsWeightInfo for SubstrateWe // Proof Size summary in bytes: // Measured: `102` // Estimated: `3593` - // Minimum execution time: 6_711_000 picoseconds. - Weight::from_parts(7_001_000, 0) + // Minimum execution time: 10_378_000 picoseconds. + Weight::from_parts(10_599_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -99,24 +100,32 @@ impl frame_system::ExtensionsWeightInfo for SubstrateWe // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 367_000 picoseconds. - Weight::from_parts(406_000, 0) + // Minimum execution time: 452_000 picoseconds. + Weight::from_parts(491_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn check_tx_version() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 344_000 picoseconds. - Weight::from_parts(384_000, 0) + // Minimum execution time: 440_000 picoseconds. + Weight::from_parts(492_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn check_weight() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_322_000 picoseconds. - Weight::from_parts(3_479_000, 0) + // Minimum execution time: 6_223_000 picoseconds. + Weight::from_parts(6_420_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + fn weight_reclaim() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_050_000 picoseconds. + Weight::from_parts(4_264_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/astar/src/weights/orml_oracle.rs b/runtime/astar/src/weights/orml_oracle.rs index 1ce90d7a7b..6ddbba78db 100644 --- a/runtime/astar/src/weights/orml_oracle.rs +++ b/runtime/astar/src/weights/orml_oracle.rs @@ -19,25 +19,26 @@ //! Autogenerated weights for `orml_oracle` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.1.0 -//! DATE: 2025-05-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-12-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `gh-runner-01-ovh`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("astar-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: -// ./target/release/astar-collator +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=astar-dev +// --runtime=./target/release/wbuild/astar-runtime/astar_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=orml_oracle // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./benchmark-results/astar-dev/oracle_weights.rs -// --template=./scripts/templates/weight-template.hbs +// --output=./benchmark-results/astar/runtime/oracle_weights.rs +// --template=./scripts/templates/runtime-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -64,13 +65,13 @@ impl orml_oracle::WeightInfo for SubstrateWeight { /// The range of component `x` is `[0, 2]`. fn feed_values(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `345` + // Measured: `346` // Estimated: `8634` - // Minimum execution time: 15_130_000 picoseconds. - Weight::from_parts(15_892_191, 0) + // Minimum execution time: 17_383_000 picoseconds. + Weight::from_parts(18_245_764, 0) .saturating_add(Weight::from_parts(0, 8634)) - // Standard Error: 48_719 - .saturating_add(Weight::from_parts(12_813_853, 0).saturating_mul(x.into())) + // Standard Error: 62_942 + .saturating_add(Weight::from_parts(16_419_329, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -82,8 +83,8 @@ impl orml_oracle::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_293_000 picoseconds. - Weight::from_parts(1_391_000, 0) + // Minimum execution time: 2_114_000 picoseconds. + Weight::from_parts(2_509_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/astar/src/weights/pallet_assets.rs b/runtime/astar/src/weights/pallet_assets.rs index 5a3958389e..22b5b7104a 100644 --- a/runtime/astar/src/weights/pallet_assets.rs +++ b/runtime/astar/src/weights/pallet_assets.rs @@ -19,25 +19,26 @@ //! Autogenerated weights for `pallet_assets` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.1.0 -//! DATE: 2025-05-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-12-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `gh-runner-01-ovh`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("astar-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: -// ./target/release/astar-collator +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=astar-dev +// --runtime=./target/release/wbuild/astar-runtime/astar_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=pallet_assets // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./benchmark-results/astar-dev/assets_weights.rs -// --template=./scripts/templates/weight-template.hbs +// --output=./benchmark-results/astar/runtime/assets_weights.rs +// --template=./scripts/templates/runtime-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -63,8 +64,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `762` // Estimated: `4227` - // Minimum execution time: 36_599_000 picoseconds. - Weight::from_parts(36_933_000, 0) + // Minimum execution time: 42_655_000 picoseconds. + Weight::from_parts(43_435_000, 0) .saturating_add(Weight::from_parts(0, 4227)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -79,8 +80,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `622` // Estimated: `4087` - // Minimum execution time: 21_640_000 picoseconds. - Weight::from_parts(21_991_000, 0) + // Minimum execution time: 33_094_000 picoseconds. + Weight::from_parts(33_486_000, 0) .saturating_add(Weight::from_parts(0, 4087)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -91,8 +92,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `393` // Estimated: `3687` - // Minimum execution time: 13_380_000 picoseconds. - Weight::from_parts(13_914_000, 0) + // Minimum execution time: 15_702_000 picoseconds. + Weight::from_parts(17_158_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -108,11 +109,11 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `523 + c * (208 ±0)` // Estimated: `3687 + c * (2621 ±0)` - // Minimum execution time: 17_240_000 picoseconds. - Weight::from_parts(17_663_000, 0) + // Minimum execution time: 20_098_000 picoseconds. + Weight::from_parts(20_335_000, 0) .saturating_add(Weight::from_parts(0, 3687)) - // Standard Error: 6_878 - .saturating_add(Weight::from_parts(12_553_236, 0).saturating_mul(c.into())) + // Standard Error: 9_838 + .saturating_add(Weight::from_parts(13_108_363, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -128,11 +129,11 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `542 + a * (86 ±0)` // Estimated: `3687 + a * (2635 ±0)` - // Minimum execution time: 18_259_000 picoseconds. - Weight::from_parts(18_385_000, 0) + // Minimum execution time: 20_837_000 picoseconds. + Weight::from_parts(21_197_000, 0) .saturating_add(Weight::from_parts(0, 3687)) - // Standard Error: 4_626 - .saturating_add(Weight::from_parts(13_083_982, 0).saturating_mul(a.into())) + // Standard Error: 6_719 + .saturating_add(Weight::from_parts(15_313_713, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -149,8 +150,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `359` // Estimated: `3687` - // Minimum execution time: 16_328_000 picoseconds. - Weight::from_parts(16_763_000, 0) + // Minimum execution time: 19_715_000 picoseconds. + Weight::from_parts(20_015_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -163,8 +164,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `359` // Estimated: `3687` - // Minimum execution time: 23_176_000 picoseconds. - Weight::from_parts(23_685_000, 0) + // Minimum execution time: 28_025_000 picoseconds. + Weight::from_parts(28_653_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -177,8 +178,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `479` // Estimated: `3687` - // Minimum execution time: 30_471_000 picoseconds. - Weight::from_parts(30_771_000, 0) + // Minimum execution time: 36_219_000 picoseconds. + Weight::from_parts(36_557_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -193,8 +194,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `584` // Estimated: `6232` - // Minimum execution time: 41_615_000 picoseconds. - Weight::from_parts(42_224_000, 0) + // Minimum execution time: 49_577_000 picoseconds. + Weight::from_parts(50_304_000, 0) .saturating_add(Weight::from_parts(0, 6232)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -209,8 +210,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `584` // Estimated: `6232` - // Minimum execution time: 37_190_000 picoseconds. - Weight::from_parts(37_922_000, 0) + // Minimum execution time: 44_443_000 picoseconds. + Weight::from_parts(45_175_000, 0) .saturating_add(Weight::from_parts(0, 6232)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -225,8 +226,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `584` // Estimated: `6232` - // Minimum execution time: 41_380_000 picoseconds. - Weight::from_parts(42_191_000, 0) + // Minimum execution time: 49_791_000 picoseconds. + Weight::from_parts(51_150_000, 0) .saturating_add(Weight::from_parts(0, 6232)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -239,8 +240,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `479` // Estimated: `3687` - // Minimum execution time: 18_088_000 picoseconds. - Weight::from_parts(18_610_000, 0) + // Minimum execution time: 21_012_000 picoseconds. + Weight::from_parts(21_333_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -253,8 +254,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `479` // Estimated: `3687` - // Minimum execution time: 18_045_000 picoseconds. - Weight::from_parts(18_228_000, 0) + // Minimum execution time: 20_719_000 picoseconds. + Weight::from_parts(21_152_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -265,8 +266,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `393` // Estimated: `3687` - // Minimum execution time: 13_492_000 picoseconds. - Weight::from_parts(13_914_000, 0) + // Minimum execution time: 16_055_000 picoseconds. + Weight::from_parts(16_402_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -277,8 +278,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `393` // Estimated: `3687` - // Minimum execution time: 13_480_000 picoseconds. - Weight::from_parts(13_707_000, 0) + // Minimum execution time: 15_871_000 picoseconds. + Weight::from_parts(16_394_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -291,8 +292,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `359` // Estimated: `3687` - // Minimum execution time: 15_152_000 picoseconds. - Weight::from_parts(15_494_000, 0) + // Minimum execution time: 18_121_000 picoseconds. + Weight::from_parts(18_417_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -303,8 +304,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `359` // Estimated: `3687` - // Minimum execution time: 13_681_000 picoseconds. - Weight::from_parts(13_971_000, 0) + // Minimum execution time: 16_531_000 picoseconds. + Weight::from_parts(16_780_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -315,13 +316,15 @@ impl pallet_assets::WeightInfo for SubstrateWeight { /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn set_metadata(_n: u32, _s: u32, ) -> Weight { + fn set_metadata(_n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `359` // Estimated: `3687` - // Minimum execution time: 27_249_000 picoseconds. - Weight::from_parts(28_014_306, 0) + // Minimum execution time: 33_197_000 picoseconds. + Weight::from_parts(34_182_249, 0) .saturating_add(Weight::from_parts(0, 3687)) + // Standard Error: 694 + .saturating_add(Weight::from_parts(409, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -333,8 +336,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `535` // Estimated: `3687` - // Minimum execution time: 27_262_000 picoseconds. - Weight::from_parts(27_914_000, 0) + // Minimum execution time: 32_357_000 picoseconds. + Weight::from_parts(32_750_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -345,13 +348,17 @@ impl pallet_assets::WeightInfo for SubstrateWeight { /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn force_set_metadata(_n: u32, _s: u32, ) -> Weight { + fn force_set_metadata(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `198` // Estimated: `3687` - // Minimum execution time: 14_191_000 picoseconds. - Weight::from_parts(14_995_971, 0) + // Minimum execution time: 16_952_000 picoseconds. + Weight::from_parts(17_271_035, 0) .saturating_add(Weight::from_parts(0, 3687)) + // Standard Error: 405 + .saturating_add(Weight::from_parts(2_250, 0).saturating_mul(n.into())) + // Standard Error: 405 + .saturating_add(Weight::from_parts(4_954, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -363,8 +370,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `535` // Estimated: `3687` - // Minimum execution time: 26_647_000 picoseconds. - Weight::from_parts(27_175_000, 0) + // Minimum execution time: 32_194_000 picoseconds. + Weight::from_parts(32_944_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -375,8 +382,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `359` // Estimated: `3687` - // Minimum execution time: 13_381_000 picoseconds. - Weight::from_parts(13_753_000, 0) + // Minimum execution time: 15_460_000 picoseconds. + Weight::from_parts(15_723_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -389,8 +396,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `393` // Estimated: `3687` - // Minimum execution time: 30_067_000 picoseconds. - Weight::from_parts(30_534_000, 0) + // Minimum execution time: 36_979_000 picoseconds. + Weight::from_parts(37_433_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -407,8 +414,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `817` // Estimated: `6232` - // Minimum execution time: 59_056_000 picoseconds. - Weight::from_parts(59_587_000, 0) + // Minimum execution time: 71_319_000 picoseconds. + Weight::from_parts(71_801_000, 0) .saturating_add(Weight::from_parts(0, 6232)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -421,8 +428,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `575` // Estimated: `3687` - // Minimum execution time: 32_099_000 picoseconds. - Weight::from_parts(32_461_000, 0) + // Minimum execution time: 38_406_000 picoseconds. + Weight::from_parts(38_938_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -435,8 +442,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `575` // Estimated: `3687` - // Minimum execution time: 32_217_000 picoseconds. - Weight::from_parts(32_929_000, 0) + // Minimum execution time: 38_838_000 picoseconds. + Weight::from_parts(39_671_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -447,8 +454,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `359` // Estimated: `3687` - // Minimum execution time: 14_269_000 picoseconds. - Weight::from_parts(14_632_000, 0) + // Minimum execution time: 16_903_000 picoseconds. + Weight::from_parts(17_170_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -463,8 +470,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `566` // Estimated: `3687` - // Minimum execution time: 32_954_000 picoseconds. - Weight::from_parts(33_532_000, 0) + // Minimum execution time: 38_619_000 picoseconds. + Weight::from_parts(39_263_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -477,8 +484,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `359` // Estimated: `3687` - // Minimum execution time: 29_468_000 picoseconds. - Weight::from_parts(30_230_000, 0) + // Minimum execution time: 35_930_000 picoseconds. + Weight::from_parts(36_375_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -493,8 +500,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `704` // Estimated: `3687` - // Minimum execution time: 31_605_000 picoseconds. - Weight::from_parts(31_849_000, 0) + // Minimum execution time: 36_665_000 picoseconds. + Weight::from_parts(37_406_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -507,8 +514,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `530` // Estimated: `3687` - // Minimum execution time: 28_519_000 picoseconds. - Weight::from_parts(28_886_000, 0) + // Minimum execution time: 34_479_000 picoseconds. + Weight::from_parts(34_824_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -521,8 +528,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `479` // Estimated: `3687` - // Minimum execution time: 17_735_000 picoseconds. - Weight::from_parts(18_276_000, 0) + // Minimum execution time: 21_150_000 picoseconds. + Weight::from_parts(21_505_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -537,10 +544,43 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `584` // Estimated: `6232` - // Minimum execution time: 49_108_000 picoseconds. - Weight::from_parts(49_687_000, 0) + // Minimum execution time: 59_318_000 picoseconds. + Weight::from_parts(59_947_000, 0) .saturating_add(Weight::from_parts(0, 6232)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + fn total_issuance() -> Weight { + // Proof Size summary in bytes: + // Measured: `393` + // Estimated: `3687` + // Minimum execution time: 6_867_000 picoseconds. + Weight::from_parts(7_062_000, 0) + .saturating_add(Weight::from_parts(0, 3687)) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// Storage: `Assets::Account` (r:1 w:0) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + fn balance() -> Weight { + // Proof Size summary in bytes: + // Measured: `267` + // Estimated: `3611` + // Minimum execution time: 7_936_000 picoseconds. + Weight::from_parts(8_059_000, 0) + .saturating_add(Weight::from_parts(0, 3611)) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// Storage: `Assets::Approvals` (r:1 w:0) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + fn allowance() -> Weight { + // Proof Size summary in bytes: + // Measured: `362` + // Estimated: `3625` + // Minimum execution time: 10_848_000 picoseconds. + Weight::from_parts(11_065_000, 0) + .saturating_add(Weight::from_parts(0, 3625)) + .saturating_add(T::DbWeight::get().reads(1)) + } } diff --git a/runtime/astar/src/weights/pallet_dapp_staking.rs b/runtime/astar/src/weights/pallet_dapp_staking.rs index e87e29bd67..41f2e11127 100644 --- a/runtime/astar/src/weights/pallet_dapp_staking.rs +++ b/runtime/astar/src/weights/pallet_dapp_staking.rs @@ -20,7 +20,7 @@ //! Autogenerated weights for `pallet_dapp_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-09-18, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-12-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `gh-runner-01-ovh`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 @@ -56,8 +56,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_797_000 picoseconds. - Weight::from_parts(7_952_000, 0) + // Minimum execution time: 9_614_000 picoseconds. + Weight::from_parts(12_478_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `DappStaking::IntegratedDApps` (r:1 w:1) @@ -70,8 +70,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `3086` - // Minimum execution time: 15_231_000 picoseconds. - Weight::from_parts(15_497_000, 0) + // Minimum execution time: 18_271_000 picoseconds. + Weight::from_parts(18_397_000, 0) .saturating_add(Weight::from_parts(0, 3086)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -82,8 +82,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `97` // Estimated: `3086` - // Minimum execution time: 13_286_000 picoseconds. - Weight::from_parts(13_671_000, 0) + // Minimum execution time: 15_621_000 picoseconds. + Weight::from_parts(15_946_000, 0) .saturating_add(Weight::from_parts(0, 3086)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -94,8 +94,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `97` // Estimated: `3086` - // Minimum execution time: 13_359_000 picoseconds. - Weight::from_parts(13_615_000, 0) + // Minimum execution time: 15_482_000 picoseconds. + Weight::from_parts(15_984_000, 0) .saturating_add(Weight::from_parts(0, 3086)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -110,8 +110,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `97` // Estimated: `3086` - // Minimum execution time: 18_668_000 picoseconds. - Weight::from_parts(19_056_000, 0) + // Minimum execution time: 21_534_000 picoseconds. + Weight::from_parts(21_995_000, 0) .saturating_add(Weight::from_parts(0, 3086)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) @@ -130,8 +130,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `138` // Estimated: `4764` - // Minimum execution time: 35_796_000 picoseconds. - Weight::from_parts(55_675_000, 0) + // Minimum execution time: 39_515_000 picoseconds. + Weight::from_parts(40_403_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) @@ -148,8 +148,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `158` // Estimated: `4764` - // Minimum execution time: 36_646_000 picoseconds. - Weight::from_parts(37_117_000, 0) + // Minimum execution time: 40_215_000 picoseconds. + Weight::from_parts(40_662_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -166,8 +166,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `158` // Estimated: `4764` - // Minimum execution time: 33_487_000 picoseconds. - Weight::from_parts(33_971_000, 0) + // Minimum execution time: 36_950_000 picoseconds. + Weight::from_parts(37_450_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -185,11 +185,11 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `190` // Estimated: `4764` - // Minimum execution time: 35_823_000 picoseconds. - Weight::from_parts(37_343_242, 0) + // Minimum execution time: 39_873_000 picoseconds. + Weight::from_parts(41_909_657, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 2_630 - .saturating_add(Weight::from_parts(95_982, 0).saturating_mul(x.into())) + // Standard Error: 31_452 + .saturating_add(Weight::from_parts(103_521, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -205,8 +205,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `200` // Estimated: `4764` - // Minimum execution time: 32_726_000 picoseconds. - Weight::from_parts(33_458_000, 0) + // Minimum execution time: 36_949_000 picoseconds. + Weight::from_parts(37_559_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -229,8 +229,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `274` // Estimated: `4764` - // Minimum execution time: 48_131_000 picoseconds. - Weight::from_parts(48_946_000, 0) + // Minimum execution time: 53_841_000 picoseconds. + Weight::from_parts(54_433_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) @@ -253,8 +253,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `459` // Estimated: `4764` - // Minimum execution time: 53_610_000 picoseconds. - Weight::from_parts(53_979_000, 0) + // Minimum execution time: 58_602_000 picoseconds. + Weight::from_parts(59_354_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) @@ -274,11 +274,11 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `541` // Estimated: `4764` - // Minimum execution time: 54_109_000 picoseconds. - Weight::from_parts(52_736_689, 0) + // Minimum execution time: 58_417_000 picoseconds. + Weight::from_parts(58_205_826, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 4_297 - .saturating_add(Weight::from_parts(2_208_246, 0).saturating_mul(x.into())) + // Standard Error: 15_677 + .saturating_add(Weight::from_parts(1_917_365, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -295,11 +295,11 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `519` // Estimated: `4764` - // Minimum execution time: 51_242_000 picoseconds. - Weight::from_parts(50_340_177, 0) + // Minimum execution time: 55_597_000 picoseconds. + Weight::from_parts(54_766_735, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 3_267 - .saturating_add(Weight::from_parts(2_162_040, 0).saturating_mul(x.into())) + // Standard Error: 4_643 + .saturating_add(Weight::from_parts(1_964_351, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -313,8 +313,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `275` // Estimated: `3775` - // Minimum execution time: 43_371_000 picoseconds. - Weight::from_parts(43_755_000, 0) + // Minimum execution time: 46_511_000 picoseconds. + Weight::from_parts(46_842_000, 0) .saturating_add(Weight::from_parts(0, 3775)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -327,8 +327,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `2672` // Estimated: `5113` - // Minimum execution time: 64_769_000 picoseconds. - Weight::from_parts(66_724_000, 0) + // Minimum execution time: 70_754_000 picoseconds. + Weight::from_parts(72_647_000, 0) .saturating_add(Weight::from_parts(0, 5113)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -349,8 +349,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `322` // Estimated: `4764` - // Minimum execution time: 43_668_000 picoseconds. - Weight::from_parts(44_073_000, 0) + // Minimum execution time: 49_611_000 picoseconds. + Weight::from_parts(50_156_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) @@ -368,11 +368,11 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `257 + x * (73 ±0)` // Estimated: `4764 + x * (2653 ±0)` - // Minimum execution time: 43_879_000 picoseconds. - Weight::from_parts(39_614_228, 0) + // Minimum execution time: 48_067_000 picoseconds. + Weight::from_parts(44_647_745, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 10_569 - .saturating_add(Weight::from_parts(5_901_871, 0).saturating_mul(x.into())) + // Standard Error: 12_548 + .saturating_add(Weight::from_parts(6_228_123, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -385,8 +385,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `1486` - // Minimum execution time: 10_973_000 picoseconds. - Weight::from_parts(11_181_000, 0) + // Minimum execution time: 13_005_000 picoseconds. + Weight::from_parts(13_524_000, 0) .saturating_add(Weight::from_parts(0, 1486)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -408,8 +408,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `553` // Estimated: `6296` - // Minimum execution time: 84_975_000 picoseconds. - Weight::from_parts(85_927_000, 0) + // Minimum execution time: 92_804_000 picoseconds. + Weight::from_parts(93_355_000, 0) .saturating_add(Weight::from_parts(0, 6296)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(7)) @@ -432,8 +432,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `419` // Estimated: `6296` - // Minimum execution time: 75_026_000 picoseconds. - Weight::from_parts(76_181_000, 0) + // Minimum execution time: 83_894_000 picoseconds. + Weight::from_parts(85_431_000, 0) .saturating_add(Weight::from_parts(0, 6296)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(6)) @@ -452,8 +452,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `224` // Estimated: `4254` - // Minimum execution time: 29_055_000 picoseconds. - Weight::from_parts(29_654_000, 0) + // Minimum execution time: 28_879_000 picoseconds. + Weight::from_parts(29_876_000, 0) .saturating_add(Weight::from_parts(0, 4254)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) @@ -478,8 +478,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `731` // Estimated: `4254` - // Minimum execution time: 51_069_000 picoseconds. - Weight::from_parts(52_195_000, 0) + // Minimum execution time: 51_988_000 picoseconds. + Weight::from_parts(53_076_000, 0) .saturating_add(Weight::from_parts(0, 4254)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(7)) @@ -500,8 +500,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `276` // Estimated: `4254` - // Minimum execution time: 33_282_000 picoseconds. - Weight::from_parts(33_637_000, 0) + // Minimum execution time: 31_974_000 picoseconds. + Weight::from_parts(32_938_000, 0) .saturating_add(Weight::from_parts(0, 4254)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -515,11 +515,11 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `97 + x * (32 ±0)` // Estimated: `3061 + x * (2071 ±0)` - // Minimum execution time: 7_701_000 picoseconds. - Weight::from_parts(8_973_665, 0) + // Minimum execution time: 8_154_000 picoseconds. + Weight::from_parts(10_541_455, 0) .saturating_add(Weight::from_parts(0, 3061)) - // Standard Error: 3_160 - .saturating_add(Weight::from_parts(2_859_658, 0).saturating_mul(x.into())) + // Standard Error: 3_518 + .saturating_add(Weight::from_parts(2_947_593, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(x.into()))) .saturating_add(Weight::from_parts(0, 2071).saturating_mul(x.into())) @@ -534,8 +534,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `293` // Estimated: `4254` - // Minimum execution time: 9_591_000 picoseconds. - Weight::from_parts(9_867_000, 0) + // Minimum execution time: 11_073_000 picoseconds. + Weight::from_parts(11_380_000, 0) .saturating_add(Weight::from_parts(0, 4254)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) @@ -546,8 +546,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `76` // Estimated: `6560` - // Minimum execution time: 17_906_000 picoseconds. - Weight::from_parts(18_288_000, 0) + // Minimum execution time: 20_821_000 picoseconds. + Weight::from_parts(21_079_000, 0) .saturating_add(Weight::from_parts(0, 6560)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -558,8 +558,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_974_000 picoseconds. - Weight::from_parts(9_305_000, 0) + // Minimum execution time: 11_181_000 picoseconds. + Weight::from_parts(11_568_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/astar/src/weights/pallet_inflation.rs b/runtime/astar/src/weights/pallet_inflation.rs index a8bf38d217..aa0f548bba 100644 --- a/runtime/astar/src/weights/pallet_inflation.rs +++ b/runtime/astar/src/weights/pallet_inflation.rs @@ -20,7 +20,7 @@ //! Autogenerated weights for `pallet_inflation` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-09-18, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-12-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `gh-runner-01-ovh`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 @@ -58,8 +58,8 @@ impl pallet_inflation::WeightInfo for SubstrateWeight pallet_inflation::WeightInfo for SubstrateWeight pallet_inflation::WeightInfo for SubstrateWeight pallet_inflation::WeightInfo for SubstrateWeight pallet_inflation::WeightInfo for SubstrateWeight pallet_transaction_payment::WeightInfo for Substra // Proof Size summary in bytes: // Measured: `174` // Estimated: `6196` - // Minimum execution time: 50_998_000 picoseconds. - Weight::from_parts(51_431_000, 0) + // Minimum execution time: 104_700_000 picoseconds. + Weight::from_parts(105_158_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtime/astar/src/weights/pallet_xcm.rs b/runtime/astar/src/weights/pallet_xcm.rs index 898d2b68af..582471f444 100644 --- a/runtime/astar/src/weights/pallet_xcm.rs +++ b/runtime/astar/src/weights/pallet_xcm.rs @@ -19,25 +19,26 @@ //! Autogenerated weights for `pallet_xcm` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.1.0 -//! DATE: 2025-05-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-12-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `gh-runner-01-ovh`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("astar-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: -// ./target/release/astar-collator +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=astar-dev +// --runtime=./target/release/wbuild/astar-runtime/astar_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=pallet_xcm // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./benchmark-results/astar-dev/xcm_weights.rs -// --template=./scripts/templates/weight-template.hbs +// --output=./benchmark-results/astar/runtime/xcm_weights.rs +// --template=./scripts/templates/runtime-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -53,19 +54,21 @@ pub struct SubstrateWeight(PhantomData); impl pallet_xcm::WeightInfo for SubstrateWeight { /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(131106), added: 133581, mode: `MaxEncodedLen`) fn send() -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `3574` - // Minimum execution time: 20_428_000 picoseconds. - Weight::from_parts(20_829_000, 0) - .saturating_add(Weight::from_parts(0, 3574)) + // Measured: `279` + // Estimated: `3744` + // Minimum execution time: 36_274_000 picoseconds. + Weight::from_parts(37_124_000, 0) + .saturating_add(Weight::from_parts(0, 3744)) .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `Benchmark::Override` (r:0 w:0) /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -95,8 +98,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `348` // Estimated: `3813` - // Minimum execution time: 83_769_000 picoseconds. - Weight::from_parts(84_726_000, 0) + // Minimum execution time: 103_062_000 picoseconds. + Weight::from_parts(103_808_000, 0) .saturating_add(Weight::from_parts(0, 3813)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) @@ -127,8 +130,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_722_000 picoseconds. - Weight::from_parts(8_941_000, 0) + // Minimum execution time: 12_364_000 picoseconds. + Weight::from_parts(12_543_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -136,8 +139,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_139_000 picoseconds. - Weight::from_parts(3_215_000, 0) + // Minimum execution time: 4_878_000 picoseconds. + Weight::from_parts(5_007_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) @@ -146,40 +149,44 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(131106), added: 133581, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::Queries` (r:0 w:1) /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_subscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `3574` - // Minimum execution time: 26_302_000 picoseconds. - Weight::from_parts(26_726_000, 0) - .saturating_add(Weight::from_parts(0, 3574)) + // Measured: `279` + // Estimated: `3744` + // Minimum execution time: 39_926_000 picoseconds. + Weight::from_parts(40_454_000, 0) + .saturating_add(Weight::from_parts(0, 3744)) .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:0) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(131106), added: 133581, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::Queries` (r:0 w:1) /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_unsubscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `168` - // Estimated: `3633` - // Minimum execution time: 26_336_000 picoseconds. - Weight::from_parts(26_861_000, 0) - .saturating_add(Weight::from_parts(0, 3633)) - .saturating_add(T::DbWeight::get().reads(4)) + // Measured: `403` + // Estimated: `134571` + // Minimum execution time: 42_243_000 picoseconds. + Weight::from_parts(42_686_000, 0) + .saturating_add(Weight::from_parts(0, 134571)) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1) @@ -188,8 +195,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_965_000 picoseconds. - Weight::from_parts(3_149_000, 0) + // Minimum execution time: 4_787_000 picoseconds. + Weight::from_parts(4_959_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -199,8 +206,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `22` // Estimated: `15862` - // Minimum execution time: 20_422_000 picoseconds. - Weight::from_parts(20_802_000, 0) + // Minimum execution time: 23_329_000 picoseconds. + Weight::from_parts(23_824_000, 0) .saturating_add(Weight::from_parts(0, 15862)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) @@ -211,8 +218,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `26` // Estimated: `15866` - // Minimum execution time: 20_381_000 picoseconds. - Weight::from_parts(20_892_000, 0) + // Minimum execution time: 24_185_000 picoseconds. + Weight::from_parts(24_478_000, 0) .saturating_add(Weight::from_parts(0, 15866)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) @@ -221,30 +228,28 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn already_notified_target() -> Weight { // Proof Size summary in bytes: - // Measured: `75` - // Estimated: `18390` - // Minimum execution time: 24_427_000 picoseconds. - Weight::from_parts(24_874_000, 0) - .saturating_add(Weight::from_parts(0, 18390)) + // Measured: `78` + // Estimated: `18393` + // Minimum execution time: 27_249_000 picoseconds. + Weight::from_parts(27_843_000, 0) + .saturating_add(Weight::from_parts(0, 18393)) .saturating_add(T::DbWeight::get().reads(7)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn notify_current_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `142` - // Estimated: `6082` - // Minimum execution time: 25_094_000 picoseconds. - Weight::from_parts(25_423_000, 0) - .saturating_add(Weight::from_parts(0, 6082)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `145` + // Estimated: `6085` + // Minimum execution time: 32_304_000 picoseconds. + Weight::from_parts(46_999_000, 0) + .saturating_add(Weight::from_parts(0, 6085)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -252,8 +257,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `78` // Estimated: `13443` - // Minimum execution time: 17_265_000 picoseconds. - Weight::from_parts(17_643_000, 0) + // Minimum execution time: 19_167_000 picoseconds. + Weight::from_parts(19_816_000, 0) .saturating_add(Weight::from_parts(0, 13443)) .saturating_add(T::DbWeight::get().reads(5)) } @@ -263,29 +268,27 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `33` // Estimated: `15873` - // Minimum execution time: 20_812_000 picoseconds. - Weight::from_parts(21_096_000, 0) + // Minimum execution time: 23_887_000 picoseconds. + Weight::from_parts(24_250_000, 0) .saturating_add(Weight::from_parts(0, 15873)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:1) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn migrate_and_notify_old_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `142` - // Estimated: `15982` - // Minimum execution time: 37_158_000 picoseconds. - Weight::from_parts(37_606_000, 0) - .saturating_add(Weight::from_parts(0, 15982)) - .saturating_add(T::DbWeight::get().reads(9)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `145` + // Estimated: `15985` + // Minimum execution time: 42_721_000 picoseconds. + Weight::from_parts(58_181_000, 0) + .saturating_add(Weight::from_parts(0, 15985)) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -295,8 +298,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 3_293_000 picoseconds. - Weight::from_parts(3_425_000, 0) + // Minimum execution time: 4_598_000 picoseconds. + Weight::from_parts(4_687_000, 0) .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -307,8 +310,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `7576` // Estimated: `11041` - // Minimum execution time: 24_654_000 picoseconds. - Weight::from_parts(24_929_000, 0) + // Minimum execution time: 30_750_000 picoseconds. + Weight::from_parts(31_312_000, 0) .saturating_add(Weight::from_parts(0, 11041)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -321,10 +324,30 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `23` // Estimated: `3488` - // Minimum execution time: 38_740_000 picoseconds. - Weight::from_parts(39_383_000, 0) + // Minimum execution time: 48_289_000 picoseconds. + Weight::from_parts(48_837_000, 0) .saturating_add(Weight::from_parts(0, 3488)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn add_authorized_alias() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn remove_authorized_alias() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } } diff --git a/runtime/astar/src/xcm_config.rs b/runtime/astar/src/xcm_config.rs index 337dad4d10..55d91bfcbf 100644 --- a/runtime/astar/src/xcm_config.rs +++ b/runtime/astar/src/xcm_config.rs @@ -33,7 +33,7 @@ use sp_runtime::traits::{Convert, MaybeEquivalence}; // Polkadot imports use cumulus_primitives_core::{AggregateMessageOrigin, ParaId}; -use frame_support::traits::TransformOrigin; +use frame_support::traits::{Disabled, TransformOrigin}; use parachains_common::message_queue::ParaIdToSibling; use polkadot_runtime_common::xcm_sender::NoPriceForMessageDelivery; use xcm::latest::prelude::*; @@ -280,6 +280,7 @@ impl xcm_executor::Config for XcmConfig { type HrmpChannelAcceptedHandler = (); type HrmpChannelClosingHandler = (); type XcmRecorder = PolkadotXcm; + type XcmEventEmitter = PolkadotXcm; } /// Local origins on this chain are allowed to dispatch XCM sends/executions. @@ -323,6 +324,7 @@ impl pallet_xcm::Config for Runtime { type MaxRemoteLockConsumers = ConstU32<0>; type RemoteLockConsumerIdentifier = (); type AdminOrigin = EnsureRoot; + type AuthorizedAliasConsideration = Disabled; } impl cumulus_pallet_xcm::Config for Runtime { @@ -366,7 +368,6 @@ impl Convert> for AssetIdConvert { } impl orml_xtokens::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type Balance = Balance; type CurrencyId = AssetId; type CurrencyIdConvert = AssetIdConvert; diff --git a/runtime/local/Cargo.toml b/runtime/local/Cargo.toml index 171ba21a15..6a57012afe 100644 --- a/runtime/local/Cargo.toml +++ b/runtime/local/Cargo.toml @@ -7,7 +7,11 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] +ethereum = { workspace = true } log = { workspace = true, optional = true } num_enum = { workspace = true } parity-scale-codec = { workspace = true } @@ -195,6 +199,7 @@ std = [ "pallet-evm-precompile-assets-erc20/std", "precompile-utils/std", "scale-info/std", + "ethereum/std", ] runtime-benchmarks = [ "frame-benchmarking", diff --git a/runtime/local/src/genesis_config.rs b/runtime/local/src/genesis_config.rs index 9e00e9009d..2e3706c962 100644 --- a/runtime/local/src/genesis_config.rs +++ b/runtime/local/src/genesis_config.rs @@ -70,7 +70,10 @@ pub fn default_config() -> serde_json::Value { sudo: SudoConfig { key: Some(alice.account_id()), }, - balances: BalancesConfig { balances }, + balances: BalancesConfig { + balances, + ..Default::default() + }, vesting: VestingConfig { vesting: vec![] }, aura: AuraConfig { authorities: vec![get_from_seed::("Alice")], diff --git a/runtime/local/src/lib.rs b/runtime/local/src/lib.rs index e9686939b8..aae135fcea 100644 --- a/runtime/local/src/lib.rs +++ b/runtime/local/src/lib.rs @@ -25,9 +25,12 @@ include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); extern crate alloc; +extern crate core; + use alloc::{borrow::Cow, collections::btree_map::BTreeMap, vec, vec::Vec}; use core::marker::PhantomData; +use ethereum::AuthorizationList; use frame_support::{ construct_runtime, genesis_builder_helper, parameter_types, traits::{ @@ -54,7 +57,9 @@ use pallet_grandpa::{fg_primitives, AuthorityList as GrandpaAuthorityList}; use pallet_transaction_payment::{FungibleAdapter, Multiplier, TargetedFeeAdjustment}; use parity_scale_codec::{Compact, Decode, Encode, MaxEncodedLen}; use sp_api::impl_runtime_apis; -use sp_core::{crypto::KeyTypeId, sr25519, ConstBool, OpaqueMetadata, H160, H256, U256}; +use sp_core::{ + crypto::KeyTypeId, sr25519, ConstBool, DecodeWithMemTracking, OpaqueMetadata, H160, H256, U256, +}; use sp_runtime::{ generic, impl_opaque_keys, traits::{ @@ -350,6 +355,7 @@ impl pallet_assets::Config for Runtime { type StringLimit = AssetsStringLimit; type Freezer = (); type Extra = (); + type Holder = (); type WeightInfo = weights::pallet_assets::SubstrateWeight; type RemoveItemsLimit = ConstU32<1000>; type AssetIdParameter = Compact; @@ -426,7 +432,6 @@ impl Get for AdjustmentFactorGetter { } impl pallet_dynamic_evm_base_fee::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type DefaultBaseFeePerGas = DefaultBaseFeePerGas; type MinBaseFeePerGas = MinBaseFeePerGas; type MaxBaseFeePerGas = MaxBaseFeePerGas; @@ -441,9 +446,7 @@ parameter_types! { pub const DappsStakingPalletId: PalletId = PalletId(*b"py/dpsst"); } -impl pallet_static_price_provider::Config for Runtime { - type RuntimeEvent = RuntimeEvent; -} +impl pallet_static_price_provider::Config for Runtime {} #[cfg(feature = "runtime-benchmarks")] pub struct BenchmarkHelper(PhantomData<(SC, ACC)>); @@ -531,7 +534,6 @@ impl pallet_inflation::Config for Runtime { type Currency = Balances; type PayoutPerBlock = InflationPayoutPerBlock; type CycleConfiguration = InflationCycleConfig; - type RuntimeEvent = RuntimeEvent; type WeightInfo = pallet_inflation::weights::SubstrateWeight; } @@ -548,7 +550,6 @@ parameter_types! { } impl pallet_unified_accounts::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type Currency = Balances; type DefaultMappings = HashedDefaultMappings; type ChainId = ChainId; @@ -626,7 +627,6 @@ impl pallet_evm::Config for Runtime { type WithdrawOrigin = pallet_evm::EnsureAddressTruncated; type AddressMapping = UnifiedAccounts; type Currency = Balances; - type RuntimeEvent = RuntimeEvent; type Runner = pallet_evm::runner::stack::Runner; type PrecompilesType = Precompiles; type PrecompilesValue = PrecompilesValue; @@ -640,6 +640,8 @@ impl pallet_evm::Config for Runtime { type AccountProvider = pallet_evm::FrameSystemAccountProvider; // gas based storage limit not enabled type GasLimitStorageGrowthRatio = ConstU64<0>; + type CreateOriginFilter = (); + type CreateInnerOriginFilter = (); type WeightInfo = pallet_evm::weights::SubstrateWeight; } @@ -648,7 +650,6 @@ parameter_types! { } impl pallet_ethereum::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type StateRoot = pallet_ethereum::IntermediateStateRoot<::Version>; type PostLogContent = PostBlockAndTxnHashes; @@ -672,6 +673,7 @@ impl pallet_scheduler::Config for Runtime { type WeightInfo = pallet_scheduler::weights::SubstrateWeight; type OriginPrivilegeCmp = EqualPrivilegeOnly; type Preimages = Preimage; + type BlockNumberProvider = System; } parameter_types! { @@ -777,6 +779,7 @@ impl pallet_sudo::Config for Runtime { PartialOrd, Encode, Decode, + DecodeWithMemTracking, RuntimeDebug, MaxEncodedLen, scale_info::TypeInfo, @@ -896,6 +899,7 @@ impl pallet_proxy::Config for Runtime { type AnnouncementDepositBase = ConstU128<{ AST * 10 }>; // Acc Id + Hash + block number type AnnouncementDepositFactor = ConstU128<{ MILLIAST * 660 }>; + type BlockNumberProvider = System; } parameter_types! { @@ -1118,7 +1122,6 @@ impl InstanceFilter for CommunityCouncilCallFilter { } impl pallet_collective_proxy::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type RuntimeCall = RuntimeCall; type CollectiveProxy = EnsureRootOrTwoThirdsCommunityCouncil; type ProxyAccountId = CommunityTreasuryAccountId; @@ -1552,6 +1555,7 @@ impl_runtime_apis! { nonce: Option, estimate: bool, access_list: Option)>>, + authorization_list: Option, ) -> Result { let config = if estimate { let mut config = ::config().clone(); @@ -1608,7 +1612,8 @@ impl_runtime_apis! { max_fee_per_gas, max_priority_fee_per_gas, nonce, - Vec::new(), + access_list.unwrap_or_default(), + authorization_list.unwrap_or_default(), is_transactional, validate, weight_limit, @@ -1630,6 +1635,7 @@ impl_runtime_apis! { nonce: Option, estimate: bool, access_list: Option)>>, + authorization_list: Option, ) -> Result { let config = if estimate { let mut config = ::config().clone(); @@ -1686,7 +1692,8 @@ impl_runtime_apis! { max_fee_per_gas, max_priority_fee_per_gas, nonce, - Vec::new(), + access_list.unwrap_or_default(), + authorization_list.unwrap_or_default(), is_transactional, validate, weight_limit, @@ -1877,7 +1884,7 @@ impl_runtime_apis! { Vec, Vec, ) { - use frame_benchmarking::{baseline, Benchmarking, BenchmarkList}; + use frame_benchmarking::{baseline, BenchmarkList}; use frame_support::traits::StorageInfoTrait; pub use frame_system_benchmarking::{ extensions::Pallet as SystemExtensionsBench, Pallet as SystemBench @@ -1892,10 +1899,11 @@ impl_runtime_apis! { (list, storage_info) } + #[allow(non_local_definitions)] fn dispatch_benchmark( config: frame_benchmarking::BenchmarkConfig ) -> Result, alloc::string::String> { - use frame_benchmarking::{baseline, Benchmarking, BenchmarkBatch}; + use frame_benchmarking::{baseline, BenchmarkBatch}; pub use frame_system_benchmarking::{ extensions::Pallet as SystemExtensionsBench, Pallet as SystemBench }; @@ -2000,6 +2008,7 @@ impl_runtime_apis! { max_priority_fee_per_gas: Option, nonce: Option, access_list: Option)>>, + authorization_list: Option, ) -> Result<(), sp_runtime::DispatchError> { use moonbeam_evm_tracer::tracer::EvmTracer; @@ -2057,6 +2066,7 @@ impl_runtime_apis! { max_priority_fee_per_gas, nonce, access_list.unwrap_or_default(), + authorization_list.unwrap_or_default(), is_transactional, validate, weight_limit, diff --git a/runtime/local/src/precompiles.rs b/runtime/local/src/precompiles.rs index 8a29d1ab7e..d9b522d274 100644 --- a/runtime/local/src/precompiles.rs +++ b/runtime/local/src/precompiles.rs @@ -18,7 +18,7 @@ //! The Local Network EVM precompiles. This can be compiled with ``#[no_std]`, ready for Wasm. -use crate::{RuntimeCall, UnifiedAccounts}; +use crate::{Runtime, RuntimeCall, UnifiedAccounts}; use astar_primitives::precompiles::DispatchFilterValidate; use frame_support::traits::ConstU32; use frame_support::{parameter_types, traits::Contains}; @@ -106,7 +106,11 @@ pub type LocalPrecompilesSetAt = ( PrecompileAt, Bn128Pairing, EthereumPrecompilesChecks>, PrecompileAt, Blake2F, EthereumPrecompilesChecks>, // Non-Local specific nor Ethereum precompiles : - PrecompileAt, Sha3FIPS256, (CallableByContract, CallableByPrecompile)>, + PrecompileAt< + AddressU64<1024>, + Sha3FIPS256, + (CallableByContract, CallableByPrecompile), + >, PrecompileAt< AddressU64<1025>, Dispatch>, diff --git a/runtime/local/src/weights/pallet_assets.rs b/runtime/local/src/weights/pallet_assets.rs index bcfb973368..4221949d94 100644 --- a/runtime/local/src/weights/pallet_assets.rs +++ b/runtime/local/src/weights/pallet_assets.rs @@ -558,4 +558,16 @@ impl pallet_assets::WeightInfo for SubstrateWeight { .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } + + fn total_issuance() -> Weight { + todo!() + } + + fn balance() -> Weight { + todo!() + } + + fn allowance() -> Weight { + todo!() + } } diff --git a/runtime/shibuya/Cargo.toml b/runtime/shibuya/Cargo.toml index 73de4d8f08..515b915475 100644 --- a/runtime/shibuya/Cargo.toml +++ b/runtime/shibuya/Cargo.toml @@ -7,6 +7,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] # third-party dependencies hex-literal = { workspace = true } @@ -18,6 +21,7 @@ serde_json = { workspace = true } smallvec = { workspace = true } # primitives +ethereum = { workspace = true } fp-evm = { workspace = true } fp-rpc = { workspace = true } fp-self-contained = { workspace = true } @@ -270,6 +274,7 @@ std = [ "xcm-executor/std", "xcm-runtime-apis/std", "xcm/std", + "ethereum/std", ] runtime-benchmarks = [ "astar-primitives/runtime-benchmarks", @@ -331,6 +336,7 @@ runtime-benchmarks = [ "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", "xcm-runtime-apis/runtime-benchmarks", + "xcm/runtime-benchmarks", ] try-runtime = [ "astar-primitives/try-runtime", @@ -389,6 +395,7 @@ try-runtime = [ "parachain-info/try-runtime", "polkadot-runtime-common/try-runtime", "sp-runtime/try-runtime", + "parachains-common/try-runtime", ] evm-tracing = [ "moonbeam-evm-tracer", diff --git a/runtime/shibuya/src/genesis_config.rs b/runtime/shibuya/src/genesis_config.rs index 41889eab57..c81e36964e 100644 --- a/runtime/shibuya/src/genesis_config.rs +++ b/runtime/shibuya/src/genesis_config.rs @@ -67,7 +67,10 @@ pub fn default_config(para_id: u32) -> serde_json::Value { parachain_id: para_id.into(), ..Default::default() }, - balances: BalancesConfig { balances }, + balances: BalancesConfig { + balances, + ..Default::default() + }, vesting: VestingConfig { vesting: vec![] }, session: SessionConfig { keys: authorities diff --git a/runtime/shibuya/src/lib.rs b/runtime/shibuya/src/lib.rs index 4f25d38fd0..bb161b6afb 100644 --- a/runtime/shibuya/src/lib.rs +++ b/runtime/shibuya/src/lib.rs @@ -23,10 +23,13 @@ #![recursion_limit = "512"] extern crate alloc; +extern crate core; + use alloc::{borrow::Cow, collections::btree_map::BTreeMap, vec, vec::Vec}; use core::marker::PhantomData; use cumulus_primitives_core::AggregateMessageOrigin; +use ethereum::AuthorizationList; use frame_support::{ construct_runtime, dispatch::DispatchClass, @@ -55,7 +58,7 @@ use pallet_transaction_payment::{ FeeDetails, Multiplier, RuntimeDispatchInfo, TargetedFeeAdjustment, }; use pallet_tx_pause::RuntimeCallNameOf; -use parity_scale_codec::{Compact, Decode, Encode, MaxEncodedLen}; +use parity_scale_codec::{Compact, Decode, DecodeWithMemTracking, Encode, MaxEncodedLen}; use polkadot_runtime_common::BlockHashCount; use sp_api::impl_runtime_apis; use sp_core::{sr25519, OpaqueMetadata, H160, H256, U256}; @@ -243,7 +246,7 @@ const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(75); /// We allow for 2 seconds of compute with a 6 second average block time. const MAXIMUM_BLOCK_WEIGHT: Weight = Weight::from_parts( WEIGHT_REF_TIME_PER_SECOND.saturating_mul(2), - astar_primitives::MAX_POV_SIZE as u64, + polkadot_primitives::MAX_POV_SIZE as u64, ); parameter_types! { @@ -384,6 +387,8 @@ impl pallet_identity::Config for Runtime { type WeightInfo = pallet_identity::weights::SubstrateWeight; type UsernameDeposit = UsernameDeposit; type UsernameGracePeriod = ConstU32<{ 7 * DAYS }>; + #[cfg(feature = "runtime-benchmarks")] + type BenchmarkHelper = (); } parameter_types! { @@ -400,6 +405,7 @@ impl pallet_multisig::Config for Runtime { type DepositBase = DepositBase; type DepositFactor = DepositFactor; type MaxSignatories = ConstU32<100>; + type BlockNumberProvider = System; type WeightInfo = pallet_multisig::weights::SubstrateWeight; } @@ -412,6 +418,7 @@ impl pallet_scheduler::Config for Runtime { type RuntimeOrigin = RuntimeOrigin; type PalletsOrigin = OriginCaller; type RuntimeCall = RuntimeCall; + type BlockNumberProvider = System; type MaximumWeight = MaximumSchedulerWeight; type ScheduleOrigin = EnsureRoot; type MaxScheduledPerBlock = ConstU32<50>; @@ -538,7 +545,6 @@ impl pallet_inflation::Config for Runtime { type Currency = Balances; type PayoutPerBlock = InflationPayoutPerBlock; type CycleConfiguration = InflationCycleConfig; - type RuntimeEvent = RuntimeEvent; type WeightInfo = weights::pallet_inflation::SubstrateWeight; } @@ -569,6 +575,7 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type ConsensusHook = ConsensusHook; type SelectCore = cumulus_pallet_parachain_system::DefaultCoreSelector; type WeightInfo = cumulus_pallet_parachain_system::weights::SubstrateWeight; + type RelayParentOffset = ConstU32<0>; } type ConsensusHook = cumulus_pallet_aura_ext::FixedVelocityConsensusHook< @@ -609,6 +616,7 @@ impl pallet_session::Config for Runtime { type SessionManager = CollatorSelection; type SessionHandler = ::KeyTypeIdProviders; type Keys = SessionKeys; + type DisablingStrategy = (); type WeightInfo = pallet_session::weights::SubstrateWeight; } @@ -629,7 +637,6 @@ impl pallet_collator_selection::AccountCheck for CollatorSelectionAcc } impl pallet_collator_selection::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type Currency = Balances; type UpdateOrigin = EnsureRoot; type ForceRemovalOrigin = EnsureRootOrThreeFourthMainCouncil; @@ -711,6 +718,7 @@ impl pallet_assets::Config for Runtime { type StringLimit = AssetsStringLimit; type Freezer = (); type Extra = (); + type Holder = (); type WeightInfo = weights::pallet_assets::SubstrateWeight; type RemoveItemsLimit = ConstU32<1000>; type AssetIdParameter = Compact; @@ -903,7 +911,6 @@ impl Get for AdjustmentFactorGetter { } impl pallet_dynamic_evm_base_fee::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type DefaultBaseFeePerGas = DefaultBaseFeePerGas; type MinBaseFeePerGas = MinBaseFeePerGas; type MaxBaseFeePerGas = MaxBaseFeePerGas; @@ -971,7 +978,6 @@ impl pallet_evm::Config for Runtime { type WithdrawOrigin = pallet_evm::EnsureAddressTruncated; type AddressMapping = UnifiedAccounts; type Currency = Balances; - type RuntimeEvent = RuntimeEvent; type Runner = pallet_evm::runner::stack::Runner; type PrecompilesType = Precompiles; type PrecompilesValue = PrecompilesValue; @@ -987,6 +993,8 @@ impl pallet_evm::Config for Runtime { type AccountProvider = pallet_evm::FrameSystemAccountProvider; // gas based storage limit not enabled type GasLimitStorageGrowthRatio = ConstU64<0>; + type CreateOriginFilter = (); + type CreateInnerOriginFilter = (); type WeightInfo = pallet_evm::weights::SubstrateWeight; } @@ -997,7 +1005,6 @@ parameter_types! { } impl pallet_ethereum::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type StateRoot = pallet_ethereum::IntermediateStateRoot<::Version>; type PostLogContent = PostBlockAndTxnHashes; @@ -1030,6 +1037,7 @@ parameter_types! { PartialOrd, Encode, Decode, + DecodeWithMemTracking, RuntimeDebug, MaxEncodedLen, scale_info::TypeInfo, @@ -1155,6 +1163,7 @@ impl pallet_proxy::Config for Runtime { // Additional storage item size of 33 bytes. type ProxyDepositFactor = ProxyDepositFactor; type MaxProxies = ConstU32<32>; + type BlockNumberProvider = System; type WeightInfo = pallet_proxy::weights::SubstrateWeight; type MaxPending = ConstU32<32>; type CallHasher = BlakeTwo256; @@ -1165,7 +1174,6 @@ impl pallet_proxy::Config for Runtime { } impl pallet_xc_asset_config::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type AssetId = AssetId; // Good enough for testnet since we lack pallet-assets hooks for now type ManagerOrigin = EnsureRoot; @@ -1205,7 +1213,6 @@ parameter_types! { } impl pallet_unified_accounts::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type Currency = Balances; type DefaultMappings = HashedDefaultMappings; type ChainId = EVMChainId; @@ -1221,7 +1228,6 @@ parameter_types! { } impl pallet_price_aggregator::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type MaxValuesPerBlock = ConstU32<8>; type ProcessBlockValues = pallet_price_aggregator::MedianBlockValue; type NativeCurrencyId = NativeCurrencyId; @@ -1250,7 +1256,6 @@ parameter_types! { } impl orml_oracle::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type OnNewData = PriceAggregator; type CombineData = DummyCombineData; type Time = Timestamp; @@ -1523,7 +1528,6 @@ impl InstanceFilter for CommunityCouncilCallFilter { } impl pallet_collective_proxy::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type RuntimeCall = RuntimeCall; type CollectiveProxy = EnsureRootOrHalfCommunityCouncil; type ProxyAccountId = CommunityTreasuryAccountId; @@ -2043,6 +2047,7 @@ impl_runtime_apis! { nonce: Option, estimate: bool, access_list: Option)>>, + authorization_list: Option, ) -> Result { let config = if estimate { let mut config = ::config().clone(); @@ -2099,7 +2104,8 @@ impl_runtime_apis! { max_fee_per_gas, max_priority_fee_per_gas, nonce, - Vec::new(), + access_list.unwrap_or_default(), + authorization_list.unwrap_or_default(), is_transactional, validate, weight_limit, @@ -2121,6 +2127,7 @@ impl_runtime_apis! { nonce: Option, estimate: bool, access_list: Option)>>, + authorization_list: Option, ) -> Result { let config = if estimate { let mut config = ::config().clone(); @@ -2177,7 +2184,8 @@ impl_runtime_apis! { max_fee_per_gas, max_priority_fee_per_gas, nonce, - Vec::new(), + access_list.unwrap_or_default(), + authorization_list.unwrap_or_default(), is_transactional, validate, weight_limit, @@ -2438,7 +2446,7 @@ impl_runtime_apis! { Vec, Vec, ) { - use frame_benchmarking::{baseline, Benchmarking, BenchmarkList}; + use frame_benchmarking::{baseline, BenchmarkList}; use frame_support::traits::StorageInfoTrait; use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; pub use frame_system_benchmarking::{ @@ -2460,11 +2468,12 @@ impl_runtime_apis! { (list, storage_info) } + #[allow(non_local_definitions)] fn dispatch_benchmark( config: frame_benchmarking::BenchmarkConfig ) -> Result, alloc::string::String> { use alloc::boxed::Box; - use frame_benchmarking::{baseline, Benchmarking, BenchmarkBatch, BenchmarkError}; + use frame_benchmarking::{baseline, BenchmarkBatch, BenchmarkError}; pub use frame_system_benchmarking::{ extensions::Pallet as SystemExtensionsBench, Pallet as SystemBench }; @@ -2472,8 +2481,19 @@ impl_runtime_apis! { use baseline::Pallet as BaselineBench; use xcm::latest::prelude::*; use xcm_builder::MintLocation; - use astar_primitives::benchmarks::XcmBenchmarkHelper; - impl frame_system_benchmarking::Config for Runtime {} + use astar_primitives::{benchmarks::XcmBenchmarkHelper, xcm::ASSET_HUB_PARA_ID}; + // Needed to run `set_code` and `apply_authorized_upgrade` frame_system benchmarks + // https://github.com/paritytech/cumulus/pull/2766 + impl frame_system_benchmarking::Config for Runtime { + fn setup_set_code_requirements(code: &Vec) -> Result<(), BenchmarkError> { + ParachainSystem::initialize_for_set_code_benchmark(code.len() as u32); + Ok(()) + } + + fn verify_set_code() { + System::assert_last_event(cumulus_pallet_parachain_system::Event::::ValidationFunctionStored.into()); + } + } impl baseline::Config for Runtime {} use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; @@ -2481,16 +2501,29 @@ impl_runtime_apis! { impl xcm_builder::EnsureDelivery for TestDeliveryHelper { fn ensure_successful_delivery( origin_ref: &Location, - _dest: &Location, + dest: &Location, _fee_reason: xcm_executor::traits::FeeReason, ) -> (Option, Option) { use xcm_executor::traits::ConvertLocation; - let account = xcm_config::LocationToAccountId::convert_location(origin_ref) - .expect("Invalid location"); - // Give the existential deposit at least - let balance = ExistentialDeposit::get(); - let _ = >:: - make_free_balance_be(&account.into(), balance); + + // This sets up the necessary infrastructure (HostConfiguration) for sending XCM messages + ::ensure_successful_delivery( + Some(dest.clone()) + ); + + // Open HRMP channel for sibling parachain destinations + if let Some(Parachain(para_id)) = dest.interior().first() { + ParachainSystem::open_outbound_hrmp_channel_for_benchmarks_or_tests( + (*para_id).into() + ); + } + + if let Some(account) = xcm_config::LocationToAccountId::convert_location(origin_ref) { + // Give the account some balance to ensure delivery + let balance = ExistentialDeposit::get() * 1000u128; // Give more than just ED + let _ = >:: + make_free_balance_be(&account.into(), balance); + } (None, None) } @@ -2500,7 +2533,7 @@ impl_runtime_apis! { type DeliveryHelper = TestDeliveryHelper; fn reachable_dest() -> Option { - Some(Parent.into()) + Some(AssetHubLocation::get()) } fn teleportable_asset_and_dest() -> Option<(Asset, Location)> { @@ -2537,11 +2570,24 @@ impl_runtime_apis! { impl pallet_xcm_benchmarks::Config for Runtime { type XcmConfig = xcm_config::XcmConfig; type AccountIdConverter = xcm_config::LocationToAccountId; - type DeliveryHelper = (); + type DeliveryHelper = TestDeliveryHelper; + // destination location to be used in benchmarks fn valid_destination() -> Result { - assert_ok!(PolkadotXcm::force_xcm_version(RuntimeOrigin::root(), Box::new(Location::parent()), xcm::v5::VERSION)); - Ok(Location::parent()) + let asset_hub = AssetHubLocation::get(); + assert_ok!(PolkadotXcm::force_xcm_version(RuntimeOrigin::root(), Box::new(asset_hub.clone()), xcm::v5::VERSION)); + + // This sets up the necessary infrastructure (HostConfiguration) for sending XCM messages + ::ensure_successful_delivery( + Some(asset_hub.clone()) + ); + + // Open HRMP channel for sibling parachain destinations + ParachainSystem::open_outbound_hrmp_channel_for_benchmarks_or_tests( + AssetHubParaId::get().into() + ); + + Ok(asset_hub) } fn worst_case_holding(_depositable_count: u32) -> Assets { XcmBenchmarkHelper::::worst_case_holding() @@ -2592,8 +2638,11 @@ impl_runtime_apis! { fn alias_origin() -> Result<(Location, Location), BenchmarkError> { Err(BenchmarkError::Skip) } - fn fee_asset() -> Result { - Ok((AssetId(Here.into()), 1_000_000_000_000_000_000u128).into()) + fn worst_case_for_trader() -> Result<(Asset, WeightLimit), BenchmarkError> { + Ok(( + (AssetId(Here.into()), 1_000_000_000_000_000_000u128).into(), + Limited(Weight::from_parts(5000, 5000)), + )) } } @@ -2603,7 +2652,9 @@ impl_runtime_apis! { pub const TransactAssetId: u128 = 1001; pub TransactAssetLocation: Location = Location { parents: 0, interior: [GeneralIndex(TransactAssetId::get())].into() }; - pub TrustedReserveLocation: Location = Parent.into(); + pub const AssetHubParaId: u32 = ASSET_HUB_PARA_ID; + pub AssetHubLocation: Location = Location::new(1, [Parachain(AssetHubParaId::get())]); + pub TrustedReserveLocation: Location = AssetHubLocation::get(); pub TrustedReserveAsset: Asset = Asset { id: AssetId(TrustedReserveLocation::get()), fun: Fungible(1_000_000) }; pub TrustedReserve: Option<(Location, Asset)> = Some((TrustedReserveLocation::get(), TrustedReserveAsset::get())); } @@ -2741,6 +2792,7 @@ impl_runtime_apis! { max_priority_fee_per_gas: Option, nonce: Option, access_list: Option)>>, + authorization_list: Option, ) -> Result<(), sp_runtime::DispatchError> { use moonbeam_evm_tracer::tracer::EvmTracer; @@ -2798,6 +2850,7 @@ impl_runtime_apis! { max_priority_fee_per_gas, nonce, access_list.unwrap_or_default(), + authorization_list.unwrap_or_default(), is_transactional, validate, weight_limit, diff --git a/runtime/shibuya/src/precompiles.rs b/runtime/shibuya/src/precompiles.rs index 19a4133219..5490b7ba5b 100644 --- a/runtime/shibuya/src/precompiles.rs +++ b/runtime/shibuya/src/precompiles.rs @@ -18,7 +18,7 @@ //! The Astar Network EVM precompiles. This can be compiled with ``#[no_std]`, ready for Wasm. -use crate::{RuntimeCall, UnifiedAccounts}; +use crate::{Runtime, RuntimeCall, UnifiedAccounts}; use astar_primitives::precompiles::DispatchFilterValidate; use frame_support::traits::ConstU32; use frame_support::{parameter_types, traits::Contains}; @@ -110,7 +110,11 @@ pub type ShibuyaPrecompilesSetAt = ( PrecompileAt, Bn128Pairing, EthereumPrecompilesChecks>, PrecompileAt, Blake2F, EthereumPrecompilesChecks>, // Non-Astar specific nor Ethereum precompiles : - PrecompileAt, Sha3FIPS256, (CallableByContract, CallableByPrecompile)>, + PrecompileAt< + AddressU64<1024>, + Sha3FIPS256, + (CallableByContract, CallableByPrecompile), + >, PrecompileAt< AddressU64<1025>, Dispatch>, diff --git a/runtime/shibuya/src/weights/block_weights.rs b/runtime/shibuya/src/weights/block_weights.rs index 014ac91a87..0ddb0d7ca1 100644 --- a/runtime/shibuya/src/weights/block_weights.rs +++ b/runtime/shibuya/src/weights/block_weights.rs @@ -17,7 +17,7 @@ // along with Astar. If not, see . //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-07-21 (Y/M/D) +//! DATE: 2025-12-19 (Y/M/D) //! HOSTNAME: `gh-runner-01-ovh`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz` //! //! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `shibuya` @@ -32,6 +32,7 @@ // overhead // --runtime=./target/release/wbuild/shibuya-runtime/shibuya_runtime.compact.compressed.wasm // --repeat=50 +// --header=./.github/license-check/headers/HEADER-GNUv3 // --weight-path=./benchmark-results/shibuya use sp_core::parameter_types; @@ -42,17 +43,17 @@ parameter_types! { /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 600_411, 838_503 - /// Average: 646_562 - /// Median: 641_761 - /// Std-Dev: 40019.67 + /// Min, Max: 742_999, 864_121 + /// Average: 799_587 + /// Median: 793_841 + /// Std-Dev: 28887.13 /// /// Percentiles nanoseconds: - /// 99th: 838_503 - /// 95th: 700_239 - /// 75th: 658_742 + /// 99th: 864_121 + /// 95th: 860_342 + /// 75th: 798_789 pub const BlockExecutionWeight: Weight = - Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(646_562), 5_772); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(799_587), 6_631); } #[cfg(test)] diff --git a/runtime/shibuya/src/weights/extrinsic_weights.rs b/runtime/shibuya/src/weights/extrinsic_weights.rs index 17a8a056f3..4eeaec751c 100644 --- a/runtime/shibuya/src/weights/extrinsic_weights.rs +++ b/runtime/shibuya/src/weights/extrinsic_weights.rs @@ -17,7 +17,7 @@ // along with Astar. If not, see . //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-07-21 (Y/M/D) +//! DATE: 2025-12-19 (Y/M/D) //! HOSTNAME: `gh-runner-01-ovh`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz` //! //! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `shibuya` @@ -32,6 +32,7 @@ // overhead // --runtime=./target/release/wbuild/shibuya-runtime/shibuya_runtime.compact.compressed.wasm // --repeat=50 +// --header=./.github/license-check/headers/HEADER-GNUv3 // --weight-path=./benchmark-results/shibuya use sp_core::parameter_types; @@ -42,17 +43,17 @@ parameter_types! { /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 108_407, 110_306 - /// Average: 109_119 - /// Median: 109_001 - /// Std-Dev: 361.43 + /// Min, Max: 102_600, 105_654 + /// Average: 103_603 + /// Median: 103_398 + /// Std-Dev: 709.04 /// /// Percentiles nanoseconds: - /// 99th: 110_306 - /// 95th: 109_704 - /// 75th: 109_290 + /// 99th: 105_654 + /// 95th: 105_315 + /// 75th: 103_976 pub const ExtrinsicBaseWeight: Weight = - Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(109_119), 166); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(103_603), 166); } #[cfg(test)] diff --git a/runtime/shibuya/src/weights/frame_system_extensions.rs b/runtime/shibuya/src/weights/frame_system_extensions.rs index ed7cbd5b79..a4738df910 100644 --- a/runtime/shibuya/src/weights/frame_system_extensions.rs +++ b/runtime/shibuya/src/weights/frame_system_extensions.rs @@ -19,25 +19,26 @@ //! Autogenerated weights for `frame_system_extensions` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.1.0 -//! DATE: 2025-05-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-12-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `gh-runner-01-ovh`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("shibuya-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: -// ./target/release/astar-collator +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=shibuya-dev +// --runtime=./target/release/wbuild/shibuya-runtime/shibuya_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=frame_system_extensions // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./benchmark-results/shibuya-dev/system_extensions_weights.rs -// --template=./scripts/templates/weight-template.hbs +// --output=./benchmark-results/shibuya/runtime/system_extensions_weights.rs +// --template=./scripts/templates/runtime-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -55,32 +56,32 @@ impl frame_system::ExtensionsWeightInfo for SubstrateWe // Proof Size summary in bytes: // Measured: `30` // Estimated: `0` - // Minimum execution time: 3_796_000 picoseconds. - Weight::from_parts(3_928_000, 0) + // Minimum execution time: 3_741_000 picoseconds. + Weight::from_parts(3_852_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn check_mortality_mortal_transaction() -> Weight { // Proof Size summary in bytes: // Measured: `68` // Estimated: `0` - // Minimum execution time: 6_953_000 picoseconds. - Weight::from_parts(7_072_000, 0) + // Minimum execution time: 7_300_000 picoseconds. + Weight::from_parts(7_615_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn check_mortality_immortal_transaction() -> Weight { // Proof Size summary in bytes: // Measured: `68` // Estimated: `0` - // Minimum execution time: 6_901_000 picoseconds. - Weight::from_parts(7_062_000, 0) + // Minimum execution time: 7_429_000 picoseconds. + Weight::from_parts(7_791_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn check_non_zero_sender() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 495_000 picoseconds. - Weight::from_parts(535_000, 0) + // Minimum execution time: 535_000 picoseconds. + Weight::from_parts(578_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `System::Account` (r:1 w:1) @@ -89,8 +90,8 @@ impl frame_system::ExtensionsWeightInfo for SubstrateWe // Proof Size summary in bytes: // Measured: `102` // Estimated: `3593` - // Minimum execution time: 6_997_000 picoseconds. - Weight::from_parts(7_162_000, 0) + // Minimum execution time: 10_045_000 picoseconds. + Weight::from_parts(10_315_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -99,8 +100,8 @@ impl frame_system::ExtensionsWeightInfo for SubstrateWe // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 393_000 picoseconds. - Weight::from_parts(431_000, 0) + // Minimum execution time: 438_000 picoseconds. + Weight::from_parts(471_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn check_tx_version() -> Weight { @@ -108,15 +109,23 @@ impl frame_system::ExtensionsWeightInfo for SubstrateWe // Measured: `0` // Estimated: `0` // Minimum execution time: 416_000 picoseconds. - Weight::from_parts(441_000, 0) + Weight::from_parts(450_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn check_weight() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_487_000 picoseconds. - Weight::from_parts(3_614_000, 0) + // Minimum execution time: 6_279_000 picoseconds. + Weight::from_parts(6_454_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + fn weight_reclaim() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_813_000 picoseconds. + Weight::from_parts(4_077_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/shibuya/src/weights/orml_oracle.rs b/runtime/shibuya/src/weights/orml_oracle.rs index f0fe655409..c8104cf5fc 100644 --- a/runtime/shibuya/src/weights/orml_oracle.rs +++ b/runtime/shibuya/src/weights/orml_oracle.rs @@ -19,25 +19,26 @@ //! Autogenerated weights for `orml_oracle` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.1.0 -//! DATE: 2025-05-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-12-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `gh-runner-01-ovh`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("shibuya-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: -// ./target/release/astar-collator +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=shibuya-dev +// --runtime=./target/release/wbuild/shibuya-runtime/shibuya_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=orml_oracle // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./benchmark-results/shibuya-dev/oracle_weights.rs -// --template=./scripts/templates/weight-template.hbs +// --output=./benchmark-results/shibuya/runtime/oracle_weights.rs +// --template=./scripts/templates/runtime-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -66,11 +67,11 @@ impl orml_oracle::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `346` // Estimated: `8634` - // Minimum execution time: 15_603_000 picoseconds. - Weight::from_parts(16_347_052, 0) + // Minimum execution time: 17_396_000 picoseconds. + Weight::from_parts(18_293_172, 0) .saturating_add(Weight::from_parts(0, 8634)) - // Standard Error: 50_689 - .saturating_add(Weight::from_parts(12_834_329, 0).saturating_mul(x.into())) + // Standard Error: 64_988 + .saturating_add(Weight::from_parts(16_404_825, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -82,8 +83,8 @@ impl orml_oracle::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_343_000 picoseconds. - Weight::from_parts(1_392_000, 0) + // Minimum execution time: 2_388_000 picoseconds. + Weight::from_parts(2_475_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/shibuya/src/weights/pallet_assets.rs b/runtime/shibuya/src/weights/pallet_assets.rs index 6906be67c3..812307ed1b 100644 --- a/runtime/shibuya/src/weights/pallet_assets.rs +++ b/runtime/shibuya/src/weights/pallet_assets.rs @@ -19,25 +19,26 @@ //! Autogenerated weights for `pallet_assets` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.1.0 -//! DATE: 2025-05-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-12-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `gh-runner-01-ovh`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("shibuya-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: -// ./target/release/astar-collator +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=shibuya-dev +// --runtime=./target/release/wbuild/shibuya-runtime/shibuya_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=pallet_assets // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./benchmark-results/shibuya-dev/assets_weights.rs -// --template=./scripts/templates/weight-template.hbs +// --output=./benchmark-results/shibuya/runtime/assets_weights.rs +// --template=./scripts/templates/runtime-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -63,8 +64,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `795` // Estimated: `4260` - // Minimum execution time: 37_478_000 picoseconds. - Weight::from_parts(38_044_000, 0) + // Minimum execution time: 43_223_000 picoseconds. + Weight::from_parts(43_609_000, 0) .saturating_add(Weight::from_parts(0, 4260)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -79,8 +80,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `655` // Estimated: `4120` - // Minimum execution time: 22_334_000 picoseconds. - Weight::from_parts(22_773_000, 0) + // Minimum execution time: 24_589_000 picoseconds. + Weight::from_parts(25_267_000, 0) .saturating_add(Weight::from_parts(0, 4120)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -91,8 +92,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `393` // Estimated: `3687` - // Minimum execution time: 14_580_000 picoseconds. - Weight::from_parts(14_827_000, 0) + // Minimum execution time: 15_743_000 picoseconds. + Weight::from_parts(16_032_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -110,11 +111,11 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `595 + c * (208 ±0)` // Estimated: `3687 + c * (2621 ±0)` - // Minimum execution time: 18_638_000 picoseconds. - Weight::from_parts(18_813_000, 0) + // Minimum execution time: 20_119_000 picoseconds. + Weight::from_parts(20_309_000, 0) .saturating_add(Weight::from_parts(0, 3687)) - // Standard Error: 7_478 - .saturating_add(Weight::from_parts(14_648_457, 0).saturating_mul(c.into())) + // Standard Error: 9_120 + .saturating_add(Weight::from_parts(15_404_061, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -130,11 +131,11 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `542 + a * (86 ±0)` // Estimated: `3687 + a * (2635 ±0)` - // Minimum execution time: 18_759_000 picoseconds. - Weight::from_parts(19_071_000, 0) + // Minimum execution time: 21_242_000 picoseconds. + Weight::from_parts(21_609_000, 0) .saturating_add(Weight::from_parts(0, 3687)) - // Standard Error: 4_472 - .saturating_add(Weight::from_parts(13_551_306, 0).saturating_mul(a.into())) + // Standard Error: 7_435 + .saturating_add(Weight::from_parts(15_502_777, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -151,8 +152,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `359` // Estimated: `3687` - // Minimum execution time: 16_976_000 picoseconds. - Weight::from_parts(17_325_000, 0) + // Minimum execution time: 19_997_000 picoseconds. + Weight::from_parts(20_462_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -165,8 +166,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `359` // Estimated: `3687` - // Minimum execution time: 24_658_000 picoseconds. - Weight::from_parts(25_206_000, 0) + // Minimum execution time: 27_795_000 picoseconds. + Weight::from_parts(28_498_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -181,8 +182,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `521` // Estimated: `3687` - // Minimum execution time: 34_853_000 picoseconds. - Weight::from_parts(35_647_000, 0) + // Minimum execution time: 39_624_000 picoseconds. + Weight::from_parts(40_187_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -199,8 +200,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `626` // Estimated: `6232` - // Minimum execution time: 47_596_000 picoseconds. - Weight::from_parts(48_424_000, 0) + // Minimum execution time: 54_129_000 picoseconds. + Weight::from_parts(54_725_000, 0) .saturating_add(Weight::from_parts(0, 6232)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -215,8 +216,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `584` // Estimated: `6232` - // Minimum execution time: 40_464_000 picoseconds. - Weight::from_parts(40_807_000, 0) + // Minimum execution time: 45_038_000 picoseconds. + Weight::from_parts(45_491_000, 0) .saturating_add(Weight::from_parts(0, 6232)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -233,8 +234,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `626` // Estimated: `6232` - // Minimum execution time: 48_925_000 picoseconds. - Weight::from_parts(49_708_000, 0) + // Minimum execution time: 54_031_000 picoseconds. + Weight::from_parts(54_862_000, 0) .saturating_add(Weight::from_parts(0, 6232)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -247,8 +248,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `479` // Estimated: `3687` - // Minimum execution time: 19_070_000 picoseconds. - Weight::from_parts(19_490_000, 0) + // Minimum execution time: 21_502_000 picoseconds. + Weight::from_parts(21_795_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -261,8 +262,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `479` // Estimated: `3687` - // Minimum execution time: 18_736_000 picoseconds. - Weight::from_parts(19_219_000, 0) + // Minimum execution time: 21_283_000 picoseconds. + Weight::from_parts(21_800_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -273,8 +274,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `393` // Estimated: `3687` - // Minimum execution time: 14_197_000 picoseconds. - Weight::from_parts(14_424_000, 0) + // Minimum execution time: 16_257_000 picoseconds. + Weight::from_parts(16_447_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -285,8 +286,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `393` // Estimated: `3687` - // Minimum execution time: 13_860_000 picoseconds. - Weight::from_parts(14_258_000, 0) + // Minimum execution time: 16_566_000 picoseconds. + Weight::from_parts(16_754_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -299,8 +300,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `359` // Estimated: `3687` - // Minimum execution time: 15_835_000 picoseconds. - Weight::from_parts(16_352_000, 0) + // Minimum execution time: 18_479_000 picoseconds. + Weight::from_parts(18_843_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -311,8 +312,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `359` // Estimated: `3687` - // Minimum execution time: 14_037_000 picoseconds. - Weight::from_parts(14_553_000, 0) + // Minimum execution time: 16_426_000 picoseconds. + Weight::from_parts(16_784_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -323,17 +324,15 @@ impl pallet_assets::WeightInfo for SubstrateWeight { /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn set_metadata(n: u32, s: u32, ) -> Weight { + fn set_metadata(_n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `359` // Estimated: `3687` - // Minimum execution time: 28_222_000 picoseconds. - Weight::from_parts(28_474_663, 0) + // Minimum execution time: 32_793_000 picoseconds. + Weight::from_parts(34_026_083, 0) .saturating_add(Weight::from_parts(0, 3687)) - // Standard Error: 4_539 - .saturating_add(Weight::from_parts(11_808, 0).saturating_mul(n.into())) - // Standard Error: 4_539 - .saturating_add(Weight::from_parts(10_031, 0).saturating_mul(s.into())) + // Standard Error: 777 + .saturating_add(Weight::from_parts(383, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -345,8 +344,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `535` // Estimated: `3687` - // Minimum execution time: 29_602_000 picoseconds. - Weight::from_parts(30_213_000, 0) + // Minimum execution time: 32_516_000 picoseconds. + Weight::from_parts(32_859_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -357,13 +356,17 @@ impl pallet_assets::WeightInfo for SubstrateWeight { /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn force_set_metadata(_n: u32, _s: u32, ) -> Weight { + fn force_set_metadata(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `198` // Estimated: `3687` - // Minimum execution time: 14_921_000 picoseconds. - Weight::from_parts(15_659_349, 0) + // Minimum execution time: 16_657_000 picoseconds. + Weight::from_parts(17_327_867, 0) .saturating_add(Weight::from_parts(0, 3687)) + // Standard Error: 394 + .saturating_add(Weight::from_parts(2_246, 0).saturating_mul(n.into())) + // Standard Error: 394 + .saturating_add(Weight::from_parts(3_266, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -375,8 +378,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `535` // Estimated: `3687` - // Minimum execution time: 28_529_000 picoseconds. - Weight::from_parts(29_036_000, 0) + // Minimum execution time: 32_281_000 picoseconds. + Weight::from_parts(32_496_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -387,8 +390,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `359` // Estimated: `3687` - // Minimum execution time: 13_879_000 picoseconds. - Weight::from_parts(14_121_000, 0) + // Minimum execution time: 16_224_000 picoseconds. + Weight::from_parts(16_503_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -401,8 +404,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `393` // Estimated: `3687` - // Minimum execution time: 31_445_000 picoseconds. - Weight::from_parts(31_935_000, 0) + // Minimum execution time: 37_066_000 picoseconds. + Weight::from_parts(37_805_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -419,8 +422,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `817` // Estimated: `6232` - // Minimum execution time: 61_130_000 picoseconds. - Weight::from_parts(62_190_000, 0) + // Minimum execution time: 70_365_000 picoseconds. + Weight::from_parts(71_027_000, 0) .saturating_add(Weight::from_parts(0, 6232)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -433,8 +436,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `575` // Estimated: `3687` - // Minimum execution time: 33_518_000 picoseconds. - Weight::from_parts(34_137_000, 0) + // Minimum execution time: 38_234_000 picoseconds. + Weight::from_parts(38_673_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -447,8 +450,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `575` // Estimated: `3687` - // Minimum execution time: 33_852_000 picoseconds. - Weight::from_parts(34_163_000, 0) + // Minimum execution time: 38_087_000 picoseconds. + Weight::from_parts(38_620_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -459,8 +462,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `359` // Estimated: `3687` - // Minimum execution time: 14_798_000 picoseconds. - Weight::from_parts(15_161_000, 0) + // Minimum execution time: 16_738_000 picoseconds. + Weight::from_parts(16_924_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -475,8 +478,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `566` // Estimated: `3687` - // Minimum execution time: 34_264_000 picoseconds. - Weight::from_parts(34_548_000, 0) + // Minimum execution time: 39_456_000 picoseconds. + Weight::from_parts(40_155_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -489,8 +492,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `359` // Estimated: `3687` - // Minimum execution time: 31_236_000 picoseconds. - Weight::from_parts(31_669_000, 0) + // Minimum execution time: 35_592_000 picoseconds. + Weight::from_parts(36_297_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -505,8 +508,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `704` // Estimated: `3687` - // Minimum execution time: 32_254_000 picoseconds. - Weight::from_parts(33_306_000, 0) + // Minimum execution time: 36_997_000 picoseconds. + Weight::from_parts(37_432_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -519,8 +522,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `530` // Estimated: `3687` - // Minimum execution time: 29_584_000 picoseconds. - Weight::from_parts(29_892_000, 0) + // Minimum execution time: 33_875_000 picoseconds. + Weight::from_parts(34_241_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -533,8 +536,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `479` // Estimated: `3687` - // Minimum execution time: 18_429_000 picoseconds. - Weight::from_parts(18_992_000, 0) + // Minimum execution time: 20_502_000 picoseconds. + Weight::from_parts(20_907_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -551,10 +554,43 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `626` // Estimated: `6232` - // Minimum execution time: 55_496_000 picoseconds. - Weight::from_parts(56_568_000, 0) + // Minimum execution time: 64_045_000 picoseconds. + Weight::from_parts(64_765_000, 0) .saturating_add(Weight::from_parts(0, 6232)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + fn total_issuance() -> Weight { + // Proof Size summary in bytes: + // Measured: `393` + // Estimated: `3687` + // Minimum execution time: 7_033_000 picoseconds. + Weight::from_parts(7_327_000, 0) + .saturating_add(Weight::from_parts(0, 3687)) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// Storage: `Assets::Account` (r:1 w:0) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + fn balance() -> Weight { + // Proof Size summary in bytes: + // Measured: `267` + // Estimated: `3611` + // Minimum execution time: 7_849_000 picoseconds. + Weight::from_parts(8_179_000, 0) + .saturating_add(Weight::from_parts(0, 3611)) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// Storage: `Assets::Approvals` (r:1 w:0) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + fn allowance() -> Weight { + // Proof Size summary in bytes: + // Measured: `362` + // Estimated: `3625` + // Minimum execution time: 10_959_000 picoseconds. + Weight::from_parts(11_102_000, 0) + .saturating_add(Weight::from_parts(0, 3625)) + .saturating_add(T::DbWeight::get().reads(1)) + } } diff --git a/runtime/shibuya/src/weights/pallet_balances.rs b/runtime/shibuya/src/weights/pallet_balances.rs index 2cb758e12c..b5fd476aa0 100644 --- a/runtime/shibuya/src/weights/pallet_balances.rs +++ b/runtime/shibuya/src/weights/pallet_balances.rs @@ -19,25 +19,26 @@ //! Autogenerated weights for `pallet_balances` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.1.0 -//! DATE: 2025-05-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-12-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `gh-runner-01-ovh`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("shibuya-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: -// ./target/release/astar-collator +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=shibuya-dev +// --runtime=./target/release/wbuild/shibuya-runtime/shibuya_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=pallet_balances // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./benchmark-results/shibuya-dev/balances_weights.rs -// --template=./scripts/templates/weight-template.hbs +// --output=./benchmark-results/shibuya/runtime/balances_weights.rs +// --template=./scripts/templates/runtime-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -59,8 +60,8 @@ impl pallet_balances::WeightInfo for SubstrateWeight // Proof Size summary in bytes: // Measured: `94` // Estimated: `3593` - // Minimum execution time: 51_216_000 picoseconds. - Weight::from_parts(51_911_000, 0) + // Minimum execution time: 60_847_000 picoseconds. + Weight::from_parts(61_390_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -71,8 +72,8 @@ impl pallet_balances::WeightInfo for SubstrateWeight // Proof Size summary in bytes: // Measured: `52` // Estimated: `3593` - // Minimum execution time: 37_830_000 picoseconds. - Weight::from_parts(38_358_000, 0) + // Minimum execution time: 45_157_000 picoseconds. + Weight::from_parts(45_514_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -81,10 +82,10 @@ impl pallet_balances::WeightInfo for SubstrateWeight /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_set_balance_creating() -> Weight { // Proof Size summary in bytes: - // Measured: `207` + // Measured: `72` // Estimated: `3593` - // Minimum execution time: 16_262_000 picoseconds. - Weight::from_parts(16_552_000, 0) + // Minimum execution time: 27_372_000 picoseconds. + Weight::from_parts(27_762_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -97,8 +98,8 @@ impl pallet_balances::WeightInfo for SubstrateWeight // Proof Size summary in bytes: // Measured: `249` // Estimated: `3593` - // Minimum execution time: 27_545_000 picoseconds. - Weight::from_parts(27_922_000, 0) + // Minimum execution time: 31_444_000 picoseconds. + Weight::from_parts(32_043_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -111,8 +112,8 @@ impl pallet_balances::WeightInfo for SubstrateWeight // Proof Size summary in bytes: // Measured: `197` // Estimated: `6196` - // Minimum execution time: 53_251_000 picoseconds. - Weight::from_parts(53_585_000, 0) + // Minimum execution time: 63_143_000 picoseconds. + Weight::from_parts(64_761_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -125,8 +126,8 @@ impl pallet_balances::WeightInfo for SubstrateWeight // Proof Size summary in bytes: // Measured: `94` // Estimated: `3593` - // Minimum execution time: 49_017_000 picoseconds. - Weight::from_parts(49_522_000, 0) + // Minimum execution time: 59_189_000 picoseconds. + Weight::from_parts(59_837_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -137,8 +138,8 @@ impl pallet_balances::WeightInfo for SubstrateWeight // Proof Size summary in bytes: // Measured: `207` // Estimated: `3593` - // Minimum execution time: 18_556_000 picoseconds. - Weight::from_parts(19_074_000, 0) + // Minimum execution time: 22_278_000 picoseconds. + Weight::from_parts(22_814_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -150,11 +151,11 @@ impl pallet_balances::WeightInfo for SubstrateWeight // Proof Size summary in bytes: // Measured: `0 + u * (136 ±0)` // Estimated: `990 + u * (2603 ±0)` - // Minimum execution time: 18_540_000 picoseconds. - Weight::from_parts(18_757_000, 0) + // Minimum execution time: 21_973_000 picoseconds. + Weight::from_parts(22_245_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 8_259 - .saturating_add(Weight::from_parts(12_368_179, 0).saturating_mul(u.into())) + // Standard Error: 6_050 + .saturating_add(Weight::from_parts(13_585_960, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into())) @@ -163,8 +164,8 @@ impl pallet_balances::WeightInfo for SubstrateWeight // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_442_000 picoseconds. - Weight::from_parts(7_620_000, 0) + // Minimum execution time: 9_897_000 picoseconds. + Weight::from_parts(10_134_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `UnifiedAccounts::NativeToEvm` (r:1 w:0) @@ -173,8 +174,8 @@ impl pallet_balances::WeightInfo for SubstrateWeight // Proof Size summary in bytes: // Measured: `42` // Estimated: `3533` - // Minimum execution time: 32_520_000 picoseconds. - Weight::from_parts(32_985_000, 0) + // Minimum execution time: 40_128_000 picoseconds. + Weight::from_parts(40_555_000, 0) .saturating_add(Weight::from_parts(0, 3533)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -182,8 +183,8 @@ impl pallet_balances::WeightInfo for SubstrateWeight // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 19_496_000 picoseconds. - Weight::from_parts(19_977_000, 0) + // Minimum execution time: 24_731_000 picoseconds. + Weight::from_parts(25_240_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/shibuya/src/weights/pallet_dapp_staking.rs b/runtime/shibuya/src/weights/pallet_dapp_staking.rs index 6581b19c6c..7eece112a3 100644 --- a/runtime/shibuya/src/weights/pallet_dapp_staking.rs +++ b/runtime/shibuya/src/weights/pallet_dapp_staking.rs @@ -20,7 +20,7 @@ //! Autogenerated weights for `pallet_dapp_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-09-18, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-12-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `gh-runner-01-ovh`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 @@ -56,8 +56,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_650_000 picoseconds. - Weight::from_parts(7_931_000, 0) + // Minimum execution time: 9_532_000 picoseconds. + Weight::from_parts(9_897_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `DappStaking::IntegratedDApps` (r:1 w:1) @@ -70,8 +70,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `3086` - // Minimum execution time: 15_650_000 picoseconds. - Weight::from_parts(16_066_000, 0) + // Minimum execution time: 18_129_000 picoseconds. + Weight::from_parts(18_554_000, 0) .saturating_add(Weight::from_parts(0, 3086)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -82,8 +82,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `97` // Estimated: `3086` - // Minimum execution time: 13_573_000 picoseconds. - Weight::from_parts(13_901_000, 0) + // Minimum execution time: 15_530_000 picoseconds. + Weight::from_parts(15_992_000, 0) .saturating_add(Weight::from_parts(0, 3086)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -94,8 +94,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `97` // Estimated: `3086` - // Minimum execution time: 13_322_000 picoseconds. - Weight::from_parts(13_624_000, 0) + // Minimum execution time: 15_450_000 picoseconds. + Weight::from_parts(15_816_000, 0) .saturating_add(Weight::from_parts(0, 3086)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -110,8 +110,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `97` // Estimated: `3086` - // Minimum execution time: 18_709_000 picoseconds. - Weight::from_parts(18_963_000, 0) + // Minimum execution time: 21_399_000 picoseconds. + Weight::from_parts(21_894_000, 0) .saturating_add(Weight::from_parts(0, 3086)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) @@ -130,8 +130,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `138` // Estimated: `4764` - // Minimum execution time: 35_781_000 picoseconds. - Weight::from_parts(36_327_000, 0) + // Minimum execution time: 39_604_000 picoseconds. + Weight::from_parts(40_324_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) @@ -148,8 +148,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `156` // Estimated: `4764` - // Minimum execution time: 36_355_000 picoseconds. - Weight::from_parts(36_733_000, 0) + // Minimum execution time: 39_781_000 picoseconds. + Weight::from_parts(40_572_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -166,8 +166,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `156` // Estimated: `4764` - // Minimum execution time: 33_348_000 picoseconds. - Weight::from_parts(33_791_000, 0) + // Minimum execution time: 36_894_000 picoseconds. + Weight::from_parts(37_502_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -185,11 +185,11 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `187` // Estimated: `4764` - // Minimum execution time: 35_979_000 picoseconds. - Weight::from_parts(37_335_232, 0) + // Minimum execution time: 39_921_000 picoseconds. + Weight::from_parts(41_384_208, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 7_086 - .saturating_add(Weight::from_parts(136_207, 0).saturating_mul(x.into())) + // Standard Error: 7_176 + .saturating_add(Weight::from_parts(139_066, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -205,8 +205,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `182` // Estimated: `4764` - // Minimum execution time: 33_088_000 picoseconds. - Weight::from_parts(33_637_000, 0) + // Minimum execution time: 37_096_000 picoseconds. + Weight::from_parts(38_049_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -229,8 +229,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `272` // Estimated: `4764` - // Minimum execution time: 47_985_000 picoseconds. - Weight::from_parts(48_544_000, 0) + // Minimum execution time: 54_713_000 picoseconds. + Weight::from_parts(55_369_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) @@ -253,8 +253,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `453` // Estimated: `4764` - // Minimum execution time: 52_914_000 picoseconds. - Weight::from_parts(53_576_000, 0) + // Minimum execution time: 58_830_000 picoseconds. + Weight::from_parts(59_364_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) @@ -274,11 +274,11 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `522` // Estimated: `4764` - // Minimum execution time: 53_091_000 picoseconds. - Weight::from_parts(52_120_973, 0) + // Minimum execution time: 58_201_000 picoseconds. + Weight::from_parts(57_727_458, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 3_984 - .saturating_add(Weight::from_parts(2_211_392, 0).saturating_mul(x.into())) + // Standard Error: 5_462 + .saturating_add(Weight::from_parts(1_989_282, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -295,11 +295,11 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `501` // Estimated: `4764` - // Minimum execution time: 50_362_000 picoseconds. - Weight::from_parts(49_328_219, 0) + // Minimum execution time: 55_294_000 picoseconds. + Weight::from_parts(54_610_504, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 5_317 - .saturating_add(Weight::from_parts(2_226_904, 0).saturating_mul(x.into())) + // Standard Error: 4_838 + .saturating_add(Weight::from_parts(1_998_977, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -313,8 +313,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `271` // Estimated: `3775` - // Minimum execution time: 42_934_000 picoseconds. - Weight::from_parts(43_324_000, 0) + // Minimum execution time: 46_757_000 picoseconds. + Weight::from_parts(47_194_000, 0) .saturating_add(Weight::from_parts(0, 3775)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -327,8 +327,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `2672` // Estimated: `5113` - // Minimum execution time: 63_164_000 picoseconds. - Weight::from_parts(64_920_000, 0) + // Minimum execution time: 71_261_000 picoseconds. + Weight::from_parts(72_272_000, 0) .saturating_add(Weight::from_parts(0, 5113)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -349,8 +349,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `317` // Estimated: `4764` - // Minimum execution time: 42_779_000 picoseconds. - Weight::from_parts(43_477_000, 0) + // Minimum execution time: 49_203_000 picoseconds. + Weight::from_parts(49_852_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) @@ -368,11 +368,11 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `255 + x * (73 ±0)` // Estimated: `4764 + x * (2653 ±0)` - // Minimum execution time: 43_226_000 picoseconds. - Weight::from_parts(38_422_585, 0) + // Minimum execution time: 47_596_000 picoseconds. + Weight::from_parts(43_009_084, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 9_560 - .saturating_add(Weight::from_parts(5_955_589, 0).saturating_mul(x.into())) + // Standard Error: 19_857 + .saturating_add(Weight::from_parts(6_633_799, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -385,8 +385,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `1486` - // Minimum execution time: 10_670_000 picoseconds. - Weight::from_parts(10_816_000, 0) + // Minimum execution time: 13_204_000 picoseconds. + Weight::from_parts(13_544_000, 0) .saturating_add(Weight::from_parts(0, 1486)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -408,8 +408,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `547` // Estimated: `6296` - // Minimum execution time: 82_826_000 picoseconds. - Weight::from_parts(83_669_000, 0) + // Minimum execution time: 92_603_000 picoseconds. + Weight::from_parts(93_224_000, 0) .saturating_add(Weight::from_parts(0, 6296)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(7)) @@ -432,8 +432,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `414` // Estimated: `6296` - // Minimum execution time: 74_264_000 picoseconds. - Weight::from_parts(75_227_000, 0) + // Minimum execution time: 82_675_000 picoseconds. + Weight::from_parts(83_376_000, 0) .saturating_add(Weight::from_parts(0, 6296)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(6)) @@ -452,8 +452,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `224` // Estimated: `4254` - // Minimum execution time: 28_552_000 picoseconds. - Weight::from_parts(29_038_000, 0) + // Minimum execution time: 28_436_000 picoseconds. + Weight::from_parts(28_792_000, 0) .saturating_add(Weight::from_parts(0, 4254)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) @@ -478,8 +478,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `539` // Estimated: `4254` - // Minimum execution time: 47_463_000 picoseconds. - Weight::from_parts(48_516_000, 0) + // Minimum execution time: 48_030_000 picoseconds. + Weight::from_parts(49_088_000, 0) .saturating_add(Weight::from_parts(0, 4254)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(7)) @@ -500,8 +500,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `278` // Estimated: `4254` - // Minimum execution time: 32_991_000 picoseconds. - Weight::from_parts(33_671_000, 0) + // Minimum execution time: 32_729_000 picoseconds. + Weight::from_parts(33_354_000, 0) .saturating_add(Weight::from_parts(0, 4254)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -515,11 +515,11 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `97 + x * (32 ±0)` // Estimated: `3061 + x * (2071 ±0)` - // Minimum execution time: 7_810_000 picoseconds. - Weight::from_parts(8_540_897, 0) + // Minimum execution time: 7_765_000 picoseconds. + Weight::from_parts(10_543_604, 0) .saturating_add(Weight::from_parts(0, 3061)) - // Standard Error: 3_315 - .saturating_add(Weight::from_parts(2_836_919, 0).saturating_mul(x.into())) + // Standard Error: 3_697 + .saturating_add(Weight::from_parts(2_956_785, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(x.into()))) .saturating_add(Weight::from_parts(0, 2071).saturating_mul(x.into())) @@ -534,8 +534,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `293` // Estimated: `4254` - // Minimum execution time: 9_538_000 picoseconds. - Weight::from_parts(9_692_000, 0) + // Minimum execution time: 11_087_000 picoseconds. + Weight::from_parts(11_359_000, 0) .saturating_add(Weight::from_parts(0, 4254)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) @@ -546,8 +546,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `76` // Estimated: `6560` - // Minimum execution time: 18_601_000 picoseconds. - Weight::from_parts(18_915_000, 0) + // Minimum execution time: 20_705_000 picoseconds. + Weight::from_parts(20_875_000, 0) .saturating_add(Weight::from_parts(0, 6560)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -558,8 +558,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_019_000 picoseconds. - Weight::from_parts(9_230_000, 0) + // Minimum execution time: 11_035_000 picoseconds. + Weight::from_parts(11_350_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/shibuya/src/weights/pallet_inflation.rs b/runtime/shibuya/src/weights/pallet_inflation.rs index 279549273a..7d00551b9f 100644 --- a/runtime/shibuya/src/weights/pallet_inflation.rs +++ b/runtime/shibuya/src/weights/pallet_inflation.rs @@ -20,7 +20,7 @@ //! Autogenerated weights for `pallet_inflation` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-09-18, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-12-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `gh-runner-01-ovh`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 @@ -58,8 +58,8 @@ impl pallet_inflation::WeightInfo for SubstrateWeight pallet_inflation::WeightInfo for SubstrateWeight pallet_inflation::WeightInfo for SubstrateWeight pallet_inflation::WeightInfo for SubstrateWeight pallet_inflation::WeightInfo for SubstrateWeight pallet_transaction_payment::WeightInfo for Substra // Proof Size summary in bytes: // Measured: `174` // Estimated: `6196` - // Minimum execution time: 52_562_000 picoseconds. - Weight::from_parts(52_981_000, 0) + // Minimum execution time: 63_177_000 picoseconds. + Weight::from_parts(64_069_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtime/shibuya/src/weights/pallet_xcm.rs b/runtime/shibuya/src/weights/pallet_xcm.rs index 157275d636..61844eba35 100644 --- a/runtime/shibuya/src/weights/pallet_xcm.rs +++ b/runtime/shibuya/src/weights/pallet_xcm.rs @@ -19,25 +19,26 @@ //! Autogenerated weights for `pallet_xcm` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.1.0 -//! DATE: 2025-05-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-12-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `gh-runner-01-ovh`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("shibuya-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: -// ./target/release/astar-collator +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=shibuya-dev +// --runtime=./target/release/wbuild/shibuya-runtime/shibuya_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=pallet_xcm // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./benchmark-results/shibuya-dev/xcm_weights.rs -// --template=./scripts/templates/weight-template.hbs +// --output=./benchmark-results/shibuya/runtime/xcm_weights.rs +// --template=./scripts/templates/runtime-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -53,19 +54,21 @@ pub struct SubstrateWeight(PhantomData); impl pallet_xcm::WeightInfo for SubstrateWeight { /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(131106), added: 133581, mode: `MaxEncodedLen`) fn send() -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `3574` - // Minimum execution time: 20_719_000 picoseconds. - Weight::from_parts(21_274_000, 0) - .saturating_add(Weight::from_parts(0, 3574)) + // Measured: `279` + // Estimated: `3744` + // Minimum execution time: 35_316_000 picoseconds. + Weight::from_parts(36_006_000, 0) + .saturating_add(Weight::from_parts(0, 3744)) .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `Benchmark::Override` (r:0 w:0) /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -95,8 +98,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `382` // Estimated: `3847` - // Minimum execution time: 85_991_000 picoseconds. - Weight::from_parts(87_158_000, 0) + // Minimum execution time: 103_195_000 picoseconds. + Weight::from_parts(105_709_000, 0) .saturating_add(Weight::from_parts(0, 3847)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) @@ -127,8 +130,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_026_000 picoseconds. - Weight::from_parts(9_335_000, 0) + // Minimum execution time: 12_068_000 picoseconds. + Weight::from_parts(12_358_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -136,8 +139,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_167_000 picoseconds. - Weight::from_parts(3_318_000, 0) + // Minimum execution time: 4_751_000 picoseconds. + Weight::from_parts(5_002_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) @@ -146,40 +149,44 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(131106), added: 133581, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::Queries` (r:0 w:1) /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_subscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `3574` - // Minimum execution time: 26_208_000 picoseconds. - Weight::from_parts(26_762_000, 0) - .saturating_add(Weight::from_parts(0, 3574)) + // Measured: `279` + // Estimated: `3744` + // Minimum execution time: 40_245_000 picoseconds. + Weight::from_parts(40_715_000, 0) + .saturating_add(Weight::from_parts(0, 3744)) .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:0) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(131106), added: 133581, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::Queries` (r:0 w:1) /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_unsubscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `168` - // Estimated: `3633` - // Minimum execution time: 27_830_000 picoseconds. - Weight::from_parts(28_237_000, 0) - .saturating_add(Weight::from_parts(0, 3633)) - .saturating_add(T::DbWeight::get().reads(4)) + // Measured: `403` + // Estimated: `134571` + // Minimum execution time: 42_424_000 picoseconds. + Weight::from_parts(43_074_000, 0) + .saturating_add(Weight::from_parts(0, 134571)) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1) @@ -188,8 +195,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_258_000 picoseconds. - Weight::from_parts(3_337_000, 0) + // Minimum execution time: 4_720_000 picoseconds. + Weight::from_parts(4_888_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -199,8 +206,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `22` // Estimated: `15862` - // Minimum execution time: 20_490_000 picoseconds. - Weight::from_parts(20_813_000, 0) + // Minimum execution time: 24_694_000 picoseconds. + Weight::from_parts(25_064_000, 0) .saturating_add(Weight::from_parts(0, 15862)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) @@ -211,8 +218,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `26` // Estimated: `15866` - // Minimum execution time: 20_422_000 picoseconds. - Weight::from_parts(20_785_000, 0) + // Minimum execution time: 24_542_000 picoseconds. + Weight::from_parts(24_891_000, 0) .saturating_add(Weight::from_parts(0, 15866)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) @@ -221,30 +228,28 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn already_notified_target() -> Weight { // Proof Size summary in bytes: - // Measured: `75` - // Estimated: `18390` - // Minimum execution time: 23_948_000 picoseconds. - Weight::from_parts(24_270_000, 0) - .saturating_add(Weight::from_parts(0, 18390)) + // Measured: `78` + // Estimated: `18393` + // Minimum execution time: 27_907_000 picoseconds. + Weight::from_parts(28_190_000, 0) + .saturating_add(Weight::from_parts(0, 18393)) .saturating_add(T::DbWeight::get().reads(7)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn notify_current_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `142` - // Estimated: `6082` - // Minimum execution time: 25_748_000 picoseconds. - Weight::from_parts(26_008_000, 0) - .saturating_add(Weight::from_parts(0, 6082)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `145` + // Estimated: `6085` + // Minimum execution time: 33_077_000 picoseconds. + Weight::from_parts(47_938_000, 0) + .saturating_add(Weight::from_parts(0, 6085)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -252,8 +257,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `78` // Estimated: `13443` - // Minimum execution time: 17_034_000 picoseconds. - Weight::from_parts(17_344_000, 0) + // Minimum execution time: 19_326_000 picoseconds. + Weight::from_parts(19_680_000, 0) .saturating_add(Weight::from_parts(0, 13443)) .saturating_add(T::DbWeight::get().reads(5)) } @@ -263,29 +268,27 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `33` // Estimated: `15873` - // Minimum execution time: 20_649_000 picoseconds. - Weight::from_parts(21_064_000, 0) + // Minimum execution time: 24_286_000 picoseconds. + Weight::from_parts(24_599_000, 0) .saturating_add(Weight::from_parts(0, 15873)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:1) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn migrate_and_notify_old_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `142` - // Estimated: `15982` - // Minimum execution time: 36_176_000 picoseconds. - Weight::from_parts(36_832_000, 0) - .saturating_add(Weight::from_parts(0, 15982)) - .saturating_add(T::DbWeight::get().reads(9)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `145` + // Estimated: `15985` + // Minimum execution time: 42_828_000 picoseconds. + Weight::from_parts(58_309_000, 0) + .saturating_add(Weight::from_parts(0, 15985)) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -295,8 +298,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 3_286_000 picoseconds. - Weight::from_parts(3_372_000, 0) + // Minimum execution time: 4_543_000 picoseconds. + Weight::from_parts(4_674_000, 0) .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -307,8 +310,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `7576` // Estimated: `11041` - // Minimum execution time: 24_833_000 picoseconds. - Weight::from_parts(25_143_000, 0) + // Minimum execution time: 30_969_000 picoseconds. + Weight::from_parts(31_458_000, 0) .saturating_add(Weight::from_parts(0, 11041)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -321,10 +324,30 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `23` // Estimated: `3488` - // Minimum execution time: 39_883_000 picoseconds. - Weight::from_parts(40_799_000, 0) + // Minimum execution time: 48_550_000 picoseconds. + Weight::from_parts(49_242_000, 0) .saturating_add(Weight::from_parts(0, 3488)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn add_authorized_alias() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn remove_authorized_alias() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } } diff --git a/runtime/shibuya/src/xcm_config.rs b/runtime/shibuya/src/xcm_config.rs index 03c2eebafd..18c5d261c5 100644 --- a/runtime/shibuya/src/xcm_config.rs +++ b/runtime/shibuya/src/xcm_config.rs @@ -33,7 +33,7 @@ use sp_runtime::traits::{Convert, MaybeEquivalence}; // Polkadot imports use cumulus_primitives_core::{AggregateMessageOrigin, ParaId}; -use frame_support::traits::TransformOrigin; +use frame_support::traits::{Disabled, TransformOrigin}; use parachains_common::message_queue::ParaIdToSibling; use polkadot_runtime_common::xcm_sender::NoPriceForMessageDelivery; use xcm::{latest::prelude::*, v5::ROCOCO_GENESIS_HASH}; @@ -213,6 +213,7 @@ impl xcm_executor::Config for XcmConfig { type HrmpChannelAcceptedHandler = (); type HrmpChannelClosingHandler = (); type XcmRecorder = PolkadotXcm; + type XcmEventEmitter = PolkadotXcm; } /// Local origins on this chain are allowed to dispatch XCM sends/executions. @@ -252,6 +253,7 @@ impl pallet_xcm::Config for Runtime { type MaxRemoteLockConsumers = ConstU32<0>; type RemoteLockConsumerIdentifier = (); type AdminOrigin = EnsureRoot; + type AuthorizedAliasConsideration = Disabled; } impl cumulus_pallet_xcm::Config for Runtime { @@ -295,7 +297,6 @@ impl Convert> for AssetIdConvert { } impl orml_xtokens::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type Balance = Balance; type CurrencyId = AssetId; type CurrencyIdConvert = AssetIdConvert; diff --git a/runtime/shiden/Cargo.toml b/runtime/shiden/Cargo.toml index bb36231d48..05f58a9a98 100644 --- a/runtime/shiden/Cargo.toml +++ b/runtime/shiden/Cargo.toml @@ -7,8 +7,12 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] # third-party dependencies +ethereum = { workspace = true } hex-literal = { workspace = true } log = { workspace = true, optional = true } num_enum = { workspace = true } @@ -245,6 +249,7 @@ std = [ "pallet-xcm-benchmarks?/std", "precompile-utils/std", "scale-info/std", + "ethereum/std", ] runtime-benchmarks = [ "log", @@ -297,6 +302,7 @@ runtime-benchmarks = [ "pallet-message-queue/runtime-benchmarks", "parachains-common/runtime-benchmarks", "orml-oracle/runtime-benchmarks", + "xcm/runtime-benchmarks", ] try-runtime = [ "astar-primitives/try-runtime", @@ -344,6 +350,7 @@ try-runtime = [ "pallet-chain-extension-assets/try-runtime", "polkadot-runtime-common/try-runtime", "sp-runtime/try-runtime", + "parachains-common/try-runtime", ] evm-tracing = [ "moonbeam-evm-tracer", diff --git a/runtime/shiden/src/genesis_config.rs b/runtime/shiden/src/genesis_config.rs index 0cd2c04a76..6c94431158 100644 --- a/runtime/shiden/src/genesis_config.rs +++ b/runtime/shiden/src/genesis_config.rs @@ -57,7 +57,10 @@ pub fn default_config(para_id: u32) -> serde_json::Value { parachain_id: para_id.into(), ..Default::default() }, - balances: BalancesConfig { balances }, + balances: BalancesConfig { + balances, + ..Default::default() + }, vesting: VestingConfig { vesting: vec![] }, session: SessionConfig { keys: authorities diff --git a/runtime/shiden/src/lib.rs b/runtime/shiden/src/lib.rs index e1cb1c2fcf..f73ab2c968 100644 --- a/runtime/shiden/src/lib.rs +++ b/runtime/shiden/src/lib.rs @@ -23,6 +23,8 @@ #![recursion_limit = "256"] extern crate alloc; +extern crate core; + #[cfg(feature = "runtime-benchmarks")] #[macro_use] extern crate frame_benchmarking; @@ -30,6 +32,7 @@ use alloc::{borrow::Cow, collections::btree_map::BTreeMap, vec, vec::Vec}; use core::marker::PhantomData; use cumulus_primitives_core::AggregateMessageOrigin; +use ethereum::AuthorizationList; use frame_support::{ construct_runtime, dispatch::DispatchClass, @@ -56,7 +59,7 @@ use pallet_identity::legacy::IdentityInfo; use pallet_transaction_payment::{ FeeDetails, Multiplier, RuntimeDispatchInfo, TargetedFeeAdjustment, }; -use parity_scale_codec::{Compact, Decode, Encode, MaxEncodedLen}; +use parity_scale_codec::{Compact, Decode, DecodeWithMemTracking, Encode, MaxEncodedLen}; use polkadot_runtime_common::BlockHashCount; use sp_api::impl_runtime_apis; use sp_core::{sr25519, OpaqueMetadata, H160, H256, U256}; @@ -215,7 +218,7 @@ const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(75); /// We allow for 2 seconds of compute with a 6 second average block time. const MAXIMUM_BLOCK_WEIGHT: Weight = Weight::from_parts( WEIGHT_REF_TIME_PER_SECOND.saturating_mul(2), - astar_primitives::MAX_POV_SIZE as u64, + polkadot_primitives::MAX_POV_SIZE as u64, ); parameter_types! { @@ -375,6 +378,8 @@ impl pallet_identity::Config for Runtime { type WeightInfo = pallet_identity::weights::SubstrateWeight; type UsernameDeposit = UsernameDeposit; type UsernameGracePeriod = ConstU32<{ 7 * DAYS }>; + #[cfg(feature = "runtime-benchmarks")] + type BenchmarkHelper = (); } parameter_types! { @@ -391,6 +396,7 @@ impl pallet_multisig::Config for Runtime { type DepositBase = DepositBase; type DepositFactor = DepositFactor; type MaxSignatories = ConstU32<100>; + type BlockNumberProvider = System; type WeightInfo = pallet_multisig::weights::SubstrateWeight; } @@ -492,7 +498,6 @@ impl pallet_inflation::Config for Runtime { type Currency = Balances; type PayoutPerBlock = InflationPayoutPerBlock; type CycleConfiguration = InflationCycleConfig; - type RuntimeEvent = RuntimeEvent; type WeightInfo = weights::pallet_inflation::SubstrateWeight; } @@ -523,6 +528,7 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type ConsensusHook = ConsensusHook; type SelectCore = cumulus_pallet_parachain_system::DefaultCoreSelector; type WeightInfo = cumulus_pallet_parachain_system::weights::SubstrateWeight; + type RelayParentOffset = ConstU32<0>; } type ConsensusHook = cumulus_pallet_aura_ext::FixedVelocityConsensusHook< @@ -563,6 +569,7 @@ impl pallet_session::Config for Runtime { type SessionManager = CollatorSelection; type SessionHandler = ::KeyTypeIdProviders; type Keys = SessionKeys; + type DisablingStrategy = (); type WeightInfo = pallet_session::weights::SubstrateWeight; } @@ -583,7 +590,6 @@ impl pallet_collator_selection::AccountCheck for CollatorSelectionAcc } impl pallet_collator_selection::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type Currency = Balances; type UpdateOrigin = EnsureRoot; type ForceRemovalOrigin = EnsureRoot; @@ -684,6 +690,7 @@ impl pallet_assets::Config for Runtime { type StringLimit = AssetsStringLimit; type Freezer = (); type Extra = (); + type Holder = (); type WeightInfo = weights::pallet_assets::SubstrateWeight; type RemoveItemsLimit = ConstU32<1000>; type AssetIdParameter = Compact; @@ -871,7 +878,6 @@ impl Get for AdjustmentFactorGetter { } impl pallet_dynamic_evm_base_fee::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type DefaultBaseFeePerGas = DefaultBaseFeePerGas; type MinBaseFeePerGas = MinBaseFeePerGas; type MaxBaseFeePerGas = MaxBaseFeePerGas; @@ -935,7 +941,6 @@ impl pallet_evm::Config for Runtime { type WithdrawOrigin = pallet_evm::EnsureAddressTruncated; type AddressMapping = pallet_evm::HashedAddressMapping; type Currency = Balances; - type RuntimeEvent = RuntimeEvent; type Runner = pallet_evm::runner::stack::Runner; type PrecompilesType = Precompiles; type PrecompilesValue = PrecompilesValue; @@ -950,6 +955,8 @@ impl pallet_evm::Config for Runtime { // gas based storage limit not enabled type GasLimitStorageGrowthRatio = ConstU64<0>; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type CreateOriginFilter = (); + type CreateInnerOriginFilter = (); } parameter_types! { @@ -957,7 +964,6 @@ parameter_types! { } impl pallet_ethereum::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type StateRoot = pallet_ethereum::IntermediateStateRoot<::Version>; type PostLogContent = PostBlockAndTxnHashes; @@ -972,7 +978,6 @@ impl pallet_sudo::Config for Runtime { } impl pallet_xc_asset_config::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type AssetId = AssetId; type ManagerOrigin = EnsureRoot; type WeightInfo = pallet_xc_asset_config::weights::SubstrateWeight; @@ -988,6 +993,7 @@ impl pallet_xc_asset_config::Config for Runtime { PartialOrd, Encode, Decode, + DecodeWithMemTracking, RuntimeDebug, MaxEncodedLen, scale_info::TypeInfo, @@ -1103,6 +1109,7 @@ impl pallet_proxy::Config for Runtime { type ProxyDepositBase = ProxyDepositBase; type ProxyDepositFactor = ProxyDepositFactor; type MaxProxies = MaxProxies; + type BlockNumberProvider = System; type WeightInfo = pallet_proxy::weights::SubstrateWeight; type MaxPending = MaxPending; type CallHasher = BlakeTwo256; @@ -1117,7 +1124,6 @@ parameter_types! { } impl pallet_price_aggregator::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type MaxValuesPerBlock = ConstU32<8>; type ProcessBlockValues = pallet_price_aggregator::MedianBlockValue; type NativeCurrencyId = NativeCurrencyId; @@ -1146,7 +1152,6 @@ parameter_types! { } impl orml_oracle::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type OnNewData = PriceAggregator; type CombineData = DummyCombineData; type Time = Timestamp; @@ -1600,6 +1605,7 @@ impl_runtime_apis! { nonce: Option, estimate: bool, access_list: Option)>>, + authorization_list: Option, ) -> Result { let config = if estimate { let mut config = ::config().clone(); @@ -1656,7 +1662,8 @@ impl_runtime_apis! { max_fee_per_gas, max_priority_fee_per_gas, nonce, - Vec::new(), + access_list.unwrap_or_default(), + authorization_list.unwrap_or_default(), is_transactional, validate, weight_limit, @@ -1678,6 +1685,7 @@ impl_runtime_apis! { nonce: Option, estimate: bool, access_list: Option)>>, + authorization_list: Option, ) -> Result { let config = if estimate { let mut config = ::config().clone(); @@ -1734,7 +1742,8 @@ impl_runtime_apis! { max_fee_per_gas, max_priority_fee_per_gas, nonce, - Vec::new(), + access_list.unwrap_or_default(), + authorization_list.unwrap_or_default(), is_transactional, validate, weight_limit, @@ -1995,7 +2004,7 @@ impl_runtime_apis! { Vec, Vec, ) { - use frame_benchmarking::{baseline, Benchmarking, BenchmarkList}; + use frame_benchmarking::{baseline, BenchmarkList}; use frame_support::traits::StorageInfoTrait; pub use frame_system_benchmarking::{ extensions::Pallet as SystemExtensionsBench, Pallet as SystemBench @@ -2017,11 +2026,12 @@ impl_runtime_apis! { (list, storage_info) } + #[allow(non_local_definitions)] fn dispatch_benchmark( config: frame_benchmarking::BenchmarkConfig ) -> Result, alloc::string::String> { use alloc::boxed::Box; - use frame_benchmarking::{baseline, Benchmarking, BenchmarkBatch, BenchmarkError}; + use frame_benchmarking::{baseline, BenchmarkBatch, BenchmarkError}; pub use frame_system_benchmarking::{ extensions::Pallet as SystemExtensionsBench, Pallet as SystemBench }; @@ -2029,23 +2039,36 @@ impl_runtime_apis! { use baseline::Pallet as BaselineBench; use xcm::latest::prelude::*; use xcm_builder::MintLocation; - use astar_primitives::benchmarks::XcmBenchmarkHelper; + use astar_primitives::{benchmarks::XcmBenchmarkHelper, xcm::ASSET_HUB_PARA_ID}; use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; pub struct TestDeliveryHelper; impl xcm_builder::EnsureDelivery for TestDeliveryHelper { fn ensure_successful_delivery( origin_ref: &Location, - _dest: &Location, + dest: &Location, _fee_reason: xcm_executor::traits::FeeReason, ) -> (Option, Option) { use xcm_executor::traits::ConvertLocation; - let account = xcm_config::LocationToAccountId::convert_location(origin_ref) - .expect("Invalid location"); - // Give the existential deposit at least - let balance = ExistentialDeposit::get(); - let _ = >:: - make_free_balance_be(&account.into(), balance); + + // This sets up the necessary infrastructure (HostConfiguration) for sending XCM messages + ::ensure_successful_delivery( + Some(dest.clone()) + ); + + // Open HRMP channel for sibling parachain destinations + if let Some(Parachain(para_id)) = dest.interior().first() { + ParachainSystem::open_outbound_hrmp_channel_for_benchmarks_or_tests( + (*para_id).into() + ); + } + + if let Some(account) = xcm_config::LocationToAccountId::convert_location(origin_ref) { + // Give the account some balance to ensure delivery + let balance = ExistentialDeposit::get() * 1000u128; // Give more than just ED + let _ = >:: + make_free_balance_be(&account.into(), balance); + } (None, None) } @@ -2055,7 +2078,7 @@ impl_runtime_apis! { type DeliveryHelper = TestDeliveryHelper; fn reachable_dest() -> Option { - Some(Parent.into()) + Some(AssetHubLocation::get()) } fn teleportable_asset_and_dest() -> Option<(Asset, Location)> { @@ -2084,7 +2107,18 @@ impl_runtime_apis! { } } - impl frame_system_benchmarking::Config for Runtime {} + // Needed to run `set_code` and `apply_authorized_upgrade` frame_system benchmarks + // https://github.com/paritytech/cumulus/pull/2766 + impl frame_system_benchmarking::Config for Runtime { + fn setup_set_code_requirements(code: &Vec) -> Result<(), BenchmarkError> { + ParachainSystem::initialize_for_set_code_benchmark(code.len() as u32); + Ok(()) + } + + fn verify_set_code() { + System::assert_last_event(cumulus_pallet_parachain_system::Event::::ValidationFunctionStored.into()); + } + } impl baseline::Config for Runtime {} // XCM Benchmarks @@ -2095,12 +2129,24 @@ impl_runtime_apis! { impl pallet_xcm_benchmarks::Config for Runtime { type XcmConfig = xcm_config::XcmConfig; type AccountIdConverter = xcm_config::LocationToAccountId; - type DeliveryHelper = (); + type DeliveryHelper = TestDeliveryHelper; // destination location to be used in benchmarks fn valid_destination() -> Result { - assert_ok!(PolkadotXcm::force_xcm_version(RuntimeOrigin::root(), Box::new(Location::parent()), xcm::v5::VERSION)); - Ok(Location::parent()) + let asset_hub = AssetHubLocation::get(); + assert_ok!(PolkadotXcm::force_xcm_version(RuntimeOrigin::root(), Box::new(asset_hub.clone()), xcm::v5::VERSION)); + + // This sets up the necessary infrastructure (HostConfiguration) for sending XCM messages + ::ensure_successful_delivery( + Some(asset_hub.clone()) + ); + + // Open HRMP channel for sibling parachain destinations + ParachainSystem::open_outbound_hrmp_channel_for_benchmarks_or_tests( + AssetHubParaId::get().into() + ); + + Ok(asset_hub) } fn worst_case_holding(_depositable_count: u32) -> Assets { XcmBenchmarkHelper::::worst_case_holding() @@ -2151,8 +2197,11 @@ impl_runtime_apis! { fn alias_origin() -> Result<(Location, Location), BenchmarkError> { Err(BenchmarkError::Skip) } - fn fee_asset() -> Result { - Ok((AssetId(Here.into()), 1_000_000_000_000_000_000u128).into()) + fn worst_case_for_trader() -> Result<(Asset, WeightLimit), BenchmarkError> { + Ok(( + (AssetId(Here.into()), 1_000_000_000_000_000_000u128).into(), + Limited(Weight::from_parts(5000, 5000)), + )) } } @@ -2162,7 +2211,9 @@ impl_runtime_apis! { pub const TransactAssetId: u128 = 1001; pub TransactAssetLocation: Location = Location { parents: 0, interior: [GeneralIndex(TransactAssetId::get())].into() }; - pub TrustedReserveLocation: Location = Parent.into(); + pub const AssetHubParaId: u32 = ASSET_HUB_PARA_ID; + pub AssetHubLocation: Location = Location::new(1, [Parachain(AssetHubParaId::get())]); + pub TrustedReserveLocation: Location = AssetHubLocation::get(); pub TrustedReserveAsset: Asset = Asset { id: AssetId(TrustedReserveLocation::get()), fun: Fungible(1_000_000) }; pub TrustedReserve: Option<(Location, Asset)> = Some((TrustedReserveLocation::get(), TrustedReserveAsset::get())); } @@ -2301,6 +2352,7 @@ impl_runtime_apis! { max_priority_fee_per_gas: Option, nonce: Option, access_list: Option)>>, + authorization_list: Option, ) -> Result<(), sp_runtime::DispatchError> { use moonbeam_evm_tracer::tracer::EvmTracer; @@ -2358,6 +2410,7 @@ impl_runtime_apis! { max_priority_fee_per_gas, nonce, access_list.unwrap_or_default(), + authorization_list.unwrap_or_default(), is_transactional, validate, weight_limit, diff --git a/runtime/shiden/src/precompiles.rs b/runtime/shiden/src/precompiles.rs index d5821340eb..85f768854a 100644 --- a/runtime/shiden/src/precompiles.rs +++ b/runtime/shiden/src/precompiles.rs @@ -18,7 +18,7 @@ //! The Shiden Network EVM precompiles. This can be compiled with ``#[no_std]`, ready for Wasm. -use crate::RuntimeCall; +use crate::{Runtime, RuntimeCall}; use astar_primitives::precompiles::DispatchFilterValidate; use frame_support::pallet_prelude::ConstU32; use frame_support::{parameter_types, traits::Contains}; @@ -103,7 +103,11 @@ pub type ShidenPrecompilesSetAt = ( PrecompileAt, Bn128Pairing, EthereumPrecompilesChecks>, PrecompileAt, Blake2F, EthereumPrecompilesChecks>, // Non-Astar specific nor Ethereum precompiles : - PrecompileAt, Sha3FIPS256, (CallableByContract, CallableByPrecompile)>, + PrecompileAt< + AddressU64<1024>, + Sha3FIPS256, + (CallableByContract, CallableByPrecompile), + >, PrecompileAt< AddressU64<1025>, Dispatch>, diff --git a/runtime/shiden/src/weights/block_weights.rs b/runtime/shiden/src/weights/block_weights.rs index 04537814b0..45417de9c4 100644 --- a/runtime/shiden/src/weights/block_weights.rs +++ b/runtime/shiden/src/weights/block_weights.rs @@ -17,7 +17,7 @@ // along with Astar. If not, see . //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-07-21 (Y/M/D) +//! DATE: 2025-12-19 (Y/M/D) //! HOSTNAME: `gh-runner-01-ovh`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz` //! //! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `shiden` @@ -32,6 +32,7 @@ // overhead // --runtime=./target/release/wbuild/shiden-runtime/shiden_runtime.compact.compressed.wasm // --repeat=50 +// --header=./.github/license-check/headers/HEADER-GNUv3 // --weight-path=./benchmark-results/shiden use sp_core::parameter_types; @@ -42,17 +43,17 @@ parameter_types! { /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 536_243, 1_147_647 - /// Average: 707_170 - /// Median: 591_106 - /// Std-Dev: 203027.75 + /// Min, Max: 657_311, 761_956 + /// Average: 695_724 + /// Median: 694_546 + /// Std-Dev: 25173.39 /// /// Percentiles nanoseconds: - /// 99th: 1_147_647 - /// 95th: 1_085_068 - /// 75th: 800_885 + /// 99th: 761_956 + /// 95th: 750_997 + /// 75th: 696_542 pub const BlockExecutionWeight: Weight = - Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(707_170), 4_688); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(695_724), 5_443); } #[cfg(test)] diff --git a/runtime/shiden/src/weights/extrinsic_weights.rs b/runtime/shiden/src/weights/extrinsic_weights.rs index edd13a9e7c..deac988a14 100644 --- a/runtime/shiden/src/weights/extrinsic_weights.rs +++ b/runtime/shiden/src/weights/extrinsic_weights.rs @@ -17,7 +17,7 @@ // along with Astar. If not, see . //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-07-21 (Y/M/D) +//! DATE: 2025-12-19 (Y/M/D) //! HOSTNAME: `gh-runner-01-ovh`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz` //! //! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `shiden` @@ -32,6 +32,7 @@ // overhead // --runtime=./target/release/wbuild/shiden-runtime/shiden_runtime.compact.compressed.wasm // --repeat=50 +// --header=./.github/license-check/headers/HEADER-GNUv3 // --weight-path=./benchmark-results/shiden use sp_core::parameter_types; @@ -42,17 +43,17 @@ parameter_types! { /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 99_473, 101_078 - /// Average: 100_238 - /// Median: 100_171 - /// Std-Dev: 351.48 + /// Min, Max: 96_923, 98_777 + /// Average: 97_667 + /// Median: 97_572 + /// Std-Dev: 446.91 /// /// Percentiles nanoseconds: - /// 99th: 101_078 - /// 95th: 100_859 - /// 75th: 100_469 + /// 99th: 98_777 + /// 95th: 98_414 + /// 75th: 97_954 pub const ExtrinsicBaseWeight: Weight = - Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(100_238), 166); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(97_667), 166); } #[cfg(test)] diff --git a/runtime/shiden/src/weights/frame_system_extensions.rs b/runtime/shiden/src/weights/frame_system_extensions.rs index 331246dce9..c5b075bb47 100644 --- a/runtime/shiden/src/weights/frame_system_extensions.rs +++ b/runtime/shiden/src/weights/frame_system_extensions.rs @@ -19,25 +19,26 @@ //! Autogenerated weights for `frame_system_extensions` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.1.0 -//! DATE: 2025-05-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-12-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `gh-runner-01-ovh`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("shiden-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: -// ./target/release/astar-collator +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=shiden-dev +// --runtime=./target/release/wbuild/shiden-runtime/shiden_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=frame_system_extensions // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./benchmark-results/shiden-dev/system_extensions_weights.rs -// --template=./scripts/templates/weight-template.hbs +// --output=./benchmark-results/shiden/runtime/system_extensions_weights.rs +// --template=./scripts/templates/runtime-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -55,32 +56,32 @@ impl frame_system::ExtensionsWeightInfo for SubstrateWe // Proof Size summary in bytes: // Measured: `30` // Estimated: `0` - // Minimum execution time: 3_433_000 picoseconds. - Weight::from_parts(3_527_000, 0) + // Minimum execution time: 3_714_000 picoseconds. + Weight::from_parts(3_917_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn check_mortality_mortal_transaction() -> Weight { // Proof Size summary in bytes: // Measured: `68` // Estimated: `0` - // Minimum execution time: 6_710_000 picoseconds. - Weight::from_parts(6_859_000, 0) + // Minimum execution time: 7_450_000 picoseconds. + Weight::from_parts(7_621_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn check_mortality_immortal_transaction() -> Weight { // Proof Size summary in bytes: // Measured: `68` // Estimated: `0` - // Minimum execution time: 6_777_000 picoseconds. - Weight::from_parts(6_949_000, 0) + // Minimum execution time: 7_186_000 picoseconds. + Weight::from_parts(7_463_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn check_non_zero_sender() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 502_000 picoseconds. - Weight::from_parts(536_000, 0) + // Minimum execution time: 561_000 picoseconds. + Weight::from_parts(591_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `System::Account` (r:1 w:1) @@ -89,8 +90,8 @@ impl frame_system::ExtensionsWeightInfo for SubstrateWe // Proof Size summary in bytes: // Measured: `102` // Estimated: `3593` - // Minimum execution time: 6_955_000 picoseconds. - Weight::from_parts(7_294_000, 0) + // Minimum execution time: 10_032_000 picoseconds. + Weight::from_parts(10_282_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -99,24 +100,32 @@ impl frame_system::ExtensionsWeightInfo for SubstrateWe // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 407_000 picoseconds. - Weight::from_parts(463_000, 0) + // Minimum execution time: 411_000 picoseconds. + Weight::from_parts(442_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn check_tx_version() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 419_000 picoseconds. - Weight::from_parts(444_000, 0) + // Minimum execution time: 423_000 picoseconds. + Weight::from_parts(460_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn check_weight() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_567_000 picoseconds. - Weight::from_parts(3_649_000, 0) + // Minimum execution time: 6_148_000 picoseconds. + Weight::from_parts(6_333_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + fn weight_reclaim() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_787_000 picoseconds. + Weight::from_parts(3_933_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/shiden/src/weights/orml_oracle.rs b/runtime/shiden/src/weights/orml_oracle.rs index dd0e60fe64..2ee83fc659 100644 --- a/runtime/shiden/src/weights/orml_oracle.rs +++ b/runtime/shiden/src/weights/orml_oracle.rs @@ -19,25 +19,26 @@ //! Autogenerated weights for `orml_oracle` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.1.0 -//! DATE: 2025-05-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-12-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `gh-runner-01-ovh`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("shiden-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: -// ./target/release/astar-collator +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=shiden-dev +// --runtime=./target/release/wbuild/shiden-runtime/shiden_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=orml_oracle // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./benchmark-results/shiden-dev/oracle_weights.rs -// --template=./scripts/templates/weight-template.hbs +// --output=./benchmark-results/shiden/runtime/oracle_weights.rs +// --template=./scripts/templates/runtime-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -66,11 +67,11 @@ impl orml_oracle::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `280` // Estimated: `8634` - // Minimum execution time: 15_338_000 picoseconds. - Weight::from_parts(16_107_361, 0) + // Minimum execution time: 17_221_000 picoseconds. + Weight::from_parts(17_970_737, 0) .saturating_add(Weight::from_parts(0, 8634)) - // Standard Error: 43_071 - .saturating_add(Weight::from_parts(12_159_142, 0).saturating_mul(x.into())) + // Standard Error: 65_738 + .saturating_add(Weight::from_parts(15_092_004, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -82,8 +83,8 @@ impl orml_oracle::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_339_000 picoseconds. - Weight::from_parts(1_412_000, 0) + // Minimum execution time: 2_272_000 picoseconds. + Weight::from_parts(2_369_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/shiden/src/weights/pallet_assets.rs b/runtime/shiden/src/weights/pallet_assets.rs index 4f7555ec9c..623642d79e 100644 --- a/runtime/shiden/src/weights/pallet_assets.rs +++ b/runtime/shiden/src/weights/pallet_assets.rs @@ -19,25 +19,26 @@ //! Autogenerated weights for `pallet_assets` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.1.0 -//! DATE: 2025-05-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-12-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `gh-runner-01-ovh`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("shiden-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: -// ./target/release/astar-collator +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=shiden-dev +// --runtime=./target/release/wbuild/shiden-runtime/shiden_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=pallet_assets // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./benchmark-results/shiden-dev/assets_weights.rs -// --template=./scripts/templates/weight-template.hbs +// --output=./benchmark-results/shiden/runtime/assets_weights.rs +// --template=./scripts/templates/runtime-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -63,8 +64,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `729` // Estimated: `4194` - // Minimum execution time: 35_863_000 picoseconds. - Weight::from_parts(36_386_000, 0) + // Minimum execution time: 42_905_000 picoseconds. + Weight::from_parts(43_340_000, 0) .saturating_add(Weight::from_parts(0, 4194)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -79,8 +80,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `589` // Estimated: `4054` - // Minimum execution time: 21_277_000 picoseconds. - Weight::from_parts(21_854_000, 0) + // Minimum execution time: 25_248_000 picoseconds. + Weight::from_parts(25_553_000, 0) .saturating_add(Weight::from_parts(0, 4054)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -91,8 +92,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `360` // Estimated: `3687` - // Minimum execution time: 13_677_000 picoseconds. - Weight::from_parts(13_963_000, 0) + // Minimum execution time: 15_921_000 picoseconds. + Weight::from_parts(16_335_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -108,11 +109,11 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `392 + c * (208 ±0)` // Estimated: `3687 + c * (2621 ±0)` - // Minimum execution time: 18_027_000 picoseconds. - Weight::from_parts(18_172_000, 0) + // Minimum execution time: 20_986_000 picoseconds. + Weight::from_parts(21_253_000, 0) .saturating_add(Weight::from_parts(0, 3687)) - // Standard Error: 6_493 - .saturating_add(Weight::from_parts(12_749_805, 0).saturating_mul(c.into())) + // Standard Error: 10_787 + .saturating_add(Weight::from_parts(13_516_412, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -128,11 +129,11 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `509 + a * (86 ±0)` // Estimated: `3687 + a * (2635 ±0)` - // Minimum execution time: 18_042_000 picoseconds. - Weight::from_parts(18_222_000, 0) + // Minimum execution time: 21_315_000 picoseconds. + Weight::from_parts(21_491_000, 0) .saturating_add(Weight::from_parts(0, 3687)) - // Standard Error: 5_053 - .saturating_add(Weight::from_parts(13_291_246, 0).saturating_mul(a.into())) + // Standard Error: 5_704 + .saturating_add(Weight::from_parts(15_380_367, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -149,8 +150,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `326` // Estimated: `3687` - // Minimum execution time: 16_356_000 picoseconds. - Weight::from_parts(16_751_000, 0) + // Minimum execution time: 19_955_000 picoseconds. + Weight::from_parts(20_520_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -163,8 +164,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `326` // Estimated: `3687` - // Minimum execution time: 23_597_000 picoseconds. - Weight::from_parts(24_093_000, 0) + // Minimum execution time: 28_417_000 picoseconds. + Weight::from_parts(28_891_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -177,8 +178,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `446` // Estimated: `3687` - // Minimum execution time: 31_186_000 picoseconds. - Weight::from_parts(31_700_000, 0) + // Minimum execution time: 36_516_000 picoseconds. + Weight::from_parts(36_948_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -193,8 +194,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `518` // Estimated: `6232` - // Minimum execution time: 41_911_000 picoseconds. - Weight::from_parts(42_553_000, 0) + // Minimum execution time: 50_107_000 picoseconds. + Weight::from_parts(50_827_000, 0) .saturating_add(Weight::from_parts(0, 6232)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -209,8 +210,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `518` // Estimated: `6232` - // Minimum execution time: 37_668_000 picoseconds. - Weight::from_parts(38_440_000, 0) + // Minimum execution time: 45_474_000 picoseconds. + Weight::from_parts(45_932_000, 0) .saturating_add(Weight::from_parts(0, 6232)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -225,8 +226,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `518` // Estimated: `6232` - // Minimum execution time: 41_772_000 picoseconds. - Weight::from_parts(42_712_000, 0) + // Minimum execution time: 50_108_000 picoseconds. + Weight::from_parts(50_653_000, 0) .saturating_add(Weight::from_parts(0, 6232)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -239,8 +240,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `446` // Estimated: `3687` - // Minimum execution time: 18_062_000 picoseconds. - Weight::from_parts(18_445_000, 0) + // Minimum execution time: 21_549_000 picoseconds. + Weight::from_parts(21_984_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -253,8 +254,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `446` // Estimated: `3687` - // Minimum execution time: 17_621_000 picoseconds. - Weight::from_parts(18_180_000, 0) + // Minimum execution time: 21_257_000 picoseconds. + Weight::from_parts(21_813_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -265,8 +266,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `360` // Estimated: `3687` - // Minimum execution time: 13_390_000 picoseconds. - Weight::from_parts(13_605_000, 0) + // Minimum execution time: 16_421_000 picoseconds. + Weight::from_parts(16_616_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -277,8 +278,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `360` // Estimated: `3687` - // Minimum execution time: 13_555_000 picoseconds. - Weight::from_parts(13_953_000, 0) + // Minimum execution time: 15_942_000 picoseconds. + Weight::from_parts(16_326_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -291,8 +292,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `326` // Estimated: `3687` - // Minimum execution time: 15_316_000 picoseconds. - Weight::from_parts(15_719_000, 0) + // Minimum execution time: 18_318_000 picoseconds. + Weight::from_parts(18_679_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -303,8 +304,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `326` // Estimated: `3687` - // Minimum execution time: 13_630_000 picoseconds. - Weight::from_parts(14_103_000, 0) + // Minimum execution time: 16_505_000 picoseconds. + Weight::from_parts(16_692_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -319,13 +320,13 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `326` // Estimated: `3687` - // Minimum execution time: 27_341_000 picoseconds. - Weight::from_parts(28_116_922, 0) + // Minimum execution time: 33_152_000 picoseconds. + Weight::from_parts(33_956_323, 0) .saturating_add(Weight::from_parts(0, 3687)) - // Standard Error: 701 - .saturating_add(Weight::from_parts(3_463, 0).saturating_mul(n.into())) - // Standard Error: 701 - .saturating_add(Weight::from_parts(1_069, 0).saturating_mul(s.into())) + // Standard Error: 734 + .saturating_add(Weight::from_parts(2_133, 0).saturating_mul(n.into())) + // Standard Error: 734 + .saturating_add(Weight::from_parts(3_862, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -337,8 +338,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `502` // Estimated: `3687` - // Minimum execution time: 27_735_000 picoseconds. - Weight::from_parts(28_302_000, 0) + // Minimum execution time: 32_849_000 picoseconds. + Weight::from_parts(33_328_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -349,17 +350,15 @@ impl pallet_assets::WeightInfo for SubstrateWeight { /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn force_set_metadata(n: u32, s: u32, ) -> Weight { + fn force_set_metadata(_n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `165` // Estimated: `3687` - // Minimum execution time: 14_090_000 picoseconds. - Weight::from_parts(14_743_787, 0) + // Minimum execution time: 17_319_000 picoseconds. + Weight::from_parts(17_963_009, 0) .saturating_add(Weight::from_parts(0, 3687)) - // Standard Error: 354 - .saturating_add(Weight::from_parts(1_140, 0).saturating_mul(n.into())) - // Standard Error: 354 - .saturating_add(Weight::from_parts(213, 0).saturating_mul(s.into())) + // Standard Error: 436 + .saturating_add(Weight::from_parts(2_608, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -371,8 +370,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `502` // Estimated: `3687` - // Minimum execution time: 26_871_000 picoseconds. - Weight::from_parts(27_647_000, 0) + // Minimum execution time: 32_567_000 picoseconds. + Weight::from_parts(33_030_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -383,8 +382,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `326` // Estimated: `3687` - // Minimum execution time: 13_050_000 picoseconds. - Weight::from_parts(13_341_000, 0) + // Minimum execution time: 15_826_000 picoseconds. + Weight::from_parts(16_159_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -397,8 +396,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `360` // Estimated: `3687` - // Minimum execution time: 30_610_000 picoseconds. - Weight::from_parts(30_896_000, 0) + // Minimum execution time: 36_943_000 picoseconds. + Weight::from_parts(37_281_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -415,8 +414,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `751` // Estimated: `6232` - // Minimum execution time: 59_773_000 picoseconds. - Weight::from_parts(60_638_000, 0) + // Minimum execution time: 70_619_000 picoseconds. + Weight::from_parts(71_304_000, 0) .saturating_add(Weight::from_parts(0, 6232)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -429,8 +428,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `542` // Estimated: `3687` - // Minimum execution time: 32_254_000 picoseconds. - Weight::from_parts(32_766_000, 0) + // Minimum execution time: 38_253_000 picoseconds. + Weight::from_parts(38_966_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -443,8 +442,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `542` // Estimated: `3687` - // Minimum execution time: 32_340_000 picoseconds. - Weight::from_parts(33_082_000, 0) + // Minimum execution time: 38_564_000 picoseconds. + Weight::from_parts(38_936_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -455,8 +454,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `326` // Estimated: `3687` - // Minimum execution time: 14_087_000 picoseconds. - Weight::from_parts(14_589_000, 0) + // Minimum execution time: 16_933_000 picoseconds. + Weight::from_parts(17_418_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -471,8 +470,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `533` // Estimated: `3687` - // Minimum execution time: 33_782_000 picoseconds. - Weight::from_parts(34_160_000, 0) + // Minimum execution time: 39_616_000 picoseconds. + Weight::from_parts(39_822_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -485,8 +484,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `326` // Estimated: `3687` - // Minimum execution time: 29_884_000 picoseconds. - Weight::from_parts(30_394_000, 0) + // Minimum execution time: 36_190_000 picoseconds. + Weight::from_parts(36_625_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -501,8 +500,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `671` // Estimated: `3687` - // Minimum execution time: 31_448_000 picoseconds. - Weight::from_parts(31_972_000, 0) + // Minimum execution time: 37_570_000 picoseconds. + Weight::from_parts(38_528_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -515,8 +514,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `497` // Estimated: `3687` - // Minimum execution time: 28_718_000 picoseconds. - Weight::from_parts(29_013_000, 0) + // Minimum execution time: 34_868_000 picoseconds. + Weight::from_parts(35_105_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -529,8 +528,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `446` // Estimated: `3687` - // Minimum execution time: 17_379_000 picoseconds. - Weight::from_parts(18_047_000, 0) + // Minimum execution time: 20_622_000 picoseconds. + Weight::from_parts(21_043_000, 0) .saturating_add(Weight::from_parts(0, 3687)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -545,10 +544,43 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `518` // Estimated: `6232` - // Minimum execution time: 49_947_000 picoseconds. - Weight::from_parts(50_438_000, 0) + // Minimum execution time: 59_228_000 picoseconds. + Weight::from_parts(59_963_000, 0) .saturating_add(Weight::from_parts(0, 6232)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + fn total_issuance() -> Weight { + // Proof Size summary in bytes: + // Measured: `360` + // Estimated: `3687` + // Minimum execution time: 7_208_000 picoseconds. + Weight::from_parts(7_365_000, 0) + .saturating_add(Weight::from_parts(0, 3687)) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// Storage: `Assets::Account` (r:1 w:0) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + fn balance() -> Weight { + // Proof Size summary in bytes: + // Measured: `234` + // Estimated: `3611` + // Minimum execution time: 8_002_000 picoseconds. + Weight::from_parts(8_260_000, 0) + .saturating_add(Weight::from_parts(0, 3611)) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// Storage: `Assets::Approvals` (r:1 w:0) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + fn allowance() -> Weight { + // Proof Size summary in bytes: + // Measured: `329` + // Estimated: `3625` + // Minimum execution time: 11_057_000 picoseconds. + Weight::from_parts(11_274_000, 0) + .saturating_add(Weight::from_parts(0, 3625)) + .saturating_add(T::DbWeight::get().reads(1)) + } } diff --git a/runtime/shiden/src/weights/pallet_dapp_staking.rs b/runtime/shiden/src/weights/pallet_dapp_staking.rs index b246f4a103..5c4cf5983e 100644 --- a/runtime/shiden/src/weights/pallet_dapp_staking.rs +++ b/runtime/shiden/src/weights/pallet_dapp_staking.rs @@ -20,7 +20,7 @@ //! Autogenerated weights for `pallet_dapp_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-09-18, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-12-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `gh-runner-01-ovh`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 @@ -56,8 +56,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_827_000 picoseconds. - Weight::from_parts(8_041_000, 0) + // Minimum execution time: 9_406_000 picoseconds. + Weight::from_parts(9_780_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `DappStaking::IntegratedDApps` (r:1 w:1) @@ -70,8 +70,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `3086` - // Minimum execution time: 15_303_000 picoseconds. - Weight::from_parts(15_582_000, 0) + // Minimum execution time: 17_829_000 picoseconds. + Weight::from_parts(18_261_000, 0) .saturating_add(Weight::from_parts(0, 3086)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -82,8 +82,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `97` // Estimated: `3086` - // Minimum execution time: 13_655_000 picoseconds. - Weight::from_parts(13_905_000, 0) + // Minimum execution time: 15_690_000 picoseconds. + Weight::from_parts(15_934_000, 0) .saturating_add(Weight::from_parts(0, 3086)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -94,8 +94,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `97` // Estimated: `3086` - // Minimum execution time: 13_409_000 picoseconds. - Weight::from_parts(13_688_000, 0) + // Minimum execution time: 15_495_000 picoseconds. + Weight::from_parts(15_723_000, 0) .saturating_add(Weight::from_parts(0, 3086)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -110,8 +110,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `97` // Estimated: `3086` - // Minimum execution time: 18_616_000 picoseconds. - Weight::from_parts(19_008_000, 0) + // Minimum execution time: 21_199_000 picoseconds. + Weight::from_parts(21_590_000, 0) .saturating_add(Weight::from_parts(0, 3086)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) @@ -130,8 +130,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `138` // Estimated: `4764` - // Minimum execution time: 35_627_000 picoseconds. - Weight::from_parts(36_277_000, 0) + // Minimum execution time: 39_236_000 picoseconds. + Weight::from_parts(39_812_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) @@ -148,8 +148,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `158` // Estimated: `4764` - // Minimum execution time: 36_461_000 picoseconds. - Weight::from_parts(36_822_000, 0) + // Minimum execution time: 39_373_000 picoseconds. + Weight::from_parts(40_217_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -166,8 +166,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `158` // Estimated: `4764` - // Minimum execution time: 33_290_000 picoseconds. - Weight::from_parts(33_712_000, 0) + // Minimum execution time: 36_934_000 picoseconds. + Weight::from_parts(37_581_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -185,11 +185,11 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `191` // Estimated: `4764` - // Minimum execution time: 35_914_000 picoseconds. - Weight::from_parts(37_376_598, 0) + // Minimum execution time: 39_285_000 picoseconds. + Weight::from_parts(41_007_215, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 2_823 - .saturating_add(Weight::from_parts(83_351, 0).saturating_mul(x.into())) + // Standard Error: 3_865 + .saturating_add(Weight::from_parts(87_249, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -205,8 +205,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `200` // Estimated: `4764` - // Minimum execution time: 32_972_000 picoseconds. - Weight::from_parts(33_387_000, 0) + // Minimum execution time: 37_235_000 picoseconds. + Weight::from_parts(37_762_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -229,8 +229,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `274` // Estimated: `4764` - // Minimum execution time: 47_846_000 picoseconds. - Weight::from_parts(48_516_000, 0) + // Minimum execution time: 52_461_000 picoseconds. + Weight::from_parts(52_979_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) @@ -253,8 +253,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `459` // Estimated: `4764` - // Minimum execution time: 52_948_000 picoseconds. - Weight::from_parts(54_030_000, 0) + // Minimum execution time: 58_337_000 picoseconds. + Weight::from_parts(58_706_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) @@ -274,11 +274,11 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `542` // Estimated: `4764` - // Minimum execution time: 54_197_000 picoseconds. - Weight::from_parts(53_031_059, 0) + // Minimum execution time: 58_460_000 picoseconds. + Weight::from_parts(57_283_269, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 5_504 - .saturating_add(Weight::from_parts(2_188_676, 0).saturating_mul(x.into())) + // Standard Error: 6_506 + .saturating_add(Weight::from_parts(2_028_988, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -295,11 +295,11 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `519` // Estimated: `4764` - // Minimum execution time: 51_576_000 picoseconds. - Weight::from_parts(50_311_714, 0) + // Minimum execution time: 55_481_000 picoseconds. + Weight::from_parts(54_617_998, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 4_411 - .saturating_add(Weight::from_parts(2_169_357, 0).saturating_mul(x.into())) + // Standard Error: 3_367 + .saturating_add(Weight::from_parts(1_970_584, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -313,8 +313,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `276` // Estimated: `3775` - // Minimum execution time: 42_129_000 picoseconds. - Weight::from_parts(42_579_000, 0) + // Minimum execution time: 46_545_000 picoseconds. + Weight::from_parts(47_014_000, 0) .saturating_add(Weight::from_parts(0, 3775)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -327,8 +327,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `2672` // Estimated: `5113` - // Minimum execution time: 62_905_000 picoseconds. - Weight::from_parts(65_541_000, 0) + // Minimum execution time: 69_501_000 picoseconds. + Weight::from_parts(71_646_000, 0) .saturating_add(Weight::from_parts(0, 5113)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -349,8 +349,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `322` // Estimated: `4764` - // Minimum execution time: 42_820_000 picoseconds. - Weight::from_parts(43_567_000, 0) + // Minimum execution time: 49_089_000 picoseconds. + Weight::from_parts(49_829_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) @@ -368,11 +368,11 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `256 + x * (73 ±0)` // Estimated: `4764 + x * (2653 ±0)` - // Minimum execution time: 43_408_000 picoseconds. - Weight::from_parts(39_435_930, 0) + // Minimum execution time: 47_545_000 picoseconds. + Weight::from_parts(44_118_524, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 10_231 - .saturating_add(Weight::from_parts(5_639_060, 0).saturating_mul(x.into())) + // Standard Error: 14_130 + .saturating_add(Weight::from_parts(6_063_445, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -385,8 +385,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `1486` - // Minimum execution time: 10_986_000 picoseconds. - Weight::from_parts(11_271_000, 0) + // Minimum execution time: 12_530_000 picoseconds. + Weight::from_parts(13_183_000, 0) .saturating_add(Weight::from_parts(0, 1486)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -408,8 +408,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `553` // Estimated: `6296` - // Minimum execution time: 82_932_000 picoseconds. - Weight::from_parts(84_033_000, 0) + // Minimum execution time: 93_462_000 picoseconds. + Weight::from_parts(93_840_000, 0) .saturating_add(Weight::from_parts(0, 6296)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(7)) @@ -432,8 +432,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `419` // Estimated: `6296` - // Minimum execution time: 74_863_000 picoseconds. - Weight::from_parts(75_614_000, 0) + // Minimum execution time: 82_467_000 picoseconds. + Weight::from_parts(83_472_000, 0) .saturating_add(Weight::from_parts(0, 6296)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(6)) @@ -452,8 +452,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `224` // Estimated: `4254` - // Minimum execution time: 28_581_000 picoseconds. - Weight::from_parts(29_073_000, 0) + // Minimum execution time: 29_054_000 picoseconds. + Weight::from_parts(29_408_000, 0) .saturating_add(Weight::from_parts(0, 4254)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) @@ -478,8 +478,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `764` // Estimated: `4254` - // Minimum execution time: 49_980_000 picoseconds. - Weight::from_parts(50_891_000, 0) + // Minimum execution time: 50_290_000 picoseconds. + Weight::from_parts(51_708_000, 0) .saturating_add(Weight::from_parts(0, 4254)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(7)) @@ -500,8 +500,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `278` // Estimated: `4254` - // Minimum execution time: 33_088_000 picoseconds. - Weight::from_parts(33_687_000, 0) + // Minimum execution time: 32_677_000 picoseconds. + Weight::from_parts(33_491_000, 0) .saturating_add(Weight::from_parts(0, 4254)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -515,11 +515,11 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `97 + x * (32 ±0)` // Estimated: `3061 + x * (2071 ±0)` - // Minimum execution time: 7_654_000 picoseconds. - Weight::from_parts(9_062_972, 0) + // Minimum execution time: 7_676_000 picoseconds. + Weight::from_parts(10_555_931, 0) .saturating_add(Weight::from_parts(0, 3061)) - // Standard Error: 2_941 - .saturating_add(Weight::from_parts(2_801_555, 0).saturating_mul(x.into())) + // Standard Error: 8_246 + .saturating_add(Weight::from_parts(3_036_518, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(x.into()))) .saturating_add(Weight::from_parts(0, 2071).saturating_mul(x.into())) @@ -534,8 +534,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `293` // Estimated: `4254` - // Minimum execution time: 9_386_000 picoseconds. - Weight::from_parts(9_628_000, 0) + // Minimum execution time: 10_846_000 picoseconds. + Weight::from_parts(11_054_000, 0) .saturating_add(Weight::from_parts(0, 4254)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) @@ -546,8 +546,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `76` // Estimated: `6560` - // Minimum execution time: 17_703_000 picoseconds. - Weight::from_parts(18_159_000, 0) + // Minimum execution time: 19_955_000 picoseconds. + Weight::from_parts(20_380_000, 0) .saturating_add(Weight::from_parts(0, 6560)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -558,8 +558,8 @@ impl pallet_dapp_staking::WeightInfo for SubstrateWeigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_988_000 picoseconds. - Weight::from_parts(9_199_000, 0) + // Minimum execution time: 10_691_000 picoseconds. + Weight::from_parts(10_848_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/shiden/src/weights/pallet_inflation.rs b/runtime/shiden/src/weights/pallet_inflation.rs index d45173b6c3..fd9bc62f11 100644 --- a/runtime/shiden/src/weights/pallet_inflation.rs +++ b/runtime/shiden/src/weights/pallet_inflation.rs @@ -20,7 +20,7 @@ //! Autogenerated weights for `pallet_inflation` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-09-18, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-12-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `gh-runner-01-ovh`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 @@ -58,8 +58,8 @@ impl pallet_inflation::WeightInfo for SubstrateWeight pallet_inflation::WeightInfo for SubstrateWeight pallet_inflation::WeightInfo for SubstrateWeight pallet_inflation::WeightInfo for SubstrateWeight pallet_inflation::WeightInfo for SubstrateWeight pallet_transaction_payment::WeightInfo for Substra // Proof Size summary in bytes: // Measured: `174` // Estimated: `6196` - // Minimum execution time: 51_293_000 picoseconds. - Weight::from_parts(51_822_000, 0) + // Minimum execution time: 65_503_000 picoseconds. + Weight::from_parts(66_031_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtime/shiden/src/weights/pallet_xcm.rs b/runtime/shiden/src/weights/pallet_xcm.rs index 05cb5f40f4..fb691e82c8 100644 --- a/runtime/shiden/src/weights/pallet_xcm.rs +++ b/runtime/shiden/src/weights/pallet_xcm.rs @@ -19,25 +19,26 @@ //! Autogenerated weights for `pallet_xcm` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.1.0 -//! DATE: 2025-05-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-12-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `gh-runner-01-ovh`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("shiden-dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: -// ./target/release/astar-collator +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=shiden-dev +// --runtime=./target/release/wbuild/shiden-runtime/shiden_runtime.compact.compressed.wasm // --steps=50 // --repeat=20 // --pallet=pallet_xcm // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./benchmark-results/shiden-dev/xcm_weights.rs -// --template=./scripts/templates/weight-template.hbs +// --output=./benchmark-results/shiden/runtime/xcm_weights.rs +// --template=./scripts/templates/runtime-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -53,19 +54,21 @@ pub struct SubstrateWeight(PhantomData); impl pallet_xcm::WeightInfo for SubstrateWeight { /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(131106), added: 133581, mode: `MaxEncodedLen`) fn send() -> Weight { // Proof Size summary in bytes: - // Measured: `76` - // Estimated: `3541` - // Minimum execution time: 20_192_000 picoseconds. - Weight::from_parts(20_601_000, 0) - .saturating_add(Weight::from_parts(0, 3541)) + // Measured: `246` + // Estimated: `3711` + // Minimum execution time: 35_221_000 picoseconds. + Weight::from_parts(35_650_000, 0) + .saturating_add(Weight::from_parts(0, 3711)) .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `Benchmark::Override` (r:0 w:0) /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -95,8 +98,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 84_059_000 picoseconds. - Weight::from_parts(85_270_000, 0) + // Minimum execution time: 101_301_000 picoseconds. + Weight::from_parts(102_034_000, 0) .saturating_add(Weight::from_parts(0, 3780)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) @@ -127,8 +130,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_621_000 picoseconds. - Weight::from_parts(8_782_000, 0) + // Minimum execution time: 11_970_000 picoseconds. + Weight::from_parts(12_177_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -136,8 +139,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_043_000 picoseconds. - Weight::from_parts(3_209_000, 0) + // Minimum execution time: 4_556_000 picoseconds. + Weight::from_parts(5_026_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) @@ -146,40 +149,44 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(131106), added: 133581, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::Queries` (r:0 w:1) /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_subscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `76` - // Estimated: `3541` - // Minimum execution time: 25_678_000 picoseconds. - Weight::from_parts(26_105_000, 0) - .saturating_add(Weight::from_parts(0, 3541)) + // Measured: `246` + // Estimated: `3711` + // Minimum execution time: 40_061_000 picoseconds. + Weight::from_parts(40_652_000, 0) + .saturating_add(Weight::from_parts(0, 3711)) .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:0) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(131106), added: 133581, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::Queries` (r:0 w:1) /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_unsubscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `135` - // Estimated: `3600` - // Minimum execution time: 26_119_000 picoseconds. - Weight::from_parts(26_665_000, 0) - .saturating_add(Weight::from_parts(0, 3600)) - .saturating_add(T::DbWeight::get().reads(4)) + // Measured: `370` + // Estimated: `134571` + // Minimum execution time: 42_502_000 picoseconds. + Weight::from_parts(42_905_000, 0) + .saturating_add(Weight::from_parts(0, 134571)) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1) @@ -188,8 +195,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_172_000 picoseconds. - Weight::from_parts(3_293_000, 0) + // Minimum execution time: 4_563_000 picoseconds. + Weight::from_parts(4_784_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -199,8 +206,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `23` // Estimated: `15863` - // Minimum execution time: 18_381_000 picoseconds. - Weight::from_parts(18_929_000, 0) + // Minimum execution time: 22_222_000 picoseconds. + Weight::from_parts(22_407_000, 0) .saturating_add(Weight::from_parts(0, 15863)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) @@ -211,8 +218,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `27` // Estimated: `15867` - // Minimum execution time: 18_626_000 picoseconds. - Weight::from_parts(19_051_000, 0) + // Minimum execution time: 22_136_000 picoseconds. + Weight::from_parts(22_399_000, 0) .saturating_add(Weight::from_parts(0, 15867)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) @@ -221,30 +228,28 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn already_notified_target() -> Weight { // Proof Size summary in bytes: - // Measured: `38` - // Estimated: `18353` - // Minimum execution time: 22_733_000 picoseconds. - Weight::from_parts(23_098_000, 0) - .saturating_add(Weight::from_parts(0, 18353)) + // Measured: `41` + // Estimated: `18356` + // Minimum execution time: 25_190_000 picoseconds. + Weight::from_parts(25_803_000, 0) + .saturating_add(Weight::from_parts(0, 18356)) .saturating_add(T::DbWeight::get().reads(7)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn notify_current_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `110` - // Estimated: `6050` - // Minimum execution time: 24_832_000 picoseconds. - Weight::from_parts(25_349_000, 0) - .saturating_add(Weight::from_parts(0, 6050)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `113` + // Estimated: `6053` + // Minimum execution time: 44_974_000 picoseconds. + Weight::from_parts(46_629_000, 0) + .saturating_add(Weight::from_parts(0, 6053)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -252,8 +257,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `41` // Estimated: `13406` - // Minimum execution time: 15_398_000 picoseconds. - Weight::from_parts(15_906_000, 0) + // Minimum execution time: 17_770_000 picoseconds. + Weight::from_parts(18_172_000, 0) .saturating_add(Weight::from_parts(0, 13406)) .saturating_add(T::DbWeight::get().reads(5)) } @@ -263,29 +268,27 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `34` // Estimated: `15874` - // Minimum execution time: 19_011_000 picoseconds. - Weight::from_parts(19_268_000, 0) + // Minimum execution time: 22_423_000 picoseconds. + Weight::from_parts(22_828_000, 0) .saturating_add(Weight::from_parts(0, 15874)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:1) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn migrate_and_notify_old_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `110` - // Estimated: `15950` - // Minimum execution time: 34_325_000 picoseconds. - Weight::from_parts(34_642_000, 0) - .saturating_add(Weight::from_parts(0, 15950)) - .saturating_add(T::DbWeight::get().reads(9)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `113` + // Estimated: `15953` + // Minimum execution time: 41_374_000 picoseconds. + Weight::from_parts(41_973_000, 0) + .saturating_add(Weight::from_parts(0, 15953)) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -295,8 +298,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 2_956_000 picoseconds. - Weight::from_parts(3_085_000, 0) + // Minimum execution time: 4_480_000 picoseconds. + Weight::from_parts(4_609_000, 0) .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -307,8 +310,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `7576` // Estimated: `11041` - // Minimum execution time: 23_790_000 picoseconds. - Weight::from_parts(24_076_000, 0) + // Minimum execution time: 30_306_000 picoseconds. + Weight::from_parts(30_561_000, 0) .saturating_add(Weight::from_parts(0, 11041)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -321,10 +324,30 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `24` // Estimated: `3489` - // Minimum execution time: 39_059_000 picoseconds. - Weight::from_parts(39_676_000, 0) + // Minimum execution time: 47_077_000 picoseconds. + Weight::from_parts(47_793_000, 0) .saturating_add(Weight::from_parts(0, 3489)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn add_authorized_alias() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn remove_authorized_alias() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } } diff --git a/runtime/shiden/src/xcm_config.rs b/runtime/shiden/src/xcm_config.rs index ea0a1f18ad..bbd75d5951 100644 --- a/runtime/shiden/src/xcm_config.rs +++ b/runtime/shiden/src/xcm_config.rs @@ -33,7 +33,7 @@ use sp_runtime::traits::{Convert, MaybeEquivalence}; // Polkadot imports use cumulus_primitives_core::{AggregateMessageOrigin, ParaId}; -use frame_support::traits::TransformOrigin; +use frame_support::traits::{Disabled, TransformOrigin}; use polkadot_runtime_common::xcm_sender::NoPriceForMessageDelivery; use xcm::latest::prelude::*; use xcm_builder::{ @@ -284,6 +284,7 @@ impl xcm_executor::Config for XcmConfig { type HrmpChannelAcceptedHandler = (); type HrmpChannelClosingHandler = (); type XcmRecorder = PolkadotXcm; + type XcmEventEmitter = PolkadotXcm; } /// Local origins on this chain are allowed to dispatch XCM sends/executions. @@ -327,6 +328,7 @@ impl pallet_xcm::Config for Runtime { type MaxRemoteLockConsumers = ConstU32<0>; type RemoteLockConsumerIdentifier = (); type AdminOrigin = EnsureRoot; + type AuthorizedAliasConsideration = Disabled; } impl cumulus_pallet_xcm::Config for Runtime { @@ -370,7 +372,6 @@ impl Convert> for AssetIdConvert { } impl orml_xtokens::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type Balance = Balance; type CurrencyId = AssetId; type CurrencyIdConvert = AssetIdConvert; diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 88c042781d..f4f808248f 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,5 +1,5 @@ [toolchain] -channel = "1.81.0" +channel = "1.88.0" components = ["rust-src", "rustfmt", "clippy"] -targets = ["wasm32-unknown-unknown"] +targets = ["wasm32v1-none"] profile = "minimal" diff --git a/tests/integration/Cargo.toml b/tests/integration/Cargo.toml index 4487271297..b6a293ef8f 100644 --- a/tests/integration/Cargo.toml +++ b/tests/integration/Cargo.toml @@ -7,6 +7,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] env_logger = { workspace = true } hex = { workspace = true } @@ -42,6 +45,7 @@ pallet-timestamp = { workspace = true } pallet-tx-pause = { workspace = true } pallet-utility = { workspace = true } pallet-xcm = { workspace = true } +polkadot-primitives = { workspace = true } sp-consensus-aura = { workspace = true } sp-core = { workspace = true } sp-io = { workspace = true } @@ -136,6 +140,7 @@ std = [ "xcm-executor/std", "pallet-session/std", "sp-consensus-aura/std", + "polkadot-primitives/std", ] shibuya = ["shibuya-runtime"] shiden = ["shiden-runtime"] diff --git a/tests/integration/src/setup.rs b/tests/integration/src/setup.rs index cdc7735322..b213172ec1 100644 --- a/tests/integration/src/setup.rs +++ b/tests/integration/src/setup.rs @@ -136,6 +136,7 @@ impl ExtBuilder { pallet_balances::GenesisConfig:: { balances: self.balances, + ..Default::default() } .assimilate_storage(&mut t) .unwrap(); @@ -295,11 +296,13 @@ fn set_validation_data() { parent_head, relay_parent_number: RelaychainDataProvider::::current_block_number() + 1, relay_parent_storage_root, - max_pov_size: 5_000_000, + max_pov_size: polkadot_primitives::MAX_POV_SIZE, }, relay_chain_state, downward_messages: Default::default(), horizontal_messages: Default::default(), + relay_parent_descendants: Default::default(), + collator_peer_id: Default::default(), }; assert_ok!(ParachainSystem::set_validation_data( diff --git a/tests/utils/Cargo.toml b/tests/utils/Cargo.toml index b6dfec9c8a..f4f015bd4b 100644 --- a/tests/utils/Cargo.toml +++ b/tests/utils/Cargo.toml @@ -7,6 +7,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] parity-scale-codec = { workspace = true } scale-info = { workspace = true } diff --git a/tests/xcm-simulator/Cargo.toml b/tests/xcm-simulator/Cargo.toml index 904c27d23f..15b43a3a67 100644 --- a/tests/xcm-simulator/Cargo.toml +++ b/tests/xcm-simulator/Cargo.toml @@ -7,6 +7,9 @@ edition.workspace = true homepage.workspace = true repository.workspace = true +[lints] +workspace = true + [dev-dependencies] assert_matches = { workspace = true } log = { workspace = true } diff --git a/tests/xcm-simulator/src/mocks/mod.rs b/tests/xcm-simulator/src/mocks/mod.rs index 2b267af500..bdbc60306c 100644 --- a/tests/xcm-simulator/src/mocks/mod.rs +++ b/tests/xcm-simulator/src/mocks/mod.rs @@ -139,6 +139,7 @@ pub fn para_ext(para_id: u32) -> sp_io::TestExternalities { (sibling_para_account_id(1), INITIAL_BALANCE), (sibling_para_account_id(2), INITIAL_BALANCE), ], + ..Default::default() } .assimilate_storage(&mut t) .unwrap(); @@ -167,6 +168,7 @@ pub fn relay_ext() -> sp_io::TestExternalities { (child_para_account_id(1), INITIAL_BALANCE), (child_para_account_id(2), INITIAL_BALANCE), ], + ..Default::default() } .assimilate_storage(&mut t) .unwrap(); diff --git a/tests/xcm-simulator/src/mocks/msg_queue.rs b/tests/xcm-simulator/src/mocks/msg_queue.rs index 2106c58d83..d787186ed3 100644 --- a/tests/xcm-simulator/src/mocks/msg_queue.rs +++ b/tests/xcm-simulator/src/mocks/msg_queue.rs @@ -34,7 +34,6 @@ pub mod mock_msg_queue { #[pallet::config] pub trait Config: frame_system::Config { - type RuntimeEvent: From> + IsType<::RuntimeEvent>; type XcmExecutor: ExecuteXcm; } @@ -74,7 +73,7 @@ pub mod mock_msg_queue { /// Some XCM was executed OK. Success(Option), /// Some XCM failed. - Fail(Option, XcmError), + Fail(Option, InstructionError), /// Bad XCM version used. BadVersion(Option), /// Bad XCM format used. @@ -99,7 +98,7 @@ pub mod mock_msg_queue { _sent_at: RelayBlockNumber, xcm: VersionedXcm, max_weight: Weight, - ) -> Result { + ) -> Result { let hash = Encode::using_encoded(&xcm, T::Hashing::hash); let mut message_hash = Encode::using_encoded(&xcm, sp_io::hashing::blake2_256); let (result, event) = match Xcm::::try_from(xcm) { @@ -113,7 +112,7 @@ pub mod mock_msg_queue { max_weight, Weight::zero(), ) { - Outcome::Error { error } => { + Outcome::Error(error) => { println!("Error in XCMP handling: {:?}, sender=Parachain({sender}), xcm={xcm:?}", error); (Err(error.clone()), Event::Fail(Some(hash), error)) } @@ -127,7 +126,10 @@ pub mod mock_msg_queue { } } Err(()) => ( - Err(XcmError::UnhandledXcmVersion), + Err(InstructionError { + error: XcmError::UnhandledXcmVersion, + index: 0, + }), Event::BadVersion(Some(hash)), ), }; diff --git a/tests/xcm-simulator/src/mocks/parachain.rs b/tests/xcm-simulator/src/mocks/parachain.rs index 45dd3b2369..744298f668 100644 --- a/tests/xcm-simulator/src/mocks/parachain.rs +++ b/tests/xcm-simulator/src/mocks/parachain.rs @@ -24,7 +24,7 @@ use frame_support::{ parameter_types, traits::{ AsEnsureOriginWithArg, ConstBool, ConstU128, ConstU32, ConstU64, ConstU8, Contains, - Everything, InstanceFilter, Nothing, + Disabled, Everything, InstanceFilter, Nothing, }, weights::{ constants::{BlockExecutionWeight, ExtrinsicBaseWeight, WEIGHT_REF_TIME_PER_SECOND}, @@ -55,7 +55,7 @@ use xcm_builder::{ }; use orml_xcm_support::DisabledParachainFee; - +use sp_core::DecodeWithMemTracking; use xcm_executor::{traits::JustTry, XcmExecutor}; use astar_primitives::{ @@ -84,6 +84,8 @@ impl frame_system::Config for Runtime { type AccountId = AccountId; type Lookup = IdentityLookup; type AccountData = pallet_balances::AccountData; + type BlockWeights = RuntimeBlockWeights; + type BlockLength = RuntimeBlockLength; } parameter_types! { @@ -147,7 +149,7 @@ const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(75); /// We allow for 0.5 seconds of compute with a 6 second average block time. const MAXIMUM_BLOCK_WEIGHT: Weight = Weight::from_parts( WEIGHT_REF_TIME_PER_SECOND.saturating_div(2), - astar_primitives::MAX_POV_SIZE as u64, + polkadot_primitives::MAX_POV_SIZE as u64, ); parameter_types! { @@ -234,6 +236,7 @@ impl pallet_contracts::Config for Runtime { PartialOrd, Encode, Decode, + DecodeWithMemTracking, RuntimeDebug, MaxEncodedLen, scale_info::TypeInfo, @@ -295,6 +298,7 @@ impl pallet_proxy::Config for Runtime { type CallHasher = sp_runtime::traits::BlakeTwo256; type AnnouncementDepositBase = ConstU128<100>; type AnnouncementDepositFactor = ConstU128<400>; + type BlockNumberProvider = System; } parameter_types! { @@ -303,7 +307,6 @@ parameter_types! { } impl pallet_xc_asset_config::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type AssetId = AssetId; type ManagerOrigin = EnsureRoot; type WeightInfo = pallet_xc_asset_config::weights::SubstrateWeight; @@ -470,10 +473,10 @@ impl xcm_executor::Config for XcmConfig { type HrmpChannelAcceptedHandler = (); type HrmpChannelClosingHandler = (); type XcmRecorder = (); + type XcmEventEmitter = (); } impl mock_msg_queue::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type XcmExecutor = XcmExecutor; } @@ -504,6 +507,7 @@ impl pallet_xcm::Config for Runtime { type MaxRemoteLockConsumers = ConstU32<0>; type RemoteLockConsumerIdentifier = (); type AdminOrigin = EnsureRoot; + type AuthorizedAliasConsideration = Disabled; } /// Convert `AccountId` to `Location`. @@ -539,7 +543,6 @@ impl Convert> for AssetIdConvert { } impl orml_xtokens::Config for Runtime { - type RuntimeEvent = RuntimeEvent; type Balance = Balance; type CurrencyId = AssetId; type CurrencyIdConvert = AssetIdConvert; diff --git a/tests/xcm-simulator/src/mocks/relay_chain.rs b/tests/xcm-simulator/src/mocks/relay_chain.rs index 682737ad26..16d37aea81 100644 --- a/tests/xcm-simulator/src/mocks/relay_chain.rs +++ b/tests/xcm-simulator/src/mocks/relay_chain.rs @@ -18,7 +18,7 @@ use frame_support::{ construct_runtime, derive_impl, parameter_types, - traits::{ConstU32, Everything, Nothing, ProcessMessage, ProcessMessageError}, + traits::{ConstU32, Disabled, Everything, Nothing, ProcessMessage, ProcessMessageError}, weights::{Weight, WeightMeter}, }; use frame_system::EnsureRoot; @@ -137,6 +137,7 @@ impl xcm_executor::Config for XcmConfig { type HrmpChannelAcceptedHandler = (); type HrmpChannelClosingHandler = (); type XcmRecorder = (); + type XcmEventEmitter = (); } pub type LocalOriginToLocation = SignedToAccountId32; @@ -169,6 +170,7 @@ impl pallet_xcm::Config for Runtime { type MaxRemoteLockConsumers = ConstU32<0>; type RemoteLockConsumerIdentifier = (); type AdminOrigin = EnsureRoot; + type AuthorizedAliasConsideration = Disabled; } parameter_types! { diff --git a/tests/xcm-simulator/src/tests/general.rs b/tests/xcm-simulator/src/tests/general.rs index 94c8c00000..0d56c3a91b 100644 --- a/tests/xcm-simulator/src/tests/general.rs +++ b/tests/xcm-simulator/src/tests/general.rs @@ -307,11 +307,7 @@ fn remote_dapps_staking_staker_claim() { let dapp_staking_events = parachain::System::events() .into_iter() .map(|r| r.event) - .filter_map(|e| { - ::RuntimeEvent::from(e) - .try_into() - .ok() - }) + .filter_map(|e| e.try_into().ok()) .collect::>>(); assert_eq!(dapp_staking_events.len(), 1); diff --git a/vendor/evm-tracing/Cargo.toml b/vendor/evm-tracing/Cargo.toml index 3d49dfbc01..07e9697b64 100644 --- a/vendor/evm-tracing/Cargo.toml +++ b/vendor/evm-tracing/Cargo.toml @@ -7,15 +7,17 @@ license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" version = "0.1.0" +[lints.clippy] +all = "allow" + [dependencies] ethereum-types = { workspace = true, features = ["std"] } hex = { workspace = true, features = ["serde"] } -serde = { workspace = true, features = ["std"] } -serde_json = { workspace = true } +log = { workspace = true } +serde = { workspace = true, features = ["derive", "std"] } # Moonbeam evm-tracing-events = { workspace = true, features = ["std"] } -moonbeam-rpc-primitives-debug = { workspace = true, features = ["std"] } # Substrate parity-scale-codec = { workspace = true, features = ["std"] } diff --git a/vendor/evm-tracing/src/formatters/blockscout.rs b/vendor/evm-tracing/src/formatters/blockscout.rs index 7c10a9dd78..d39f633dfc 100644 --- a/vendor/evm-tracing/src/formatters/blockscout.rs +++ b/vendor/evm-tracing/src/formatters/blockscout.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 PureStake Inc. +// Copyright 2019-2025 PureStake Inc. // This file is part of Moonbeam. // Moonbeam is free software: you can redistribute it and/or modify @@ -89,4 +89,5 @@ pub struct BlockscoutCall { pub gas_used: U256, #[serde(flatten)] pub inner: BlockscoutCallInner, + pub logs: Vec, } diff --git a/vendor/evm-tracing/src/formatters/call_tracer.rs b/vendor/evm-tracing/src/formatters/call_tracer.rs index af9ca34971..a8b35b9ace 100644 --- a/vendor/evm-tracing/src/formatters/call_tracer.rs +++ b/vendor/evm-tracing/src/formatters/call_tracer.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 PureStake Inc. +// Copyright 2019-2025 PureStake Inc. // This file is part of Moonbeam. // Moonbeam is free software: you can redistribute it and/or modify @@ -16,7 +16,7 @@ use super::blockscout::BlockscoutCallInner; use crate::types::{ - single::{Call, TransactionTrace}, + single::{Call, Log, TransactionTrace}, CallResult, CallType, CreateResult, }; @@ -25,6 +25,7 @@ use crate::listeners::call_list::Listener; use crate::types::serialization::*; use serde::Serialize; +use crate::types::block::BlockTransactionTrace; use ethereum_types::{H160, U256}; use parity_scale_codec::{Decode, Encode}; use sp_std::{cmp::Ordering, vec::Vec}; @@ -33,14 +34,20 @@ pub struct Formatter; impl super::ResponseFormatter for Formatter { type Listener = Listener; - type Response = Vec; + type Response = Vec; - fn format(mut listener: Listener) -> Option> { - // Remove empty BTreeMaps pushed to `entries`. - // I.e. InvalidNonce or other pallet_evm::runner exits - listener.entries.retain(|x| !x.is_empty()); + fn format(listener: Listener) -> Option> { let mut traces = Vec::new(); - for entry in listener.entries.iter() { + for (eth_tx_index, entry) in listener.entries.iter().enumerate() { + // Skip empty BTreeMaps pushed to `entries`. + // I.e. InvalidNonce or other pallet_evm::runner exits + if entry.is_empty() { + log::debug!( + target: "tracing", + "Empty trace entry with transaction index {}, skipping...", eth_tx_index + ); + continue; + } let mut result: Vec = entry .into_iter() .map(|(_, it)| { @@ -70,8 +77,12 @@ impl super::ResponseFormatter for Formatter { }, to, input, - res, + res: res.clone(), value: Some(value), + logs: match res { + CallResult::Output { .. } => it.logs.clone(), + CallResult::Error { .. } => Vec::new(), + }, }, BlockscoutCallInner::Create { init, res } => CallTracerInner::Create { input: init, @@ -238,9 +249,16 @@ impl super::ResponseFormatter for Formatter { *trace_address = None; } if result.len() == 1 { - traces.push(TransactionTrace::CallListNested(result.pop().expect( - "result.len() == 1, so pop() necessarily returns this element", - ))); + traces.push(BlockTransactionTrace { + tx_position: eth_tx_index as u32, + // Use default, the correct value will be set upstream + tx_hash: Default::default(), + result: TransactionTrace::CallListNested( + result + .pop() + .expect("result.len() == 1, so pop() necessarily returns this element"), + ), + }); } } if traces.is_empty() { @@ -286,6 +304,9 @@ pub enum CallTracerInner { #[serde(skip_serializing_if = "Option::is_none")] value: Option, + + #[serde(skip_serializing_if = "Vec::is_empty")] + logs: Vec, }, Create { #[serde(rename = "type", serialize_with = "opcode_serialize")] diff --git a/vendor/evm-tracing/src/formatters/mod.rs b/vendor/evm-tracing/src/formatters/mod.rs index 3d991ecea4..ac067be6fe 100644 --- a/vendor/evm-tracing/src/formatters/mod.rs +++ b/vendor/evm-tracing/src/formatters/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 PureStake Inc. +// Copyright 2019-2025 PureStake Inc. // This file is part of Moonbeam. // Moonbeam is free software: you can redistribute it and/or modify diff --git a/vendor/evm-tracing/src/formatters/raw.rs b/vendor/evm-tracing/src/formatters/raw.rs index 024658cdca..086fff2c32 100644 --- a/vendor/evm-tracing/src/formatters/raw.rs +++ b/vendor/evm-tracing/src/formatters/raw.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 PureStake Inc. +// Copyright 2019-2025 PureStake Inc. // This file is part of Moonbeam. // Moonbeam is free software: you can redistribute it and/or modify diff --git a/vendor/evm-tracing/src/formatters/trace_filter.rs b/vendor/evm-tracing/src/formatters/trace_filter.rs index 5c4c432f11..065fde8e48 100644 --- a/vendor/evm-tracing/src/formatters/trace_filter.rs +++ b/vendor/evm-tracing/src/formatters/trace_filter.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 PureStake Inc. +// Copyright 2019-2025 PureStake Inc. // This file is part of Moonbeam. // Moonbeam is free software: you can redistribute it and/or modify @@ -30,12 +30,18 @@ impl super::ResponseFormatter for Formatter { type Listener = Listener; type Response = Vec; - fn format(mut listener: Listener) -> Option> { - // Remove empty BTreeMaps pushed to `entries`. - // I.e. InvalidNonce or other pallet_evm::runner exits - listener.entries.retain(|x| !x.is_empty()); + fn format(listener: Listener) -> Option> { let mut traces = Vec::new(); for (eth_tx_index, entry) in listener.entries.iter().enumerate() { + // Skip empty BTreeMaps pushed to `entries`. + // I.e. InvalidNonce or other pallet_evm::runner exits + if entry.is_empty() { + log::debug!( + target: "tracing", + "Empty trace entry with transaction index {}, skipping...", eth_tx_index + ); + continue; + } let mut tx_traces: Vec<_> = entry .into_iter() .map(|(_, trace)| match trace.inner.clone() { diff --git a/vendor/evm-tracing/src/listeners/call_list.rs b/vendor/evm-tracing/src/listeners/call_list.rs index 6d60948a4d..4f9afb16b7 100644 --- a/vendor/evm-tracing/src/listeners/call_list.rs +++ b/vendor/evm-tracing/src/listeners/call_list.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 PureStake Inc. +// Copyright 2019-2025 PureStake Inc. // This file is part of Moonbeam. // Moonbeam is free software: you can redistribute it and/or modify @@ -16,7 +16,7 @@ use crate::formatters::blockscout::BlockscoutCall as Call; use crate::formatters::blockscout::BlockscoutCallInner as CallInner; -use crate::types::{CallResult, CallType, ContextType, CreateResult}; +use crate::types::{single::Log, CallResult, CallType, ContextType, CreateResult}; use ethereum_types::{H160, U256}; use evm_tracing_events::{ runtime::{Capture, ExitError, ExitReason, ExitSucceed}, @@ -50,7 +50,7 @@ pub struct Listener { // Next index to use. entries_next_index: u32, // Stack of contexts with data to keep between events. - context_stack: Vec, + pub(crate) context_stack: Vec, // Type of the next call. // By default is None and corresponds to the root call, which @@ -79,9 +79,12 @@ pub struct Listener { /// True if only the `GasometerEvent::RecordTransaction` event has been received. /// Allow to correctly handle transactions that cannot pay for the tx data in Legacy mode. record_transaction_event_only: bool, + + /// If true the listener will collect EvmEvent::Log events. + pub with_log: bool, } -struct Context { +pub struct Context { entries_index: u32, context_type: ContextType, @@ -98,6 +101,8 @@ struct Context { data: Vec, // to / create address to: H160, + + logs: Vec, } impl Default for Listener { @@ -116,6 +121,7 @@ impl Default for Listener { skip_next_context: false, call_list_first_transaction: true, record_transaction_event_only: false, + with_log: false, } } } @@ -160,6 +166,7 @@ impl Listener { input: context.data, res, }, + logs: context.logs, } } ContextType::Create => { @@ -178,6 +185,7 @@ impl Listener { init: context.data, res, }, + logs: context.logs, } } }; @@ -208,6 +216,7 @@ impl Listener { input: vec![], res, }, + logs: Vec::::new(), }; self.insert_entry(self.entries_next_index, entry); @@ -300,6 +309,8 @@ impl Listener { data, to: address, + + logs: Vec::new(), }); self.entries_next_index += 1; @@ -330,6 +341,8 @@ impl Listener { data: init_code, to: address, + + logs: Vec::new(), }); self.entries_next_index += 1; @@ -360,6 +373,8 @@ impl Listener { data: init_code, to: address, + + logs: Vec::new(), }); self.entries_next_index += 1; @@ -415,6 +430,8 @@ impl Listener { data: input.to_vec(), to: code_address, + + logs: Vec::new(), }); self.entries_next_index += 1; @@ -458,6 +475,8 @@ impl Listener { data: init_code.to_vec(), to: address, + + logs: Vec::new(), }); self.entries_next_index += 1; @@ -492,6 +511,7 @@ impl Listener { to: target, balance, }, + logs: Vec::::new(), }, ); self.entries_next_index += 1; @@ -519,6 +539,21 @@ impl Listener { // behavior (like batch precompile does) thus we simply consider this a call. self.call_type = Some(CallType::Call); } + EvmEvent::Log { + address, + topics, + data, + } => { + if self.with_log { + if let Some(stack) = self.context_stack.last_mut() { + stack.logs.push(Log { + address, + topics, + data, + }); + } + } + } // We ignore other kinds of message if any (new ones may be added in the future). #[allow(unreachable_patterns)] @@ -577,6 +612,7 @@ impl Listener { input: context.data, res, }, + logs: context.logs, } } ContextType::Create => { @@ -605,6 +641,7 @@ impl Listener { init: context.data, res, }, + logs: context.logs, } } }, @@ -665,6 +702,7 @@ impl ListenerT for Listener { #[allow(unused)] mod tests { use super::*; + use crate::formatters::blockscout::BlockscoutCallInner; use ethereum_types::H256; use evm_tracing_events::{ evm::CreateScheme, @@ -681,6 +719,7 @@ mod tests { TransactCall, TransactCreate, TransactCreate2, + Log, } enum TestRuntimeEvent { @@ -782,6 +821,11 @@ mod tests { gas_limit: 0u64, address: H160::default(), }, + TestEvmEvent::Log => EvmEvent::Log { + address: H160::default(), + topics: Vec::new(), + data: Vec::new(), + }, } } @@ -876,6 +920,10 @@ mod tests { listener.evm_event(test_emit_evm_event(TestEvmEvent::Suicide, false, None)); } + fn do_evm_log_event(listener: &mut Listener) { + listener.evm_event(test_emit_evm_event(TestEvmEvent::Log, false, None)); + } + fn do_runtime_step_event(listener: &mut Listener) { listener.runtime_event(test_emit_runtime_event(TestRuntimeEvent::Step)); } @@ -1127,4 +1175,47 @@ mod tests { // There are 5 main nested calls for a total of 56 elements in the callstack: 1 main + 55 nested. assert_eq!(listener.entries[0].len(), (depth * (subdepth + 1)) + 1); } + + #[test] + fn call_log_event() { + let mut listener = Listener::default(); + listener.with_log = true; + do_transact_create_event(&mut listener); + do_gasometer_event(&mut listener); + do_evm_create_event(&mut listener); + do_evm_call_event(&mut listener); + do_evm_log_event(&mut listener); + do_exit_event(&mut listener); + listener.finish_transaction(); + assert_eq!(listener.entries.len(), 1); + assert_eq!(listener.entries[0].len(), 2); + assert_eq!(listener.entries[0].get(&1).unwrap().logs.len(), 1); + } + + #[test] + fn call_multiple_logs_event() { + let mut listener = Listener::default(); + listener.with_log = true; + do_evm_call_event(&mut listener); + do_evm_log_event(&mut listener); + do_evm_log_event(&mut listener); + do_exit_event(&mut listener); + listener.finish_transaction(); + assert_eq!(listener.entries.len(), 1); + assert_eq!(listener.entries[0].len(), 1); + assert_eq!(listener.entries[0].get(&0).unwrap().logs.len(), 2); + } + + #[test] + fn call_log_event_not_recorder_when_with_log_is_false() { + let mut listener = Listener::default(); + do_evm_call_event(&mut listener); + do_evm_log_event(&mut listener); + do_evm_log_event(&mut listener); + do_exit_event(&mut listener); + listener.finish_transaction(); + assert_eq!(listener.entries.len(), 1); + assert_eq!(listener.entries[0].len(), 1); + assert_eq!(listener.entries[0].get(&0).unwrap().logs.len(), 0); + } } diff --git a/vendor/evm-tracing/src/listeners/raw.rs b/vendor/evm-tracing/src/listeners/raw.rs index 7ee12f5d21..55fa51d76a 100644 --- a/vendor/evm-tracing/src/listeners/raw.rs +++ b/vendor/evm-tracing/src/listeners/raw.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 PureStake Inc. +// Copyright 2019-2025 PureStake Inc. // This file is part of Moonbeam. // Moonbeam is free software: you can redistribute it and/or modify @@ -196,7 +196,7 @@ impl Listener { result, return_value, } => { - // StepResult is expected to be emited after a step (in a context). + // StepResult is expected to be emitted after a step (in a context). // Only case StepResult will occur without a Step before is in a transfer // transaction to a non-contract address. However it will not contain any // steps and return an empty trace, so we can ignore this edge case. @@ -310,7 +310,7 @@ impl Listener { } } } - // We ignore other kinds of message if any (new ones may be added in the future). + // We ignore other kinds of messages if any (new ones may be added in the future). #[allow(unreachable_patterns)] _ => (), } diff --git a/vendor/evm-tracing/src/types/block.rs b/vendor/evm-tracing/src/types/block.rs index 4925aaf867..f2b7c4f990 100644 --- a/vendor/evm-tracing/src/types/block.rs +++ b/vendor/evm-tracing/src/types/block.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 PureStake Inc. +// Copyright 2019-2025 PureStake Inc. // This file is part of Moonbeam. // Moonbeam is free software: you can redistribute it and/or modify @@ -23,6 +23,17 @@ use ethereum_types::{H160, H256, U256}; use parity_scale_codec::{Decode, Encode}; use sp_std::vec::Vec; +/// Block transaction trace. +#[derive(Clone, Eq, PartialEq, Debug, Encode, Decode, Serialize)] +#[serde(rename_all = "camelCase")] +pub struct BlockTransactionTrace { + #[serde(serialize_with = "h256_0x_serialize")] + pub tx_hash: H256, + pub result: crate::types::single::TransactionTrace, + #[serde(skip_serializing)] + pub tx_position: u32, +} + #[derive(Clone, Eq, PartialEq, Debug, Encode, Decode, Serialize)] #[serde(rename_all = "camelCase")] pub struct TransactionTrace { diff --git a/vendor/evm-tracing/src/types/serialization.rs b/vendor/evm-tracing/src/types/serialization.rs index 8512ea0e46..8e71829246 100644 --- a/vendor/evm-tracing/src/types/serialization.rs +++ b/vendor/evm-tracing/src/types/serialization.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 PureStake Inc. +// Copyright 2019-2025 PureStake Inc. // This file is part of Moonbeam. // Moonbeam is free software: you can redistribute it and/or modify diff --git a/vendor/evm-tracing/src/types/single.rs b/vendor/evm-tracing/src/types/single.rs index 3c3bb4e155..fc7c79fba9 100644 --- a/vendor/evm-tracing/src/types/single.rs +++ b/vendor/evm-tracing/src/types/single.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 PureStake Inc. +// Copyright 2019-2025 PureStake Inc. // This file is part of Moonbeam. // Moonbeam is free software: you can redistribute it and/or modify @@ -20,9 +20,9 @@ //! the whole block tracing output. use super::serialization::*; -use serde::Serialize; +use serde::{Deserialize, Serialize}; -use ethereum_types::{H256, U256}; +use ethereum_types::{H160, H256, U256}; use parity_scale_codec::{Decode, Encode}; use sp_std::{collections::btree_map::BTreeMap, vec::Vec}; @@ -100,3 +100,26 @@ pub struct RawStepLog { #[serde(skip_serializing_if = "Option::is_none")] pub storage: Option>, } + +#[derive(Clone, Eq, PartialEq, Debug, Encode, Decode, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct TraceCallConfig { + pub with_log: bool, +} + +impl Default for TraceCallConfig { + fn default() -> Self { + Self { with_log: false } + } +} + +#[derive(Clone, Debug, Encode, Decode, PartialEq, Eq, Serialize)] +pub struct Log { + /// Event address. + pub address: H160, + /// Event topics + pub topics: Vec, + /// Event data + #[serde(serialize_with = "bytes_0x_serialize")] + pub data: Vec, +} diff --git a/vendor/primitives/debug/Cargo.toml b/vendor/primitives/debug/Cargo.toml index edad910efb..c0409752c8 100644 --- a/vendor/primitives/debug/Cargo.toml +++ b/vendor/primitives/debug/Cargo.toml @@ -7,18 +7,16 @@ license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" version = "0.1.0" +[lints.clippy] +all = "allow" + [dependencies] -environmental = { workspace = true } -ethereum = { workspace = true } +ethereum = { workspace = true, features = ["with-scale"] } ethereum-types = { workspace = true } -hex = { workspace = true, optional = true, features = ["serde"] } -serde = { workspace = true, optional = true, features = ["derive"] } # Substrate parity-scale-codec = { workspace = true } sp-api = { workspace = true } -sp-core = { workspace = true } -sp-io = { workspace = true } sp-runtime = { workspace = true } sp-std = { workspace = true } @@ -26,16 +24,9 @@ sp-std = { workspace = true } default = ["std"] std = [ "parity-scale-codec/std", - "environmental/std", "ethereum-types/std", "ethereum/std", - "hex", - "serde", "sp-api/std", - "sp-core/std", - "sp-io/std", "sp-runtime/std", "sp-std/std", - "hex?/std", - "serde?/std", ] diff --git a/vendor/primitives/debug/src/lib.rs b/vendor/primitives/debug/src/lib.rs index da9f7da441..cedca9f4cc 100644 --- a/vendor/primitives/debug/src/lib.rs +++ b/vendor/primitives/debug/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 PureStake Inc. +// Copyright 2019-2025 PureStake Inc. // This file is part of Moonbeam. // Moonbeam is free software: you can redistribute it and/or modify @@ -16,7 +16,9 @@ #![cfg_attr(not(feature = "std"), no_std)] -use ethereum::{TransactionV0 as LegacyTransaction, TransactionV2 as Transaction}; +use ethereum::{AuthorizationList, TransactionV3}; +#[allow(unused_imports)] +use ethereum::{LegacyTransaction, TransactionV2}; use ethereum_types::{H160, H256, U256}; use parity_scale_codec::{Decode, Encode}; use sp_std::vec::Vec; @@ -30,23 +32,30 @@ sp_api::decl_runtime_apis! { // In order to be able to use ApiExt as part of the RPC handler logic we need to be always // above the version that exists on chain for this Api, even if this Api is only meant // to be used overridden. - #[api_version(6)] + #[api_version(7)] pub trait DebugRuntimeApi { + #[changed_in(4)] + fn trace_transaction( + extrinsics: Vec, + transaction: &LegacyTransaction, + ) -> Result<(), sp_runtime::DispatchError>; + #[changed_in(5)] fn trace_transaction( extrinsics: Vec, - transaction: &Transaction, + transaction: &TransactionV2, ) -> Result<(), sp_runtime::DispatchError>; - #[changed_in(4)] + #[changed_in(7)] fn trace_transaction( extrinsics: Vec, - transaction: &LegacyTransaction, + transaction: &TransactionV2, + header: &Block::Header, ) -> Result<(), sp_runtime::DispatchError>; fn trace_transaction( extrinsics: Vec, - transaction: &Transaction, + transaction: &TransactionV3, header: &Block::Header, ) -> Result<(), sp_runtime::DispatchError>; @@ -62,6 +71,7 @@ sp_api::decl_runtime_apis! { header: &Block::Header, ) -> Result<(), sp_runtime::DispatchError>; + #[allow(clippy::too_many_arguments)] fn trace_call( header: &Block::Header, from: H160, @@ -73,6 +83,7 @@ sp_api::decl_runtime_apis! { max_priority_fee_per_gas: Option, nonce: Option, access_list: Option)>>, + authorization_list: Option, ) -> Result<(), sp_runtime::DispatchError>; } } diff --git a/vendor/primitives/evm-tracing-events/Cargo.toml b/vendor/primitives/evm-tracing-events/Cargo.toml index 4c8c09feef..4f32bd4ecf 100644 --- a/vendor/primitives/evm-tracing-events/Cargo.toml +++ b/vendor/primitives/evm-tracing-events/Cargo.toml @@ -7,6 +7,9 @@ license = "GPL-3.0-only" repository = { workspace = true } version = "0.1.0" +[lints.clippy] +all = "allow" + [dependencies] environmental = { workspace = true } diff --git a/vendor/primitives/evm-tracing-events/src/evm.rs b/vendor/primitives/evm-tracing-events/src/evm.rs index 35765892d1..f6e6060357 100644 --- a/vendor/primitives/evm-tracing-events/src/evm.rs +++ b/vendor/primitives/evm-tracing-events/src/evm.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 PureStake Inc. +// Copyright 2019-2025 PureStake Inc. // This file is part of Moonbeam. // Moonbeam is free software: you can redistribute it and/or modify @@ -136,6 +136,11 @@ pub enum EvmEvent { is_static: bool, context: super::Context, }, + Log { + address: H160, + topics: Vec, + data: Vec, + }, } #[cfg(feature = "evm-tracing")] @@ -252,6 +257,15 @@ impl<'a> From> for EvmEvent { is_static, context: context.clone().into(), }, + evm::tracing::Event::Log { + address, + topics, + data, + } => Self::Log { + address, + topics: topics.to_vec(), + data: data.to_vec(), + }, } } } diff --git a/vendor/primitives/evm-tracing-events/src/gasometer.rs b/vendor/primitives/evm-tracing-events/src/gasometer.rs index 66ccec01ed..2d36702e04 100644 --- a/vendor/primitives/evm-tracing-events/src/gasometer.rs +++ b/vendor/primitives/evm-tracing-events/src/gasometer.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 PureStake Inc. +// Copyright 2019-2025 PureStake Inc. // This file is part of Moonbeam. // Moonbeam is free software: you can redistribute it and/or modify diff --git a/vendor/primitives/evm-tracing-events/src/lib.rs b/vendor/primitives/evm-tracing-events/src/lib.rs index 9b6019dc92..0fb2f80eaf 100644 --- a/vendor/primitives/evm-tracing-events/src/lib.rs +++ b/vendor/primitives/evm-tracing-events/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 PureStake Inc. +// Copyright 2019-2025 PureStake Inc. // This file is part of Moonbeam. // Moonbeam is free software: you can redistribute it and/or modify @@ -41,7 +41,6 @@ pub use runtime::RuntimeEvent; use ethereum_types::{H160, U256}; use parity_scale_codec::{Decode, Encode}; -use sp_runtime_interface::pass_by::PassByCodec; environmental::environmental!(listener: dyn Listener + 'static); @@ -52,7 +51,7 @@ pub fn using R>(l: &mut (dyn Listener + 'static), f: F) -> R { /// Allow to configure which data of the Step event /// we want to keep or discard. Not discarding the data requires cloning the data /// in the runtime which have a significant cost for each step. -#[derive(Clone, Copy, Eq, PartialEq, Debug, Encode, Decode, Default, PassByCodec)] +#[derive(Clone, Copy, Eq, PartialEq, Debug, Encode, Decode, Default)] pub struct StepEventFilter { pub enable_stack: bool, pub enable_memory: bool, diff --git a/vendor/primitives/evm-tracing-events/src/runtime.rs b/vendor/primitives/evm-tracing-events/src/runtime.rs index b35f7d6b05..2079979b77 100644 --- a/vendor/primitives/evm-tracing-events/src/runtime.rs +++ b/vendor/primitives/evm-tracing-events/src/runtime.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 PureStake Inc. +// Copyright 2019-2025 PureStake Inc. // This file is part of Moonbeam. // Moonbeam is free software: you can redistribute it and/or modify @@ -225,6 +225,9 @@ pub fn opcodes_string(opcode: Opcode) -> Vec { Opcode(89) => "MSize", Opcode(90) => "Gas", Opcode(91) => "JumpDest", + Opcode(92) => "TLoad", + Opcode(93) => "TStore", + Opcode(94) => "MCopy", Opcode(96) => "Push1", Opcode(97) => "Push2", Opcode(98) => "Push3", diff --git a/vendor/primitives/txpool/Cargo.toml b/vendor/primitives/txpool/Cargo.toml index d8d0995d53..70aae14f04 100644 --- a/vendor/primitives/txpool/Cargo.toml +++ b/vendor/primitives/txpool/Cargo.toml @@ -7,6 +7,9 @@ license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" version = "0.6.0" +[lints.clippy] +all = "allow" + [dependencies] ethereum = { workspace = true, features = ["with-scale"] } diff --git a/vendor/primitives/txpool/src/lib.rs b/vendor/primitives/txpool/src/lib.rs index ca771a22d1..a64898099d 100644 --- a/vendor/primitives/txpool/src/lib.rs +++ b/vendor/primitives/txpool/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 PureStake Inc. +// Copyright 2019-2025 PureStake Inc. // This file is part of Moonbeam. // Moonbeam is free software: you can redistribute it and/or modify @@ -19,7 +19,7 @@ #![allow(clippy::unnecessary_mut_passed)] #![allow(clippy::too_many_arguments)] -pub use ethereum::{TransactionV0 as LegacyTransaction, TransactionV2 as Transaction}; +pub use ethereum::{TransactionV0 as LegacyTransaction, TransactionV3 as Transaction}; use parity_scale_codec::{Decode, Encode}; use sp_runtime::scale_info::TypeInfo; use sp_runtime::traits::Block as BlockT; diff --git a/vendor/rpc-core/debug/Cargo.toml b/vendor/rpc-core/debug/Cargo.toml index 79141b6368..020e81a021 100644 --- a/vendor/rpc-core/debug/Cargo.toml +++ b/vendor/rpc-core/debug/Cargo.toml @@ -7,14 +7,17 @@ license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" version = "0.1.0" +[lints.clippy] +all = "allow" + [dependencies] -ethereum = { workspace = true, features = ["with-scale"] } +ethereum = { workspace = true, features = ["with-scale", "with-serde"] } ethereum-types = { workspace = true, features = ["std"] } futures = { workspace = true, features = ["compat"] } jsonrpsee = { workspace = true, features = ["macros", "server"] } moonbeam-client-evm-tracing = { workspace = true } moonbeam-rpc-core-types = { workspace = true } -serde = { workspace = true } +serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } fc-rpc-core = { workspace = true } diff --git a/vendor/rpc-core/debug/src/lib.rs b/vendor/rpc-core/debug/src/lib.rs index b0f8985165..3ab4489b14 100644 --- a/vendor/rpc-core/debug/src/lib.rs +++ b/vendor/rpc-core/debug/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 PureStake Inc. +// Copyright 2019-2025 PureStake Inc. // This file is part of Moonbeam. // Moonbeam is free software: you can redistribute it and/or modify @@ -13,11 +13,12 @@ // You should have received a copy of the GNU General Public License // along with Moonbeam. If not, see . -use ethereum::AccessListItem; + +use ethereum::{AccessListItem, AuthorizationList}; use ethereum_types::{H160, H256, U256}; use fc_rpc_core::types::Bytes; use jsonrpsee::{core::RpcResult, proc_macros::rpc}; -use moonbeam_client_evm_tracing::types::single; +use moonbeam_client_evm_tracing::types::{block, single}; use moonbeam_rpc_core_types::RequestBlockId; use serde::Deserialize; @@ -29,6 +30,7 @@ pub struct TraceParams { pub disable_stack: Option, /// Javascript tracer (we just check if it's Blockscout tracer string) pub tracer: Option, + pub tracer_config: Option, pub timeout: Option, } @@ -55,6 +57,8 @@ pub struct TraceCallParams { pub nonce: Option, /// EIP-2930 access list pub access_list: Option>, + /// EIP-7702 authorization list + pub authorization_list: Option, /// EIP-2718 type #[serde(rename = "type")] pub transaction_type: Option, @@ -81,5 +85,5 @@ pub trait Debug { &self, id: RequestBlockId, params: Option, - ) -> RpcResult>; + ) -> RpcResult>; } diff --git a/vendor/rpc-core/trace/Cargo.toml b/vendor/rpc-core/trace/Cargo.toml index 61719ac4e2..d941cbdb49 100644 --- a/vendor/rpc-core/trace/Cargo.toml +++ b/vendor/rpc-core/trace/Cargo.toml @@ -7,6 +7,9 @@ license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" version = "0.6.0" +[lints.clippy] +all = "allow" + [dependencies] ethereum-types = { workspace = true, features = ["std"] } futures = { workspace = true, features = ["compat"] } diff --git a/vendor/rpc-core/types/Cargo.toml b/vendor/rpc-core/types/Cargo.toml index eaae4263f2..0424d82ed5 100644 --- a/vendor/rpc-core/types/Cargo.toml +++ b/vendor/rpc-core/types/Cargo.toml @@ -7,7 +7,9 @@ license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" version = "0.1.0" +[lints.clippy] +all = "allow" + [dependencies] ethereum-types = { workspace = true, features = ["std", "serialize"] } -serde = { workspace = true, features = ["std"] } -serde_json = { workspace = true } +serde = { workspace = true, features = ["derive", "std"] } diff --git a/vendor/rpc-core/types/src/lib.rs b/vendor/rpc-core/types/src/lib.rs index e8023d41bd..7ac2b2dd11 100644 --- a/vendor/rpc-core/types/src/lib.rs +++ b/vendor/rpc-core/types/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 PureStake Inc.. +// Copyright 2019-2025 PureStake Inc.. // This file is part of Moonbeam. // Moonbeam is free software: you can redistribute it and/or modify @@ -29,6 +29,7 @@ pub enum RequestBlockId { #[serde(rename_all = "camelCase")] pub enum RequestBlockTag { Earliest, + Finalized, Latest, Pending, } diff --git a/vendor/rpc/debug/Cargo.toml b/vendor/rpc/debug/Cargo.toml index 7e44fea193..d6f73e02b9 100644 --- a/vendor/rpc/debug/Cargo.toml +++ b/vendor/rpc/debug/Cargo.toml @@ -7,10 +7,14 @@ license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" version = "0.1.0" +[lints.clippy] +all = "allow" + [dependencies] futures = { workspace = true, features = ["compat"] } hex-literal = { workspace = true } jsonrpsee = { workspace = true, features = ["macros", "server"] } +log = { workspace = true } tokio = { workspace = true, features = ["sync", "time"] } # Moonbeam @@ -28,6 +32,7 @@ sp-blockchain = { workspace = true } sp-core = { workspace = true, features = ["std"] } sp-io = { workspace = true, features = ["std"] } sp-runtime = { workspace = true, features = ["std"] } +sp-trie = { workspace = true, features = ["std"] } # Frontier ethereum = { workspace = true, features = ["std", "with-scale"] } diff --git a/vendor/rpc/debug/src/lib.rs b/vendor/rpc/debug/src/lib.rs index af687a4abc..170dcf3e22 100644 --- a/vendor/rpc/debug/src/lib.rs +++ b/vendor/rpc/debug/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 PureStake Inc. +// Copyright 2019-2025 PureStake Inc. // This file is part of Moonbeam. // Moonbeam is free software: you can redistribute it and/or modify @@ -22,10 +22,15 @@ use tokio::{ sync::{oneshot, Semaphore}, }; +use ethereum; use ethereum_types::H256; use fc_rpc::{frontier_backend_client, internal_err}; use fc_storage::StorageOverride; use fp_rpc::EthereumRuntimeRPCApi; +use moonbeam_client_evm_tracing::formatters::call_tracer::CallTracerInner; +use moonbeam_client_evm_tracing::types::block; +use moonbeam_client_evm_tracing::types::block::BlockTransactionTrace; +use moonbeam_client_evm_tracing::types::single::TransactionTrace; use moonbeam_client_evm_tracing::{formatters::ResponseFormatter, types::single}; use moonbeam_rpc_core_types::{RequestBlockId, RequestBlockTag}; use moonbeam_rpc_primitives_debug::{DebugRuntimeApi, TracerInput}; @@ -36,10 +41,12 @@ use sp_block_builder::BlockBuilder; use sp_blockchain::{ Backend as BlockchainBackend, Error as BlockChainError, HeaderBackend, HeaderMetadata, }; +use sp_core::H160; use sp_runtime::{ generic::BlockId, traits::{BlakeTwo256, Block as BlockT, Header as HeaderT, UniqueSaturatedInto}, }; +use std::collections::BTreeMap; use std::{future::Future, marker::PhantomData, sync::Arc}; pub enum RequesterInput { @@ -50,7 +57,7 @@ pub enum RequesterInput { pub enum Response { Single(single::TransactionTrace), - Block(Vec), + Block(Vec), } pub type Responder = oneshot::Sender>; @@ -102,7 +109,7 @@ impl DebugServer for Debug { &self, id: RequestBlockId, params: Option, - ) -> RpcResult> { + ) -> RpcResult> { let requester = self.requester.clone(); let (tx, rx) = oneshot::channel(); @@ -179,7 +186,7 @@ where backend: Arc, frontier_backend: Arc + Send + Sync>, permit_pool: Arc, - storage_override: Arc>, + overrides: Arc>, raw_max_memory_usage: usize, ) -> (impl Future, DebugRequester) { let (tx, mut rx): (DebugRequester, _) = @@ -196,7 +203,7 @@ where let backend = backend.clone(); let frontier_backend = frontier_backend.clone(); let permit_pool = permit_pool.clone(); - let storage_override = storage_override.clone(); + let overrides = overrides.clone(); tokio::task::spawn(async move { let _ = response_tx.send( @@ -209,7 +216,7 @@ where frontier_backend.clone(), transaction_hash, params, - storage_override.clone(), + overrides.clone(), raw_max_memory_usage, ) }) @@ -264,7 +271,7 @@ where let backend = backend.clone(); let frontier_backend = frontier_backend.clone(); let permit_pool = permit_pool.clone(); - let storage_override = storage_override.clone(); + let overrides = overrides.clone(); tokio::task::spawn(async move { let _ = response_tx.send( @@ -278,7 +285,7 @@ where frontier_backend.clone(), request_block_id, params, - storage_override.clone(), + overrides.clone(), ) }) .await @@ -300,11 +307,18 @@ where (fut, tx) } - fn handle_params(params: Option) -> RpcResult<(TracerInput, single::TraceType)> { + fn handle_params( + params: Option, + ) -> RpcResult<( + TracerInput, + single::TraceType, + Option, + )> { // Set trace input and type match params { Some(TraceParams { tracer: Some(tracer), + tracer_config, .. }) => { const BLOCKSCOUT_JS_CODE_HASH: [u8; 16] = @@ -321,7 +335,7 @@ where None }; if let Some(tracer) = tracer { - Ok((tracer, single::TraceType::CallList)) + Ok((tracer, single::TraceType::CallList, tracer_config)) } else { return Err(internal_err(format!( "javascript based tracing is not available (hash :{:?})", @@ -336,6 +350,7 @@ where disable_memory: params.disable_memory.unwrap_or(false), disable_stack: params.disable_stack.unwrap_or(false), }, + params.tracer_config, )), _ => Ok(( TracerInput::None, @@ -344,6 +359,7 @@ where disable_memory: false, disable_stack: false, }, + None, )), } } @@ -354,15 +370,18 @@ where frontier_backend: Arc + Send + Sync>, request_block_id: RequestBlockId, params: Option, - storage_override: Arc>, + overrides: Arc>, ) -> RpcResult { - let (tracer_input, trace_type) = Self::handle_params(params)?; + let (tracer_input, trace_type, tracer_config) = Self::handle_params(params)?; let reference_id: BlockId = match request_block_id { RequestBlockId::Number(n) => Ok(BlockId::Number(n.unique_saturated_into())), RequestBlockId::Tag(RequestBlockTag::Latest) => { Ok(BlockId::Number(client.info().best_number)) } + RequestBlockId::Tag(RequestBlockTag::Finalized) => { + Ok(BlockId::Hash(client.info().finalized_hash)) + } RequestBlockId::Tag(RequestBlockTag::Earliest) => { Ok(BlockId::Number(0u32.unique_saturated_into())) } @@ -382,7 +401,7 @@ where } }?; - // Get ApiRef. This handle allow to keep changes between txs in an internal buffer. + // Get ApiRef. This handle allows to keep changes between txs in an internal buffer. let api = client.runtime_api(); // Get Blockchain backend let blockchain = backend.blockchain(); @@ -398,12 +417,36 @@ where // Get parent blockid. let parent_block_hash = *header.parent_hash(); - let statuses = storage_override + let statuses = overrides .current_transaction_statuses(hash) .unwrap_or_default(); + // Partial ethereum transaction data to check if a trace match an ethereum transaction + struct EthTxPartial { + transaction_hash: H256, + from: H160, + to: Option, + } + // Known ethereum transaction hashes. - let eth_tx_hashes: Vec<_> = statuses.iter().map(|t| t.transaction_hash).collect(); + let eth_transactions_by_index: BTreeMap = statuses + .iter() + .map(|status| { + ( + status.transaction_index, + EthTxPartial { + transaction_hash: status.transaction_hash, + from: status.from, + to: status.to, + }, + ) + }) + .collect(); + + let eth_tx_hashes: Vec<_> = eth_transactions_by_index + .values() + .map(|tx| tx.transaction_hash) + .collect(); // If there are no ethereum transactions in the block return empty trace right away. if eth_tx_hashes.is_empty() { @@ -433,11 +476,30 @@ where // The block is initialized inside "trace_block" api.trace_block(parent_block_hash, exts, eth_tx_hashes, &header) } else { - // Old "trace_block" api did not initialize block before applying transactions, - // so we need to do it here before calling "trace_block". - #[allow(deprecated)] - api.initialize_block_before_version_5(parent_block_hash, &header) - .map_err(|e| internal_err(format!("Runtime api access error: {:?}", e)))?; + // Get core runtime api version + let core_api_version = if let Ok(Some(api_version)) = + api.api_version::>(parent_block_hash) + { + api_version + } else { + return Err(internal_err( + "Runtime api version call failed (core)".to_string(), + )); + }; + + // Initialize block: calls the "on_initialize" hook on every pallet + // in AllPalletsWithSystem + // This was fine before pallet-message-queue because the XCM messages + // were processed by the "setValidationData" inherent call and not on an + // "on_initialize" hook, which runs before enabling XCM tracing + if core_api_version >= 5 { + api.initialize_block(parent_block_hash, &header) + .map_err(|e| internal_err(format!("Runtime api access error: {:?}", e)))?; + } else { + #[allow(deprecated)] + api.initialize_block_before_version_5(parent_block_hash, &header) + .map_err(|e| internal_err(format!("Runtime api access error: {:?}", e)))?; + } #[allow(deprecated)] api.trace_block_before_version_5(parent_block_hash, exts, eth_tx_hashes) @@ -460,16 +522,89 @@ where Ok(moonbeam_rpc_primitives_debug::Response::Block) }; + // Offset to account for old buggy transactions that are in trace not in the ethereum block + let mut tx_position_offset = 0; + return match trace_type { single::TraceType::CallList => { let mut proxy = moonbeam_client_evm_tracing::listeners::CallList::default(); + proxy.with_log = tracer_config.map_or(false, |cfg| cfg.with_log); proxy.using(f)?; proxy.finish_transaction(); let response = match tracer_input { TracerInput::CallTracer => { - moonbeam_client_evm_tracing::formatters::CallTracer::format(proxy) - .ok_or("Trace result is empty.") - .map_err(|e| internal_err(format!("{:?}", e))) + let result = + moonbeam_client_evm_tracing::formatters::CallTracer::format(proxy) + .ok_or("Trace result is empty.") + .map_err(|e| internal_err(format!("{:?}", e)))? + .into_iter() + .filter_map(|mut trace: BlockTransactionTrace| { + if let Some(EthTxPartial { + transaction_hash, + from, + to, + }) = eth_transactions_by_index + .get(&(trace.tx_position - tx_position_offset)) + { + // verify that the trace matches the ethereum transaction + let (trace_from, trace_to) = match trace.result { + TransactionTrace::Raw { .. } => { + (Default::default(), None) + } + TransactionTrace::CallList(_) => { + (Default::default(), None) + } + TransactionTrace::CallListNested(ref call) => { + match call { + single::Call::Blockscout(_) => { + (Default::default(), None) + } + single::Call::CallTracer(call) => ( + call.from, + match call.inner { + CallTracerInner::Call { + to, .. + } => Some(to), + CallTracerInner::Create { .. } => None, + CallTracerInner::SelfDestruct { + .. + } => None, + }, + ), + } + } + }; + if trace_from == *from && trace_to == *to { + trace.tx_hash = *transaction_hash; + Some(trace) + } else { + // if the trace does not match the ethereum transaction + // it means that the trace is about a buggy transaction that is not in the block + // we need to offset the tx_position + tx_position_offset += 1; + None + } + } else { + // If the transaction is not in the ethereum block + // it should not appear in the block trace + tx_position_offset += 1; + None + } + }) + .collect::>(); + + let n_txs = eth_transactions_by_index.len(); + let n_traces = result.len(); + if n_txs != n_traces { + log::warn!( + "The traces in block {:?} don't match with the number of ethereum transactions. (txs: {}, traces: {})", + request_block_id, + n_txs, + n_traces + ); + } + + Ok(result) } _ => Err(internal_err( "Bug: failed to resolve the tracer format.".to_string(), @@ -488,21 +623,21 @@ where /// Replays a transaction in the Runtime at a given block height. /// - /// In order to succesfully reproduce the result of the original transaction we need a correct + /// In order to successfully reproduce the result of the original transaction we need a correct /// state to replay over. /// - /// Substrate allows to apply extrinsics in the Runtime and thus creating an overlayed state. - /// This overlayed changes will live in-memory for the lifetime of the ApiRef. + /// Substrate allows to apply extrinsics in the Runtime and thus creating an overlaid state. + /// These overlaid changes will live in-memory for the lifetime of the ApiRef. fn handle_transaction_request( client: Arc, backend: Arc, frontier_backend: Arc + Send + Sync>, transaction_hash: H256, params: Option, - storage_override: Arc>, + overrides: Arc>, raw_max_memory_usage: usize, ) -> RpcResult { - let (tracer_input, trace_type) = Self::handle_params(params)?; + let (tracer_input, trace_type, tracer_config) = Self::handle_params(params)?; let (hash, index) = match futures::executor::block_on(frontier_backend_client::load_transactions::( @@ -558,36 +693,99 @@ where )); }; - let reference_block = storage_override.current_block(reference_hash); + let reference_block = overrides.current_block(reference_hash); // Get the actual ethereum transaction. if let Some(block) = reference_block { let transactions = block.transactions; if let Some(transaction) = transactions.get(index) { let f = || -> RpcResult<_> { - let result = if trace_api_version >= 5 { + let result = if trace_api_version >= 7 { // The block is initialized inside "trace_transaction" api.trace_transaction(parent_block_hash, exts, &transaction, &header) - } else { - // Old "trace_transaction" api did not initialize block before applying transactions, - // so we need to do it here before calling "trace_transaction". + } else if trace_api_version == 5 || trace_api_version == 6 { + // API version 5 and 6 expect TransactionV2, so we need to convert from TransactionV3 + let tx_v2 = match transaction { + ethereum::TransactionV3::Legacy(tx) => { + ethereum::TransactionV2::Legacy(tx.clone()) + } + ethereum::TransactionV3::EIP2930(tx) => { + ethereum::TransactionV2::EIP2930(tx.clone()) + } + ethereum::TransactionV3::EIP1559(tx) => { + ethereum::TransactionV2::EIP1559(tx.clone()) + } + ethereum::TransactionV3::EIP7702(_) => { + return Err(internal_err( + "EIP-7702 transactions are not supported".to_string(), + )) + } + }; + + // The block is initialized inside "trace_transaction" #[allow(deprecated)] - api.initialize_block_before_version_5(parent_block_hash, &header) - .map_err(|e| { - internal_err(format!("Runtime api access error: {:?}", e)) - })?; + api.trace_transaction_before_version_7( + parent_block_hash, + exts, + &tx_v2, + &header, + ) + } else { + // Get core runtime api version + let core_api_version = if let Ok(Some(api_version)) = + api.api_version::>(parent_block_hash) + { + api_version + } else { + return Err(internal_err( + "Runtime api version call failed (core)".to_string(), + )); + }; + + // Initialize block: calls the "on_initialize" hook on every pallet + // in AllPalletsWithSystem + // This was fine before pallet-message-queue because the XCM messages + // were processed by the "setValidationData" inherent call and not on an + // "on_initialize" hook, which runs before enabling XCM tracing + if core_api_version >= 5 { + api.initialize_block(parent_block_hash, &header) + .map_err(|e| { + internal_err(format!("Runtime api access error: {:?}", e)) + })?; + } else { + #[allow(deprecated)] + api.initialize_block_before_version_5(parent_block_hash, &header) + .map_err(|e| { + internal_err(format!("Runtime api access error: {:?}", e)) + })?; + } if trace_api_version == 4 { + // API version 4 expect TransactionV2, so we need to convert from TransactionV3 + let tx_v2 = match transaction { + ethereum::TransactionV3::Legacy(tx) => { + ethereum::TransactionV2::Legacy(tx.clone()) + } + ethereum::TransactionV3::EIP2930(tx) => { + ethereum::TransactionV2::EIP2930(tx.clone()) + } + ethereum::TransactionV3::EIP1559(tx) => { + ethereum::TransactionV2::EIP1559(tx.clone()) + } + ethereum::TransactionV3::EIP7702(_) => { + return Err(internal_err( + "EIP-7702 transactions are not supported".to_string(), + )) + } + }; + + // Pre pallet-message-queue #[allow(deprecated)] - api.trace_transaction_before_version_5( - parent_block_hash, - exts, - &transaction, - ) + api.trace_transaction_before_version_5(parent_block_hash, exts, &tx_v2) } else { // Pre-london update, legacy transactions. match transaction { - ethereum::TransactionV2::Legacy(tx) => + ethereum::TransactionV3::Legacy(tx) => { #[allow(deprecated)] api.trace_transaction_before_version_4( @@ -642,6 +840,7 @@ where } single::TraceType::CallList => { let mut proxy = moonbeam_client_evm_tracing::listeners::CallList::default(); + proxy.with_log = tracer_config.map_or(false, |cfg| cfg.with_log); proxy.using(f)?; proxy.finish_transaction(); let response = match tracer_input { @@ -657,7 +856,7 @@ where ) .ok_or("Trace result is empty.") .map_err(|e| internal_err(format!("{:?}", e)))?; - Ok(res.pop().expect("Trace result is empty.")) + Ok(res.pop().expect("Trace result is empty.").result) } _ => Err(internal_err( "Bug: failed to resolve the tracer format.".to_string(), @@ -683,13 +882,16 @@ where trace_params: Option, raw_max_memory_usage: usize, ) -> RpcResult { - let (tracer_input, trace_type) = Self::handle_params(trace_params)?; + let (tracer_input, trace_type, tracer_config) = Self::handle_params(trace_params)?; let reference_id: BlockId = match request_block_id { RequestBlockId::Number(n) => Ok(BlockId::Number(n.unique_saturated_into())), RequestBlockId::Tag(RequestBlockTag::Latest) => { Ok(BlockId::Number(client.info().best_number)) } + RequestBlockId::Tag(RequestBlockTag::Finalized) => { + Ok(BlockId::Hash(client.info().finalized_hash)) + } RequestBlockId::Tag(RequestBlockTag::Earliest) => { Ok(BlockId::Number(0u32.unique_saturated_into())) } @@ -750,6 +952,7 @@ where data, nonce, access_list, + authorization_list, .. } = call_params; @@ -824,6 +1027,7 @@ where .map(|item| (item.address, item.storage_keys)) .collect(), ), + authorization_list, ) .map_err(|e| internal_err(format!("Runtime api access error: {:?}", e)))? .map_err(|e| internal_err(format!("DispatchError: {:?}", e)))?; @@ -855,6 +1059,7 @@ where } single::TraceType::CallList => { let mut proxy = moonbeam_client_evm_tracing::listeners::CallList::default(); + proxy.with_log = tracer_config.map_or(false, |cfg| cfg.with_log); proxy.using(f)?; proxy.finish_transaction(); let response = match tracer_input { @@ -868,7 +1073,7 @@ where moonbeam_client_evm_tracing::formatters::CallTracer::format(proxy) .ok_or("Trace result is empty.") .map_err(|e| internal_err(format!("{:?}", e)))?; - Ok(res.pop().expect("Trace result is empty.")) + Ok(res.pop().expect("Trace result is empty.").result) } _ => Err(internal_err( "Bug: failed to resolve the tracer format.".to_string(), diff --git a/vendor/rpc/trace/Cargo.toml b/vendor/rpc/trace/Cargo.toml index 3ae553a268..52132f2443 100644 --- a/vendor/rpc/trace/Cargo.toml +++ b/vendor/rpc/trace/Cargo.toml @@ -7,6 +7,9 @@ license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" version = "0.6.0" +[lints.clippy] +all = "allow" + [dependencies] ethereum = { workspace = true, features = ["with-scale", "std"] } ethereum-types = { workspace = true, features = ["std"] } diff --git a/vendor/rpc/trace/src/lib.rs b/vendor/rpc/trace/src/lib.rs index fbef9bb265..91d498183f 100644 --- a/vendor/rpc/trace/src/lib.rs +++ b/vendor/rpc/trace/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 PureStake Inc. +// Copyright 2019-2025 PureStake Inc. // This file is part of Moonbeam. // Moonbeam is free software: you can redistribute it and/or modify @@ -19,7 +19,7 @@ //! executor. //! //! The implementation is composed of multiple tasks : -//! - Many calls the the RPC handler `Trace::filter`, communicating with the main task. +//! - Many calls the RPC handler `Trace::filter`, communicating with the main task. //! - A main `CacheTask` managing the cache and the communication between tasks. //! - For each traced block an async task responsible to wait for a permit, spawn a blocking //! task and waiting for the result, then send it to the main `CacheTask`. @@ -102,6 +102,9 @@ where Ok(self.client.info().best_number) } Some(RequestBlockId::Tag(RequestBlockTag::Earliest)) => Ok(0), + Some(RequestBlockId::Tag(RequestBlockTag::Finalized)) => { + Ok(self.client.info().finalized_number) + } Some(RequestBlockId::Tag(RequestBlockTag::Pending)) => { Err("'pending' is not supported") } @@ -109,7 +112,7 @@ where } } - /// `trace_filter` endpoint (wrapped in the trait implementation with futures compatibilty) + /// `trace_filter` endpoint (wrapped in the trait implementation with futures compatibility) async fn filter(self, req: FilterRequest) -> TxsTraceRes { let from_block = self.block_id(req.from_block)?; let to_block = self.block_id(req.to_block)?; @@ -244,7 +247,7 @@ where self.clone() .filter(filter) .await - .map_err(|e| fc_rpc::internal_err(e)) + .map_err(fc_rpc::internal_err) } } @@ -360,7 +363,7 @@ impl CacheRequester { /// Data stored for each block in the cache. /// `active_batch_count` represents the number of batches using this -/// block. It will increase immediatly when a batch is created, but will be +/// block. It will increase immediately when a batch is created, but will be /// decrease only after the batch ends and its expiration delay passes. /// It allows to keep the data in the cache for following requests that would use /// this block, which is important to handle pagination efficiently. @@ -386,7 +389,7 @@ enum CacheBlockState { #[allow(dead_code)] unqueue_sender: oneshot::Sender<()>, }, - /// Tracing has completed and the result is available. No Runtime API call + /// Tracing has been completed and the result is available. No Runtime API call /// will be needed until this block cache is removed. Cached { traces: TxsTraceRes }, } @@ -399,7 +402,7 @@ enum BlockingTaskMessage { /// the semaphore. This is used to prevent the deletion of a cache entry for a block that has /// started being traced. Started { block_hash: H256 }, - /// The tracing is finished and the result is send to the main task. + /// The tracing is finished and the result is sent to the main task. Finished { block_hash: H256, result: TxsTraceRes, @@ -435,14 +438,14 @@ where { /// Create a new cache task. /// - /// Returns a Future that needs to be added to a tokio executor, and an handle allowing to + /// Returns a Future that needs to be added to a tokio executor, and a handle allowing to /// send requests to the task. pub fn create( client: Arc, backend: Arc, cache_duration: Duration, blocking_permits: Arc, - storage_override: Arc>, + overrides: Arc>, prometheus: Option, ) -> (impl Future, CacheRequester) { // Communication with the outside world : @@ -468,7 +471,7 @@ where None }; // Contains the inner state of the cache task, excluding the pooled futures/channels. - // Having this object allow to refactor each event into its own function, simplifying + // Having this object allows to refactor each event into its own function, simplifying // the main loop. let mut inner = Self { client, @@ -489,7 +492,7 @@ where match request { None => break, Some(CacheRequest::StartBatch {sender, blocks}) - => inner.request_start_batch(&blocking_tx, sender, blocks, storage_override.clone()), + => inner.request_start_batch(&blocking_tx, sender, blocks, overrides.clone()), Some(CacheRequest::GetTraces {sender, block}) => inner.request_get_traces(sender, block), Some(CacheRequest::StopBatch {batch_id}) => { @@ -529,19 +532,19 @@ where /// Handle the creation of a batch. /// Will start the tracing process for blocks that are not already in the cache. - #[instrument(skip(self, blocking_tx, sender, blocks, storage_override))] + #[instrument(skip(self, blocking_tx, sender, blocks, overrides))] fn request_start_batch( &mut self, blocking_tx: &mpsc::Sender, sender: oneshot::Sender, blocks: Vec, - storage_override: Arc>, + overrides: Arc>, ) { tracing::trace!("Starting batch {}", self.next_batch_id); self.batches.insert(self.next_batch_id, blocks.clone()); for block in blocks { - // The block is already in the cache, awesome ! + // The block is already in the cache, awesome! if let Some(block_cache) = self.cached_blocks.get_mut(&block) { block_cache.active_batch_count += 1; tracing::trace!( @@ -559,11 +562,11 @@ where let client = Arc::clone(&self.client); let backend = Arc::clone(&self.backend); let blocking_tx = blocking_tx.clone(); - let storage_override = storage_override.clone(); + let overrides = overrides.clone(); // Spawn all block caching asynchronously. // It will wait to obtain a permit, then spawn a blocking task. - // When the blocking task returns its result, it is send + // When the blocking task returns its result, it is sent // thought a channel to the main task loop. tokio::spawn( async move { @@ -587,7 +590,7 @@ where // Perform block tracing in a tokio blocking task. let result = async { tokio::task::spawn_blocking(move || { - Self::cache_block(client, backend, block, storage_override.clone()) + Self::cache_block(client, backend, block, overrides.clone()) }) .await .map_err(|e| { @@ -599,7 +602,7 @@ where tracing::trace!("Block tracing finished, sending result to main task."); - // Send response to main task. + // Send a response to the main task. let _ = blocking_tx .send(BlockingTaskMessage::Finished { block_hash: block, @@ -628,13 +631,13 @@ where // Respond with the batch ID. let _ = sender.send(CacheBatchId(self.next_batch_id)); - // Increase batch ID for next request. + // Increase batch ID for the next request. self.next_batch_id = self.next_batch_id.overflowing_add(1).0; } /// Handle a request to get the traces of the provided block. - /// - If the result is stored in the cache, it sends it immediatly. - /// - If the block is currently being pooled, it is added in this block cache waiting list, + /// - If the result is stored in the cache, it sends it immediately. + /// - If the block is currently being pooled, it is added to this block cache waiting list, /// and all requests concerning this block will be satisfied when the tracing for this block /// is finished. /// - If this block is missing from the cache, it means no batch asked for it. All requested @@ -710,7 +713,7 @@ where tracing::trace!("Pooled block {} is no longer requested.", block); // Remove block from the cache. Drops the value, // closing all the channels contained in it. - let _ = self.cached_blocks.remove(&block); + let _ = self.cached_blocks.remove(block); } } } @@ -787,14 +790,14 @@ where } /// (In blocking task) Use the Runtime API to trace the block. - #[instrument(skip(client, backend, storage_override))] + #[instrument(skip(client, backend, overrides))] fn cache_block( client: Arc, backend: Arc, substrate_hash: H256, - storage_override: Arc>, + overrides: Arc>, ) -> TxsTraceRes { - // Get Subtrate block data. + // Get Substrate block data. let api = client.runtime_api(); let block_header = client .header(substrate_hash) @@ -804,15 +807,15 @@ where substrate_hash, e ) })? - .ok_or_else(|| format!("Subtrate block {} don't exist", substrate_hash))?; + .ok_or_else(|| format!("Substrate block {} don't exist", substrate_hash))?; let height = *block_header.number(); let substrate_parent_hash = *block_header.parent_hash(); // Get Ethereum block data. let (eth_block, eth_transactions) = match ( - storage_override.current_block(substrate_hash), - storage_override.current_transaction_statuses(substrate_hash), + overrides.current_block(substrate_hash), + overrides.current_transaction_statuses(substrate_hash), ) { (Some(a), Some(b)) => (a, b), _ => { @@ -853,7 +856,6 @@ where // Trace the block. let f = || -> Result<_, String> { let result = if trace_api_version >= 5 { - // The block is initialized inside "trace_block" api.trace_block( substrate_parent_hash, extrinsics, @@ -861,11 +863,28 @@ where &block_header, ) } else { - // Old "trace_block" api did not initialize block before applying transactions, - // so we need to do it here before calling "trace_block". - #[allow(deprecated)] - api.initialize_block_before_version_5(substrate_parent_hash, &block_header) - .map_err(|e| format!("Runtime api access error: {:?}", e))?; + // Get core runtime api version + let core_api_version = if let Ok(Some(api_version)) = + api.api_version::>(substrate_parent_hash) + { + api_version + } else { + return Err("Runtime api version call failed (core)".to_string()); + }; + + // Initialize block: calls the "on_initialize" hook on every pallet + // in AllPalletsWithSystem + // This was fine before pallet-message-queue because the XCM messages + // were processed by the "setValidationData" inherent call and not on an + // "on_initialize" hook, which runs before enabling XCM tracing + if core_api_version >= 5 { + api.initialize_block(substrate_parent_hash, &block_header) + .map_err(|e| format!("Runtime api access error: {:?}", e))?; + } else { + #[allow(deprecated)] + api.initialize_block_before_version_5(substrate_parent_hash, &block_header) + .map_err(|e| format!("Runtime api access error: {:?}", e))?; + } #[allow(deprecated)] api.trace_block_before_version_5(substrate_parent_hash, extrinsics, eth_tx_hashes) @@ -875,6 +894,7 @@ where .map_err(|e| format!("Blockchain error when replaying block {} : {:?}", height, e))? .map_err(|e| { tracing::warn!( + target: "tracing", "Internal runtime error when replaying block {} : {:?}", height, e @@ -897,38 +917,39 @@ where proxy.using(f)?; let traces: Vec = - moonbeam_client_evm_tracing::formatters::TraceFilter::format(proxy) - .ok_or("Fail to format proxy")? - .into_iter() - .filter_map(|mut trace| { - match eth_transactions_by_index.get(&trace.transaction_position) { - Some(transaction_hash) => { - trace.block_hash = eth_block_hash; - trace.block_number = height; - trace.transaction_hash = *transaction_hash; - - // Reformat error messages. - if let block::TransactionTraceOutput::Error(ref mut error) = - trace.output - { - if error.as_slice() == b"execution reverted" { - *error = b"Reverted".to_vec(); - } - } - - Some(trace) - } - None => { - log::warn!( + moonbeam_client_evm_tracing::formatters::TraceFilter::format(proxy) + .ok_or("Fail to format proxy")? + .into_iter() + .filter_map(|mut trace| { + match eth_transactions_by_index.get(&trace.transaction_position) { + Some(transaction_hash) => { + trace.block_hash = eth_block_hash; + trace.block_number = height; + trace.transaction_hash = *transaction_hash; + + // Reformat error messages. + if let block::TransactionTraceOutput::Error(ref mut error) = + trace.output + { + if error.as_slice() == b"execution reverted" { + *error = b"Reverted".to_vec(); + } + } + + Some(trace) + } + None => { + log::warn!( + target: "tracing", "A trace in block {} does not map to any known ethereum transaction. Trace: {:?}", height, trace, ); - None - } - } - }) - .collect(); + None + } + } + }) + .collect(); Ok(traces) } diff --git a/vendor/runtime/evm-tracer/Cargo.toml b/vendor/runtime/evm-tracer/Cargo.toml index afed879516..8bec857fb4 100644 --- a/vendor/runtime/evm-tracer/Cargo.toml +++ b/vendor/runtime/evm-tracer/Cargo.toml @@ -7,7 +7,11 @@ license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" version = "0.1.0" +[lints.clippy] +all = "allow" + [dependencies] +environmental = { workspace = true } # Moonbeam evm-tracing-events = { workspace = true, features = ["evm-tracing"] } @@ -45,4 +49,5 @@ std = [ "sp-runtime/std", "sp-std/std", "sp-io/std", + "environmental/std", ] diff --git a/vendor/runtime/evm-tracer/src/lib.rs b/vendor/runtime/evm-tracer/src/lib.rs index fe4a314650..e166f28e55 100644 --- a/vendor/runtime/evm-tracer/src/lib.rs +++ b/vendor/runtime/evm-tracer/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 PureStake Inc. +// Copyright 2019-2025 PureStake Inc. // This file is part of Moonbeam. // Moonbeam is free software: you can redistribute it and/or modify @@ -25,14 +25,29 @@ #![cfg_attr(not(feature = "std"), no_std)] pub mod tracer { + use ethereum_types::H256; use evm_tracing_events::{EvmEvent, GasometerEvent, RuntimeEvent, StepEventFilter}; - use parity_scale_codec::Encode; + use parity_scale_codec::{Decode, Encode}; use evm::tracing::{using as evm_using, EventListener as EvmListener}; use evm_gasometer::tracing::{using as gasometer_using, EventListener as GasometerListener}; use evm_runtime::tracing::{using as runtime_using, EventListener as RuntimeListener}; + use sp_runtime::DispatchError; use sp_std::{cell::RefCell, rc::Rc}; + /// The current EthereumXcmTransaction trace status. + #[derive(Clone, Debug, Encode, Decode, PartialEq, Eq)] + pub enum EthereumTracingStatus { + /// A full block trace. + Block, + /// A single transaction. + Transaction(H256), + /// Exit signal. + TransactionExited, + } + + environmental::environmental!(ETHEREUM_TRACING_STATUS: EthereumTracingStatus); + struct ListenerProxy(pub Rc>); impl GasometerListener for ListenerProxy { fn event(&mut self, event: evm_gasometer::tracing::Event) { @@ -52,6 +67,33 @@ pub mod tracer { } } + pub struct EthereumTracer; + + impl EthereumTracer { + pub fn transaction( + tx_hash: H256, + func: impl FnOnce() -> Result<(), DispatchError>, + ) -> Result<(), DispatchError> { + ETHEREUM_TRACING_STATUS::using(&mut EthereumTracingStatus::Transaction(tx_hash), func) + } + + pub fn block( + func: impl FnOnce() -> Result<(), DispatchError>, + ) -> Result<(), DispatchError> { + ETHEREUM_TRACING_STATUS::using(&mut EthereumTracingStatus::Block, func) + } + + pub fn transaction_exited() { + ETHEREUM_TRACING_STATUS::with(|state| { + *state = EthereumTracingStatus::TransactionExited + }); + } + + pub fn status() -> Option { + ETHEREUM_TRACING_STATUS::with(|state| state.clone()) + } + } + pub struct EvmTracer { step_event_filter: StepEventFilter, } diff --git a/vendor/runtime/ext/Cargo.toml b/vendor/runtime/ext/Cargo.toml index 0a30218125..9def39ad75 100644 --- a/vendor/runtime/ext/Cargo.toml +++ b/vendor/runtime/ext/Cargo.toml @@ -7,15 +7,16 @@ license = "GPL-3.0-only" repository = "https://github.com/PureStake/moonbeam/" version = "0.1.0" +[lints] +workspace = true + [dependencies] -ethereum-types = { workspace = true } # Moonbeam evm-tracing-events = { workspace = true } # Substrate parity-scale-codec = { workspace = true } -sp-externalities = { workspace = true } sp-runtime-interface = { workspace = true } sp-std = { workspace = true } @@ -23,9 +24,7 @@ sp-std = { workspace = true } default = ["std"] std = [ "parity-scale-codec/std", - "ethereum-types/std", "evm-tracing-events/std", - "sp-externalities/std", "sp-runtime-interface/std", "sp-std/std", ] diff --git a/vendor/runtime/ext/src/lib.rs b/vendor/runtime/ext/src/lib.rs index e3f8c4dc6c..77c18bf0e5 100644 --- a/vendor/runtime/ext/src/lib.rs +++ b/vendor/runtime/ext/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 PureStake Inc. +// Copyright 2019-2025 PureStake Inc. // This file is part of Moonbeam. // Moonbeam is free software: you can redistribute it and/or modify @@ -23,29 +23,35 @@ //! - Host functions will decode the input and emit an event `with` environmental. #![cfg_attr(not(feature = "std"), no_std)] -use sp_runtime_interface::runtime_interface; +use sp_runtime_interface::{ + pass_by::{AllocateAndReturnByCodec, PassFatPointerAndRead}, + runtime_interface, +}; +#[allow(unused_imports)] use parity_scale_codec::Decode; use sp_std::vec::Vec; -use evm_tracing_events::{Event, EvmEvent, GasometerEvent, RuntimeEvent, StepEventFilter}; +use evm_tracing_events::StepEventFilter; +#[allow(unused_imports)] +use evm_tracing_events::{Event, EvmEvent, GasometerEvent, RuntimeEvent}; #[runtime_interface] pub trait MoonbeamExt { - fn raw_step(&mut self, _data: Vec) {} + fn raw_step(&mut self, _data: PassFatPointerAndRead>) {} - fn raw_gas(&mut self, _data: Vec) {} + fn raw_gas(&mut self, _data: PassFatPointerAndRead>) {} - fn raw_return_value(&mut self, _data: Vec) {} + fn raw_return_value(&mut self, _data: PassFatPointerAndRead>) {} - fn call_list_entry(&mut self, _index: u32, _value: Vec) {} + fn call_list_entry(&mut self, _index: u32, _value: PassFatPointerAndRead>) {} fn call_list_new(&mut self) {} // New design, proxy events. /// An `Evm` event proxied by the Moonbeam runtime to this host function. /// evm -> moonbeam_runtime -> host. - fn evm_event(&mut self, event: Vec) { + fn evm_event(&mut self, event: PassFatPointerAndRead>) { if let Ok(event) = EvmEvent::decode(&mut &event[..]) { Event::Evm(event).emit(); } @@ -53,7 +59,7 @@ pub trait MoonbeamExt { /// A `Gasometer` event proxied by the Moonbeam runtime to this host function. /// evm_gasometer -> moonbeam_runtime -> host. - fn gasometer_event(&mut self, event: Vec) { + fn gasometer_event(&mut self, event: PassFatPointerAndRead>) { if let Ok(event) = GasometerEvent::decode(&mut &event[..]) { Event::Gasometer(event).emit(); } @@ -61,7 +67,7 @@ pub trait MoonbeamExt { /// A `Runtime` event proxied by the Moonbeam runtime to this host function. /// evm_runtime -> moonbeam_runtime -> host. - fn runtime_event(&mut self, event: Vec) { + fn runtime_event(&mut self, event: PassFatPointerAndRead>) { if let Ok(event) = RuntimeEvent::decode(&mut &event[..]) { Event::Runtime(event).emit(); } @@ -70,7 +76,7 @@ pub trait MoonbeamExt { /// Allow the tracing module in the runtime to know how to filter Step event /// content, as cloning the entire data is expensive and most of the time /// not necessary. - fn step_event_filter(&self) -> StepEventFilter { + fn step_event_filter(&self) -> AllocateAndReturnByCodec { evm_tracing_events::step_event_filter().unwrap_or_default() } diff --git a/vendor/treasury/Cargo.toml b/vendor/treasury/Cargo.toml index b6929aacb3..10abd24535 100644 --- a/vendor/treasury/Cargo.toml +++ b/vendor/treasury/Cargo.toml @@ -9,6 +9,9 @@ repository = "https://github.com/paritytech/polkadot-sdk.git" description = "FRAME pallet to manage treasury (polkadot v1.15.0)" readme = "README.md" +[lints.clippy] +all = "allow" + [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/vendor/treasury/src/lib.rs b/vendor/treasury/src/lib.rs index 3e85a36e40..83b1847dd9 100644 --- a/vendor/treasury/src/lib.rs +++ b/vendor/treasury/src/lib.rs @@ -151,6 +151,7 @@ pub mod pallet { type RejectOrigin: EnsureOrigin; /// The overarching event type. + #[allow(deprecated)] type RuntimeEvent: From> + IsType<::RuntimeEvent>; @@ -303,7 +304,7 @@ pub mod pallet { if pot != deactivated { T::Currency::reactivate(deactivated); T::Currency::deactivate(pot); - Deactivated::::put(&pot); + Deactivated::::put(pot); Self::deposit_event(Event::::UpdatedInactive { reactivated: deactivated, deactivated: pot, @@ -407,7 +408,7 @@ pub mod pallet { T::RejectOrigin::ensure_origin(origin)?; let proposal = - >::take(&proposal_id).ok_or(Error::::InvalidIndex)?; + >::take(proposal_id).ok_or(Error::::InvalidIndex)?; let value = proposal.bond; let imbalance = T::Currency::slash_reserved(&proposal.proposer, value).0; T::OnSlash::on_unbalanced(imbalance); @@ -581,9 +582,9 @@ impl, I: 'static> Pallet { /// /// 1. [`ProposalCount`] >= Number of elements in [`Proposals`]. /// 2. Each entry in [`Proposals`] should be saved under a key strictly less than current - /// [`ProposalCount`]. + /// [`ProposalCount`]. /// 3. Each [`ProposalIndex`] contained in [`Approvals`] should exist in [`Proposals`]. - /// Note, that this automatically implies [`Approvals`].count() <= [`Proposals`].count(). + /// Note, that this automatically implies [`Approvals`].count() <= [`Proposals`].count(). #[cfg(any(feature = "try-runtime", test))] fn try_state_proposals() -> Result<(), sp_runtime::TryRuntimeError> { let current_proposal_count = ProposalCount::::get(); @@ -594,7 +595,7 @@ impl, I: 'static> Pallet { Proposals::::iter_keys().try_for_each(|proposal_index| -> DispatchResult { ensure!( - current_proposal_count as u32 > proposal_index, + current_proposal_count > proposal_index, "`ProposalCount` should by strictly greater than any ProposalIndex used as a key for `Proposals`." ); Ok(()) @@ -619,7 +620,7 @@ impl, I: 'static> OnUnbalanced> for Palle let numeric_amount = amount.peek(); // Must resolve into existing but better to be safe. - let _ = T::Currency::resolve_creating(&Self::account_id(), amount); + T::Currency::resolve_creating(&Self::account_id(), amount); Self::deposit_event(Event::Deposit { value: numeric_amount, diff --git a/vendor/treasury/src/tests.rs b/vendor/treasury/src/tests.rs index 584f99806c..b5280ab26a 100644 --- a/vendor/treasury/src/tests.rs +++ b/vendor/treasury/src/tests.rs @@ -128,6 +128,7 @@ impl ExtBuilder { pallet_balances::GenesisConfig:: { // Total issuance will be 200 with treasury account initialized at ED. balances: vec![(0, 100), (1, 98), (2, 1)], + ..Default::default() } .assimilate_storage(&mut t) .unwrap(); @@ -410,6 +411,7 @@ fn inexistent_account_works() { .unwrap(); pallet_balances::GenesisConfig:: { balances: vec![(0, 100), (1, 99), (2, 1)], + ..Default::default() } .assimilate_storage(&mut t) .unwrap(); @@ -460,6 +462,7 @@ fn genesis_funding_works() { pallet_balances::GenesisConfig:: { // Total issuance will be 200 with treasury account initialized with 100. balances: vec![(0, 100), (Treasury::account_id(), initial_funding)], + ..Default::default() } .assimilate_storage(&mut t) .unwrap();