diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 63728a33b3..212de5db7d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -100,6 +100,7 @@ jobs: CARGO_INCREMENTAL: "0" SCCACHE_CACHE_SIZE: "100GB" SCCACHE_GHA_ENABLED: "true" + SKIP_PALLET_REVIVE_FIXTURES: "1" steps: - name: Checkout uses: actions/checkout@v6 @@ -437,6 +438,8 @@ jobs: needs: ["set-tags"] permissions: contents: read + env: + SKIP_PALLET_REVIVE_FIXTURES: "1" steps: - name: Checkout uses: actions/checkout@v6 diff --git a/Cargo.lock b/Cargo.lock index 3492f63c3e..73ba76ade0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -12,22 +12,13 @@ dependencies = [ "regex", ] -[[package]] -name = "addr2line" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a76fd60b23679b7d19bd066031410fb7e458ccc5e958eb5c325888ce4baedc97" -dependencies = [ - "gimli 0.27.3", -] - [[package]] name = "addr2line" version = "0.24.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" dependencies = [ - "gimli 0.31.1", + "gimli", ] [[package]] @@ -77,6 +68,17 @@ dependencies = [ "subtle 2.6.1", ] +[[package]] +name = "ahash" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" +dependencies = [ + "getrandom 0.2.16", + "once_cell", + "version_check", +] + [[package]] name = "ahash" version = "0.8.12" @@ -105,6 +107,33 @@ version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" +[[package]] +name = "alloy-consensus" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c202eb051877416e0f7d4d2de8f8da7533e62b986e3bf076d65a045ab4aa01a" +dependencies = [ + "alloy-eips", + "alloy-primitives 1.5.2", + "alloy-rlp", + "alloy-serde", + "alloy-trie", + "alloy-tx-macros", + "auto_impl", + "borsh", + "c-kzg", + "derive_more 2.0.1", + "either", + "k256", + "once_cell", + "rand 0.8.5", + "secp256k1 0.30.0", + "serde", + "serde_json", + "serde_with", + "thiserror 2.0.17", +] + [[package]] name = "alloy-core" version = "1.3.1" @@ -113,7 +142,7 @@ checksum = "bfe6c56d58fbfa9f0f6299376e8ce33091fc6494239466814c3f54b55743cb09" dependencies = [ "alloy-dyn-abi", "alloy-json-abi", - "alloy-primitives 1.3.1", + "alloy-primitives 1.5.2", "alloy-rlp", "alloy-sol-types 1.3.1", ] @@ -125,7 +154,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a3f56873f3cac7a2c63d8e98a4314b8311aa96adb1a0f82ae923eb2119809d2c" dependencies = [ "alloy-json-abi", - "alloy-primitives 1.3.1", + "alloy-primitives 1.5.2", "alloy-sol-type-parser", "alloy-sol-types 1.3.1", "itoa", @@ -134,13 +163,88 @@ dependencies = [ "winnow", ] +[[package]] +name = "alloy-eip2124" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "741bdd7499908b3aa0b159bba11e71c8cddd009a2c2eb7a06e825f1ec87900a5" +dependencies = [ + "alloy-primitives 1.5.2", + "alloy-rlp", + "crc", + "serde", + "thiserror 2.0.17", +] + +[[package]] +name = "alloy-eip2930" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9441120fa82df73e8959ae0e4ab8ade03de2aaae61be313fbf5746277847ce25" +dependencies = [ + "alloy-primitives 1.5.2", + "alloy-rlp", + "borsh", + "serde", +] + +[[package]] +name = "alloy-eip7702" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2919c5a56a1007492da313e7a3b6d45ef5edc5d33416fdec63c0d7a2702a0d20" +dependencies = [ + "alloy-primitives 1.5.2", + "alloy-rlp", + "borsh", + "k256", + "serde", + "thiserror 2.0.17", +] + +[[package]] +name = "alloy-eip7928" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6adac476434bf024279164dcdca299309f0c7d1e3557024eb7a83f8d9d01c6b5" +dependencies = [ + "alloy-primitives 1.5.2", + "alloy-rlp", + "borsh", + "serde", +] + +[[package]] +name = "alloy-eips" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f47793dba2a4b83e41978846b87fcc2cfc4102811ecfc01083efbe0896330da" +dependencies = [ + "alloy-eip2124", + "alloy-eip2930", + "alloy-eip7702", + "alloy-eip7928", + "alloy-primitives 1.5.2", + "alloy-rlp", + "alloy-serde", + "auto_impl", + "borsh", + "c-kzg", + "derive_more 2.0.1", + "either", + "serde", + "serde_with", + "sha2 0.10.9", + "thiserror 2.0.17", +] + [[package]] name = "alloy-json-abi" version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "125a1c373261b252e53e04d6e92c37d881833afc1315fceab53fd46045695640" dependencies = [ - "alloy-primitives 1.3.1", + "alloy-primitives 1.5.2", "alloy-sol-type-parser", "serde", "serde_json", @@ -168,17 +272,17 @@ dependencies = [ [[package]] name = "alloy-primitives" -version = "1.3.1" +version = "1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc9485c56de23438127a731a6b4c87803d49faf1a7068dcd1d8768aca3a9edb9" +checksum = "f6a0fb18dd5fb43ec5f0f6a20be1ce0287c79825827de5744afaa6c957737c33" dependencies = [ "alloy-rlp", "bytes", "cfg-if", "const-hex", "derive_more 2.0.1", - "foldhash", - "hashbrown 0.15.4", + "foldhash 0.2.0", + "hashbrown 0.16.1", "indexmap 2.9.0", "itoa", "k256", @@ -186,6 +290,7 @@ dependencies = [ "paste", "proptest", "rand 0.9.1", + "rapidhash", "ruint", "rustc-hash 2.1.1", "serde", @@ -199,10 +304,33 @@ version = "0.3.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f70d83b765fdc080dbcd4f4db70d8d23fe4761f2f02ebfa9146b833900634b4" dependencies = [ + "alloy-rlp-derive", "arrayvec 0.7.6", "bytes", ] +[[package]] +name = "alloy-rlp-derive" +version = "0.3.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64b728d511962dda67c1bc7ea7c03736ec275ed2cf4c35d9585298ac9ccf3b73" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.104", +] + +[[package]] +name = "alloy-serde" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "241294d3f741c86c92d4ad6b1f0a9318355b43b05fd0296e57f02fb967c6c3a9" +dependencies = [ + "alloy-primitives 1.5.2", + "serde", + "serde_json", +] + [[package]] name = "alloy-sol-macro" version = "0.4.2" @@ -297,11 +425,39 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f5383d34ea00079e6dd89c652bcbdb764db160cef84e6250926961a0b2295d04" dependencies = [ "alloy-json-abi", - "alloy-primitives 1.3.1", + "alloy-primitives 1.5.2", "alloy-sol-macro 1.3.1", "serde", ] +[[package]] +name = "alloy-trie" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "428aa0f0e0658ff091f8f667c406e034b431cb10abd39de4f507520968acc499" +dependencies = [ + "alloy-primitives 1.5.2", + "alloy-rlp", + "arrayvec 0.7.6", + "derive_more 2.0.1", + "nybbles", + "serde", + "smallvec", + "tracing", +] + +[[package]] +name = "alloy-tx-macros" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3e006e2d711485a504cf2124e104c2bde8938263c365d862ebbc300be9b27b4" +dependencies = [ + "darling 0.21.3", + "proc-macro2", + "quote", + "syn 2.0.104", +] + [[package]] name = "always-assert" version = "0.1.3" @@ -402,13 +558,19 @@ dependencies = [ "syn 2.0.104", ] +[[package]] +name = "arbitrary" +version = "1.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3d036a3c4ab069c7b410a2ce876bd74808d2d0888a82667669f8e783a898bf1" + [[package]] name = "ark-bls12-377" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb00293ba84f51ce3bd026bd0de55899c4e68f0a39a5728cebae3a73ffdc0a4f" dependencies = [ - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-std 0.4.0", ] @@ -419,12 +581,36 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c775f0d12169cba7aae4caeb547bb6a50781c7449a8aa53793827c9ec4abf488" dependencies = [ - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-serialize 0.4.2", "ark-std 0.4.0", ] +[[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]] +name = "ark-bn254" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d69eab57e8d2663efa5c63135b2af4f396d66424f88954c21104125ab6b3e6bc" +dependencies = [ + "ark-ec 0.5.0", + "ark-ff 0.5.0", + "ark-r1cs-std", + "ark-std 0.5.0", +] + [[package]] name = "ark-ec" version = "0.4.2" @@ -432,7 +618,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "defd9a439d56ac24968cca0571f598a61bc8c55f71d50a89cda591cb750670ba" dependencies = [ "ark-ff 0.4.2", - "ark-poly", + "ark-poly 0.4.2", "ark-serialize 0.4.2", "ark-std 0.4.0", "derivative", @@ -442,6 +628,27 @@ dependencies = [ "zeroize", ] +[[package]] +name = "ark-ec" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43d68f2d516162846c1238e755a7c4d131b892b70cc70c471a8e3ca3ed818fce" +dependencies = [ + "ahash 0.8.12", + "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.4", + "itertools 0.13.0", + "num-bigint", + "num-integer", + "num-traits", + "zeroize", +] + [[package]] name = "ark-ff" version = "0.3.0" @@ -480,6 +687,26 @@ dependencies = [ "zeroize", ] +[[package]] +name = "ark-ff" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a177aba0ed1e0fbb62aa9f6d0502e9b46dad8c2eab04c14258a1212d2557ea70" +dependencies = [ + "ark-ff-asm 0.5.0", + "ark-ff-macros 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", + "arrayvec 0.7.6", + "digest 0.10.7", + "educe", + "itertools 0.13.0", + "num-bigint", + "num-traits", + "paste", + "zeroize", +] + [[package]] name = "ark-ff-asm" version = "0.3.0" @@ -500,6 +727,16 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "ark-ff-asm" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62945a2f7e6de02a31fe400aa489f0e0f5b2502e69f95f853adb82a96c7a6b60" +dependencies = [ + "quote", + "syn 2.0.104", +] + [[package]] name = "ark-ff-macros" version = "0.3.0" @@ -525,6 +762,19 @@ 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.104", +] + [[package]] name = "ark-poly" version = "0.4.2" @@ -538,6 +788,50 @@ dependencies = [ "hashbrown 0.13.2", ] +[[package]] +name = "ark-poly" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "579305839da207f02b89cd1679e50e67b4331e2f9294a57693e5051b7703fe27" +dependencies = [ + "ahash 0.8.12", + "ark-ff 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", + "educe", + "fnv", + "hashbrown 0.15.4", +] + +[[package]] +name = "ark-r1cs-std" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "941551ef1df4c7a401de7068758db6503598e6f01850bdb2cfdb614a1f9dbea1" +dependencies = [ + "ark-ec 0.5.0", + "ark-ff 0.5.0", + "ark-relations", + "ark-std 0.5.0", + "educe", + "num-bigint", + "num-integer", + "num-traits", + "tracing", +] + +[[package]] +name = "ark-relations" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec46ddc93e7af44bcab5230937635b06fb5744464dd6a7e7b083e80ebd274384" +dependencies = [ + "ark-ff 0.5.0", + "ark-std 0.5.0", + "tracing", + "tracing-subscriber 0.2.25", +] + [[package]] name = "ark-serialize" version = "0.3.0" @@ -554,12 +848,25 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5" dependencies = [ - "ark-serialize-derive", + "ark-serialize-derive 0.4.2", "ark-std 0.4.0", "digest 0.10.7", "num-bigint", ] +[[package]] +name = "ark-serialize" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f4d068aaf107ebcd7dfb52bc748f8030e0fc930ac8e360146ca54c1203088f7" +dependencies = [ + "ark-serialize-derive 0.5.0", + "ark-std 0.5.0", + "arrayvec 0.7.6", + "digest 0.10.7", + "num-bigint", +] + [[package]] name = "ark-serialize-derive" version = "0.4.2" @@ -571,6 +878,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "ark-serialize-derive" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "213888f660fddcca0d257e88e54ac05bca01885f258ccdf695bafd77031bb69d" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.104", +] + [[package]] name = "ark-std" version = "0.3.0" @@ -591,6 +909,16 @@ 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 = "array-bytes" version = "6.2.3" @@ -627,6 +955,9 @@ name = "arrayvec" version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" +dependencies = [ + "serde", +] [[package]] name = "asn1-rs" @@ -637,7 +968,7 @@ dependencies = [ "asn1-rs-derive 0.5.1", "asn1-rs-impl", "displaydoc", - "nom", + "nom 7.1.3", "num-traits", "rusticata-macros", "thiserror 1.0.69", @@ -653,7 +984,7 @@ dependencies = [ "asn1-rs-derive 0.6.0", "asn1-rs-impl", "displaydoc", - "nom", + "nom 7.1.3", "num-traits", "rusticata-macros", "thiserror 2.0.17", @@ -819,9 +1150,10 @@ dependencies = [ [[package]] name = "asset-test-utils" -version = "24.0.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "29.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ + "assets-common", "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", "cumulus-primitives-core", @@ -847,10 +1179,38 @@ dependencies = [ "xcm-runtime-apis", ] +[[package]] +name = "assets-common" +version = "0.27.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" +dependencies = [ + "cumulus-primitives-core", + "ethereum-standards", + "frame-support", + "frame-system", + "impl-trait-for-tuples", + "pallet-asset-conversion", + "pallet-assets", + "pallet-revive", + "pallet-revive-uapi", + "pallet-xcm", + "parachains-common", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-core", + "sp-runtime", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", + "tracing", +] + [[package]] name = "async-backing-primitives" version = "0.9.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#5641a3b7cf971235ce7bd889705d0d23ef8feded" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2512#0fec9fd01f209c7352090d061c6383414f6762c3" dependencies = [ "sp-api", "sp-consensus-slots", @@ -893,18 +1253,6 @@ dependencies = [ "slab", ] -[[package]] -name = "async-fs" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "279cf904654eeebfa37ac9bb1598880884924aab82e290aa65c9e77a0e142e06" -dependencies = [ - "async-lock 2.8.0", - "autocfg", - "blocking", - "futures-lite 1.13.0", -] - [[package]] name = "async-fs" version = "2.1.2" @@ -975,17 +1323,6 @@ dependencies = [ "pin-project-lite", ] -[[package]] -name = "async-net" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0434b1ed18ce1cf5769b8ac540e33f01fa9471058b5e89da9e06f3c882a8c12f" -dependencies = [ - "async-io 1.13.0", - "blocking", - "futures-lite 1.13.0", -] - [[package]] name = "async-net" version = "2.0.0" @@ -997,23 +1334,6 @@ dependencies = [ "futures-lite 2.6.0", ] -[[package]] -name = "async-process" -version = "1.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea6438ba0a08d81529c69b36700fa2f95837bfe3e776ab39cde9c14d9149da88" -dependencies = [ - "async-io 1.13.0", - "async-lock 2.8.0", - "async-signal", - "blocking", - "cfg-if", - "event-listener 3.1.0", - "futures-lite 1.13.0", - "rustix 0.38.44", - "windows-sys 0.48.0", -] - [[package]] name = "async-process" version = "2.3.1" @@ -1126,6 +1446,16 @@ dependencies = [ "url", ] +[[package]] +name = "aurora-engine-modexp" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "518bc5745a6264b5fd7b09dffb9667e400ee9e2bbe18555fac75e1fe9afa0df9" +dependencies = [ + "hex", + "num", +] + [[package]] name = "auto_impl" version = "1.3.0" @@ -1143,17 +1473,23 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" +[[package]] +name = "az" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be5eb007b7cacc6c660343e96f650fedf4b5a77512399eb952ca6642cf8d13f7" + [[package]] name = "backtrace" version = "0.3.75" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6806a6321ec58106fea15becdad98371e28d92ccbc7c8f1b3b6dd724fe8f1002" dependencies = [ - "addr2line 0.24.2", + "addr2line", "cfg-if", "libc", "miniz_oxide", - "object 0.36.7", + "object", "rustc-demangle", "windows-targets 0.52.6", ] @@ -1176,18 +1512,6 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6107fe1be6682a68940da878d9e9f5e90ca5745b3dec9fd1bb393c8777d4f581" -[[package]] -name = "base64" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" - -[[package]] -name = "base64" -version = "0.21.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" - [[package]] name = "base64" version = "0.22.1" @@ -1202,40 +1526,28 @@ checksum = "89e25b6adfb930f02d1981565a6e5d9c547ac15a96606256d3b59040e5cd4ca3" [[package]] name = "binary-merkle-tree" -version = "16.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "16.1.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "hash-db", "log", "parity-scale-codec", ] -[[package]] -name = "bincode" -version = "1.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" -dependencies = [ - "serde", -] - [[package]] name = "bindgen" -version = "0.65.1" +version = "0.72.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfdf7b466f9a4903edc73f95d6d2bcd5baf8ae620638762244d3f60143643cc5" +checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.9.1", "cexpr", "clang-sys", - "lazy_static", - "lazycell", - "peeking_take_while", - "prettyplease", + "itertools 0.13.0", "proc-macro2", "quote", "regex", - "rustc-hash 1.1.0", + "rustc-hash 2.1.1", "shlex", "syn 2.0.104", ] @@ -1264,6 +1576,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43d193de1f7487df1914d3a568b772458861d33f9c54249612cc2893d6915054" dependencies = [ "bitcoin_hashes 0.13.0", + "rand 0.8.5", + "rand_core 0.6.4", "serde", "unicode-normalization", ] @@ -1382,17 +1696,6 @@ dependencies = [ "constant_time_eq 0.3.1", ] -[[package]] -name = "blake2s_simd" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e90f7deecfac93095eb874a40febd69427776e24e1bd7f87f33ac62d6f0174df" -dependencies = [ - "arrayref", - "arrayvec 0.7.6", - "constant_time_eq 0.3.1", -] - [[package]] name = "blake3" version = "1.8.2" @@ -1437,6 +1740,41 @@ dependencies = [ "piper", ] +[[package]] +name = "blst" +version = "0.3.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dcdb4c7013139a150f9fc55d123186dbfaba0d912817466282c73ac49e71fb45" +dependencies = [ + "cc", + "glob", + "threadpool", + "zeroize", +] + +[[package]] +name = "borsh" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1da5ab77c1437701eeff7c88d968729e7766172279eab0676857b3d63af7a6f" +dependencies = [ + "borsh-derive", + "cfg_aliases 0.2.1", +] + +[[package]] +name = "borsh-derive" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0686c856aa6aac0c4498f936d7d6a02df690f614c03e4d906d1018062b5c5e2c" +dependencies = [ + "once_cell", + "proc-macro-crate 3.3.0", + "proc-macro2", + "quote", + "syn 2.0.104", +] + [[package]] name = "bounded-collections" version = "0.3.2" @@ -1461,8 +1799,8 @@ dependencies = [ [[package]] name = "bp-header-chain" -version = "0.21.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.25.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bp-runtime", "finality-grandpa", @@ -1478,8 +1816,8 @@ dependencies = [ [[package]] name = "bp-messages" -version = "0.21.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.25.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bp-header-chain", "bp-runtime", @@ -1494,8 +1832,8 @@ dependencies = [ [[package]] name = "bp-parachains" -version = "0.21.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.25.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -1511,8 +1849,8 @@ dependencies = [ [[package]] name = "bp-polkadot-core" -version = "0.21.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.25.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bp-messages", "bp-runtime", @@ -1528,8 +1866,8 @@ dependencies = [ [[package]] name = "bp-relayers" -version = "0.21.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.25.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bp-header-chain", "bp-messages", @@ -1546,14 +1884,13 @@ dependencies = [ [[package]] name = "bp-runtime" -version = "0.21.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.25.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-support", "frame-system", "hash-db", "impl-trait-for-tuples", - "log", "num-traits", "parity-scale-codec", "scale-info", @@ -1564,13 +1901,14 @@ dependencies = [ "sp-state-machine", "sp-std", "sp-trie", + "tracing", "trie-db", ] [[package]] name = "bp-test-utils" -version = "0.21.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.25.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bp-header-chain", "bp-parachains", @@ -1589,8 +1927,8 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub" -version = "0.7.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.11.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bp-messages", "bp-runtime", @@ -1606,8 +1944,8 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub-router" -version = "0.18.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.22.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "parity-scale-codec", "scale-info", @@ -1640,8 +1978,8 @@ dependencies = [ [[package]] name = "bridge-hub-common" -version = "0.14.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.18.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1714,6 +2052,9 @@ name = "bumpalo" version = "3.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43" +dependencies = [ + "allocator-api2", +] [[package]] name = "byte-slice-cast" @@ -1758,6 +2099,21 @@ dependencies = [ "pkg-config", ] +[[package]] +name = "c-kzg" +version = "2.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e00bf4b112b07b505472dbefd19e37e53307e2bfed5a79e0cc161d58ccd0e687" +dependencies = [ + "blst", + "cc", + "glob", + "hex", + "libc", + "once_cell", + "serde", +] + [[package]] name = "c2-chacha" version = "0.3.3" @@ -1820,7 +2176,7 @@ dependencies = [ [[package]] name = "ccp-authorities-noting-inherent" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2506#ea3f44b87dd273cc82b84cebffd4bf2085487d5a" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2512#df20d556af96d852f85b1ec34903f849b9e2788c" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1847,7 +2203,7 @@ dependencies = [ [[package]] name = "ccp-xcm" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2506#ea3f44b87dd273cc82b84cebffd4bf2085487d5a" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2512#df20d556af96d852f85b1ec34903f849b9e2788c" dependencies = [ "frame-support", "frame-system", @@ -1871,7 +2227,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" dependencies = [ - "nom", + "nom 7.1.3", ] [[package]] @@ -1950,19 +2306,6 @@ dependencies = [ "windows-link", ] -[[package]] -name = "cid" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9b68e3193982cd54187d71afdb2a271ad4cf8af157858e9cb911b91321de143" -dependencies = [ - "core2", - "multibase", - "multihash 0.17.0", - "serde", - "unsigned-varint 0.7.2", -] - [[package]] name = "cid" version = "0.11.1" @@ -2003,7 +2346,6 @@ checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4" dependencies = [ "glob", "libc", - "libloading", ] [[package]] @@ -2058,6 +2400,15 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "cobs" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fa961b519f0b462e3a3b4a34b64d119eeaca1d59af726fe450bbba07a9fc0a1" +dependencies = [ + "thiserror 2.0.17", +] + [[package]] name = "codespan-reporting" version = "0.12.0" @@ -2136,6 +2487,16 @@ dependencies = [ "windows-sys 0.59.0", ] +[[package]] +name = "const-crypto" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c06f1eb05f06cf2e380fdded278fbf056a38974299d77960555a311dcf91a52" +dependencies = [ + "keccak-const", + "sha2-const-stable", +] + [[package]] name = "const-hex" version = "1.14.1" @@ -2400,7 +2761,6 @@ dependencies = [ "cumulus-pallet-xcm", "cumulus-pallet-xcmp-queue", "cumulus-primitives-core", - "cumulus-primitives-timestamp", "cumulus-primitives-utility", "dp-consensus", "dp-container-chain-genesis-data", @@ -2447,7 +2807,7 @@ dependencies = [ "pallet-maintenance-mode", "pallet-message-queue", "pallet-migrations 0.1.0", - "pallet-migrations 11.0.0", + "pallet-migrations 15.0.0", "pallet-multisig", "pallet-parameters", "pallet-proxy", @@ -2506,7 +2866,6 @@ dependencies = [ "cumulus-pallet-xcm", "cumulus-pallet-xcmp-queue", "cumulus-primitives-core", - "cumulus-primitives-timestamp", "cumulus-primitives-utility", "dp-consensus", "dp-container-chain-genesis-data", @@ -2532,7 +2891,7 @@ dependencies = [ "pallet-maintenance-mode", "pallet-message-queue", "pallet-migrations 0.1.0", - "pallet-migrations 11.0.0", + "pallet-migrations 15.0.0", "pallet-multisig", "pallet-ocw-testing", "pallet-parameters", @@ -2589,6 +2948,24 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" +[[package]] +name = "convert_case" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca" +dependencies = [ + "unicode-segmentation", +] + +[[package]] +name = "convert_case" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb402b8d4c85569410425650ce3eddc7d698ed96d39a73f941b08fb63082f1e7" +dependencies = [ + "unicode-segmentation", +] + [[package]] name = "core-foundation" version = "0.9.4" @@ -2630,15 +3007,6 @@ version = "1.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "92c71dc07c9721607e7a16108336048ee978c3a8b129294534272e8bac96c0ee" -[[package]] -name = "cpp_demangle" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eeaa953eaad386a53111e47172c2fedba671e5684c8dd601a5f474f4f118710f" -dependencies = [ - "cfg-if", -] - [[package]] name = "cpp_demangle" version = "0.4.4" @@ -2667,64 +3035,113 @@ dependencies = [ "libc", ] +[[package]] +name = "cranelift-assembler-x64" +version = "0.122.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ae7b60ec3fd7162427d3b3801520a1908bef7c035b52983cd3ca11b8e7deb51" +dependencies = [ + "cranelift-assembler-x64-meta", +] + +[[package]] +name = "cranelift-assembler-x64-meta" +version = "0.122.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6511c200fed36452697b4b6b161eae57d917a2044e6333b1c1389ed63ccadeee" +dependencies = [ + "cranelift-srcgen", +] + [[package]] name = "cranelift-bforest" -version = "0.95.1" +version = "0.122.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1277fbfa94bc82c8ec4af2ded3e639d49ca5f7f3c7eeab2c66accd135ece4e70" +checksum = "5f7086a645aa58bae979312f64e3029ac760ac1b577f5cd2417844842a2ca07f" dependencies = [ "cranelift-entity", ] +[[package]] +name = "cranelift-bitset" +version = "0.122.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5225b4dec45f3f3dbf383f12560fac5ce8d780f399893607e21406e12e77f491" +dependencies = [ + "serde", + "serde_derive", +] + [[package]] name = "cranelift-codegen" -version = "0.95.1" +version = "0.122.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6e8c31ad3b2270e9aeec38723888fe1b0ace3bea2b06b3f749ccf46661d3220" +checksum = "858fb3331e53492a95979378d6df5208dd1d0d315f19c052be8115f4efc888e0" dependencies = [ "bumpalo", + "cranelift-assembler-x64", "cranelift-bforest", + "cranelift-bitset", "cranelift-codegen-meta", "cranelift-codegen-shared", + "cranelift-control", "cranelift-entity", "cranelift-isle", - "gimli 0.27.3", - "hashbrown 0.13.2", + "gimli", + "hashbrown 0.15.4", "log", - "regalloc2 0.6.1", + "pulley-interpreter", + "regalloc2 0.12.2", + "rustc-hash 2.1.1", + "serde", "smallvec", "target-lexicon", + "wasmtime-internal-math", ] [[package]] name = "cranelift-codegen-meta" -version = "0.95.1" +version = "0.122.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8ac5ac30d62b2d66f12651f6b606dbdfd9c2cfd0908de6b387560a277c5c9da" +checksum = "456715b9d5f12398f156d5081096e7b5d039f01b9ecc49790a011c8e43e65b5f" dependencies = [ + "cranelift-assembler-x64-meta", "cranelift-codegen-shared", + "cranelift-srcgen", + "pulley-interpreter", ] [[package]] name = "cranelift-codegen-shared" -version = "0.95.1" +version = "0.122.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0306041099499833f167a0ddb707e1e54100f1a84eab5631bc3dad249708f482" + +[[package]] +name = "cranelift-control" +version = "0.122.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd82b8b376247834b59ed9bdc0ddeb50f517452827d4a11bccf5937b213748b8" +checksum = "1672945e1f9afc2297f49c92623f5eabc64398e2cb0d824f8f72a2db2df5af23" +dependencies = [ + "arbitrary", +] [[package]] name = "cranelift-entity" -version = "0.95.1" +version = "0.122.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40099d38061b37e505e63f89bab52199037a72b931ad4868d9089ff7268660b0" +checksum = "aa3cd55eb5f3825b9ae5de1530887907360a6334caccdc124c52f6d75246c98a" dependencies = [ + "cranelift-bitset", "serde", + "serde_derive", ] [[package]] name = "cranelift-frontend" -version = "0.95.1" +version = "0.122.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64a25d9d0a0ae3079c463c34115ec59507b4707175454f0eee0891e83e30e82d" +checksum = "781f9905f8139b8de22987b66b522b416fe63eb76d823f0b3a8c02c8fd9500c7" dependencies = [ "cranelift-codegen", "log", @@ -2734,15 +3151,15 @@ dependencies = [ [[package]] name = "cranelift-isle" -version = "0.95.1" +version = "0.122.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80de6a7d0486e4acbd5f9f87ec49912bf4c8fb6aea00087b989685460d4469ba" +checksum = "a05337a2b02c3df00b4dd9a263a027a07b3dff49f61f7da3b5d195c21eaa633d" [[package]] name = "cranelift-native" -version = "0.95.1" +version = "0.122.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb6b03e0e03801c4b3fd8ce0758a94750c07a44e7944cc0ffbf0d3f2e7c79b00" +checksum = "2eee7a496dd66380082c9c5b6f2d5fa149cec0ec383feec5caf079ca2b3671c2" dependencies = [ "cranelift-codegen", "libc", @@ -2750,20 +3167,10 @@ dependencies = [ ] [[package]] -name = "cranelift-wasm" -version = "0.95.1" +name = "cranelift-srcgen" +version = "0.122.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff3220489a3d928ad91e59dd7aeaa8b3de18afb554a6211213673a71c90737ac" -dependencies = [ - "cranelift-codegen", - "cranelift-entity", - "cranelift-frontend", - "itertools 0.10.5", - "log", - "smallvec", - "wasmparser", - "wasmtime-types", -] +checksum = "b530783809a55cb68d070e0de60cfbb3db0dc94c8850dd5725411422bedcf6bb" [[package]] name = "crc" @@ -2913,12 +3320,11 @@ dependencies = [ [[package]] name = "cumulus-client-bootnodes" -version = "0.2.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.7.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" 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", @@ -2926,7 +3332,6 @@ dependencies = [ "ip_network", "log", "num-traits", - "parachains-common", "parity-scale-codec", "prost 0.12.6", "prost-build 0.13.5", @@ -2939,8 +3344,8 @@ dependencies = [ [[package]] name = "cumulus-client-cli" -version = "0.24.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.28.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "clap", "parity-scale-codec", @@ -2956,8 +3361,8 @@ dependencies = [ [[package]] name = "cumulus-client-collator" -version = "0.24.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.28.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -2979,8 +3384,8 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" -version = "0.24.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.28.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "cumulus-client-collator", @@ -3003,6 +3408,7 @@ dependencies = [ "sc-consensus-aura", "sc-consensus-babe", "sc-consensus-slots", + "sc-network-types", "sc-telemetry", "sc-utils", "schnellru", @@ -3026,8 +3432,8 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" -version = "0.24.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.28.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -3058,12 +3464,17 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-proposer" -version = "0.20.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.24.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "anyhow", "async-trait", "cumulus-primitives-parachain-inherent", + "sc-basic-authorship", + "sc-block-builder", + "sc-transaction-pool-api", + "sp-api", + "sp-blockchain", "sp-consensus", "sp-inherents", "sp-runtime", @@ -3073,8 +3484,8 @@ dependencies = [ [[package]] name = "cumulus-client-network" -version = "0.24.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.28.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -3086,6 +3497,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-parachain-primitives", "polkadot-primitives", + "polkadot-primitives-test-helpers", "sc-client-api", "sc-network", "sp-api", @@ -3100,8 +3512,8 @@ dependencies = [ [[package]] name = "cumulus-client-parachain-inherent" -version = "0.18.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.22.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -3111,7 +3523,8 @@ dependencies = [ "parity-scale-codec", "sc-client-api", "sc-consensus-babe", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", + "sc-network-types", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512)", "sp-inherents", "sp-runtime", "sp-state-machine", @@ -3121,8 +3534,8 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" -version = "0.24.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.28.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -3149,8 +3562,8 @@ dependencies = [ [[package]] name = "cumulus-client-service" -version = "0.25.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.31.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-channel 1.9.0", "cumulus-client-cli", @@ -3165,6 +3578,7 @@ dependencies = [ "cumulus-relay-chain-minimal-node", "cumulus-relay-chain-streams", "futures 0.3.31", + "polkadot-overseer", "polkadot-primitives", "prometheus", "sc-client-api", @@ -3176,6 +3590,7 @@ dependencies = [ "sc-service", "sc-sysinfo", "sc-telemetry", + "sc-tracing", "sc-transaction-pool", "sc-utils", "sp-api", @@ -3185,13 +3600,15 @@ dependencies = [ "sp-io", "sp-runtime", "sp-transaction-pool", + "sp-trie", ] [[package]] name = "cumulus-pallet-parachain-system" -version = "0.21.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.25.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ + "array-bytes 6.2.3", "bytes", "cumulus-pallet-parachain-system-proc-macro", "cumulus-primitives-core", @@ -3226,8 +3643,8 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" -version = "0.6.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.7.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -3237,8 +3654,8 @@ dependencies = [ [[package]] name = "cumulus-pallet-session-benchmarking" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "26.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -3250,8 +3667,8 @@ dependencies = [ [[package]] name = "cumulus-pallet-weight-reclaim" -version = "0.3.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.7.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "cumulus-primitives-storage-weight-reclaim", "derive-where", @@ -3269,8 +3686,8 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" -version = "0.20.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.24.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -3284,8 +3701,8 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" -version = "0.21.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.25.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "approx", "bounded-collections", @@ -3294,7 +3711,6 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log", "pallet-message-queue", "parity-scale-codec", "polkadot-runtime-common", @@ -3306,12 +3722,13 @@ dependencies = [ "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", + "tracing", ] [[package]] name = "cumulus-primitives-aura" -version = "0.18.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.21.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "sp-api", "sp-consensus-aura", @@ -3319,8 +3736,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" -version = "0.19.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.23.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -3336,8 +3753,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" -version = "0.19.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.23.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -3350,8 +3767,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-proof-size-hostfunction" -version = "0.13.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.16.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "sp-externalities", "sp-runtime-interface", @@ -3360,8 +3777,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-storage-weight-reclaim" -version = "12.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "16.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-proof-size-hostfunction", @@ -3375,20 +3792,10 @@ dependencies = [ "sp-runtime", ] -[[package]] -name = "cumulus-primitives-timestamp" -version = "0.20.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" -dependencies = [ - "cumulus-primitives-core", - "sp-inherents", - "sp-timestamp", -] - [[package]] name = "cumulus-primitives-utility" -version = "0.21.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.25.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -3404,8 +3811,8 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" -version = "0.25.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.31.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-channel 1.9.0", "async-trait", @@ -3432,8 +3839,8 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" -version = "0.24.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.28.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -3452,8 +3859,8 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-minimal-node" -version = "0.25.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.31.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "array-bytes 6.2.3", "async-channel 1.9.0", @@ -3488,30 +3895,24 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-rpc-interface" -version = "0.24.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.28.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", - "either", "futures 0.3.31", "futures-timer", "jsonrpsee", "parity-scale-codec", - "pin-project", "polkadot-overseer", "prometheus", - "rand 0.8.5", "sc-client-api", - "sc-network", "sc-rpc-api", "sc-service", "schnellru", "serde", "serde_json", - "smoldot 0.11.0", - "smoldot-light 0.9.0", "sp-authority-discovery", "sp-consensus-babe", "sp-core", @@ -3520,17 +3921,15 @@ dependencies = [ "sp-storage", "sp-version", "substrate-prometheus-endpoint", - "thiserror 1.0.69", "tokio", - "tokio-util", "tracing", "url", ] [[package]] name = "cumulus-relay-chain-streams" -version = "0.2.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.6.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "cumulus-relay-chain-interface", "futures 0.3.31", @@ -3543,12 +3942,14 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" -version = "0.20.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.24.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", "polkadot-primitives", + "sp-consensus-babe", + "sp-core", "sp-runtime", "sp-state-machine", "sp-trie", @@ -3581,19 +3982,6 @@ dependencies = [ "syn 2.0.104", ] -[[package]] -name = "curve25519-dalek-ng" -version = "4.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c359b7249347e46fb28804470d071c921156ad62b3eef5d34e2ba867533dec8" -dependencies = [ - "byteorder", - "digest 0.9.0", - "rand_core 0.6.4", - "subtle-ng", - "zeroize", -] - [[package]] name = "cxx" version = "1.0.158" @@ -3604,7 +3992,7 @@ dependencies = [ "cxxbridge-cmd", "cxxbridge-flags", "cxxbridge-macro", - "foldhash", + "foldhash 0.1.5", "link-cplusplus", ] @@ -3693,7 +4081,6 @@ dependencies = [ "cumulus-pallet-xcmp-queue", "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", - "cumulus-primitives-timestamp", "cumulus-primitives-utility", "dp-consensus", "dp-container-chain-genesis-data", @@ -3733,7 +4120,7 @@ dependencies = [ "pallet-maintenance-mode", "pallet-message-queue", "pallet-migrations 0.1.0", - "pallet-migrations 11.0.0", + "pallet-migrations 15.0.0", "pallet-multisig", "pallet-pooled-staking", "pallet-proxy", @@ -3990,7 +4377,7 @@ dependencies = [ "pallet-maintenance-mode", "pallet-message-queue", "pallet-migrations 0.1.0", - "pallet-migrations 11.0.0", + "pallet-migrations 15.0.0", "pallet-mmr", "pallet-multisig", "pallet-offences", @@ -4172,6 +4559,7 @@ dependencies = [ "ident_case", "proc-macro2", "quote", + "serde", "strsim", "syn 2.0.104", ] @@ -4240,7 +4628,7 @@ dependencies = [ [[package]] name = "dc-orchestrator-chain-interface" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2506#ea3f44b87dd273cc82b84cebffd4bf2085487d5a" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2512#df20d556af96d852f85b1ec34903f849b9e2788c" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -4286,7 +4674,7 @@ checksum = "5cd0a5c643689626bec213c4d8bd4d96acc8ffdb4ad4bb6bc16abf27d5f4b553" dependencies = [ "asn1-rs 0.6.2", "displaydoc", - "nom", + "nom 7.1.3", "num-bigint", "num-traits", "rusticata-macros", @@ -4300,7 +4688,7 @@ checksum = "07da5016415d5a3c4dd39b11ed26f915f52fc4e0dc197d87908bc916e51bc1a6" dependencies = [ "asn1-rs 0.7.1", "displaydoc", - "nom", + "nom 7.1.3", "num-bigint", "num-traits", "rusticata-macros", @@ -4313,6 +4701,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c9e6a11ca8224451684bc0d7d5a7adbf8f2fd6887261a1cfc3c0432f9d4068e" dependencies = [ "powerfmt", + "serde", ] [[package]] @@ -4354,7 +4743,7 @@ 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", @@ -4396,6 +4785,7 @@ version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bda628edc44c4bb645fbe0f758797143e4e07926f7ebf4e9bdfbd3d2ce621df3" dependencies = [ + "convert_case 0.7.1", "proc-macro2", "quote", "syn 2.0.104", @@ -4542,7 +4932,7 @@ checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" [[package]] name = "dp-chain-state-snapshot" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2506#ea3f44b87dd273cc82b84cebffd4bf2085487d5a" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2512#df20d556af96d852f85b1ec34903f849b9e2788c" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -4554,7 +4944,7 @@ dependencies = [ [[package]] name = "dp-collator-assignment" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2506#ea3f44b87dd273cc82b84cebffd4bf2085487d5a" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2512#df20d556af96d852f85b1ec34903f849b9e2788c" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -4573,7 +4963,7 @@ dependencies = [ [[package]] name = "dp-consensus" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2506#ea3f44b87dd273cc82b84cebffd4bf2085487d5a" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2512#df20d556af96d852f85b1ec34903f849b9e2788c" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -4589,7 +4979,7 @@ dependencies = [ [[package]] name = "dp-container-chain-genesis-data" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2506#ea3f44b87dd273cc82b84cebffd4bf2085487d5a" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2512#df20d556af96d852f85b1ec34903f849b9e2788c" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -4610,7 +5000,7 @@ dependencies = [ [[package]] name = "dp-core" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2506#ea3f44b87dd273cc82b84cebffd4bf2085487d5a" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2512#df20d556af96d852f85b1ec34903f849b9e2788c" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -4624,7 +5014,7 @@ dependencies = [ [[package]] name = "dp-impl-tanssi-pallets-config" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2506#ea3f44b87dd273cc82b84cebffd4bf2085487d5a" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2512#df20d556af96d852f85b1ec34903f849b9e2788c" dependencies = [ "dp-consensus", "frame-support", @@ -4639,7 +5029,7 @@ dependencies = [ [[package]] name = "dp-slot-duration-runtime-api" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2506#ea3f44b87dd273cc82b84cebffd4bf2085487d5a" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2512#df20d556af96d852f85b1ec34903f849b9e2788c" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -4653,7 +5043,7 @@ dependencies = [ [[package]] name = "dp-xcm-reserve" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2506#ea3f44b87dd273cc82b84cebffd4bf2085487d5a" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2512#df20d556af96d852f85b1ec34903f849b9e2788c" dependencies = [ "frame-support", "log", @@ -4754,6 +5144,18 @@ dependencies = [ "zeroize", ] +[[package]] +name = "educe" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d7bc049e1bd8cdeb31b68bbd586a9464ecf9f3944af3958a7a9d0f8b9799417" +dependencies = [ + "enum-ordinalize", + "proc-macro2", + "quote", + "syn 2.0.104", +] + [[package]] name = "either" version = "1.15.0" @@ -4783,10 +5185,22 @@ dependencies = [ "zeroize", ] +[[package]] +name = "embedded-io" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef1a6892d9eef45c8fa6b9e0086428a2cca8491aca8f787c534a3d6d0bcb3ced" + +[[package]] +name = "embedded-io" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edd0f118536f44f5ccd48bcb8b111bdc3de888b58c74639dfb034a357d0f206d" + [[package]] name = "emulated-integration-tests-common" -version = "22.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "27.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "asset-test-utils", "bp-messages", @@ -4819,6 +5233,7 @@ dependencies = [ "sp-keyring", "sp-runtime", "staging-xcm", + "staging-xcm-builder", "staging-xcm-executor", "xcm-emulator", "xcm-runtime-apis", @@ -4843,6 +5258,46 @@ dependencies = [ "syn 2.0.104", ] +[[package]] +name = "enum-display" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02058bb25d8d0605829af88230427dd5cd50661590bd2b09d1baf7c64c417f24" +dependencies = [ + "enum-display-macro", +] + +[[package]] +name = "enum-display-macro" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4be2cf2fe7b971b1865febbacd4d8df544aa6bd377cca011a6d69dcf4c60d94" +dependencies = [ + "convert_case 0.6.0", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "enum-ordinalize" +version = "4.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a1091a7bb1f8f2c4b28f1fe2cef4980ca2d410a3d727d67ecc3178c9b0800f0" +dependencies = [ + "enum-ordinalize-derive", +] + +[[package]] +name = "enum-ordinalize-derive" +version = "4.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ca9601fb2d62598ee17836250842873a413586e5d7ed88b356e38ddbb0ec631" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.104", +] + [[package]] name = "enumflags2" version = "0.7.12" @@ -4884,19 +5339,6 @@ dependencies = [ "regex", ] -[[package]] -name = "env_logger" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580" -dependencies = [ - "humantime", - "is-terminal", - "log", - "regex", - "termcolor", -] - [[package]] name = "environmental" version = "1.1.4" @@ -4965,8 +5407,8 @@ dependencies = [ [[package]] name = "ethereum-standards" -version = "0.1.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.1.2" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "alloy-core", ] @@ -4993,17 +5435,6 @@ version = "2.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" -[[package]] -name = "event-listener" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d93877bcde0eb80ca09131a08d23f0a5c18a620b01db137dba666d18cd9b30c2" -dependencies = [ - "concurrent-queue", - "parking", - "pin-project-lite", -] - [[package]] name = "event-listener" version = "5.4.0" @@ -5028,7 +5459,7 @@ dependencies = [ [[package]] name = "evm" version = "0.43.4" -source = "git+https://github.com/rust-ethereum/evm.git?rev=e3f0e925390188e8d9396a7355fc43d63acbd013#e3f0e925390188e8d9396a7355fc43d63acbd013" +source = "git+https://github.com/rust-ethereum/evm.git?rev=a656db9050c65170b050360c3fa66c0fd8bf226a#a656db9050c65170b050360c3fa66c0fd8bf226a" dependencies = [ "auto_impl", "environmental", @@ -5048,7 +5479,7 @@ dependencies = [ [[package]] name = "evm-core" version = "0.43.0" -source = "git+https://github.com/rust-ethereum/evm.git?rev=e3f0e925390188e8d9396a7355fc43d63acbd013#e3f0e925390188e8d9396a7355fc43d63acbd013" +source = "git+https://github.com/rust-ethereum/evm.git?rev=a656db9050c65170b050360c3fa66c0fd8bf226a#a656db9050c65170b050360c3fa66c0fd8bf226a" dependencies = [ "parity-scale-codec", "primitive-types 0.13.1", @@ -5059,7 +5490,7 @@ dependencies = [ [[package]] name = "evm-gasometer" version = "0.43.0" -source = "git+https://github.com/rust-ethereum/evm.git?rev=e3f0e925390188e8d9396a7355fc43d63acbd013#e3f0e925390188e8d9396a7355fc43d63acbd013" +source = "git+https://github.com/rust-ethereum/evm.git?rev=a656db9050c65170b050360c3fa66c0fd8bf226a#a656db9050c65170b050360c3fa66c0fd8bf226a" dependencies = [ "environmental", "evm-core", @@ -5070,7 +5501,7 @@ dependencies = [ [[package]] name = "evm-runtime" version = "0.43.0" -source = "git+https://github.com/rust-ethereum/evm.git?rev=e3f0e925390188e8d9396a7355fc43d63acbd013#e3f0e925390188e8d9396a7355fc43d63acbd013" +source = "git+https://github.com/rust-ethereum/evm.git?rev=a656db9050c65170b050360c3fa66c0fd8bf226a#a656db9050c65170b050360c3fa66c0fd8bf226a" dependencies = [ "auto_impl", "environmental", @@ -5113,12 +5544,6 @@ dependencies = [ "once_cell", ] -[[package]] -name = "fallible-iterator" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" - [[package]] name = "fallible-iterator" version = "0.3.0" @@ -5195,7 +5620,7 @@ dependencies = [ [[package]] name = "fc-api" version = "1.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2512#cbaf11a2c364fd34b1df97c38031cdcd88656370" dependencies = [ "async-trait", "fp-storage", @@ -5207,7 +5632,7 @@ dependencies = [ [[package]] name = "fc-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2512#cbaf11a2c364fd34b1df97c38031cdcd88656370" dependencies = [ "async-trait", "fp-consensus", @@ -5223,7 +5648,7 @@ dependencies = [ [[package]] name = "fc-db" version = "2.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2512#cbaf11a2c364fd34b1df97c38031cdcd88656370" dependencies = [ "async-trait", "ethereum", @@ -5235,7 +5660,7 @@ dependencies = [ "futures 0.3.31", "kvdb-rocksdb", "log", - "parity-db", + "parity-db 0.5.4", "parity-scale-codec", "parking_lot 0.12.4", "sc-client-api", @@ -5253,7 +5678,7 @@ dependencies = [ [[package]] name = "fc-mapping-sync" version = "2.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2512#cbaf11a2c364fd34b1df97c38031cdcd88656370" dependencies = [ "fc-db", "fc-storage", @@ -5276,7 +5701,7 @@ dependencies = [ [[package]] name = "fc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2512#cbaf11a2c364fd34b1df97c38031cdcd88656370" dependencies = [ "ethereum", "ethereum-types", @@ -5330,7 +5755,7 @@ dependencies = [ [[package]] name = "fc-rpc-core" version = "1.1.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2512#cbaf11a2c364fd34b1df97c38031cdcd88656370" dependencies = [ "ethereum", "ethereum-types", @@ -5339,13 +5764,14 @@ dependencies = [ "rustc-hex", "serde", "serde_json", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", + "sp-core", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512)", ] [[package]] name = "fc-storage" version = "1.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2512#cbaf11a2c364fd34b1df97c38031cdcd88656370" dependencies = [ "ethereum", "ethereum-types", @@ -5395,16 +5821,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "file-per-thread-logger" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84f2e425d9790201ba4af4630191feac6dcc98765b118d4d18e91d23c2353866" -dependencies = [ - "env_logger", - "log", -] - [[package]] name = "filetime" version = "0.2.25" @@ -5473,7 +5889,6 @@ dependencies = [ "cumulus-pallet-weight-reclaim", "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", - "cumulus-primitives-timestamp", "cumulus-test-relay-sproof-builder", "dp-consensus", "dp-container-chain-genesis-data", @@ -5508,7 +5923,7 @@ dependencies = [ "pallet-invulnerables", "pallet-maintenance-mode", "pallet-migrations 0.1.0", - "pallet-migrations 11.0.0", + "pallet-migrations 15.0.0", "pallet-multisig", "pallet-proxy", "pallet-registrar", @@ -5600,6 +6015,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" @@ -5618,7 +6039,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "13.0.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "parity-scale-codec", ] @@ -5645,7 +6066,7 @@ dependencies = [ [[package]] name = "fp-account" version = "1.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2512#cbaf11a2c364fd34b1df97c38031cdcd88656370" dependencies = [ "hex", "impl-serde", @@ -5663,7 +6084,7 @@ dependencies = [ [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2512#cbaf11a2c364fd34b1df97c38031cdcd88656370" dependencies = [ "ethereum", "parity-scale-codec", @@ -5674,7 +6095,7 @@ dependencies = [ [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2512#cbaf11a2c364fd34b1df97c38031cdcd88656370" dependencies = [ "ethereum", "ethereum-types", @@ -5686,7 +6107,7 @@ dependencies = [ [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2512#cbaf11a2c364fd34b1df97c38031cdcd88656370" dependencies = [ "environmental", "evm", @@ -5702,7 +6123,7 @@ dependencies = [ [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2512#cbaf11a2c364fd34b1df97c38031cdcd88656370" dependencies = [ "ethereum", "ethereum-types", @@ -5718,7 +6139,7 @@ dependencies = [ [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2512#cbaf11a2c364fd34b1df97c38031cdcd88656370" dependencies = [ "frame-support", "parity-scale-codec", @@ -5730,7 +6151,7 @@ dependencies = [ [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2512#cbaf11a2c364fd34b1df97c38031cdcd88656370" dependencies = [ "parity-scale-codec", "serde", @@ -5744,8 +6165,8 @@ checksum = "28dd6caf6059519a65843af8fe2a3ae298b14b80179855aeb4adc2c1934ee619" [[package]] name = "frame-benchmarking" -version = "41.0.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-support", "frame-support-procedural", @@ -5768,8 +6189,8 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" -version = "49.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "53.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "Inflector", "array-bytes 6.2.3", @@ -5833,11 +6254,11 @@ dependencies = [ [[package]] name = "frame-decode" -version = "0.7.1" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7cb8796f93fa038f979a014234d632e9688a120e745f936e2635123c77537f7" +checksum = "6e56c0e51972d7b26ff76966c4d0f2307030df9daa5ce0885149ece1ab7ca5ad" dependencies = [ - "frame-metadata 20.0.0", + "frame-metadata", "parity-scale-codec", "scale-decode", "scale-info", @@ -5848,7 +6269,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "16.1.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -5858,8 +6279,8 @@ dependencies = [ [[package]] name = "frame-election-provider-support" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -5875,8 +6296,8 @@ dependencies = [ [[package]] name = "frame-executive" -version = "41.0.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "aquamarine", "frame-support", @@ -5893,21 +6314,9 @@ dependencies = [ [[package]] name = "frame-metadata" -version = "20.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26de808fa6461f2485dc51811aefed108850064994fb4a62b3ac21ffa62ac8df" -dependencies = [ - "cfg-if", - "parity-scale-codec", - "scale-info", - "serde", -] - -[[package]] -name = "frame-metadata" -version = "23.0.0" +version = "23.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8c26fcb0454397c522c05fdad5380c4e622f8a875638af33bff5a320d1fc965" +checksum = "9ba5be0edbdb824843a0f9c6f0906ecfc66c5316218d74457003218b24909ed0" dependencies = [ "cfg-if", "parity-scale-codec", @@ -5917,8 +6326,8 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" -version = "0.9.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.13.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "array-bytes 6.2.3", "const-hex", @@ -5933,8 +6342,8 @@ dependencies = [ [[package]] name = "frame-remote-externalities" -version = "0.52.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.56.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "futures 0.3.31", "indicatif", @@ -5943,7 +6352,7 @@ dependencies = [ "parity-scale-codec", "serde", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512)", "sp-io", "sp-runtime", "sp-state-machine", @@ -5955,8 +6364,8 @@ dependencies = [ [[package]] name = "frame-storage-access-test-runtime" -version = "0.2.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.6.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "cumulus-pallet-parachain-system", "parity-scale-codec", @@ -5969,8 +6378,8 @@ dependencies = [ [[package]] name = "frame-support" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "aquamarine", "array-bytes 6.2.3", @@ -5978,7 +6387,7 @@ dependencies = [ "bitflags 1.3.2", "docify", "environmental", - "frame-metadata 23.0.0", + "frame-metadata", "frame-support-procedural", "impl-trait-for-tuples", "k256", @@ -6010,8 +6419,8 @@ dependencies = [ [[package]] name = "frame-support-procedural" -version = "34.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "36.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "Inflector", "cfg-expr", @@ -6024,14 +6433,14 @@ dependencies = [ "proc-macro-warning", "proc-macro2", "quote", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512)", "syn 2.0.104", ] [[package]] name = "frame-support-procedural-tools" version = "13.0.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.3.0", @@ -6043,7 +6452,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "12.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "proc-macro2", "quote", @@ -6052,8 +6461,8 @@ dependencies = [ [[package]] name = "frame-system" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "cfg-if", "docify", @@ -6071,8 +6480,8 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -6085,8 +6494,8 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" -version = "37.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "docify", "parity-scale-codec", @@ -6095,8 +6504,8 @@ dependencies = [ [[package]] name = "frame-try-runtime" -version = "0.47.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.51.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-support", "parity-scale-codec", @@ -6332,6 +6741,19 @@ dependencies = [ "byteorder", ] +[[package]] +name = "fxprof-processed-profile" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27d12c0aed7f1e24276a241aadc4cb8ea9f83000f34bc062b7cc2d51e3b0fabd" +dependencies = [ + "bitflags 2.9.1", + "debugid", + "fxhash", + "serde", + "serde_json", +] + [[package]] name = "generator" version = "0.8.5" @@ -6423,24 +6845,14 @@ dependencies = [ "polyval", ] -[[package]] -name = "gimli" -version = "0.27.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" -dependencies = [ - "fallible-iterator 0.2.0", - "indexmap 1.9.3", - "stable_deref_trait", -] - [[package]] name = "gimli" version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" dependencies = [ - "fallible-iterator 0.3.0", + "fallible-iterator", + "indexmap 2.9.0", "stable_deref_trait", ] @@ -6450,6 +6862,16 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2" +[[package]] +name = "gmp-mpfr-sys" +version = "1.6.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60f8970a75c006bb2f8ae79c6768a116dd215fa8346a87aed99bf9d82ca43394" +dependencies = [ + "libc", + "windows-sys 0.60.2", +] + [[package]] name = "governor" version = "0.6.3" @@ -6553,6 +6975,9 @@ name = "hashbrown" version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" +dependencies = [ + "ahash 0.7.8", +] [[package]] name = "hashbrown" @@ -6560,7 +6985,7 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash", + "ahash 0.8.12", ] [[package]] @@ -6569,9 +6994,8 @@ version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" dependencies = [ - "ahash", + "ahash 0.8.12", "allocator-api2", - "serde", ] [[package]] @@ -6582,8 +7006,19 @@ checksum = "5971ac85611da7067dbfcabef3c70ebb5606018acd9e2a3903a0da507521e0d5" dependencies = [ "allocator-api2", "equivalent", - "foldhash", + "foldhash 0.1.5", + "serde", +] + +[[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]] @@ -6595,14 +7030,20 @@ dependencies = [ "hashbrown 0.14.5", ] +[[package]] +name = "hashlink" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7382cf6263419f2d8df38c55d7da83da5c18aef87fc7a7fc1fb1e344edfe14c1" +dependencies = [ + "hashbrown 0.15.4", +] + [[package]] name = "heck" version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" -dependencies = [ - "unicode-segmentation", -] [[package]] name = "heck" @@ -6937,7 +7378,7 @@ version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc2fdfdbff08affe55bb779f33b053aa1fe5dd5b54c257343c17edfa55711bdb" dependencies = [ - "base64 0.22.1", + "base64", "bytes", "futures-channel", "futures-core", @@ -7255,12 +7696,6 @@ dependencies = [ "serde", ] -[[package]] -name = "indexmap-nostd" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e04e2fd2b8188ea827b32ef11de88377086d690286ab35747ef7f9bf3ccb590" - [[package]] name = "indicatif" version = "0.17.11" @@ -7408,12 +7843,41 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" +[[package]] +name = "ittapi" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b996fe614c41395cdaedf3cf408a9534851090959d90d54a535f675550b64b1" +dependencies = [ + "anyhow", + "ittapi-sys", + "log", +] + +[[package]] +name = "ittapi-sys" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52f5385394064fa2c886205dba02598013ce83d3e92d33dbdc0c52fe0e7bf4fc" +dependencies = [ + "cc", +] + [[package]] name = "jam-codec" version = "0.1.0" @@ -7486,9 +7950,9 @@ dependencies = [ [[package]] name = "jsonrpsee" -version = "0.24.9" +version = "0.24.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37b26c20e2178756451cfeb0661fb74c47dd5988cb7e3939de7e9241fd604d42" +checksum = "e281ae70cc3b98dac15fced3366a880949e65fc66e345ce857a5682d152f3e62" dependencies = [ "jsonrpsee-client-transport", "jsonrpsee-core", @@ -7503,11 +7967,11 @@ dependencies = [ [[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", + "base64", "futures-util", "http 1.3.1", "jsonrpsee-core", @@ -7515,7 +7979,7 @@ dependencies = [ "rustls", "rustls-pki-types", "rustls-platform-verifier", - "soketto 0.8.1", + "soketto", "thiserror 1.0.69", "tokio", "tokio-rustls", @@ -7526,9 +7990,9 @@ dependencies = [ [[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", @@ -7552,12 +8016,12 @@ dependencies = [ [[package]] name = "jsonrpsee-http-client" -version = "0.24.9" +version = "0.24.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c872b6c9961a4ccc543e321bb5b89f6b2d2c7fe8b61906918273a3333c95400c" +checksum = "f50c389d6e6a52eb7c3548a6600c90cf74d9b71cb5912209833f00a5479e9a01" dependencies = [ "async-trait", - "base64 0.22.1", + "base64", "http-body 1.0.1", "hyper 1.6.0", "hyper-rustls", @@ -7577,9 +8041,9 @@ dependencies = [ [[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", @@ -7590,9 +8054,9 @@ dependencies = [ [[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", @@ -7606,7 +8070,7 @@ dependencies = [ "route-recognizer", "serde", "serde_json", - "soketto 0.8.1", + "soketto", "thiserror 1.0.69", "tokio", "tokio-stream", @@ -7617,9 +8081,9 @@ dependencies = [ [[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", "serde", @@ -7629,9 +8093,9 @@ dependencies = [ [[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", @@ -7673,6 +8137,12 @@ dependencies = [ "sha3-asm", ] +[[package]] +name = "keccak-const" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57d8d8ce877200136358e0bbff3a77965875db3af755a11e1fa6b1b3e2df13ea" + [[package]] name = "keccak-hash" version = "0.11.0" @@ -7710,16 +8180,15 @@ dependencies = [ [[package]] name = "kvdb-rocksdb" -version = "0.19.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b644c70b92285f66bfc2032922a79000ea30af7bc2ab31902992a5dcb9b434f6" +checksum = "739ac938a308a9a8b6772fd1d840fd9c0078f9c74fe294feaf32faae727102cc" dependencies = [ "kvdb", "num_cpus", "parking_lot 0.12.4", "regex", "rocksdb", - "smallvec", ] [[package]] @@ -7743,10 +8212,10 @@ dependencies = [ ] [[package]] -name = "lazycell" -version = "1.3.0" +name = "leb128fmt" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" +checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2" [[package]] name = "libc" @@ -7774,16 +8243,6 @@ dependencies = [ "rle-decode-fast", ] -[[package]] -name = "libloading" -version = "0.8.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07033963ba89ebaf1584d767badaa2e8fcec21aedea6b8c0346d487d49c28667" -dependencies = [ - "cfg-if", - "windows-targets 0.53.2", -] - [[package]] name = "libm" version = "0.2.15" @@ -8192,7 +8651,7 @@ dependencies = [ "parking_lot 0.12.4", "pin-project-lite", "rw-stream-sink", - "soketto 0.8.1", + "soketto", "thiserror 1.0.69", "tracing", "url", @@ -8227,17 +8686,15 @@ dependencies = [ [[package]] name = "librocksdb-sys" -version = "0.11.0+8.1.1" +version = "0.17.3+10.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3386f101bcb4bd252d8e9d2fb41ec3b0862a15a62b478c355b2982efa469e3e" +checksum = "cef2a00ee60fe526157c9023edab23943fae1ce2ab6f4abb2a807c1746835de9" dependencies = [ "bindgen", "bzip2-sys", "cc", - "glob", "libc", "libz-sys", - "tikv-jemalloc-sys", ] [[package]] @@ -8247,7 +8704,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e79019718125edc905a079a70cfa5f3820bc76139fc91d6f9abc27ea2a887139" dependencies = [ "arrayref", - "base64 0.22.1", + "base64", "digest 0.9.0", "hmac-drbg", "libsecp256k1-core", @@ -8290,9 +8747,9 @@ dependencies = [ [[package]] name = "libsqlite3-sys" -version = "0.27.0" +version = "0.30.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf4e226dcd58b4be396f7bd3c20da8fdee2911400705297ba7d2d7cc2c30f716" +checksum = "2e99fb7a497b1e3339bc746195567ed8d3e24945ecd636e3619d20b9de9e9149" dependencies = [ "cc", "pkg-config", @@ -8343,12 +8800,6 @@ dependencies = [ "nalgebra", ] -[[package]] -name = "linux-raw-sys" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" - [[package]] name = "linux-raw-sys" version = "0.3.8" @@ -8387,14 +8838,16 @@ checksum = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956" [[package]] name = "litep2p" -version = "0.11.1" -source = "git+https://github.com/moondance-labs/litep2p?branch=girazoki-simple-dns-update-2#db08ad8204dc442c320ca4388c24d0f6bafdcd46" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d903b21d57fae0e8d184c6ea0107fb5303fcab7cd2acaf5d2d9beb2807194b4a" dependencies = [ "async-trait", "bs58", "bytes", - "cid 0.11.1", + "cid", "ed25519-dalek", + "enum-display", "futures 0.3.31", "futures-timer", "hickory-resolver 0.25.2", @@ -8458,14 +8911,17 @@ dependencies = [ "generator", "scoped-tls", "tracing", - "tracing-subscriber", + "tracing-subscriber 0.3.19", ] [[package]] name = "lru" -version = "0.11.1" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a83fb7698b3643a0e34f9ae6f2e8f0178c0fd42f8b59d493aa271ff3a5bf21" +checksum = "e999beba7b6e8345721bd280141ed958096a2e4abdf74f67ff4ce49b4b54e47a" +dependencies = [ + "hashbrown 0.12.3", +] [[package]] name = "lru" @@ -8511,10 +8967,10 @@ dependencies = [ ] [[package]] -name = "mach" -version = "0.3.2" +name = "mach2" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" +checksum = "d640282b302c0bb0a2a8e0233ead9035e3bed871f0b7e81fe4a1ec829765db44" dependencies = [ "libc", ] @@ -8683,22 +9139,13 @@ dependencies = [ "libc", ] -[[package]] -name = "memoffset" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" -dependencies = [ - "autocfg", -] - [[package]] name = "memory-db" version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7e300c54e3239a86f9c61cc63ab0f03862eb40b1c6e065dc6fd6ceaeff6da93d" dependencies = [ - "foldhash", + "foldhash 0.1.5", "hash-db", "hashbrown 0.15.4", ] @@ -8711,7 +9158,7 @@ checksum = "b3e3e3f549d27d2dc054372f320ddf68045a833fab490563ff70d4cf1b9d91ea" dependencies = [ "array-bytes 9.3.0", "blake3", - "frame-metadata 23.0.0", + "frame-metadata", "parity-scale-codec", "scale-decode", "scale-info", @@ -8768,7 +9215,7 @@ dependencies = [ "c2-chacha", "curve25519-dalek", "either", - "hashlink", + "hashlink 0.8.4", "lioness", "log", "parking_lot 0.12.4", @@ -8782,8 +9229,8 @@ dependencies = [ [[package]] name = "mmr-gadget" -version = "46.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "50.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "futures 0.3.31", "log", @@ -8801,8 +9248,8 @@ dependencies = [ [[package]] name = "mmr-rpc" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "44.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -8921,13 +9368,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "835d6ff01d610179fbce3de1694d007e500bf33a7f29689838941d6bf783ae40" dependencies = [ "blake2b_simd", - "blake2s_simd", - "blake3", "core2", "digest 0.10.7", "multihash-derive", "sha2 0.10.9", - "sha3", "unsigned-varint 0.7.2", ] @@ -9104,7 +9548,7 @@ dependencies = [ [[package]] name = "nimbus-consensus" version = "0.9.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#5641a3b7cf971235ce7bd889705d0d23ef8feded" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2512#0fec9fd01f209c7352090d061c6383414f6762c3" dependencies = [ "async-backing-primitives", "async-trait", @@ -9122,10 +9566,16 @@ dependencies = [ "parking_lot 0.12.4", "polkadot-node-primitives", "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-overseer", "polkadot-primitives", "sc-client-api", "sc-consensus", + "sc-consensus-babe", "sc-consensus-manual-seal", + "sc-network-types", + "sc-utils", + "schnellru", "sp-api", "sp-application-crypto", "sp-block-builder", @@ -9136,15 +9586,19 @@ dependencies = [ "sp-inherents", "sp-keystore", "sp-runtime", + "sp-state-machine", + "sp-timestamp", + "sp-trie", "sp-version", "substrate-prometheus-endpoint", + "tokio", "tracing", ] [[package]] name = "nimbus-primitives" version = "0.9.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#5641a3b7cf971235ce7bd889705d0d23ef8feded" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2512#0fec9fd01f209c7352090d061c6383414f6762c3" dependencies = [ "async-trait", "frame-benchmarking", @@ -9200,12 +9654,6 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b93853da6d84c2e3c7d730d6473e8817692dd89be387eb01b94d7f108ecb5b8c" -[[package]] -name = "no-std-net" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43794a0ace135be66a25d3ae77d41b91615fb68ae937f904090203e81f755b65" - [[package]] name = "node-common" version = "0.17.0" @@ -9303,6 +9751,15 @@ dependencies = [ "minimal-lexical", ] +[[package]] +name = "nom" +version = "8.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df9761775871bdef83bee530e60050f7e54b1105350d6884eb0fb4f46c2f9405" +dependencies = [ + "memchr", +] + [[package]] name = "nonempty" version = "0.7.0" @@ -9373,17 +9830,6 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" -[[package]] -name = "num-derive" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.104", -] - [[package]] name = "num-format" version = "0.4.4" @@ -9474,15 +9920,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3" [[package]] -name = "object" -version = "0.30.4" +name = "nybbles" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03b4680b86d9cfafba8fc491dc9b6df26b68cf40e9e6cd73909194759a63c385" +checksum = "7b5676b5c379cf5b03da1df2b3061c4a4e2aa691086a56ac923e08c143f53f59" dependencies = [ - "crc32fast", - "hashbrown 0.13.2", - "indexmap 1.9.3", - "memchr", + "alloy-rlp", + "cfg-if", + "proptest", + "ruint", + "serde", + "smallvec", ] [[package]] @@ -9491,6 +9939,9 @@ version = "0.36.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87" dependencies = [ + "crc32fast", + "hashbrown 0.15.4", + "indexmap 2.9.0", "memchr", ] @@ -9635,6 +10086,18 @@ version = "4.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e" +[[package]] +name = "p256" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9863ad85fa8f4460f9c48cb909d38a0d689dba1f6f6988a5e3e0d31071bcd4b" +dependencies = [ + "ecdsa", + "elliptic-curve", + "primeorder", + "sha2 0.10.9", +] + [[package]] name = "pallet-alt-benchmarks" version = "0.1.0" @@ -9660,8 +10123,8 @@ dependencies = [ [[package]] name = "pallet-asset-conversion" -version = "23.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "27.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -9678,8 +10141,8 @@ dependencies = [ [[package]] name = "pallet-asset-rate" -version = "20.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -9692,8 +10155,8 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -9708,16 +10171,14 @@ dependencies = [ [[package]] name = "pallet-assets" -version = "43.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "48.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ - "ethereum-standards", "frame-benchmarking", "frame-support", "frame-system", "impl-trait-for-tuples", "log", - "pallet-revive", "parity-scale-codec", "scale-info", "sp-core", @@ -9727,7 +10188,7 @@ dependencies = [ [[package]] name = "pallet-async-backing" version = "0.9.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#5641a3b7cf971235ce7bd889705d0d23ef8feded" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2512#0fec9fd01f209c7352090d061c6383414f6762c3" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -9744,10 +10205,26 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-aura" +version = "44.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" +dependencies = [ + "frame-support", + "frame-system", + "log", + "pallet-timestamp", + "parity-scale-codec", + "scale-info", + "sp-application-crypto", + "sp-consensus-aura", + "sp-runtime", +] + [[package]] name = "pallet-author-inherent" version = "0.9.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#5641a3b7cf971235ce7bd889705d0d23ef8feded" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2512#0fec9fd01f209c7352090d061c6383414f6762c3" dependencies = [ "frame-benchmarking", "frame-support", @@ -9822,8 +10299,8 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-support", "frame-system", @@ -9850,8 +10327,8 @@ dependencies = [ [[package]] name = "pallet-authorship" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-support", "frame-system", @@ -9863,8 +10340,8 @@ dependencies = [ [[package]] name = "pallet-babe" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -9886,8 +10363,8 @@ dependencies = [ [[package]] name = "pallet-bags-list" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "44.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "aquamarine", "docify", @@ -9907,8 +10384,8 @@ dependencies = [ [[package]] name = "pallet-balances" -version = "42.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "46.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "docify", "frame-benchmarking", @@ -9924,7 +10401,7 @@ dependencies = [ [[package]] name = "pallet-base-fee" version = "1.0.0" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2512#cbaf11a2c364fd34b1df97c38031cdcd88656370" dependencies = [ "fp-evm", "frame-support", @@ -9937,8 +10414,8 @@ dependencies = [ [[package]] name = "pallet-beefy" -version = "42.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "46.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-support", "frame-system", @@ -9956,8 +10433,8 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" -version = "42.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "46.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "array-bytes 6.2.3", "binary-merkle-tree", @@ -9981,8 +10458,8 @@ dependencies = [ [[package]] name = "pallet-bounties" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "44.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -9998,8 +10475,8 @@ dependencies = [ [[package]] name = "pallet-bridge-grandpa" -version = "0.21.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.25.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bp-header-chain", "bp-runtime", @@ -10007,18 +10484,18 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log", "parity-scale-codec", "scale-info", "sp-consensus-grandpa", "sp-runtime", "sp-std", + "tracing", ] [[package]] name = "pallet-bridge-messages" -version = "0.21.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.25.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bp-header-chain", "bp-messages", @@ -10026,18 +10503,18 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log", "parity-scale-codec", "scale-info", "sp-runtime", "sp-std", "sp-trie", + "tracing", ] [[package]] name = "pallet-bridge-parachains" -version = "0.21.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.25.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bp-header-chain", "bp-parachains", @@ -10046,18 +10523,18 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log", "pallet-bridge-grandpa", "parity-scale-codec", "scale-info", "sp-runtime", "sp-std", + "tracing", ] [[package]] name = "pallet-bridge-relayers" -version = "0.21.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.25.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bp-header-chain", "bp-messages", @@ -10066,7 +10543,6 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log", "pallet-bridge-grandpa", "pallet-bridge-messages", "pallet-bridge-parachains", @@ -10075,12 +10551,13 @@ dependencies = [ "scale-info", "sp-arithmetic", "sp-runtime", + "tracing", ] [[package]] name = "pallet-broker" -version = "0.20.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.24.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bitvec", "frame-benchmarking", @@ -10098,7 +10575,7 @@ dependencies = [ [[package]] name = "pallet-cc-authorities-noting" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2506#ea3f44b87dd273cc82b84cebffd4bf2085487d5a" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2512#df20d556af96d852f85b1ec34903f849b9e2788c" dependencies = [ "ccp-authorities-noting-inherent", "cumulus-pallet-parachain-system", @@ -10125,8 +10602,8 @@ dependencies = [ [[package]] name = "pallet-child-bounties" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "44.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -10160,7 +10637,7 @@ dependencies = [ "sp-runtime", "tp-traits", "tracing", - "tracing-subscriber", + "tracing-subscriber 0.3.19", ] [[package]] @@ -10174,8 +10651,8 @@ dependencies = [ [[package]] name = "pallet-collator-selection" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "26.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -10193,8 +10670,8 @@ dependencies = [ [[package]] name = "pallet-collective" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "docify", "frame-benchmarking", @@ -10227,8 +10704,8 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "assert_matches", "frame-benchmarking", @@ -10273,8 +10750,8 @@ dependencies = [ [[package]] name = "pallet-delegated-staking" -version = "8.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "12.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-support", "frame-system", @@ -10288,8 +10765,8 @@ dependencies = [ [[package]] name = "pallet-democracy" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -10305,8 +10782,8 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "44.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -10326,8 +10803,8 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "44.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -10339,8 +10816,8 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" -version = "42.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "46.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -10358,7 +10835,7 @@ dependencies = [ [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2512#cbaf11a2c364fd34b1df97c38031cdcd88656370" dependencies = [ "ethereum", "ethereum-types", @@ -10408,7 +10885,7 @@ dependencies = [ [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2512#cbaf11a2c364fd34b1df97c38031cdcd88656370" dependencies = [ "cumulus-primitives-storage-weight-reclaim", "environmental", @@ -10433,7 +10910,7 @@ dependencies = [ [[package]] name = "pallet-evm-chain-id" version = "1.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2512#cbaf11a2c364fd34b1df97c38031cdcd88656370" dependencies = [ "frame-support", "frame-system", @@ -10444,7 +10921,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-balances-erc20" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#5641a3b7cf971235ce7bd889705d0d23ef8feded" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2512#0fec9fd01f209c7352090d061c6383414f6762c3" dependencies = [ "fp-evm", "frame-support", @@ -10467,7 +10944,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-batch" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#5641a3b7cf971235ce7bd889705d0d23ef8feded" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2512#0fec9fd01f209c7352090d061c6383414f6762c3" dependencies = [ "evm", "fp-evm", @@ -10488,7 +10965,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-call-permit" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#5641a3b7cf971235ce7bd889705d0d23ef8feded" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2512#0fec9fd01f209c7352090d061c6383414f6762c3" dependencies = [ "evm", "fp-evm", @@ -10511,7 +10988,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-modexp" version = "2.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2512#cbaf11a2c364fd34b1df97c38031cdcd88656370" dependencies = [ "fp-evm", "num", @@ -10520,7 +10997,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-proxy" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#5641a3b7cf971235ce7bd889705d0d23ef8feded" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2512#0fec9fd01f209c7352090d061c6383414f6762c3" dependencies = [ "evm", "fp-evm", @@ -10541,7 +11018,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-sha3fips" version = "2.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2512#cbaf11a2c364fd34b1df97c38031cdcd88656370" dependencies = [ "fp-evm", "frame-support", @@ -10552,7 +11029,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-sha3fips-benchmarking" version = "6.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2512#cbaf11a2c364fd34b1df97c38031cdcd88656370" dependencies = [ "frame-benchmarking", "frame-system", @@ -10564,7 +11041,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-simple" version = "2.0.0-dev" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2512#cbaf11a2c364fd34b1df97c38031cdcd88656370" dependencies = [ "fp-evm", "ripemd", @@ -10574,7 +11051,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-xcm" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#5641a3b7cf971235ce7bd889705d0d23ef8feded" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2512#0fec9fd01f209c7352090d061c6383414f6762c3" dependencies = [ "cumulus-primitives-core", "evm", @@ -10600,7 +11077,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-xcm-utils" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#5641a3b7cf971235ce7bd889705d0d23ef8feded" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2512#0fec9fd01f209c7352090d061c6383414f6762c3" dependencies = [ "fp-evm", "frame-support", @@ -10622,7 +11099,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompileset-assets-erc20" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#5641a3b7cf971235ce7bd889705d0d23ef8feded" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2512#0fec9fd01f209c7352090d061c6383414f6762c3" dependencies = [ "fp-evm", "frame-support", @@ -10649,6 +11126,7 @@ dependencies = [ "frame-support", "frame-system", "log", + "pallet-balances", "pallet-session", "pallet-staking", "pallet-timestamp", @@ -10726,8 +11204,8 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "44.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "docify", "frame-benchmarking", @@ -10745,7 +11223,7 @@ dependencies = [ [[package]] name = "pallet-foreign-asset-creator" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#5641a3b7cf971235ce7bd889705d0d23ef8feded" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2512#0fec9fd01f209c7352090d061c6383414f6762c3" dependencies = [ "frame-benchmarking", "frame-support", @@ -10763,8 +11241,8 @@ dependencies = [ [[package]] name = "pallet-grandpa" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -10785,8 +11263,8 @@ dependencies = [ [[package]] name = "pallet-identity" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "enumflags2", "frame-benchmarking", @@ -10801,8 +11279,8 @@ dependencies = [ [[package]] name = "pallet-im-online" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "44.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -10826,6 +11304,7 @@ dependencies = [ "frame-support", "frame-system", "log", + "pallet-balances", "pallet-session", "parity-scale-codec", "scale-info", @@ -10839,8 +11318,8 @@ dependencies = [ [[package]] name = "pallet-indices" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -10910,7 +11389,7 @@ dependencies = [ [[package]] name = "pallet-maintenance-mode" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#5641a3b7cf971235ce7bd889705d0d23ef8feded" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2512#0fec9fd01f209c7352090d061c6383414f6762c3" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -10925,8 +11404,8 @@ dependencies = [ [[package]] name = "pallet-message-queue" -version = "44.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "48.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "environmental", "frame-benchmarking", @@ -10944,8 +11423,8 @@ dependencies = [ [[package]] name = "pallet-meta-tx" -version = "0.3.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.7.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "docify", "frame-benchmarking", @@ -10963,7 +11442,7 @@ dependencies = [ [[package]] name = "pallet-migrations" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#5641a3b7cf971235ce7bd889705d0d23ef8feded" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2512#0fec9fd01f209c7352090d061c6383414f6762c3" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -10982,8 +11461,8 @@ dependencies = [ [[package]] name = "pallet-migrations" -version = "11.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "15.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "docify", "frame-benchmarking", @@ -11001,8 +11480,8 @@ dependencies = [ [[package]] name = "pallet-mmr" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "log", "parity-scale-codec", @@ -11013,8 +11492,8 @@ dependencies = [ [[package]] name = "pallet-multisig" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "log", "parity-scale-codec", @@ -11024,8 +11503,8 @@ dependencies = [ [[package]] name = "pallet-nis" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -11034,8 +11513,8 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" -version = "39.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "43.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-support", "frame-system", @@ -11052,8 +11531,8 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" -version = "39.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "43.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -11072,8 +11551,8 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" -version = "37.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "41.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -11096,8 +11575,8 @@ dependencies = [ [[package]] name = "pallet-offences" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "44.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-support", "frame-system", @@ -11111,8 +11590,8 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -11147,8 +11626,8 @@ dependencies = [ [[package]] name = "pallet-parameters" -version = "0.12.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.16.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "docify", "frame-benchmarking", @@ -11185,8 +11664,8 @@ dependencies = [ [[package]] name = "pallet-preimage" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -11201,8 +11680,8 @@ dependencies = [ [[package]] name = "pallet-proxy" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -11211,8 +11690,8 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -11229,8 +11708,8 @@ dependencies = [ [[package]] name = "pallet-recovery" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -11239,8 +11718,8 @@ dependencies = [ [[package]] name = "pallet-referenda" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "assert_matches", "frame-benchmarking", @@ -11294,7 +11773,7 @@ dependencies = [ [[package]] name = "pallet-relay-storage-roots" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#5641a3b7cf971235ce7bd889705d0d23ef8feded" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2512#0fec9fd01f209c7352090d061c6383414f6762c3" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -11316,10 +11795,12 @@ dependencies = [ [[package]] name = "pallet-revive" -version = "0.7.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.12.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ + "alloy-consensus", "alloy-core", + "alloy-trie", "derive_more 0.99.20", "environmental", "ethereum-standards", @@ -11330,6 +11811,7 @@ dependencies = [ "hex-literal", "humantime-serde", "impl-trait-for-tuples", + "k256", "log", "num-bigint", "num-integer", @@ -11340,14 +11822,16 @@ dependencies = [ "pallet-transaction-payment", "parity-scale-codec", "paste", - "polkavm 0.21.0", - "polkavm-common 0.21.0", + "polkavm", + "polkavm-common", "rand 0.8.5", "rand_pcg", + "revm", "ripemd", "rlp 0.6.1", "scale-info", "serde", + "serde_json", "sp-api", "sp-arithmetic", "sp-consensus-aura", @@ -11356,19 +11840,23 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", + "sp-version", "substrate-bn", "subxt-signer", ] [[package]] name = "pallet-revive-fixtures" -version = "0.4.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.9.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ + "alloy-core", "anyhow", "cargo_metadata", + "hex", "pallet-revive-uapi", - "polkavm-linker 0.21.0", + "polkavm-linker", + "serde_json", "sp-core", "sp-io", "toml 0.8.23", @@ -11376,8 +11864,8 @@ dependencies = [ [[package]] name = "pallet-revive-proc-macro" -version = "0.3.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.7.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "proc-macro2", "quote", @@ -11386,20 +11874,39 @@ dependencies = [ [[package]] name = "pallet-revive-uapi" -version = "0.5.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.10.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ + "alloy-core", "bitflags 1.3.2", + "const-crypto", + "hex-literal", "pallet-revive-proc-macro", "parity-scale-codec", - "polkavm-derive 0.21.0", + "polkavm-derive", + "scale-info", +] + +[[package]] +name = "pallet-root-offences" +version = "43.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" +dependencies = [ + "frame-support", + "frame-system", + "pallet-session", + "pallet-staking", + "parity-scale-codec", "scale-info", + "sp-core", + "sp-runtime", + "sp-staking", ] [[package]] name = "pallet-root-testing" -version = "17.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "21.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-support", "frame-system", @@ -11411,8 +11918,8 @@ dependencies = [ [[package]] name = "pallet-scheduler" -version = "42.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "46.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "docify", "frame-benchmarking", @@ -11455,13 +11962,14 @@ dependencies = [ [[package]] name = "pallet-session" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", "log", + "pallet-balances", "pallet-timestamp", "parity-scale-codec", "scale-info", @@ -11476,8 +11984,8 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -11492,8 +12000,8 @@ dependencies = [ [[package]] name = "pallet-society" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -11509,8 +12017,8 @@ dependencies = [ [[package]] name = "pallet-staking" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -11531,9 +12039,10 @@ dependencies = [ [[package]] name = "pallet-staking-async-ah-client" -version = "0.2.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.7.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ + "frame-benchmarking", "frame-support", "frame-system", "log", @@ -11550,8 +12059,8 @@ dependencies = [ [[package]] name = "pallet-staking-async-rc-client" -version = "0.2.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.7.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-support", "frame-system", @@ -11567,8 +12076,8 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" -version = "23.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "log", "sp-arithmetic", @@ -11576,8 +12085,8 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" -version = "27.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "30.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "parity-scale-codec", "sp-api", @@ -11586,8 +12095,8 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" -version = "46.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "50.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -11633,8 +12142,8 @@ dependencies = [ [[package]] name = "pallet-sudo" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "docify", "frame-benchmarking", @@ -11648,8 +12157,8 @@ dependencies = [ [[package]] name = "pallet-timestamp" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "44.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "docify", "frame-benchmarking", @@ -11666,8 +12175,8 @@ dependencies = [ [[package]] name = "pallet-tips" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "44.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -11684,12 +12193,13 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", "serde", @@ -11699,8 +12209,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" -version = "44.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "48.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -11715,8 +12225,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -11727,8 +12237,8 @@ dependencies = [ [[package]] name = "pallet-treasury" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "44.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "docify", "frame-benchmarking", @@ -11746,8 +12256,8 @@ dependencies = [ [[package]] name = "pallet-tx-pause" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "26.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "docify", "parity-scale-codec", @@ -11757,8 +12267,8 @@ dependencies = [ [[package]] name = "pallet-utility" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -11772,8 +12282,8 @@ dependencies = [ [[package]] name = "pallet-verify-signature" -version = "0.4.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.8.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -11787,8 +12297,8 @@ dependencies = [ [[package]] name = "pallet-vesting" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -11801,8 +12311,8 @@ dependencies = [ [[package]] name = "pallet-whitelist" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "44.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -11811,8 +12321,8 @@ dependencies = [ [[package]] name = "pallet-xcm" -version = "20.1.3" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "25.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bounded-collections", "frame-benchmarking", @@ -11820,8 +12330,6 @@ dependencies = [ "frame-system", "hex-literal", "pallet-balances", - "pallet-revive", - "pallet-timestamp", "parity-scale-codec", "scale-info", "serde", @@ -11837,8 +12345,8 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" -version = "21.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "25.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -11854,15 +12362,14 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub" -version = "0.17.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.21.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bp-messages", "bp-runtime", "bp-xcm-bridge-hub", "frame-support", "frame-system", - "log", "pallet-bridge-messages", "parity-scale-codec", "scale-info", @@ -11872,18 +12379,18 @@ dependencies = [ "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", + "tracing", ] [[package]] name = "pallet-xcm-bridge-hub-router" -version = "0.19.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.23.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bp-xcm-bridge-hub-router", "frame-benchmarking", "frame-support", "frame-system", - "log", "parity-scale-codec", "polkadot-runtime-parachains", "scale-info", @@ -11892,6 +12399,7 @@ dependencies = [ "sp-std", "staging-xcm", "staging-xcm-builder", + "tracing", ] [[package]] @@ -11938,7 +12446,7 @@ dependencies = [ [[package]] name = "pallet-xcm-executor-utils" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2506#ea3f44b87dd273cc82b84cebffd4bf2085487d5a" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2512#df20d556af96d852f85b1ec34903f849b9e2788c" dependencies = [ "dp-xcm-reserve", "frame-benchmarking", @@ -11957,23 +12465,24 @@ dependencies = [ [[package]] name = "parachains-common" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "27.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", "frame-support", "frame-system", - "log", "pallet-asset-tx-payment", "pallet-assets", "pallet-authorship", "pallet-balances", "pallet-collator-selection", "pallet-message-queue", + "pallet-treasury", "pallet-xcm", "parity-scale-codec", "polkadot-primitives", + "polkadot-runtime-common", "scale-info", "sp-consensus-aura", "sp-core", @@ -11982,12 +12491,13 @@ dependencies = [ "staging-parachain-info", "staging-xcm", "staging-xcm-executor", + "tracing", ] [[package]] name = "parachains-runtimes-test-utils" -version = "23.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -12015,19 +12525,6 @@ dependencies = [ "xcm-runtime-apis", ] -[[package]] -name = "parity-bip39" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e69bf016dc406eff7d53a7d3f7cf1c2e72c82b9088aac1118591e36dd2cd3e9" -dependencies = [ - "bitcoin_hashes 0.13.0", - "rand 0.8.5", - "rand_core 0.6.4", - "serde", - "unicode-normalization", -] - [[package]] name = "parity-bytes" version = "0.1.2" @@ -12055,6 +12552,27 @@ dependencies = [ "winapi", ] +[[package]] +name = "parity-db" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6985a45b0597d68448dac9db2907f9f72bbaf63fe3383d4ba15f99096c87212f" +dependencies = [ + "blake2 0.10.6", + "crc32fast", + "fs2", + "hex", + "libc", + "log", + "lz4", + "memmap2 0.9.5", + "parking_lot 0.12.4", + "rand 0.9.1", + "siphasher 1.0.1", + "snap", + "winapi", +] + [[package]] name = "parity-scale-codec" version = "3.7.5" @@ -12178,19 +12696,13 @@ dependencies = [ "password-hash", ] -[[package]] -name = "peeking_take_while" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" - [[package]] name = "pem" version = "3.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "38af38e8470ac9dee3ce1bae1af9c1671fffc44ddfd8bd1d0a3445bf349a8ef3" dependencies = [ - "base64 0.22.1", + "base64", "serde", ] @@ -12254,6 +12766,54 @@ dependencies = [ "indexmap 2.9.0", ] +[[package]] +name = "phf" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078" +dependencies = [ + "phf_macros", + "phf_shared", +] + +[[package]] +name = "phf_generator" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d" +dependencies = [ + "phf_shared", + "rand 0.8.5", +] + +[[package]] +name = "phf_macros" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f84ac04429c13a7ff43785d75ad27569f2951ce0ffd30a3321230db2fc727216" +dependencies = [ + "phf_generator", + "phf_shared", + "proc-macro2", + "quote", + "syn 2.0.104", +] + +[[package]] +name = "phf_shared" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5" +dependencies = [ + "siphasher 1.0.1", +] + +[[package]] +name = "picosimd" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af35c838647fef3d6d052e27006ef88ea162336eee33063c50a63f163c18cdeb" + [[package]] name = "pin-project" version = "1.1.10" @@ -12315,8 +12875,8 @@ checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" [[package]] name = "polkadot-approval-distribution" -version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "futures 0.3.31", "futures-timer", @@ -12333,8 +12893,8 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" -version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "futures 0.3.31", "futures-timer", @@ -12348,8 +12908,8 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" -version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "fatality", "futures 0.3.31", @@ -12371,8 +12931,8 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" -version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "fatality", @@ -12404,8 +12964,8 @@ dependencies = [ [[package]] name = "polkadot-cli" -version = "25.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "31.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "clap", "frame-benchmarking-cli", @@ -12415,6 +12975,7 @@ dependencies = [ "polkadot-node-primitives", "polkadot-service", "sc-cli", + "sc-network-types", "sc-service", "sc-storage-monitor", "sc-sysinfo", @@ -12428,8 +12989,8 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" -version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bitvec", "fatality", @@ -12451,8 +13012,8 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" -version = "18.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "21.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "parity-scale-codec", "scale-info", @@ -12462,8 +13023,8 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" -version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "fatality", "futures 0.3.31", @@ -12484,8 +13045,8 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" -version = "20.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "23.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -12498,8 +13059,8 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" -version = "24.0.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "futures 0.3.31", "futures-timer", @@ -12512,15 +13073,15 @@ dependencies = [ "sc-network", "sp-application-crypto", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512)", "sp-keystore", "tracing-gum", ] [[package]] name = "polkadot-network-bridge" -version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "always-assert", "async-trait", @@ -12542,8 +13103,8 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" -version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "futures 0.3.31", "parity-scale-codec", @@ -12560,8 +13121,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" -version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "bitvec", @@ -12581,7 +13142,7 @@ dependencies = [ "rand_core 0.6.4", "sc-keystore", "schnellru", - "schnorrkel 0.11.4", + "schnorrkel", "sp-application-crypto", "sp-consensus", "sp-consensus-slots", @@ -12592,8 +13153,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting-parallel" -version = "0.7.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.11.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "futures 0.3.31", @@ -12616,8 +13177,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" -version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bitvec", "futures 0.3.31", @@ -12635,8 +13196,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" -version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bitvec", "fatality", @@ -12656,8 +13217,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" -version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "futures 0.3.31", "polkadot-node-subsystem", @@ -12671,8 +13232,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" -version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "futures 0.3.31", @@ -12693,8 +13254,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" -version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "futures 0.3.31", "polkadot-node-metrics", @@ -12707,8 +13268,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" -version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "futures 0.3.31", "futures-timer", @@ -12723,8 +13284,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" -version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "fatality", "futures 0.3.31", @@ -12741,8 +13302,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" -version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "futures 0.3.31", @@ -12758,8 +13319,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-prospective-parachains" -version = "23.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "27.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "fatality", "futures 0.3.31", @@ -12772,8 +13333,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" -version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bitvec", "fatality", @@ -12783,14 +13344,16 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", + "sc-consensus-slots", + "schnellru", "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-node-core-pvf" -version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "always-assert", "array-bytes 6.2.3", @@ -12817,8 +13380,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" -version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "futures 0.3.31", "polkadot-node-subsystem", @@ -12830,8 +13393,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-common" -version = "20.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "cpu-time", "futures 0.3.31", @@ -12839,6 +13402,7 @@ dependencies = [ "libc", "nix 0.29.0", "parity-scale-codec", + "polkadot-node-primitives", "polkadot-parachain-primitives", "polkadot-primitives", "sc-executor", @@ -12846,7 +13410,7 @@ dependencies = [ "sc-executor-wasmtime", "seccompiler", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512)", "sp-externalities", "sp-io", "sp-tracing", @@ -12856,8 +13420,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-execute-worker" -version = "20.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "cfg-if", "cpu-time", @@ -12874,8 +13438,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-prepare-worker" -version = "20.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "cfg-if", "libc", @@ -12892,8 +13456,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" -version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "futures 0.3.31", "polkadot-node-metrics", @@ -12907,8 +13471,8 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" -version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bs58", "futures 0.3.31", @@ -12924,8 +13488,8 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" -version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-channel 1.9.0", "async-trait", @@ -12949,8 +13513,8 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" -version = "20.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "23.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bitvec", "bounded-vec", @@ -12960,7 +13524,7 @@ dependencies = [ "polkadot-parachain-primitives", "polkadot-primitives", "sc-keystore", - "schnorrkel 0.11.4", + "schnorrkel", "serde", "sp-application-crypto", "sp-consensus-babe", @@ -12973,8 +13537,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" -version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "polkadot-node-subsystem-types", "polkadot-overseer", @@ -12982,8 +13546,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" -version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "derive_more 0.99.20", @@ -13010,14 +13574,14 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" -version = "24.0.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "fatality", "futures 0.3.31", "itertools 0.11.0", "kvdb", - "parity-db", + "parity-db 0.4.13", "parity-scale-codec", "parking_lot 0.12.4", "polkadot-erasure-coding", @@ -13030,7 +13594,6 @@ dependencies = [ "polkadot-primitives", "prioritized-metered-channel", "rand 0.8.5", - "sc-keystore", "schnellru", "sp-application-crypto", "sp-core", @@ -13041,8 +13604,8 @@ dependencies = [ [[package]] name = "polkadot-overseer" -version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "futures 0.3.31", @@ -13061,9 +13624,10 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" -version = "17.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "20.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ + "array-bytes 6.2.3", "bounded-collections", "derive_more 0.99.20", "parity-scale-codec", @@ -13077,8 +13641,8 @@ dependencies = [ [[package]] name = "polkadot-primitives" -version = "19.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "22.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bitvec", "bounded-collections", @@ -13104,10 +13668,25 @@ dependencies = [ "thiserror 1.0.69", ] +[[package]] +name = "polkadot-primitives-test-helpers" +version = "0.2.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" +dependencies = [ + "parity-scale-codec", + "polkadot-primitives", + "rand 0.8.5", + "scale-info", + "sp-application-crypto", + "sp-core", + "sp-keyring", + "sp-runtime", +] + [[package]] name = "polkadot-rpc" -version = "25.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "29.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "jsonrpsee", "mmr-rpc", @@ -13139,8 +13718,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "20.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bitvec", "frame-benchmarking", @@ -13189,8 +13768,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" -version = "21.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "25.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bs58", "frame-benchmarking", @@ -13201,8 +13780,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "20.0.2" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -13250,8 +13829,8 @@ dependencies = [ [[package]] name = "polkadot-sdk-frame" -version = "0.10.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.14.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "docify", "frame-benchmarking", @@ -13285,8 +13864,8 @@ dependencies = [ [[package]] name = "polkadot-service" -version = "25.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "31.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "frame-benchmarking", @@ -13301,7 +13880,7 @@ dependencies = [ "mmr-gadget", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", - "parity-db", + "parity-db 0.4.13", "parity-scale-codec", "parking_lot 0.12.4", "polkadot-approval-distribution", @@ -13388,13 +13967,14 @@ dependencies = [ "thiserror 1.0.69", "tracing-gum", "westend-runtime", + "westend-runtime-constants", "xcm-runtime-apis", ] [[package]] name = "polkadot-statement-distribution" -version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bitvec", "fatality", @@ -13413,8 +13993,8 @@ dependencies = [ [[package]] name = "polkadot-statement-table" -version = "20.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "23.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -13423,106 +14003,55 @@ dependencies = [ [[package]] name = "polkavm" -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" +version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2a01db119bb3a86572c0641ba6e7c9786fbd2ac89c25b43b688c4e353787526" +checksum = "4323d016144b2852da47cee55ca5fc33dfe7517be1f52395759f247ecc5695f6" dependencies = [ "libc", "log", - "polkavm-assembler 0.24.0", - "polkavm-common 0.24.0", - "polkavm-linux-raw 0.24.0", -] - -[[package]] -name = "polkavm-assembler" -version = "0.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f512bc80cb10439391a7c13a9eb2d37cf66b7305e7df0a06d662eff4f5b07625" -dependencies = [ - "log", + "picosimd", + "polkavm-assembler", + "polkavm-common", + "polkavm-linux-raw", ] [[package]] name = "polkavm-assembler" -version = "0.24.0" +version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eea6105f3f344abe0bf0151d67b3de6f5d24353f2393355ecf3f5f6e06d7fd0b" +checksum = "b3a873fa7ace058d6507debf5fccb1d06bd3279f5b35dbaf70dc7fe94a6c415c" dependencies = [ "log", ] [[package]] name = "polkavm-common" -version = "0.21.0" +version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c16b809cfd398f861261c045a8745e6c78b71ea7e0d3ef6f7cc553eb27bc17e" +checksum = "ed1b408db93d4f49f5c651a7844682b9d7a561827b4dc6202c10356076c055c9" 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 = "d91ed9e5af472f729fcf3b3c1cf17508ddbb3505259dd6e2ee0fb5a29e105d22" -dependencies = [ - "log", - "polkavm-assembler 0.24.0", -] - -[[package]] -name = "polkavm-derive" -version = "0.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47239245f87329541932c0d7fec750a66a75b13aa87dfe4fbfd637bab86ad387" -dependencies = [ - "polkavm-derive-impl-macro 0.21.0", + "picosimd", + "polkavm-assembler", ] [[package]] name = "polkavm-derive" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "176144f8661117ea95fa7cf868c9a62d6b143e8a2ebcb7582464c3faade8669a" -dependencies = [ - "polkavm-derive-impl-macro 0.24.0", -] - -[[package]] -name = "polkavm-derive-impl" -version = "0.21.0" +version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24fd6c6215450c3e57511df5c38a82eb4bde208de15ee15046ac33852f3c3eaa" +checksum = "acb4463fb0b9dbfafdc1d1a1183df4bf7afa3350d124f29d5700c6bee54556b5" dependencies = [ - "polkavm-common 0.21.0", - "proc-macro2", - "quote", - "syn 2.0.104", + "polkavm-derive-impl-macro", ] [[package]] name = "polkavm-derive-impl" -version = "0.24.0" +version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5a21844afdfcc10c92b9ef288ccb926211af27478d1730fcd55e4aec710179d" +checksum = "993ff45b972e09babe68adce7062c3c38a84b9f50f07b7caf393a023eaa6c74a" dependencies = [ - "polkavm-common 0.24.0", + "polkavm-common", "proc-macro2", "quote", "syn 2.0.104", @@ -13530,67 +14059,35 @@ dependencies = [ [[package]] name = "polkavm-derive-impl-macro" -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.104", -] - -[[package]] -name = "polkavm-derive-impl-macro" -version = "0.24.0" +version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba0ef0f17ad81413ea1ca5b1b67553aedf5650c88269b673d3ba015c83bc2651" +checksum = "0a4f5352e13c1ca5f0e4d7b4a804fbb85b0e02c45cae435d101fe71081bc8ed8" dependencies = [ - "polkavm-derive-impl 0.24.0", + "polkavm-derive-impl", "syn 2.0.104", ] [[package]] name = "polkavm-linker" -version = "0.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23bc764986c4a63f9ab9890c3f4eb9b4c13b6ff80d79685bd48ade147234aab4" -dependencies = [ - "dirs", - "gimli 0.31.1", - "hashbrown 0.14.5", - "log", - "object 0.36.7", - "polkavm-common 0.21.0", - "regalloc2 0.9.3", - "rustc-demangle", -] - -[[package]] -name = "polkavm-linker" -version = "0.24.0" +version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06c95a521a1331024ebe5823ffdfba9ea6df40b934b0804049d5171887579806" +checksum = "6739125c4f8f44b4282b6531d765d599f20514e9b608737c6c3544594d08f995" dependencies = [ "dirs", - "gimli 0.31.1", + "gimli", "hashbrown 0.14.5", "log", - "object 0.36.7", - "polkavm-common 0.24.0", + "object", + "polkavm-common", "regalloc2 0.9.3", "rustc-demangle", ] [[package]] name = "polkavm-linux-raw" -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" +version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ec0b13e26ec7234dba213ca17118c70c562809bdce0eefe84f92613d5c8da26" +checksum = "604b23cdb201979304449f53d21bfd5fb1724c03e3ea889067c9a3bf7ae33862" [[package]] name = "polling" @@ -13652,6 +14149,18 @@ version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483" +[[package]] +name = "postcard" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6764c3b5dd454e283a30e6dfe78e9b31096d9e32036b5d1eaac7a6119ccb9a24" +dependencies = [ + "cobs", + "embedded-io 0.4.0", + "embedded-io 0.6.1", + "serde", +] + [[package]] name = "potential_utf" version = "0.1.2" @@ -13699,7 +14208,7 @@ dependencies = [ [[package]] name = "precompile-utils" version = "0.1.0" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2512#cbaf11a2c364fd34b1df97c38031cdcd88656370" dependencies = [ "environmental", "evm", @@ -13723,14 +14232,14 @@ dependencies = [ [[package]] name = "precompile-utils-macro" version = "0.1.0" -source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2506#88d51861180752c560e7019196c537cb3d1601fa" +source = "git+https://github.com/moondance-labs/frontier?branch=tanssi-polkadot-stable2512#cbaf11a2c364fd34b1df97c38031cdcd88656370" dependencies = [ "case", "num_enum", "prettyplease", "proc-macro2", "quote", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512)", "syn 2.0.104", ] @@ -13770,6 +14279,15 @@ dependencies = [ "syn 2.0.104", ] +[[package]] +name = "primeorder" +version = "0.13.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "353e1ca18966c16d9deb1c69278edbc5f194139612772bd9537af60ac231e1e6" +dependencies = [ + "elliptic-curve", +] + [[package]] name = "primitive-types" version = "0.12.2" @@ -14001,7 +14519,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be769465445e8c1474e9c5dac2018218498557af32d9ed057325ec9a41ae81bf" dependencies = [ "heck 0.5.0", - "itertools 0.13.0", + "itertools 0.14.0", "log", "multimap", "once_cell", @@ -14021,7 +14539,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ac6c3320f9abac597dcbc668774ef006702672474aad53c6d596b62e487b40b1" dependencies = [ "heck 0.5.0", - "itertools 0.13.0", + "itertools 0.14.0", "log", "multimap", "once_cell", @@ -14067,7 +14585,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a56d757972c98b346a9b766e3f02746cde6dd1cd1d1d563472929fdd74bec4d" dependencies = [ "anyhow", - "itertools 0.13.0", + "itertools 0.14.0", "proc-macro2", "quote", "syn 2.0.104", @@ -14080,7 +14598,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9120690fafc389a67ba3803df527d0ec9cbbc9cc45e4cc20b332996dfb672425" dependencies = [ "anyhow", - "itertools 0.13.0", + "itertools 0.14.0", "proc-macro2", "quote", "syn 2.0.104", @@ -14105,12 +14623,26 @@ dependencies = [ ] [[package]] -name = "psm" -version = "0.1.26" +name = "pulley-interpreter" +version = "35.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b89c4319786b16c1a6a38ee04788d32c669b61ba4b69da2162c868c18be99c1b" +dependencies = [ + "cranelift-bitset", + "log", + "pulley-macros", + "wasmtime-internal-math", +] + +[[package]] +name = "pulley-macros" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e944464ec8536cd1beb0bbfd96987eb5e3b72f2ecdafdc5c769a37f1fa2ae1f" +checksum = "938543690519c20c3a480d20a8efcc8e69abeb44093ab1df4e7c1f81f26c677a" dependencies = [ - "cc", + "proc-macro2", + "quote", + "syn 2.0.104", ] [[package]] @@ -14271,6 +14803,7 @@ dependencies = [ "libc", "rand_chacha 0.3.1", "rand_core 0.6.4", + "serde", ] [[package]] @@ -14351,6 +14884,15 @@ dependencies = [ "rand_core 0.9.3", ] +[[package]] +name = "rapidhash" +version = "4.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d8b5b858a440a0bc02625b62dd95131b9201aa9f69f411195dd4a7cfb1de3d7" +dependencies = [ + "rustversion", +] + [[package]] name = "raw-cpuid" version = "11.5.0" @@ -14461,26 +15003,28 @@ dependencies = [ [[package]] name = "regalloc2" -version = "0.6.1" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80535183cae11b149d618fbd3c37e38d7cda589d82d7769e196ca9a9042d7621" +checksum = "ad156d539c879b7a24a363a2016d77961786e71f48f2e2fc8302a92abd2429a6" dependencies = [ - "fxhash", + "hashbrown 0.13.2", "log", + "rustc-hash 1.1.0", "slice-group-by", "smallvec", ] [[package]] name = "regalloc2" -version = "0.9.3" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad156d539c879b7a24a363a2016d77961786e71f48f2e2fc8302a92abd2429a6" +checksum = "5216b1837de2149f8bc8e6d5f88a9326b63b8c836ed58ce4a0a29ec736a59734" dependencies = [ - "hashbrown 0.13.2", + "allocator-api2", + "bumpalo", + "hashbrown 0.15.4", "log", - "rustc-hash 1.1.0", - "slice-group-by", + "rustc-hash 2.1.1", "smallvec", ] @@ -14534,7 +15078,7 @@ version = "0.12.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eabf4c97d9130e2bf606614eb937e86edac8292eaa6f422f995d7e8de1eb1813" dependencies = [ - "base64 0.22.1", + "base64", "bytes", "futures-channel", "futures-core", @@ -14574,6 +15118,195 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95325155c684b1c89f7765e30bc1c42e4a6da51ca513615660cb8a62ef9a88e3" +[[package]] +name = "revm" +version = "27.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e6bf82101a1ad8a2b637363a37aef27f88b4efc8a6e24c72bf5f64923dc5532" +dependencies = [ + "revm-bytecode", + "revm-context", + "revm-context-interface", + "revm-database", + "revm-database-interface", + "revm-handler", + "revm-inspector", + "revm-interpreter", + "revm-precompile", + "revm-primitives", + "revm-state", +] + +[[package]] +name = "revm-bytecode" +version = "6.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66c52031b73cae95d84cd1b07725808b5fd1500da3e5e24574a3b2dc13d9f16d" +dependencies = [ + "bitvec", + "phf", + "revm-primitives", + "serde", +] + +[[package]] +name = "revm-context" +version = "8.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9cd508416a35a4d8a9feaf5ccd06ac6d6661cd31ee2dc0252f9f7316455d71f9" +dependencies = [ + "cfg-if", + "derive-where", + "revm-bytecode", + "revm-context-interface", + "revm-database-interface", + "revm-primitives", + "revm-state", + "serde", +] + +[[package]] +name = "revm-context-interface" +version = "9.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc90302642d21c8f93e0876e201f3c5f7913c4fcb66fb465b0fd7b707dfe1c79" +dependencies = [ + "alloy-eip2930", + "alloy-eip7702", + "auto_impl", + "either", + "revm-database-interface", + "revm-primitives", + "revm-state", + "serde", +] + +[[package]] +name = "revm-database" +version = "7.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39a276ed142b4718dcf64bc9624f474373ed82ef20611025045c3fb23edbef9c" +dependencies = [ + "alloy-eips", + "revm-bytecode", + "revm-database-interface", + "revm-primitives", + "revm-state", + "serde", +] + +[[package]] +name = "revm-database-interface" +version = "7.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c523c77e74eeedbac5d6f7c092e3851dbe9c7fec6f418b85992bd79229db361" +dependencies = [ + "auto_impl", + "either", + "revm-primitives", + "revm-state", + "serde", +] + +[[package]] +name = "revm-handler" +version = "8.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1529c8050e663be64010e80ec92bf480315d21b1f2dbf65540028653a621b27d" +dependencies = [ + "auto_impl", + "derive-where", + "revm-bytecode", + "revm-context", + "revm-context-interface", + "revm-database-interface", + "revm-interpreter", + "revm-precompile", + "revm-primitives", + "revm-state", + "serde", +] + +[[package]] +name = "revm-inspector" +version = "8.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f78db140e332489094ef314eaeb0bd1849d6d01172c113ab0eb6ea8ab9372926" +dependencies = [ + "auto_impl", + "either", + "revm-context", + "revm-database-interface", + "revm-handler", + "revm-interpreter", + "revm-primitives", + "revm-state", + "serde", + "serde_json", +] + +[[package]] +name = "revm-interpreter" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff9d7d9d71e8a33740b277b602165b6e3d25fff091ba3d7b5a8d373bf55f28a7" +dependencies = [ + "revm-bytecode", + "revm-context-interface", + "revm-primitives", + "serde", +] + +[[package]] +name = "revm-precompile" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cee3f336b83621294b4cfe84d817e3eef6f3d0fce00951973364cc7f860424d" +dependencies = [ + "ark-bls12-381 0.5.0", + "ark-bn254", + "ark-ec 0.5.0", + "ark-ff 0.5.0", + "ark-serialize 0.5.0", + "arrayref", + "aurora-engine-modexp", + "c-kzg", + "cfg-if", + "k256", + "libsecp256k1", + "once_cell", + "p256", + "revm-primitives", + "ripemd", + "rug", + "secp256k1 0.31.1", + "sha2 0.10.9", +] + +[[package]] +name = "revm-primitives" +version = "20.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5aa29d9da06fe03b249b6419b33968ecdf92ad6428e2f012dc57bcd619b5d94e" +dependencies = [ + "alloy-primitives 1.5.2", + "num_enum", + "once_cell", + "serde", +] + +[[package]] +name = "revm-state" +version = "7.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f64fbacb86008394aaebd3454f9643b7d5a782bd251135e17c5b33da592d84d" +dependencies = [ + "bitflags 2.9.1", + "revm-bytecode", + "revm-primitives", + "serde", +] + [[package]] name = "rfc6979" version = "0.4.0" @@ -14662,9 +15395,9 @@ dependencies = [ [[package]] name = "rocksdb" -version = "0.21.0" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb6f170a4041d50a0ce04b0d2e14916d6ca863ea2e422689a5b694395d299ffe" +checksum = "ddb7af00d2b17dbd07d82c0063e25411959748ff03e8d4f96134c2ff41fce34f" dependencies = [ "libc", "librocksdb-sys", @@ -14690,8 +15423,8 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "24.0.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "29.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "binary-merkle-tree", "bitvec", @@ -14721,7 +15454,7 @@ dependencies = [ "pallet-identity", "pallet-indices", "pallet-message-queue", - "pallet-migrations 11.0.0", + "pallet-migrations 15.0.0", "pallet-mmr", "pallet-multisig", "pallet-nis", @@ -14788,8 +15521,8 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" -version = "21.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "25.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-support", "polkadot-primitives", @@ -14853,24 +15586,37 @@ dependencies = [ ] [[package]] -name = "rtoolbox" -version = "0.0.3" +name = "rtoolbox" +version = "0.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7cc970b249fbe527d6e02e0a227762c9108b2f49d81094fe357ffc6d14d7f6f" +dependencies = [ + "libc", + "windows-sys 0.52.0", +] + +[[package]] +name = "rug" +version = "1.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7cc970b249fbe527d6e02e0a227762c9108b2f49d81094fe357ffc6d14d7f6f" +checksum = "de190ec858987c79cad4da30e19e546139b3339331282832af004d0ea7829639" dependencies = [ + "az", + "gmp-mpfr-sys", "libc", - "windows-sys 0.52.0", + "libm", ] [[package]] name = "ruint" -version = "1.15.0" +version = "1.17.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11256b5fe8c68f56ac6f39ef0720e592f33d2367a4782740d9c9142e889c7fb4" +checksum = "c141e807189ad38a07276942c6623032d3753c8859c146104ac2e4d68865945a" 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", @@ -14884,7 +15630,7 @@ dependencies = [ "rand 0.9.1", "rlp 0.5.2", "ruint-macro", - "serde", + "serde_core", "valuable", "zeroize", ] @@ -14943,21 +15689,7 @@ version = "4.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "faf0c4a6ece9950b9abdb62b1cfcf2a68b3b67a10ba445b3bb85be2a293d0632" dependencies = [ - "nom", -] - -[[package]] -name = "rustix" -version = "0.36.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "305efbd14fde4139eb501df5f136994bb520b033fa9fbdce287507dc23b8c7ed" -dependencies = [ - "bitflags 1.3.2", - "errno", - "io-lifetimes", - "libc", - "linux-raw-sys 0.1.4", - "windows-sys 0.45.0", + "nom 7.1.3", ] [[package]] @@ -15105,24 +15837,9 @@ dependencies = [ [[package]] name = "ruzstd" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3ffab8f9715a0d455df4bbb9d21e91135aab3cd3ca187af0cd0c3c3f868fdc" -dependencies = [ - "byteorder", - "thiserror-core", - "twox-hash", -] - -[[package]] -name = "ruzstd" -version = "0.6.0" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5174a470eeb535a721ae9fdd6e291c2411a906b96592182d05217591d5c5cf7b" -dependencies = [ - "byteorder", - "derive_more 0.99.20", -] +checksum = "e5ff0cc5e135c8870a775d3320910cd9b564ec036b4dc0b8741629020be63f01" [[package]] name = "rw-stream-sink" @@ -15170,8 +15887,8 @@ dependencies = [ [[package]] name = "sc-allocator" -version = "32.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "35.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "log", "sp-core", @@ -15181,8 +15898,8 @@ dependencies = [ [[package]] name = "sc-authority-discovery" -version = "0.51.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.55.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "futures 0.3.31", @@ -15197,6 +15914,7 @@ dependencies = [ "sc-client-api", "sc-network", "sc-network-types", + "sc-service", "serde", "serde_json", "sp-api", @@ -15212,8 +15930,8 @@ dependencies = [ [[package]] name = "sc-basic-authorship" -version = "0.50.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.53.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "futures 0.3.31", "log", @@ -15228,13 +15946,14 @@ dependencies = [ "sp-core", "sp-inherents", "sp-runtime", + "sp-trie", "substrate-prometheus-endpoint", ] [[package]] name = "sc-block-builder" -version = "0.45.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.48.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "parity-scale-codec", "sp-api", @@ -15248,8 +15967,8 @@ dependencies = [ [[package]] name = "sc-chain-spec" -version = "44.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "48.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "array-bytes 6.2.3", "docify", @@ -15264,7 +15983,7 @@ dependencies = [ "serde_json", "sp-blockchain", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512)", "sp-genesis-builder", "sp-io", "sp-runtime", @@ -15275,7 +15994,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "12.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -15285,10 +16004,11 @@ dependencies = [ [[package]] name = "sc-cli" -version = "0.53.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.57.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "array-bytes 6.2.3", + "bip39", "chrono", "clap", "fdlimit", @@ -15297,7 +16017,6 @@ dependencies = [ "libp2p-identity", "log", "names", - "parity-bip39", "parity-scale-codec", "rand 0.8.5", "regex", @@ -15330,8 +16049,8 @@ dependencies = [ [[package]] name = "sc-client-api" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "44.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "fnv", "futures 0.3.31", @@ -15356,8 +16075,8 @@ dependencies = [ [[package]] name = "sc-client-db" -version = "0.47.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.51.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "hash-db", "kvdb", @@ -15365,7 +16084,7 @@ dependencies = [ "kvdb-rocksdb", "linked-hash-map", "log", - "parity-db", + "parity-db 0.4.13", "parity-scale-codec", "parking_lot 0.12.4", "sc-client-api", @@ -15384,8 +16103,8 @@ dependencies = [ [[package]] name = "sc-consensus" -version = "0.50.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.54.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "futures 0.3.31", @@ -15407,13 +16126,15 @@ dependencies = [ [[package]] name = "sc-consensus-aura" -version = "0.51.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.55.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", + "fork-tree", "futures 0.3.31", "log", "parity-scale-codec", + "parking_lot 0.12.4", "sc-block-builder", "sc-client-api", "sc-consensus", @@ -15436,8 +16157,8 @@ dependencies = [ [[package]] name = "sc-consensus-babe" -version = "0.51.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.55.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "fork-tree", @@ -15462,18 +16183,19 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-slots", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512)", "sp-inherents", "sp-keystore", "sp-runtime", + "sp-timestamp", "substrate-prometheus-endpoint", "thiserror 1.0.69", ] [[package]] name = "sc-consensus-babe-rpc" -version = "0.51.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.55.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "futures 0.3.31", "jsonrpsee", @@ -15494,8 +16216,8 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" -version = "30.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "34.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "array-bytes 6.2.3", "async-channel 1.9.0", @@ -15528,8 +16250,8 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" -version = "30.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "34.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "futures 0.3.31", "jsonrpsee", @@ -15548,8 +16270,8 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" -version = "0.50.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.54.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "fork-tree", "parity-scale-codec", @@ -15561,10 +16283,10 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" -version = "0.36.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.40.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ - "ahash", + "ahash 0.8.12", "array-bytes 6.2.3", "async-trait", "dyn-clone", @@ -15596,7 +16318,7 @@ dependencies = [ "sp-consensus", "sp-consensus-grandpa", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512)", "sp-keystore", "sp-runtime", "substrate-prometheus-endpoint", @@ -15605,8 +16327,8 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" -version = "0.36.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.40.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "finality-grandpa", "futures 0.3.31", @@ -15625,8 +16347,8 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" -version = "0.52.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.56.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "assert_matches", "async-trait", @@ -15660,8 +16382,8 @@ dependencies = [ [[package]] name = "sc-consensus-slots" -version = "0.50.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.54.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "futures 0.3.31", @@ -15683,8 +16405,8 @@ dependencies = [ [[package]] name = "sc-executor" -version = "0.43.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.47.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "log", "parity-scale-codec", @@ -15707,11 +16429,11 @@ dependencies = [ [[package]] name = "sc-executor-common" -version = "0.39.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.43.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "parity-scale-codec", - "polkavm 0.24.0", + "polkavm", "sc-allocator", "sp-maybe-compressed-blob", "sp-wasm-interface", @@ -15721,19 +16443,19 @@ dependencies = [ [[package]] name = "sc-executor-polkavm" -version = "0.36.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.40.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "log", - "polkavm 0.24.0", + "polkavm", "sc-executor-common", "sp-wasm-interface", ] [[package]] name = "sc-executor-wasmtime" -version = "0.39.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.43.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "anyhow", "cfg-if", @@ -15741,7 +16463,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.4", - "rustix 0.36.17", + "rustix 1.0.7", "sc-allocator", "sc-executor-common", "sp-runtime-interface", @@ -15751,8 +16473,8 @@ dependencies = [ [[package]] name = "sc-informant" -version = "0.50.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.54.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "console", "futures 0.3.31", @@ -15767,8 +16489,8 @@ dependencies = [ [[package]] name = "sc-keystore" -version = "36.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "39.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "array-bytes 6.2.3", "parking_lot 0.12.4", @@ -15781,8 +16503,8 @@ dependencies = [ [[package]] name = "sc-mixnet" -version = "0.21.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.25.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "array-bytes 6.2.3", "arrayvec 0.7.6", @@ -15809,15 +16531,14 @@ dependencies = [ [[package]] name = "sc-network" -version = "0.51.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.55.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "array-bytes 6.2.3", "async-channel 1.9.0", "async-trait", "asynchronous-codec 0.6.2", "bytes", - "cid 0.9.0", "either", "fnv", "futures 0.3.31", @@ -15859,8 +16580,8 @@ dependencies = [ [[package]] name = "sc-network-common" -version = "0.49.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.52.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", @@ -15869,10 +16590,10 @@ dependencies = [ [[package]] name = "sc-network-gossip" -version = "0.51.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.55.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ - "ahash", + "ahash 0.8.12", "futures 0.3.31", "futures-timer", "log", @@ -15888,8 +16609,8 @@ dependencies = [ [[package]] name = "sc-network-light" -version = "0.50.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.54.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "array-bytes 6.2.3", "async-channel 1.9.0", @@ -15909,8 +16630,8 @@ dependencies = [ [[package]] name = "sc-network-sync" -version = "0.50.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.54.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "array-bytes 6.2.3", "async-channel 1.9.0", @@ -15945,7 +16666,7 @@ dependencies = [ [[package]] name = "sc-network-test" version = "0.8.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-channel 1.9.0", "async-trait", @@ -15977,8 +16698,8 @@ dependencies = [ [[package]] name = "sc-network-transactions" -version = "0.50.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.54.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "array-bytes 6.2.3", "futures 0.3.31", @@ -15996,8 +16717,8 @@ dependencies = [ [[package]] name = "sc-network-types" -version = "0.17.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.20.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bs58", "bytes", @@ -16017,8 +16738,8 @@ dependencies = [ [[package]] name = "sc-offchain" -version = "46.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "50.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bytes", "fnv", @@ -16052,7 +16773,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.20.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -16060,8 +16781,8 @@ dependencies = [ [[package]] name = "sc-rpc" -version = "46.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "50.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "futures 0.3.31", "jsonrpsee", @@ -16092,8 +16813,8 @@ dependencies = [ [[package]] name = "sc-rpc-api" -version = "0.50.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.54.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -16112,8 +16833,8 @@ dependencies = [ [[package]] name = "sc-rpc-server" -version = "23.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "27.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "dyn-clone", "forwarded-header-value", @@ -16136,8 +16857,8 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" -version = "0.51.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.55.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "array-bytes 6.2.3", "futures 0.3.31", @@ -16169,14 +16890,14 @@ dependencies = [ [[package]] name = "sc-runtime-utilities" -version = "0.3.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.7.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "parity-scale-codec", "sc-executor", "sc-executor-common", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512)", "sp-state-machine", "sp-wasm-interface", "thiserror 1.0.69", @@ -16184,8 +16905,8 @@ dependencies = [ [[package]] name = "sc-service" -version = "0.52.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.56.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "directories", @@ -16248,8 +16969,8 @@ dependencies = [ [[package]] name = "sc-state-db" -version = "0.39.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.41.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "log", "parity-scale-codec", @@ -16259,8 +16980,8 @@ dependencies = [ [[package]] name = "sc-storage-monitor" -version = "0.25.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.27.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "clap", "fs4", @@ -16272,8 +16993,8 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" -version = "0.51.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.55.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -16291,8 +17012,8 @@ dependencies = [ [[package]] name = "sc-sysinfo" -version = "43.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "46.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "derive_more 0.99.20", "futures 0.3.31", @@ -16305,14 +17026,14 @@ dependencies = [ "serde", "serde_json", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512)", "sp-io", ] [[package]] name = "sc-telemetry" -version = "29.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "30.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "chrono", "futures 0.3.31", @@ -16330,8 +17051,8 @@ dependencies = [ [[package]] name = "sc-tracing" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "44.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "chrono", "console", @@ -16353,13 +17074,13 @@ dependencies = [ "thiserror 1.0.69", "tracing", "tracing-log", - "tracing-subscriber", + "tracing-subscriber 0.3.19", ] [[package]] name = "sc-tracing-proc-macro" version = "11.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -16369,8 +17090,8 @@ dependencies = [ [[package]] name = "sc-transaction-pool" -version = "40.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "44.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "futures 0.3.31", @@ -16387,10 +17108,11 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512)", "sp-runtime", "sp-tracing", "sp-transaction-pool", + "strum 0.26.3", "substrate-prometheus-endpoint", "thiserror 1.0.69", "tokio", @@ -16400,8 +17122,8 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "43.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "futures 0.3.31", @@ -16412,13 +17134,14 @@ dependencies = [ "sp-blockchain", "sp-core", "sp-runtime", + "strum 0.26.3", "thiserror 1.0.69", ] [[package]] name = "sc-utils" -version = "19.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "20.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-channel 1.9.0", "futures 0.3.31", @@ -16574,30 +17297,38 @@ dependencies = [ ] [[package]] -name = "schnellru" -version = "0.2.4" +name = "schemars" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "356285bbf17bea63d9e52e96bd18f039672ac92b55b8cb997d6162a2a37d1649" +checksum = "4cd191f9397d57d581cddd31014772520aa448f65ef991055d7f61582c65165f" dependencies = [ - "ahash", - "cfg-if", - "hashbrown 0.13.2", + "dyn-clone", + "ref-cast", + "serde", + "serde_json", ] [[package]] -name = "schnorrkel" -version = "0.10.2" +name = "schemars" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "844b7645371e6ecdf61ff246ba1958c29e802881a749ae3fb1993675d210d28d" +checksum = "54e910108742c57a770f492731f99be216a52fadd361b06c8fb59d74ccc267d2" dependencies = [ - "arrayref", - "arrayvec 0.7.6", - "curve25519-dalek-ng", - "merlin", - "rand_core 0.6.4", - "sha2 0.9.9", - "subtle-ng", - "zeroize", + "dyn-clone", + "ref-cast", + "serde", + "serde_json", +] + +[[package]] +name = "schnellru" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "356285bbf17bea63d9e52e96bd18f039672ac92b55b8cb997d6162a2a37d1649" +dependencies = [ + "ahash 0.8.12", + "cfg-if", + "hashbrown 0.13.2", ] [[package]] @@ -16700,6 +17431,18 @@ dependencies = [ "bitcoin_hashes 0.14.0", "rand 0.8.5", "secp256k1-sys 0.10.1", + "serde", +] + +[[package]] +name = "secp256k1" +version = "0.31.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c3c81b43dc2d8877c216a3fccf76677ee1ebccd429566d3e67447290d0c42b2" +dependencies = [ + "bitcoin_hashes 0.14.0", + "rand 0.9.1", + "secp256k1-sys 0.11.0", ] [[package]] @@ -16729,6 +17472,15 @@ dependencies = [ "cc", ] +[[package]] +name = "secp256k1-sys" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dcb913707158fadaf0d8702c2db0e857de66eb003ccfdda5924b5f5ac98efb38" +dependencies = [ + "cc", +] + [[package]] name = "secrecy" version = "0.8.0" @@ -16827,10 +17579,11 @@ dependencies = [ [[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", ] @@ -16852,11 +17605,20 @@ dependencies = [ "serde", ] +[[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", @@ -16869,6 +17631,7 @@ version = "1.0.140" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" dependencies = [ + "indexmap 2.9.0", "itoa", "memchr", "ryu", @@ -16902,9 +17665,13 @@ version = "3.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c522100790450cf78eeac1507263d0a350d4d5b30df0c8e1fe051a10c22b376e" dependencies = [ - "base64 0.22.1", + "base64", "chrono", "hex", + "indexmap 1.9.3", + "indexmap 2.9.0", + "schemars 0.9.0", + "schemars 1.2.0", "serde", "serde_derive", "serde_json", @@ -16947,19 +17714,6 @@ dependencies = [ "sp-runtime", ] -[[package]] -name = "sha-1" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6" -dependencies = [ - "block-buffer 0.9.0", - "cfg-if", - "cpufeatures", - "digest 0.9.0", - "opaque-debug 0.3.1", -] - [[package]] name = "sha1" version = "0.10.6" @@ -16995,6 +17749,12 @@ dependencies = [ "digest 0.10.7", ] +[[package]] +name = "sha2-const-stable" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f179d4e11094a893b82fff208f74d448a7512f99f5a0acbd5c679b705f83ed9" + [[package]] name = "sha3" version = "0.10.8" @@ -17155,8 +17915,8 @@ dependencies = [ [[package]] name = "slot-range-helper" -version = "18.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "21.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "enumn", "parity-scale-codec", @@ -17176,127 +17936,59 @@ dependencies = [ [[package]] name = "smallvec" version = "1.15.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" - -[[package]] -name = "smol" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13f2b548cd8447f8de0fdf1c592929f70f4fc7039a05e47404b0d096ec6987a1" -dependencies = [ - "async-channel 1.9.0", - "async-executor", - "async-fs 1.6.0", - "async-io 1.13.0", - "async-lock 2.8.0", - "async-net 1.8.0", - "async-process 1.8.1", - "blocking", - "futures-lite 1.13.0", -] - -[[package]] -name = "smol" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a33bd3e260892199c3ccfc487c88b2da2265080acb316cd920da72fdfd7c599f" -dependencies = [ - "async-channel 2.3.1", - "async-executor", - "async-fs 2.1.2", - "async-io 2.4.1", - "async-lock 3.4.0", - "async-net 2.0.0", - "async-process 2.3.1", - "blocking", - "futures-lite 2.6.0", -] - -[[package]] -name = "smoldot" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0bb30cf57b7b5f6109ce17c3164445e2d6f270af2cb48f6e4d31c2967c9a9f5" -dependencies = [ - "arrayvec 0.7.6", - "async-lock 2.8.0", - "atomic-take", - "base64 0.21.7", - "bip39", - "blake2-rfc", - "bs58", - "chacha20", - "crossbeam-queue", - "derive_more 0.99.20", - "ed25519-zebra", - "either", - "event-listener 2.5.3", - "fnv", - "futures-lite 1.13.0", - "futures-util", - "hashbrown 0.14.5", - "hex", - "hmac 0.12.1", - "itertools 0.11.0", - "libsecp256k1", - "merlin", - "no-std-net", - "nom", - "num-bigint", - "num-rational", - "num-traits", - "pbkdf2", - "pin-project", - "poly1305", - "rand 0.8.5", - "rand_chacha 0.3.1", - "ruzstd 0.4.0", - "schnorrkel 0.10.2", - "serde", - "serde_json", - "sha2 0.10.9", - "sha3", - "siphasher 0.3.11", - "slab", - "smallvec", - "soketto 0.7.1", - "twox-hash", - "wasmi 0.31.2", - "x25519-dalek", - "zeroize", +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" +dependencies = [ + "serde", +] + +[[package]] +name = "smol" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a33bd3e260892199c3ccfc487c88b2da2265080acb316cd920da72fdfd7c599f" +dependencies = [ + "async-channel 2.3.1", + "async-executor", + "async-fs", + "async-io 2.4.1", + "async-lock 3.4.0", + "async-net", + "async-process", + "blocking", + "futures-lite 2.6.0", ] [[package]] name = "smoldot" -version = "0.18.0" +version = "0.19.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "966e72d77a3b2171bb7461d0cb91f43670c63558c62d7cf42809cae6c8b6b818" +checksum = "e16e5723359f0048bf64bfdfba64e5732a56847d42c4fd3fe56f18280c813413" dependencies = [ "arrayvec 0.7.6", "async-lock 3.4.0", "atomic-take", - "base64 0.22.1", + "base64", "bip39", "blake2-rfc", "bs58", "chacha20", "crossbeam-queue", - "derive_more 0.99.20", + "derive_more 2.0.1", "ed25519-zebra", "either", "event-listener 5.4.0", "fnv", "futures-lite 2.6.0", "futures-util", - "hashbrown 0.14.5", + "hashbrown 0.15.4", "hex", "hmac 0.12.1", - "itertools 0.13.0", + "itertools 0.14.0", "libm", "libsecp256k1", "merlin", - "nom", + "nom 8.0.0", "num-bigint", "num-rational", "num-traits", @@ -17305,8 +17997,8 @@ dependencies = [ "poly1305", "rand 0.8.5", "rand_chacha 0.3.1", - "ruzstd 0.6.0", - "schnorrkel 0.11.4", + "ruzstd", + "schnorrkel", "serde", "serde_json", "sha2 0.10.9", @@ -17314,70 +18006,34 @@ dependencies = [ "siphasher 1.0.1", "slab", "smallvec", - "soketto 0.8.1", - "twox-hash", - "wasmi 0.32.3", + "soketto", + "twox-hash 2.1.2", + "wasmi", "x25519-dalek", "zeroize", ] [[package]] name = "smoldot-light" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "256b5bad1d6b49045e95fe87492ce73d5af81545d8b4d8318a872d2007024c33" -dependencies = [ - "async-channel 1.9.0", - "async-lock 2.8.0", - "base64 0.21.7", - "blake2-rfc", - "derive_more 0.99.20", - "either", - "event-listener 2.5.3", - "fnv", - "futures-channel", - "futures-lite 1.13.0", - "futures-util", - "hashbrown 0.14.5", - "hex", - "itertools 0.11.0", - "log", - "lru 0.11.1", - "no-std-net", - "parking_lot 0.12.4", - "pin-project", - "rand 0.8.5", - "rand_chacha 0.3.1", - "serde", - "serde_json", - "siphasher 0.3.11", - "slab", - "smol 1.3.0", - "smoldot 0.11.0", - "zeroize", -] - -[[package]] -name = "smoldot-light" -version = "0.16.2" +version = "0.17.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a33b06891f687909632ce6a4e3fd7677b24df930365af3d0bcb078310129f3f" +checksum = "f1bba9e591716567d704a8252feeb2f1261a286e1e2cbdd4e49e9197c34a14e2" dependencies = [ "async-channel 2.3.1", "async-lock 3.4.0", - "base64 0.22.1", + "base64", "blake2-rfc", "bs58", - "derive_more 0.99.20", + "derive_more 2.0.1", "either", "event-listener 5.4.0", "fnv", "futures-channel", "futures-lite 2.6.0", "futures-util", - "hashbrown 0.14.5", + "hashbrown 0.15.4", "hex", - "itertools 0.13.0", + "itertools 0.14.0", "log", "lru 0.12.5", "parking_lot 0.12.4", @@ -17388,8 +18044,8 @@ dependencies = [ "serde_json", "siphasher 1.0.1", "slab", - "smol 2.0.2", - "smoldot 0.18.0", + "smol", + "smoldot", "zeroize", ] @@ -17428,8 +18084,8 @@ dependencies = [ [[package]] name = "snowbridge-beacon-primitives" -version = "0.14.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.18.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "byte-slice-cast", "frame-support", @@ -17450,14 +18106,13 @@ dependencies = [ [[package]] name = "snowbridge-core" -version = "0.14.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.18.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bp-relayers", "frame-support", "frame-system", "hex-literal", - "log", "parity-scale-codec", "polkadot-parachain-primitives", "scale-info", @@ -17470,13 +18125,18 @@ dependencies = [ "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", + "tracing", ] [[package]] name = "snowbridge-ethereum" -version = "0.13.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.16.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ + "alloy-consensus", + "alloy-core", + "alloy-primitives 1.5.2", + "alloy-rlp", "ethabi-decode", "ethbloom", "ethereum-types", @@ -17494,17 +18154,17 @@ dependencies = [ [[package]] name = "snowbridge-inbound-queue-primitives" -version = "0.3.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.7.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "alloy-core", "alloy-primitives 0.4.2", "alloy-sol-types 0.4.2", + "assets-common", "frame-support", "frame-system", "hex-literal", "impl-trait-for-tuples", - "log", "parity-scale-codec", "scale-info", "snowbridge-beacon-primitives", @@ -17522,8 +18182,8 @@ dependencies = [ [[package]] name = "snowbridge-merkle-tree" -version = "0.3.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.6.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "parity-scale-codec", "scale-info", @@ -17548,15 +18208,14 @@ dependencies = [ [[package]] name = "snowbridge-outbound-queue-primitives" -version = "0.3.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.7.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "alloy-core", "ethabi-decode", "frame-support", "frame-system", "hex-literal", - "log", "parity-scale-codec", "polkadot-parachain-primitives", "scale-info", @@ -17570,12 +18229,13 @@ dependencies = [ "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", + "tracing", ] [[package]] name = "snowbridge-outbound-queue-runtime-api" -version = "0.14.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.18.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-support", "parity-scale-codec", @@ -17588,8 +18248,8 @@ dependencies = [ [[package]] name = "snowbridge-outbound-queue-v2-runtime-api" -version = "0.3.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.7.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-support", "parity-scale-codec", @@ -17601,14 +18261,13 @@ dependencies = [ [[package]] name = "snowbridge-pallet-ethereum-client" -version = "0.14.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.18.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "hex-literal", - "log", "pallet-timestamp", "parity-scale-codec", "scale-info", @@ -17624,12 +18283,13 @@ dependencies = [ "sp-runtime", "sp-std", "static_assertions", + "tracing", ] [[package]] name = "snowbridge-pallet-ethereum-client-fixtures" -version = "0.22.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.26.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "hex-literal", "snowbridge-beacon-primitives", @@ -17640,14 +18300,13 @@ dependencies = [ [[package]] name = "snowbridge-pallet-inbound-queue" -version = "0.14.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.18.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "alloy-core", "frame-benchmarking", "frame-support", "frame-system", - "log", "pallet-balances", "parity-scale-codec", "scale-info", @@ -17662,12 +18321,13 @@ dependencies = [ "sp-std", "staging-xcm", "staging-xcm-executor", + "tracing", ] [[package]] name = "snowbridge-pallet-inbound-queue-fixtures" -version = "0.22.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.26.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "hex-literal", "snowbridge-beacon-primitives", @@ -17679,15 +18339,14 @@ dependencies = [ [[package]] name = "snowbridge-pallet-inbound-queue-v2" -version = "0.3.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.7.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "alloy-core", "bp-relayers", "frame-benchmarking", "frame-support", "frame-system", - "log", "pallet-balances", "parity-scale-codec", "scale-info", @@ -17708,8 +18367,8 @@ dependencies = [ [[package]] name = "snowbridge-pallet-inbound-queue-v2-fixtures" -version = "0.3.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.7.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "hex-literal", "snowbridge-beacon-primitives", @@ -17721,8 +18380,8 @@ dependencies = [ [[package]] name = "snowbridge-pallet-outbound-queue" -version = "0.14.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.18.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bridge-hub-common", "ethabi-decode", @@ -17744,8 +18403,8 @@ dependencies = [ [[package]] name = "snowbridge-pallet-outbound-queue-v2" -version = "0.2.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.7.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "alloy-core", "bp-relayers", @@ -17774,13 +18433,12 @@ dependencies = [ [[package]] name = "snowbridge-pallet-system" -version = "0.14.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.18.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log", "parity-scale-codec", "scale-info", "snowbridge-core", @@ -17791,17 +18449,17 @@ dependencies = [ "sp-std", "staging-xcm", "staging-xcm-executor", + "tracing", ] [[package]] name = "snowbridge-pallet-system-v2" -version = "0.3.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.7.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log", "parity-scale-codec", "scale-info", "snowbridge-core", @@ -17818,8 +18476,8 @@ dependencies = [ [[package]] name = "snowbridge-verification-primitives" -version = "0.3.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.7.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-support", "parity-scale-codec", @@ -17849,28 +18507,13 @@ dependencies = [ "windows-sys 0.52.0", ] -[[package]] -name = "soketto" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41d1c5305e39e09653383c2c7244f2f78b3bcae37cf50c64cb4789c9f5096ec2" -dependencies = [ - "base64 0.13.1", - "bytes", - "futures 0.3.31", - "httparse", - "log", - "rand 0.8.5", - "sha-1", -] - [[package]] name = "soketto" version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2e859df029d160cb88608f5d7df7fb4753fd20fdfb4de5644f3d8b8440841721" dependencies = [ - "base64 0.22.1", + "base64", "bytes", "futures 0.3.31", "http 1.3.1", @@ -17882,8 +18525,8 @@ dependencies = [ [[package]] name = "sp-api" -version = "37.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "docify", "hash-db", @@ -17904,8 +18547,8 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" -version = "23.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "26.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "Inflector", "blake2 0.10.6", @@ -17918,8 +18561,8 @@ dependencies = [ [[package]] name = "sp-application-crypto" -version = "41.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "44.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "parity-scale-codec", "scale-info", @@ -17930,8 +18573,8 @@ dependencies = [ [[package]] name = "sp-arithmetic" -version = "27.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "docify", "integer-sqrt", @@ -17944,8 +18587,8 @@ dependencies = [ [[package]] name = "sp-authority-discovery" -version = "37.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "parity-scale-codec", "scale-info", @@ -17956,8 +18599,8 @@ dependencies = [ [[package]] name = "sp-block-builder" -version = "37.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "sp-api", "sp-inherents", @@ -17966,8 +18609,8 @@ dependencies = [ [[package]] name = "sp-blockchain" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "43.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "futures 0.3.31", "parity-scale-codec", @@ -17985,8 +18628,8 @@ dependencies = [ [[package]] name = "sp-consensus" -version = "0.43.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.46.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "futures 0.3.31", @@ -17999,8 +18642,8 @@ dependencies = [ [[package]] name = "sp-consensus-aura" -version = "0.43.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.46.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "parity-scale-codec", @@ -18015,8 +18658,8 @@ dependencies = [ [[package]] name = "sp-consensus-babe" -version = "0.43.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.46.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "parity-scale-codec", @@ -18033,8 +18676,8 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" -version = "25.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "28.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "parity-scale-codec", "scale-info", @@ -18042,7 +18685,7 @@ dependencies = [ "sp-api", "sp-application-crypto", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512)", "sp-io", "sp-keystore", "sp-mmr-primitives", @@ -18053,8 +18696,8 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" -version = "24.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "27.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "finality-grandpa", "log", @@ -18070,8 +18713,8 @@ dependencies = [ [[package]] name = "sp-consensus-slots" -version = "0.43.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.46.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "parity-scale-codec", "scale-info", @@ -18081,10 +18724,11 @@ dependencies = [ [[package]] name = "sp-core" -version = "37.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "39.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "array-bytes 6.2.3", + "bip39", "bitflags 1.3.2", "blake2 0.10.6", "bounded-collections", @@ -18100,22 +18744,20 @@ dependencies = [ "libsecp256k1", "log", "merlin", - "parity-bip39", "parity-scale-codec", "parking_lot 0.12.4", "paste", "primitive-types 0.13.1", "rand 0.8.5", "scale-info", - "schnorrkel 0.11.4", + "schnorrkel", "secp256k1 0.28.2", "secrecy 0.8.0", "serde", "sha2 0.10.9", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512)", "sp-debug-derive", "sp-externalities", - "sp-runtime-interface", "sp-std", "sp-storage", "ss58-registry", @@ -18137,45 +18779,46 @@ dependencies = [ "digest 0.10.7", "sha2 0.10.9", "sha3", - "twox-hash", + "twox-hash 1.6.3", ] [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "blake2b_simd", "byteorder", "digest 0.10.7", "sha2 0.10.9", "sha3", - "twox-hash", + "twox-hash 1.6.3", ] [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "quote", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512)", "syn 2.0.104", ] [[package]] name = "sp-database" -version = "10.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "10.0.1" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "kvdb", + "kvdb-rocksdb", "parking_lot 0.12.4", ] [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "proc-macro2", "quote", @@ -18184,8 +18827,8 @@ dependencies = [ [[package]] name = "sp-externalities" -version = "0.30.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.31.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "environmental", "parity-scale-codec", @@ -18194,8 +18837,8 @@ dependencies = [ [[package]] name = "sp-genesis-builder" -version = "0.18.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.21.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "parity-scale-codec", "scale-info", @@ -18206,8 +18849,8 @@ dependencies = [ [[package]] name = "sp-inherents" -version = "37.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -18219,8 +18862,8 @@ dependencies = [ [[package]] name = "sp-io" -version = "41.0.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "44.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bytes", "docify", @@ -18228,11 +18871,11 @@ dependencies = [ "libsecp256k1", "log", "parity-scale-codec", - "polkavm-derive 0.24.0", + "polkavm-derive", "rustversion", "secp256k1 0.28.2", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512)", "sp-externalities", "sp-keystore", "sp-runtime-interface", @@ -18245,8 +18888,8 @@ dependencies = [ [[package]] name = "sp-keyring" -version = "42.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "sp-core", "sp-runtime", @@ -18255,8 +18898,8 @@ dependencies = [ [[package]] name = "sp-keystore" -version = "0.43.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.45.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "parity-scale-codec", "parking_lot 0.12.4", @@ -18266,8 +18909,8 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" -version = "11.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "11.1.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "thiserror 1.0.69", "zstd 0.12.4", @@ -18275,18 +18918,18 @@ dependencies = [ [[package]] name = "sp-metadata-ir" -version = "0.11.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.12.1" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ - "frame-metadata 23.0.0", + "frame-metadata", "parity-scale-codec", "scale-info", ] [[package]] name = "sp-mixnet" -version = "0.15.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.18.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "parity-scale-codec", "scale-info", @@ -18296,8 +18939,8 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" -version = "37.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "log", "parity-scale-codec", @@ -18313,8 +18956,8 @@ dependencies = [ [[package]] name = "sp-npos-elections" -version = "37.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "parity-scale-codec", "scale-info", @@ -18326,8 +18969,8 @@ dependencies = [ [[package]] name = "sp-offchain" -version = "37.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "sp-api", "sp-core", @@ -18337,7 +18980,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.2" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "backtrace", "regex", @@ -18345,8 +18988,8 @@ dependencies = [ [[package]] name = "sp-rpc" -version = "35.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "37.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "rustc-hash 1.1.0", "serde", @@ -18355,10 +18998,11 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "42.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "45.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "binary-merkle-tree", + "bytes", "docify", "either", "hash256-std-hasher", @@ -18378,20 +19022,20 @@ dependencies = [ "sp-std", "sp-trie", "sp-weights", + "strum 0.26.3", "tracing", "tuplex", ] [[package]] name = "sp-runtime-interface" -version = "30.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "33.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", - "polkavm-derive 0.24.0", - "primitive-types 0.13.1", + "polkavm-derive", "sp-externalities", "sp-runtime-interface-proc-macro", "sp-std", @@ -18403,8 +19047,8 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" -version = "19.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "20.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "Inflector", "expander", @@ -18416,8 +19060,8 @@ dependencies = [ [[package]] name = "sp-session" -version = "39.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "42.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "parity-scale-codec", "scale-info", @@ -18430,8 +19074,8 @@ dependencies = [ [[package]] name = "sp-staking" -version = "39.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "42.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -18443,8 +19087,8 @@ dependencies = [ [[package]] name = "sp-state-machine" -version = "0.46.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.49.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "hash-db", "log", @@ -18463,8 +19107,8 @@ dependencies = [ [[package]] name = "sp-statement-store" -version = "21.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "aes-gcm", "curve25519-dalek", @@ -18477,7 +19121,7 @@ dependencies = [ "sp-api", "sp-application-crypto", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512)", "sp-externalities", "sp-runtime", "sp-runtime-interface", @@ -18488,12 +19132,12 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" [[package]] name = "sp-storage" version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "impl-serde", "parity-scale-codec", @@ -18504,8 +19148,8 @@ dependencies = [ [[package]] name = "sp-timestamp" -version = "37.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "parity-scale-codec", @@ -18516,20 +19160,20 @@ dependencies = [ [[package]] name = "sp-tracing" -version = "17.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "19.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "parity-scale-codec", "regex", "tracing", "tracing-core", - "tracing-subscriber", + "tracing-subscriber 0.3.19", ] [[package]] name = "sp-transaction-pool" -version = "37.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "sp-api", "sp-runtime", @@ -18537,8 +19181,8 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" -version = "37.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "40.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "parity-scale-codec", @@ -18551,11 +19195,11 @@ dependencies = [ [[package]] name = "sp-trie" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "42.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ - "ahash", - "foldhash", + "ahash 0.8.12", + "foldhash 0.1.5", "hash-db", "hashbrown 0.15.4", "memory-db", @@ -18576,8 +19220,8 @@ dependencies = [ [[package]] name = "sp-version" -version = "40.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "43.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "impl-serde", "parity-scale-codec", @@ -18594,7 +19238,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "15.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "parity-scale-codec", "proc-macro-warning", @@ -18605,8 +19249,8 @@ dependencies = [ [[package]] name = "sp-wasm-interface" -version = "22.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -18617,8 +19261,8 @@ dependencies = [ [[package]] name = "sp-weights" -version = "32.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "33.2.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -18674,21 +19318,11 @@ dependencies = [ "der", ] -[[package]] -name = "sqlformat" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7bba3a93db0cc4f7bdece8bb09e77e2e785c20bfebf79eb8340ed80708048790" -dependencies = [ - "nom", - "unicode_categories", -] - [[package]] name = "sqlx" -version = "0.7.4" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9a2ccff1a000a5a59cd33da541d9f2fdcd9e6e8229cc200565942bff36d0aaa" +checksum = "1fefb893899429669dcdd979aff487bd78f4064e5e7907e4269081e0ef7d97dc" dependencies = [ "sqlx-core", "sqlx-macros", @@ -18697,37 +19331,32 @@ dependencies = [ [[package]] name = "sqlx-core" -version = "0.7.4" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24ba59a9342a3d9bab6c56c118be528b27c9b60e490080e9711a04dccac83ef6" +checksum = "ee6798b1838b6a0f69c007c133b8df5866302197e404e8b6ee8ed3e3a5e68dc6" dependencies = [ - "ahash", - "atoi", - "byteorder", + "base64", "bytes", "crc", "crossbeam-queue", "either", - "event-listener 2.5.3", - "futures-channel", + "event-listener 5.4.0", "futures-core", "futures-intrusive", "futures-io", "futures-util", - "hashlink", - "hex", + "hashbrown 0.15.4", + "hashlink 0.10.0", "indexmap 2.9.0", "log", "memchr", "native-tls", "once_cell", - "paste", "percent-encoding", "serde", "sha2 0.10.9", "smallvec", - "sqlformat", - "thiserror 1.0.69", + "thiserror 2.0.17", "tokio", "tokio-stream", "tracing", @@ -18736,26 +19365,26 @@ dependencies = [ [[package]] name = "sqlx-macros" -version = "0.7.4" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ea40e2345eb2faa9e1e5e326db8c34711317d2b5e08d0d5741619048a803127" +checksum = "a2d452988ccaacfbf5e0bdbc348fb91d7c8af5bee192173ac3636b5fb6e6715d" dependencies = [ "proc-macro2", "quote", "sqlx-core", "sqlx-macros-core", - "syn 1.0.109", + "syn 2.0.104", ] [[package]] name = "sqlx-macros-core" -version = "0.7.4" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5833ef53aaa16d860e92123292f1f6a3d53c34ba8b1969f152ef1a7bb803f3c8" +checksum = "19a9c1841124ac5a61741f96e1d9e2ec77424bf323962dd894bdb93f37d5219b" dependencies = [ "dotenvy", "either", - "heck 0.4.1", + "heck 0.5.0", "hex", "once_cell", "proc-macro2", @@ -18765,17 +19394,16 @@ dependencies = [ "sha2 0.10.9", "sqlx-core", "sqlx-sqlite", - "syn 1.0.109", - "tempfile", + "syn 2.0.104", "tokio", "url", ] [[package]] name = "sqlx-sqlite" -version = "0.7.4" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b244ef0a8414da0bed4bb1910426e890b19e5e9bccc27ada6b797d05c55ae0aa" +checksum = "c2d12fe70b2c1b4401038055f90f151b78208de1f9f89a7dbfd41587a10c3eea" dependencies = [ "atoi", "flume 0.11.1", @@ -18788,10 +19416,11 @@ dependencies = [ "log", "percent-encoding", "serde", + "serde_urlencoded", "sqlx-core", + "thiserror 2.0.17", "tracing", "url", - "urlencoding", ] [[package]] @@ -18840,8 +19469,8 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-parachain-info" -version = "0.21.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.25.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -18854,12 +19483,12 @@ dependencies = [ [[package]] name = "staging-tracking-allocator" version = "2.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" [[package]] name = "staging-xcm" -version = "17.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "21.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "array-bytes 6.2.3", "bounded-collections", @@ -18868,19 +19497,19 @@ dependencies = [ "frame-support", "hex-literal", "impl-trait-for-tuples", - "log", "parity-scale-codec", "scale-info", "serde", "sp-runtime", "sp-weights", + "tracing", "xcm-procedural", ] [[package]] name = "staging-xcm-builder" -version = "21.1.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "25.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "environmental", "frame-support", @@ -18903,8 +19532,8 @@ dependencies = [ [[package]] name = "staging-xcm-executor" -version = "20.0.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "24.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "environmental", "frame-benchmarking", @@ -18995,7 +19624,7 @@ dependencies = [ "pallet-maintenance-mode", "pallet-message-queue", "pallet-migrations 0.1.0", - "pallet-migrations 11.0.0", + "pallet-migrations 15.0.0", "pallet-mmr", "pallet-multisig", "pallet-offences", @@ -19177,16 +19806,6 @@ dependencies = [ "thiserror 2.0.17", ] -[[package]] -name = "string-interner" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c6a0d765f5807e98a091107bae0a56ea3799f66a5de47b2c84c94a39c09974e" -dependencies = [ - "cfg-if", - "hashbrown 0.14.5", -] - [[package]] name = "strsim" version = "0.11.1" @@ -19240,11 +19859,11 @@ dependencies = [ [[package]] name = "substrate-bip39" version = "0.6.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "hmac 0.12.1", "pbkdf2", - "schnorrkel 0.11.4", + "schnorrkel", "sha2 0.10.9", "zeroize", ] @@ -19265,12 +19884,12 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "11.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" [[package]] name = "substrate-frame-rpc-system" -version = "45.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "49.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "docify", "frame-system-rpc-runtime-api", @@ -19289,8 +19908,8 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" -version = "0.17.6" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.17.7" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "http-body-util", "hyper 1.6.0", @@ -19303,8 +19922,8 @@ dependencies = [ [[package]] name = "substrate-rpc-client" -version = "0.50.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.54.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "async-trait", "jsonrpsee", @@ -19316,8 +19935,8 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" -version = "44.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "48.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -19334,7 +19953,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "array-bytes 6.2.3", "async-trait", @@ -19359,7 +19978,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime" version = "2.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "array-bytes 6.2.3", "frame-executive", @@ -19383,7 +20002,7 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-grandpa", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512)", "sp-debug-derive", "sp-externalities", "sp-genesis-builder", @@ -19405,7 +20024,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" version = "2.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "futures 0.3.31", "sc-block-builder", @@ -19422,20 +20041,20 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" -version = "27.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "31.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "array-bytes 6.2.3", "build-helper", "cargo_metadata", "console", "filetime", - "frame-metadata 23.0.0", + "frame-metadata", "jobserver", "merkleized-metadata", "parity-scale-codec", "parity-wasm", - "polkavm-linker 0.24.0", + "polkavm-linker", "sc-executor", "shlex", "sp-core", @@ -19462,22 +20081,16 @@ version = "2.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" -[[package]] -name = "subtle-ng" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "734676eb262c623cec13c3155096e08d1f8f29adce39ba17948b18dad1e54142" - [[package]] name = "subxt" -version = "0.41.0" +version = "0.43.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03459d84546def5e1d0d22b162754609f18e031522b0319b53306f5829de9c09" +checksum = "f8c6dc0f90e23c521465b8f7e026af04a48cc6f00c51d88a8d313d33096149de" dependencies = [ "async-trait", "derive-where", "either", - "frame-metadata 20.0.0", + "frame-metadata", "futures 0.3.31", "hex", "parity-scale-codec", @@ -19505,9 +20118,9 @@ dependencies = [ [[package]] name = "subxt-codegen" -version = "0.41.0" +version = "0.43.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "324c52c09919fec8c22a4b572a466878322e99fe14a9e3d50d6c3700a226ec25" +checksum = "1728caecd9700391e78cc30dc298221d6f5ca0ea28258a452aa76b0b7c229842" dependencies = [ "heck 0.5.0", "parity-scale-codec", @@ -19522,15 +20135,15 @@ dependencies = [ [[package]] name = "subxt-core" -version = "0.41.0" +version = "0.43.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66ef00be9d64885ec94e478a58e4e39d222024b20013ae7df4fc6ece545391aa" +checksum = "25338dd11ae34293b8d0c5807064f2e00194ba1bd84cccfa694030c8d185b941" dependencies = [ "base58", "blake2 0.10.6", "derive-where", "frame-decode", - "frame-metadata 20.0.0", + "frame-metadata", "hashbrown 0.14.5", "hex", "impl-serde", @@ -19552,15 +20165,15 @@ dependencies = [ [[package]] name = "subxt-lightclient" -version = "0.41.0" +version = "0.43.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce07c2515b2e63b85ec3043fe4461b287af0615d4832c2fe6e81ba780b906bc0" +checksum = "9097ef356e534ce0b6a50b95233512afc394347b971a4f929c4830adc52bbc6f" dependencies = [ "futures 0.3.31", "futures-util", "serde", "serde_json", - "smoldot-light 0.16.2", + "smoldot-light", "thiserror 2.0.17", "tokio", "tokio-stream", @@ -19569,9 +20182,9 @@ dependencies = [ [[package]] name = "subxt-macro" -version = "0.41.0" +version = "0.43.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c2c8da275a620dd676381d72395dfea91f0a6cd849665b4f1d0919371850701" +checksum = "c269228a2e5de4c0c61ed872b701967ee761df0f167d5b91ecec1185bca65793" dependencies = [ "darling 0.20.11", "parity-scale-codec", @@ -19579,18 +20192,19 @@ dependencies = [ "quote", "scale-typegen", "subxt-codegen", + "subxt-metadata", "subxt-utils-fetchmetadata", "syn 2.0.104", ] [[package]] name = "subxt-metadata" -version = "0.41.0" +version = "0.43.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fff4591673600c4388e21305788282414d26c791b4dee21b7cb0b19c10076f98" +checksum = "2c134068711c0c46906abc0e6e4911204420331530738e18ca903a5469364d9f" dependencies = [ "frame-decode", - "frame-metadata 20.0.0", + "frame-metadata", "hashbrown 0.14.5", "parity-scale-codec", "scale-info", @@ -19600,12 +20214,12 @@ dependencies = [ [[package]] name = "subxt-rpcs" -version = "0.41.0" +version = "0.43.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ba7494d250d65dc3439365ac5e8e0fbb9c3992e6e84b7aa01d69e082249b8b8" +checksum = "25de7727144780d780a6a7d78bbfd28414b8adbab68b05e87329c367d7705be4" dependencies = [ "derive-where", - "frame-metadata 20.0.0", + "frame-metadata", "futures 0.3.31", "hex", "impl-serde", @@ -19623,11 +20237,11 @@ dependencies = [ [[package]] name = "subxt-signer" -version = "0.41.0" +version = "0.43.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a2370298a210ed1df26152db7209a85e0ed8cfbce035309c3b37f7b61755377" +checksum = "9a9bd240ae819f64ac6898d7ec99a88c8b838dba2fb9d83b843feb70e77e34c8" dependencies = [ - "base64 0.22.1", + "base64", "bip32", "bip39", "cfg-if", @@ -19638,7 +20252,7 @@ dependencies = [ "parity-scale-codec", "pbkdf2", "regex", - "schnorrkel 0.11.4", + "schnorrkel", "scrypt", "secp256k1 0.30.0", "secrecy 0.10.3", @@ -19653,9 +20267,9 @@ dependencies = [ [[package]] name = "subxt-utils-fetchmetadata" -version = "0.41.0" +version = "0.43.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc868b55fe2303788dc7703457af390111940c3da4714b510983284501780ed5" +checksum = "8c4fb8fd6b16ecd3537a29d70699f329a68c1e47f70ed1a46d64f76719146563" dependencies = [ "hex", "parity-scale-codec", @@ -19680,7 +20294,7 @@ version = "12.15.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9f66537def48fbc704a92e4fdaab7833bc7cb2255faca8182592fb5fa617eb82" dependencies = [ - "cpp_demangle 0.4.4", + "cpp_demangle", "rustc-demangle", "symbolic-common", ] @@ -19971,6 +20585,7 @@ dependencies = [ "pyroscope_pprofrs", "sc-cli", "sc-executor", + "sc-network", "sc-service", "sc-storage-monitor", "sc-sysinfo", @@ -20029,7 +20644,7 @@ dependencies = [ "pallet-transaction-payment", "pallet-transaction-payment-rpc", "pallet-transaction-payment-rpc-runtime-api", - "parity-db", + "parity-db 0.4.13", "parity-scale-codec", "parking_lot 0.12.4", "polkadot-approval-distribution", @@ -20206,9 +20821,9 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "target-lexicon" -version = "0.12.16" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" +checksum = "b1dd07eb858a2067e2f3c7155d54e929265c264e6f37efe3ee7a8d1b5a1dd0ba" [[package]] name = "tc-consensus" @@ -20243,6 +20858,7 @@ dependencies = [ "polkadot-overseer", "polkadot-parachain-primitives", "polkadot-primitives", + "sc-basic-authorship", "sc-block-builder", "sc-client-api", "sc-consensus", @@ -20251,6 +20867,7 @@ dependencies = [ "sc-consensus-slots", "sc-keystore", "sc-network-test", + "sc-network-types", "sc-telemetry", "sc-transaction-pool", "sc-transaction-pool-api", @@ -20530,7 +21147,7 @@ checksum = "8f50febec83f5ee1df3015341d8bd429f2d1cc62bcba7ea2076759d315084683" [[package]] name = "test-relay-sproof-builder" version = "0.1.0" -source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2506#ea3f44b87dd273cc82b84cebffd4bf2085487d5a" +source = "git+https://github.com/moondance-labs/dancekit?branch=tanssi-polkadot-stable2512#df20d556af96d852f85b1ec34903f849b9e2788c" dependencies = [ "cumulus-primitives-core", "dp-collator-assignment", @@ -20560,26 +21177,6 @@ dependencies = [ "thiserror-impl 2.0.17", ] -[[package]] -name = "thiserror-core" -version = "1.0.50" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c001ee18b7e5e3f62cbf58c7fe220119e68d902bb7443179c0c8aef30090e999" -dependencies = [ - "thiserror-core-impl", -] - -[[package]] -name = "thiserror-core-impl" -version = "1.0.50" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4c60d69f36615a077cc7663b9cb8e42275722d23e58a7fa3d2c7f2915d09d04" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.104", -] - [[package]] name = "thiserror-impl" version = "1.0.69" @@ -20628,9 +21225,9 @@ dependencies = [ [[package]] name = "tikv-jemalloc-ctl" -version = "0.5.4" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "619bfed27d807b54f7f776b9430d4f8060e66ee138a28632ca898584d462c31c" +checksum = "661f1f6a57b3a36dc9174a2c10f19513b4866816e13425d3e418b11cc37bc24c" dependencies = [ "libc", "paste", @@ -20639,9 +21236,9 @@ dependencies = [ [[package]] name = "tikv-jemalloc-sys" -version = "0.5.4+5.3.0-patched" +version = "0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9402443cb8fd499b6f327e40565234ff34dbda27460c5b47db0db77443dd85d1" +checksum = "cd8aa5b2ab86a2cefa406d889139c162cbb230092f7d1d7cbc1716405d852a3b" dependencies = [ "cc", "libc", @@ -20649,9 +21246,9 @@ dependencies = [ [[package]] name = "tikv-jemallocator" -version = "0.5.4" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "965fe0c26be5c56c94e38ba547249074803efd52adfb66de62107d95aab3eaca" +checksum = "0359b4327f954e0567e69fb191cf1436617748813819c94b8cd4a431422d053a" dependencies = [ "libc", "tikv-jemalloc-sys", @@ -21184,8 +21781,8 @@ dependencies = [ [[package]] name = "tracing-gum" -version = "20.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "23.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "coarsetime", "polkadot-primitives", @@ -21196,7 +21793,7 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" version = "5.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "expander", "proc-macro-crate 3.3.0", @@ -21211,11 +21808,22 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" dependencies = [ + "ahash 0.7.8", "log", + "lru 0.7.8", "once_cell", "tracing-core", ] +[[package]] +name = "tracing-subscriber" +version = "0.2.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e0d2eaa99c3c2e41547cfa109e910a68ea03823cccad4a0525dcbc9b01e8c71" +dependencies = [ + "tracing-core", +] + [[package]] name = "tracing-subscriber" version = "0.3.19" @@ -21307,6 +21915,12 @@ dependencies = [ "static_assertions", ] +[[package]] +name = "twox-hash" +version = "2.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ea3136b675547379c4bd395ca6b938e5ad3c3d20fad76e7fe85f9e0d011419c" + [[package]] name = "typenum" version = "1.18.0" @@ -21382,12 +21996,6 @@ version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" -[[package]] -name = "unicode_categories" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39ec24b3121d976906ece63c9daad25b85969647682eee313cb5779fdd69e14e" - [[package]] name = "universal-hash" version = "0.5.1" @@ -21443,12 +22051,6 @@ dependencies = [ "percent-encoding", ] -[[package]] -name = "urlencoding" -version = "2.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da" - [[package]] name = "utf-8" version = "0.7.6" @@ -21522,11 +22124,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6bfb937b3d12077654a9e43e32a4e9c20177dd9fea0f3aba673e7840bb54f32" dependencies = [ "ark-bls12-377", - "ark-bls12-381", - "ark-ec", + "ark-bls12-381 0.4.0", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-serialize 0.4.2", - "ark-serialize-derive", + "ark-serialize-derive 0.4.2", "arrayref", "digest 0.10.7", "rand 0.8.5", @@ -21666,6 +22268,16 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "wasm-encoder" +version = "0.235.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b3bc393c395cb621367ff02d854179882b9a351b4e0c93d1397e6090b53a5c2a" +dependencies = [ + "leb128fmt", + "wasmparser 0.235.0", +] + [[package]] name = "wasm-instrument" version = "0.4.0" @@ -21732,287 +22344,301 @@ dependencies = [ [[package]] name = "wasmi" -version = "0.31.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77a8281d1d660cdf54c76a3efa9ddd0c270cada1383a995db3ccb43d166456c7" -dependencies = [ - "smallvec", - "spin 0.9.8", - "wasmi_arena", - "wasmi_core 0.13.0", - "wasmparser-nostd", -] - -[[package]] -name = "wasmi" -version = "0.32.3" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50386c99b9c32bd2ed71a55b6dd4040af2580530fae8bdb9a6576571a80d0cca" +checksum = "a19af97fcb96045dd1d6b4d23e2b4abdbbe81723dbc5c9f016eb52145b320063" dependencies = [ "arrayvec 0.7.6", "multi-stash", - "num-derive", - "num-traits", "smallvec", "spin 0.9.8", "wasmi_collections", - "wasmi_core 0.32.3", - "wasmparser-nostd", + "wasmi_core", + "wasmi_ir", + "wasmparser 0.221.3", ] [[package]] -name = "wasmi_arena" -version = "0.4.1" +name = "wasmi_collections" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "104a7f73be44570cac297b3035d76b169d6599637631cf37a1703326a0727073" +checksum = "e80d6b275b1c922021939d561574bf376613493ae2b61c6963b15db0e8813562" [[package]] -name = "wasmi_collections" -version = "0.32.3" +name = "wasmi_core" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c128c039340ffd50d4195c3f8ce31aac357f06804cfc494c8b9508d4b30dca4" +checksum = "3a8c51482cc32d31c2c7ff211cd2bedd73c5bd057ba16a2ed0110e7a96097c33" dependencies = [ - "ahash", - "hashbrown 0.14.5", - "string-interner", + "downcast-rs", + "libm", ] [[package]] -name = "wasmi_core" -version = "0.13.0" +name = "wasmi_ir" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcf1a7db34bff95b85c261002720c00c3a6168256dcb93041d3fa2054d19856a" +checksum = "6e431a14c186db59212a88516788bd68ed51f87aa1e08d1df742522867b5289a" dependencies = [ - "downcast-rs", - "libm", - "num-traits", - "paste", + "wasmi_core", ] [[package]] -name = "wasmi_core" -version = "0.32.3" +name = "wasmparser" +version = "0.221.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a23b3a7f6c8c3ceeec6b83531ee61f0013c56e51cbf2b14b0f213548b23a4b41" +checksum = "d06bfa36ab3ac2be0dee563380147a5b81ba10dd8885d7fbbc9eb574be67d185" dependencies = [ - "downcast-rs", - "libm", - "num-traits", - "paste", + "bitflags 2.9.1", ] [[package]] name = "wasmparser" -version = "0.102.0" +version = "0.235.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48134de3d7598219ab9eaf6b91b15d8e50d31da76b8519fe4ecfcec2cf35104b" +checksum = "161296c618fa2d63f6ed5fffd1112937e803cb9ec71b32b01a76321555660917" dependencies = [ - "indexmap 1.9.3", - "url", + "bitflags 2.9.1", + "hashbrown 0.15.4", + "indexmap 2.9.0", + "semver 1.0.26", + "serde", ] [[package]] -name = "wasmparser-nostd" -version = "0.100.2" +name = "wasmprinter" +version = "0.235.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5a015fe95f3504a94bb1462c717aae75253e39b9dd6c3fb1062c934535c64aa" +checksum = "75aa8e9076de6b9544e6dab4badada518cca0bf4966d35b131bbd057aed8fa0a" dependencies = [ - "indexmap-nostd", + "anyhow", + "termcolor", + "wasmparser 0.235.0", ] [[package]] name = "wasmtime" -version = "8.0.1" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f907fdead3153cb9bfb7a93bbd5b62629472dc06dee83605358c64c52ed3dda9" +checksum = "b6fe976922a16af3b0d67172c473d1fd4f1aa5d0af9c8ba6538c741f3af686f4" dependencies = [ + "addr2line", "anyhow", - "bincode", + "bitflags 2.9.1", + "bumpalo", + "cc", "cfg-if", - "indexmap 1.9.3", + "fxprof-processed-profile", + "gimli", + "hashbrown 0.15.4", + "indexmap 2.9.0", + "ittapi", "libc", "log", - "object 0.30.4", + "mach2", + "memfd", + "object", "once_cell", - "paste", - "psm", + "postcard", + "pulley-interpreter", "rayon", + "rustix 1.0.7", "serde", + "serde_derive", + "serde_json", + "smallvec", "target-lexicon", - "wasmparser", - "wasmtime-cache", - "wasmtime-cranelift", + "wasmparser 0.235.0", "wasmtime-environ", - "wasmtime-jit", - "wasmtime-runtime", - "windows-sys 0.45.0", + "wasmtime-internal-asm-macros", + "wasmtime-internal-cache", + "wasmtime-internal-cranelift", + "wasmtime-internal-fiber", + "wasmtime-internal-jit-debug", + "wasmtime-internal-jit-icache-coherence", + "wasmtime-internal-math", + "wasmtime-internal-slab", + "wasmtime-internal-unwinder", + "wasmtime-internal-versioned-export-macros", + "wasmtime-internal-winch", + "windows-sys 0.59.0", +] + +[[package]] +name = "wasmtime-environ" +version = "35.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44b6264a78d806924abbc76bbc75eac24976bc83bdfb938e5074ae551242436f" +dependencies = [ + "anyhow", + "cpp_demangle", + "cranelift-bitset", + "cranelift-entity", + "gimli", + "indexmap 2.9.0", + "log", + "object", + "postcard", + "rustc-demangle", + "serde", + "serde_derive", + "smallvec", + "target-lexicon", + "wasm-encoder", + "wasmparser 0.235.0", + "wasmprinter", ] [[package]] -name = "wasmtime-asm-macros" -version = "8.0.1" +name = "wasmtime-internal-asm-macros" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3b9daa7c14cd4fa3edbf69de994408d5f4b7b0959ac13fa69d465f6597f810d" +checksum = "6775a9b516559716e5710e95a8014ca0adcc81e5bf4d3ad7899d89ae40094d1a" dependencies = [ "cfg-if", ] [[package]] -name = "wasmtime-cache" -version = "8.0.1" +name = "wasmtime-internal-cache" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c86437fa68626fe896e5afc69234bb2b5894949083586535f200385adfd71213" +checksum = "138e33ad4bd120f3b1c77d6d0dcdce0de8239555495befcda89393a40ba5e324" dependencies = [ "anyhow", - "base64 0.21.7", - "bincode", + "base64", "directories-next", - "file-per-thread-logger", "log", - "rustix 0.36.17", + "postcard", + "rustix 1.0.7", "serde", + "serde_derive", "sha2 0.10.9", - "toml 0.5.11", - "windows-sys 0.45.0", - "zstd 0.11.2+zstd.1.5.2", + "toml 0.8.23", + "windows-sys 0.59.0", + "zstd 0.13.3", ] [[package]] -name = "wasmtime-cranelift" -version = "8.0.1" +name = "wasmtime-internal-cranelift" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1cefde0cce8cb700b1b21b6298a3837dba46521affd7b8c38a9ee2c869eee04" +checksum = "7ec9ad7565e6a8de7cb95484e230ff689db74a4a085219e0da0cbd637a29c01c" dependencies = [ "anyhow", + "cfg-if", "cranelift-codegen", + "cranelift-control", "cranelift-entity", "cranelift-frontend", "cranelift-native", - "cranelift-wasm", - "gimli 0.27.3", + "gimli", + "itertools 0.14.0", "log", - "object 0.30.4", + "object", + "pulley-interpreter", + "smallvec", "target-lexicon", - "thiserror 1.0.69", - "wasmparser", - "wasmtime-cranelift-shared", + "thiserror 2.0.17", + "wasmparser 0.235.0", "wasmtime-environ", + "wasmtime-internal-math", + "wasmtime-internal-versioned-export-macros", ] [[package]] -name = "wasmtime-cranelift-shared" -version = "8.0.1" +name = "wasmtime-internal-fiber" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd041e382ef5aea1b9fc78442394f1a4f6d676ce457e7076ca4cb3f397882f8b" +checksum = "8b636ff8b220ebaf29dfe3b23770e4b2bad317b9683e3bf7345e162387385b39" dependencies = [ "anyhow", - "cranelift-codegen", - "cranelift-native", - "gimli 0.27.3", - "object 0.30.4", - "target-lexicon", - "wasmtime-environ", + "cc", + "cfg-if", + "libc", + "rustix 1.0.7", + "wasmtime-internal-asm-macros", + "wasmtime-internal-versioned-export-macros", + "windows-sys 0.59.0", ] [[package]] -name = "wasmtime-environ" -version = "8.0.1" +name = "wasmtime-internal-jit-debug" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a990198cee4197423045235bf89d3359e69bd2ea031005f4c2d901125955c949" +checksum = "61d8693995ab3df48e88777b6ee3b2f441f2c4f895ab938996cdac3db26f256c" dependencies = [ - "anyhow", - "cranelift-entity", - "gimli 0.27.3", - "indexmap 1.9.3", - "log", - "object 0.30.4", - "serde", - "target-lexicon", - "thiserror 1.0.69", - "wasmparser", - "wasmtime-types", + "cc", + "object", + "rustix 1.0.7", + "wasmtime-internal-versioned-export-macros", ] [[package]] -name = "wasmtime-jit" -version = "8.0.1" +name = "wasmtime-internal-jit-icache-coherence" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0de48df552cfca1c9b750002d3e07b45772dd033b0b206d5c0968496abf31244" +checksum = "4417e06b7f80baff87d9770852c757a39b8d7f11d78b2620ca992b8725f16f50" dependencies = [ - "addr2line 0.19.0", "anyhow", - "bincode", "cfg-if", - "cpp_demangle 0.3.5", - "gimli 0.27.3", - "log", - "object 0.30.4", - "rustc-demangle", - "serde", - "target-lexicon", - "wasmtime-environ", - "wasmtime-jit-debug", - "wasmtime-jit-icache-coherence", - "wasmtime-runtime", - "windows-sys 0.45.0", + "libc", + "windows-sys 0.59.0", ] [[package]] -name = "wasmtime-jit-debug" -version = "8.0.1" +name = "wasmtime-internal-math" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e0554b84c15a27d76281d06838aed94e13a77d7bf604bbbaf548aa20eb93846" +checksum = "7710d5c4ecdaa772927fd11e5dc30a9a62d1fc8fe933e11ad5576ad596ab6612" dependencies = [ - "object 0.30.4", - "once_cell", - "rustix 0.36.17", + "libm", ] [[package]] -name = "wasmtime-jit-icache-coherence" -version = "8.0.1" +name = "wasmtime-internal-slab" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aecae978b13f7f67efb23bd827373ace4578f2137ec110bbf6a4a7cde4121bbd" -dependencies = [ - "cfg-if", - "libc", - "windows-sys 0.45.0", -] +checksum = "e6ab22fabe1eed27ab01fd47cd89deacf43ad222ed7fd169ba6f4dd1fbddc53b" [[package]] -name = "wasmtime-runtime" -version = "8.0.1" +name = "wasmtime-internal-unwinder" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "658cf6f325232b6760e202e5255d823da5e348fdea827eff0a2a22319000b441" +checksum = "307708f302f5dcf19c1bbbfb3d9f2cbc837dd18088a7988747b043a46ba38ecc" dependencies = [ "anyhow", - "cc", "cfg-if", - "indexmap 1.9.3", - "libc", + "cranelift-codegen", "log", - "mach", - "memfd", - "memoffset", - "paste", - "rand 0.8.5", - "rustix 0.36.17", - "wasmtime-asm-macros", - "wasmtime-environ", - "wasmtime-jit-debug", - "windows-sys 0.45.0", + "object", ] [[package]] -name = "wasmtime-types" -version = "8.0.1" +name = "wasmtime-internal-versioned-export-macros" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4f6fffd2a1011887d57f07654dd112791e872e3ff4a2e626aee8059ee17f06f" +checksum = "342b0466f92b7217a4de9e114175fedee1907028567d2548bcd42f71a8b5b016" dependencies = [ - "cranelift-entity", - "serde", - "thiserror 1.0.69", - "wasmparser", + "proc-macro2", + "quote", + "syn 2.0.104", +] + +[[package]] +name = "wasmtime-internal-winch" +version = "35.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2012e7384c25b91aab2f1b6a1e1cbab9d0f199bbea06cc873597a3f047f05730" +dependencies = [ + "anyhow", + "cranelift-codegen", + "gimli", + "object", + "target-lexicon", + "wasmparser 0.235.0", + "wasmtime-environ", + "wasmtime-internal-cranelift", + "winch-codegen", ] [[package]] @@ -22091,8 +22717,8 @@ dependencies = [ [[package]] name = "westend-runtime" -version = "24.0.1" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "30.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "binary-merkle-tree", "bitvec", @@ -22125,7 +22751,7 @@ dependencies = [ "pallet-indices", "pallet-message-queue", "pallet-meta-tx", - "pallet-migrations 11.0.0", + "pallet-migrations 15.0.0", "pallet-mmr", "pallet-multisig", "pallet-nomination-pools", @@ -22138,6 +22764,7 @@ dependencies = [ "pallet-proxy", "pallet-recovery", "pallet-referenda", + "pallet-root-offences", "pallet-root-testing", "pallet-scheduler", "pallet-session", @@ -22198,8 +22825,8 @@ dependencies = [ [[package]] name = "westend-runtime-constants" -version = "21.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "25.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-support", "polkadot-primitives", @@ -22275,6 +22902,26 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +[[package]] +name = "winch-codegen" +version = "35.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "839a334ef7c62d8368dbd427e767a6fbb1ba08cc12ecce19cbb666c10613b585" +dependencies = [ + "anyhow", + "cranelift-assembler-x64", + "cranelift-codegen", + "gimli", + "regalloc2 0.12.2", + "smallvec", + "target-lexicon", + "thiserror 2.0.17", + "wasmparser 0.235.0", + "wasmtime-environ", + "wasmtime-internal-cranelift", + "wasmtime-internal-math", +] + [[package]] name = "windows" version = "0.52.0" @@ -22786,7 +23433,7 @@ dependencies = [ "data-encoding", "der-parser 9.0.0", "lazy_static", - "nom", + "nom 7.1.3", "oid-registry 0.7.1", "rusticata-macros", "thiserror 1.0.69", @@ -22803,7 +23450,7 @@ dependencies = [ "data-encoding", "der-parser 10.0.0", "lazy_static", - "nom", + "nom 7.1.3", "oid-registry 0.8.1", "rusticata-macros", "thiserror 2.0.17", @@ -22812,8 +23459,8 @@ dependencies = [ [[package]] name = "xcm-emulator" -version = "0.20.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.25.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "array-bytes 6.2.3", "cumulus-pallet-parachain-system", @@ -22823,7 +23470,7 @@ dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", - "log", + "pallet-aura", "pallet-balances", "pallet-message-queue", "pallet-timestamp", @@ -22835,21 +23482,21 @@ dependencies = [ "polkadot-runtime-parachains", "sp-arithmetic", "sp-consensus-aura", - "sp-consensus-slots", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512)", "sp-io", "sp-runtime", "sp-tracing", "staging-xcm", "staging-xcm-executor", + "tracing", "xcm-simulator", ] [[package]] name = "xcm-primitives" version = "0.1.0" -source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2506#5641a3b7cf971235ce7bd889705d0d23ef8feded" +source = "git+https://github.com/moondance-labs/moonkit?branch=tanssi-polkadot-stable2512#0fec9fd01f209c7352090d061c6383414f6762c3" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -22865,7 +23512,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "11.0.2" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "Inflector", "proc-macro2", @@ -22875,8 +23522,8 @@ dependencies = [ [[package]] name = "xcm-runtime-apis" -version = "0.8.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "0.12.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-support", "parity-scale-codec", @@ -22889,8 +23536,8 @@ dependencies = [ [[package]] name = "xcm-simulator" -version = "21.0.0" -source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2506#438e465727fbaa699a53c49161cb6af17764e362" +version = "25.0.0" +source = "git+https://github.com/moondance-labs/polkadot-sdk?branch=tanssi-polkadot-stable2512#afb5dc300ecda3d92320f3cf4d0f28aac5e856c5" dependencies = [ "frame-support", "frame-system", @@ -23089,27 +23736,27 @@ dependencies = [ [[package]] name = "zstd" -version = "0.11.2+zstd.1.5.2" +version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4" +checksum = "1a27595e173641171fc74a1232b7b1c7a7cb6e18222c11e9dfb9888fa424c53c" dependencies = [ - "zstd-safe 5.0.2+zstd.1.5.2", + "zstd-safe 6.0.6", ] [[package]] name = "zstd" -version = "0.12.4" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a27595e173641171fc74a1232b7b1c7a7cb6e18222c11e9dfb9888fa424c53c" +checksum = "e91ee311a569c327171651566e07972200e76fcfe2242a4fa446149a3881c08a" dependencies = [ - "zstd-safe 6.0.6", + "zstd-safe 7.2.4", ] [[package]] name = "zstd-safe" -version = "5.0.2+zstd.1.5.2" +version = "6.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db" +checksum = "ee98ffd0b48ee95e6c5168188e44a54550b1564d9d530ee21d5f0eaed1069581" dependencies = [ "libc", "zstd-sys", @@ -23117,11 +23764,10 @@ dependencies = [ [[package]] name = "zstd-safe" -version = "6.0.6" +version = "7.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee98ffd0b48ee95e6c5168188e44a54550b1564d9d530ee21d5f0eaed1069581" +checksum = "8f49c4d5f0abb602a93fb8736af2a4f4dd9512e36f7f570d66e65ff867ed3b9d" dependencies = [ - "libc", "zstd-sys", ] diff --git a/Cargo.toml b/Cargo.toml index 66535fa3f1..7b4a12ce73 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -163,246 +163,246 @@ tp-xcm-commons = { path = "primitives/xcm-commons", default-features = false } tp-xcm-core-buyer = { path = "primitives/xcm-core-buyer", default-features = false } # Dancekit (wasm) -ccp-authorities-noting-inherent = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2506", default-features = false } -ccp-xcm = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2506", default-features = false } -dp-chain-state-snapshot = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2506", default-features = false } -dp-collator-assignment = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2506", default-features = false } -dp-consensus = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2506", default-features = false } -dp-core = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2506", default-features = false } -dp-impl-tanssi-pallets-config = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2506", default-features = false } -dp-slot-duration-runtime-api = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2506", default-features = false } -dp-xcm-reserve = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-cc-authorities-noting = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-xcm-executor-utils = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2506", default-features = false } -test-relay-sproof-builder = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2506", default-features = false } - -dp-container-chain-genesis-data = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2506", default-features = false } +ccp-authorities-noting-inherent = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2512", default-features = false } +ccp-xcm = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2512", default-features = false } +dp-chain-state-snapshot = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2512", default-features = false } +dp-collator-assignment = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2512", default-features = false } +dp-consensus = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2512", default-features = false } +dp-core = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2512", default-features = false } +dp-impl-tanssi-pallets-config = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2512", default-features = false } +dp-slot-duration-runtime-api = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2512", default-features = false } +dp-xcm-reserve = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-cc-authorities-noting = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-xcm-executor-utils = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2512", default-features = false } +test-relay-sproof-builder = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2512", default-features = false } + +dp-container-chain-genesis-data = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2512", default-features = false } # Dancekit (client) -dc-orchestrator-chain-interface = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2506" } +dc-orchestrator-chain-interface = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2512" } # Moonkit (wasm) -async-backing-primitives = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } -nimbus-consensus = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506" } -nimbus-primitives = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-async-backing = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-author-inherent = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-evm-precompile-balances-erc20 = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-evm-precompile-batch = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-evm-precompile-call-permit = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-evm-precompile-proxy = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-evm-precompile-xcm = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-evm-precompile-xcm-utils = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-evm-precompileset-assets-erc20 = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-foreign-asset-creator = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-maintenance-mode = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-migrations = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-relay-storage-roots = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } -xcm-primitives = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2506", default-features = false } +async-backing-primitives = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2512", default-features = false } +nimbus-consensus = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2512" } +nimbus-primitives = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-async-backing = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-author-inherent = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-evm-precompile-balances-erc20 = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-evm-precompile-batch = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-evm-precompile-call-permit = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-evm-precompile-proxy = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-evm-precompile-xcm = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-evm-precompile-xcm-utils = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-evm-precompileset-assets-erc20 = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-foreign-asset-creator = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-maintenance-mode = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-migrations = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-relay-storage-roots = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2512", default-features = false } +xcm-primitives = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-stable2512", default-features = false } # Substrate (wasm) -frame-benchmarking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -frame-executive = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -frame-metadata-hash-extension = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -frame-support = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -frame-system = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -frame-system-benchmarking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -frame-try-runtime = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-asset-rate = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-assets = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-balances = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-identity = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-message-queue = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-multiblock-migrations = { package = "pallet-migrations", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-multisig = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-parameters = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-proxy = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-root-testing = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-session = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-staking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-sudo = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-timestamp = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-transaction-payment = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-treasury = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-tx-pause = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-utility = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +frame-benchmarking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +frame-executive = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +frame-metadata-hash-extension = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +frame-support = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +frame-system = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +frame-system-benchmarking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +frame-try-runtime = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-asset-rate = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-assets = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-balances = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-identity = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-message-queue = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-multiblock-migrations = { package = "pallet-migrations", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-multisig = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-parameters = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-proxy = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-root-testing = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-session = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-staking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-sudo = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-timestamp = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-transaction-payment = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-treasury = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-tx-pause = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-utility = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } parity-scale-codec = { version = "3.0.0", default-features = false, features = [ "derive", "max-encoded-len" ] } -sc-rpc-spec-v2 = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sc-rpc-spec-v2 = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } scale-info = { version = "2.10.0", default-features = false } -sp-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-application-crypto = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-block-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-consensus = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-consensus-aura = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-consensus-babe = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-consensus-beefy = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-consensus-slots = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-core = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-debug-derive = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-inherents = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-io = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-keyring = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-offchain = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-panic-handler = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-runtime = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-session = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-state-machine = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-transaction-pool = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-trie = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-version = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +sp-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-application-crypto = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-block-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-consensus = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-consensus-aura = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-consensus-babe = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-consensus-beefy = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-consensus-slots = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-core = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-debug-derive = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-inherents = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-io = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-keyring = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-offchain = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-panic-handler = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-runtime = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-session = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-state-machine = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-transaction-pool = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-trie = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-version = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } # Substrate (client) -frame-benchmarking-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -pallet-transaction-payment-rpc = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sc-basic-authorship = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -sc-block-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -sc-chain-spec = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -sc-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -sc-client-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -sc-consensus = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -sc-consensus-aura = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -sc-consensus-grandpa = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -sc-consensus-manual-seal = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -sc-consensus-slots = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -sc-executor = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -sc-keystore = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -sc-network = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -sc-network-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -sc-network-sync = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -sc-network-test = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -sc-network-transactions = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -sc-offchain = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -sc-rpc = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -sc-rpc-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sc-service = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -sc-sysinfo = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -sc-telemetry = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -sc-tracing = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -sc-transaction-pool = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -sc-transaction-pool-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -sc-utils = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -sp-blockchain = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -sp-externalities = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-genesis-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-keystore = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-staking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-storage = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-timestamp = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -substrate-build-script-utils = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -substrate-frame-rpc-system = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -substrate-prometheus-endpoint = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -substrate-test-runtime = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -substrate-test-runtime-client = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -substrate-wasm-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +frame-benchmarking-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +pallet-transaction-payment-rpc = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sc-basic-authorship = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +sc-block-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +sc-chain-spec = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +sc-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +sc-client-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +sc-consensus = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +sc-consensus-aura = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +sc-consensus-grandpa = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +sc-consensus-manual-seal = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +sc-consensus-slots = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +sc-executor = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +sc-keystore = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +sc-network = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +sc-network-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +sc-network-sync = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +sc-network-test = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +sc-network-transactions = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +sc-network-types = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +sc-offchain = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +sc-rpc = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +sc-rpc-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sc-service = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +sc-sysinfo = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +sc-telemetry = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +sc-tracing = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +sc-transaction-pool = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +sc-transaction-pool-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +sc-utils = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +sp-blockchain = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +sp-externalities = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-genesis-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-keystore = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-staking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-storage = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-timestamp = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +substrate-build-script-utils = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +substrate-frame-rpc-system = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +substrate-prometheus-endpoint = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +substrate-test-runtime = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +substrate-test-runtime-client = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +substrate-wasm-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } # Polkadot (wasm) -pallet-xcm = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-xcm-benchmarks = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-core-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-node-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-parachain-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-runtime-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-runtime-parachains = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -rococo-runtime = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -rococo-runtime-constants = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -westend-runtime = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -westend-runtime-constants = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -xcm-runtime-apis = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +pallet-xcm = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-xcm-benchmarks = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-core-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-node-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-parachain-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-runtime-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-runtime-parachains = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +rococo-runtime = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +rococo-runtime-constants = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +westend-runtime = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +westend-runtime-constants = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +xcm-runtime-apis = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } # Bridges (wasm) alloy-core = { version = "1.1.0", default-features = false } alloy-sol-types = { version = "0.4.2", default-features = false } milagro-bls = { package = "snowbridge-milagro-bls", version = "1.5.4", default-features = false } -snowbridge-beacon-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -snowbridge-core = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -snowbridge-inbound-queue-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -snowbridge-merkle-tree = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -snowbridge-outbound-queue-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -snowbridge-outbound-queue-runtime-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -snowbridge-pallet-ethereum-client = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -snowbridge-pallet-inbound-queue = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -snowbridge-pallet-inbound-queue-fixtures = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -snowbridge-pallet-outbound-queue = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -snowbridge-pallet-system = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -snowbridge-verification-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +snowbridge-beacon-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +snowbridge-core = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +snowbridge-inbound-queue-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +snowbridge-merkle-tree = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +snowbridge-outbound-queue-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +snowbridge-outbound-queue-runtime-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +snowbridge-pallet-ethereum-client = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +snowbridge-pallet-inbound-queue = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +snowbridge-pallet-inbound-queue-fixtures = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +snowbridge-pallet-outbound-queue = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +snowbridge-pallet-system = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +snowbridge-verification-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } # Bridges v2 (wasm) -bp-relayers = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -bridge-hub-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-bridge-relayers = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -snowbridge-outbound-queue-v2-runtime-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -snowbridge-pallet-inbound-queue-v2 = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -snowbridge-pallet-inbound-queue-v2-fixtures = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -snowbridge-pallet-outbound-queue-v2 = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -snowbridge-pallet-system-v2 = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +bp-relayers = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +bridge-hub-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-bridge-relayers = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +snowbridge-outbound-queue-v2-runtime-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +snowbridge-pallet-inbound-queue-v2 = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +snowbridge-pallet-inbound-queue-v2-fixtures = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +snowbridge-pallet-outbound-queue-v2 = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +snowbridge-pallet-system-v2 = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } # Polkadot (client) -polkadot-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -polkadot-node-subsystem = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -polkadot-overseer = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -polkadot-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-service = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } +polkadot-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +polkadot-node-subsystem = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +polkadot-overseer = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +polkadot-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-service = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } # Cumulus (wasm) -cumulus-pallet-parachain-system = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -cumulus-pallet-session-benchmarking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -cumulus-primitives-core = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -parachain-info = { package = "staging-parachain-info", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -parachains-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +cumulus-pallet-session-benchmarking = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +cumulus-primitives-core = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +parachain-info = { package = "staging-parachain-info", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +parachains-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } # Cumulus (client) -assets-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -cumulus-client-bootnodes = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -cumulus-client-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -cumulus-client-collator = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -cumulus-client-consensus-aura = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -cumulus-client-consensus-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -cumulus-client-consensus-proposer = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -cumulus-client-network = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -cumulus-client-parachain-inherent = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -cumulus-client-pov-recovery = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -cumulus-client-service = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -cumulus-pallet-weight-reclaim = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -cumulus-primitives-parachain-inherent = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -cumulus-relay-chain-interface = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -cumulus-test-relay-sproof-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -emulated-integration-tests-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506" } -xcm-emulator = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +assets-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +cumulus-client-bootnodes = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +cumulus-client-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +cumulus-client-collator = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +cumulus-client-consensus-aura = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +cumulus-client-consensus-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +cumulus-client-consensus-proposer = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +cumulus-client-network = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +cumulus-client-parachain-inherent = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +cumulus-client-pov-recovery = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +cumulus-client-service = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +cumulus-pallet-weight-reclaim = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +cumulus-primitives-parachain-inherent = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +cumulus-relay-chain-interface = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +cumulus-test-relay-sproof-builder = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +emulated-integration-tests-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512" } +xcm-emulator = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } # Frontier (wasm) -fp-account = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } -fp-evm = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } -fp-rpc = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } -fp-self-contained = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-base-fee = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-ethereum = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-evm = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-evm-chain-id = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-evm-precompile-modexp = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-evm-precompile-sha3fips = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-evm-precompile-sha3fips-benchmarking = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-evm-precompile-simple = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } -precompile-utils = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } +fp-account = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2512", default-features = false } +fp-evm = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2512", default-features = false } +fp-rpc = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2512", default-features = false } +fp-self-contained = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-base-fee = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-ethereum = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-evm = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-evm-chain-id = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-evm-precompile-modexp = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-evm-precompile-sha3fips = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-evm-precompile-sha3fips-benchmarking = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-evm-precompile-simple = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2512", default-features = false } +precompile-utils = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2512", default-features = false } # Frontier (client) -fc-api = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } -fc-cli = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } -fc-consensus = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } -fc-db = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } -fc-mapping-sync = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } -fc-rpc = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", features = [ +fc-api = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2512", default-features = false } +fc-cli = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2512", default-features = false } +fc-consensus = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2512", default-features = false } +fc-db = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2512", default-features = false } +fc-mapping-sync = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2512", default-features = false } +fc-rpc = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2512", features = [ "rpc-binary-search-estimate", ] } -fc-rpc-core = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } -fc-storage = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2506", default-features = false } +fc-rpc-core = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2512", default-features = false } +fc-storage = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-stable2512", default-features = false } # General (wasm) bounded-collections = { version = "0.3.2", default-features = false } @@ -434,7 +434,7 @@ fs2 = "0.4.3" futures = { version = "0.3.1" } futures-timer = "3.0.1" hex = { version = "0.4.3", default-features = false } -jsonrpsee = { version = "0.24.3", features = [ "server" ] } +jsonrpsee = { version = "0.24.10", features = [ "server" ] } num-traits = "0.2.8" orchestra = { version = "0.4.0", default-features = false } parking_lot = "0.12.1" @@ -458,45 +458,45 @@ serde_derive = { version = "1.0.117" } static_assertions = "1.1.0" tiny-keccak = { version = "2.0.2", features = [ "keccak" ] } -authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -beefy-primitives = { package = "sp-consensus-beefy", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -binary-merkle-tree = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -block-builder-api = { package = "sp-block-builder", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -grandpa_primitives = { package = "sp-consensus-grandpa", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -inherents = { package = "sp-inherents", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -keyring = { package = "sp-keyring", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -offchain-primitives = { package = "sp-offchain", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-authority-discovery = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-authorship = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-babe = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-beefy = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-beefy-mmr = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-collective = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-conviction-voting = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-democracy = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-elections-phragmen = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-grandpa = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-membership = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-mmr = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-offences = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-preimage = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-referenda = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-scheduler = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-tips = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -pallet-whitelist = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -primitives = { package = "polkadot-primitives", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -remote-externalities = { package = "frame-remote-externalities", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -runtime-common = { package = "polkadot-runtime-common", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -runtime-parachains = { package = "polkadot-runtime-parachains", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-arithmetic = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-mmr-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-tracing = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-weights = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -xcm = { package = "staging-xcm", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +beefy-primitives = { package = "sp-consensus-beefy", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +binary-merkle-tree = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +block-builder-api = { package = "sp-block-builder", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +grandpa_primitives = { package = "sp-consensus-grandpa", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +inherents = { package = "sp-inherents", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +keyring = { package = "sp-keyring", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +offchain-primitives = { package = "sp-offchain", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-authority-discovery = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-authorship = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-babe = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-beefy = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-beefy-mmr = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-collective = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-conviction-voting = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-democracy = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-elections-phragmen = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-grandpa = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-membership = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-mmr = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-offences = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-preimage = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-referenda = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-scheduler = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-tips = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +pallet-whitelist = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +primitives = { package = "polkadot-primitives", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +remote-externalities = { package = "frame-remote-externalities", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +runtime-common = { package = "polkadot-runtime-common", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +runtime-parachains = { package = "polkadot-runtime-parachains", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-arithmetic = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-mmr-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-tracing = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-weights = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +xcm = { package = "staging-xcm", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } # Tanssi Relay Node assert_matches = "1.5.0" @@ -504,76 +504,76 @@ codec = { package = "parity-scale-codec", version = "3.7.4" } env_logger = "0.11" is_executable = "1.0.1" kvdb = "0.13.0" -kvdb-rocksdb = "0.19.0" +kvdb-rocksdb = "0.21.0" parity-db = "0.4.12" schnellru = "0.2.1" serial_test = "2.0.0" -polkadot-approval-distribution = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-availability-bitfield-distribution = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-availability-distribution = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-availability-recovery = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-collator-protocol = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-dispute-distribution = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-gossip-support = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-network-bridge = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-node-collation-generation = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-node-core-approval-voting = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-node-core-av-store = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-node-core-backing = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-node-core-bitfield-signing = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-node-core-candidate-validation = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-node-core-chain-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-node-core-chain-selection = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-node-core-dispute-coordinator = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-node-core-prospective-parachains = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-node-core-provisioner = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-node-core-pvf = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-node-core-pvf-checker = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-node-core-runtime-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-statement-distribution = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } - -polkadot-node-core-parachains-inherent = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-node-network-protocol = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-node-subsystem-test-helpers = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-node-subsystem-types = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-node-subsystem-util = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-rpc = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-test-client = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -test-helpers = { package = "polkadot-primitives-test-helpers", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } - -consensus_common = { package = "sp-consensus", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sc-authority-discovery = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sc-client-db = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sc-sync-state-rpc = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-authority-discovery = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } - -babe = { package = "sc-consensus-babe", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -beefy = { package = "sc-consensus-beefy", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -grandpa = { package = "sc-consensus-grandpa", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } - -gum = { package = "tracing-gum", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -service = { package = "sc-service", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -telemetry = { package = "sc-telemetry", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-approval-distribution = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-availability-bitfield-distribution = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-availability-distribution = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-availability-recovery = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-collator-protocol = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-dispute-distribution = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-gossip-support = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-network-bridge = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-node-collation-generation = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-node-core-approval-voting = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-node-core-av-store = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-node-core-backing = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-node-core-bitfield-signing = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-node-core-candidate-validation = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-node-core-chain-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-node-core-chain-selection = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-node-core-dispute-coordinator = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-node-core-prospective-parachains = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-node-core-provisioner = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-node-core-pvf = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-node-core-pvf-checker = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-node-core-runtime-api = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-statement-distribution = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } + +polkadot-node-core-parachains-inherent = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-node-network-protocol = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-node-subsystem-test-helpers = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-node-subsystem-types = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-node-subsystem-util = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-rpc = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-test-client = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +test-helpers = { package = "polkadot-primitives-test-helpers", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } + +consensus_common = { package = "sp-consensus", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sc-authority-discovery = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sc-client-db = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sc-sync-state-rpc = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-authority-discovery = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } + +babe = { package = "sc-consensus-babe", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +beefy = { package = "sc-consensus-beefy", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +grandpa = { package = "sc-consensus-grandpa", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } + +gum = { package = "tracing-gum", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +service = { package = "sc-service", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +telemetry = { package = "sc-telemetry", git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } # Tanssi Relay Chain CLI pyro = { package = "pyroscope", version = "0.5.3" } pyroscope_pprofrs = { version = "0.2" } -polkadot-node-metrics = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sc-storage-monitor = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -sp-maybe-compressed-blob = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-node-metrics = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sc-storage-monitor = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +sp-maybe-compressed-blob = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } # Tanssi Relay Chain color-eyre = { version = "0.6.1", default-features = false } -tikv-jemallocator = { version = "0.5.0", features = [ "unprefixed_malloc_on_supported_platforms" ] } +tikv-jemallocator = { version = "0.6.0", features = [ "unprefixed_malloc_on_supported_platforms" ] } -polkadot-node-core-pvf-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-node-core-pvf-execute-worker = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } -polkadot-node-core-pvf-prepare-worker = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +polkadot-node-core-pvf-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-node-core-pvf-execute-worker = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } +polkadot-node-core-pvf-prepare-worker = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } -substrate-rpc-client = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2506", default-features = false } +substrate-rpc-client = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-stable2512", default-features = false } [profile.production] codegen-units = 1 diff --git a/chains/container-chains/nodes/frontier/Cargo.toml b/chains/container-chains/nodes/frontier/Cargo.toml index 2647448a01..26d50fd5ba 100644 --- a/chains/container-chains/nodes/frontier/Cargo.toml +++ b/chains/container-chains/nodes/frontier/Cargo.toml @@ -110,8 +110,8 @@ cumulus-test-relay-sproof-builder = { workspace = true } # Frontier fc-api = { workspace = true } fc-consensus = { workspace = true } -fc-db = { workspace = true, features = [ "sql" ] } -fc-mapping-sync = { workspace = true, features = [ "sql" ] } +fc-db = { workspace = true, features = [ "rocksdb", "sql" ] } +fc-mapping-sync = { workspace = true, features = [ "rocksdb", "sql" ] } fc-rpc = { workspace = true, features = [ "txpool" ] } fc-rpc-core = { workspace = true, features = [ "txpool" ] } fc-storage = { workspace = true } diff --git a/chains/container-chains/nodes/frontier/src/rpc/mod.rs b/chains/container-chains/nodes/frontier/src/rpc/mod.rs index eb6e86db50..ba89a89bfa 100644 --- a/chains/container-chains/nodes/frontier/src/rpc/mod.rs +++ b/chains/container-chains/nodes/frontier/src/rpc/mod.rs @@ -239,7 +239,6 @@ where Eth::<_, _, _, _, _, _, DefaultEthConfig>::new( Arc::clone(&client), Arc::clone(&pool), - Arc::clone(&graph), convert_transaction, Arc::clone(&sync), signers, diff --git a/chains/container-chains/nodes/frontier/src/service.rs b/chains/container-chains/nodes/frontier/src/service.rs index 149746d948..183961c2d1 100644 --- a/chains/container-chains/nodes/frontier/src/service.rs +++ b/chains/container-chains/nodes/frontier/src/service.rs @@ -17,6 +17,7 @@ //! Service and ServiceFactory implementation. Specialized wrapper over substrate service. use node_common::timestamp::MockTimestampInherentDataProvider; +use std::path::PathBuf; use { container_chain_template_frontier_runtime::{opaque::Block, Hash, RuntimeApi}, cumulus_client_cli::CollatorOptions, @@ -27,7 +28,6 @@ use { relay_chain::well_known_keys as RelayWellKnownKeys, CollectCollationInfo, ParaId, }, fc_consensus::FrontierBlockImport, - fc_db::DatabaseSource, fc_rpc_core::types::{FeeHistoryCache, FilterPool}, fc_storage::StorageOverrideHandler, nimbus_primitives::NimbusId, @@ -70,18 +70,14 @@ impl NodeBuilderConfig for NodeConfig { const RELAY_CHAIN_SLOT_DURATION_MILLIS: u64 = 6_000; -pub fn frontier_database_dir(config: &Configuration, path: &str) -> std::path::PathBuf { - let config_dir = config - .base_path - .config_dir(config.chain_spec.id()) - .join("frontier") - .join(path); +pub fn frontier_database_dir(config: &Configuration, path: &str) -> PathBuf { + db_config_dir(config).join("frontier").join(path) +} - config_dir +pub fn db_config_dir(config: &Configuration) -> PathBuf { + config.base_path.config_dir(config.chain_spec.id()) } -// TODO This is copied from frontier. It should be imported instead after -// https://github.com/paritytech/frontier/issues/333 is solved pub fn open_frontier_backend( client: Arc, config: &Configuration, @@ -89,28 +85,7 @@ pub fn open_frontier_backend( where C: sp_blockchain::HeaderBackend, { - fc_db::kv::Backend::::new( - client, - &fc_db::kv::DatabaseSettings { - source: match config.database { - DatabaseSource::RocksDb { .. } => DatabaseSource::RocksDb { - path: frontier_database_dir(config, "db"), - cache_size: 0, - }, - DatabaseSource::ParityDb { .. } => DatabaseSource::ParityDb { - path: frontier_database_dir(config, "paritydb"), - }, - DatabaseSource::Auto { .. } => DatabaseSource::Auto { - rocksdb_path: frontier_database_dir(config, "db"), - paritydb_path: frontier_database_dir(config, "paritydb"), - cache_size: 0, - }, - _ => { - return Err("Supported db sources: `rocksdb` | `paritydb` | `auto`".to_string()) - } - }, - }, - ) + fc_db::kv::Backend::open(client, &config.database, &db_config_dir(config)) } pub fn import_queue( diff --git a/chains/container-chains/runtime-templates/frontier/Cargo.toml b/chains/container-chains/runtime-templates/frontier/Cargo.toml index 7c4227c496..728573c120 100644 --- a/chains/container-chains/runtime-templates/frontier/Cargo.toml +++ b/chains/container-chains/runtime-templates/frontier/Cargo.toml @@ -107,7 +107,6 @@ cumulus-pallet-weight-reclaim = { workspace = true } cumulus-pallet-xcm = { workspace = true } cumulus-pallet-xcmp-queue = { workspace = true } cumulus-primitives-core = { workspace = true } -cumulus-primitives-timestamp = { workspace = true } cumulus-primitives-utility = { workspace = true } parachain-info = { workspace = true } parachains-common = { workspace = true } @@ -146,7 +145,6 @@ std = [ "cumulus-pallet-xcm/std", "cumulus-pallet-xcmp-queue/std", "cumulus-primitives-core/std", - "cumulus-primitives-timestamp/std", "cumulus-primitives-utility/std", "dp-consensus/std", "dp-container-chain-genesis-data/std", diff --git a/chains/container-chains/runtime-templates/frontier/src/lib.rs b/chains/container-chains/runtime-templates/frontier/src/lib.rs index 9d77f241f6..f911f131e9 100644 --- a/chains/container-chains/runtime-templates/frontier/src/lib.rs +++ b/chains/container-chains/runtime-templates/frontier/src/lib.rs @@ -531,7 +531,10 @@ impl frame_system::Config for Runtime { type SingleBlockMigrations = (); type MultiBlockMigrator = MultiBlockMigrations; type PreInherents = (); - type PostInherents = (); + type PostInherents = ( + // Validate timestamp provided by the consensus client + AsyncBacking, + ); type PostTransactions = (); type ExtensionsWeightInfo = weights::frame_system_extensions::SubstrateWeight; } @@ -586,6 +589,7 @@ pub const BLOCK_PROCESSING_VELOCITY: u32 = 1; type ConsensusHook = pallet_async_backing::consensus_hook::FixedVelocityConsensusHook< Runtime, + RELAY_CHAIN_SLOT_DURATION_MILLIS, BLOCK_PROCESSING_VELOCITY, UNINCLUDED_SEGMENT_CAPACITY, >; @@ -602,7 +606,6 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type ReservedXcmpWeight = ReservedXcmpWeight; type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases; type ConsensusHook = ConsensusHook; - type SelectCore = cumulus_pallet_parachain_system::DefaultCoreSelector; type RelayParentOffset = ConstU32<0>; } @@ -623,6 +626,8 @@ impl pallet_async_backing::Config for Runtime { type GetAndVerifySlot = pallet_async_backing::ParaSlot; type ExpectedBlockTime = ExpectedBlockTime; + // Not a typo, SlotDuration is equal to ExpectedBlockTime + type SlotDuration = ExpectedBlockTime; } impl parachain_info::Config for Runtime {} @@ -1200,7 +1205,7 @@ impl_runtime_apis! { VERSION } - fn execute_block(block: Block) { + fn execute_block(block: ::LazyBlock) { Executive::execute_block(block) } @@ -1237,7 +1242,7 @@ impl_runtime_apis! { } fn check_inherents( - block: Block, + block: ::LazyBlock, data: sp_inherents::InherentData, ) -> sp_inherents::CheckInherentsResult { data.check_extrinsics(&block) @@ -1718,7 +1723,7 @@ impl_runtime_apis! { } fn execute_block( - block: Block, + block: ::LazyBlock, state_root_check: bool, signature_check: bool, select: frame_try_runtime::TryStateSelect, @@ -2025,8 +2030,9 @@ impl_runtime_apis! { PolkadotXcm::query_xcm_weight(message) } - fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>) -> Result { - PolkadotXcm::query_delivery_fees(destination, message) + fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>, asset_id: VersionedAssetId) -> Result { + type AssetExchanger = ::AssetExchanger; + PolkadotXcm::query_delivery_fees::(destination, message, asset_id) } } @@ -2036,7 +2042,7 @@ impl_runtime_apis! { } fn dry_run_xcm(origin_location: VersionedLocation, xcm: VersionedXcm) -> Result, XcmDryRunApiError> { - PolkadotXcm::dry_run_xcm::(origin_location, xcm) + PolkadotXcm::dry_run_xcm::(origin_location, xcm) } } @@ -2053,36 +2059,8 @@ impl_runtime_apis! { } } -#[allow(dead_code)] -struct CheckInherents; - -// TODO: this should be removed but currently if we remove it the relay does not check anything -// related to other inherents that are not parachain-system -#[allow(deprecated)] -impl cumulus_pallet_parachain_system::CheckInherents for CheckInherents { - fn check_inherents( - block: &Block, - relay_state_proof: &cumulus_pallet_parachain_system::RelayChainStateProof, - ) -> sp_inherents::CheckInherentsResult { - let relay_chain_slot = relay_state_proof - .read_slot() - .expect("Could not read the relay chain slot from the proof"); - - let inherent_data = - cumulus_primitives_timestamp::InherentDataProvider::from_relay_chain_slot_and_duration( - relay_chain_slot, - core::time::Duration::from_secs(6), - ) - .create_inherent_data() - .expect("Could not create the timestamp inherent data"); - - inherent_data.check_extrinsics(block) - } -} - cumulus_pallet_parachain_system::register_validate_block! { Runtime = Runtime, - CheckInherents = CheckInherents, BlockExecutor = pallet_author_inherent::BlockExecutor::, } diff --git a/chains/container-chains/runtime-templates/frontier/src/weights/cumulus_pallet_xcmp_queue.rs b/chains/container-chains/runtime-templates/frontier/src/weights/cumulus_pallet_xcmp_queue.rs index 4bdbe3cb51..49ae152a6c 100644 --- a/chains/container-chains/runtime-templates/frontier/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/chains/container-chains/runtime-templates/frontier/src/weights/cumulus_pallet_xcmp_queue.rs @@ -59,10 +59,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat // Proof Size summary in bytes: // Measured: `109` // Estimated: `1497` - // Minimum execution time: 6_716_000 picoseconds. - Weight::from_parts(7_024_000, 1497) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 5_063_000 picoseconds. + Weight::from_parts(5_451_000, 0) + .saturating_add(Weight::from_parts(0, 1497)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) @@ -73,18 +74,19 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::Pages` (r:0 w:1) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) - /// The range of component `n` is `[0, 65531]`. + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 105467]`. fn enqueue_n_bytes_xcmp_message(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `115` + // Measured: `151` // Estimated: `5487` - // Minimum execution time: 18_081_000 picoseconds. - Weight::from_parts(14_028_865, 5487) - // Standard Error: 9 - .saturating_add(Weight::from_parts(997, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 14_672_000 picoseconds. + Weight::from_parts(10_338_894, 0) + .saturating_add(Weight::from_parts(0, 5487)) + // Standard Error: 7 + .saturating_add(Weight::from_parts(963, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) @@ -95,38 +97,40 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::Pages` (r:0 w:1) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 1000]`. fn enqueue_n_empty_xcmp_messages(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `115` + // Measured: `151` // Estimated: `5487` - // Minimum execution time: 15_098_000 picoseconds. - Weight::from_parts(20_379_040, 5487) - // Standard Error: 198 - .saturating_add(Weight::from_parts(160_578, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 12_866_000 picoseconds. + Weight::from_parts(17_702_570, 0) + .saturating_add(Weight::from_parts(0, 5487)) + // Standard Error: 233 + .saturating_add(Weight::from_parts(140_639, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `Measured`) /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) /// Storage: `MessageQueue::Pages` (r:1 w:1) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `Measured`) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `Measured`) /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `Measured`) - /// The range of component `n` is `[0, 65521]`. + /// The range of component `n` is `[0, 105457]`. fn enqueue_empty_xcmp_message_at(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `297 + n * (1 ±0)` - // Estimated: `3758 + n * (1 ±0)` - // Minimum execution time: 26_427_000 picoseconds. - Weight::from_parts(19_218_361, 3758) - // Standard Error: 16 - .saturating_add(Weight::from_parts(2_126, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `334 + n * (1 ±0)` + // Estimated: `3797 + n * (1 ±0)` + // Minimum execution time: 21_629_000 picoseconds. + Weight::from_parts(14_155_444, 0) + .saturating_add(Weight::from_parts(0, 3797)) + // Standard Error: 12 + .saturating_add(Weight::from_parts(2_047, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) @@ -138,18 +142,19 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::Pages` (r:0 w:100) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 100]`. fn enqueue_n_full_pages(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `150` + // Measured: `186` // Estimated: `5487` - // Minimum execution time: 16_685_000 picoseconds. - Weight::from_parts(34_017_387, 5487) - // Standard Error: 24_515 - .saturating_add(Weight::from_parts(60_450_535, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 13_907_000 picoseconds. + Weight::from_parts(14_110_000, 0) + .saturating_add(Weight::from_parts(0, 5487)) + // Standard Error: 78_378 + .saturating_add(Weight::from_parts(91_417_975, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) } /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) @@ -157,17 +162,18 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) /// Storage: `MessageQueue::Pages` (r:1 w:1) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `Measured`) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `Measured`) /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `Measured`) fn enqueue_1000_small_xcmp_messages() -> Weight { // Proof Size summary in bytes: - // Measured: `33062` - // Estimated: `36527` - // Minimum execution time: 256_704_000 picoseconds. - Weight::from_parts(261_164_000, 36527) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `53067` + // Estimated: `56532` + // Minimum execution time: 266_394_000 picoseconds. + Weight::from_parts(270_684_000, 0) + .saturating_add(Weight::from_parts(0, 56532)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) @@ -175,10 +181,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat // Proof Size summary in bytes: // Measured: `109` // Estimated: `2767` - // Minimum execution time: 4_022_000 picoseconds. - Weight::from_parts(4_117_000, 2767) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 3_299_000 picoseconds. + Weight::from_parts(3_593_000, 0) + .saturating_add(Weight::from_parts(0, 2767)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) @@ -186,17 +193,22 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat // Proof Size summary in bytes: // Measured: `144` // Estimated: `2767` - // Minimum execution time: 5_353_000 picoseconds. - Weight::from_parts(5_536_000, 2767) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 4_643_000 picoseconds. + Weight::from_parts(4_934_000, 0) + .saturating_add(Weight::from_parts(0, 2767)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - fn take_first_concatenated_xcm() -> Weight { + /// The range of component `n` is `[0, 92]`. + fn take_first_concatenated_xcm(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_221_000 picoseconds. - Weight::from_parts(8_333_000, 0) + // Minimum execution time: 2_059_000 picoseconds. + Weight::from_parts(2_414_071, 0) + .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 126 + .saturating_add(Weight::from_parts(17_448, 0).saturating_mul(n.into())) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) @@ -211,27 +223,39 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::Pages` (r:0 w:1) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) fn on_idle_good_msg() -> Weight { // Proof Size summary in bytes: - // Measured: `65744` - // Estimated: `69209` - // Minimum execution time: 135_829_000 picoseconds. - Weight::from_parts(141_582_000, 69209) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `105716` + // Estimated: `109181` + // Minimum execution time: 178_629_000 picoseconds. + Weight::from_parts(181_750_000, 0) + .saturating_add(Weight::from_parts(0, 109181)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) fn on_idle_large_msg() -> Weight { // Proof Size summary in bytes: - // Measured: `65743` - // Estimated: `69208` - // Minimum execution time: 63_643_000 picoseconds. - Weight::from_parts(68_923_000, 69208) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `65785` + // Estimated: `69250` + // Minimum execution time: 119_180_000 picoseconds. + Weight::from_parts(121_856_000, 0) + .saturating_add(Weight::from_parts(0, 69250)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } -} \ No newline at end of file +} diff --git a/chains/container-chains/runtime-templates/frontier/src/weights/pallet_assets.rs b/chains/container-chains/runtime-templates/frontier/src/weights/pallet_assets.rs index 0747de702f..f901d51e1f 100644 --- a/chains/container-chains/runtime-templates/frontier/src/weights/pallet_assets.rs +++ b/chains/container-chains/runtime-templates/frontier/src/weights/pallet_assets.rs @@ -53,483 +53,589 @@ use core::marker::PhantomData; /// Weights for pallet_assets using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_assets::WeightInfo for SubstrateWeight { + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::NextAssetId` (r:1 w:0) + /// Proof: `ForeignAssets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(602), added: 1097, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 0_000 picoseconds. - Weight::from_parts(0, 0) + // Measured: `139` + // Estimated: `4273` + // Minimum execution time: 29_713_000 picoseconds. + Weight::from_parts(30_405_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::NextAssetId` (r:1 w:0) - /// Proof: `ForeignAssets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(602), added: 1097, mode: `MaxEncodedLen`) fn force_create() -> Weight { // Proof Size summary in bytes: - // Measured: `3` - // Estimated: `3625` - // Minimum execution time: 13_923_000 picoseconds. - Weight::from_parts(14_278_000, 3625) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `4` + // Estimated: `4273` + // Minimum execution time: 11_430_000 picoseconds. + Weight::from_parts(11_825_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:0) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn start_destroy() -> Weight { // Proof Size summary in bytes: - // Measured: `225` - // Estimated: `3625` - // Minimum execution time: 14_498_000 picoseconds. - Weight::from_parts(14_941_000, 3625) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `324` + // Estimated: `4273` + // Minimum execution time: 16_882_000 picoseconds. + Weight::from_parts(17_360_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1001 w:1000) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1000 w:1000) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1000 w:1000) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1000 w:1000) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1000]`. - fn destroy_accounts(c: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `176 + c * (183 ±0)` - // Estimated: `3625 + c * (2591 ±0)` - // Minimum execution time: 19_712_000 picoseconds. - Weight::from_parts(19_918_000, 3625) - // Standard Error: 10_966 - .saturating_add(Weight::from_parts(16_362_775, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 2591).saturating_mul(c.into())) + /// The range of component `c` is `[0, 1000]`. + /// The range of component `c` is `[0, 1000]`. + fn destroy_accounts(c: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + c * (208 ±0)` + // Estimated: `4273 + c * (3207 ±0)` + // Minimum execution time: 15_990_000 picoseconds. + Weight::from_parts(16_161_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 16_995 + .saturating_add(Weight::from_parts(25_624_471, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(c.into()))) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(c.into()))) + .saturating_add(Weight::from_parts(0, 3207).saturating_mul(c.into())) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1001 w:1000) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) + /// The range of component `a` is `[0, 1000]`. + /// The range of component `a` is `[0, 1000]`. /// The range of component `a` is `[0, 1000]`. - fn destroy_approvals(a: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `370 + a * (74 ±0)` - // Estimated: `3625 + a * (2597 ±0)` - // Minimum execution time: 20_469_000 picoseconds. - Weight::from_parts(20_709_000, 3625) - // Standard Error: 3_171 - .saturating_add(Weight::from_parts(6_243_451, 0).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + fn destroy_approvals(a: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `413 + a * (86 ±0)` + // Estimated: `4273 + a * (3221 ±0)` + // Minimum execution time: 16_532_000 picoseconds. + Weight::from_parts(16_865_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 4_823 + .saturating_add(Weight::from_parts(15_353_976, 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_u64)) + .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_parts(0, 2597).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 3221).saturating_mul(a.into())) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:0) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn finish_destroy() -> Weight { // Proof Size summary in bytes: - // Measured: `191` - // Estimated: `3625` - // Minimum execution time: 16_421_000 picoseconds. - Weight::from_parts(16_745_000, 3625) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 13_451_000 picoseconds. + Weight::from_parts(14_019_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn mint() -> Weight { // Proof Size summary in bytes: - // Measured: `191` - // Estimated: `3625` - // Minimum execution time: 28_624_000 picoseconds. - Weight::from_parts(29_149_000, 3625) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 22_965_000 picoseconds. + Weight::from_parts(23_855_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn burn() -> Weight { // Proof Size summary in bytes: - // Measured: `285` - // Estimated: `3625` - // Minimum execution time: 38_824_000 picoseconds. - Weight::from_parts(39_413_000, 3625) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `356` + // Estimated: `4273` + // Minimum execution time: 47_536_000 picoseconds. + Weight::from_parts(49_071_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `376` - // Estimated: `6156` - // Minimum execution time: 54_438_000 picoseconds. - Weight::from_parts(55_374_000, 6156) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 59_854_000 picoseconds. + Weight::from_parts(61_262_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:0) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: - // Measured: `376` - // Estimated: `6156` - // Minimum execution time: 49_077_000 picoseconds. - Weight::from_parts(49_846_000, 6156) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 45_638_000 picoseconds. + Weight::from_parts(46_477_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `376` - // Estimated: `6156` - // Minimum execution time: 54_375_000 picoseconds. - Weight::from_parts(55_277_000, 6156) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 59_607_000 picoseconds. + Weight::from_parts(61_405_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn freeze() -> Weight { // Proof Size summary in bytes: - // Measured: `285` - // Estimated: `3625` - // Minimum execution time: 19_555_000 picoseconds. - Weight::from_parts(20_178_000, 3625) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 16_524_000 picoseconds. + Weight::from_parts(17_268_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn thaw() -> Weight { // Proof Size summary in bytes: - // Measured: `285` - // Estimated: `3625` - // Minimum execution time: 19_811_000 picoseconds. - Weight::from_parts(20_165_000, 3625) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 16_618_000 picoseconds. + Weight::from_parts(17_201_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn freeze_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `225` - // Estimated: `3625` - // Minimum execution time: 14_152_000 picoseconds. - Weight::from_parts(14_623_000, 3625) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 11_755_000 picoseconds. + Weight::from_parts(12_366_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn thaw_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `225` - // Estimated: `3625` - // Minimum execution time: 14_224_000 picoseconds. - Weight::from_parts(14_593_000, 3625) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 11_872_000 picoseconds. + Weight::from_parts(12_490_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:0) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn transfer_ownership() -> Weight { // Proof Size summary in bytes: - // Measured: `191` - // Estimated: `3625` - // Minimum execution time: 16_638_000 picoseconds. - Weight::from_parts(16_992_000, 3625) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 13_752_000 picoseconds. + Weight::from_parts(14_440_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn set_team() -> Weight { // Proof Size summary in bytes: - // Measured: `191` - // Estimated: `3625` - // Minimum execution time: 14_158_000 picoseconds. - Weight::from_parts(14_639_000, 3625) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 11_860_000 picoseconds. + Weight::from_parts(12_186_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, 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 { - // Proof Size summary in bytes: - // Measured: `191` - // Estimated: `3625` - // Minimum execution time: 17_516_000 picoseconds. - Weight::from_parts(18_257_485, 3625) - // Standard Error: 424 - .saturating_add(Weight::from_parts(1_423, 0).saturating_mul(n.into())) - // Standard Error: 424 - .saturating_add(Weight::from_parts(1_522, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + fn set_metadata(_n: u32, s: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 27_274_000 picoseconds. + Weight::from_parts(28_578_070, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 776 + .saturating_add(Weight::from_parts(1_087, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `353` - // Estimated: `3625` - // Minimum execution time: 18_396_000 picoseconds. - Weight::from_parts(19_105_000, 3625) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `406` + // Estimated: `4273` + // Minimum execution time: 27_414_000 picoseconds. + Weight::from_parts(28_274_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, 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 { - // Proof Size summary in bytes: - // Measured: `78` - // Estimated: `3625` - // Minimum execution time: 15_547_000 picoseconds. - Weight::from_parts(16_028_305, 3625) - // Standard Error: 290 - .saturating_add(Weight::from_parts(3_538, 0).saturating_mul(n.into())) - // Standard Error: 290 - .saturating_add(Weight::from_parts(1_147, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + /// 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 { + // Proof Size summary in bytes: + // Measured: `81` + // Estimated: `4273` + // Minimum execution time: 12_087_000 picoseconds. + Weight::from_parts(12_745_826, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 440 + .saturating_add(Weight::from_parts(1_010, 0).saturating_mul(n.into())) + // Standard Error: 440 + .saturating_add(Weight::from_parts(1_303, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn force_clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `353` - // Estimated: `3625` - // Minimum execution time: 18_372_000 picoseconds. - Weight::from_parts(18_691_000, 3625) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `406` + // Estimated: `4273` + // Minimum execution time: 26_528_000 picoseconds. + Weight::from_parts(27_478_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn force_asset_status() -> Weight { // Proof Size summary in bytes: - // Measured: `191` - // Estimated: `3625` - // Minimum execution time: 13_734_000 picoseconds. - Weight::from_parts(14_174_000, 3625) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 10_881_000 picoseconds. + Weight::from_parts(11_268_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn approve_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `225` - // Estimated: `3625` - // Minimum execution time: 22_655_000 picoseconds. - Weight::from_parts(23_222_000, 3625) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 31_216_000 picoseconds. + Weight::from_parts(32_411_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn transfer_approved() -> Weight { // Proof Size summary in bytes: - // Measured: `429` - // Estimated: `6156` - // Minimum execution time: 66_346_000 picoseconds. - Weight::from_parts(67_509_000, 6156) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `526` + // Estimated: `7404` + // Minimum execution time: 79_133_000 picoseconds. + Weight::from_parts(81_252_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(7)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn cancel_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `369` - // Estimated: `3625` - // Minimum execution time: 25_394_000 picoseconds. - Weight::from_parts(25_948_000, 3625) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `446` + // Estimated: `4273` + // Minimum execution time: 33_529_000 picoseconds. + Weight::from_parts(34_768_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn force_cancel_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `369` - // Estimated: `3625` - // Minimum execution time: 25_318_000 picoseconds. - Weight::from_parts(25_958_000, 3625) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `446` + // Estimated: `4273` + // Minimum execution time: 33_558_000 picoseconds. + Weight::from_parts(34_197_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn set_min_balance() -> Weight { // Proof Size summary in bytes: - // Measured: `191` - // Estimated: `3625` - // Minimum execution time: 15_554_000 picoseconds. - Weight::from_parts(15_862_000, 3625) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 12_533_000 picoseconds. + Weight::from_parts(12_956_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn touch() -> Weight { // Proof Size summary in bytes: - // Measured: `191` - // Estimated: `3625` - // Minimum execution time: 21_895_000 picoseconds. - Weight::from_parts(22_442_000, 3625) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `345` + // Estimated: `4273` + // Minimum execution time: 32_643_000 picoseconds. + Weight::from_parts(33_899_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn touch_other() -> Weight { // Proof Size summary in bytes: - // Measured: `191` - // Estimated: `3625` - // Minimum execution time: 21_835_000 picoseconds. - Weight::from_parts(22_266_000, 3625) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 31_276_000 picoseconds. + Weight::from_parts(32_155_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn refund() -> Weight { // Proof Size summary in bytes: - // Measured: `303` - // Estimated: `3625` - // Minimum execution time: 19_577_000 picoseconds. - Weight::from_parts(19_830_000, 3625) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `477` + // Estimated: `4273` + // Minimum execution time: 43_426_000 picoseconds. + Weight::from_parts(45_064_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn refund_other() -> Weight { // Proof Size summary in bytes: - // Measured: `323` - // Estimated: `3625` - // Minimum execution time: 19_389_000 picoseconds. - Weight::from_parts(19_806_000, 3625) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `407` + // Estimated: `4273` + // Minimum execution time: 41_885_000 picoseconds. + Weight::from_parts(43_300_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn block() -> Weight { // Proof Size summary in bytes: - // Measured: `285` - // Estimated: `3625` - // Minimum execution time: 19_615_000 picoseconds. - Weight::from_parts(19_988_000, 3625) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 16_833_000 picoseconds. + Weight::from_parts(17_265_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { // Proof Size summary in bytes: - // Measured: `376` - // Estimated: `6156` - // Minimum execution time: 66_141_000 picoseconds. - Weight::from_parts(67_815_000, 6156) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 72_880_000 picoseconds. + Weight::from_parts(74_426_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn total_issuance() -> Weight { // Proof Size summary in bytes: - // Measured: `225` - // Estimated: `3625` - // Minimum execution time: 6_141_000 picoseconds. - Weight::from_parts(6_397_000, 3625) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 5_454_000 picoseconds. + Weight::from_parts(5_742_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `ForeignAssets::Account` (r:1 w:0) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn balance() -> Weight { // Proof Size summary in bytes: - // Measured: `135` - // Estimated: `3573` - // Minimum execution time: 7_227_000 picoseconds. - Weight::from_parts(7_490_000, 3573) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Measured: `150` + // Estimated: `4197` + // Minimum execution time: 6_480_000 picoseconds. + Weight::from_parts(6_813_000, 0) + .saturating_add(Weight::from_parts(0, 4197)) + .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `ForeignAssets::Approvals` (r:1 w:0) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn allowance() -> Weight { // Proof Size summary in bytes: - // Measured: `218` - // Estimated: `3587` - // Minimum execution time: 10_647_000 picoseconds. - Weight::from_parts(10_923_000, 3587) + // Measured: `245` + // Estimated: `4211` + // Minimum execution time: 8_685_000 picoseconds. + Weight::from_parts(9_177_000, 0) + .saturating_add(Weight::from_parts(0, 4211)) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// The range of component `n` is `[0, 5]`. + /// The range of component `n` is `[0, 5]`. + /// The range of component `n` is `[0, 5]`. + fn set_reserves(n: u32) -> Weight { + Weight::from_parts(31_972_000, 3675) + // Standard Error: 13_748 + .saturating_add(Weight::from_parts(198_975, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } -} \ No newline at end of file +} diff --git a/chains/container-chains/runtime-templates/frontier/src/weights/pallet_xcm.rs b/chains/container-chains/runtime-templates/frontier/src/weights/pallet_xcm.rs index d12f5ca3d2..75ff9ad329 100644 --- a/chains/container-chains/runtime-templates/frontier/src/weights/pallet_xcm.rs +++ b/chains/container-chains/runtime-templates/frontier/src/weights/pallet_xcm.rs @@ -53,52 +53,62 @@ use core::marker::PhantomData; /// Weights for pallet_xcm using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_xcm::WeightInfo for SubstrateWeight { - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) - /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `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(105506), added: 107981, mode: `MaxEncodedLen`) fn send() -> Weight { // Proof Size summary in bytes: - // Measured: `144` - // Estimated: `3609` - // Minimum execution time: 38_099_000 picoseconds. - Weight::from_parts(38_603_000, 3609) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `245` + // Estimated: `3710` + // Minimum execution time: 31_621_000 picoseconds. + Weight::from_parts(33_059_000, 0) + .saturating_add(Weight::from_parts(0, 3710)) + .saturating_add(T::DbWeight::get().reads(4)) + .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`) + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// 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(105506), added: 107981, mode: `MaxEncodedLen`) fn teleport_assets() -> 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) + // Measured: `277` + // Estimated: `3742` + // Minimum execution time: 120_046_000 picoseconds. + Weight::from_parts(123_674_000, 0) + .saturating_add(Weight::from_parts(0, 3742)) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: `Parameters::Parameters` (r:1 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(2023), added: 4498, mode: `MaxEncodedLen`) - /// Storage: `XcmExecutorUtils::TeleportPolicy` (r:1 w:0) - /// Proof: `XcmExecutorUtils::TeleportPolicy` (`max_values`: None, `max_size`: Some(6640), added: 9115, mode: `MaxEncodedLen`) - /// Storage: `XcmExecutorUtils::ReservePolicy` (r:1 w:0) - /// Proof: `XcmExecutorUtils::ReservePolicy` (`max_values`: None, `max_size`: Some(6640), added: 9115, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) - /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SafeXcmVersion` (`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) @@ -107,54 +117,56 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`) fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `362` - // Estimated: `10105` - // Minimum execution time: 183_769_000 picoseconds. - Weight::from_parts(187_838_000, 10105) - .saturating_add(T::DbWeight::get().reads(10_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `329` + // Estimated: `6196` + // Minimum execution time: 136_136_000 picoseconds. + Weight::from_parts(140_390_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: `Parameters::Parameters` (r:1 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(2023), added: 4498, mode: `MaxEncodedLen`) - /// Storage: `XcmExecutorUtils::TeleportPolicy` (r:1 w:0) - /// Proof: `XcmExecutorUtils::TeleportPolicy` (`max_values`: None, `max_size`: Some(6640), added: 9115, mode: `MaxEncodedLen`) - /// Storage: `XcmExecutorUtils::ReservePolicy` (r:1 w:0) - /// Proof: `XcmExecutorUtils::ReservePolicy` (`max_values`: None, `max_size`: Some(6640), added: 9115, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssetsCreator::ForeignAssetToAssetId` (r:1 w:0) - /// Proof: `ForeignAssetsCreator::ForeignAssetToAssetId` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `AssetsFreezer::FrozenBalances` (r:1 w:0) + /// Proof: `AssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) - /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `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(105506), added: 107981, mode: `MaxEncodedLen`) fn transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `700` - // Estimated: `10105` - // Minimum execution time: 250_063_000 picoseconds. - Weight::from_parts(254_283_000, 10105) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `669` + // Estimated: `6208` + // Minimum execution time: 187_283_000 picoseconds. + Weight::from_parts(195_176_000, 0) + .saturating_add(Weight::from_parts(0, 6208)) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(7)) } + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn execute() -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `0` - // Minimum execution time: 12_311_000 picoseconds. - Weight::from_parts(12_510_000, 0) + // Estimated: `1485` + // Minimum execution time: 10_096_000 picoseconds. + Weight::from_parts(10_505_000, 0) + .saturating_add(Weight::from_parts(0, 1485)) + .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -162,71 +174,68 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_402_000 picoseconds. - Weight::from_parts(10_717_000, 0) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 8_024_000 picoseconds. + Weight::from_parts(8_375_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `PolkadotXcm::SafeXcmVersion` (r:0 w:1) - /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn force_default_xcm_version() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_700_000 picoseconds. - Weight::from_parts(3_816_000, 0) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 2_480_000 picoseconds. + Weight::from_parts(2_590_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) - /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `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(105506), added: 107981, 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: `144` - // Estimated: `3609` - // Minimum execution time: 46_277_000 picoseconds. - Weight::from_parts(47_068_000, 3609) - .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `245` + // Estimated: `3710` + // Minimum execution time: 38_995_000 picoseconds. + Weight::from_parts(40_184_000, 0) + .saturating_add(Weight::from_parts(0, 3710)) + .saturating_add(T::DbWeight::get().reads(6)) + .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: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) - /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `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(105506), added: 107981, 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: `358` - // Estimated: `3823` - // Minimum execution time: 48_761_000 picoseconds. - Weight::from_parts(49_695_000, 3823) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `404` + // Estimated: `108971` + // Minimum execution time: 43_832_000 picoseconds. + Weight::from_parts(45_241_000, 0) + .saturating_add(Weight::from_parts(0, 108971)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1) /// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -234,104 +243,104 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_693_000 picoseconds. - Weight::from_parts(3_804_000, 0) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 2_395_000 picoseconds. + Weight::from_parts(2_546_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `PolkadotXcm::SupportedVersion` (r:6 w:2) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: - // Measured: `125` - // Estimated: `15965` - // Minimum execution time: 29_983_000 picoseconds. - Weight::from_parts(30_483_000, 15965) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `22` + // Estimated: `15862` + // Minimum execution time: 22_061_000 picoseconds. + Weight::from_parts(22_555_000, 0) + .saturating_add(Weight::from_parts(0, 15862)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `PolkadotXcm::VersionNotifiers` (r:6 w:2) /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notifiers() -> Weight { // Proof Size summary in bytes: - // Measured: `129` - // Estimated: `15969` - // Minimum execution time: 29_410_000 picoseconds. - Weight::from_parts(29_978_000, 15969) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `26` + // Estimated: `15866` + // Minimum execution time: 21_646_000 picoseconds. + Weight::from_parts(22_119_000, 0) + .saturating_add(Weight::from_parts(0, 15866)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:7 w:0) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn already_notified_target() -> Weight { // Proof Size summary in bytes: - // Measured: `178` - // Estimated: `18493` - // Minimum execution time: 35_412_000 picoseconds. - Weight::from_parts(35_857_000, 18493) - .saturating_add(T::DbWeight::get().reads(7_u64)) + // Measured: `39` + // Estimated: `18354` + // Minimum execution time: 25_937_000 picoseconds. + Weight::from_parts(26_388_000, 0) + .saturating_add(Weight::from_parts(0, 18354)) + .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: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) - /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `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::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: 33_786_000 picoseconds. - Weight::from_parts(34_503_000, 6082) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `187` + // Estimated: `6127` + // Minimum execution time: 36_716_000 picoseconds. + Weight::from_parts(38_269_000, 0) + .saturating_add(Weight::from_parts(0, 6127)) + .saturating_add(T::DbWeight::get().reads(5)) + .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`) fn notify_target_migration_fail() -> Weight { // Proof Size summary in bytes: - // Measured: `181` - // Estimated: `13546` - // Minimum execution time: 24_462_000 picoseconds. - Weight::from_parts(25_036_000, 13546) - .saturating_add(T::DbWeight::get().reads(5_u64)) + // Measured: `39` + // Estimated: `13404` + // Minimum execution time: 17_974_000 picoseconds. + Weight::from_parts(18_407_000, 0) + .saturating_add(Weight::from_parts(0, 13404)) + .saturating_add(T::DbWeight::get().reads(5)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notify_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `136` - // Estimated: `15976` - // Minimum execution time: 29_937_000 picoseconds. - Weight::from_parts(30_414_000, 15976) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `33` + // Estimated: `15873` + // Minimum execution time: 21_964_000 picoseconds. + Weight::from_parts(22_610_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:1) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) - /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `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::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: 47_585_000 picoseconds. - Weight::from_parts(48_438_000, 15982) - .saturating_add(T::DbWeight::get().reads(11_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `187` + // Estimated: `16027` + // Minimum execution time: 46_704_000 picoseconds. + Weight::from_parts(49_027_000, 0) + .saturating_add(Weight::from_parts(0, 16027)) + .saturating_add(T::DbWeight::get().reads(9)) + .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`) @@ -339,53 +348,78 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn new_query() -> Weight { // Proof Size summary in bytes: - // Measured: `69` - // Estimated: `1554` - // Minimum execution time: 6_713_000 picoseconds. - Weight::from_parts(7_018_000, 1554) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `0` + // Estimated: `1485` + // Minimum execution time: 2_694_000 picoseconds. + Weight::from_parts(2_829_000, 0) + .saturating_add(Weight::from_parts(0, 1485)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `PolkadotXcm::Queries` (r:1 w:1) /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn take_response() -> Weight { // Proof Size summary in bytes: - // Measured: `7706` - // Estimated: `11171` - // Minimum execution time: 36_105_000 picoseconds. - Weight::from_parts(36_704_000, 11171) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `7576` + // Estimated: `11041` + // Minimum execution time: 27_767_000 picoseconds. + Weight::from_parts(28_348_000, 0) + .saturating_add(Weight::from_parts(0, 11041)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `Parameters::Parameters` (r:1 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(2023), added: 4498, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1) /// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) fn claim_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `129` - // Estimated: `5488` - // Minimum execution time: 62_088_000 picoseconds. - Weight::from_parts(63_335_000, 5488) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `303` + // Estimated: `3768` + // Minimum execution time: 45_836_000 picoseconds. + Weight::from_parts(47_883_000, 0) + .saturating_add(Weight::from_parts(0, 3768)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: `Benchmark::Override` (r:0 w:0) - /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::AuthorizedAliases` (r:1 w:1) + /// Proof: `PolkadotXcm::AuthorizedAliases` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(121), added: 2596, mode: `MaxEncodedLen`) 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) + // Measured: `160` + // Estimated: `3625` + // Minimum execution time: 50_608_000 picoseconds. + Weight::from_parts(51_989_000, 0) + .saturating_add(Weight::from_parts(0, 3625)) + .saturating_add(T::DbWeight::get().reads(2)) + .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`) + /// Storage: `PolkadotXcm::AuthorizedAliases` (r:1 w:1) + /// Proof: `PolkadotXcm::AuthorizedAliases` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(121), added: 2596, mode: `MaxEncodedLen`) fn remove_authorized_alias() -> Weight { + // Proof Size summary in bytes: + // Measured: `516` + // Estimated: `3981` + // Minimum execution time: 52_003_000 picoseconds. + Weight::from_parts(52_989_000, 0) + .saturating_add(Weight::from_parts(0, 3981)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + fn weigh_message() -> 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) + // Minimum execution time: 8_416_000 picoseconds. + Weight::from_parts(8_668_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } -} \ No newline at end of file +} diff --git a/chains/container-chains/runtime-templates/frontier/src/xcm_config.rs b/chains/container-chains/runtime-templates/frontier/src/xcm_config.rs index a06b8af550..ecf1f6c69b 100644 --- a/chains/container-chains/runtime-templates/frontier/src/xcm_config.rs +++ b/chains/container-chains/runtime-templates/frontier/src/xcm_config.rs @@ -358,11 +358,14 @@ parameter_types! { /// Simple conversion of `u32` into an `AssetId` for use in benchmarking. pub struct ForeignAssetBenchmarkHelper; #[cfg(feature = "runtime-benchmarks")] -impl pallet_assets::BenchmarkHelper for ForeignAssetBenchmarkHelper { +impl pallet_assets::BenchmarkHelper for ForeignAssetBenchmarkHelper { fn create_asset_id_parameter(id: u32) -> AssetId { id.try_into() .expect("number too large to create benchmarks") } + fn create_reserve_id_parameter(id: u32) -> ReserveId { + () + } } #[cfg(feature = "runtime-benchmarks")] impl pallet_asset_rate::AssetKindFactory for ForeignAssetBenchmarkHelper { @@ -400,12 +403,16 @@ impl AccountIdAssetIdConversion for Runtime { } pub type AssetId = u16; +pub type ReserveId = (); pub type ForeignAssetsInstance = pallet_assets::Instance1; impl pallet_assets::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Balance = Balance; type AssetId = AssetId; type AssetIdParameter = AssetId; + // TODO: ReserveData = ForeignAssetReserveData + // TODO: check if this needs a migration + type ReserveData = (); type Currency = Balances; type CreateOrigin = frame_support::traits::NeverEnsureOrigin; type ForceOrigin = EnsureRoot; diff --git a/chains/container-chains/runtime-templates/simple/Cargo.toml b/chains/container-chains/runtime-templates/simple/Cargo.toml index 8f0586317a..f8ea9bcbf8 100644 --- a/chains/container-chains/runtime-templates/simple/Cargo.toml +++ b/chains/container-chains/runtime-templates/simple/Cargo.toml @@ -100,7 +100,6 @@ cumulus-pallet-weight-reclaim = { workspace = true } cumulus-pallet-xcm = { workspace = true } cumulus-pallet-xcmp-queue = { workspace = true } cumulus-primitives-core = { workspace = true } -cumulus-primitives-timestamp = { workspace = true } cumulus-primitives-utility = { workspace = true } parachain-info = { workspace = true } parachains-common = { workspace = true } @@ -125,7 +124,6 @@ std = [ "cumulus-pallet-xcm/std", "cumulus-pallet-xcmp-queue/std", "cumulus-primitives-core/std", - "cumulus-primitives-timestamp/std", "cumulus-primitives-utility/std", "dp-consensus/std", "dp-container-chain-genesis-data/std", @@ -226,6 +224,7 @@ runtime-benchmarks = [ "pallet-multisig/runtime-benchmarks", "pallet-parameters/runtime-benchmarks", "pallet-proxy/runtime-benchmarks", + "pallet-session/runtime-benchmarks", "pallet-sudo/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "pallet-transaction-payment/runtime-benchmarks", diff --git a/chains/container-chains/runtime-templates/simple/src/lib.rs b/chains/container-chains/runtime-templates/simple/src/lib.rs index edb4434789..453db6a917 100644 --- a/chains/container-chains/runtime-templates/simple/src/lib.rs +++ b/chains/container-chains/runtime-templates/simple/src/lib.rs @@ -435,7 +435,10 @@ impl frame_system::Config for Runtime { type SingleBlockMigrations = (); type MultiBlockMigrator = MultiBlockMigrations; type PreInherents = (); - type PostInherents = (); + type PostInherents = ( + // Validate timestamp provided by the consensus client + AsyncBacking, + ); type PostTransactions = (); type ExtensionsWeightInfo = weights::frame_system_extensions::SubstrateWeight; } @@ -565,6 +568,7 @@ pub const BLOCK_PROCESSING_VELOCITY: u32 = 1; type ConsensusHook = pallet_async_backing::consensus_hook::FixedVelocityConsensusHook< Runtime, + RELAY_CHAIN_SLOT_DURATION_MILLIS, BLOCK_PROCESSING_VELOCITY, UNINCLUDED_SEGMENT_CAPACITY, >; @@ -581,7 +585,6 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type ReservedXcmpWeight = ReservedXcmpWeight; type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases; type ConsensusHook = ConsensusHook; - type SelectCore = cumulus_pallet_parachain_system::DefaultCoreSelector; type RelayParentOffset = ConstU32<0>; } @@ -602,6 +605,8 @@ impl pallet_async_backing::Config for Runtime { type GetAndVerifySlot = pallet_async_backing::ParaSlot; type ExpectedBlockTime = ExpectedBlockTime; + // Not a typo, SlotDuration is equal to ExpectedBlockTime + type SlotDuration = ExpectedBlockTime; } impl parachain_info::Config for Runtime {} @@ -997,7 +1002,7 @@ impl_runtime_apis! { VERSION } - fn execute_block(block: Block) { + fn execute_block(block: ::LazyBlock) { Executive::execute_block(block) } @@ -1034,7 +1039,7 @@ impl_runtime_apis! { } fn check_inherents( - block: Block, + block: ::LazyBlock, data: sp_inherents::InherentData, ) -> sp_inherents::CheckInherentsResult { data.check_extrinsics(&block) @@ -1455,7 +1460,7 @@ impl_runtime_apis! { } fn execute_block( - block: Block, + block: ::LazyBlock, state_root_check: bool, signature_check: bool, select: frame_try_runtime::TryStateSelect, @@ -1548,8 +1553,9 @@ impl_runtime_apis! { PolkadotXcm::query_xcm_weight(message) } - fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>) -> Result { - PolkadotXcm::query_delivery_fees(destination, message) + fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>, asset_id: VersionedAssetId) -> Result { + type AssetExchanger = ::AssetExchanger; + PolkadotXcm::query_delivery_fees::(destination, message, asset_id) } } @@ -1559,7 +1565,7 @@ impl_runtime_apis! { } fn dry_run_xcm(origin_location: VersionedLocation, xcm: VersionedXcm) -> Result, XcmDryRunApiError> { - PolkadotXcm::dry_run_xcm::(origin_location, xcm) + PolkadotXcm::dry_run_xcm::(origin_location, xcm) } } @@ -1576,34 +1582,8 @@ impl_runtime_apis! { } } -#[allow(dead_code)] -struct CheckInherents; - -#[allow(deprecated)] -impl cumulus_pallet_parachain_system::CheckInherents for CheckInherents { - fn check_inherents( - block: &Block, - relay_state_proof: &cumulus_pallet_parachain_system::RelayChainStateProof, - ) -> sp_inherents::CheckInherentsResult { - let relay_chain_slot = relay_state_proof - .read_slot() - .expect("Could not read the relay chain slot from the proof"); - - let inherent_data = - cumulus_primitives_timestamp::InherentDataProvider::from_relay_chain_slot_and_duration( - relay_chain_slot, - core::time::Duration::from_secs(6), - ) - .create_inherent_data() - .expect("Could not create the timestamp inherent data"); - - inherent_data.check_extrinsics(block) - } -} - cumulus_pallet_parachain_system::register_validate_block! { Runtime = Runtime, - CheckInherents = CheckInherents, BlockExecutor = pallet_author_inherent::BlockExecutor::, } diff --git a/chains/container-chains/runtime-templates/simple/src/weights/cumulus_pallet_xcmp_queue.rs b/chains/container-chains/runtime-templates/simple/src/weights/cumulus_pallet_xcmp_queue.rs index 3f59e016a6..678f52de8f 100644 --- a/chains/container-chains/runtime-templates/simple/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/chains/container-chains/runtime-templates/simple/src/weights/cumulus_pallet_xcmp_queue.rs @@ -59,10 +59,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat // Proof Size summary in bytes: // Measured: `109` // Estimated: `1497` - // Minimum execution time: 7_648_000 picoseconds. - Weight::from_parts(7_833_000, 1497) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 5_063_000 picoseconds. + Weight::from_parts(5_451_000, 0) + .saturating_add(Weight::from_parts(0, 1497)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) @@ -73,18 +74,19 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::Pages` (r:0 w:1) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) - /// The range of component `n` is `[0, 65531]`. + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 105467]`. fn enqueue_n_bytes_xcmp_message(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `115` + // Measured: `151` // Estimated: `5487` - // Minimum execution time: 18_883_000 picoseconds. - Weight::from_parts(15_132_436, 5487) - // Standard Error: 9 - .saturating_add(Weight::from_parts(950, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 14_672_000 picoseconds. + Weight::from_parts(10_338_894, 0) + .saturating_add(Weight::from_parts(0, 5487)) + // Standard Error: 7 + .saturating_add(Weight::from_parts(963, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) @@ -95,38 +97,40 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::Pages` (r:0 w:1) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 1000]`. fn enqueue_n_empty_xcmp_messages(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `115` + // Measured: `151` // Estimated: `5487` - // Minimum execution time: 15_908_000 picoseconds. - Weight::from_parts(21_512_910, 5487) - // Standard Error: 214 - .saturating_add(Weight::from_parts(137_814, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 12_866_000 picoseconds. + Weight::from_parts(17_702_570, 0) + .saturating_add(Weight::from_parts(0, 5487)) + // Standard Error: 233 + .saturating_add(Weight::from_parts(140_639, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `Measured`) /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) /// Storage: `MessageQueue::Pages` (r:1 w:1) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `Measured`) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `Measured`) /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `Measured`) - /// The range of component `n` is `[0, 65521]`. + /// The range of component `n` is `[0, 105457]`. fn enqueue_empty_xcmp_message_at(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `297 + n * (1 ±0)` - // Estimated: `3758 + n * (1 ±0)` - // Minimum execution time: 27_059_000 picoseconds. - Weight::from_parts(19_782_951, 3758) - // Standard Error: 15 - .saturating_add(Weight::from_parts(2_128, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `334 + n * (1 ±0)` + // Estimated: `3797 + n * (1 ±0)` + // Minimum execution time: 21_629_000 picoseconds. + Weight::from_parts(14_155_444, 0) + .saturating_add(Weight::from_parts(0, 3797)) + // Standard Error: 12 + .saturating_add(Weight::from_parts(2_047, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) @@ -138,18 +142,19 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::Pages` (r:0 w:100) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 100]`. fn enqueue_n_full_pages(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `150` + // Measured: `186` // Estimated: `5487` - // Minimum execution time: 17_517_000 picoseconds. - Weight::from_parts(11_959_048, 5487) - // Standard Error: 46_299 - .saturating_add(Weight::from_parts(59_651_157, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 13_907_000 picoseconds. + Weight::from_parts(14_110_000, 0) + .saturating_add(Weight::from_parts(0, 5487)) + // Standard Error: 78_378 + .saturating_add(Weight::from_parts(91_417_975, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) } /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) @@ -157,17 +162,18 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) /// Storage: `MessageQueue::Pages` (r:1 w:1) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `Measured`) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `Measured`) /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `Measured`) fn enqueue_1000_small_xcmp_messages() -> Weight { // Proof Size summary in bytes: - // Measured: `33062` - // Estimated: `36527` - // Minimum execution time: 236_037_000 picoseconds. - Weight::from_parts(239_566_000, 36527) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `53067` + // Estimated: `56532` + // Minimum execution time: 266_394_000 picoseconds. + Weight::from_parts(270_684_000, 0) + .saturating_add(Weight::from_parts(0, 56532)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) @@ -175,10 +181,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat // Proof Size summary in bytes: // Measured: `109` // Estimated: `2767` - // Minimum execution time: 4_897_000 picoseconds. - Weight::from_parts(5_017_000, 2767) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 3_299_000 picoseconds. + Weight::from_parts(3_593_000, 0) + .saturating_add(Weight::from_parts(0, 2767)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) @@ -186,17 +193,22 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat // Proof Size summary in bytes: // Measured: `144` // Estimated: `2767` - // Minimum execution time: 6_185_000 picoseconds. - Weight::from_parts(6_533_000, 2767) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 4_643_000 picoseconds. + Weight::from_parts(4_934_000, 0) + .saturating_add(Weight::from_parts(0, 2767)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - fn take_first_concatenated_xcm() -> Weight { + /// The range of component `n` is `[0, 92]`. + fn take_first_concatenated_xcm(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_975_000 picoseconds. - Weight::from_parts(8_264_000, 0) + // Minimum execution time: 2_059_000 picoseconds. + Weight::from_parts(2_414_071, 0) + .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 126 + .saturating_add(Weight::from_parts(17_448, 0).saturating_mul(n.into())) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) @@ -211,27 +223,39 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::Pages` (r:0 w:1) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) fn on_idle_good_msg() -> Weight { // Proof Size summary in bytes: - // Measured: `65744` - // Estimated: `69209` - // Minimum execution time: 132_760_000 picoseconds. - Weight::from_parts(140_134_000, 69209) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `105716` + // Estimated: `109181` + // Minimum execution time: 178_629_000 picoseconds. + Weight::from_parts(181_750_000, 0) + .saturating_add(Weight::from_parts(0, 109181)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) fn on_idle_large_msg() -> Weight { // Proof Size summary in bytes: - // Measured: `65743` - // Estimated: `69208` - // Minimum execution time: 63_960_000 picoseconds. - Weight::from_parts(68_534_000, 69208) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `65785` + // Estimated: `69250` + // Minimum execution time: 119_180_000 picoseconds. + Weight::from_parts(121_856_000, 0) + .saturating_add(Weight::from_parts(0, 69250)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } -} \ No newline at end of file +} diff --git a/chains/container-chains/runtime-templates/simple/src/weights/pallet_assets.rs b/chains/container-chains/runtime-templates/simple/src/weights/pallet_assets.rs index 9e398df7ff..51311e1270 100644 --- a/chains/container-chains/runtime-templates/simple/src/weights/pallet_assets.rs +++ b/chains/container-chains/runtime-templates/simple/src/weights/pallet_assets.rs @@ -53,483 +53,589 @@ use core::marker::PhantomData; /// Weights for pallet_assets using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_assets::WeightInfo for SubstrateWeight { + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::NextAssetId` (r:1 w:0) + /// Proof: `ForeignAssets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(602), added: 1097, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 0_000 picoseconds. - Weight::from_parts(0, 0) + // Measured: `139` + // Estimated: `4273` + // Minimum execution time: 29_713_000 picoseconds. + Weight::from_parts(30_405_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::NextAssetId` (r:1 w:0) - /// Proof: `ForeignAssets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(602), added: 1097, mode: `MaxEncodedLen`) fn force_create() -> Weight { // Proof Size summary in bytes: - // Measured: `3` - // Estimated: `3673` - // Minimum execution time: 15_088_000 picoseconds. - Weight::from_parts(15_333_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `4` + // Estimated: `4273` + // Minimum execution time: 11_430_000 picoseconds. + Weight::from_parts(11_825_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:0) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn start_destroy() -> Weight { // Proof Size summary in bytes: - // Measured: `273` - // Estimated: `3673` - // Minimum execution time: 14_375_000 picoseconds. - Weight::from_parts(14_559_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `324` + // Estimated: `4273` + // Minimum execution time: 16_882_000 picoseconds. + Weight::from_parts(17_360_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1001 w:1000) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1000 w:1000) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1000 w:1000) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1000 w:1000) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1000]`. - fn destroy_accounts(c: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `79 + c * (208 ±0)` - // Estimated: `3673 + c * (2607 ±0)` - // Minimum execution time: 20_748_000 picoseconds. - Weight::from_parts(20_949_000, 3673) - // Standard Error: 13_230 - .saturating_add(Weight::from_parts(16_551_218, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 2607).saturating_mul(c.into())) + /// The range of component `c` is `[0, 1000]`. + /// The range of component `c` is `[0, 1000]`. + fn destroy_accounts(c: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + c * (208 ±0)` + // Estimated: `4273 + c * (3207 ±0)` + // Minimum execution time: 15_990_000 picoseconds. + Weight::from_parts(16_161_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 16_995 + .saturating_add(Weight::from_parts(25_624_471, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(c.into()))) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(c.into()))) + .saturating_add(Weight::from_parts(0, 3207).saturating_mul(c.into())) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1001 w:1000) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) + /// The range of component `a` is `[0, 1000]`. + /// The range of component `a` is `[0, 1000]`. /// The range of component `a` is `[0, 1000]`. - fn destroy_approvals(a: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `408 + a * (86 ±0)` - // Estimated: `3673 + a * (2621 ±0)` - // Minimum execution time: 20_636_000 picoseconds. - Weight::from_parts(20_843_000, 3673) - // Standard Error: 4_031 - .saturating_add(Weight::from_parts(6_405_999, 0).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + fn destroy_approvals(a: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `413 + a * (86 ±0)` + // Estimated: `4273 + a * (3221 ±0)` + // Minimum execution time: 16_532_000 picoseconds. + Weight::from_parts(16_865_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 4_823 + .saturating_add(Weight::from_parts(15_353_976, 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_u64)) + .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_parts(0, 2621).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 3221).saturating_mul(a.into())) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:0) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn finish_destroy() -> Weight { // Proof Size summary in bytes: - // Measured: `239` - // Estimated: `3673` - // Minimum execution time: 17_082_000 picoseconds. - Weight::from_parts(17_422_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 13_451_000 picoseconds. + Weight::from_parts(14_019_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn mint() -> Weight { // Proof Size summary in bytes: - // Measured: `239` - // Estimated: `3673` - // Minimum execution time: 29_937_000 picoseconds. - Weight::from_parts(30_184_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 22_965_000 picoseconds. + Weight::from_parts(23_855_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn burn() -> Weight { // Proof Size summary in bytes: - // Measured: `345` - // Estimated: `3673` - // Minimum execution time: 38_550_000 picoseconds. - Weight::from_parts(39_355_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `356` + // Estimated: `4273` + // Minimum execution time: 47_536_000 picoseconds. + Weight::from_parts(49_071_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `384` - // Estimated: `6204` - // Minimum execution time: 54_488_000 picoseconds. - Weight::from_parts(55_542_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 59_854_000 picoseconds. + Weight::from_parts(61_262_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:0) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: - // Measured: `384` - // Estimated: `6204` - // Minimum execution time: 49_320_000 picoseconds. - Weight::from_parts(50_043_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 45_638_000 picoseconds. + Weight::from_parts(46_477_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `384` - // Estimated: `6204` - // Minimum execution time: 54_798_000 picoseconds. - Weight::from_parts(55_887_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 59_607_000 picoseconds. + Weight::from_parts(61_405_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn freeze() -> Weight { // Proof Size summary in bytes: - // Measured: `345` - // Estimated: `3673` - // Minimum execution time: 19_765_000 picoseconds. - Weight::from_parts(20_086_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 16_524_000 picoseconds. + Weight::from_parts(17_268_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn thaw() -> Weight { // Proof Size summary in bytes: - // Measured: `345` - // Estimated: `3673` - // Minimum execution time: 19_719_000 picoseconds. - Weight::from_parts(20_257_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 16_618_000 picoseconds. + Weight::from_parts(17_201_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn freeze_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `273` - // Estimated: `3673` - // Minimum execution time: 14_328_000 picoseconds. - Weight::from_parts(14_638_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 11_755_000 picoseconds. + Weight::from_parts(12_366_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn thaw_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `273` - // Estimated: `3673` - // Minimum execution time: 14_274_000 picoseconds. - Weight::from_parts(14_634_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 11_872_000 picoseconds. + Weight::from_parts(12_490_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:0) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn transfer_ownership() -> Weight { // Proof Size summary in bytes: - // Measured: `239` - // Estimated: `3673` - // Minimum execution time: 17_491_000 picoseconds. - Weight::from_parts(17_811_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 13_752_000 picoseconds. + Weight::from_parts(14_440_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn set_team() -> Weight { // Proof Size summary in bytes: - // Measured: `239` - // Estimated: `3673` - // Minimum execution time: 15_180_000 picoseconds. - Weight::from_parts(15_572_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 11_860_000 picoseconds. + Weight::from_parts(12_186_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, 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 { - // Proof Size summary in bytes: - // Measured: `239` - // Estimated: `3673` - // Minimum execution time: 17_145_000 picoseconds. - Weight::from_parts(17_890_026, 3673) - // Standard Error: 356 - .saturating_add(Weight::from_parts(248, 0).saturating_mul(n.into())) - // Standard Error: 356 - .saturating_add(Weight::from_parts(1_863, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + fn set_metadata(_n: u32, s: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 27_274_000 picoseconds. + Weight::from_parts(28_578_070, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 776 + .saturating_add(Weight::from_parts(1_087, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `401` - // Estimated: `3673` - // Minimum execution time: 17_979_000 picoseconds. - Weight::from_parts(18_533_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `406` + // Estimated: `4273` + // Minimum execution time: 27_414_000 picoseconds. + Weight::from_parts(28_274_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, 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 { - // Proof Size summary in bytes: - // Measured: `78` - // Estimated: `3673` - // Minimum execution time: 16_629_000 picoseconds. - Weight::from_parts(17_157_814, 3673) - // Standard Error: 314 - .saturating_add(Weight::from_parts(942, 0).saturating_mul(n.into())) - // Standard Error: 314 - .saturating_add(Weight::from_parts(876, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + /// 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 { + // Proof Size summary in bytes: + // Measured: `81` + // Estimated: `4273` + // Minimum execution time: 12_087_000 picoseconds. + Weight::from_parts(12_745_826, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 440 + .saturating_add(Weight::from_parts(1_010, 0).saturating_mul(n.into())) + // Standard Error: 440 + .saturating_add(Weight::from_parts(1_303, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn force_clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `401` - // Estimated: `3673` - // Minimum execution time: 17_857_000 picoseconds. - Weight::from_parts(18_324_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `406` + // Estimated: `4273` + // Minimum execution time: 26_528_000 picoseconds. + Weight::from_parts(27_478_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn force_asset_status() -> Weight { // Proof Size summary in bytes: - // Measured: `239` - // Estimated: `3673` - // Minimum execution time: 14_823_000 picoseconds. - Weight::from_parts(15_159_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 10_881_000 picoseconds. + Weight::from_parts(11_268_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn approve_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `273` - // Estimated: `3673` - // Minimum execution time: 22_398_000 picoseconds. - Weight::from_parts(23_018_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 31_216_000 picoseconds. + Weight::from_parts(32_411_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn transfer_approved() -> Weight { // Proof Size summary in bytes: - // Measured: `552` - // Estimated: `6204` - // Minimum execution time: 67_594_000 picoseconds. - Weight::from_parts(68_736_000, 6204) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `526` + // Estimated: `7404` + // Minimum execution time: 79_133_000 picoseconds. + Weight::from_parts(81_252_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(7)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn cancel_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `441` - // Estimated: `3673` - // Minimum execution time: 25_839_000 picoseconds. - Weight::from_parts(26_435_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `446` + // Estimated: `4273` + // Minimum execution time: 33_529_000 picoseconds. + Weight::from_parts(34_768_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn force_cancel_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `441` - // Estimated: `3673` - // Minimum execution time: 25_863_000 picoseconds. - Weight::from_parts(26_353_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `446` + // Estimated: `4273` + // Minimum execution time: 33_558_000 picoseconds. + Weight::from_parts(34_197_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn set_min_balance() -> Weight { // Proof Size summary in bytes: - // Measured: `239` - // Estimated: `3673` - // Minimum execution time: 16_169_000 picoseconds. - Weight::from_parts(16_584_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 12_533_000 picoseconds. + Weight::from_parts(12_956_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn touch() -> Weight { // Proof Size summary in bytes: - // Measured: `239` - // Estimated: `3673` - // Minimum execution time: 22_698_000 picoseconds. - Weight::from_parts(22_947_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `345` + // Estimated: `4273` + // Minimum execution time: 32_643_000 picoseconds. + Weight::from_parts(33_899_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn touch_other() -> Weight { // Proof Size summary in bytes: - // Measured: `239` - // Estimated: `3673` - // Minimum execution time: 21_787_000 picoseconds. - Weight::from_parts(22_265_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 31_276_000 picoseconds. + Weight::from_parts(32_155_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn refund() -> Weight { // Proof Size summary in bytes: - // Measured: `363` - // Estimated: `3673` - // Minimum execution time: 20_715_000 picoseconds. - Weight::from_parts(21_115_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `477` + // Estimated: `4273` + // Minimum execution time: 43_426_000 picoseconds. + Weight::from_parts(45_064_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn refund_other() -> Weight { // Proof Size summary in bytes: - // Measured: `396` - // Estimated: `3673` - // Minimum execution time: 19_582_000 picoseconds. - Weight::from_parts(19_878_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `407` + // Estimated: `4273` + // Minimum execution time: 41_885_000 picoseconds. + Weight::from_parts(43_300_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn block() -> Weight { // Proof Size summary in bytes: - // Measured: `345` - // Estimated: `3673` - // Minimum execution time: 19_535_000 picoseconds. - Weight::from_parts(20_118_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 16_833_000 picoseconds. + Weight::from_parts(17_265_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { // Proof Size summary in bytes: - // Measured: `384` - // Estimated: `6204` - // Minimum execution time: 67_303_000 picoseconds. - Weight::from_parts(68_103_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 72_880_000 picoseconds. + Weight::from_parts(74_426_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn total_issuance() -> Weight { // Proof Size summary in bytes: - // Measured: `273` - // Estimated: `3673` - // Minimum execution time: 6_132_000 picoseconds. - Weight::from_parts(6_352_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 5_454_000 picoseconds. + Weight::from_parts(5_742_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `ForeignAssets::Account` (r:1 w:0) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn balance() -> Weight { // Proof Size summary in bytes: - // Measured: `147` - // Estimated: `3597` - // Minimum execution time: 7_243_000 picoseconds. - Weight::from_parts(7_551_000, 3597) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Measured: `150` + // Estimated: `4197` + // Minimum execution time: 6_480_000 picoseconds. + Weight::from_parts(6_813_000, 0) + .saturating_add(Weight::from_parts(0, 4197)) + .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `ForeignAssets::Approvals` (r:1 w:0) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn allowance() -> Weight { // Proof Size summary in bytes: - // Measured: `242` - // Estimated: `3611` - // Minimum execution time: 10_660_000 picoseconds. - Weight::from_parts(10_867_000, 3611) + // Measured: `245` + // Estimated: `4211` + // Minimum execution time: 8_685_000 picoseconds. + Weight::from_parts(9_177_000, 0) + .saturating_add(Weight::from_parts(0, 4211)) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// The range of component `n` is `[0, 5]`. + /// The range of component `n` is `[0, 5]`. + /// The range of component `n` is `[0, 5]`. + fn set_reserves(n: u32) -> Weight { + Weight::from_parts(31_972_000, 3675) + // Standard Error: 13_748 + .saturating_add(Weight::from_parts(198_975, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } -} \ No newline at end of file +} diff --git a/chains/container-chains/runtime-templates/simple/src/weights/pallet_xcm.rs b/chains/container-chains/runtime-templates/simple/src/weights/pallet_xcm.rs index 5e9c942805..4ec1431412 100644 --- a/chains/container-chains/runtime-templates/simple/src/weights/pallet_xcm.rs +++ b/chains/container-chains/runtime-templates/simple/src/weights/pallet_xcm.rs @@ -53,52 +53,62 @@ use core::marker::PhantomData; /// Weights for pallet_xcm using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_xcm::WeightInfo for SubstrateWeight { - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) - /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `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(105506), added: 107981, mode: `MaxEncodedLen`) fn send() -> Weight { // Proof Size summary in bytes: - // Measured: `181` - // Estimated: `3646` - // Minimum execution time: 39_877_000 picoseconds. - Weight::from_parts(40_427_000, 3646) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `245` + // Estimated: `3710` + // Minimum execution time: 31_621_000 picoseconds. + Weight::from_parts(33_059_000, 0) + .saturating_add(Weight::from_parts(0, 3710)) + .saturating_add(T::DbWeight::get().reads(4)) + .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`) + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// 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(105506), added: 107981, mode: `MaxEncodedLen`) fn teleport_assets() -> 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) + // Measured: `277` + // Estimated: `3742` + // Minimum execution time: 120_046_000 picoseconds. + Weight::from_parts(123_674_000, 0) + .saturating_add(Weight::from_parts(0, 3742)) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: `Parameters::Parameters` (r:1 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(61), added: 2536, mode: `MaxEncodedLen`) - /// Storage: `XcmExecutorUtils::TeleportPolicy` (r:1 w:0) - /// Proof: `XcmExecutorUtils::TeleportPolicy` (`max_values`: None, `max_size`: Some(6640), added: 9115, mode: `MaxEncodedLen`) - /// Storage: `XcmExecutorUtils::ReservePolicy` (r:1 w:0) - /// Proof: `XcmExecutorUtils::ReservePolicy` (`max_values`: None, `max_size`: Some(6640), added: 9115, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) - /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SafeXcmVersion` (`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) @@ -107,54 +117,56 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`) fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `412` - // Estimated: `10105` - // Minimum execution time: 175_608_000 picoseconds. - Weight::from_parts(179_028_000, 10105) - .saturating_add(T::DbWeight::get().reads(10_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `329` + // Estimated: `6196` + // Minimum execution time: 136_136_000 picoseconds. + Weight::from_parts(140_390_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: `Parameters::Parameters` (r:1 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(61), added: 2536, mode: `MaxEncodedLen`) - /// Storage: `XcmExecutorUtils::TeleportPolicy` (r:1 w:0) - /// Proof: `XcmExecutorUtils::TeleportPolicy` (`max_values`: None, `max_size`: Some(6640), added: 9115, mode: `MaxEncodedLen`) - /// Storage: `XcmExecutorUtils::ReservePolicy` (r:1 w:0) - /// Proof: `XcmExecutorUtils::ReservePolicy` (`max_values`: None, `max_size`: Some(6640), added: 9115, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `AssetsFreezer::FrozenBalances` (r:1 w:0) + /// Proof: `AssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssetsCreator::ForeignAssetToAssetId` (r:1 w:0) - /// Proof: `ForeignAssetsCreator::ForeignAssetToAssetId` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) - /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `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(105506), added: 107981, mode: `MaxEncodedLen`) fn transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `811` - // Estimated: `10105` - // Minimum execution time: 241_465_000 picoseconds. - Weight::from_parts(245_660_000, 10105) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `669` + // Estimated: `6208` + // Minimum execution time: 187_283_000 picoseconds. + Weight::from_parts(195_176_000, 0) + .saturating_add(Weight::from_parts(0, 6208)) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(7)) } + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn execute() -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `0` - // Minimum execution time: 12_215_000 picoseconds. - Weight::from_parts(12_438_000, 0) + // Estimated: `1485` + // Minimum execution time: 10_096_000 picoseconds. + Weight::from_parts(10_505_000, 0) + .saturating_add(Weight::from_parts(0, 1485)) + .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -162,71 +174,68 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_638_000 picoseconds. - Weight::from_parts(10_797_000, 0) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 8_024_000 picoseconds. + Weight::from_parts(8_375_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `PolkadotXcm::SafeXcmVersion` (r:0 w:1) - /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn force_default_xcm_version() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_443_000 picoseconds. - Weight::from_parts(3_731_000, 0) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 2_480_000 picoseconds. + Weight::from_parts(2_590_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) - /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `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(105506), added: 107981, 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: `181` - // Estimated: `3646` - // Minimum execution time: 47_985_000 picoseconds. - Weight::from_parts(49_079_000, 3646) - .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `245` + // Estimated: `3710` + // Minimum execution time: 38_995_000 picoseconds. + Weight::from_parts(40_184_000, 0) + .saturating_add(Weight::from_parts(0, 3710)) + .saturating_add(T::DbWeight::get().reads(6)) + .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: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) - /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `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(105506), added: 107981, 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: `395` - // Estimated: `3860` - // Minimum execution time: 48_782_000 picoseconds. - Weight::from_parts(50_307_000, 3860) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `404` + // Estimated: `108971` + // Minimum execution time: 43_832_000 picoseconds. + Weight::from_parts(45_241_000, 0) + .saturating_add(Weight::from_parts(0, 108971)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1) /// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -234,104 +243,104 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_641_000 picoseconds. - Weight::from_parts(3_748_000, 0) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 2_395_000 picoseconds. + Weight::from_parts(2_546_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `PolkadotXcm::SupportedVersion` (r:6 w:2) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: - // Measured: `125` - // Estimated: `15965` - // Minimum execution time: 30_312_000 picoseconds. - Weight::from_parts(30_781_000, 15965) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `22` + // Estimated: `15862` + // Minimum execution time: 22_061_000 picoseconds. + Weight::from_parts(22_555_000, 0) + .saturating_add(Weight::from_parts(0, 15862)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `PolkadotXcm::VersionNotifiers` (r:6 w:2) /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notifiers() -> Weight { // Proof Size summary in bytes: - // Measured: `129` - // Estimated: `15969` - // Minimum execution time: 30_124_000 picoseconds. - Weight::from_parts(30_573_000, 15969) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `26` + // Estimated: `15866` + // Minimum execution time: 21_646_000 picoseconds. + Weight::from_parts(22_119_000, 0) + .saturating_add(Weight::from_parts(0, 15866)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:7 w:0) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn already_notified_target() -> Weight { // Proof Size summary in bytes: - // Measured: `178` - // Estimated: `18493` - // Minimum execution time: 36_528_000 picoseconds. - Weight::from_parts(36_949_000, 18493) - .saturating_add(T::DbWeight::get().reads(7_u64)) + // Measured: `39` + // Estimated: `18354` + // Minimum execution time: 25_937_000 picoseconds. + Weight::from_parts(26_388_000, 0) + .saturating_add(Weight::from_parts(0, 18354)) + .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: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) - /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `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::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: `178` - // Estimated: `6118` - // Minimum execution time: 35_079_000 picoseconds. - Weight::from_parts(35_903_000, 6118) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `187` + // Estimated: `6127` + // Minimum execution time: 36_716_000 picoseconds. + Weight::from_parts(38_269_000, 0) + .saturating_add(Weight::from_parts(0, 6127)) + .saturating_add(T::DbWeight::get().reads(5)) + .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`) fn notify_target_migration_fail() -> Weight { // Proof Size summary in bytes: - // Measured: `181` - // Estimated: `13546` - // Minimum execution time: 24_865_000 picoseconds. - Weight::from_parts(25_180_000, 13546) - .saturating_add(T::DbWeight::get().reads(5_u64)) + // Measured: `39` + // Estimated: `13404` + // Minimum execution time: 17_974_000 picoseconds. + Weight::from_parts(18_407_000, 0) + .saturating_add(Weight::from_parts(0, 13404)) + .saturating_add(T::DbWeight::get().reads(5)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notify_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `136` - // Estimated: `15976` - // Minimum execution time: 30_546_000 picoseconds. - Weight::from_parts(31_152_000, 15976) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `33` + // Estimated: `15873` + // Minimum execution time: 21_964_000 picoseconds. + Weight::from_parts(22_610_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:1) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) - /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `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::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: `178` - // Estimated: `16018` - // Minimum execution time: 48_530_000 picoseconds. - Weight::from_parts(49_489_000, 16018) - .saturating_add(T::DbWeight::get().reads(11_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `187` + // Estimated: `16027` + // Minimum execution time: 46_704_000 picoseconds. + Weight::from_parts(49_027_000, 0) + .saturating_add(Weight::from_parts(0, 16027)) + .saturating_add(T::DbWeight::get().reads(9)) + .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`) @@ -339,53 +348,78 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn new_query() -> Weight { // Proof Size summary in bytes: - // Measured: `69` - // Estimated: `1554` - // Minimum execution time: 7_437_000 picoseconds. - Weight::from_parts(7_580_000, 1554) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `0` + // Estimated: `1485` + // Minimum execution time: 2_694_000 picoseconds. + Weight::from_parts(2_829_000, 0) + .saturating_add(Weight::from_parts(0, 1485)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `PolkadotXcm::Queries` (r:1 w:1) /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn take_response() -> Weight { // Proof Size summary in bytes: - // Measured: `7706` - // Estimated: `11171` - // Minimum execution time: 37_548_000 picoseconds. - Weight::from_parts(37_818_000, 11171) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `7576` + // Estimated: `11041` + // Minimum execution time: 27_767_000 picoseconds. + Weight::from_parts(28_348_000, 0) + .saturating_add(Weight::from_parts(0, 11041)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `Parameters::Parameters` (r:1 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(61), added: 2536, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1) /// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) fn claim_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `130` - // Estimated: `3595` - // Minimum execution time: 61_202_000 picoseconds. - Weight::from_parts(62_231_000, 3595) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `303` + // Estimated: `3768` + // Minimum execution time: 45_836_000 picoseconds. + Weight::from_parts(47_883_000, 0) + .saturating_add(Weight::from_parts(0, 3768)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: `Benchmark::Override` (r:0 w:0) - /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::AuthorizedAliases` (r:1 w:1) + /// Proof: `PolkadotXcm::AuthorizedAliases` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(121), added: 2596, mode: `MaxEncodedLen`) 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) + // Measured: `160` + // Estimated: `3625` + // Minimum execution time: 50_608_000 picoseconds. + Weight::from_parts(51_989_000, 0) + .saturating_add(Weight::from_parts(0, 3625)) + .saturating_add(T::DbWeight::get().reads(2)) + .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`) + /// Storage: `PolkadotXcm::AuthorizedAliases` (r:1 w:1) + /// Proof: `PolkadotXcm::AuthorizedAliases` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(121), added: 2596, mode: `MaxEncodedLen`) fn remove_authorized_alias() -> Weight { + // Proof Size summary in bytes: + // Measured: `516` + // Estimated: `3981` + // Minimum execution time: 52_003_000 picoseconds. + Weight::from_parts(52_989_000, 0) + .saturating_add(Weight::from_parts(0, 3981)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + fn weigh_message() -> 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) + // Minimum execution time: 8_416_000 picoseconds. + Weight::from_parts(8_668_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } -} \ No newline at end of file +} diff --git a/chains/container-chains/runtime-templates/simple/src/xcm_config.rs b/chains/container-chains/runtime-templates/simple/src/xcm_config.rs index a4110a2274..bdcadeeca0 100644 --- a/chains/container-chains/runtime-templates/simple/src/xcm_config.rs +++ b/chains/container-chains/runtime-templates/simple/src/xcm_config.rs @@ -345,11 +345,14 @@ parameter_types! { /// Simple conversion of `u32` into an `AssetId` for use in benchmarking. pub struct ForeignAssetBenchmarkHelper; #[cfg(feature = "runtime-benchmarks")] -impl pallet_assets::BenchmarkHelper for ForeignAssetBenchmarkHelper { +impl pallet_assets::BenchmarkHelper for ForeignAssetBenchmarkHelper { fn create_asset_id_parameter(id: u32) -> AssetId { id.try_into() .expect("number too large to create benchmarks") } + fn create_reserve_id_parameter(id: u32) -> ReserveId { + () + } } #[cfg(feature = "runtime-benchmarks")] impl pallet_asset_rate::AssetKindFactory for ForeignAssetBenchmarkHelper { @@ -360,12 +363,16 @@ impl pallet_asset_rate::AssetKindFactory for ForeignAssetBenchmarkHelpe } pub type AssetId = u16; +pub type ReserveId = (); pub type ForeignAssetsInstance = pallet_assets::Instance1; impl pallet_assets::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Balance = Balance; type AssetId = AssetId; type AssetIdParameter = AssetId; + // TODO: ReserveData = ForeignAssetReserveData + // TODO: check if this needs a migration + type ReserveData = (); type Currency = Balances; type CreateOrigin = frame_support::traits::NeverEnsureOrigin; type ForceOrigin = EnsureRoot; diff --git a/chains/integration-tests/dancebox-runtime-test-utils/src/lib.rs b/chains/integration-tests/dancebox-runtime-test-utils/src/lib.rs index bad3fc8c40..7e3f0ed1c3 100644 --- a/chains/integration-tests/dancebox-runtime-test-utils/src/lib.rs +++ b/chains/integration-tests/dancebox-runtime-test-utils/src/lib.rs @@ -14,6 +14,8 @@ // You should have received a copy of the GNU General Public License // along with Tanssi. If not, see +use cumulus_pallet_parachain_system::parachain_inherent::deconstruct_parachain_inherent_data; +use cumulus_pallet_parachain_system::parachain_inherent::InboundMessagesData; use { core::cell::Cell, cumulus_primitives_core::{ParaId, PersistedValidationData}, @@ -305,9 +307,16 @@ pub fn set_parachain_inherent_data(mock_inherent_data: MockInherentData) { b"ValidationData", )); + let (inherent_data, downward_messages, horizontal_messages) = + deconstruct_parachain_inherent_data(parachain_inherent_data); + assert_ok!(RuntimeCall::ParachainSystem( cumulus_pallet_parachain_system::Call::::set_validation_data { - data: parachain_inherent_data + data: inherent_data, + inbound_messages_data: InboundMessagesData::new( + downward_messages.into_abridged(&mut usize::MAX.clone()), + horizontal_messages.into_abridged(&mut usize::MAX.clone()), + ), } ) .dispatch(inherent_origin())); diff --git a/chains/integration-tests/dancebox-runtime-tests/src/tests/integration_test.rs b/chains/integration-tests/dancebox-runtime-tests/src/tests/integration_test.rs index 89a80c99aa..5d2b95b915 100644 --- a/chains/integration-tests/dancebox-runtime-tests/src/tests/integration_test.rs +++ b/chains/integration-tests/dancebox-runtime-tests/src/tests/integration_test.rs @@ -16,6 +16,7 @@ #![cfg(test)] +use dancebox_runtime::{currency, KeyDeposit, SessionKeys}; use { cumulus_primitives_core::ParaId, dancebox_runtime::{RewardsCollatorCommission, StreamPayment, TransactionPayment}, @@ -6568,3 +6569,19 @@ fn test_registrar_extrinsic_permissions() { ); }); } + +#[test] +fn session_keys_deposit() { + // Check that deposit for pallet_session has correct size depending on `SessionKeys`. + // Assumes that all SessionKeys have the same encoded size. + let nimbus = get_aura_id_from_seed("alice"); + let session_keys = SessionKeys { nimbus }; + let session_keys_len = session_keys.encoded_size(); + // Hardcode value in test so it is easier to debug when SessionKeys size changes + assert_eq!(session_keys_len, 32); + // And assert that the actual deposit matches this session keys length + let x = KeyDeposit::get(); + let y = currency::deposit(1, session_keys_len as u32); + + assert_eq!(x, y); +} diff --git a/chains/integration-tests/xcm/emulated/chains/orchestrator-paras/dancebox/src/lib.rs b/chains/integration-tests/xcm/emulated/chains/orchestrator-paras/dancebox/src/lib.rs index 96f2dd5c53..9c3bc7761b 100644 --- a/chains/integration-tests/xcm/emulated/chains/orchestrator-paras/dancebox/src/lib.rs +++ b/chains/integration-tests/xcm/emulated/chains/orchestrator-paras/dancebox/src/lib.rs @@ -53,7 +53,7 @@ decl_test_parachains! { LocationToAccountId: dancebox_runtime::xcm_config::LocationToAccountId, ParachainInfo: dancebox_runtime::ParachainInfo, MessageOrigin: cumulus_primitives_core::AggregateMessageOrigin, - DigestProvider: TestDigestProvider, + DigestProvider: TestDigestProvider, AdditionalInherentCode: OrchestratorAdditionalInherentCode, }, pallets = { diff --git a/chains/integration-tests/xcm/emulated/chains/relays/dancelight/src/lib.rs b/chains/integration-tests/xcm/emulated/chains/relays/dancelight/src/lib.rs index a29b2b3698..1426533010 100644 --- a/chains/integration-tests/xcm/emulated/chains/relays/dancelight/src/lib.rs +++ b/chains/integration-tests/xcm/emulated/chains/relays/dancelight/src/lib.rs @@ -19,7 +19,7 @@ pub use dancelight_runtime; use xcm_emulator::decl_test_relay_chains; decl_test_relay_chains! { - #[api_version(13)] + #[api_version(15)] pub struct Dancelight { genesis = genesis::genesis(), on_init = (), diff --git a/chains/integration-tests/xcm/emulated/chains/relays/rococo/src/lib.rs b/chains/integration-tests/xcm/emulated/chains/relays/rococo/src/lib.rs index 9a57a435e0..efd288db1b 100644 --- a/chains/integration-tests/xcm/emulated/chains/relays/rococo/src/lib.rs +++ b/chains/integration-tests/xcm/emulated/chains/relays/rococo/src/lib.rs @@ -16,12 +16,11 @@ pub mod genesis; -use cumulus_primitives_core::relay_chain::runtime_api::runtime_decl_for_parachain_host::ParachainHostV13; use xcm_emulator::decl_test_relay_chains; pub use xcm_emulator::TestExt; decl_test_relay_chains! { - #[api_version(11)] + #[api_version(15)] pub struct Rococo { genesis = genesis::genesis(), on_init = (), diff --git a/chains/integration-tests/xcm/emulated/chains/relays/starlight/src/lib.rs b/chains/integration-tests/xcm/emulated/chains/relays/starlight/src/lib.rs index 2915b22a87..9605f35480 100644 --- a/chains/integration-tests/xcm/emulated/chains/relays/starlight/src/lib.rs +++ b/chains/integration-tests/xcm/emulated/chains/relays/starlight/src/lib.rs @@ -18,7 +18,7 @@ pub mod genesis; use xcm_emulator::decl_test_relay_chains; decl_test_relay_chains! { - #[api_version(13)] + #[api_version(15)] pub struct Starlight { genesis = genesis::genesis(), on_init = (), diff --git a/chains/integration-tests/xcm/emulated/chains/relays/westend/Cargo.toml b/chains/integration-tests/xcm/emulated/chains/relays/westend/Cargo.toml index 771c69bb9b..96854dab1d 100644 --- a/chains/integration-tests/xcm/emulated/chains/relays/westend/Cargo.toml +++ b/chains/integration-tests/xcm/emulated/chains/relays/westend/Cargo.toml @@ -36,5 +36,6 @@ runtime-benchmarks = [ "runtime-common/runtime-benchmarks", "runtime-parachains/runtime-benchmarks", "sp-runtime/runtime-benchmarks", + "westend-runtime-constants/runtime-benchmarks", "westend-runtime/runtime-benchmarks", ] diff --git a/chains/integration-tests/xcm/emulated/chains/relays/westend/src/lib.rs b/chains/integration-tests/xcm/emulated/chains/relays/westend/src/lib.rs index f1df70cea7..3f2c23fb44 100644 --- a/chains/integration-tests/xcm/emulated/chains/relays/westend/src/lib.rs +++ b/chains/integration-tests/xcm/emulated/chains/relays/westend/src/lib.rs @@ -15,12 +15,11 @@ // along with Tanssi. If not, see . pub mod genesis; -use cumulus_primitives_core::relay_chain::runtime_api::runtime_decl_for_parachain_host::ParachainHostV13; pub use westend_runtime; use xcm_emulator::decl_test_relay_chains; decl_test_relay_chains! { - #[api_version(11)] + #[api_version(15)] pub struct Westend { genesis = genesis::genesis(), on_init = (), diff --git a/chains/integration-tests/xcm/emulated/chains/templates/frontier-template/src/lib.rs b/chains/integration-tests/xcm/emulated/chains/templates/frontier-template/src/lib.rs index 3f33b660c6..8a1d8e5730 100644 --- a/chains/integration-tests/xcm/emulated/chains/templates/frontier-template/src/lib.rs +++ b/chains/integration-tests/xcm/emulated/chains/templates/frontier-template/src/lib.rs @@ -57,7 +57,7 @@ decl_test_parachains! { LocationToAccountId: LocationToAccountId, ParachainInfo: ParachainInfo, MessageOrigin: cumulus_primitives_core::AggregateMessageOrigin, - DigestProvider: TestDigestProvider, + DigestProvider: TestDigestProvider, AdditionalInherentCode: TemplateAdditionalInherentCode, }, pallets = { diff --git a/chains/integration-tests/xcm/emulated/chains/templates/simple-template/src/lib.rs b/chains/integration-tests/xcm/emulated/chains/templates/simple-template/src/lib.rs index 109bdfe7fe..3d283afc5e 100644 --- a/chains/integration-tests/xcm/emulated/chains/templates/simple-template/src/lib.rs +++ b/chains/integration-tests/xcm/emulated/chains/templates/simple-template/src/lib.rs @@ -54,7 +54,7 @@ decl_test_parachains! { LocationToAccountId: xcm_config::LocationToAccountId, ParachainInfo: ParachainInfo, MessageOrigin: cumulus_primitives_core::AggregateMessageOrigin, - DigestProvider: TestDigestProvider, + DigestProvider: TestDigestProvider, AdditionalInherentCode: TemplateAdditionalInherentCode, }, pallets = { diff --git a/chains/integration-tests/xcm/emulated/common/src/lib.rs b/chains/integration-tests/xcm/emulated/common/src/lib.rs index c84fbf8f9f..7671dbc0c7 100644 --- a/chains/integration-tests/xcm/emulated/common/src/lib.rs +++ b/chains/integration-tests/xcm/emulated/common/src/lib.rs @@ -31,7 +31,7 @@ use { sp_runtime::traits::Convert, sp_runtime::Digest, sp_weights::Weight, - xcm_emulator::{HeaderT, Network, Parachain, RelayChain}, + xcm_emulator::{HeaderT, Parachain, RelayChain}, }; pub mod accounts; @@ -80,13 +80,12 @@ pub fn get_authority_keys_from_seed_no_beefy( ) } -pub struct TestDigestProvider(PhantomData<(R, N)>); +pub struct TestDigestProvider(PhantomData); -impl Convert, Digest> for TestDigestProvider +impl Convert<(BlockNumberFor, BlockNumberFor), Digest> for TestDigestProvider where u64: From<<<::Block as cumulus_primitives_core::BlockT>::Header as HeaderT>::Number> { - fn convert(_block_number: BlockNumberFor) -> Digest { - let relay_block = N::relay_block_number(); - let slot = u64::from(relay_block.into()); + fn convert((_block_number, relay_block_number): (BlockNumberFor, BlockNumberFor)) -> Digest { + let slot = u64::from(relay_block_number); let new_slot_digest: Digest = Digest { logs: vec![ diff --git a/chains/integration-tests/xcm/emulated/tests/assets/dancelight/Cargo.toml b/chains/integration-tests/xcm/emulated/tests/assets/dancelight/Cargo.toml index 0f6500b67e..a3380b21f9 100644 --- a/chains/integration-tests/xcm/emulated/tests/assets/dancelight/Cargo.toml +++ b/chains/integration-tests/xcm/emulated/tests/assets/dancelight/Cargo.toml @@ -42,7 +42,7 @@ snowbridge-pallet-system = { workspace = true } snowbridge-verification-primitives = { workspace = true } sp-core = { workspace = true } sp-runtime = { workspace = true } -sp-tracing = { workspace = true, features = [ "std", "test-utils" ] } +sp-tracing = { workspace = true, features = [ "std" ] } tanssi-emulated-integration-tests-common = { workspace = true } tanssi-runtime-common = { workspace = true, features = [ "relay", "std" ] } xcm = { workspace = true } diff --git a/chains/integration-tests/xcm/emulated/tests/assets/starlight/Cargo.toml b/chains/integration-tests/xcm/emulated/tests/assets/starlight/Cargo.toml index 968b6fa3a3..789083fa6b 100644 --- a/chains/integration-tests/xcm/emulated/tests/assets/starlight/Cargo.toml +++ b/chains/integration-tests/xcm/emulated/tests/assets/starlight/Cargo.toml @@ -28,7 +28,7 @@ snowbridge-inbound-queue-primitives = { workspace = true } snowbridge-pallet-outbound-queue = { workspace = true } sp-core = { workspace = true } sp-runtime = { workspace = true } -sp-tracing = { workspace = true, features = [ "std", "test-utils" ] } +sp-tracing = { workspace = true, features = [ "std" ] } starlight-emulated-chain = { workspace = true } starlight-runtime = { workspace = true, features = [ "std", "testing-helpers" ] } starlight-runtime-constants = { workspace = true, features = [ "std" ] } diff --git a/chains/orchestrator-paras/runtime/dancebox/Cargo.toml b/chains/orchestrator-paras/runtime/dancebox/Cargo.toml index a26e078eeb..6943d643f7 100644 --- a/chains/orchestrator-paras/runtime/dancebox/Cargo.toml +++ b/chains/orchestrator-paras/runtime/dancebox/Cargo.toml @@ -126,7 +126,6 @@ cumulus-pallet-weight-reclaim = { workspace = true } cumulus-pallet-xcm = { workspace = true } cumulus-pallet-xcmp-queue = { workspace = true } cumulus-primitives-core = { workspace = true } -cumulus-primitives-timestamp = { workspace = true } cumulus-primitives-utility = { workspace = true } pallet-invulnerables = { workspace = true } parachain-info = { workspace = true } @@ -166,7 +165,6 @@ std = [ "cumulus-pallet-xcmp-queue/std", "cumulus-primitives-core/std", "cumulus-primitives-parachain-inherent/std", - "cumulus-primitives-timestamp/std", "cumulus-primitives-utility/std", "dp-consensus/std", "dp-container-chain-genesis-data/std", @@ -316,6 +314,7 @@ runtime-benchmarks = [ "pallet-registrar/runtime-benchmarks", "pallet-relay-storage-roots/runtime-benchmarks", "pallet-services-payment/runtime-benchmarks", + "pallet-session/runtime-benchmarks", "pallet-staking/runtime-benchmarks", "pallet-stream-payment/runtime-benchmarks", "pallet-sudo/runtime-benchmarks", diff --git a/chains/orchestrator-paras/runtime/dancebox/src/lib.rs b/chains/orchestrator-paras/runtime/dancebox/src/lib.rs index 10ffb8157b..0b876a6efb 100644 --- a/chains/orchestrator-paras/runtime/dancebox/src/lib.rs +++ b/chains/orchestrator-paras/runtime/dancebox/src/lib.rs @@ -433,7 +433,10 @@ impl frame_system::Config for Runtime { type SingleBlockMigrations = (); type MultiBlockMigrator = MultiBlockMigrations; type PreInherents = (); - type PostInherents = (); + type PostInherents = ( + // Validate timestamp provided by the consensus client + AsyncBacking, + ); type PostTransactions = (); type ExtensionsWeightInfo = weights::frame_system_extensions::SubstrateWeight; } @@ -535,6 +538,7 @@ pub const BLOCK_PROCESSING_VELOCITY: u32 = 1; type ConsensusHook = pallet_async_backing::consensus_hook::FixedVelocityConsensusHook< Runtime, + RELAY_CHAIN_SLOT_DURATION_MILLIS, BLOCK_PROCESSING_VELOCITY, UNINCLUDED_SEGMENT_CAPACITY, >; @@ -551,7 +555,6 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type ReservedXcmpWeight = ReservedXcmpWeight; type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases; type ConsensusHook = ConsensusHook; - type SelectCore = cumulus_pallet_parachain_system::DefaultCoreSelector; type RelayParentOffset = ConstU32<0>; } pub struct ParaSlotProvider; @@ -571,6 +574,8 @@ impl pallet_async_backing::Config for Runtime { type GetAndVerifySlot = pallet_async_backing::ParaSlot; type ExpectedBlockTime = ExpectedBlockTime; + // Not a typo, SlotDuration is equal to ExpectedBlockTime + type SlotDuration = ExpectedBlockTime; } /// Only callable after `set_validation_data` is called which forms this proof the same way @@ -745,6 +750,7 @@ impl SessionManager for CollatorsFromInvulnerablesAndThenFromStaking parameter_types! { pub const Period: u32 = prod_or_fast!(1 * HOURS, 1 * MINUTES); pub const Offset: u32 = 0; + pub const KeyDeposit: Balance = currency::deposit(1, 32); } impl pallet_session::Config for Runtime { @@ -760,6 +766,8 @@ impl pallet_session::Config for Runtime { type Keys = SessionKeys; type WeightInfo = weights::pallet_session::SubstrateWeight; type DisablingStrategy = (); + type Currency = Balances; + type KeyDeposit = KeyDeposit; } /// Read full_rotation_period from pallet_configuration @@ -1899,7 +1907,7 @@ impl_runtime_apis! { VERSION } - fn execute_block(block: Block) { + fn execute_block(block: ::LazyBlock) { Executive::execute_block(block) } @@ -1936,7 +1944,7 @@ impl_runtime_apis! { } fn check_inherents( - block: Block, + block: ::LazyBlock, data: sp_inherents::InherentData, ) -> sp_inherents::CheckInherentsResult { data.check_extrinsics(&block) @@ -2359,7 +2367,7 @@ impl_runtime_apis! { } fn execute_block( - block: Block, + block: ::LazyBlock, state_root_check: bool, signature_check: bool, select: frame_try_runtime::TryStateSelect, @@ -2669,8 +2677,9 @@ impl_runtime_apis! { PolkadotXcm::query_xcm_weight(message) } - fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>) -> Result { - PolkadotXcm::query_delivery_fees(destination, message) + fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>, asset_id: VersionedAssetId) -> Result { + type AssetExchanger = ::AssetExchanger; + PolkadotXcm::query_delivery_fees::(destination, message, asset_id) } } @@ -2680,7 +2689,7 @@ impl_runtime_apis! { } fn dry_run_xcm(origin_location: VersionedLocation, xcm: VersionedXcm) -> Result, XcmDryRunApiError> { - PolkadotXcm::dry_run_xcm::(origin_location, xcm) + PolkadotXcm::dry_run_xcm::(origin_location, xcm) } } @@ -2697,36 +2706,8 @@ impl_runtime_apis! { } } -#[allow(dead_code)] -struct CheckInherents; - -// TODO: this should be removed but currently if we remove it the relay does not check anything -// related to other inherents that are not parachain-system -#[allow(deprecated)] -impl cumulus_pallet_parachain_system::CheckInherents for CheckInherents { - fn check_inherents( - block: &Block, - relay_state_proof: &cumulus_pallet_parachain_system::RelayChainStateProof, - ) -> sp_inherents::CheckInherentsResult { - let relay_chain_slot = relay_state_proof - .read_slot() - .expect("Could not read the relay chain slot from the proof"); - - let inherent_data = - cumulus_primitives_timestamp::InherentDataProvider::from_relay_chain_slot_and_duration( - relay_chain_slot, - core::time::Duration::from_secs(6), - ) - .create_inherent_data() - .expect("Could not create the timestamp inherent data"); - - inherent_data.check_extrinsics(block) - } -} - cumulus_pallet_parachain_system::register_validate_block! { Runtime = Runtime, - CheckInherents = CheckInherents, BlockExecutor = pallet_author_inherent::BlockExecutor::, } diff --git a/chains/orchestrator-paras/runtime/dancebox/src/weights/cumulus_pallet_xcmp_queue.rs b/chains/orchestrator-paras/runtime/dancebox/src/weights/cumulus_pallet_xcmp_queue.rs index 7972e3a238..645a0b335f 100644 --- a/chains/orchestrator-paras/runtime/dancebox/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/chains/orchestrator-paras/runtime/dancebox/src/weights/cumulus_pallet_xcmp_queue.rs @@ -59,10 +59,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat // Proof Size summary in bytes: // Measured: `109` // Estimated: `1497` - // Minimum execution time: 7_904_000 picoseconds. - Weight::from_parts(8_118_000, 1497) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 5_063_000 picoseconds. + Weight::from_parts(5_451_000, 0) + .saturating_add(Weight::from_parts(0, 1497)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) @@ -73,18 +74,19 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::Pages` (r:0 w:1) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) - /// The range of component `n` is `[0, 65531]`. + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 105467]`. fn enqueue_n_bytes_xcmp_message(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `115` + // Measured: `151` // Estimated: `5487` - // Minimum execution time: 18_568_000 picoseconds. - Weight::from_parts(14_217_983, 5487) - // Standard Error: 9 - .saturating_add(Weight::from_parts(1_041, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 14_672_000 picoseconds. + Weight::from_parts(10_338_894, 0) + .saturating_add(Weight::from_parts(0, 5487)) + // Standard Error: 7 + .saturating_add(Weight::from_parts(963, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) @@ -95,38 +97,40 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::Pages` (r:0 w:1) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 1000]`. fn enqueue_n_empty_xcmp_messages(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `115` + // Measured: `151` // Estimated: `5487` - // Minimum execution time: 15_613_000 picoseconds. - Weight::from_parts(20_296_929, 5487) - // Standard Error: 466 - .saturating_add(Weight::from_parts(144_304, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 12_866_000 picoseconds. + Weight::from_parts(17_702_570, 0) + .saturating_add(Weight::from_parts(0, 5487)) + // Standard Error: 233 + .saturating_add(Weight::from_parts(140_639, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `Measured`) /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) /// Storage: `MessageQueue::Pages` (r:1 w:1) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `Measured`) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `Measured`) /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `Measured`) - /// The range of component `n` is `[0, 65521]`. + /// The range of component `n` is `[0, 105457]`. fn enqueue_empty_xcmp_message_at(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `297 + n * (1 ±0)` - // Estimated: `3758 + n * (1 ±0)` - // Minimum execution time: 27_032_000 picoseconds. - Weight::from_parts(19_033_066, 3758) - // Standard Error: 17 - .saturating_add(Weight::from_parts(2_271, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `334 + n * (1 ±0)` + // Estimated: `3797 + n * (1 ±0)` + // Minimum execution time: 21_629_000 picoseconds. + Weight::from_parts(14_155_444, 0) + .saturating_add(Weight::from_parts(0, 3797)) + // Standard Error: 12 + .saturating_add(Weight::from_parts(2_047, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) @@ -138,18 +142,19 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::Pages` (r:0 w:100) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 100]`. fn enqueue_n_full_pages(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `150` + // Measured: `186` // Estimated: `5487` - // Minimum execution time: 17_384_000 picoseconds. - Weight::from_parts(29_316_766, 5487) - // Standard Error: 24_565 - .saturating_add(Weight::from_parts(63_027_018, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 13_907_000 picoseconds. + Weight::from_parts(14_110_000, 0) + .saturating_add(Weight::from_parts(0, 5487)) + // Standard Error: 78_378 + .saturating_add(Weight::from_parts(91_417_975, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) } /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) @@ -157,17 +162,18 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) /// Storage: `MessageQueue::Pages` (r:1 w:1) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `Measured`) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `Measured`) /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `Measured`) fn enqueue_1000_small_xcmp_messages() -> Weight { // Proof Size summary in bytes: - // Measured: `33062` - // Estimated: `36527` - // Minimum execution time: 247_346_000 picoseconds. - Weight::from_parts(250_483_000, 36527) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `53067` + // Estimated: `56532` + // Minimum execution time: 266_394_000 picoseconds. + Weight::from_parts(270_684_000, 0) + .saturating_add(Weight::from_parts(0, 56532)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) @@ -175,10 +181,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat // Proof Size summary in bytes: // Measured: `109` // Estimated: `2767` - // Minimum execution time: 4_743_000 picoseconds. - Weight::from_parts(4_992_000, 2767) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 3_299_000 picoseconds. + Weight::from_parts(3_593_000, 0) + .saturating_add(Weight::from_parts(0, 2767)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) @@ -186,17 +193,22 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat // Proof Size summary in bytes: // Measured: `144` // Estimated: `2767` - // Minimum execution time: 6_138_000 picoseconds. - Weight::from_parts(6_401_000, 2767) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 4_643_000 picoseconds. + Weight::from_parts(4_934_000, 0) + .saturating_add(Weight::from_parts(0, 2767)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - fn take_first_concatenated_xcm() -> Weight { + /// The range of component `n` is `[0, 92]`. + fn take_first_concatenated_xcm(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_157_000 picoseconds. - Weight::from_parts(8_378_000, 0) + // Minimum execution time: 2_059_000 picoseconds. + Weight::from_parts(2_414_071, 0) + .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 126 + .saturating_add(Weight::from_parts(17_448, 0).saturating_mul(n.into())) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) @@ -211,27 +223,39 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::Pages` (r:0 w:1) - /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) fn on_idle_good_msg() -> Weight { // Proof Size summary in bytes: - // Measured: `65744` - // Estimated: `69209` - // Minimum execution time: 143_094_000 picoseconds. - Weight::from_parts(146_790_000, 69209) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `105716` + // Estimated: `109181` + // Minimum execution time: 178_629_000 picoseconds. + Weight::from_parts(181_750_000, 0) + .saturating_add(Weight::from_parts(0, 109181)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`) fn on_idle_large_msg() -> Weight { // Proof Size summary in bytes: - // Measured: `65743` - // Estimated: `69208` - // Minimum execution time: 66_898_000 picoseconds. - Weight::from_parts(71_323_000, 69208) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `65785` + // Estimated: `69250` + // Minimum execution time: 119_180_000 picoseconds. + Weight::from_parts(121_856_000, 0) + .saturating_add(Weight::from_parts(0, 69250)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } -} \ No newline at end of file +} diff --git a/chains/orchestrator-paras/runtime/dancebox/src/weights/pallet_assets.rs b/chains/orchestrator-paras/runtime/dancebox/src/weights/pallet_assets.rs index 8ab6ac535c..df8e9d857d 100644 --- a/chains/orchestrator-paras/runtime/dancebox/src/weights/pallet_assets.rs +++ b/chains/orchestrator-paras/runtime/dancebox/src/weights/pallet_assets.rs @@ -53,483 +53,589 @@ use core::marker::PhantomData; /// Weights for pallet_assets using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_assets::WeightInfo for SubstrateWeight { + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::NextAssetId` (r:1 w:0) + /// Proof: `ForeignAssets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(602), added: 1097, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 0_000 picoseconds. - Weight::from_parts(0, 0) + // Measured: `139` + // Estimated: `4273` + // Minimum execution time: 29_713_000 picoseconds. + Weight::from_parts(30_405_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::NextAssetId` (r:1 w:0) - /// Proof: `ForeignAssets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(602), added: 1097, mode: `MaxEncodedLen`) fn force_create() -> Weight { // Proof Size summary in bytes: // Measured: `4` - // Estimated: `3673` - // Minimum execution time: 15_169_000 picoseconds. - Weight::from_parts(15_550_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Estimated: `4273` + // Minimum execution time: 11_430_000 picoseconds. + Weight::from_parts(11_825_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:0) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn start_destroy() -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3673` - // Minimum execution time: 14_705_000 picoseconds. - Weight::from_parts(15_149_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `324` + // Estimated: `4273` + // Minimum execution time: 16_882_000 picoseconds. + Weight::from_parts(17_360_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1001 w:1000) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1000 w:1000) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1000 w:1000) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1000 w:1000) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1000]`. - fn destroy_accounts(c: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `212 + c * (208 ±0)` - // Estimated: `3673 + c * (2607 ±0)` - // Minimum execution time: 20_857_000 picoseconds. - Weight::from_parts(21_068_000, 3673) - // Standard Error: 12_958 - .saturating_add(Weight::from_parts(16_917_402, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 2607).saturating_mul(c.into())) + /// The range of component `c` is `[0, 1000]`. + /// The range of component `c` is `[0, 1000]`. + fn destroy_accounts(c: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + c * (208 ±0)` + // Estimated: `4273 + c * (3207 ±0)` + // Minimum execution time: 15_990_000 picoseconds. + Weight::from_parts(16_161_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 16_995 + .saturating_add(Weight::from_parts(25_624_471, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(c.into()))) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(c.into()))) + .saturating_add(Weight::from_parts(0, 3207).saturating_mul(c.into())) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1001 w:1000) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) + /// The range of component `a` is `[0, 1000]`. + /// The range of component `a` is `[0, 1000]`. /// The range of component `a` is `[0, 1000]`. - fn destroy_approvals(a: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `409 + a * (86 ±0)` - // Estimated: `3673 + a * (2621 ±0)` - // Minimum execution time: 20_957_000 picoseconds. - Weight::from_parts(21_223_000, 3673) - // Standard Error: 4_449 - .saturating_add(Weight::from_parts(6_523_031, 0).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + fn destroy_approvals(a: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `413 + a * (86 ±0)` + // Estimated: `4273 + a * (3221 ±0)` + // Minimum execution time: 16_532_000 picoseconds. + Weight::from_parts(16_865_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 4_823 + .saturating_add(Weight::from_parts(15_353_976, 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_u64)) + .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_parts(0, 2621).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 3221).saturating_mul(a.into())) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:0) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn finish_destroy() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 17_437_000 picoseconds. - Weight::from_parts(17_758_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 13_451_000 picoseconds. + Weight::from_parts(14_019_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn mint() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 29_810_000 picoseconds. - Weight::from_parts(30_424_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 22_965_000 picoseconds. + Weight::from_parts(23_855_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn burn() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `3673` - // Minimum execution time: 39_036_000 picoseconds. - Weight::from_parts(39_988_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `356` + // Estimated: `4273` + // Minimum execution time: 47_536_000 picoseconds. + Weight::from_parts(49_071_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `385` - // Estimated: `6204` - // Minimum execution time: 54_763_000 picoseconds. - Weight::from_parts(55_917_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 59_854_000 picoseconds. + Weight::from_parts(61_262_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:0) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: - // Measured: `385` - // Estimated: `6204` - // Minimum execution time: 48_971_000 picoseconds. - Weight::from_parts(50_071_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 45_638_000 picoseconds. + Weight::from_parts(46_477_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `385` - // Estimated: `6204` - // Minimum execution time: 55_045_000 picoseconds. - Weight::from_parts(55_892_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 59_607_000 picoseconds. + Weight::from_parts(61_405_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn freeze() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `3673` - // Minimum execution time: 20_040_000 picoseconds. - Weight::from_parts(20_658_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 16_524_000 picoseconds. + Weight::from_parts(17_268_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn thaw() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `3673` - // Minimum execution time: 20_057_000 picoseconds. - Weight::from_parts(20_727_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 16_618_000 picoseconds. + Weight::from_parts(17_201_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn freeze_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3673` - // Minimum execution time: 14_460_000 picoseconds. - Weight::from_parts(14_909_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 11_755_000 picoseconds. + Weight::from_parts(12_366_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn thaw_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3673` - // Minimum execution time: 14_611_000 picoseconds. - Weight::from_parts(14_909_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 11_872_000 picoseconds. + Weight::from_parts(12_490_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:0) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn transfer_ownership() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 18_016_000 picoseconds. - Weight::from_parts(18_403_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 13_752_000 picoseconds. + Weight::from_parts(14_440_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn set_team() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 15_544_000 picoseconds. - Weight::from_parts(16_001_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 11_860_000 picoseconds. + Weight::from_parts(12_186_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, 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 { - // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 17_857_000 picoseconds. - Weight::from_parts(18_508_062, 3673) - // Standard Error: 385 - .saturating_add(Weight::from_parts(2_036, 0).saturating_mul(n.into())) - // Standard Error: 385 - .saturating_add(Weight::from_parts(3_110, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + fn set_metadata(_n: u32, s: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 27_274_000 picoseconds. + Weight::from_parts(28_578_070, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 776 + .saturating_add(Weight::from_parts(1_087, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `402` - // Estimated: `3673` - // Minimum execution time: 18_894_000 picoseconds. - Weight::from_parts(19_319_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `406` + // Estimated: `4273` + // Minimum execution time: 27_414_000 picoseconds. + Weight::from_parts(28_274_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, 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 { - // Proof Size summary in bytes: - // Measured: `79` - // Estimated: `3673` - // Minimum execution time: 16_634_000 picoseconds. - Weight::from_parts(17_321_220, 3673) - // Standard Error: 325 - .saturating_add(Weight::from_parts(2_448, 0).saturating_mul(n.into())) - // Standard Error: 325 - .saturating_add(Weight::from_parts(1_452, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + /// 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 { + // Proof Size summary in bytes: + // Measured: `81` + // Estimated: `4273` + // Minimum execution time: 12_087_000 picoseconds. + Weight::from_parts(12_745_826, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 440 + .saturating_add(Weight::from_parts(1_010, 0).saturating_mul(n.into())) + // Standard Error: 440 + .saturating_add(Weight::from_parts(1_303, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn force_clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `402` - // Estimated: `3673` - // Minimum execution time: 18_529_000 picoseconds. - Weight::from_parts(19_043_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `406` + // Estimated: `4273` + // Minimum execution time: 26_528_000 picoseconds. + Weight::from_parts(27_478_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn force_asset_status() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 15_130_000 picoseconds. - Weight::from_parts(15_556_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 10_881_000 picoseconds. + Weight::from_parts(11_268_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn approve_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3673` - // Minimum execution time: 22_973_000 picoseconds. - Weight::from_parts(23_728_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 31_216_000 picoseconds. + Weight::from_parts(32_411_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn transfer_approved() -> Weight { // Proof Size summary in bytes: - // Measured: `553` - // Estimated: `6204` - // Minimum execution time: 68_125_000 picoseconds. - Weight::from_parts(69_356_000, 6204) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `526` + // Estimated: `7404` + // Minimum execution time: 79_133_000 picoseconds. + Weight::from_parts(81_252_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(7)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn cancel_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `442` - // Estimated: `3673` - // Minimum execution time: 25_890_000 picoseconds. - Weight::from_parts(26_511_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `446` + // Estimated: `4273` + // Minimum execution time: 33_529_000 picoseconds. + Weight::from_parts(34_768_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn force_cancel_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `442` - // Estimated: `3673` - // Minimum execution time: 25_977_000 picoseconds. - Weight::from_parts(26_585_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `446` + // Estimated: `4273` + // Minimum execution time: 33_558_000 picoseconds. + Weight::from_parts(34_197_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn set_min_balance() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 16_705_000 picoseconds. - Weight::from_parts(16_965_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 12_533_000 picoseconds. + Weight::from_parts(12_956_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn touch() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 22_973_000 picoseconds. - Weight::from_parts(23_343_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `345` + // Estimated: `4273` + // Minimum execution time: 32_643_000 picoseconds. + Weight::from_parts(33_899_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn touch_other() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 21_885_000 picoseconds. - Weight::from_parts(22_429_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 31_276_000 picoseconds. + Weight::from_parts(32_155_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn refund() -> Weight { // Proof Size summary in bytes: - // Measured: `364` - // Estimated: `3673` - // Minimum execution time: 20_449_000 picoseconds. - Weight::from_parts(21_170_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `477` + // Estimated: `4273` + // Minimum execution time: 43_426_000 picoseconds. + Weight::from_parts(45_064_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn refund_other() -> Weight { // Proof Size summary in bytes: - // Measured: `397` - // Estimated: `3673` - // Minimum execution time: 19_558_000 picoseconds. - Weight::from_parts(20_205_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `407` + // Estimated: `4273` + // Minimum execution time: 41_885_000 picoseconds. + Weight::from_parts(43_300_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn block() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `3673` - // Minimum execution time: 20_061_000 picoseconds. - Weight::from_parts(20_809_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 16_833_000 picoseconds. + Weight::from_parts(17_265_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { // Proof Size summary in bytes: - // Measured: `385` - // Estimated: `6204` - // Minimum execution time: 67_636_000 picoseconds. - Weight::from_parts(69_256_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 72_880_000 picoseconds. + Weight::from_parts(74_426_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn total_issuance() -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3673` - // Minimum execution time: 6_362_000 picoseconds. - Weight::from_parts(6_610_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 5_454_000 picoseconds. + Weight::from_parts(5_742_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `ForeignAssets::Account` (r:1 w:0) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn balance() -> Weight { // Proof Size summary in bytes: - // Measured: `148` - // Estimated: `3597` - // Minimum execution time: 7_380_000 picoseconds. - Weight::from_parts(7_864_000, 3597) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Measured: `150` + // Estimated: `4197` + // Minimum execution time: 6_480_000 picoseconds. + Weight::from_parts(6_813_000, 0) + .saturating_add(Weight::from_parts(0, 4197)) + .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `ForeignAssets::Approvals` (r:1 w:0) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn allowance() -> Weight { // Proof Size summary in bytes: - // Measured: `243` - // Estimated: `3611` - // Minimum execution time: 11_093_000 picoseconds. - Weight::from_parts(11_468_000, 3611) + // Measured: `245` + // Estimated: `4211` + // Minimum execution time: 8_685_000 picoseconds. + Weight::from_parts(9_177_000, 0) + .saturating_add(Weight::from_parts(0, 4211)) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// The range of component `n` is `[0, 5]`. + /// The range of component `n` is `[0, 5]`. + /// The range of component `n` is `[0, 5]`. + fn set_reserves(n: u32) -> Weight { + Weight::from_parts(31_972_000, 3675) + // Standard Error: 13_748 + .saturating_add(Weight::from_parts(198_975, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } -} \ No newline at end of file +} diff --git a/chains/orchestrator-paras/runtime/dancebox/src/weights/pallet_xcm.rs b/chains/orchestrator-paras/runtime/dancebox/src/weights/pallet_xcm.rs index c15b23fe3c..a80379db3e 100644 --- a/chains/orchestrator-paras/runtime/dancebox/src/weights/pallet_xcm.rs +++ b/chains/orchestrator-paras/runtime/dancebox/src/weights/pallet_xcm.rs @@ -53,46 +53,62 @@ use core::marker::PhantomData; /// Weights for pallet_xcm using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_xcm::WeightInfo for SubstrateWeight { - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) - /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `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(105506), added: 107981, mode: `MaxEncodedLen`) fn send() -> Weight { // Proof Size summary in bytes: - // Measured: `215` - // Estimated: `3680` - // Minimum execution time: 37_051_000 picoseconds. - Weight::from_parts(37_909_000, 3680) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `245` + // Estimated: `3710` + // Minimum execution time: 31_621_000 picoseconds. + Weight::from_parts(33_059_000, 0) + .saturating_add(Weight::from_parts(0, 3710)) + .saturating_add(T::DbWeight::get().reads(4)) + .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`) + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// 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(105506), added: 107981, mode: `MaxEncodedLen`) fn teleport_assets() -> 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) + // Measured: `277` + // Estimated: `3742` + // Minimum execution time: 120_046_000 picoseconds. + Weight::from_parts(123_674_000, 0) + .saturating_add(Weight::from_parts(0, 3742)) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: `System::Account` (r:1 w:1) + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) - /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SafeXcmVersion` (`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) @@ -101,48 +117,56 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`) fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `400` - // Estimated: `3865` - // Minimum execution time: 153_656_000 picoseconds. - Weight::from_parts(156_614_000, 3865) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `329` + // Estimated: `6196` + // Minimum execution time: 136_136_000 picoseconds. + Weight::from_parts(140_390_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: `System::Account` (r:1 w:1) + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `AssetsFreezer::FrozenBalances` (r:1 w:0) + /// Proof: `AssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssetsCreator::ForeignAssetToAssetId` (r:1 w:0) - /// Proof: `ForeignAssetsCreator::ForeignAssetToAssetId` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) - /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `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(105506), added: 107981, mode: `MaxEncodedLen`) fn transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `802` - // Estimated: `4267` - // Minimum execution time: 209_698_000 picoseconds. - Weight::from_parts(214_983_000, 4267) - .saturating_add(T::DbWeight::get().reads(10_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `669` + // Estimated: `6208` + // Minimum execution time: 187_283_000 picoseconds. + Weight::from_parts(195_176_000, 0) + .saturating_add(Weight::from_parts(0, 6208)) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(7)) } + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn execute() -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `0` - // Minimum execution time: 12_610_000 picoseconds. - Weight::from_parts(12_745_000, 0) + // Estimated: `1485` + // Minimum execution time: 10_096_000 picoseconds. + Weight::from_parts(10_505_000, 0) + .saturating_add(Weight::from_parts(0, 1485)) + .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -150,71 +174,68 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_703_000 picoseconds. - Weight::from_parts(10_951_000, 0) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 8_024_000 picoseconds. + Weight::from_parts(8_375_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `PolkadotXcm::SafeXcmVersion` (r:0 w:1) - /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn force_default_xcm_version() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_684_000 picoseconds. - Weight::from_parts(3_877_000, 0) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 2_480_000 picoseconds. + Weight::from_parts(2_590_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) - /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `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(105506), added: 107981, 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: `215` - // Estimated: `3680` - // Minimum execution time: 44_601_000 picoseconds. - Weight::from_parts(46_131_000, 3680) - .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `245` + // Estimated: `3710` + // Minimum execution time: 38_995_000 picoseconds. + Weight::from_parts(40_184_000, 0) + .saturating_add(Weight::from_parts(0, 3710)) + .saturating_add(T::DbWeight::get().reads(6)) + .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: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) - /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `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(105506), added: 107981, 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: `394` - // Estimated: `3859` - // Minimum execution time: 46_025_000 picoseconds. - Weight::from_parts(46_831_000, 3859) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `404` + // Estimated: `108971` + // Minimum execution time: 43_832_000 picoseconds. + Weight::from_parts(45_241_000, 0) + .saturating_add(Weight::from_parts(0, 108971)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1) /// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -222,104 +243,104 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_743_000 picoseconds. - Weight::from_parts(3_918_000, 0) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 2_395_000 picoseconds. + Weight::from_parts(2_546_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `PolkadotXcm::SupportedVersion` (r:6 w:2) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: - // Measured: `159` - // Estimated: `15999` - // Minimum execution time: 30_642_000 picoseconds. - Weight::from_parts(31_079_000, 15999) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `22` + // Estimated: `15862` + // Minimum execution time: 22_061_000 picoseconds. + Weight::from_parts(22_555_000, 0) + .saturating_add(Weight::from_parts(0, 15862)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `PolkadotXcm::VersionNotifiers` (r:6 w:2) /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notifiers() -> Weight { // Proof Size summary in bytes: - // Measured: `163` - // Estimated: `16003` - // Minimum execution time: 30_570_000 picoseconds. - Weight::from_parts(31_052_000, 16003) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `26` + // Estimated: `15866` + // Minimum execution time: 21_646_000 picoseconds. + Weight::from_parts(22_119_000, 0) + .saturating_add(Weight::from_parts(0, 15866)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:7 w:0) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn already_notified_target() -> Weight { // Proof Size summary in bytes: - // Measured: `278` - // Estimated: `18593` - // Minimum execution time: 39_289_000 picoseconds. - Weight::from_parts(40_187_000, 18593) - .saturating_add(T::DbWeight::get().reads(7_u64)) + // Measured: `39` + // Estimated: `18354` + // Minimum execution time: 25_937_000 picoseconds. + Weight::from_parts(26_388_000, 0) + .saturating_add(Weight::from_parts(0, 18354)) + .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: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) - /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `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::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: `212` - // Estimated: `6152` - // Minimum execution time: 32_999_000 picoseconds. - Weight::from_parts(33_896_000, 6152) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `187` + // Estimated: `6127` + // Minimum execution time: 36_716_000 picoseconds. + Weight::from_parts(38_269_000, 0) + .saturating_add(Weight::from_parts(0, 6127)) + .saturating_add(T::DbWeight::get().reads(5)) + .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`) fn notify_target_migration_fail() -> Weight { // Proof Size summary in bytes: - // Measured: `281` - // Estimated: `13646` - // Minimum execution time: 27_109_000 picoseconds. - Weight::from_parts(27_439_000, 13646) - .saturating_add(T::DbWeight::get().reads(5_u64)) + // Measured: `39` + // Estimated: `13404` + // Minimum execution time: 17_974_000 picoseconds. + Weight::from_parts(18_407_000, 0) + .saturating_add(Weight::from_parts(0, 13404)) + .saturating_add(T::DbWeight::get().reads(5)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notify_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `170` - // Estimated: `16010` - // Minimum execution time: 31_045_000 picoseconds. - Weight::from_parts(31_677_000, 16010) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `33` + // Estimated: `15873` + // Minimum execution time: 21_964_000 picoseconds. + Weight::from_parts(22_610_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:1) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) - /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) - /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `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::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: `212` - // Estimated: `16052` - // Minimum execution time: 46_154_000 picoseconds. - Weight::from_parts(47_647_000, 16052) - .saturating_add(T::DbWeight::get().reads(11_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `187` + // Estimated: `16027` + // Minimum execution time: 46_704_000 picoseconds. + Weight::from_parts(49_027_000, 0) + .saturating_add(Weight::from_parts(0, 16027)) + .saturating_add(T::DbWeight::get().reads(9)) + .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`) @@ -327,51 +348,78 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn new_query() -> Weight { // Proof Size summary in bytes: - // Measured: `103` - // Estimated: `1588` - // Minimum execution time: 7_509_000 picoseconds. - Weight::from_parts(7_853_000, 1588) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `0` + // Estimated: `1485` + // Minimum execution time: 2_694_000 picoseconds. + Weight::from_parts(2_829_000, 0) + .saturating_add(Weight::from_parts(0, 1485)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `PolkadotXcm::Queries` (r:1 w:1) /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn take_response() -> Weight { // Proof Size summary in bytes: - // Measured: `7740` - // Estimated: `11205` - // Minimum execution time: 37_720_000 picoseconds. - Weight::from_parts(38_417_000, 11205) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `7576` + // Estimated: `11041` + // Minimum execution time: 27_767_000 picoseconds. + Weight::from_parts(28_348_000, 0) + .saturating_add(Weight::from_parts(0, 11041)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1) /// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) fn claim_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `160` - // Estimated: `3625` - // Minimum execution time: 56_876_000 picoseconds. - Weight::from_parts(57_695_000, 3625) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `303` + // Estimated: `3768` + // Minimum execution time: 45_836_000 picoseconds. + Weight::from_parts(47_883_000, 0) + .saturating_add(Weight::from_parts(0, 3768)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: `Benchmark::Override` (r:0 w:0) - /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::AuthorizedAliases` (r:1 w:1) + /// Proof: `PolkadotXcm::AuthorizedAliases` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(121), added: 2596, mode: `MaxEncodedLen`) 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) + // Measured: `160` + // Estimated: `3625` + // Minimum execution time: 50_608_000 picoseconds. + Weight::from_parts(51_989_000, 0) + .saturating_add(Weight::from_parts(0, 3625)) + .saturating_add(T::DbWeight::get().reads(2)) + .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`) + /// Storage: `PolkadotXcm::AuthorizedAliases` (r:1 w:1) + /// Proof: `PolkadotXcm::AuthorizedAliases` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(121), added: 2596, mode: `MaxEncodedLen`) fn remove_authorized_alias() -> Weight { + // Proof Size summary in bytes: + // Measured: `516` + // Estimated: `3981` + // Minimum execution time: 52_003_000 picoseconds. + Weight::from_parts(52_989_000, 0) + .saturating_add(Weight::from_parts(0, 3981)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + fn weigh_message() -> 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) + // Minimum execution time: 8_416_000 picoseconds. + Weight::from_parts(8_668_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } -} \ No newline at end of file +} diff --git a/chains/orchestrator-paras/runtime/dancebox/src/xcm_config.rs b/chains/orchestrator-paras/runtime/dancebox/src/xcm_config.rs index ce0d8a4911..1180fd0a2c 100644 --- a/chains/orchestrator-paras/runtime/dancebox/src/xcm_config.rs +++ b/chains/orchestrator-paras/runtime/dancebox/src/xcm_config.rs @@ -306,11 +306,14 @@ parameter_types! { /// Simple conversion of `u32` into an `AssetId` for use in benchmarking. pub struct ForeignAssetBenchmarkHelper; #[cfg(feature = "runtime-benchmarks")] -impl pallet_assets::BenchmarkHelper for ForeignAssetBenchmarkHelper { +impl pallet_assets::BenchmarkHelper for ForeignAssetBenchmarkHelper { fn create_asset_id_parameter(id: u32) -> AssetId { id.try_into() .expect("number too large to create benchmarks") } + fn create_reserve_id_parameter(id: u32) -> ReserveId { + () + } } #[cfg(feature = "runtime-benchmarks")] impl pallet_asset_rate::AssetKindFactory for ForeignAssetBenchmarkHelper { @@ -321,12 +324,16 @@ impl pallet_asset_rate::AssetKindFactory for ForeignAssetBenchmarkHelpe } pub type AssetId = u16; +pub type ReserveId = (); pub type ForeignAssetsInstance = pallet_assets::Instance1; impl pallet_assets::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Balance = Balance; type AssetId = AssetId; type AssetIdParameter = AssetId; + // TODO: ReserveData = ForeignAssetReserveData + // TODO: check if this needs a migration + type ReserveData = (); type Currency = Balances; type CreateOrigin = frame_support::traits::NeverEnsureOrigin; type ForceOrigin = EnsureRoot; diff --git a/chains/orchestrator-paras/runtime/flashbox/Cargo.toml b/chains/orchestrator-paras/runtime/flashbox/Cargo.toml index 6b98fb4193..e43bb5523c 100644 --- a/chains/orchestrator-paras/runtime/flashbox/Cargo.toml +++ b/chains/orchestrator-paras/runtime/flashbox/Cargo.toml @@ -104,7 +104,6 @@ cumulus-pallet-parachain-system = { workspace = true } cumulus-pallet-session-benchmarking = { workspace = true } cumulus-pallet-weight-reclaim = { workspace = true } cumulus-primitives-core = { workspace = true } -cumulus-primitives-timestamp = { workspace = true } pallet-invulnerables = { workspace = true } parachain-info = { workspace = true } @@ -137,7 +136,6 @@ std = [ "cumulus-pallet-weight-reclaim/std", "cumulus-primitives-core/std", "cumulus-primitives-parachain-inherent/std", - "cumulus-primitives-timestamp/std", "cumulus-test-relay-sproof-builder/std", "dp-consensus/std", "dp-container-chain-genesis-data/std", @@ -257,6 +255,7 @@ runtime-benchmarks = [ "pallet-registrar/runtime-benchmarks", "pallet-relay-storage-roots/runtime-benchmarks", "pallet-services-payment/runtime-benchmarks", + "pallet-session/runtime-benchmarks", "pallet-stream-payment/runtime-benchmarks", "pallet-sudo/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", diff --git a/chains/orchestrator-paras/runtime/flashbox/src/lib.rs b/chains/orchestrator-paras/runtime/flashbox/src/lib.rs index 1faf5c1c13..384a902a74 100644 --- a/chains/orchestrator-paras/runtime/flashbox/src/lib.rs +++ b/chains/orchestrator-paras/runtime/flashbox/src/lib.rs @@ -415,7 +415,10 @@ impl frame_system::Config for Runtime { type SingleBlockMigrations = (); type MultiBlockMigrator = MultiBlockMigrations; type PreInherents = (); - type PostInherents = (); + type PostInherents = ( + // Validate timestamp provided by the consensus client + AsyncBacking, + ); type PostTransactions = (); type ExtensionsWeightInfo = weights::frame_system_extensions::SubstrateWeight; } @@ -507,6 +510,7 @@ pub const BLOCK_PROCESSING_VELOCITY: u32 = 1; type ConsensusHook = pallet_async_backing::consensus_hook::FixedVelocityConsensusHook< Runtime, + RELAY_CHAIN_SLOT_DURATION_MILLIS, BLOCK_PROCESSING_VELOCITY, UNINCLUDED_SEGMENT_CAPACITY, >; @@ -524,7 +528,6 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type ReservedXcmpWeight = (); type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases; type ConsensusHook = ConsensusHook; - type SelectCore = cumulus_pallet_parachain_system::DefaultCoreSelector; type RelayParentOffset = ConstU32<0>; } @@ -545,6 +548,8 @@ impl pallet_async_backing::Config for Runtime { type GetAndVerifySlot = pallet_async_backing::ParaSlot; type ExpectedBlockTime = ExpectedBlockTime; + // Not a typo, SlotDuration is equal to ExpectedBlockTime + type SlotDuration = ExpectedBlockTime; } pub struct OwnApplySession; @@ -623,6 +628,7 @@ impl SessionManager for CollatorsFromInvulnerables { parameter_types! { pub const Period: u32 = prod_or_fast!(5 * MINUTES, 1 * MINUTES); pub const Offset: u32 = 0; + pub const KeyDeposit: Balance = currency::deposit(1, 32); } impl pallet_session::Config for Runtime { @@ -638,6 +644,8 @@ impl pallet_session::Config for Runtime { type Keys = SessionKeys; type WeightInfo = weights::pallet_session::SubstrateWeight; type DisablingStrategy = (); + type Currency = Balances; + type KeyDeposit = KeyDeposit; } pub struct RemoveInvulnerablesImpl; @@ -1604,7 +1612,7 @@ impl_runtime_apis! { VERSION } - fn execute_block(block: Block) { + fn execute_block(block: ::LazyBlock) { Executive::execute_block(block) } @@ -1641,7 +1649,7 @@ impl_runtime_apis! { } fn check_inherents( - block: Block, + block: ::LazyBlock, data: sp_inherents::InherentData, ) -> sp_inherents::CheckInherentsResult { data.check_extrinsics(&block) @@ -1810,7 +1818,7 @@ impl_runtime_apis! { } fn execute_block( - block: Block, + block: ::LazyBlock, state_root_check: bool, signature_check: bool, select: frame_try_runtime::TryStateSelect, @@ -2054,36 +2062,8 @@ impl_runtime_apis! { } } -#[allow(dead_code)] -struct CheckInherents; - -// TODO: this should be removed but currently if we remove it the relay does not check anything -// related to other inherents that are not parachain-system -#[allow(deprecated)] -impl cumulus_pallet_parachain_system::CheckInherents for CheckInherents { - fn check_inherents( - block: &Block, - relay_state_proof: &cumulus_pallet_parachain_system::RelayChainStateProof, - ) -> sp_inherents::CheckInherentsResult { - let relay_chain_slot = relay_state_proof - .read_slot() - .expect("Could not read the relay chain slot from the proof"); - - let inherent_data = - cumulus_primitives_timestamp::InherentDataProvider::from_relay_chain_slot_and_duration( - relay_chain_slot, - core::time::Duration::from_secs(6), - ) - .create_inherent_data() - .expect("Could not create the timestamp inherent data"); - - inherent_data.check_extrinsics(block) - } -} - cumulus_pallet_parachain_system::register_validate_block! { Runtime = Runtime, - CheckInherents = CheckInherents, BlockExecutor = pallet_author_inherent::BlockExecutor::, } diff --git a/chains/orchestrator-paras/runtime/flashbox/src/tests/common/mod.rs b/chains/orchestrator-paras/runtime/flashbox/src/tests/common/mod.rs index 31fccd167c..ee1dbad707 100644 --- a/chains/orchestrator-paras/runtime/flashbox/src/tests/common/mod.rs +++ b/chains/orchestrator-paras/runtime/flashbox/src/tests/common/mod.rs @@ -14,6 +14,8 @@ // You should have received a copy of the GNU General Public License // along with Tanssi. If not, see +use cumulus_pallet_parachain_system::parachain_inherent::deconstruct_parachain_inherent_data; +use cumulus_pallet_parachain_system::parachain_inherent::InboundMessagesData; use { crate::{AuthorInherent, BlockProductionCost, CollatorAssignmentCost}, alloc::collections::btree_map::BTreeMap, @@ -281,9 +283,16 @@ pub fn set_parachain_inherent_data(mock_inherent_data: MockInherentData) { b"ValidationData", )); + let (inherent_data, downward_messages, horizontal_messages) = + deconstruct_parachain_inherent_data(parachain_inherent_data); + assert_ok!(RuntimeCall::ParachainSystem( cumulus_pallet_parachain_system::Call::::set_validation_data { - data: parachain_inherent_data + data: inherent_data, + inbound_messages_data: InboundMessagesData::new( + downward_messages.into_abridged(&mut usize::MAX.clone()), + horizontal_messages.into_abridged(&mut usize::MAX.clone()), + ), } ) .dispatch(inherent_origin())); diff --git a/chains/orchestrator-paras/runtime/flashbox/src/tests/integration_test.rs b/chains/orchestrator-paras/runtime/flashbox/src/tests/integration_test.rs index db92c9d2f6..d321fea833 100644 --- a/chains/orchestrator-paras/runtime/flashbox/src/tests/integration_test.rs +++ b/chains/orchestrator-paras/runtime/flashbox/src/tests/integration_test.rs @@ -16,6 +16,7 @@ #![cfg(test)] +use crate::{currency, KeyDeposit, SessionKeys}; use { crate::{tests::common::*, RuntimeOrigin}, alloc::vec, @@ -4583,3 +4584,19 @@ fn test_registrar_extrinsic_permissions() { ); }); } + +#[test] +fn session_keys_deposit() { + // Check that deposit for pallet_session has correct size depending on `SessionKeys`. + // Assumes that all SessionKeys have the same encoded size. + let nimbus = get_aura_id_from_seed("alice"); + let session_keys = SessionKeys { nimbus }; + let session_keys_len = session_keys.encoded_size(); + // Hardcode value in test so it is easier to debug when SessionKeys size changes + assert_eq!(session_keys_len, 32); + // And assert that the actual deposit matches this session keys length + let x = KeyDeposit::get(); + let y = currency::deposit(1, session_keys_len as u32); + + assert_eq!(x, y); +} diff --git a/chains/orchestrator-relays/client/cli/Cargo.toml b/chains/orchestrator-relays/client/cli/Cargo.toml index b3f47bf759..b913e048c4 100644 --- a/chains/orchestrator-relays/client/cli/Cargo.toml +++ b/chains/orchestrator-relays/client/cli/Cargo.toml @@ -33,6 +33,7 @@ polkadot-node-metrics = { workspace = true } polkadot-node-primitives = { workspace = true } sc-cli = { workspace = true, optional = true } sc-executor = { workspace = true } +sc-network = { workspace = true } sc-service = { workspace = true, optional = true } sc-storage-monitor = { workspace = true } sc-sysinfo = { workspace = true } diff --git a/chains/orchestrator-relays/client/cli/src/cli.rs b/chains/orchestrator-relays/client/cli/src/cli.rs index 9d0f560bf9..f981fe4b98 100644 --- a/chains/orchestrator-relays/client/cli/src/cli.rs +++ b/chains/orchestrator-relays/client/cli/src/cli.rs @@ -224,6 +224,13 @@ pub struct RunCmd { /// networks. #[arg(long)] pub keep_finalized_for: Option, + + /// Overrides `HOLD_OFF_DURATION` in collator_protocol/validator_side. The value is in + /// milliseconds. + /// + /// **Dangerous!** Do not touch unless explicitly advised to. + #[arg(long, hide = true)] + pub collator_protocol_hold_off: Option, } #[allow(missing_docs)] diff --git a/chains/orchestrator-relays/client/cli/src/command.rs b/chains/orchestrator-relays/client/cli/src/command.rs index 4f5977d0c7..a10fbc0874 100644 --- a/chains/orchestrator-relays/client/cli/src/command.rs +++ b/chains/orchestrator-relays/client/cli/src/command.rs @@ -27,8 +27,11 @@ use { HeaderBackend, IdentifyVariant, ParaId, }, sc_cli::{CliConfiguration, SubstrateCli}, + sc_network::PeerId, sp_core::crypto::Ss58AddressFormatRegistry, sp_keyring::Sr25519Keyring, + std::collections::HashSet, + std::time::Duration, tanssi_relay_service::dev_service::build_full as build_full_dev, }; @@ -46,6 +49,14 @@ fn get_exec_name() -> Option { .and_then(|s| s.into_string().ok()) } +// We don't have AssetsHub, so this list is empty +#[allow(clippy::borrowed_box)] +fn get_invulnerable_ah_collators( + _chain_spec: &Box, +) -> HashSet { + HashSet::default() +} + impl SubstrateCli for Cli { fn impl_name() -> String { "Tanssi".into() @@ -139,6 +150,13 @@ where let secure_validator_mode = cli.run.base.validator && !cli.run.insecure_validator; + // Parse collator protocol hold off value and get the list of the invlunerable collators. + let collator_protocol_hold_off = cli + .run + .collator_protocol_hold_off + .map(Duration::from_millis); + let invulnerable_ah_collators = get_invulnerable_ah_collators(&chain_spec); + runner.run_node_until_exit(move |config| async move { let hwbench = (!cli.run.no_hardware_benchmarks) .then(|| { @@ -177,8 +195,9 @@ where execute_workers_max_num: cli.run.execute_workers_max_num, prepare_workers_hard_max_num: cli.run.prepare_workers_hard_max_num, prepare_workers_soft_max_num: cli.run.prepare_workers_soft_max_num, - enable_approval_voting_parallel: cli.run.enable_approval_voting_parallel, keep_finalized_for: cli.run.keep_finalized_for, + invulnerable_ah_collators, + collator_protocol_hold_off, }, ) .map(|full| full.task_manager)? @@ -206,8 +225,9 @@ where execute_workers_max_num: cli.run.execute_workers_max_num, prepare_workers_hard_max_num: cli.run.prepare_workers_hard_max_num, prepare_workers_soft_max_num: cli.run.prepare_workers_soft_max_num, - enable_approval_voting_parallel: cli.run.enable_approval_voting_parallel, keep_finalized_for: cli.run.keep_finalized_for, + invulnerable_ah_collators, + collator_protocol_hold_off, }, ) .map(|full| full.task_manager)? diff --git a/chains/orchestrator-relays/node/tanssi-relay-service/src/dev_service.rs b/chains/orchestrator-relays/node/tanssi-relay-service/src/dev_service.rs index c8f7d1b452..cd4bfa986d 100644 --- a/chains/orchestrator-relays/node/tanssi-relay-service/src/dev_service.rs +++ b/chains/orchestrator-relays/node/tanssi-relay-service/src/dev_service.rs @@ -30,6 +30,8 @@ //! 10. If amount of time passed between two block is less than slot duration, we emulate passing of time babe block import and runtime //! by incrementing timestamp by slot duration. +use sp_consensus_babe::inherents::InherentDataProvider; +use sp_inherents::CreateInherentDataProviders; use { crate::dev_rpcs::{DevApiServer, DevRpc}, async_io::Timer, @@ -49,8 +51,8 @@ use { polkadot_overseer::Handle, polkadot_parachain_primitives::primitives::UpwardMessages, polkadot_primitives::{ - runtime_api::ParachainHost, BackedCandidate, CandidateCommitments, CandidateDescriptor, - CollatorPair, CommittedCandidateReceipt, CompactStatement, EncodeAs, + runtime_api::ParachainHost, BackedCandidate, CandidateCommitments, CandidateDescriptorV2, + CommittedCandidateReceiptV2, CompactStatement, CoreIndex, EncodeAs, InherentData as ParachainsInherentData, OccupiedCoreAssumption, SigningContext, ValidityAttestation, }, @@ -73,7 +75,7 @@ use { sp_blockchain::{HeaderBackend, HeaderMetadata}, sp_consensus_aura::{inherents::InherentType as AuraInherentType, AURA_ENGINE_ID}, sp_consensus_babe::SlotDuration, - sp_core::{ByteArray, Pair, H256}, + sp_core::{ByteArray, H256}, sp_keystore::KeystorePtr, sp_runtime::{traits::BlakeTwo256, DigestItem, RuntimeAppPublic}, std::{cmp::max, ops::Add, sync::Arc, time::Duration}, @@ -84,6 +86,7 @@ use { const PARA_INHERENT_SELECTOR_AUX_KEY: &[u8] = b"__DEV_PARA_INHERENT_SELECTOR"; const CONTAINER_CHAINS_EXCLUSION_AUX_KEY: &[u8] = b"__DEV_CONTAINER_CHAINS_EXCLUSION"; +const UPWARD_MESSAGES_AUX_KEY: &[u8] = b"__DEV_UPWARD_MESSAGES"; pub type FullBackend = service::TFullBackend; @@ -237,12 +240,10 @@ pub fn build_full( /// candidates /// We detect whether any of the keys in our keystore is assigned to a core and provide /// a mocked candidate in such core -struct MockParachainsInherentDataProvider + ProvideRuntimeApi> { +pub struct MockParachainsInherentDataProvider + ProvideRuntimeApi> { pub client: Arc, pub parent: Hash, pub keystore: KeystorePtr, - pub upward_messages_receiver: flume::Receiver>, - pub container_chain_exclusion_receiver: flume::Receiver>, } impl + ProvideRuntimeApi> MockParachainsInherentDataProvider @@ -250,19 +251,11 @@ where C::Api: ParachainHost, C: AuxStore, { - pub fn new( - client: Arc, - parent: Hash, - keystore: KeystorePtr, - upward_messages_receiver: flume::Receiver>, - container_chain_exclusion_receiver: flume::Receiver>, - ) -> Self { + pub fn new(client: Arc, parent: Hash, keystore: KeystorePtr) -> Self { MockParachainsInherentDataProvider { client, parent, keystore, - upward_messages_receiver, - container_chain_exclusion_receiver, } } @@ -270,8 +263,6 @@ where client: Arc, parent: Hash, keystore: KeystorePtr, - upward_messages_receiver: flume::Receiver>, - container_chains_exclusion_receiver: flume::Receiver>, ) -> Result { let parent_header = match client.header(parent) { Ok(Some(h)) => h, @@ -360,24 +351,8 @@ where }) .collect(); - // generate a random collator pair - let collator_pair = CollatorPair::generate().0; let mut backed_cand: Vec> = vec![]; - let container_chains_exclusion_messages: Vec> = - container_chains_exclusion_receiver.drain().collect(); - // If there is a new set of excluded container chains, we update it - if let Some(mock_excluded_container_chains) = container_chains_exclusion_messages.last() { - client - .insert_aux( - &[( - CONTAINER_CHAINS_EXCLUSION_AUX_KEY, - mock_excluded_container_chains.encode().as_slice(), - )], - &[], - ) - .expect("Should be able to write to aux storage; qed"); - } let new_excluded_container_chains_value = client .get_aux(CONTAINER_CHAINS_EXCLUSION_AUX_KEY) .expect("Should be able to query aux storage; qed") @@ -432,34 +407,37 @@ where .unwrap() .unwrap(); let pov_hash = Default::default(); - // generate a fake collator signature - let payload = polkadot_primitives::collator_signature_payload( - &parent, - ¶[0], - &persisted_validation_data_hash, - &pov_hash, - &validation_code_hash, + + let upward_messages_value_encoded: Vec = client + .get_aux(UPWARD_MESSAGES_AUX_KEY) + .expect("Should be able to query aux storage; qed") + .unwrap_or(Vec::>::new().encode()); + + let upward_messages_value: Vec> = + Decode::decode(&mut upward_messages_value_encoded.as_slice()) + .expect("Vector non-decodable"); + + log::info!( + "reading upward_messages_value. got {} msg", + upward_messages_value.len() ); - let collator_signature = collator_pair.sign(&payload); - let upward_messages = UpwardMessages::try_from( - upward_messages_receiver.drain().collect::>(), - ) - .expect("create upward messages from raw messages"); + let upward_messages = UpwardMessages::try_from(upward_messages_value) + .expect("create upward messages from raw messages"); // generate a candidate with most of the values mocked - let candidate = CommittedCandidateReceipt:: { - descriptor: CandidateDescriptor:: { - para_id: para[0], - relay_parent: parent, - collator: collator_pair.public(), + let candidate = CommittedCandidateReceiptV2:: { + descriptor: CandidateDescriptorV2::new( + para[0], + parent, + CoreIndex(0), + 0, persisted_validation_data_hash, pov_hash, - erasure_root: Default::default(), - signature: collator_signature, - para_head: parachain_mocked_header.clone().hash(), + Default::default(), + parachain_mocked_header.clone().hash(), validation_code_hash, - }, + ), commitments: CandidateCommitments:: { upward_messages, horizontal_messages: Default::default(), @@ -540,8 +518,6 @@ where self.client.clone(), self.parent, self.keystore.clone(), - self.upward_messages_receiver.clone(), - self.container_chain_exclusion_receiver.clone(), ) .await .map_err(|e| sp_inherents::Error::Application(Box::new(e)))? @@ -575,9 +551,13 @@ where /// We store past timestamp we created in the aux storage, which enable us to return timestamp which is increased by /// slot duration from previous timestamp or current timestamp if in reality more time is passed. +/// This function is called twice per block: first in `create_inherent_data_providers` and later in +/// `babe::block_import`. The second call mutates, the first call does not. This is to ensure they both +/// return the same value. fn get_next_timestamp( client: Arc, slot_duration: SlotDuration, + mutate: bool, ) -> sp_timestamp::InherentDataProvider { const TIMESTAMP_AUX_KEY: &[u8] = b"__DEV_TIMESTAMP"; @@ -591,12 +571,14 @@ fn get_next_timestamp( last_inherent_data.add(slot_duration.as_millis()), sp_timestamp::InherentType::current(), ); - client - .insert_aux( - &[(TIMESTAMP_AUX_KEY, new_inherent_data.encode().as_slice())], - &[], - ) - .expect("Should be able to write to aux storage; qed"); + if mutate { + client + .insert_aux( + &[(TIMESTAMP_AUX_KEY, new_inherent_data.encode().as_slice())], + &[], + ) + .expect("Should be able to write to aux storage; qed"); + } sp_timestamp::InherentDataProvider::new(new_inherent_data) } else { let current_timestamp = sp_timestamp::InherentType::current(); @@ -610,6 +592,40 @@ fn get_next_timestamp( } } +/// Returns `CreateInherentDataProviders` implementation for tanssi solochain manual seal dev node. +/// Can be called multiple times for the same block, the result must be the same! +/// So avoid writing to storage. +fn tanssi_inherent_data_providers( + client: Arc, + keystore: KeystorePtr, + slot_duration: SlotDuration, +) -> TanssiBabeCreateInherentDataProviders { + let client_clone = client.clone(); + let keystore_clone = keystore.clone(); + + let f = move |parent, ()| { + let client_clone = client_clone.clone(); + let keystore = keystore_clone.clone(); + + async move { + let parachain = + MockParachainsInherentDataProvider::new(client_clone.clone(), parent, keystore); + + let timestamp = get_next_timestamp(client_clone, slot_duration, false); + + let slot = + sp_consensus_babe::inherents::InherentDataProvider::from_timestamp_and_slot_duration( + *timestamp, + slot_duration, + ); + + Ok((slot, timestamp, parachain)) + } + }; + + Arc::new(f) +} + fn new_full< OverseerGenerator: OverseerGen, Network: sc_network::NetworkBackend::Hash>, @@ -631,6 +647,13 @@ fn new_full< let select_chain = SelectRelayChain::new_longest_chain(basics.backend.clone()); + // Create channels for mocked parachain candidates. + let (downward_mock_para_inherent_sender, downward_mock_para_inherent_receiver) = + flume::bounded::>(100); + let (upward_mock_sender, upward_mock_receiver) = flume::bounded::>(100); + let (mock_container_chains_exclusion_sender, mock_container_chains_exclusion_receiver) = + flume::bounded::>(100); + let service::PartialComponents::<_, _, SelectRelayChain<_>, _, _, _> { client, backend, @@ -639,7 +662,7 @@ fn new_full< select_chain, import_queue, transaction_pool, - other: (block_import, babe_link, slot_duration, mut telemetry), + other: (block_import, babe_link, tanssi_idp, mut telemetry), } = new_partial::>(&mut config, basics, select_chain)?; let metrics = Network::register_notification_metrics( @@ -651,12 +674,6 @@ fn new_full< prometheus_registry.clone(), ); - // Create channels for mocked parachain candidates. - let (downward_mock_para_inherent_sender, downward_mock_para_inherent_receiver) = - flume::bounded::>(100); - - let (upward_mock_sender, upward_mock_receiver) = flume::bounded::>(100); - let (network, system_rpc_tx, tx_handler_controller, sync_service) = service::build_network(service::BuildNetworkParams { config: &config, @@ -738,27 +755,21 @@ fn new_full< }, )), }; - let keystore_clone = keystore.clone(); - let babe_config = babe_link.config(); let babe_consensus_provider = BabeConsensusDataProvider::new( client.clone(), - keystore, + keystore.clone(), babe_link.epoch_changes().clone(), babe_config.authorities.clone(), ) .map_err(|babe_error| { Error::Consensus(consensus_common::Error::Other(babe_error.into())) })?; + let slot_duration = babe_config.slot_duration(); + let client_clone = client.clone(); - let (mock_container_chains_exclusion_sender, mock_container_chains_exclusion_receiver) = - flume::bounded::>(100); container_chain_exclusion_sender = Some(mock_container_chains_exclusion_sender); - // Need to clone it and store here to avoid moving of `client` - // variable in closure below. - let client_clone = client.clone(); - task_manager.spawn_essential_handle().spawn_blocking( "authorship_task", Some("block-authoring"), @@ -770,46 +781,57 @@ fn new_full< commands_stream, select_chain, create_inherent_data_providers: move |parent, ()| { - let client_clone = client_clone.clone(); - let keystore = keystore_clone.clone(); - let downward_mock_para_inherent_receiver = downward_mock_para_inherent_receiver.clone(); + let tanssi_idp = tanssi_idp.clone(); + let client = client_clone.clone(); + let downward_mock_para_inherent_receiver = + downward_mock_para_inherent_receiver.clone(); + let mock_container_chains_exclusion_receiver = + mock_container_chains_exclusion_receiver.clone(); let upward_mock_receiver = upward_mock_receiver.clone(); - let mock_container_chains_exclusion_receiver = mock_container_chains_exclusion_receiver.clone(); - async move { - - let downward_mock_para_inherent_receiver = downward_mock_para_inherent_receiver.clone(); - // here we only take the last one - let para_inherent_decider_messages: Vec> = downward_mock_para_inherent_receiver.drain().collect(); - let upward_messages_receiver = upward_mock_receiver.clone(); + async move { + // Update timestamp (only do this once per block, so not needed in babe import) + get_next_timestamp(client.clone(), slot_duration, true); + let downward_mock_para_inherent_receiver = + downward_mock_para_inherent_receiver.clone(); + let para_inherent_decider_messages: Vec> = + downward_mock_para_inherent_receiver.drain().collect(); // If there is a value to be updated, we update it if let Some(value) = para_inherent_decider_messages.last() { - client_clone + client + .insert_aux( + &[(PARA_INHERENT_SELECTOR_AUX_KEY, value.as_slice())], + &[], + ) + .expect("Should be able to write to aux storage; qed"); + } + let value = upward_mock_receiver.drain().collect::>(); + client .insert_aux( - &[(PARA_INHERENT_SELECTOR_AUX_KEY, value.as_slice())], + &[(UPWARD_MESSAGES_AUX_KEY, value.encode().as_slice())], &[], ) .expect("Should be able to write to aux storage; qed"); - } - - let parachain = MockParachainsInherentDataProvider::new( - client_clone.clone(), - parent, - keystore, - upward_messages_receiver, - mock_container_chains_exclusion_receiver - ); - let timestamp = get_next_timestamp(client_clone, slot_duration); - - let slot = - sp_consensus_babe::inherents::InherentDataProvider::from_timestamp_and_slot_duration( - *timestamp, - slot_duration, - ); + let container_chains_exclusion_messages: Vec> = + mock_container_chains_exclusion_receiver.drain().collect(); + // If there is a new set of excluded container chains, we update it + if let Some(mock_excluded_container_chains) = + container_chains_exclusion_messages.last() + { + client + .insert_aux( + &[( + CONTAINER_CHAINS_EXCLUSION_AUX_KEY, + mock_excluded_container_chains.encode().as_slice(), + )], + &[], + ) + .expect("Should be able to write to aux storage; qed"); + } - Ok((slot, timestamp, parachain)) + tanssi_idp.create_inherent_data_providers(parent, ()).await } }, consensus_data_provider: Some(Box::new(babe_consensus_provider)), @@ -857,6 +879,7 @@ fn new_full< system_rpc_tx, tx_handler_controller, telemetry: telemetry.as_mut(), + tracing_execute_block: None, })?; Ok(NewFull { @@ -870,6 +893,19 @@ fn new_full< }) } +/// Create inherent data providers for BABE with timestamp. +pub type TanssiBabeCreateInherentDataProviders = std::sync::Arc< + dyn sp_inherents::CreateInherentDataProviders< + Block, + (), + InherentDataProviders = ( + InherentDataProvider, + sp_timestamp::InherentDataProvider, + MockParachainsInherentDataProvider, + ), + >, +>; + fn new_partial( config: &mut Configuration, Basics { @@ -888,9 +924,18 @@ fn new_partial( sc_consensus::DefaultImportQueue, sc_transaction_pool::TransactionPoolHandle, ( - BabeBlockImport>, + BabeBlockImport< + Block, + FullClient, + // TODO: this is different in polkadot-sdk: + //FullBeefyBlockImport, + //FullGrandpaBlockImport, + Arc, + TanssiBabeCreateInherentDataProviders, + ChainSelection, + >, BabeLink, - SlotDuration, + TanssiBabeCreateInherentDataProviders, Option, ), >, @@ -907,13 +952,25 @@ where .with_options(config.transaction_pool.clone()) .with_prometheus(config.prometheus_registry()) .build(); + let transaction_pool = Arc::new(transaction_pool); // Create babe block import queue; this is required to have correct epoch data // available for manual seal to produce block let babe_config = babe::configuration(&*client)?; - let (babe_block_import, babe_link) = - babe::block_import(babe_config.clone(), client.clone(), client.clone())?; - let slot_duration = babe_link.config().slot_duration(); + let slot_duration = babe_config.slot_duration(); + let tanssi_idp = tanssi_inherent_data_providers( + client.clone(), + keystore_container.local_keystore().clone(), + slot_duration, + ); + let (babe_block_import, babe_link) = babe::block_import( + babe_config.clone(), + client.clone(), + client.clone(), + tanssi_idp.clone() as TanssiBabeCreateInherentDataProviders, + select_chain.clone(), + OffchainTransactionPoolFactory::new(transaction_pool.clone()), + )?; // Create manual seal block import with manual seal block import queue let import_queue = sc_consensus_manual_seal::import_queue( @@ -929,8 +986,8 @@ where keystore_container, select_chain, import_queue, - transaction_pool: transaction_pool.into(), - other: (babe_block_import, babe_link, slot_duration, telemetry), + transaction_pool, + other: (babe_block_import, babe_link, tanssi_idp, telemetry), }) } @@ -1005,6 +1062,7 @@ use { polkadot_primitives::{AvailabilityBitfield, UncheckedSigned, ValidatorId, ValidatorIndex}, sp_keystore::Error as KeystoreError, }; + fn keystore_sign( keystore: &KeystorePtr, payload: Payload, diff --git a/chains/orchestrator-relays/runtime/dancelight/Cargo.toml b/chains/orchestrator-relays/runtime/dancelight/Cargo.toml index 282307a328..a55beeea12 100644 --- a/chains/orchestrator-relays/runtime/dancelight/Cargo.toml +++ b/chains/orchestrator-relays/runtime/dancelight/Cargo.toml @@ -413,6 +413,7 @@ runtime-benchmarks = [ "pallet-registrar/runtime-benchmarks", "pallet-scheduler/runtime-benchmarks", "pallet-services-payment/runtime-benchmarks", + "pallet-session/runtime-benchmarks", "pallet-staking/runtime-benchmarks", "pallet-stream-payment/runtime-benchmarks", "pallet-sudo/runtime-benchmarks", @@ -518,6 +519,7 @@ try-runtime = [ "pallet-xcm/try-runtime", "runtime-common/try-runtime", "runtime-parachains/try-runtime", + "snowbridge-inbound-queue-primitives/try-runtime", "snowbridge-pallet-ethereum-client/try-runtime", "snowbridge-pallet-inbound-queue-v2/try-runtime", "snowbridge-pallet-inbound-queue/try-runtime", diff --git a/chains/orchestrator-relays/runtime/dancelight/src/bridge_to_ethereum_config.rs b/chains/orchestrator-relays/runtime/dancelight/src/bridge_to_ethereum_config.rs index 59fd29fd3f..633cadb86b 100644 --- a/chains/orchestrator-relays/runtime/dancelight/src/bridge_to_ethereum_config.rs +++ b/chains/orchestrator-relays/runtime/dancelight/src/bridge_to_ethereum_config.rs @@ -507,7 +507,7 @@ mod benchmark_helper { } } impl InboundQueueBenchmarkHelperV2 for Runtime { - fn initialize_storage(_beacon_header: BeaconHeader, _block_roots_root: H256) { + fn initialize_storage() -> EventFixture { // Putting the gateway address in https://github.com/moondance-labs/polkadot-sdk/blob/0f3f611ed8b58be9e6c1d96694719b6c6fda3a62/bridges/snowbridge/pallets/inbound-queue-v2/fixtures/src/register_token.rs#L18 // Necessary to bench correctly EthereumGatewayAddress::set(&H160(hex_literal::hex!( @@ -540,6 +540,8 @@ mod benchmark_helper { Balances::mint_into(&SnowbridgeFeesAccount::get(), 10 * UNITS) .expect("minting fees_account balance"); + + submit_message } } diff --git a/chains/orchestrator-relays/runtime/dancelight/src/lib.rs b/chains/orchestrator-relays/runtime/dancelight/src/lib.rs index cd6cd1a60b..8ddf053986 100644 --- a/chains/orchestrator-relays/runtime/dancelight/src/lib.rs +++ b/chains/orchestrator-relays/runtime/dancelight/src/lib.rs @@ -78,11 +78,11 @@ use { parachains_scheduler::common::Assignment, parity_scale_codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen}, primitives::{ - slashing, vstaging::async_backing::Constraints, vstaging::CandidateEvent, - vstaging::CommittedCandidateReceiptV2, vstaging::CoreState, vstaging::ScrapedOnChainVotes, - ApprovalVotingParams, BlockNumber, CandidateHash, CoreIndex, DisputeState, ExecutorParams, - GroupRotationInfo, Hash, Id as ParaId, InboundDownwardMessage, InboundHrmpMessage, Moment, - NodeFeatures, Nonce, OccupiedCoreAssumption, PersistedValidationData, SessionInfo, + async_backing::Constraints, slashing, ApprovalVotingParams, BlockNumber, CandidateEvent, + CandidateHash, CommittedCandidateReceiptV2 as CommittedCandidateReceipt, CoreIndex, + CoreState, DisputeState, ExecutorParams, GroupRotationInfo, Hash, Id as ParaId, + InboundDownwardMessage, InboundHrmpMessage, Moment, NodeFeatures, Nonce, + OccupiedCoreAssumption, PersistedValidationData, ScrapedOnChainVotes, SessionInfo, Signature, ValidationCodeHash, ValidatorId, ValidatorIndex, PARACHAIN_KEY_TYPE_ID, }, runtime_common::{ @@ -102,7 +102,7 @@ use { origin as parachains_origin, paras as parachains_paras, paras_inherent as parachains_paras_inherent, runtime_api_impl::{ - v11 as parachains_runtime_api_impl, vstaging as parachains_staging_runtime_api_impl, + v13 as parachains_runtime_api_impl, vstaging as parachains_staging_runtime_api_impl, }, scheduler as parachains_scheduler, session_info as parachains_session_info, shared as parachains_shared, @@ -602,6 +602,10 @@ impl sp_runtime::traits::Convert> for ValidatorIdOf } } +parameter_types! { + pub const KeyDeposit: Balance = deposit(1, 6 * 32 + 33); +} + impl pallet_session::Config for Runtime { type RuntimeEvent = RuntimeEvent; type ValidatorId = AccountId; @@ -613,6 +617,8 @@ impl pallet_session::Config for Runtime { type Keys = SessionKeys; type WeightInfo = weights::pallet_session::SubstrateWeight; type DisablingStrategy = (); + type Currency = Balances; + type KeyDeposit = KeyDeposit; } pub struct FullIdentificationOf; @@ -2427,7 +2433,7 @@ sp_api::impl_runtime_apis! { VERSION } - fn execute_block(block: Block) { + fn execute_block(block: ::LazyBlock) { Executive::execute_block(block); } @@ -2442,7 +2448,7 @@ sp_api::impl_runtime_apis! { } fn dry_run_xcm(origin_location: VersionedLocation, xcm: VersionedXcm) -> Result, XcmDryRunApiError> { - XcmPallet::dry_run_xcm::(origin_location, xcm) + XcmPallet::dry_run_xcm::(origin_location, xcm) } } @@ -2472,8 +2478,9 @@ sp_api::impl_runtime_apis! { XcmPallet::query_xcm_weight(message) } - fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>) -> Result { - XcmPallet::query_delivery_fees(destination, message) + fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>, asset_id: VersionedAssetId) -> Result { + type AssetExchanger = ::AssetExchanger; + XcmPallet::query_delivery_fees::(destination, message, asset_id) } } @@ -2517,7 +2524,7 @@ sp_api::impl_runtime_apis! { } fn check_inherents( - block: Block, + block: ::LazyBlock, data: inherents::InherentData, ) -> inherents::CheckInherentsResult { data.check_extrinsics(&block) @@ -2540,7 +2547,7 @@ sp_api::impl_runtime_apis! { } } - #[api_version(13)] + #[api_version(15)] impl primitives::runtime_api::ParachainHost for Runtime { fn validators() -> Vec { parachains_runtime_api_impl::validators::() @@ -2585,7 +2592,7 @@ sp_api::impl_runtime_apis! { parachains_runtime_api_impl::validation_code::(para_id, assumption) } - fn candidate_pending_availability(para_id: ParaId) -> Option> { + fn candidate_pending_availability(para_id: ParaId) -> Option> { #[allow(deprecated)] parachains_runtime_api_impl::candidate_pending_availability::(para_id) } @@ -2649,10 +2656,15 @@ sp_api::impl_runtime_apis! { } fn unapplied_slashes( - ) -> Vec<(SessionIndex, CandidateHash, slashing::PendingSlashes)> { + ) -> Vec<(SessionIndex, CandidateHash, slashing::LegacyPendingSlashes)> { parachains_runtime_api_impl::unapplied_slashes::() } + fn unapplied_slashes_v2( + ) -> Vec<(SessionIndex, CandidateHash, slashing::PendingSlashes)> { + parachains_runtime_api_impl::unapplied_slashes_v2::() + } + fn key_ownership_proof( validator_id: ValidatorId, ) -> Option { @@ -2677,7 +2689,7 @@ sp_api::impl_runtime_apis! { parachains_runtime_api_impl::minimum_backing_votes::() } - fn para_backing_state(para_id: ParaId) -> Option { + fn para_backing_state(para_id: ParaId) -> Option { #[allow(deprecated)] parachains_runtime_api_impl::backing_state::(para_id) } @@ -2703,24 +2715,27 @@ sp_api::impl_runtime_apis! { parachains_runtime_api_impl::claim_queue::() } - fn candidates_pending_availability(para_id: ParaId) -> Vec> { + fn candidates_pending_availability(para_id: ParaId) -> Vec> { parachains_runtime_api_impl::candidates_pending_availability::(para_id) } fn backing_constraints(para_id: ParaId) -> Option { - parachains_staging_runtime_api_impl::backing_constraints::(para_id) + parachains_runtime_api_impl::backing_constraints::(para_id) } fn scheduling_lookahead() -> u32 { - parachains_staging_runtime_api_impl::scheduling_lookahead::() + parachains_runtime_api_impl::scheduling_lookahead::() } fn validation_code_bomb_limit() -> u32 { - parachains_staging_runtime_api_impl::validation_code_bomb_limit::() + parachains_runtime_api_impl::validation_code_bomb_limit::() + } + fn para_ids() -> Vec { + parachains_staging_runtime_api_impl::para_ids::() } } - #[api_version(5)] + #[api_version(6)] impl beefy_primitives::BeefyApi for Runtime { fn beefy_genesis() -> Option { pallet_beefy::GenesisBlock::::get() @@ -2779,20 +2794,9 @@ sp_api::impl_runtime_apis! { .map(|p| p.encode()) .map(beefy_primitives::OpaqueKeyOwnershipProof::new) } - - fn generate_ancestry_proof( - prev_block_number: BlockNumber, - best_known_block_number: Option, - ) -> Option { - use beefy_primitives::AncestryHelper; - - BeefyMmrLeaf::generate_proof(prev_block_number, best_known_block_number) - .map(|p| p.encode()) - .map(sp_runtime::OpaqueValue::new) - } } - #[api_version(2)] + #[api_version(3)] impl mmr::MmrApi for Runtime { fn mmr_root() -> Result { Ok(pallet_mmr::RootHash::::get()) @@ -2819,6 +2823,13 @@ sp_api::impl_runtime_apis! { ) } + fn generate_ancestry_proof( + prev_block_number: BlockNumber, + best_known_block_number: Option, + ) -> Result, mmr::Error> { + Mmr::generate_ancestry_proof(prev_block_number, best_known_block_number) + } + fn verify_proof(leaves: Vec, proof: mmr::LeafProof) -> Result<(), mmr::Error> { @@ -3002,7 +3013,7 @@ sp_api::impl_runtime_apis! { } fn execute_block( - block: Block, + block: ::LazyBlock, state_root_check: bool, signature_check: bool, select: frame_try_runtime::TryStateSelect, diff --git a/chains/orchestrator-relays/runtime/dancelight/src/tests/common/mod.rs b/chains/orchestrator-relays/runtime/dancelight/src/tests/common/mod.rs index 3ef3e88f61..e7b7ab1e61 100644 --- a/chains/orchestrator-relays/runtime/dancelight/src/tests/common/mod.rs +++ b/chains/orchestrator-relays/runtime/dancelight/src/tests/common/mod.rs @@ -30,12 +30,11 @@ use { bitvec::prelude::BitVec, cumulus_primitives_core::{ relay_chain::{ - node_features::FeatureIndex, vstaging::BackedCandidate, - vstaging::CandidateDescriptorV2, vstaging::CommittedCandidateReceiptV2, - vstaging::InherentData as ParachainsInherentData, AvailabilityBitfield, - CandidateCommitments, CompactStatement, CoreIndex, GroupIndex, HeadData, - PersistedValidationData, SigningContext, UncheckedSigned, ValidationCode, - ValidatorIndex, ValidityAttestation, + node_features::FeatureIndex, AvailabilityBitfield, BackedCandidate, + CandidateCommitments, CandidateDescriptorV2, CommittedCandidateReceiptV2, + CompactStatement, CoreIndex, GroupIndex, HeadData, + InherentData as ParachainsInherentData, PersistedValidationData, SigningContext, + UncheckedSigned, ValidationCode, ValidatorIndex, ValidityAttestation, }, ParaId, }, @@ -252,7 +251,7 @@ pub fn start_block() -> RunSummary { // We need to create it here, because otherwise the block number increases // on-initialize. // This requires signatures so we should not run it unless we have a keystore - let mock_inherent_data: Option = + let mock_inherent_data: Option = if is_para_inherent_enabled() { // We check the inherent data in storage else we construct an empty one Some( @@ -869,9 +868,8 @@ pub const EVE: [u8; 32] = [8u8; 32]; pub const FERDIE: [u8; 32] = [9u8; 32]; // Whether we have custom data to inject in paras inherent -fn take_new_inherent_data() -> Option -{ - let data: Option = +fn take_new_inherent_data() -> Option { + let data: Option = frame_support::storage::unhashed::take(b"ParasInherentData"); data @@ -884,7 +882,7 @@ fn is_para_inherent_enabled() -> bool { } // Set new data to inject in paras inherent -pub fn set_new_inherent_data(data: cumulus_primitives_core::relay_chain::vstaging::InherentData) { +pub fn set_new_inherent_data(data: cumulus_primitives_core::relay_chain::InherentData) { frame_support::storage::unhashed::put(b"ParasInherentData", &data); } @@ -895,7 +893,7 @@ pub fn set_new_randomness_data(data: Option<[u8; 32]>) { /// Mock the inherent that sets validation data in ParachainSystem, which /// contains the `relay_chain_block_number`, which is used in `collator-assignment` as a /// source of randomness. -pub fn set_paras_inherent(data: cumulus_primitives_core::relay_chain::vstaging::InherentData) { +pub fn set_paras_inherent(data: cumulus_primitives_core::relay_chain::InherentData) { // In order for this inherent to work, we need to match the parent header // the parent header does not play a significant role in the rest of the framework so // we are simply going to mock it @@ -1040,37 +1038,18 @@ impl ParasInherentTestBuilder HeadData(vec![0xFF; max_head_size as usize]) } - fn candidate_descriptor_mock( - para_id: ParaId, - candidate_descriptor_v2: bool, - ) -> CandidateDescriptorV2 { - if candidate_descriptor_v2 { - CandidateDescriptorV2::new( - para_id, - Default::default(), - CoreIndex(200), - 2, - Default::default(), - Default::default(), - Default::default(), - Default::default(), - mock_validation_code().hash(), - ) - } else { - // Convert v1 to v2. - CandidateDescriptor:: { - para_id, - relay_parent: Default::default(), - collator: junk_collator(), - persisted_validation_data_hash: Default::default(), - pov_hash: Default::default(), - erasure_root: Default::default(), - signature: junk_collator_signature(), - para_head: Default::default(), - validation_code_hash: mock_validation_code().hash(), - } - .into() - } + fn candidate_descriptor_mock(para_id: ParaId) -> CandidateDescriptorV2 { + CandidateDescriptorV2::new( + para_id, + Default::default(), + CoreIndex(200), + 2, + Default::default(), + Default::default(), + Default::default(), + Default::default(), + mock_validation_code().hash(), + ) } /* @@ -1494,8 +1473,8 @@ pub fn generate_ethereum_pub_keys(n: u32) -> Vec { keys } -use primitives::vstaging::{ClaimQueueOffset, CoreSelector, UMPSignal, UMP_SEPARATOR}; -use primitives::{CandidateDescriptor, CollatorId, CollatorSignature}; +use primitives::{ClaimQueueOffset, CoreSelector, UMPSignal, UMP_SEPARATOR}; +use primitives::{CollatorId, CollatorSignature}; use sp_core::ByteArray; use { babe_primitives::AuthorityPair as BabeAuthorityPair, diff --git a/chains/orchestrator-relays/runtime/dancelight/src/tests/core_scheduling_tests.rs b/chains/orchestrator-relays/runtime/dancelight/src/tests/core_scheduling_tests.rs index f850a9938b..67dea54737 100644 --- a/chains/orchestrator-relays/runtime/dancelight/src/tests/core_scheduling_tests.rs +++ b/chains/orchestrator-relays/runtime/dancelight/src/tests/core_scheduling_tests.rs @@ -28,7 +28,7 @@ use { frame_support::assert_ok, frame_system::pallet_prelude::BlockNumberFor, primitives::{ - node_features::FeatureIndex, runtime_api::runtime_decl_for_parachain_host::ParachainHostV13, + node_features::FeatureIndex, runtime_api::runtime_decl_for_parachain_host::ParachainHostV15, }, runtime_parachains::scheduler::common::Assignment, sp_core::{Decode, Encode}, diff --git a/chains/orchestrator-relays/runtime/dancelight/src/tests/ethereum_client.rs b/chains/orchestrator-relays/runtime/dancelight/src/tests/ethereum_client.rs index f9ef39db1e..d76b6b8003 100644 --- a/chains/orchestrator-relays/runtime/dancelight/src/tests/ethereum_client.rs +++ b/chains/orchestrator-relays/runtime/dancelight/src/tests/ethereum_client.rs @@ -20,7 +20,7 @@ use { crate::{tests::common::*, EthereumBeaconClient}, alloc::vec, frame_support::{assert_noop, assert_ok}, - snowbridge_pallet_ethereum_client::{functions::*, mock_electra::*}, + snowbridge_pallet_ethereum_client::{functions::*, mock::*}, sp_core::H256, }; #[test] @@ -36,9 +36,8 @@ fn test_ethereum_force_checkpoint() { .build() .execute_with(|| { // This tests submits the initial checkpoint that contains the initial sync committee - let checkpoint = Box::new( - snowbridge_pallet_ethereum_client::mock_electra::load_checkpoint_update_fixture(), - ); + let checkpoint = + Box::new(snowbridge_pallet_ethereum_client::mock::load_checkpoint_update_fixture()); assert_ok!(EthereumBeaconClient::force_checkpoint( root_origin(), checkpoint.clone() @@ -78,7 +77,7 @@ fn test_invalid_initial_checkpoint() { ]) .build() .execute_with(|| { - let mut checkpoint_invalid_sync_committee_proof = Box::new(snowbridge_pallet_ethereum_client::mock_electra::load_checkpoint_update_fixture()); + let mut checkpoint_invalid_sync_committee_proof = Box::new(snowbridge_pallet_ethereum_client::mock::load_checkpoint_update_fixture()); let mut checkpoint_invalid_blocks_root_proof = checkpoint_invalid_sync_committee_proof.clone(); @@ -123,9 +122,9 @@ fn test_submit_update_using_same_committee_same_checkpoint() { // This tests submits a new header signed by the sync committee members within the same // period BUT without injecting the next sync committee let initial_checkpoint = - Box::new(snowbridge_pallet_ethereum_client::mock_electra::load_checkpoint_update_fixture()); + Box::new(snowbridge_pallet_ethereum_client::mock::load_checkpoint_update_fixture()); let update_header = Box::new( - snowbridge_pallet_ethereum_client::mock_electra::load_finalized_header_update_fixture(), + snowbridge_pallet_ethereum_client::mock::load_finalized_header_update_fixture(), ); let initial_period = compute_period(initial_checkpoint.header.slot); diff --git a/chains/orchestrator-relays/runtime/dancelight/src/tests/maintenance_mode.rs b/chains/orchestrator-relays/runtime/dancelight/src/tests/maintenance_mode.rs index 0bf3eaf8b8..c871b9c3b7 100644 --- a/chains/orchestrator-relays/runtime/dancelight/src/tests/maintenance_mode.rs +++ b/chains/orchestrator-relays/runtime/dancelight/src/tests/maintenance_mode.rs @@ -274,17 +274,17 @@ fn test_non_filtered_calls_maintenance_mode() { assert_call_not_filtered(RuntimeCall::EthereumBeaconClient( snowbridge_pallet_ethereum_client::Call::::force_checkpoint { - update: Box::new(snowbridge_pallet_ethereum_client::mock_electra::load_checkpoint_update_fixture()), + update: Box::new( + snowbridge_pallet_ethereum_client::mock::load_checkpoint_update_fixture(), + ), }, )); - assert_call_not_filtered(RuntimeCall::Sudo( - pallet_sudo::Call::::sudo { - call: Box::new(RuntimeCall::System(frame_system::Call::::remark{ - remark: vec![] - })), - }, - )); + assert_call_not_filtered(RuntimeCall::Sudo(pallet_sudo::Call::::sudo { + call: Box::new(RuntimeCall::System(frame_system::Call::::remark { + remark: vec![], + })), + })); assert_call_not_filtered(RuntimeCall::Multisig( pallet_multisig::Call::::as_multi_threshold_1 { diff --git a/chains/orchestrator-relays/runtime/dancelight/src/tests/mod.rs b/chains/orchestrator-relays/runtime/dancelight/src/tests/mod.rs index fdc3c67302..a98b2dfc0b 100644 --- a/chains/orchestrator-relays/runtime/dancelight/src/tests/mod.rs +++ b/chains/orchestrator-relays/runtime/dancelight/src/tests/mod.rs @@ -16,6 +16,7 @@ //! Tests for the Dancelight Runtime Configuration +use crate::genesis_config_presets::get_authority_keys_from_seed; use { crate::*, frame_support::traits::WhitelistedStorageKeys, sp_core::hexdisplay::HexDisplay, std::collections::HashSet, @@ -95,3 +96,28 @@ fn check_treasury_pallet_id() { dancelight_runtime_constants::TREASURY_PALLET_ID ); } + +#[test] +fn session_keys_deposit() { + // Check that deposit for pallet_session has correct size depending on `SessionKeys`. + // Assumes that all SessionKeys have the same encoded size. + let keys = get_authority_keys_from_seed("Alice"); + let session_keys = SessionKeys { + grandpa: keys.grandpa, + babe: keys.babe, + para_validator: keys.para_validator, + para_assignment: keys.para_assignment, + authority_discovery: keys.authority_discovery, + beefy: keys.beefy, + nimbus: keys.nimbus, + }; + let session_keys_len = session_keys.encoded_size(); + // Hardcode value in test so it is easier to debug when SessionKeys size changes + // 225 = 6 * 32 + 33 + assert_eq!(session_keys_len, 225); + // And assert that the actual deposit matches this session keys length + let x = KeyDeposit::get(); + let y = deposit(1, session_keys_len as u32); + + assert_eq!(x, y); +} diff --git a/chains/orchestrator-relays/runtime/dancelight/src/weights/pallet_assets.rs b/chains/orchestrator-relays/runtime/dancelight/src/weights/pallet_assets.rs index d4cf7f7529..4efeccb6af 100644 --- a/chains/orchestrator-relays/runtime/dancelight/src/weights/pallet_assets.rs +++ b/chains/orchestrator-relays/runtime/dancelight/src/weights/pallet_assets.rs @@ -53,483 +53,589 @@ use core::marker::PhantomData; /// Weights for pallet_assets using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_assets::WeightInfo for SubstrateWeight { + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::NextAssetId` (r:1 w:0) + /// Proof: `ForeignAssets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(602), added: 1097, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 0_000 picoseconds. - Weight::from_parts(0, 0) + // Measured: `139` + // Estimated: `4273` + // Minimum execution time: 29_713_000 picoseconds. + Weight::from_parts(30_405_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::NextAssetId` (r:1 w:0) - /// Proof: `ForeignAssets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(602), added: 1097, mode: `MaxEncodedLen`) fn force_create() -> Weight { // Proof Size summary in bytes: // Measured: `4` - // Estimated: `3673` - // Minimum execution time: 14_203_000 picoseconds. - Weight::from_parts(14_636_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Estimated: `4273` + // Minimum execution time: 11_430_000 picoseconds. + Weight::from_parts(11_825_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:0) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn start_destroy() -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3673` - // Minimum execution time: 14_775_000 picoseconds. - Weight::from_parts(15_325_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `324` + // Estimated: `4273` + // Minimum execution time: 16_882_000 picoseconds. + Weight::from_parts(17_360_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1001 w:1000) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1000 w:1000) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1000 w:1000) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1000 w:1000) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1000]`. - fn destroy_accounts(c: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `58 + c * (208 ±0)` - // Estimated: `3673 + c * (2607 ±0)` - // Minimum execution time: 21_403_000 picoseconds. - Weight::from_parts(21_843_000, 3673) - // Standard Error: 12_298 - .saturating_add(Weight::from_parts(16_960_886, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 2607).saturating_mul(c.into())) + /// The range of component `c` is `[0, 1000]`. + /// The range of component `c` is `[0, 1000]`. + fn destroy_accounts(c: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + c * (208 ±0)` + // Estimated: `4273 + c * (3207 ±0)` + // Minimum execution time: 15_990_000 picoseconds. + Weight::from_parts(16_161_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 16_995 + .saturating_add(Weight::from_parts(25_624_471, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(c.into()))) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(c.into()))) + .saturating_add(Weight::from_parts(0, 3207).saturating_mul(c.into())) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1001 w:1000) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) + /// The range of component `a` is `[0, 1000]`. + /// The range of component `a` is `[0, 1000]`. /// The range of component `a` is `[0, 1000]`. - fn destroy_approvals(a: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `409 + a * (86 ±0)` - // Estimated: `3673 + a * (2621 ±0)` - // Minimum execution time: 21_168_000 picoseconds. - Weight::from_parts(21_432_000, 3673) - // Standard Error: 3_842 - .saturating_add(Weight::from_parts(6_567_041, 0).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + fn destroy_approvals(a: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `413 + a * (86 ±0)` + // Estimated: `4273 + a * (3221 ±0)` + // Minimum execution time: 16_532_000 picoseconds. + Weight::from_parts(16_865_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 4_823 + .saturating_add(Weight::from_parts(15_353_976, 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_u64)) + .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_parts(0, 2621).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 3221).saturating_mul(a.into())) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:0) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn finish_destroy() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 18_384_000 picoseconds. - Weight::from_parts(18_924_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 13_451_000 picoseconds. + Weight::from_parts(14_019_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn mint() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 30_455_000 picoseconds. - Weight::from_parts(31_532_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 22_965_000 picoseconds. + Weight::from_parts(23_855_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn burn() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `3673` - // Minimum execution time: 39_171_000 picoseconds. - Weight::from_parts(40_436_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `356` + // Estimated: `4273` + // Minimum execution time: 47_536_000 picoseconds. + Weight::from_parts(49_071_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `385` - // Estimated: `6204` - // Minimum execution time: 55_315_000 picoseconds. - Weight::from_parts(56_349_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 59_854_000 picoseconds. + Weight::from_parts(61_262_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:0) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: - // Measured: `385` - // Estimated: `6204` - // Minimum execution time: 50_118_000 picoseconds. - Weight::from_parts(51_012_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 45_638_000 picoseconds. + Weight::from_parts(46_477_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `385` - // Estimated: `6204` - // Minimum execution time: 55_440_000 picoseconds. - Weight::from_parts(56_194_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 59_607_000 picoseconds. + Weight::from_parts(61_405_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn freeze() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `3673` - // Minimum execution time: 20_142_000 picoseconds. - Weight::from_parts(20_920_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 16_524_000 picoseconds. + Weight::from_parts(17_268_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn thaw() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `3673` - // Minimum execution time: 20_526_000 picoseconds. - Weight::from_parts(21_144_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 16_618_000 picoseconds. + Weight::from_parts(17_201_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn freeze_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3673` - // Minimum execution time: 14_684_000 picoseconds. - Weight::from_parts(15_353_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 11_755_000 picoseconds. + Weight::from_parts(12_366_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn thaw_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3673` - // Minimum execution time: 14_608_000 picoseconds. - Weight::from_parts(15_156_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 11_872_000 picoseconds. + Weight::from_parts(12_490_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:0) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn transfer_ownership() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 18_786_000 picoseconds. - Weight::from_parts(19_178_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 13_752_000 picoseconds. + Weight::from_parts(14_440_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn set_team() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 16_835_000 picoseconds. - Weight::from_parts(17_196_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 11_860_000 picoseconds. + Weight::from_parts(12_186_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, 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 { - // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 17_762_000 picoseconds. - Weight::from_parts(18_819_124, 3673) - // Standard Error: 522 - .saturating_add(Weight::from_parts(129, 0).saturating_mul(n.into())) - // Standard Error: 522 - .saturating_add(Weight::from_parts(711, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + fn set_metadata(_n: u32, s: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 27_274_000 picoseconds. + Weight::from_parts(28_578_070, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 776 + .saturating_add(Weight::from_parts(1_087, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `402` - // Estimated: `3673` - // Minimum execution time: 18_802_000 picoseconds. - Weight::from_parts(19_544_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `406` + // Estimated: `4273` + // Minimum execution time: 27_414_000 picoseconds. + Weight::from_parts(28_274_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, 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 { - // Proof Size summary in bytes: - // Measured: `79` - // Estimated: `3673` - // Minimum execution time: 17_718_000 picoseconds. - Weight::from_parts(18_408_174, 3673) - // Standard Error: 391 - .saturating_add(Weight::from_parts(4_304, 0).saturating_mul(n.into())) - // Standard Error: 391 - .saturating_add(Weight::from_parts(1_432, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + /// 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 { + // Proof Size summary in bytes: + // Measured: `81` + // Estimated: `4273` + // Minimum execution time: 12_087_000 picoseconds. + Weight::from_parts(12_745_826, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 440 + .saturating_add(Weight::from_parts(1_010, 0).saturating_mul(n.into())) + // Standard Error: 440 + .saturating_add(Weight::from_parts(1_303, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn force_clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `402` - // Estimated: `3673` - // Minimum execution time: 18_360_000 picoseconds. - Weight::from_parts(19_123_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `406` + // Estimated: `4273` + // Minimum execution time: 26_528_000 picoseconds. + Weight::from_parts(27_478_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn force_asset_status() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 16_135_000 picoseconds. - Weight::from_parts(16_602_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 10_881_000 picoseconds. + Weight::from_parts(11_268_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn approve_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3673` - // Minimum execution time: 23_637_000 picoseconds. - Weight::from_parts(24_420_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 31_216_000 picoseconds. + Weight::from_parts(32_411_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn transfer_approved() -> Weight { // Proof Size summary in bytes: - // Measured: `553` - // Estimated: `6204` - // Minimum execution time: 67_445_000 picoseconds. - Weight::from_parts(68_939_000, 6204) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `526` + // Estimated: `7404` + // Minimum execution time: 79_133_000 picoseconds. + Weight::from_parts(81_252_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(7)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn cancel_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `442` - // Estimated: `3673` - // Minimum execution time: 26_488_000 picoseconds. - Weight::from_parts(27_130_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `446` + // Estimated: `4273` + // Minimum execution time: 33_529_000 picoseconds. + Weight::from_parts(34_768_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn force_cancel_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `442` - // Estimated: `3673` - // Minimum execution time: 26_505_000 picoseconds. - Weight::from_parts(27_276_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `446` + // Estimated: `4273` + // Minimum execution time: 33_558_000 picoseconds. + Weight::from_parts(34_197_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn set_min_balance() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 17_717_000 picoseconds. - Weight::from_parts(18_105_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 12_533_000 picoseconds. + Weight::from_parts(12_956_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn touch() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 24_308_000 picoseconds. - Weight::from_parts(25_305_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `345` + // Estimated: `4273` + // Minimum execution time: 32_643_000 picoseconds. + Weight::from_parts(33_899_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn touch_other() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 22_290_000 picoseconds. - Weight::from_parts(22_842_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 31_276_000 picoseconds. + Weight::from_parts(32_155_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn refund() -> Weight { // Proof Size summary in bytes: - // Measured: `364` - // Estimated: `3673` - // Minimum execution time: 21_533_000 picoseconds. - Weight::from_parts(22_190_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `477` + // Estimated: `4273` + // Minimum execution time: 43_426_000 picoseconds. + Weight::from_parts(45_064_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn refund_other() -> Weight { // Proof Size summary in bytes: - // Measured: `397` - // Estimated: `3673` - // Minimum execution time: 19_618_000 picoseconds. - Weight::from_parts(20_360_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `407` + // Estimated: `4273` + // Minimum execution time: 41_885_000 picoseconds. + Weight::from_parts(43_300_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn block() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `3673` - // Minimum execution time: 20_183_000 picoseconds. - Weight::from_parts(20_849_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 16_833_000 picoseconds. + Weight::from_parts(17_265_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { // Proof Size summary in bytes: - // Measured: `385` - // Estimated: `6204` - // Minimum execution time: 67_634_000 picoseconds. - Weight::from_parts(69_366_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 72_880_000 picoseconds. + Weight::from_parts(74_426_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn total_issuance() -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3673` - // Minimum execution time: 6_488_000 picoseconds. - Weight::from_parts(6_788_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 5_454_000 picoseconds. + Weight::from_parts(5_742_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `ForeignAssets::Account` (r:1 w:0) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn balance() -> Weight { // Proof Size summary in bytes: - // Measured: `148` - // Estimated: `3597` - // Minimum execution time: 7_605_000 picoseconds. - Weight::from_parts(7_924_000, 3597) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Measured: `150` + // Estimated: `4197` + // Minimum execution time: 6_480_000 picoseconds. + Weight::from_parts(6_813_000, 0) + .saturating_add(Weight::from_parts(0, 4197)) + .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `ForeignAssets::Approvals` (r:1 w:0) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn allowance() -> Weight { // Proof Size summary in bytes: - // Measured: `243` - // Estimated: `3611` - // Minimum execution time: 11_353_000 picoseconds. - Weight::from_parts(11_639_000, 3611) + // Measured: `245` + // Estimated: `4211` + // Minimum execution time: 8_685_000 picoseconds. + Weight::from_parts(9_177_000, 0) + .saturating_add(Weight::from_parts(0, 4211)) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// The range of component `n` is `[0, 5]`. + /// The range of component `n` is `[0, 5]`. + /// The range of component `n` is `[0, 5]`. + fn set_reserves(n: u32) -> Weight { + Weight::from_parts(31_972_000, 3675) + // Standard Error: 13_748 + .saturating_add(Weight::from_parts(198_975, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } -} \ No newline at end of file +} diff --git a/chains/orchestrator-relays/runtime/dancelight/src/weights/pallet_xcm.rs b/chains/orchestrator-relays/runtime/dancelight/src/weights/pallet_xcm.rs index a7ec8d2c09..0dbe402ce1 100644 --- a/chains/orchestrator-relays/runtime/dancelight/src/weights/pallet_xcm.rs +++ b/chains/orchestrator-relays/runtime/dancelight/src/weights/pallet_xcm.rs @@ -53,300 +53,373 @@ use core::marker::PhantomData; /// Weights for pallet_xcm using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_xcm::WeightInfo for SubstrateWeight { - /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) - /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcmPallet::SupportedVersion` (r:1 w:0) - /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueues` (r:1 w:1) - /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Paras::Heads` (r:1 w:0) - /// Proof: `Paras::Heads` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) - /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `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(105506), added: 107981, mode: `MaxEncodedLen`) fn send() -> Weight { // Proof Size summary in bytes: - // Measured: `141` - // Estimated: `3606` - // Minimum execution time: 51_114_000 picoseconds. - Weight::from_parts(53_131_000, 3606) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `245` + // Estimated: `3710` + // Minimum execution time: 31_621_000 picoseconds. + Weight::from_parts(33_059_000, 0) + .saturating_add(Weight::from_parts(0, 3710)) + .saturating_add(T::DbWeight::get().reads(4)) + .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`) + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// 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(105506), added: 107981, mode: `MaxEncodedLen`) fn teleport_assets() -> 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) + // Measured: `277` + // Estimated: `3742` + // Minimum execution time: 120_046_000 picoseconds. + Weight::from_parts(123_674_000, 0) + .saturating_add(Weight::from_parts(0, 3742)) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: `System::Account` (r:1 w:1) + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) - /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcmPallet::SupportedVersion` (r:1 w:0) - /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueues` (r:1 w:1) - /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Paras::Heads` (r:1 w:0) - /// Proof: `Paras::Heads` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) - /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `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(105506), added: 107981, mode: `MaxEncodedLen`) fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `193` - // Estimated: `3658` - // Minimum execution time: 178_061_000 picoseconds. - Weight::from_parts(181_481_000, 3658) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `329` + // Estimated: `6196` + // Minimum execution time: 136_136_000 picoseconds. + Weight::from_parts(140_390_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: `System::Account` (r:1 w:1) + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `AssetsFreezer::FrozenBalances` (r:1 w:0) + /// Proof: `AssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) - /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcmPallet::SupportedVersion` (r:1 w:0) - /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueues` (r:1 w:1) - /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Paras::Heads` (r:1 w:0) - /// Proof: `Paras::Heads` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) - /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `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(105506), added: 107981, mode: `MaxEncodedLen`) fn transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `141` - // Estimated: `3606` - // Minimum execution time: 175_455_000 picoseconds. - Weight::from_parts(178_758_000, 3606) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `669` + // Estimated: `6208` + // Minimum execution time: 187_283_000 picoseconds. + Weight::from_parts(195_176_000, 0) + .saturating_add(Weight::from_parts(0, 6208)) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(7)) } + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn execute() -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `0` - // Minimum execution time: 12_911_000 picoseconds. - Weight::from_parts(13_138_000, 0) + // Estimated: `1485` + // Minimum execution time: 10_096_000 picoseconds. + Weight::from_parts(10_505_000, 0) + .saturating_add(Weight::from_parts(0, 1485)) + .saturating_add(T::DbWeight::get().reads(1)) } - /// Storage: `XcmPallet::SupportedVersion` (r:0 w:1) - /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_xcm_version() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_522_000 picoseconds. - Weight::from_parts(11_896_000, 0) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 8_024_000 picoseconds. + Weight::from_parts(8_375_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } fn force_default_xcm_version() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_790_000 picoseconds. - Weight::from_parts(3_937_000, 0) + // Minimum execution time: 2_480_000 picoseconds. + Weight::from_parts(2_590_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: `XcmPallet::VersionNotifiers` (r:1 w:1) - /// Proof: `XcmPallet::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcmPallet::QueryCounter` (r:1 w:1) - /// Proof: `XcmPallet::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) - /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcmPallet::SupportedVersion` (r:1 w:0) - /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueues` (r:1 w:1) - /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Paras::Heads` (r:1 w:0) - /// Proof: `Paras::Heads` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) - /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcmPallet::Queries` (r:0 w:1) - /// Proof: `XcmPallet::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) + /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) + /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `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(105506), added: 107981, 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: `141` - // Estimated: `3606` - // Minimum execution time: 58_594_000 picoseconds. - Weight::from_parts(61_111_000, 3606) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `245` + // Estimated: `3710` + // Minimum execution time: 38_995_000 picoseconds. + Weight::from_parts(40_184_000, 0) + .saturating_add(Weight::from_parts(0, 3710)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: `XcmPallet::VersionNotifiers` (r:1 w:1) - /// Proof: `XcmPallet::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) - /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcmPallet::SupportedVersion` (r:1 w:0) - /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueues` (r:1 w:1) - /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Paras::Heads` (r:1 w:0) - /// Proof: `Paras::Heads` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) - /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcmPallet::Queries` (r:0 w:1) - /// Proof: `XcmPallet::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) + /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `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(105506), added: 107981, 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: `321` - // Estimated: `3786` - // Minimum execution time: 63_045_000 picoseconds. - Weight::from_parts(65_516_000, 3786) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `404` + // Estimated: `108971` + // Minimum execution time: 43_832_000 picoseconds. + Weight::from_parts(45_241_000, 0) + .saturating_add(Weight::from_parts(0, 108971)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: `XcmPallet::XcmExecutionSuspended` (r:0 w:1) - /// Proof: `XcmPallet::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1) + /// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn force_suspension() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_837_000 picoseconds. - Weight::from_parts(3_988_000, 0) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 2_395_000 picoseconds. + Weight::from_parts(2_546_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `XcmPallet::SupportedVersion` (r:6 w:2) - /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:6 w:2) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: // Measured: `22` // Estimated: `15862` - // Minimum execution time: 27_738_000 picoseconds. - Weight::from_parts(28_249_000, 15862) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 22_061_000 picoseconds. + Weight::from_parts(22_555_000, 0) + .saturating_add(Weight::from_parts(0, 15862)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `XcmPallet::VersionNotifiers` (r:6 w:2) - /// Proof: `XcmPallet::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::VersionNotifiers` (r:6 w:2) + /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notifiers() -> Weight { // Proof Size summary in bytes: // Measured: `26` // Estimated: `15866` - // Minimum execution time: 27_830_000 picoseconds. - Weight::from_parts(28_404_000, 15866) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 21_646_000 picoseconds. + Weight::from_parts(22_119_000, 0) + .saturating_add(Weight::from_parts(0, 15866)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `XcmPallet::VersionNotifyTargets` (r:7 w:0) - /// Proof: `XcmPallet::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:7 w:0) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn already_notified_target() -> Weight { // Proof Size summary in bytes: - // Measured: `78` - // Estimated: `18393` - // Minimum execution time: 35_474_000 picoseconds. - Weight::from_parts(36_076_000, 18393) - .saturating_add(T::DbWeight::get().reads(7_u64)) + // Measured: `39` + // Estimated: `18354` + // Minimum execution time: 25_937_000 picoseconds. + Weight::from_parts(26_388_000, 0) + .saturating_add(Weight::from_parts(0, 18354)) + .saturating_add(T::DbWeight::get().reads(7)) } - /// Storage: `XcmPallet::VersionNotifyTargets` (r:2 w:1) - /// Proof: `XcmPallet::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) - /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcmPallet::SupportedVersion` (r:1 w:0) - /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueues` (r:1 w:0) - /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Paras::Heads` (r:1 w:0) - /// Proof: `Paras::Heads` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `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: `140` - // Estimated: `6080` - // Minimum execution time: 43_461_000 picoseconds. - Weight::from_parts(44_250_000, 6080) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `187` + // Estimated: `6127` + // Minimum execution time: 36_716_000 picoseconds. + Weight::from_parts(38_269_000, 0) + .saturating_add(Weight::from_parts(0, 6127)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `XcmPallet::VersionNotifyTargets` (r:5 w:0) - /// Proof: `XcmPallet::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn notify_target_migration_fail() -> Weight { // Proof Size summary in bytes: - // Measured: `78` - // Estimated: `13443` - // Minimum execution time: 25_196_000 picoseconds. - Weight::from_parts(25_707_000, 13443) - .saturating_add(T::DbWeight::get().reads(5_u64)) + // Measured: `39` + // Estimated: `13404` + // Minimum execution time: 17_974_000 picoseconds. + Weight::from_parts(18_407_000, 0) + .saturating_add(Weight::from_parts(0, 13404)) + .saturating_add(T::DbWeight::get().reads(5)) } - /// Storage: `XcmPallet::VersionNotifyTargets` (r:6 w:2) - /// Proof: `XcmPallet::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notify_targets() -> Weight { // Proof Size summary in bytes: // Measured: `33` // Estimated: `15873` - // Minimum execution time: 28_447_000 picoseconds. - Weight::from_parts(28_769_000, 15873) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 21_964_000 picoseconds. + Weight::from_parts(22_610_000, 0) + .saturating_add(Weight::from_parts(0, 15873)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `XcmPallet::VersionNotifyTargets` (r:6 w:1) - /// Proof: `XcmPallet::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) - /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcmPallet::SupportedVersion` (r:1 w:0) - /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueues` (r:1 w:0) - /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Paras::Heads` (r:1 w:0) - /// Proof: `Paras::Heads` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:1) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `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: `140` - // Estimated: `15980` - // Minimum execution time: 57_121_000 picoseconds. - Weight::from_parts(58_025_000, 15980) - .saturating_add(T::DbWeight::get().reads(10_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `187` + // Estimated: `16027` + // Minimum execution time: 46_704_000 picoseconds. + Weight::from_parts(49_027_000, 0) + .saturating_add(Weight::from_parts(0, 16027)) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `XcmPallet::QueryCounter` (r:1 w:1) - /// Proof: `XcmPallet::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `XcmPallet::Queries` (r:0 w:1) - /// Proof: `XcmPallet::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) + /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::Queries` (r:0 w:1) + /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn new_query() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 3_816_000 picoseconds. - Weight::from_parts(4_057_000, 1485) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 2_694_000 picoseconds. + Weight::from_parts(2_829_000, 0) + .saturating_add(Weight::from_parts(0, 1485)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `XcmPallet::Queries` (r:1 w:1) - /// Proof: `XcmPallet::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::Queries` (r:1 w:1) + /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn take_response() -> Weight { // Proof Size summary in bytes: // Measured: `7576` // Estimated: `11041` - // Minimum execution time: 36_206_000 picoseconds. - Weight::from_parts(36_516_000, 11041) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 27_767_000 picoseconds. + Weight::from_parts(28_348_000, 0) + .saturating_add(Weight::from_parts(0, 11041)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `XcmPallet::AssetTraps` (r:1 w:1) - /// Proof: `XcmPallet::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1) + /// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) fn claim_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `23` - // Estimated: `3488` - // Minimum execution time: 52_840_000 picoseconds. - Weight::from_parts(54_447_000, 3488) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `303` + // Estimated: `3768` + // Minimum execution time: 45_836_000 picoseconds. + Weight::from_parts(47_883_000, 0) + .saturating_add(Weight::from_parts(0, 3768)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: `Benchmark::Override` (r:0 w:0) - /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::AuthorizedAliases` (r:1 w:1) + /// Proof: `PolkadotXcm::AuthorizedAliases` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(121), added: 2596, mode: `MaxEncodedLen`) 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) + // Measured: `160` + // Estimated: `3625` + // Minimum execution time: 50_608_000 picoseconds. + Weight::from_parts(51_989_000, 0) + .saturating_add(Weight::from_parts(0, 3625)) + .saturating_add(T::DbWeight::get().reads(2)) + .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`) + /// Storage: `PolkadotXcm::AuthorizedAliases` (r:1 w:1) + /// Proof: `PolkadotXcm::AuthorizedAliases` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(121), added: 2596, mode: `MaxEncodedLen`) fn remove_authorized_alias() -> Weight { + // Proof Size summary in bytes: + // Measured: `516` + // Estimated: `3981` + // Minimum execution time: 52_003_000 picoseconds. + Weight::from_parts(52_989_000, 0) + .saturating_add(Weight::from_parts(0, 3981)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + fn weigh_message() -> 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) + // Minimum execution time: 8_416_000 picoseconds. + Weight::from_parts(8_668_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } -} \ No newline at end of file +} diff --git a/chains/orchestrator-relays/runtime/dancelight/src/xcm_config.rs b/chains/orchestrator-relays/runtime/dancelight/src/xcm_config.rs index bce7531882..ac9acc417e 100644 --- a/chains/orchestrator-relays/runtime/dancelight/src/xcm_config.rs +++ b/chains/orchestrator-relays/runtime/dancelight/src/xcm_config.rs @@ -311,20 +311,27 @@ parameter_types! { /// Simple conversion of `u32` into an `AssetId` for use in benchmarking. pub struct ForeignAssetBenchmarkHelper; #[cfg(feature = "runtime-benchmarks")] -impl pallet_assets::BenchmarkHelper for ForeignAssetBenchmarkHelper { +impl pallet_assets::BenchmarkHelper for ForeignAssetBenchmarkHelper { fn create_asset_id_parameter(id: u32) -> AssetId { id.try_into() .expect("number too large to create benchmarks") } + fn create_reserve_id_parameter(id: u32) -> ReserveId { + () + } } pub type AssetId = u16; +pub type ReserveId = (); pub type ForeignAssetsInstance = pallet_assets::Instance1; impl pallet_assets::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Balance = Balance; type AssetId = AssetId; type AssetIdParameter = AssetId; + // TODO: ReserveData = ForeignAssetReserveData + // TODO: check if this needs a migration + type ReserveData = (); type Currency = Balances; type CreateOrigin = frame_support::traits::NeverEnsureOrigin; type ForceOrigin = EnsureRoot; diff --git a/chains/orchestrator-relays/runtime/starlight/Cargo.toml b/chains/orchestrator-relays/runtime/starlight/Cargo.toml index 73074fdfc2..ba4207a63d 100644 --- a/chains/orchestrator-relays/runtime/starlight/Cargo.toml +++ b/chains/orchestrator-relays/runtime/starlight/Cargo.toml @@ -394,6 +394,7 @@ runtime-benchmarks = [ "pallet-registrar/runtime-benchmarks", "pallet-scheduler/runtime-benchmarks", "pallet-services-payment/runtime-benchmarks", + "pallet-session/runtime-benchmarks", "pallet-staking/runtime-benchmarks", "pallet-stream-payment/runtime-benchmarks", "pallet-sudo/runtime-benchmarks", @@ -497,6 +498,7 @@ try-runtime = [ "pallet-xcm/try-runtime", "runtime-common/try-runtime", "runtime-parachains/try-runtime", + "snowbridge-inbound-queue-primitives/try-runtime", "snowbridge-pallet-ethereum-client/try-runtime", "snowbridge-pallet-inbound-queue/try-runtime", "snowbridge-pallet-outbound-queue/try-runtime", diff --git a/chains/orchestrator-relays/runtime/starlight/src/lib.rs b/chains/orchestrator-relays/runtime/starlight/src/lib.rs index a9565b7abb..c2510061dc 100644 --- a/chains/orchestrator-relays/runtime/starlight/src/lib.rs +++ b/chains/orchestrator-relays/runtime/starlight/src/lib.rs @@ -59,11 +59,11 @@ use { parachains_scheduler::common::Assignment, parity_scale_codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen}, primitives::{ - slashing, vstaging::async_backing::Constraints, vstaging::CandidateEvent, - vstaging::CommittedCandidateReceiptV2, vstaging::CoreState, vstaging::ScrapedOnChainVotes, - ApprovalVotingParams, BlockNumber, CandidateHash, CoreIndex, DisputeState, ExecutorParams, - GroupRotationInfo, Hash, Id as ParaId, InboundDownwardMessage, InboundHrmpMessage, Moment, - NodeFeatures, Nonce, OccupiedCoreAssumption, PersistedValidationData, SessionInfo, + async_backing::Constraints, slashing, ApprovalVotingParams, BlockNumber, CandidateEvent, + CandidateHash, CommittedCandidateReceiptV2 as CommittedCandidateReceipt, CoreIndex, + CoreState, DisputeState, ExecutorParams, GroupRotationInfo, Hash, Id as ParaId, + InboundDownwardMessage, InboundHrmpMessage, Moment, NodeFeatures, Nonce, + OccupiedCoreAssumption, PersistedValidationData, ScrapedOnChainVotes, SessionInfo, Signature, ValidationCodeHash, ValidatorId, ValidatorIndex, PARACHAIN_KEY_TYPE_ID, }, runtime_common::{ @@ -83,7 +83,7 @@ use { origin as parachains_origin, paras as parachains_paras, paras_inherent as parachains_paras_inherent, runtime_api_impl::{ - v11 as parachains_runtime_api_impl, vstaging as parachains_staging_runtime_api_impl, + v13 as parachains_runtime_api_impl, vstaging as parachains_staging_runtime_api_impl, }, scheduler as parachains_scheduler, session_info as parachains_session_info, shared as parachains_shared, @@ -598,6 +598,10 @@ impl sp_runtime::traits::Convert> for ValidatorIdOf } } +parameter_types! { + pub const KeyDeposit: Balance = deposit(1, 6 * 32 + 33); +} + impl pallet_session::Config for Runtime { type RuntimeEvent = RuntimeEvent; type ValidatorId = AccountId; @@ -609,6 +613,8 @@ impl pallet_session::Config for Runtime { type Keys = SessionKeys; type WeightInfo = weights::pallet_session::SubstrateWeight; type DisablingStrategy = (); + type Currency = Balances; + type KeyDeposit = KeyDeposit; } pub struct FullIdentificationOf; @@ -2384,7 +2390,7 @@ sp_api::impl_runtime_apis! { VERSION } - fn execute_block(block: Block) { + fn execute_block(block: ::LazyBlock) { Executive::execute_block(block); } @@ -2399,7 +2405,7 @@ sp_api::impl_runtime_apis! { } fn dry_run_xcm(origin_location: VersionedLocation, xcm: VersionedXcm) -> Result, XcmDryRunApiError> { - XcmPallet::dry_run_xcm::(origin_location, xcm) + XcmPallet::dry_run_xcm::(origin_location, xcm) } } @@ -2429,8 +2435,9 @@ sp_api::impl_runtime_apis! { XcmPallet::query_xcm_weight(message) } - fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>) -> Result { - XcmPallet::query_delivery_fees(destination, message) + fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>, asset_id: VersionedAssetId) -> Result { + type AssetExchanger = ::AssetExchanger; + XcmPallet::query_delivery_fees::(destination, message, asset_id) } } @@ -2474,7 +2481,7 @@ sp_api::impl_runtime_apis! { } fn check_inherents( - block: Block, + block: ::LazyBlock, data: inherents::InherentData, ) -> inherents::CheckInherentsResult { data.check_extrinsics(&block) @@ -2497,7 +2504,7 @@ sp_api::impl_runtime_apis! { } } - #[api_version(13)] + #[api_version(15)] impl primitives::runtime_api::ParachainHost for Runtime { fn validators() -> Vec { parachains_runtime_api_impl::validators::() @@ -2542,7 +2549,7 @@ sp_api::impl_runtime_apis! { parachains_runtime_api_impl::validation_code::(para_id, assumption) } - fn candidate_pending_availability(para_id: ParaId) -> Option> { + fn candidate_pending_availability(para_id: ParaId) -> Option> { #[allow(deprecated)] parachains_runtime_api_impl::candidate_pending_availability::(para_id) } @@ -2606,10 +2613,15 @@ sp_api::impl_runtime_apis! { } fn unapplied_slashes( - ) -> Vec<(SessionIndex, CandidateHash, slashing::PendingSlashes)> { + ) -> Vec<(SessionIndex, CandidateHash, slashing::LegacyPendingSlashes)> { parachains_runtime_api_impl::unapplied_slashes::() } + fn unapplied_slashes_v2( + ) -> Vec<(SessionIndex, CandidateHash, slashing::PendingSlashes)> { + parachains_runtime_api_impl::unapplied_slashes_v2::() + } + fn key_ownership_proof( validator_id: ValidatorId, ) -> Option { @@ -2634,7 +2646,7 @@ sp_api::impl_runtime_apis! { parachains_runtime_api_impl::minimum_backing_votes::() } - fn para_backing_state(para_id: ParaId) -> Option { + fn para_backing_state(para_id: ParaId) -> Option { // TODO: the alternative is to use backing_constraints and candidates_pending_availability // but backing_constraints is private. #[allow(deprecated)] @@ -2662,23 +2674,27 @@ sp_api::impl_runtime_apis! { parachains_runtime_api_impl::claim_queue::() } - fn candidates_pending_availability(para_id: ParaId) -> Vec> { + fn candidates_pending_availability(para_id: ParaId) -> Vec> { parachains_runtime_api_impl::candidates_pending_availability::(para_id) } fn backing_constraints(para_id: ParaId) -> Option { - parachains_staging_runtime_api_impl::backing_constraints::(para_id) + parachains_runtime_api_impl::backing_constraints::(para_id) } fn scheduling_lookahead() -> u32 { - parachains_staging_runtime_api_impl::scheduling_lookahead::() + parachains_runtime_api_impl::scheduling_lookahead::() } fn validation_code_bomb_limit() -> u32 { - parachains_staging_runtime_api_impl::validation_code_bomb_limit::() + parachains_runtime_api_impl::validation_code_bomb_limit::() + } + + fn para_ids() -> Vec { + parachains_staging_runtime_api_impl::para_ids::() } } - #[api_version(5)] + #[api_version(6)] impl beefy_primitives::BeefyApi for Runtime { fn beefy_genesis() -> Option { pallet_beefy::GenesisBlock::::get() @@ -2737,20 +2753,9 @@ sp_api::impl_runtime_apis! { .map(|p| p.encode()) .map(beefy_primitives::OpaqueKeyOwnershipProof::new) } - - fn generate_ancestry_proof( - prev_block_number: BlockNumber, - best_known_block_number: Option, - ) -> Option { - use beefy_primitives::AncestryHelper; - - BeefyMmrLeaf::generate_proof(prev_block_number, best_known_block_number) - .map(|p| p.encode()) - .map(sp_runtime::OpaqueValue::new) - } } - #[api_version(2)] + #[api_version(3)] impl mmr::MmrApi for Runtime { fn mmr_root() -> Result { Ok(pallet_mmr::RootHash::::get()) @@ -2777,6 +2782,13 @@ sp_api::impl_runtime_apis! { ) } + fn generate_ancestry_proof( + prev_block_number: BlockNumber, + best_known_block_number: Option, + ) -> Result, mmr::Error> { + Mmr::generate_ancestry_proof(prev_block_number, best_known_block_number) + } + fn verify_proof(leaves: Vec, proof: mmr::LeafProof) -> Result<(), mmr::Error> { @@ -2960,7 +2972,7 @@ sp_api::impl_runtime_apis! { } fn execute_block( - block: Block, + block: ::LazyBlock, state_root_check: bool, signature_check: bool, select: frame_try_runtime::TryStateSelect, diff --git a/chains/orchestrator-relays/runtime/starlight/src/tests/common/mod.rs b/chains/orchestrator-relays/runtime/starlight/src/tests/common/mod.rs index 27e0b593a9..829aa77821 100644 --- a/chains/orchestrator-relays/runtime/starlight/src/tests/common/mod.rs +++ b/chains/orchestrator-relays/runtime/starlight/src/tests/common/mod.rs @@ -30,12 +30,11 @@ use { bitvec::prelude::BitVec, cumulus_primitives_core::{ relay_chain::{ - node_features::FeatureIndex, vstaging::BackedCandidate, - vstaging::CandidateDescriptorV2, vstaging::CommittedCandidateReceiptV2, - vstaging::InherentData as ParachainsInherentData, AvailabilityBitfield, - CandidateCommitments, CompactStatement, CoreIndex, GroupIndex, HeadData, - PersistedValidationData, SigningContext, UncheckedSigned, ValidationCode, - ValidatorIndex, ValidityAttestation, + node_features::FeatureIndex, AvailabilityBitfield, BackedCandidate, + CandidateCommitments, CandidateDescriptorV2, CommittedCandidateReceiptV2, + CompactStatement, CoreIndex, GroupIndex, HeadData, + InherentData as ParachainsInherentData, PersistedValidationData, SigningContext, + UncheckedSigned, ValidationCode, ValidatorIndex, ValidityAttestation, }, ParaId, }, @@ -251,7 +250,7 @@ pub fn start_block() -> RunSummary { // We need to create it here, because otherwise the block number increases // on-initialize. // This requires signatures so we should not run it unless we have a keystore - let mock_inherent_data: Option = + let mock_inherent_data: Option = if is_para_inherent_enabled() { // We check the inherent data in storage else we construct an empty one Some( @@ -866,9 +865,8 @@ pub const EVE: [u8; 32] = [8u8; 32]; pub const FERDIE: [u8; 32] = [9u8; 32]; // Whether we have custom data to inject in paras inherent -fn take_new_inherent_data() -> Option -{ - let data: Option = +fn take_new_inherent_data() -> Option { + let data: Option = frame_support::storage::unhashed::take(b"ParasInherentData"); data @@ -881,7 +879,7 @@ fn is_para_inherent_enabled() -> bool { } // Set new data to inject in paras inherent -pub fn set_new_inherent_data(data: cumulus_primitives_core::relay_chain::vstaging::InherentData) { +pub fn set_new_inherent_data(data: cumulus_primitives_core::relay_chain::InherentData) { frame_support::storage::unhashed::put(b"ParasInherentData", &data); } @@ -892,7 +890,7 @@ pub fn set_new_randomness_data(data: Option<[u8; 32]>) { /// Mock the inherent that sets validation data in ParachainSystem, which /// contains the `relay_chain_block_number`, which is used in `collator-assignment` as a /// source of randomness. -pub fn set_paras_inherent(data: cumulus_primitives_core::relay_chain::vstaging::InherentData) { +pub fn set_paras_inherent(data: cumulus_primitives_core::relay_chain::InherentData) { // In order for this inherent to work, we need to match the parent header // the parent header does not play a significant role in the rest of the framework so // we are simply going to mock it @@ -1037,37 +1035,18 @@ impl ParasInherentTestBuilder HeadData(vec![0xFF; max_head_size as usize]) } - fn candidate_descriptor_mock( - para_id: ParaId, - candidate_descriptor_v2: bool, - ) -> CandidateDescriptorV2 { - if candidate_descriptor_v2 { - CandidateDescriptorV2::new( - para_id, - Default::default(), - CoreIndex(200), - 2, - Default::default(), - Default::default(), - Default::default(), - Default::default(), - mock_validation_code().hash(), - ) - } else { - // Convert v1 to v2. - CandidateDescriptor:: { - para_id, - relay_parent: Default::default(), - collator: junk_collator(), - persisted_validation_data_hash: Default::default(), - pov_hash: Default::default(), - erasure_root: Default::default(), - signature: junk_collator_signature(), - para_head: Default::default(), - validation_code_hash: mock_validation_code().hash(), - } - .into() - } + fn candidate_descriptor_mock(para_id: ParaId) -> CandidateDescriptorV2 { + CandidateDescriptorV2::new( + para_id, + Default::default(), + CoreIndex(200), + 2, + Default::default(), + Default::default(), + Default::default(), + Default::default(), + mock_validation_code().hash(), + ) } /* @@ -1491,8 +1470,8 @@ pub fn generate_ethereum_pub_keys(n: u32) -> Vec { keys } -use primitives::vstaging::{ClaimQueueOffset, CoreSelector, UMPSignal, UMP_SEPARATOR}; -use primitives::{CandidateDescriptor, CollatorId, CollatorSignature}; +use primitives::{ClaimQueueOffset, CoreSelector, UMPSignal, UMP_SEPARATOR}; +use primitives::{CollatorId, CollatorSignature}; use sp_core::ByteArray; use { babe_primitives::AuthorityPair as BabeAuthorityPair, diff --git a/chains/orchestrator-relays/runtime/starlight/src/tests/core_scheduling_tests.rs b/chains/orchestrator-relays/runtime/starlight/src/tests/core_scheduling_tests.rs index d93038b1a7..32c6c2ef92 100644 --- a/chains/orchestrator-relays/runtime/starlight/src/tests/core_scheduling_tests.rs +++ b/chains/orchestrator-relays/runtime/starlight/src/tests/core_scheduling_tests.rs @@ -27,7 +27,7 @@ use { frame_support::assert_ok, frame_system::pallet_prelude::BlockNumberFor, primitives::{ - node_features::FeatureIndex, runtime_api::runtime_decl_for_parachain_host::ParachainHostV13, + node_features::FeatureIndex, runtime_api::runtime_decl_for_parachain_host::ParachainHostV15, }, runtime_parachains::scheduler::common::Assignment, sp_core::{Decode, Encode}, diff --git a/chains/orchestrator-relays/runtime/starlight/src/tests/ethereum_client.rs b/chains/orchestrator-relays/runtime/starlight/src/tests/ethereum_client.rs index f9ef39db1e..d76b6b8003 100644 --- a/chains/orchestrator-relays/runtime/starlight/src/tests/ethereum_client.rs +++ b/chains/orchestrator-relays/runtime/starlight/src/tests/ethereum_client.rs @@ -20,7 +20,7 @@ use { crate::{tests::common::*, EthereumBeaconClient}, alloc::vec, frame_support::{assert_noop, assert_ok}, - snowbridge_pallet_ethereum_client::{functions::*, mock_electra::*}, + snowbridge_pallet_ethereum_client::{functions::*, mock::*}, sp_core::H256, }; #[test] @@ -36,9 +36,8 @@ fn test_ethereum_force_checkpoint() { .build() .execute_with(|| { // This tests submits the initial checkpoint that contains the initial sync committee - let checkpoint = Box::new( - snowbridge_pallet_ethereum_client::mock_electra::load_checkpoint_update_fixture(), - ); + let checkpoint = + Box::new(snowbridge_pallet_ethereum_client::mock::load_checkpoint_update_fixture()); assert_ok!(EthereumBeaconClient::force_checkpoint( root_origin(), checkpoint.clone() @@ -78,7 +77,7 @@ fn test_invalid_initial_checkpoint() { ]) .build() .execute_with(|| { - let mut checkpoint_invalid_sync_committee_proof = Box::new(snowbridge_pallet_ethereum_client::mock_electra::load_checkpoint_update_fixture()); + let mut checkpoint_invalid_sync_committee_proof = Box::new(snowbridge_pallet_ethereum_client::mock::load_checkpoint_update_fixture()); let mut checkpoint_invalid_blocks_root_proof = checkpoint_invalid_sync_committee_proof.clone(); @@ -123,9 +122,9 @@ fn test_submit_update_using_same_committee_same_checkpoint() { // This tests submits a new header signed by the sync committee members within the same // period BUT without injecting the next sync committee let initial_checkpoint = - Box::new(snowbridge_pallet_ethereum_client::mock_electra::load_checkpoint_update_fixture()); + Box::new(snowbridge_pallet_ethereum_client::mock::load_checkpoint_update_fixture()); let update_header = Box::new( - snowbridge_pallet_ethereum_client::mock_electra::load_finalized_header_update_fixture(), + snowbridge_pallet_ethereum_client::mock::load_finalized_header_update_fixture(), ); let initial_period = compute_period(initial_checkpoint.header.slot); diff --git a/chains/orchestrator-relays/runtime/starlight/src/tests/maintenance_mode.rs b/chains/orchestrator-relays/runtime/starlight/src/tests/maintenance_mode.rs index e008c3fea3..47e8c56723 100644 --- a/chains/orchestrator-relays/runtime/starlight/src/tests/maintenance_mode.rs +++ b/chains/orchestrator-relays/runtime/starlight/src/tests/maintenance_mode.rs @@ -266,17 +266,17 @@ fn test_non_filtered_calls_maintenance_mode() { assert_call_not_filtered(RuntimeCall::EthereumBeaconClient( snowbridge_pallet_ethereum_client::Call::::force_checkpoint { - update: Box::new(snowbridge_pallet_ethereum_client::mock_electra::load_checkpoint_update_fixture()), + update: Box::new( + snowbridge_pallet_ethereum_client::mock::load_checkpoint_update_fixture(), + ), }, )); - assert_call_not_filtered(RuntimeCall::Sudo( - pallet_sudo::Call::::sudo { - call: Box::new(RuntimeCall::System(frame_system::Call::::remark{ - remark: vec![] - })), - }, - )); + assert_call_not_filtered(RuntimeCall::Sudo(pallet_sudo::Call::::sudo { + call: Box::new(RuntimeCall::System(frame_system::Call::::remark { + remark: vec![], + })), + })); assert_call_not_filtered(RuntimeCall::Multisig( pallet_multisig::Call::::as_multi_threshold_1 { diff --git a/chains/orchestrator-relays/runtime/starlight/src/tests/mod.rs b/chains/orchestrator-relays/runtime/starlight/src/tests/mod.rs index 6b819ee3fb..65e7cd4143 100644 --- a/chains/orchestrator-relays/runtime/starlight/src/tests/mod.rs +++ b/chains/orchestrator-relays/runtime/starlight/src/tests/mod.rs @@ -16,6 +16,7 @@ //! Tests for the Starlight Runtime Configuration +use crate::genesis_config_presets::get_authority_keys_from_seed; use { crate::*, frame_support::traits::WhitelistedStorageKeys, sp_core::hexdisplay::HexDisplay, std::collections::HashSet, @@ -88,3 +89,28 @@ fn check_treasury_pallet_id() { starlight_runtime_constants::TREASURY_PALLET_ID ); } + +#[test] +fn session_keys_deposit() { + // Check that deposit for pallet_session has correct size depending on `SessionKeys`. + // Assumes that all SessionKeys have the same encoded size. + let keys = get_authority_keys_from_seed("Alice"); + let session_keys = SessionKeys { + grandpa: keys.grandpa, + babe: keys.babe, + para_validator: keys.para_validator, + para_assignment: keys.para_assignment, + authority_discovery: keys.authority_discovery, + beefy: keys.beefy, + nimbus: keys.nimbus, + }; + let session_keys_len = session_keys.encoded_size(); + // Hardcode value in test so it is easier to debug when SessionKeys size changes + // 225 = 6 * 32 + 33 + assert_eq!(session_keys_len, 225); + // And assert that the actual deposit matches this session keys length + let x = KeyDeposit::get(); + let y = deposit(1, session_keys_len as u32); + + assert_eq!(x, y); +} diff --git a/chains/orchestrator-relays/runtime/starlight/src/weights/pallet_assets.rs b/chains/orchestrator-relays/runtime/starlight/src/weights/pallet_assets.rs index e0ec764ab2..cfe8b2d8b8 100644 --- a/chains/orchestrator-relays/runtime/starlight/src/weights/pallet_assets.rs +++ b/chains/orchestrator-relays/runtime/starlight/src/weights/pallet_assets.rs @@ -53,481 +53,589 @@ use core::marker::PhantomData; /// Weights for pallet_assets using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_assets::WeightInfo for SubstrateWeight { + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::NextAssetId` (r:1 w:0) + /// Proof: `ForeignAssets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(602), added: 1097, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 0_000 picoseconds. - Weight::from_parts(0, 0) + // Measured: `139` + // Estimated: `4273` + // Minimum execution time: 29_713_000 picoseconds. + Weight::from_parts(30_405_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::NextAssetId` (r:1 w:0) - /// Proof: `ForeignAssets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(602), added: 1097, mode: `MaxEncodedLen`) fn force_create() -> Weight { // Proof Size summary in bytes: // Measured: `4` - // Estimated: `3673` - // Minimum execution time: 14_351_000 picoseconds. - Weight::from_parts(14_594_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Estimated: `4273` + // Minimum execution time: 11_430_000 picoseconds. + Weight::from_parts(11_825_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:0) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn start_destroy() -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3673` - // Minimum execution time: 14_654_000 picoseconds. - Weight::from_parts(15_092_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `324` + // Estimated: `4273` + // Minimum execution time: 16_882_000 picoseconds. + Weight::from_parts(17_360_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1001 w:1000) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1000 w:1000) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1000 w:1000) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1000 w:1000) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1000]`. - fn destroy_accounts(c: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `61 + c * (208 ±0)` - // Estimated: `3673 + c * (2607 ±0)` - // Minimum execution time: 21_489_000 picoseconds. - Weight::from_parts(21_973_000, 3673) - // Standard Error: 12_325 - .saturating_add(Weight::from_parts(16_801_875, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 2607).saturating_mul(c.into())) + /// The range of component `c` is `[0, 1000]`. + /// The range of component `c` is `[0, 1000]`. + fn destroy_accounts(c: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + c * (208 ±0)` + // Estimated: `4273 + c * (3207 ±0)` + // Minimum execution time: 15_990_000 picoseconds. + Weight::from_parts(16_161_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 16_995 + .saturating_add(Weight::from_parts(25_624_471, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(c.into()))) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(c.into()))) + .saturating_add(Weight::from_parts(0, 3207).saturating_mul(c.into())) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1001 w:1000) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) + /// The range of component `a` is `[0, 1000]`. + /// The range of component `a` is `[0, 1000]`. /// The range of component `a` is `[0, 1000]`. - fn destroy_approvals(a: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `409 + a * (86 ±0)` - // Estimated: `3673 + a * (2621 ±0)` - // Minimum execution time: 20_775_000 picoseconds. - Weight::from_parts(21_137_000, 3673) - // Standard Error: 3_936 - .saturating_add(Weight::from_parts(6_575_872, 0).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + fn destroy_approvals(a: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `413 + a * (86 ±0)` + // Estimated: `4273 + a * (3221 ±0)` + // Minimum execution time: 16_532_000 picoseconds. + Weight::from_parts(16_865_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 4_823 + .saturating_add(Weight::from_parts(15_353_976, 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_u64)) + .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_parts(0, 2621).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 3221).saturating_mul(a.into())) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:0) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn finish_destroy() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 18_274_000 picoseconds. - Weight::from_parts(18_973_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 13_451_000 picoseconds. + Weight::from_parts(14_019_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn mint() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 30_830_000 picoseconds. - Weight::from_parts(31_574_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 22_965_000 picoseconds. + Weight::from_parts(23_855_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn burn() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `3673` - // Minimum execution time: 39_308_000 picoseconds. - Weight::from_parts(40_120_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `356` + // Estimated: `4273` + // Minimum execution time: 47_536_000 picoseconds. + Weight::from_parts(49_071_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `385` - // Estimated: `6204` - // Minimum execution time: 55_414_000 picoseconds. - Weight::from_parts(56_367_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 59_854_000 picoseconds. + Weight::from_parts(61_262_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:0) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: - // Measured: `385` - // Estimated: `6204` - // Minimum execution time: 49_252_000 picoseconds. - Weight::from_parts(50_423_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 45_638_000 picoseconds. + Weight::from_parts(46_477_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `385` - // Estimated: `6204` - // Minimum execution time: 55_660_000 picoseconds. - Weight::from_parts(56_716_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 59_607_000 picoseconds. + Weight::from_parts(61_405_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn freeze() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `3673` - // Minimum execution time: 20_194_000 picoseconds. - Weight::from_parts(20_838_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 16_524_000 picoseconds. + Weight::from_parts(17_268_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn thaw() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `3673` - // Minimum execution time: 20_351_000 picoseconds. - Weight::from_parts(20_783_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 16_618_000 picoseconds. + Weight::from_parts(17_201_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn freeze_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3673` - // Minimum execution time: 14_735_000 picoseconds. - Weight::from_parts(15_125_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 11_755_000 picoseconds. + Weight::from_parts(12_366_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn thaw_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3673` - // Minimum execution time: 14_873_000 picoseconds. - Weight::from_parts(15_202_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 11_872_000 picoseconds. + Weight::from_parts(12_490_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:0) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn transfer_ownership() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 18_898_000 picoseconds. - Weight::from_parts(19_227_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 13_752_000 picoseconds. + Weight::from_parts(14_440_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn set_team() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 16_510_000 picoseconds. - Weight::from_parts(17_009_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 11_860_000 picoseconds. + Weight::from_parts(12_186_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, 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 { - // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 17_839_000 picoseconds. - Weight::from_parts(18_708_891, 3673) - // Standard Error: 478 - .saturating_add(Weight::from_parts(2_498, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + fn set_metadata(_n: u32, s: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 27_274_000 picoseconds. + Weight::from_parts(28_578_070, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 776 + .saturating_add(Weight::from_parts(1_087, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `402` - // Estimated: `3673` - // Minimum execution time: 18_894_000 picoseconds. - Weight::from_parts(19_415_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `406` + // Estimated: `4273` + // Minimum execution time: 27_414_000 picoseconds. + Weight::from_parts(28_274_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, 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 { - // Proof Size summary in bytes: - // Measured: `79` - // Estimated: `3673` - // Minimum execution time: 17_900_000 picoseconds. - Weight::from_parts(18_559_112, 3673) - // Standard Error: 405 - .saturating_add(Weight::from_parts(1_740, 0).saturating_mul(n.into())) - // Standard Error: 405 - .saturating_add(Weight::from_parts(1_098, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + /// 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 { + // Proof Size summary in bytes: + // Measured: `81` + // Estimated: `4273` + // Minimum execution time: 12_087_000 picoseconds. + Weight::from_parts(12_745_826, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 440 + .saturating_add(Weight::from_parts(1_010, 0).saturating_mul(n.into())) + // Standard Error: 440 + .saturating_add(Weight::from_parts(1_303, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn force_clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `402` - // Estimated: `3673` - // Minimum execution time: 18_369_000 picoseconds. - Weight::from_parts(18_896_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `406` + // Estimated: `4273` + // Minimum execution time: 26_528_000 picoseconds. + Weight::from_parts(27_478_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn force_asset_status() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 16_115_000 picoseconds. - Weight::from_parts(16_417_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 10_881_000 picoseconds. + Weight::from_parts(11_268_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn approve_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3673` - // Minimum execution time: 23_007_000 picoseconds. - Weight::from_parts(23_694_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 31_216_000 picoseconds. + Weight::from_parts(32_411_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn transfer_approved() -> Weight { // Proof Size summary in bytes: - // Measured: `553` - // Estimated: `6204` - // Minimum execution time: 67_278_000 picoseconds. - Weight::from_parts(68_477_000, 6204) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `526` + // Estimated: `7404` + // Minimum execution time: 79_133_000 picoseconds. + Weight::from_parts(81_252_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(7)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn cancel_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `442` - // Estimated: `3673` - // Minimum execution time: 26_463_000 picoseconds. - Weight::from_parts(27_150_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `446` + // Estimated: `4273` + // Minimum execution time: 33_529_000 picoseconds. + Weight::from_parts(34_768_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn force_cancel_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `442` - // Estimated: `3673` - // Minimum execution time: 26_446_000 picoseconds. - Weight::from_parts(27_122_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `446` + // Estimated: `4273` + // Minimum execution time: 33_558_000 picoseconds. + Weight::from_parts(34_197_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn set_min_balance() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 16_844_000 picoseconds. - Weight::from_parts(17_682_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 12_533_000 picoseconds. + Weight::from_parts(12_956_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn touch() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 24_197_000 picoseconds. - Weight::from_parts(24_808_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `345` + // Estimated: `4273` + // Minimum execution time: 32_643_000 picoseconds. + Weight::from_parts(33_899_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn touch_other() -> Weight { // Proof Size summary in bytes: - // Measured: `240` - // Estimated: `3673` - // Minimum execution time: 21_982_000 picoseconds. - Weight::from_parts(22_669_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 31_276_000 picoseconds. + Weight::from_parts(32_155_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn refund() -> Weight { // Proof Size summary in bytes: - // Measured: `364` - // Estimated: `3673` - // Minimum execution time: 21_467_000 picoseconds. - Weight::from_parts(21_945_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `477` + // Estimated: `4273` + // Minimum execution time: 43_426_000 picoseconds. + Weight::from_parts(45_064_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) fn refund_other() -> Weight { // Proof Size summary in bytes: - // Measured: `397` - // Estimated: `3673` - // Minimum execution time: 20_002_000 picoseconds. - Weight::from_parts(20_644_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `407` + // Estimated: `4273` + // Minimum execution time: 41_885_000 picoseconds. + Weight::from_parts(43_300_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn block() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `3673` - // Minimum execution time: 19_952_000 picoseconds. - Weight::from_parts(20_535_000, 3673) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 16_833_000 picoseconds. + Weight::from_parts(17_265_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::FrozenBalances` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(682), added: 3157, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssetsFreezer::Freezes` (r:1 w:1) + /// Proof: `ForeignAssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(685), added: 3160, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { // Proof Size summary in bytes: - // Measured: `385` - // Estimated: `6204` - // Minimum execution time: 67_613_000 picoseconds. - Weight::from_parts(68_673_000, 6204) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `356` + // Estimated: `7404` + // Minimum execution time: 72_880_000 picoseconds. + Weight::from_parts(74_426_000, 0) + .saturating_add(Weight::from_parts(0, 7404)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(208), added: 2683, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn total_issuance() -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3673` - // Minimum execution time: 6_467_000 picoseconds. - Weight::from_parts(6_668_000, 3673) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 5_454_000 picoseconds. + Weight::from_parts(5_742_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `ForeignAssets::Account` (r:1 w:0) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn balance() -> Weight { // Proof Size summary in bytes: - // Measured: `148` - // Estimated: `3597` - // Minimum execution time: 7_655_000 picoseconds. - Weight::from_parts(8_009_000, 3597) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Measured: `150` + // Estimated: `4197` + // Minimum execution time: 6_480_000 picoseconds. + Weight::from_parts(6_813_000, 0) + .saturating_add(Weight::from_parts(0, 4197)) + .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `ForeignAssets::Approvals` (r:1 w:0) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn allowance() -> Weight { // Proof Size summary in bytes: - // Measured: `243` - // Estimated: `3611` - // Minimum execution time: 11_116_000 picoseconds. - Weight::from_parts(11_613_000, 3611) + // Measured: `245` + // Estimated: `4211` + // Minimum execution time: 8_685_000 picoseconds. + Weight::from_parts(9_177_000, 0) + .saturating_add(Weight::from_parts(0, 4211)) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// The range of component `n` is `[0, 5]`. + /// The range of component `n` is `[0, 5]`. + /// The range of component `n` is `[0, 5]`. + fn set_reserves(n: u32) -> Weight { + Weight::from_parts(31_972_000, 3675) + // Standard Error: 13_748 + .saturating_add(Weight::from_parts(198_975, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } -} \ No newline at end of file +} diff --git a/chains/orchestrator-relays/runtime/starlight/src/weights/pallet_xcm.rs b/chains/orchestrator-relays/runtime/starlight/src/weights/pallet_xcm.rs index 6a797971c3..6e88206fb8 100644 --- a/chains/orchestrator-relays/runtime/starlight/src/weights/pallet_xcm.rs +++ b/chains/orchestrator-relays/runtime/starlight/src/weights/pallet_xcm.rs @@ -53,300 +53,373 @@ use core::marker::PhantomData; /// Weights for pallet_xcm using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_xcm::WeightInfo for SubstrateWeight { - /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) - /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcmPallet::SupportedVersion` (r:1 w:0) - /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueues` (r:1 w:1) - /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Paras::Heads` (r:1 w:0) - /// Proof: `Paras::Heads` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) - /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `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(105506), added: 107981, mode: `MaxEncodedLen`) fn send() -> Weight { // Proof Size summary in bytes: - // Measured: `141` - // Estimated: `3606` - // Minimum execution time: 51_563_000 picoseconds. - Weight::from_parts(53_280_000, 3606) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `245` + // Estimated: `3710` + // Minimum execution time: 31_621_000 picoseconds. + Weight::from_parts(33_059_000, 0) + .saturating_add(Weight::from_parts(0, 3710)) + .saturating_add(T::DbWeight::get().reads(4)) + .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`) + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// 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(105506), added: 107981, mode: `MaxEncodedLen`) fn teleport_assets() -> 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) + // Measured: `277` + // Estimated: `3742` + // Minimum execution time: 120_046_000 picoseconds. + Weight::from_parts(123_674_000, 0) + .saturating_add(Weight::from_parts(0, 3742)) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: `System::Account` (r:1 w:1) + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) - /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcmPallet::SupportedVersion` (r:1 w:0) - /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueues` (r:1 w:1) - /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Paras::Heads` (r:1 w:0) - /// Proof: `Paras::Heads` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) - /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `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(105506), added: 107981, mode: `MaxEncodedLen`) fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `193` - // Estimated: `3658` - // Minimum execution time: 177_787_000 picoseconds. - Weight::from_parts(182_878_000, 3658) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `329` + // Estimated: `6196` + // Minimum execution time: 136_136_000 picoseconds. + Weight::from_parts(140_390_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: `System::Account` (r:1 w:1) + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `AssetsFreezer::FrozenBalances` (r:1 w:0) + /// Proof: `AssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) - /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcmPallet::SupportedVersion` (r:1 w:0) - /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueues` (r:1 w:1) - /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Paras::Heads` (r:1 w:0) - /// Proof: `Paras::Heads` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) - /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `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(105506), added: 107981, mode: `MaxEncodedLen`) fn transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `244` - // Estimated: `3709` - // Minimum execution time: 177_188_000 picoseconds. - Weight::from_parts(180_908_000, 3709) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `669` + // Estimated: `6208` + // Minimum execution time: 187_283_000 picoseconds. + Weight::from_parts(195_176_000, 0) + .saturating_add(Weight::from_parts(0, 6208)) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(7)) } + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn execute() -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `0` - // Minimum execution time: 13_038_000 picoseconds. - Weight::from_parts(13_485_000, 0) + // Estimated: `1485` + // Minimum execution time: 10_096_000 picoseconds. + Weight::from_parts(10_505_000, 0) + .saturating_add(Weight::from_parts(0, 1485)) + .saturating_add(T::DbWeight::get().reads(1)) } - /// Storage: `XcmPallet::SupportedVersion` (r:0 w:1) - /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_xcm_version() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_762_000 picoseconds. - Weight::from_parts(12_085_000, 0) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 8_024_000 picoseconds. + Weight::from_parts(8_375_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } fn force_default_xcm_version() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_812_000 picoseconds. - Weight::from_parts(3_979_000, 0) + // Minimum execution time: 2_480_000 picoseconds. + Weight::from_parts(2_590_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: `XcmPallet::VersionNotifiers` (r:1 w:1) - /// Proof: `XcmPallet::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcmPallet::QueryCounter` (r:1 w:1) - /// Proof: `XcmPallet::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) - /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcmPallet::SupportedVersion` (r:1 w:0) - /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueues` (r:1 w:1) - /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Paras::Heads` (r:1 w:0) - /// Proof: `Paras::Heads` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) - /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcmPallet::Queries` (r:0 w:1) - /// Proof: `XcmPallet::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) + /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) + /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `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(105506), added: 107981, 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: `141` - // Estimated: `3606` - // Minimum execution time: 60_104_000 picoseconds. - Weight::from_parts(61_603_000, 3606) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `245` + // Estimated: `3710` + // Minimum execution time: 38_995_000 picoseconds. + Weight::from_parts(40_184_000, 0) + .saturating_add(Weight::from_parts(0, 3710)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: `XcmPallet::VersionNotifiers` (r:1 w:1) - /// Proof: `XcmPallet::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) - /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcmPallet::SupportedVersion` (r:1 w:0) - /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueues` (r:1 w:1) - /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Paras::Heads` (r:1 w:0) - /// Proof: `Paras::Heads` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) - /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcmPallet::Queries` (r:0 w:1) - /// Proof: `XcmPallet::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) + /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `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(105506), added: 107981, 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: `321` - // Estimated: `3786` - // Minimum execution time: 64_018_000 picoseconds. - Weight::from_parts(65_715_000, 3786) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `404` + // Estimated: `108971` + // Minimum execution time: 43_832_000 picoseconds. + Weight::from_parts(45_241_000, 0) + .saturating_add(Weight::from_parts(0, 108971)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: `XcmPallet::XcmExecutionSuspended` (r:0 w:1) - /// Proof: `XcmPallet::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1) + /// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn force_suspension() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_845_000 picoseconds. - Weight::from_parts(3_966_000, 0) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 2_395_000 picoseconds. + Weight::from_parts(2_546_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `XcmPallet::SupportedVersion` (r:6 w:2) - /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:6 w:2) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: // Measured: `22` // Estimated: `15862` - // Minimum execution time: 28_192_000 picoseconds. - Weight::from_parts(28_587_000, 15862) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 22_061_000 picoseconds. + Weight::from_parts(22_555_000, 0) + .saturating_add(Weight::from_parts(0, 15862)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `XcmPallet::VersionNotifiers` (r:6 w:2) - /// Proof: `XcmPallet::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::VersionNotifiers` (r:6 w:2) + /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notifiers() -> Weight { // Proof Size summary in bytes: // Measured: `26` // Estimated: `15866` - // Minimum execution time: 27_808_000 picoseconds. - Weight::from_parts(28_302_000, 15866) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 21_646_000 picoseconds. + Weight::from_parts(22_119_000, 0) + .saturating_add(Weight::from_parts(0, 15866)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `XcmPallet::VersionNotifyTargets` (r:7 w:0) - /// Proof: `XcmPallet::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:7 w:0) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn already_notified_target() -> Weight { // Proof Size summary in bytes: - // Measured: `78` - // Estimated: `18393` - // Minimum execution time: 34_881_000 picoseconds. - Weight::from_parts(35_619_000, 18393) - .saturating_add(T::DbWeight::get().reads(7_u64)) + // Measured: `39` + // Estimated: `18354` + // Minimum execution time: 25_937_000 picoseconds. + Weight::from_parts(26_388_000, 0) + .saturating_add(Weight::from_parts(0, 18354)) + .saturating_add(T::DbWeight::get().reads(7)) } - /// Storage: `XcmPallet::VersionNotifyTargets` (r:2 w:1) - /// Proof: `XcmPallet::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) - /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcmPallet::SupportedVersion` (r:1 w:0) - /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueues` (r:1 w:0) - /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Paras::Heads` (r:1 w:0) - /// Proof: `Paras::Heads` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `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: `140` - // Estimated: `6080` - // Minimum execution time: 43_554_000 picoseconds. - Weight::from_parts(44_885_000, 6080) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `187` + // Estimated: `6127` + // Minimum execution time: 36_716_000 picoseconds. + Weight::from_parts(38_269_000, 0) + .saturating_add(Weight::from_parts(0, 6127)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `XcmPallet::VersionNotifyTargets` (r:5 w:0) - /// Proof: `XcmPallet::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn notify_target_migration_fail() -> Weight { // Proof Size summary in bytes: - // Measured: `78` - // Estimated: `13443` - // Minimum execution time: 24_970_000 picoseconds. - Weight::from_parts(25_767_000, 13443) - .saturating_add(T::DbWeight::get().reads(5_u64)) + // Measured: `39` + // Estimated: `13404` + // Minimum execution time: 17_974_000 picoseconds. + Weight::from_parts(18_407_000, 0) + .saturating_add(Weight::from_parts(0, 13404)) + .saturating_add(T::DbWeight::get().reads(5)) } - /// Storage: `XcmPallet::VersionNotifyTargets` (r:6 w:2) - /// Proof: `XcmPallet::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notify_targets() -> Weight { // Proof Size summary in bytes: // Measured: `33` // Estimated: `15873` - // Minimum execution time: 28_378_000 picoseconds. - Weight::from_parts(28_793_000, 15873) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 21_964_000 picoseconds. + Weight::from_parts(22_610_000, 0) + .saturating_add(Weight::from_parts(0, 15873)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `XcmPallet::VersionNotifyTargets` (r:6 w:1) - /// Proof: `XcmPallet::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) - /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcmPallet::SupportedVersion` (r:1 w:0) - /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueues` (r:1 w:0) - /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Paras::Heads` (r:1 w:0) - /// Proof: `Paras::Heads` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:1) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `XcmpQueue::DeliveryFeeFactor` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `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: `140` - // Estimated: `15980` - // Minimum execution time: 56_983_000 picoseconds. - Weight::from_parts(58_628_000, 15980) - .saturating_add(T::DbWeight::get().reads(10_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `187` + // Estimated: `16027` + // Minimum execution time: 46_704_000 picoseconds. + Weight::from_parts(49_027_000, 0) + .saturating_add(Weight::from_parts(0, 16027)) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `XcmPallet::QueryCounter` (r:1 w:1) - /// Proof: `XcmPallet::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `XcmPallet::Queries` (r:0 w:1) - /// Proof: `XcmPallet::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) + /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::Queries` (r:0 w:1) + /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn new_query() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 4_006_000 picoseconds. - Weight::from_parts(4_105_000, 1485) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 2_694_000 picoseconds. + Weight::from_parts(2_829_000, 0) + .saturating_add(Weight::from_parts(0, 1485)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `XcmPallet::Queries` (r:1 w:1) - /// Proof: `XcmPallet::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::Queries` (r:1 w:1) + /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn take_response() -> Weight { // Proof Size summary in bytes: // Measured: `7576` // Estimated: `11041` - // Minimum execution time: 35_008_000 picoseconds. - Weight::from_parts(35_757_000, 11041) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 27_767_000 picoseconds. + Weight::from_parts(28_348_000, 0) + .saturating_add(Weight::from_parts(0, 11041)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `XcmPallet::AssetTraps` (r:1 w:1) - /// Proof: `XcmPallet::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1) + /// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) fn claim_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `23` - // Estimated: `3488` - // Minimum execution time: 52_116_000 picoseconds. - Weight::from_parts(53_543_000, 3488) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `303` + // Estimated: `3768` + // Minimum execution time: 45_836_000 picoseconds. + Weight::from_parts(47_883_000, 0) + .saturating_add(Weight::from_parts(0, 3768)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: `Benchmark::Override` (r:0 w:0) - /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::AuthorizedAliases` (r:1 w:1) + /// Proof: `PolkadotXcm::AuthorizedAliases` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(121), added: 2596, mode: `MaxEncodedLen`) 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) + // Measured: `160` + // Estimated: `3625` + // Minimum execution time: 50_608_000 picoseconds. + Weight::from_parts(51_989_000, 0) + .saturating_add(Weight::from_parts(0, 3625)) + .saturating_add(T::DbWeight::get().reads(2)) + .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`) + /// Storage: `PolkadotXcm::AuthorizedAliases` (r:1 w:1) + /// Proof: `PolkadotXcm::AuthorizedAliases` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(121), added: 2596, mode: `MaxEncodedLen`) fn remove_authorized_alias() -> Weight { + // Proof Size summary in bytes: + // Measured: `516` + // Estimated: `3981` + // Minimum execution time: 52_003_000 picoseconds. + Weight::from_parts(52_989_000, 0) + .saturating_add(Weight::from_parts(0, 3981)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + fn weigh_message() -> 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) + // Minimum execution time: 8_416_000 picoseconds. + Weight::from_parts(8_668_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } -} \ No newline at end of file +} diff --git a/chains/orchestrator-relays/runtime/starlight/src/xcm_config.rs b/chains/orchestrator-relays/runtime/starlight/src/xcm_config.rs index 752a2bffd4..5a3687564f 100644 --- a/chains/orchestrator-relays/runtime/starlight/src/xcm_config.rs +++ b/chains/orchestrator-relays/runtime/starlight/src/xcm_config.rs @@ -301,20 +301,27 @@ parameter_types! { /// Simple conversion of `u32` into an `AssetId` for use in benchmarking. pub struct ForeignAssetBenchmarkHelper; #[cfg(feature = "runtime-benchmarks")] -impl pallet_assets::BenchmarkHelper for ForeignAssetBenchmarkHelper { +impl pallet_assets::BenchmarkHelper for ForeignAssetBenchmarkHelper { fn create_asset_id_parameter(id: u32) -> AssetId { id.try_into() .expect("number too large to create benchmarks") } + fn create_reserve_id_parameter(id: u32) -> ReserveId { + () + } } pub type AssetId = u16; +pub type ReserveId = (); pub type ForeignAssetsInstance = pallet_assets::Instance1; impl pallet_assets::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Balance = Balance; type AssetId = AssetId; type AssetIdParameter = AssetId; + // TODO: ReserveData = ForeignAssetReserveData + // TODO: check if this needs a migration + type ReserveData = (); type Currency = Balances; type CreateOrigin = frame_support::traits::NeverEnsureOrigin; type ForceOrigin = EnsureRoot; diff --git a/chains/runtime-common/Cargo.toml b/chains/runtime-common/Cargo.toml index 30fd8b9fc0..fec718e5b0 100644 --- a/chains/runtime-common/Cargo.toml +++ b/chains/runtime-common/Cargo.toml @@ -146,6 +146,7 @@ runtime-benchmarks = [ "pallet-pooled-staking/runtime-benchmarks", "pallet-registrar/runtime-benchmarks", "pallet-services-payment/runtime-benchmarks", + "pallet-session/runtime-benchmarks", "pallet-stream-payment/runtime-benchmarks", "pallet-treasury/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", @@ -188,6 +189,7 @@ try-runtime = [ "pallet-treasury/try-runtime", "pallet-xcm/try-runtime", "runtime-parachains/try-runtime", + "snowbridge-inbound-queue-primitives/try-runtime", "snowbridge-pallet-inbound-queue?/try-runtime", "snowbridge-pallet-system/try-runtime", "sp-runtime/try-runtime", diff --git a/chains/runtime-common/src/processors/v2/proc_macro/Cargo.toml b/chains/runtime-common/src/processors/v2/proc_macro/Cargo.toml index 8f05de487b..30cc386afd 100644 --- a/chains/runtime-common/src/processors/v2/proc_macro/Cargo.toml +++ b/chains/runtime-common/src/processors/v2/proc_macro/Cargo.toml @@ -6,6 +6,9 @@ version = "0.1.0" [lib] proc-macro = true +[lints] +workspace = true + [dependencies] proc-macro2 = "1.0" quote = "1.0" diff --git a/chains/runtime-common/src/processors/v2/proc_macro/src/lib.rs b/chains/runtime-common/src/processors/v2/proc_macro/src/lib.rs index 89a6501f71..fac4509994 100644 --- a/chains/runtime-common/src/processors/v2/proc_macro/src/lib.rs +++ b/chains/runtime-common/src/processors/v2/proc_macro/src/lib.rs @@ -116,7 +116,7 @@ fn message_processor_trait_derive_impl(ast: DeriveInput) -> proc_macro2::TokenSt }; // Return the generated code as a TokenStream - expanded.into() + expanded } #[cfg(test)] @@ -203,7 +203,7 @@ where } } "##; - let out = derive_macro_for_test(input.into()).unwrap(); + let out = derive_macro_for_test(input).unwrap(); let as_file = syn::parse_file(&out.to_string()).unwrap(); diff --git a/chains/runtime-common/src/processors/v2/proc_macro/tests/macro_test.rs b/chains/runtime-common/src/processors/v2/proc_macro/tests/macro_test.rs index 70b6ab12bf..2dd160b0bd 100644 --- a/chains/runtime-common/src/processors/v2/proc_macro/tests/macro_test.rs +++ b/chains/runtime-common/src/processors/v2/proc_macro/tests/macro_test.rs @@ -38,8 +38,6 @@ use v2_processor_proc_macro::MessageProcessor as MessageProcessorDerive; /// 2. `process_message`: Each row in table consists of three element, the first two elements contain message.value and message.execution_fee respectively and the last element contains expected return value /// /// The test will pass when the macro implementation behaves consistently as per tables. -/// - struct TestFallback1; impl FallbackMessageProcessor for TestFallback1 { diff --git a/client/consensus/Cargo.toml b/client/consensus/Cargo.toml index 44fc02c0fa..12aa0cd252 100644 --- a/client/consensus/Cargo.toml +++ b/client/consensus/Cargo.toml @@ -11,11 +11,13 @@ workspace = true [dependencies] # Substrate deps +sc-basic-authorship = { workspace = true } sc-client-api = { workspace = true } sc-consensus = { workspace = true } sc-consensus-aura = { workspace = true } sc-consensus-manual-seal = { workspace = true } sc-consensus-slots = { workspace = true } +sc-network-types = { workspace = true } sc-telemetry = { workspace = true } sc-transaction-pool = { workspace = true } sc-transaction-pool-api = { workspace = true } diff --git a/client/consensus/src/collators.rs b/client/consensus/src/collators.rs index f9e1b130b0..a8ec08f77e 100644 --- a/client/consensus/src/collators.rs +++ b/client/consensus/src/collators.rs @@ -33,6 +33,7 @@ use { polkadot_node_primitives::{Collation, MaybeCompressedPoV}, polkadot_primitives::Id as ParaId, sc_consensus::{BlockImport, BlockImportParams, ForkChoiceStrategy, StateAction}, + sc_network_types::PeerId, sp_application_crypto::{AppCrypto, AppPublic}, sp_consensus::BlockOrigin, sp_consensus_aura::{digests::CompatibleDigestItem, Slot}, @@ -60,6 +61,8 @@ pub struct Params { pub keystore: KeystorePtr, /// The identifier of the parachain within the relay-chain. pub para_id: ParaId, + /// The collator network peer id. + pub collator_peer_id: PeerId, /// The block proposer used for building blocks. pub proposer: Proposer, /// The collator service used for bundling proposals into collations and announcing @@ -114,7 +117,9 @@ where parent_hash: ::Hash, _timestamp: impl Into>, relay_parent_descendants: Option, + collator_peer_id: PeerId, ) -> Result<(ParachainInherentData, InherentData), Box> { + let additional_relay_state_keys = vec![]; let paras_inherent_data = ParachainInherentDataProvider::create_at( relay_parent, &self.relay_client, @@ -123,6 +128,8 @@ where relay_parent_descendants .map(RelayParentData::into_inherent_descendant_list) .unwrap_or_default(), + additional_relay_state_keys, + collator_peer_id, ) .await; diff --git a/client/consensus/src/collators/lookahead.rs b/client/consensus/src/collators/lookahead.rs index 9ee52f09ce..d0c25b17f0 100644 --- a/client/consensus/src/collators/lookahead.rs +++ b/client/consensus/src/collators/lookahead.rs @@ -61,6 +61,7 @@ use { sc_client_api::{backend::AuxStore, BlockBackend, BlockOf}, sc_consensus::BlockImport, sc_consensus_slots::InherentDataProviderExt, + sc_network_types::PeerId, sc_transaction_pool_api::TransactionPool, sp_api::{ApiError, ProvideRuntimeApi}, sp_blockchain::{HeaderBackend, HeaderMetadata}, @@ -334,6 +335,8 @@ pub struct Params< pub sync_oracle: SO, pub keystore: KeystorePtr, pub collator_key: CollatorPair, + /// The collator network peer id. + pub collator_peer_id: PeerId, pub para_id: ParaId, pub overseer_handle: OverseerHandle, pub orchestrator_slot_duration: SlotDuration, @@ -496,6 +499,7 @@ where block_import: params.block_import, relay_client: params.relay_client.clone(), keystore: params.keystore.clone(), + collator_peer_id: params.collator_peer_id, para_id: params.para_id, proposer: params.proposer, collator_service: params.collator_service, @@ -719,7 +723,7 @@ where // Build and announce collations recursively until // `can_build_upon` fails or building a collation fails. let (parachain_inherent_data, other_inherent_data) = match collator - .create_inherent_data(relay_parent, &validation_data, parent_hash, None, None) + .create_inherent_data(relay_parent, &validation_data, parent_hash, None, None, params.collator_peer_id) .await { Err(err) => { diff --git a/client/consensus/src/mocks.rs b/client/consensus/src/mocks.rs index f471d753cc..b5c0e371c8 100644 --- a/client/consensus/src/mocks.rs +++ b/client/consensus/src/mocks.rs @@ -14,6 +14,8 @@ // You should have received a copy of the GNU General Public License // along with Tanssi. If not, see . +use sc_basic_authorship::ProposerFactory; +use sp_consensus::EnableProofRecording; use { crate::{ collators::lookahead::{BuyCoreParams, Params as LookAheadParams}, @@ -22,7 +24,6 @@ use { async_trait::async_trait, cumulus_client_collator::service::CollatorService, cumulus_client_consensus_common::{ParachainBlockImportMarker, ValidationCodeHashProvider}, - cumulus_client_consensus_proposer::Proposer as ConsensusProposer, cumulus_primitives_core::{ relay_chain::{BlockId, ValidationCodeHash}, CollationInfo, CollectCollationInfo, ParaId, @@ -45,9 +46,8 @@ use { polkadot_overseer::dummy::dummy_overseer_builder, polkadot_parachain_primitives::primitives::HeadData, polkadot_primitives::{ - vstaging::{CandidateEvent, CoreState}, - CollatorPair, CoreIndex, Hash as PHash, OccupiedCoreAssumption, PersistedValidationData, - ScheduledCore, ValidatorId, + CandidateEvent, CollatorPair, CoreIndex, CoreState, Hash as PHash, OccupiedCoreAssumption, + PersistedValidationData, ScheduledCore, ValidatorId, }, sc_block_builder::BlockBuilderBuilder, sc_client_api::{ @@ -57,6 +57,7 @@ use { sc_consensus::{BoxJustificationImport, ForkChoiceStrategy}, sc_keystore::LocalKeystore, sc_network_test::{Block as TestBlock, *}, + sc_network_types::PeerId, sp_api::{ApiRef, ProvideRuntimeApi}, sp_blockchain::{BlockStatus, CachedHeaderMetadata, HeaderMetadata, Info}, sp_consensus::{Environment, NoNetwork as DummyOracle, Proposal, Proposer}, @@ -953,6 +954,18 @@ impl CollatorLookaheadTestBuilder { // spawn overseer spawner.spawn("overseer", None, overseer.run().then(|_| async {}).boxed()); + let proposer: ProposerFactory< + sc_transaction_pool::TransactionPoolHandle, + TestClient, + EnableProofRecording, + > = sc_basic_authorship::ProposerFactory::with_proof_recording( + spawner.clone(), + client.clone(), + orchestrator_tx_pool.clone(), + None, + None, + ); + // Build the collator let params = LookAheadParams { create_inherent_data_providers: move |_block_hash, _| async move { @@ -967,7 +980,7 @@ impl CollatorLookaheadTestBuilder { relay_client: relay_client.clone(), keystore: keystore.into(), para_id: self.para_id, - proposer: ConsensusProposer::new(environ.clone()), + proposer, collator_service: CollatorService::new( client.clone(), Arc::new(spawner.clone()), @@ -978,6 +991,7 @@ impl CollatorLookaheadTestBuilder { cancellation_token: cancellation_token.clone(), code_hash_provider: DummyCodeHashProvider, collator_key: CollatorPair::generate().0, + collator_peer_id: PeerId::random(), force_authoring: false, get_orchestrator_aux_data: move |_block_hash, _extra| async move { let aux_data = OrchestratorAuraWorkerAuxData { diff --git a/client/consensus/src/tests.rs b/client/consensus/src/tests.rs index 3d5e924b68..a195c37a9c 100644 --- a/client/consensus/src/tests.rs +++ b/client/consensus/src/tests.rs @@ -19,6 +19,9 @@ // This tests have been greatly influenced by // https://github.com/paritytech/substrate/blob/master/client/consensus/aura/src/lib.rs#L832 // Most of the items hereby added are intended to make it work with our current consensus mechanism +use sc_basic_authorship::ProposerFactory; +use sc_network_types::PeerId; +use sp_consensus::EnableProofRecording; use { crate::{ collators::{tanssi_claim_slot, ClaimMode, Collator, Params as CollatorParams}, @@ -26,7 +29,6 @@ use { OrchestratorAuraWorkerAuxData, SlotFrequency, }, cumulus_client_collator::service::CollatorService, - cumulus_client_consensus_proposer::Proposer as ConsensusProposer, nimbus_primitives::{NimbusId, NimbusPair, NIMBUS_KEY_ID}, parity_scale_codec::Encode, parking_lot::Mutex, @@ -173,11 +175,27 @@ async fn collate_returns_correct_block() { let peer = net.peer(3); let client = peer.client().as_client(); let environ = DummyFactory(client.clone()); - let spawner = DummySpawner; let relay_client = RelayChain { client: client.clone(), block_import_iterations: 1u32, }; + // Create the txpool for orchestrator, which should serve to test parathread buy core injection + let spawner = sp_core::testing::TaskExecutor::new(); + let orchestrator_tx_pool = Arc::new( + sc_transaction_pool::Builder::new(spawner.clone(), client.clone(), true.into()).build(), + ); + + let proposer: ProposerFactory< + sc_transaction_pool::TransactionPoolHandle, + TestClient, + EnableProofRecording, + > = sc_basic_authorship::ProposerFactory::with_proof_recording( + spawner.clone(), + client.clone(), + orchestrator_tx_pool, + None, + None, + ); // Build the collator let mut collator = { @@ -195,13 +213,14 @@ async fn collate_returns_correct_block() { relay_client: relay_client.clone(), keystore: keystore.into(), para_id: 1000.into(), - proposer: ConsensusProposer::new(environ.clone()), + proposer, collator_service: CollatorService::new( client.clone(), Arc::new(spawner), Arc::new(move |_, _| {}), Arc::new(environ), ), + collator_peer_id: PeerId::random(), }; Collator::::new(params) @@ -217,6 +236,7 @@ async fn collate_returns_correct_block() { head.clone().hash(), None, None, + PeerId::random(), ) .await .unwrap(); diff --git a/client/node-common/src/service/node_builder.rs b/client/node-common/src/service/node_builder.rs index 239bc61029..6f6c432a24 100644 --- a/client/node-common/src/service/node_builder.rs +++ b/client/node-common/src/service/node_builder.rs @@ -14,6 +14,10 @@ // You should have received a copy of the GNU General Public License // along with Tanssi. If not, see . +use cumulus_client_service::{ + DARecoveryProfile, ParachainTracingExecuteBlock, StartRelayChainTasksParams, +}; +use parity_scale_codec::Encode; use { async_channel::Receiver, async_io::Timer, @@ -23,7 +27,6 @@ use { cumulus_client_cli::CollatorOptions, cumulus_client_service::{ build_relay_chain_interface, CollatorSybilResistance, ParachainHostFunctions, - StartFullNodeParams, }, cumulus_primitives_core::ParaId, cumulus_relay_chain_interface::RelayChainInterface, @@ -622,6 +625,9 @@ where system_rpc_tx: network.system_rpc_tx.clone(), tx_handler_controller, telemetry: telemetry.as_mut(), + tracing_execute_block: Some(Arc::new(ParachainTracingExecuteBlock::new( + client.clone(), + ))), sync_service: network.sync_service.clone(), })?; @@ -791,7 +797,7 @@ where .overseer_handle() .map_err(|e| sc_service::Error::Application(Box::new(e)))?; - let params = StartFullNodeParams { + let params = StartRelayChainTasksParams { client: client.clone(), announce_block, task_manager: &mut task_manager, @@ -801,14 +807,12 @@ where import_queue: import_queue_service, recovery_handle: Box::new(overseer_handle), sync_service: network.sync_service.clone(), + da_recovery_profile: DARecoveryProfile::FullNode, prometheus_registry: prometheus_registry.as_ref(), }; // TODO: change for async backing - // TODO: to fix deprecation warning, we only need to change - // `start_full_node` to `start_relay_chain_tasks` - #[allow(deprecated)] - cumulus_client_service::start_full_node(params)?; + cumulus_client_service::start_relay_chain_tasks(params)?; let StartBootnodeParams { relay_chain_fork_id, @@ -833,7 +837,7 @@ where request_receiver: paranode_rx, parachain_network: network.network.clone(), advertise_non_global_ips, - parachain_genesis_hash: TypeIdentity::into_type(client.chain_info().genesis_hash), + parachain_genesis_hash: client.chain_info().genesis_hash.encode(), parachain_fork_id, parachain_public_addresses, }); diff --git a/client/service-container-chain-spawner/src/cli.rs b/client/service-container-chain-spawner/src/cli.rs index b7dd3a3f51..b9a5c505b7 100644 --- a/client/service-container-chain-spawner/src/cli.rs +++ b/client/service-container-chain-spawner/src/cli.rs @@ -130,13 +130,10 @@ impl ContainerChainRunCmd { /// Create [`CollatorOptions`] representing options only relevant to parachain collator nodes // Copied from polkadot-sdk/cumulus/client/cli/src/lib.rs pub fn collator_options(&self) -> CollatorOptions { - let relay_chain_mode = match ( - self.relay_chain_light_client, - !self.relay_chain_rpc_urls.is_empty(), - ) { - (true, _) => RelayChainMode::LightClient, - (_, true) => RelayChainMode::ExternalRpc(self.relay_chain_rpc_urls.clone()), - _ => RelayChainMode::Embedded, + let relay_chain_mode = if self.relay_chain_rpc_urls.is_empty() { + RelayChainMode::Embedded + } else { + RelayChainMode::ExternalRpc(self.relay_chain_rpc_urls.clone()) }; CollatorOptions { diff --git a/client/service-container-chain-spawner/src/service.rs b/client/service-container-chain-spawner/src/service.rs index db2d7749e8..9ef9379446 100644 --- a/client/service-container-chain-spawner/src/service.rs +++ b/client/service-container-chain-spawner/src/service.rs @@ -52,6 +52,7 @@ use { sp_api::ProvideRuntimeApi, sp_consensus::EnableProofRecording, sp_consensus_aura::SlotDuration, + sp_core::Encode, sp_keystore::KeystorePtr, std::{marker::PhantomData, sync::Arc, time::Duration}, substrate_prometheus_endpoint::Registry, @@ -292,7 +293,7 @@ pub fn start_node_impl_container< request_receiver: paranode_rx, parachain_network: node_builder.network.network.clone(), advertise_non_global_ips, - parachain_genesis_hash: node_builder.client.chain_info().genesis_hash, + parachain_genesis_hash: node_builder.client.chain_info().genesis_hash.encode(), parachain_fork_id, parachain_public_addresses, }); @@ -401,6 +402,7 @@ fn start_consensus_container( ) { let crate::spawner::CollationParams { collator_key, + collator_peer_id, orchestrator_tx_pool, orchestrator_client, orchestrator_para_id, @@ -421,7 +423,7 @@ fn start_consensus_container( .expect("start_consensus_container: slot duration should exist") }; - let proposer_factory = sc_basic_authorship::ProposerFactory::with_proof_recording( + let proposer = sc_basic_authorship::ProposerFactory::with_proof_recording( spawner.clone(), client.clone(), transaction_pool, @@ -429,8 +431,6 @@ fn start_consensus_container( telemetry.clone(), ); - let proposer = cumulus_client_consensus_proposer::Proposer::new(proposer_factory); - let collator_service = cumulus_client_collator::service::CollatorService::new( client.clone(), Arc::new(spawner.clone()), @@ -622,6 +622,7 @@ fn start_consensus_container( keystore, collator_key, para_id, + collator_peer_id, overseer_handle, orchestrator_slot_duration: slot_duration, force_authoring, diff --git a/client/service-container-chain-spawner/src/spawner.rs b/client/service-container-chain-spawner/src/spawner.rs index 51253adcf3..61f27888ee 100644 --- a/client/service-container-chain-spawner/src/spawner.rs +++ b/client/service-container-chain-spawner/src/spawner.rs @@ -22,6 +22,7 @@ //! [Keep db flowchart](https://raw.githubusercontent.com/moondance-labs/tanssi/master/docs/keep_db_flowchart.png) use node_common::service::node_builder::StartBootnodeParams; +use sc_network::PeerId; use { crate::{ cli::ContainerChainCli, @@ -135,6 +136,7 @@ pub struct ContainerChainSpawnParams< #[derive(Clone)] pub struct CollationParams { pub collator_key: CollatorPair, + pub collator_peer_id: PeerId, pub orchestrator_tx_pool: Option>>, pub orchestrator_client: Option>, pub orchestrator_para_id: ParaId, diff --git a/client/service-orchestrator-chain/src/parachain/mod.rs b/client/service-orchestrator-chain/src/parachain/mod.rs index e30f2ffe77..890e5ca5d4 100644 --- a/client/service-orchestrator-chain/src/parachain/mod.rs +++ b/client/service-orchestrator-chain/src/parachain/mod.rs @@ -19,10 +19,10 @@ pub mod rpc; use cumulus_client_bootnodes::{start_bootnode_tasks, StartBootnodeTasksParams}; use node_common::service::node_builder::StartBootnodeParams; use sc_client_api::TrieCacheContext; +use sc_network::PeerId; use { cumulus_client_cli::CollatorOptions, cumulus_client_collator::service::CollatorService, - cumulus_client_consensus_proposer::Proposer, cumulus_client_service::{ prepare_node_config, start_relay_chain_tasks, DARecoveryProfile, StartRelayChainTasksParams, }, @@ -57,6 +57,7 @@ use { sp_api::{ApiExt, StorageProof}, sp_consensus::SyncOracle, sp_consensus_slots::Slot, + sp_core::Encode, sp_core::H256, sp_keystore::KeystorePtr, sp_state_machine::{Backend as StateBackend, StorageValue}, @@ -141,17 +142,16 @@ fn start_consensus_orchestrator( relay_chain_slot_duration: Duration, para_id: ParaId, collator_key: CollatorPair, + collator_peer_id: PeerId, overseer_handle: OverseerHandle, announce_block: Arc>) + Send + Sync>, - proposer_factory: ParachainProposerFactory, + proposer: ParachainProposerFactory, orchestrator_tx_pool: Arc>, max_pov_percentage: Option, ) -> (CancellationToken, futures::channel::oneshot::Receiver<()>) { let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client) .expect("start_consensus_orchestrator: slot duration should exist"); - let proposer = Proposer::new(proposer_factory); - let collator_service = CollatorService::new( client.clone(), Arc::new(spawner.clone()), @@ -277,6 +277,7 @@ fn start_consensus_orchestrator( sync_oracle, keystore, collator_key, + collator_peer_id, para_id, overseer_handle, orchestrator_slot_duration: slot_duration, @@ -384,6 +385,7 @@ where let sync_service = node_builder.network.sync_service.clone(); Arc::new(move |hash, data| sync_service.announce_block(hash, data)) }; + let collator_peer_id = node_builder.network.network.local_peer_id(); let (mut node_builder, import_queue_service) = node_builder.extract_import_queue_service(); @@ -429,7 +431,7 @@ where request_receiver: paranode_rx, parachain_network: node_builder.network.network.clone(), advertise_non_global_ips, - parachain_genesis_hash: node_builder.client.chain_info().genesis_hash, + parachain_genesis_hash: node_builder.client.chain_info().genesis_hash.encode(), parachain_fork_id, parachain_public_addresses, }); @@ -492,6 +494,7 @@ where relay_chain_slot_duration, para_id, collator_key.clone(), + collator_peer_id, overseer.clone(), announce_block.clone(), proposer_factory.clone(), @@ -550,6 +553,7 @@ where orchestrator_para_id: para_id, collator_key: collator_key .expect("there should be a collator key if we're a validator"), + collator_peer_id, solochain: false, }) } else { diff --git a/client/service-orchestrator-chain/src/solochain.rs b/client/service-orchestrator-chain/src/solochain.rs index d64497762d..59469b170e 100644 --- a/client/service-orchestrator-chain/src/solochain.rs +++ b/client/service-orchestrator-chain/src/solochain.rs @@ -16,6 +16,7 @@ use node_common::service::node_builder::StartBootnodeParams; use polkadot_primitives::CollatorPair; +use sc_network::PeerId; use sc_sysinfo::HwBench; use { cumulus_client_cli::CollatorOptions, @@ -256,6 +257,8 @@ pub async fn start_solochain_node( let spawn_handle = task_manager.spawn_handle(); let relay_chain_interface = relay_chain_interface.clone(); let orchestrator_chain_interface = orchestrator_chain_interface.clone(); + // TODO: how to get PeerId here? + let collator_peer_id: PeerId = PeerId::random(); let container_chain_spawner = ContainerChainSpawner { params: ContainerChainSpawnParams { @@ -274,6 +277,7 @@ pub async fn start_solochain_node( orchestrator_para_id, collator_key: collator_key .expect("there should be a collator key if we're a validator"), + collator_peer_id, solochain: true, }) } else { @@ -609,6 +613,7 @@ pub fn dummy_config(tokio_handle: tokio::runtime::Handle, base_path: BasePath) - rate_limit: None, rate_limit_whitelisted_ips: vec![], rate_limit_trust_proxy_headers: false, + request_logger_limit: 1024, }, prometheus_config: None, telemetry_endpoints: None, diff --git a/pallets/alt-benchmarks/Cargo.toml b/pallets/alt-benchmarks/Cargo.toml index cdf20e33bb..2e1145c8f7 100644 --- a/pallets/alt-benchmarks/Cargo.toml +++ b/pallets/alt-benchmarks/Cargo.toml @@ -59,6 +59,7 @@ runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", + "pallet-session/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "polkadot-primitives/runtime-benchmarks", "polkadot-runtime-parachains/runtime-benchmarks", diff --git a/pallets/alt-benchmarks/src/bench_parachains_slashing.rs b/pallets/alt-benchmarks/src/bench_parachains_slashing.rs index 449a15e49d..913957af52 100644 --- a/pallets/alt-benchmarks/src/bench_parachains_slashing.rs +++ b/pallets/alt-benchmarks/src/bench_parachains_slashing.rs @@ -22,8 +22,9 @@ use frame_support::traits::{KeyOwnerProofSystem, OnFinalize, OnInitialize, Valid use frame_system::{pallet_prelude::BlockNumberFor, RawOrigin}; use parity_scale_codec::Decode; use polkadot_primitives::{ - slashing::{DisputeProof, DisputesTimeSlot, SlashingOffenceKind}, - CandidateHash, Hash, SessionIndex, ValidatorId, ValidatorIndex, PARACHAIN_KEY_TYPE_ID, + slashing::{DisputeProof, DisputesTimeSlot}, + CandidateHash, DisputeOffenceKind, Hash, SessionIndex, ValidatorId, ValidatorIndex, + PARACHAIN_KEY_TYPE_ID, }; use polkadot_runtime_parachains::{disputes::SlashingHandler, initializer}; use sp_runtime::traits::{One, OpaqueKeys}; @@ -157,7 +158,7 @@ fn dispute_proof( validator_id: ValidatorId, validator_index: ValidatorIndex, ) -> DisputeProof { - let kind = SlashingOffenceKind::ForInvalid; + let kind = DisputeOffenceKind::ForInvalidBacked; let time_slot = DisputesTimeSlot::new(session_index, CANDIDATE_HASH); DisputeProof { @@ -185,7 +186,7 @@ mod benchmarks { { result = polkadot_runtime_parachains::disputes::slashing::Pallet::::report_dispute_lost_unsigned( RawOrigin::None.into(), - Box::new(dispute_proof.into()), + Box::new(dispute_proof), key_owner_proof, ); } diff --git a/pallets/ethereum-token-transfers/Cargo.toml b/pallets/ethereum-token-transfers/Cargo.toml index 098527fc5e..9ed171af62 100644 --- a/pallets/ethereum-token-transfers/Cargo.toml +++ b/pallets/ethereum-token-transfers/Cargo.toml @@ -72,6 +72,7 @@ runtime-benchmarks = [ "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "pallet-balances/runtime-benchmarks", + "pallet-session/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "polkadot-primitives/runtime-benchmarks", "snowbridge-core/runtime-benchmarks", diff --git a/pallets/external-validator-slashes/Cargo.toml b/pallets/external-validator-slashes/Cargo.toml index 47a32b24a2..35ed6bce16 100644 --- a/pallets/external-validator-slashes/Cargo.toml +++ b/pallets/external-validator-slashes/Cargo.toml @@ -30,6 +30,7 @@ tp-bridge = { workspace = true } tp-traits = { workspace = true } [dev-dependencies] +pallet-balances = { workspace = true, features = [ "std" ] } pallet-timestamp = { workspace = true, features = [ "std" ] } polkadot-core-primitives = { workspace = true } sp-core = { workspace = true } @@ -42,6 +43,7 @@ std = [ "frame-support/std", "frame-system/std", "log/std", + "pallet-balances/std", "pallet-session/std", "pallet-staking/std", "pallet-timestamp/std", @@ -61,6 +63,8 @@ runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", + "pallet-session/runtime-benchmarks", "pallet-staking/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "snowbridge-core/runtime-benchmarks", @@ -73,6 +77,7 @@ runtime-benchmarks = [ try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime", + "pallet-balances/try-runtime", "pallet-session/try-runtime", "pallet-staking/try-runtime", "pallet-timestamp/try-runtime", diff --git a/pallets/external-validator-slashes/src/mock.rs b/pallets/external-validator-slashes/src/mock.rs index d5874541f7..49dc9ed1dc 100644 --- a/pallets/external-validator-slashes/src/mock.rs +++ b/pallets/external-validator-slashes/src/mock.rs @@ -45,6 +45,7 @@ frame_support::construct_runtime!( Historical: pallet_session::historical, ExternalValidatorSlashes: external_validator_slashes, Timestamp: pallet_timestamp, + Balances: pallet_balances, } ); @@ -72,7 +73,7 @@ impl system::Config for Test { type BlockHashCount = ConstU64<250>; type Version = (); type PalletInfo = PalletInfo; - type AccountData = (); + type AccountData = pallet_balances::AccountData; type OnNewAccount = (); type OnKilledAccount = (); type SystemWeightInfo = (); @@ -88,6 +89,27 @@ impl system::Config for Test { type ExtensionsWeightInfo = (); } +parameter_types! { + pub const ExistentialDeposit: u128 = 1; +} + +impl pallet_balances::Config for Test { + type MaxReserves = (); + type ReserveIdentifier = [u8; 4]; + type MaxLocks = (); + type Balance = Balance; + type RuntimeEvent = RuntimeEvent; + type DustRemoval = (); + type ExistentialDeposit = ExistentialDeposit; + type AccountStore = System; + type FreezeIdentifier = (); + type MaxFreezes = (); + type RuntimeHoldReason = RuntimeHoldReason; + type RuntimeFreezeReason = (); + type DoneSlashHandler = (); + type WeightInfo = (); +} + parameter_types! { pub static Validators: Option> = Some(vec![ 1, @@ -165,6 +187,8 @@ impl pallet_session::Config for Test { type NextSessionRotation = pallet_session::PeriodicSessions; type WeightInfo = (); type DisablingStrategy = (); + type Currency = Balances; + type KeyDeposit = (); } sp_runtime::impl_opaque_keys! { @@ -175,6 +199,7 @@ sp_runtime::impl_opaque_keys! { use sp_runtime::RuntimeAppPublic; type AccountId = u64; +type Balance = u128; pub struct TestSessionHandler; impl pallet_session::SessionHandler for TestSessionHandler { const KEY_TYPE_IDS: &'static [sp_runtime::KeyTypeId] = &[UintAuthorityId::ID]; diff --git a/pallets/external-validators-rewards/Cargo.toml b/pallets/external-validators-rewards/Cargo.toml index 68b2facf2d..7e808b9213 100644 --- a/pallets/external-validators-rewards/Cargo.toml +++ b/pallets/external-validators-rewards/Cargo.toml @@ -76,6 +76,7 @@ runtime-benchmarks = [ "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "pallet-balances/runtime-benchmarks", + "pallet-session/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "polkadot-primitives/runtime-benchmarks", "runtime-parachains/runtime-benchmarks", diff --git a/pallets/external-validators/Cargo.toml b/pallets/external-validators/Cargo.toml index bdcf3c06a5..447b0477d9 100644 --- a/pallets/external-validators/Cargo.toml +++ b/pallets/external-validators/Cargo.toml @@ -58,6 +58,7 @@ runtime-benchmarks = [ "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "pallet-balances/runtime-benchmarks", + "pallet-session/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "rand", "sp-runtime/runtime-benchmarks", diff --git a/pallets/external-validators/src/mock.rs b/pallets/external-validators/src/mock.rs index d5b5352ba1..9600a5dae4 100644 --- a/pallets/external-validators/src/mock.rs +++ b/pallets/external-validators/src/mock.rs @@ -96,7 +96,7 @@ impl pallet_balances::Config for Test { type ExistentialDeposit = ExistentialDeposit; type AccountStore = System; type ReserveIdentifier = [u8; 8]; - type RuntimeHoldReason = (); + type RuntimeHoldReason = RuntimeHoldReason; type RuntimeFreezeReason = (); type FreezeIdentifier = (); type MaxLocks = (); @@ -193,6 +193,8 @@ impl pallet_session::Config for Test { type Keys = MockSessionKeys; type WeightInfo = (); type DisablingStrategy = (); + type Currency = Balances; + type KeyDeposit = (); } // Pallet to provide some mock data, used to test diff --git a/pallets/inactivity-tracking/Cargo.toml b/pallets/inactivity-tracking/Cargo.toml index 4633d8535b..a8d709541d 100644 --- a/pallets/inactivity-tracking/Cargo.toml +++ b/pallets/inactivity-tracking/Cargo.toml @@ -30,6 +30,7 @@ sp-staking = { workspace = true } tp-traits = { workspace = true } [dev-dependencies] +pallet-balances = { workspace = true } pallet-session = { workspace = true } sp-core = { workspace = true } sp-io = { workspace = true } @@ -41,6 +42,7 @@ std = [ "frame-support/std", "frame-system/std", "log/std", + "pallet-balances/std", "pallet-session/std", "parity-scale-codec/std", "scale-info/std", @@ -55,6 +57,8 @@ runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", + "pallet-session/runtime-benchmarks", "sp-runtime/runtime-benchmarks", "sp-staking/runtime-benchmarks", "tp-traits/runtime-benchmarks", @@ -63,6 +67,7 @@ runtime-benchmarks = [ try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime", + "pallet-balances/try-runtime", "pallet-session/try-runtime", "sp-runtime/try-runtime", ] diff --git a/pallets/inactivity-tracking/src/mock.rs b/pallets/inactivity-tracking/src/mock.rs index 4e24986dff..0cec669fde 100644 --- a/pallets/inactivity-tracking/src/mock.rs +++ b/pallets/inactivity-tracking/src/mock.rs @@ -33,6 +33,7 @@ use { type Block = frame_system::mocking::MockBlock; pub type AccountId = u64; +pub type Balance = u128; pub const COLLATOR_1: AccountId = 1; pub const COLLATOR_2: AccountId = 2; @@ -49,6 +50,7 @@ frame_support::construct_runtime!( System: frame_system, Session: pallet_session, InactivityTracking: pallet_inactivity_tracking, + Balances: pallet_balances, } ); @@ -69,7 +71,7 @@ impl frame_system::Config for Test { type BlockHashCount = ConstU64<250>; type Version = (); type PalletInfo = PalletInfo; - type AccountData = (); + type AccountData = pallet_balances::AccountData; type OnNewAccount = (); type OnKilledAccount = (); type SystemWeightInfo = (); @@ -85,6 +87,27 @@ impl frame_system::Config for Test { type ExtensionsWeightInfo = (); } +parameter_types! { + pub const ExistentialDeposit: u128 = 1; +} + +impl pallet_balances::Config for Test { + type MaxReserves = (); + type ReserveIdentifier = [u8; 4]; + type MaxLocks = (); + type Balance = Balance; + type RuntimeEvent = RuntimeEvent; + type DustRemoval = (); + type ExistentialDeposit = ExistentialDeposit; + type AccountStore = System; + type FreezeIdentifier = (); + type MaxFreezes = (); + type RuntimeHoldReason = RuntimeHoldReason; + type RuntimeFreezeReason = (); + type DoneSlashHandler = (); + type WeightInfo = (); +} + sp_runtime::impl_opaque_keys! { pub struct MockSessionKeys { // a key for aura authoring @@ -151,6 +174,8 @@ impl pallet_session::Config for Test { type Keys = MockSessionKeys; type WeightInfo = (); type DisablingStrategy = (); + type Currency = Balances; + type KeyDeposit = (); } pub struct CurrentSessionIndexGetter; diff --git a/pallets/invulnerables/Cargo.toml b/pallets/invulnerables/Cargo.toml index 4b7d2403ad..00d5587c5f 100644 --- a/pallets/invulnerables/Cargo.toml +++ b/pallets/invulnerables/Cargo.toml @@ -56,6 +56,7 @@ runtime-benchmarks = [ "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "pallet-balances/runtime-benchmarks", + "pallet-session/runtime-benchmarks", "rand", "sp-runtime/runtime-benchmarks", "sp-staking/runtime-benchmarks", diff --git a/pallets/invulnerables/src/benchmarking.rs b/pallets/invulnerables/src/benchmarking.rs index 5254a6f496..6179cbe250 100644 --- a/pallets/invulnerables/src/benchmarking.rs +++ b/pallets/invulnerables/src/benchmarking.rs @@ -108,7 +108,7 @@ pub type BalanceOf = pub(crate) fn currency_issue( amount: BalanceOf, -) -> crate::CreditOf { +) -> crate::CreditOf::Currency> { <::Currency as Balanced>::issue(amount) } @@ -233,7 +233,7 @@ mod benchmarks { let new_supply = currency_issue::(1000u32.into()); #[block] { - let _ = InvulnerableRewardDistribution::::distribute_rewards( + let _ = InvulnerableRewardDistribution::::Currency, ()>::distribute_rewards( to_reward, new_supply, ); } diff --git a/pallets/invulnerables/src/mock.rs b/pallets/invulnerables/src/mock.rs index 93802548e4..75c622ea44 100644 --- a/pallets/invulnerables/src/mock.rs +++ b/pallets/invulnerables/src/mock.rs @@ -94,7 +94,7 @@ impl pallet_balances::Config for Test { type ExistentialDeposit = ExistentialDeposit; type AccountStore = System; type ReserveIdentifier = [u8; 8]; - type RuntimeHoldReason = (); + type RuntimeHoldReason = RuntimeHoldReason; type RuntimeFreezeReason = (); type FreezeIdentifier = (); type MaxLocks = (); @@ -174,6 +174,8 @@ impl pallet_session::Config for Test { type Keys = MockSessionKeys; type WeightInfo = (); type DisablingStrategy = (); + type Currency = Balances; + type KeyDeposit = (); } pub fn new_test_ext() -> sp_io::TestExternalities { diff --git a/primitives/author-noting-inherent/src/tests.rs b/primitives/author-noting-inherent/src/tests.rs index c0d6f697c5..173fdadf62 100644 --- a/primitives/author-noting-inherent/src/tests.rs +++ b/primitives/author-noting-inherent/src/tests.rs @@ -17,10 +17,7 @@ use { crate::{tests::mock_relay_chain_impl::MyMockRelayInterface, OwnParachainInherentData}, cumulus_pallet_parachain_system::RelayChainStateProof, - cumulus_primitives_core::relay_chain::{ - vstaging::{CandidateEvent, CoreState}, - BlakeTwo256, BlockNumber, - }, + cumulus_primitives_core::relay_chain::{BlakeTwo256, BlockNumber, CandidateEvent, CoreState}, dp_core::well_known_keys::para_id_head, futures::executor::block_on, hex_literal::hex, @@ -125,8 +122,7 @@ mod mock_relay_chain_impl { async_trait::async_trait, cumulus_primitives_core::{ relay_chain::{ - vstaging::CommittedCandidateReceiptV2, BlockId, OccupiedCoreAssumption, - SessionIndex, + BlockId, CommittedCandidateReceiptV2, OccupiedCoreAssumption, SessionIndex, }, InboundHrmpMessage, ParaId, }, diff --git a/primitives/parathread-filter-common/Cargo.toml b/primitives/parathread-filter-common/Cargo.toml index a48d8b70ef..971a43e92a 100644 --- a/primitives/parathread-filter-common/Cargo.toml +++ b/primitives/parathread-filter-common/Cargo.toml @@ -23,5 +23,6 @@ std = [ ] runtime-benchmarks = [ "pallet-registrar/runtime-benchmarks", + "pallet-session/runtime-benchmarks", "tp-traits/runtime-benchmarks", ] diff --git a/test/scripts/download-ethereum-client-test-files.sh b/test/scripts/download-ethereum-client-test-files.sh index 8ea3376a5d..82b17ad530 100755 --- a/test/scripts/download-ethereum-client-test-files.sh +++ b/test/scripts/download-ethereum-client-test-files.sh @@ -28,8 +28,8 @@ if [ -f tmp/ethereum_client_test/latest_version.txt ]; then fi echo $polkadot_release mkdir -p tmp -wget -O - tmp/ethereum_client_test https://github.com/moondance-labs/polkadot-sdk/archive/$polkadot_release.tar.gz | tar -xz --strip=6 "polkadot-sdk-$polkadot_release/bridges/snowbridge/pallets/ethereum-client/tests/electra" +wget -O - tmp/ethereum_client_test https://github.com/moondance-labs/polkadot-sdk/archive/$polkadot_release.tar.gz | tar -xz --strip=6 "polkadot-sdk-$polkadot_release/bridges/snowbridge/pallets/ethereum-client/tests/fixtures" # remove for a clean move rm -rf tmp/ethereum_client_test -mv electra tmp/ethereum_client_test +mv fixtures tmp/ethereum_client_test echo $polkadot_release > tmp/ethereum_client_test/latest_version.txt diff --git a/test/suites/common-tanssi-parachain/issuance-rewards/test_invulnerable_rewards.ts b/test/suites/common-tanssi-parachain/issuance-rewards/test_invulnerable_rewards.ts index c14d50b881..6194beafd8 100644 --- a/test/suites/common-tanssi-parachain/issuance-rewards/test_invulnerable_rewards.ts +++ b/test/suites/common-tanssi-parachain/issuance-rewards/test_invulnerable_rewards.ts @@ -29,7 +29,7 @@ describeSuite({ alice = context.keyring.alice; charlie = context.keyring.charlie; const randomAccount = generateKeyringPair("sr25519"); - const value = 100_000_000_000n; + const value = 100_000_000_000_000n; await context.createBlock([ await polkadotJs.tx.balances.transferAllowDeath(randomAccount.address, value).signAsync(alice), ]); diff --git a/test/suites/dev-frontier-template/test-eth-block/test-eth-block-pending.ts b/test/suites/dev-frontier-template/test-eth-block/test-eth-block-pending.ts index 5e05cc98fc..327b5f50b8 100644 --- a/test/suites/dev-frontier-template/test-eth-block/test-eth-block-pending.ts +++ b/test/suites/dev-frontier-template/test-eth-block/test-eth-block-pending.ts @@ -44,12 +44,20 @@ describeSuite({ nonce = nonce + 100; await sendTransaction(); - // do not seal, get pendign block + // do not seal, get pending block let pending_transactions = []; { - const pending = ( - await customWeb3Request(context.web3(), "eth_getBlockByNumber", ["pending", false]) - ).result; + const pendingRes = await customWeb3Request(context.web3(), "eth_getBlockByNumber", [ + "pending", + false, + ]); + /* Error: +panicked at /home/tomasz/.cargo/git/checkouts/moonkit-6d94c845bc690c80/0fec9fd/pallets/async-backing/src/lib.rs:135:48: +Relay slot to exist +Essential task `txpool-background` failed. Shutting down service. + */ + console.log(pendingRes); + const pending = pendingRes.result; expect(pending.hash).to.be.null; expect(pending.miner).to.be.null; expect(pending.nonce).to.be.null; diff --git a/test/suites/dev-tanssi-relay/xcm/test-xcm-send-upward.ts b/test/suites/dev-tanssi-relay/xcm/test-xcm-send-upward.ts index ac2abc201a..02782e77c7 100644 --- a/test/suites/dev-tanssi-relay/xcm/test-xcm-send-upward.ts +++ b/test/suites/dev-tanssi-relay/xcm/test-xcm-send-upward.ts @@ -97,6 +97,10 @@ describeSuite({ // Enable para inherent to process xcm message await customDevRpcRequest("mock_enableParaInherentCandidate", []); + // This only works from block 21 + await jumpToSession(context, 2); + await context.createBlock(); + // Send ump message await injectUmpMessageAndSeal(context, { type: "XcmVersionedXcm", diff --git a/test/suites/dev-tanssi/balances-consumers/test_balances_consumers.ts b/test/suites/dev-tanssi/balances-consumers/test_balances_consumers.ts index cb3c762f05..d907250255 100644 --- a/test/suites/dev-tanssi/balances-consumers/test_balances_consumers.ts +++ b/test/suites/dev-tanssi/balances-consumers/test_balances_consumers.ts @@ -26,7 +26,7 @@ describeSuite({ test: async () => { const randomAccount = generateKeyringPair("sr25519"); - const tx = polkadotJs.tx.balances.transferAllowDeath(randomAccount.address, 2n * 10000000000000000n); + const tx = polkadotJs.tx.balances.transferAllowDeath(randomAccount.address, 20n * 10000000000000000n); await context.createBlock([await tx.signAsync(alice)]); expect(isExtrinsicSuccessful(await polkadotJs.query.system.events())).to.be.true; @@ -39,7 +39,7 @@ describeSuite({ await context.createBlock([await tx2.signAsync(randomAccount)]); expect(isExtrinsicSuccessful(await polkadotJs.query.system.events())).to.be.true; const consumersAfterTx2 = await polkadotJs.query.system.account(randomAccount.address); - expect(consumersAfterTx2.consumers.toNumber()).to.be.equal(1); + expect(consumersAfterTx2.consumers.toNumber()).to.be.equal(2); // Self-delegate in pallet_pooled_staking const tx3 = polkadotJs.tx.pooledStaking.requestDelegate( @@ -97,7 +97,7 @@ describeSuite({ await context.createBlock([await tx6.signAsync(randomAccount)]); // It is only after we leave that the consumer is cleaned const consumersAfterTx6 = await polkadotJs.query.system.account(randomAccount.address); - expect(consumersAfterTx6.consumers.toNumber()).to.be.equal(1); + expect(consumersAfterTx6.consumers.toNumber()).to.be.equal(2); }, }); }, diff --git a/test/suites/dev-tanssi/collator-assignment/test-full-rotation-mode-parathreads.ts b/test/suites/dev-tanssi/collator-assignment/test-full-rotation-mode-parathreads.ts index 124563b4e5..c13591d15f 100644 --- a/test/suites/dev-tanssi/collator-assignment/test-full-rotation-mode-parathreads.ts +++ b/test/suites/dev-tanssi/collator-assignment/test-full-rotation-mode-parathreads.ts @@ -56,7 +56,7 @@ describeSuite({ // First block, send some balance to each account. This needs to go first because `.signAndSend(randomAccount)` // given an error if the account has no balance, even though we send some balance and it's pending. for (const randomAccount of randomAccounts) { - const value = 100_000_000_000n; + const value = 10_000_000_000_000_000n; await polkadotJs.tx.balances .transferAllowDeath(randomAccount.address, value) .signAndSend(alice, { nonce: aliceNonce++ }); diff --git a/test/suites/dev-tanssi/collator-assignment/test-full-rotation-mode.ts b/test/suites/dev-tanssi/collator-assignment/test-full-rotation-mode.ts index b72429ca90..2c2b70675f 100644 --- a/test/suites/dev-tanssi/collator-assignment/test-full-rotation-mode.ts +++ b/test/suites/dev-tanssi/collator-assignment/test-full-rotation-mode.ts @@ -51,7 +51,7 @@ describeSuite({ // First block, send some balance to each account. This needs to go first because `.signAndSend(randomAccount)` // given an error if the account has no balance, even though we send some balance and it's pending. for (const randomAccount of randomAccounts) { - const value = 100_000_000_000n; + const value = 10_000_000_000_000_000n; await polkadotJs.tx.balances .transferAllowDeath(randomAccount.address, value) .signAndSend(alice, { nonce: aliceNonce++ });