diff --git a/Cargo.lock b/Cargo.lock index 1bd7c48c68..fe4ace9db7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -80,17 +80,6 @@ dependencies = [ "convert_case 0.5.0", ] -[[package]] -name = "ahash" -version = "0.7.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a824f2aa7e75a0c98c5a504fceb80649e9c35265d44525b5f94de4771a395cd" -dependencies = [ - "getrandom 0.2.11", - "once_cell", - "version_check", -] - [[package]] name = "ahash" version = "0.8.6" @@ -98,7 +87,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "91429305e9f0a25f6205c5b8e0d2db09e0708a7a6df0f42212bb56c32c8ac97a" dependencies = [ "cfg-if", - "getrandom 0.2.11", + "getrandom", "once_cell", "version_check", "zerocopy", @@ -146,15 +135,6 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299" -[[package]] -name = "ansi_term" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" -dependencies = [ - "winapi", -] - [[package]] name = "anstream" version = "0.6.14" @@ -219,20 +199,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "aquamarine" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1da02abba9f9063d786eab1509833ebb2fac0f966862ca59439c76b9c566760" -dependencies = [ - "include_dir", - "itertools 0.10.5", - "proc-macro-error", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "aquamarine" version = "0.5.0" @@ -244,7 +210,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] @@ -258,18 +224,6 @@ dependencies = [ "ark-std", ] -[[package]] -name = "ark-bls12-377-ext" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20c7021f180a0cbea0380eba97c2af3c57074cdaffe0eef7e840e1c9f2841e55" -dependencies = [ - "ark-bls12-377", - "ark-ec", - "ark-models-ext", - "ark-std", -] - [[package]] name = "ark-bls12-381" version = "0.4.0" @@ -282,45 +236,6 @@ dependencies = [ "ark-std", ] -[[package]] -name = "ark-bls12-381-ext" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1dc4b3d08f19e8ec06e949712f95b8361e43f1391d94f65e4234df03480631c" -dependencies = [ - "ark-bls12-381", - "ark-ec", - "ark-ff", - "ark-models-ext", - "ark-serialize", - "ark-std", -] - -[[package]] -name = "ark-bw6-761" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e0605daf0cc5aa2034b78d008aaf159f56901d92a52ee4f6ecdfdac4f426700" -dependencies = [ - "ark-bls12-377", - "ark-ec", - "ark-ff", - "ark-std", -] - -[[package]] -name = "ark-bw6-761-ext" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccee5fba47266f460067588ee1bf070a9c760bf2050c1c509982c5719aadb4f2" -dependencies = [ - "ark-bw6-761", - "ark-ec", - "ark-ff", - "ark-models-ext", - "ark-std", -] - [[package]] name = "ark-ec" version = "0.4.2" @@ -335,60 +250,9 @@ dependencies = [ "hashbrown 0.13.2", "itertools 0.10.5", "num-traits", - "rayon", "zeroize", ] -[[package]] -name = "ark-ed-on-bls12-377" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b10d901b9ac4b38f9c32beacedfadcdd64e46f8d7f8e88c1ae1060022cf6f6c6" -dependencies = [ - "ark-bls12-377", - "ark-ec", - "ark-ff", - "ark-std", -] - -[[package]] -name = "ark-ed-on-bls12-377-ext" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "524a4fb7540df2e1a8c2e67a83ba1d1e6c3947f4f9342cc2359fc2e789ad731d" -dependencies = [ - "ark-ec", - "ark-ed-on-bls12-377", - "ark-ff", - "ark-models-ext", - "ark-std", -] - -[[package]] -name = "ark-ed-on-bls12-381-bandersnatch" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9cde0f2aa063a2a5c28d39b47761aa102bda7c13c84fc118a61b87c7b2f785c" -dependencies = [ - "ark-bls12-381", - "ark-ec", - "ark-ff", - "ark-std", -] - -[[package]] -name = "ark-ed-on-bls12-381-bandersnatch-ext" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d15185f1acb49a07ff8cbe5f11a1adc5a93b19e211e325d826ae98e98e124346" -dependencies = [ - "ark-ec", - "ark-ed-on-bls12-381-bandersnatch", - "ark-ff", - "ark-models-ext", - "ark-std", -] - [[package]] name = "ark-ff" version = "0.4.2" @@ -432,19 +296,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "ark-models-ext" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e9eab5d4b5ff2f228b763d38442adc9b084b0a465409b059fac5c2308835ec2" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-serialize", - "ark-std", - "derivative", -] - [[package]] name = "ark-poly" version = "0.4.2" @@ -458,35 +309,6 @@ dependencies = [ "hashbrown 0.13.2", ] -[[package]] -name = "ark-scale" -version = "0.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f69c00b3b529be29528a6f2fd5fa7b1790f8bed81b9cdca17e326538545a179" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-serialize", - "ark-std", - "parity-scale-codec", - "scale-info", -] - -[[package]] -name = "ark-secret-scalar" -version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=e9782f9#e9782f938629c90f3adb3fff2358bc8d1386af3e" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-serialize", - "ark-std", - "ark-transcript", - "digest 0.10.7", - "getrandom_or_panic", - "zeroize", -] - [[package]] name = "ark-serialize" version = "0.4.2" @@ -517,29 +339,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" dependencies = [ "num-traits", - "rand 0.8.5", - "rayon", -] - -[[package]] -name = "ark-transcript" -version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=e9782f9#e9782f938629c90f3adb3fff2358bc8d1386af3e" -dependencies = [ - "ark-ff", - "ark-serialize", - "ark-std", - "digest 0.10.7", - "rand_core 0.6.4", - "sha3", + "rand", ] -[[package]] -name = "array-bytes" -version = "4.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6" - [[package]] name = "array-bytes" version = "6.2.2" @@ -573,8 +375,24 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f6fd5ddaf0351dff5b8da21b2fb4ff8e08ddd02857f0bf69c47639106c0fff0" dependencies = [ - "asn1-rs-derive", - "asn1-rs-impl", + "asn1-rs-derive 0.4.0", + "asn1-rs-impl 0.1.0", + "displaydoc", + "nom", + "num-traits", + "rusticata-macros", + "thiserror", + "time", +] + +[[package]] +name = "asn1-rs" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5493c3bedbacf7fd7382c6346bbd66687d12bbaad3a89a2d2c303ee6cf20b048" +dependencies = [ + "asn1-rs-derive 0.5.1", + "asn1-rs-impl 0.2.0", "displaydoc", "nom", "num-traits", @@ -592,7 +410,19 @@ dependencies = [ "proc-macro2", "quote", "syn 1.0.109", - "synstructure", + "synstructure 0.12.6", +] + +[[package]] +name = "asn1-rs-derive" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "965c2d33e53cb6b267e148a4cb0760bc01f4904c1cd4bb4002a085bb016d1490" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.90", + "synstructure 0.13.1", ] [[package]] @@ -606,6 +436,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "asn1-rs-impl" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.90", +] + [[package]] name = "assert_matches" version = "1.5.0" @@ -633,7 +474,7 @@ dependencies = [ "event-listener 4.0.1", "event-listener-strategy", "futures-core", - "pin-project-lite 0.2.13", + "pin-project-lite", ] [[package]] @@ -718,7 +559,7 @@ checksum = "7125e42787d53db9dd54261812ef17e937c95a51e4d291373b670342fa44310c" dependencies = [ "event-listener 4.0.1", "event-listener-strategy", - "pin-project-lite 0.2.13", + "pin-project-lite", ] [[package]] @@ -781,7 +622,7 @@ checksum = "6e0c28dcc82d7c8ead5cb13beb15405b57b8546e93215673ff8ca0349a028107" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] @@ -794,7 +635,7 @@ dependencies = [ "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.13", + "pin-project-lite", ] [[package]] @@ -810,14 +651,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" [[package]] -name = "atty" -version = "0.2.14" +name = "attohttpc" +version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" +checksum = "8d9a9bf8b79a749ee0b911b91b671cc2b6c670bdbc7e3dfd537576ddc94bb2a2" dependencies = [ - "hermit-abi 0.1.19", - "libc", - "winapi", + "http 0.2.11", + "log", + "url", ] [[package]] @@ -846,9 +687,9 @@ checksum = "7b7e4c2464d97fe331d41de9d5db0def0a96f4d823b8b32a2efd503578988973" [[package]] name = "backtrace" -version = "0.3.69" +version = "0.3.71" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" +checksum = "26b05800d2e817c8b3b4b54abd461726265fa9789ae34330622f2db9ee696f9d" dependencies = [ "addr2line 0.21.0", "cc", @@ -859,29 +700,6 @@ dependencies = [ "rustc-demangle", ] -[[package]] -name = "bandersnatch_vrfs" -version = "0.0.4" -source = "git+https://github.com/w3f/ring-vrf?rev=e9782f9#e9782f938629c90f3adb3fff2358bc8d1386af3e" -dependencies = [ - "ark-bls12-381", - "ark-ec", - "ark-ed-on-bls12-381-bandersnatch", - "ark-ff", - "ark-serialize", - "ark-std", - "dleq_vrf", - "fflonk", - "merlin", - "rand_chacha 0.3.1", - "rand_core 0.6.4", - "ring 0.1.0", - "sha2 0.10.8", - "sp-ark-bls12-381", - "sp-ark-ed-on-bls12-381-bandersnatch", - "zeroize", -] - [[package]] name = "base-x" version = "0.2.11" @@ -927,19 +745,10 @@ dependencies = [ "serde", ] -[[package]] -name = "beef" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1" -dependencies = [ - "serde", -] - [[package]] name = "binary-merkle-tree" -version = "13.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "15.0.1" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "hash-db", "log", @@ -966,13 +775,13 @@ dependencies = [ "lazy_static", "lazycell", "peeking_take_while", - "prettyplease 0.2.15", + "prettyplease 0.2.25", "proc-macro2", "quote", "regex", - "rustc-hash", + "rustc-hash 1.1.0", "shlex", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] @@ -1029,9 +838,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.4.1" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" +checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" [[package]] name = "bitvec" @@ -1169,13 +978,14 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub-router" -version = "0.6.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.14.1" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "parity-scale-codec", "scale-info", "sp-core", "sp-runtime", + "staging-xcm", ] [[package]] @@ -1186,9 +996,9 @@ checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" [[package]] name = "bs58" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5353f36341f7451062466f0b755b96ac3a9547e4d7f6b70d603fc721a7d7896" +checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" dependencies = [ "tinyvec", ] @@ -1281,13 +1091,13 @@ dependencies = [ [[package]] name = "cargo-lock" -version = "9.0.0" +version = "10.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e11c675378efb449ed3ce8de78d75d0d80542fc98487c26aba28eb3b82feac72" +checksum = "6469776d007022d505bbcc2be726f5f096174ae76d710ebc609eb3029a45b551" dependencies = [ - "semver 1.0.20", + "semver 1.0.23", "serde", - "toml 0.7.8", + "toml 0.8.19", "url", ] @@ -1308,7 +1118,7 @@ checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" dependencies = [ "camino", "cargo-platform", - "semver 1.0.20", + "semver 1.0.23", "serde", "serde_json", "thiserror", @@ -1328,14 +1138,20 @@ checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" [[package]] name = "cc" -version = "1.0.83" +version = "1.0.94" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" +checksum = "17f6e324229dc011159fcc089755d1e2e216a90d43a7dea6853ca740b84f35e7" dependencies = [ "jobserver", "libc", ] +[[package]] +name = "cesu8" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" + [[package]] name = "cexpr" version = "0.6.0" @@ -1451,7 +1267,7 @@ dependencies = [ "multibase", "multihash 0.17.0", "serde", - "unsigned-varint", + "unsigned-varint 0.7.2", ] [[package]] @@ -1464,7 +1280,7 @@ dependencies = [ "multibase", "multihash 0.18.1", "serde", - "unsigned-varint", + "unsigned-varint 0.7.2", ] [[package]] @@ -1487,15 +1303,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "ckb-merkle-mountain-range" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56ccb671c5921be8a84686e6212ca184cb1d7c51cadcdbfcbd1cc3f042f5dfb8" -dependencies = [ - "cfg-if", -] - [[package]] name = "clang-sys" version = "1.6.1" @@ -1509,21 +1316,9 @@ dependencies = [ [[package]] name = "clap" -version = "3.2.25" +version = "4.5.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123" -dependencies = [ - "bitflags 1.3.2", - "clap_lex 0.2.4", - "indexmap 1.9.3", - "textwrap", -] - -[[package]] -name = "clap" -version = "4.5.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90bc066a67923782aa8515dbaea16946c5bcc5addbd668bb80af688e53e548a0" +checksum = "0fbb260a053428790f3de475e304ff84cdbc4face759ea7a3e64c1edd938a7fc" dependencies = [ "clap_builder", "clap_derive", @@ -1531,36 +1326,27 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.2" +version = "4.5.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4" +checksum = "64b17d7ea74e9f833c7dbf2cbe4fb12ff26783eda4782a8975b72f895c9b4d99" dependencies = [ "anstream", "anstyle", - "clap_lex 0.7.0", + "clap_lex", "strsim", "terminal_size", ] [[package]] name = "clap_derive" -version = "4.5.4" +version = "4.5.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "528131438037fd55894f62d6e9f068b8f45ac57ffa77517819645d10aed04f64" +checksum = "501d359d5f3dcaf6ecdeee48833ae73ec6e42723a1e52419c79abf9507eec0a0" dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.61", -] - -[[package]] -name = "clap_lex" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5" -dependencies = [ - "os_str_bytes", + "syn 2.0.90", ] [[package]] @@ -1577,7 +1363,7 @@ checksum = "71367d3385c716342014ad17e3d19f7788ae514885a1f4c24f500260fb365e1a" dependencies = [ "libc", "once_cell", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi", "wasm-bindgen", ] @@ -1618,22 +1404,6 @@ dependencies = [ "unicode-width", ] -[[package]] -name = "common" -version = "0.1.0" -source = "git+https://github.com/w3f/ring-proof#96137b150288a66bc9e4df495efc64769b5d1321" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-poly", - "ark-serialize", - "ark-std", - "fflonk", - "getrandom_or_panic", - "merlin", - "rand_chacha 0.3.1", -] - [[package]] name = "common-path" version = "1.0.0" @@ -1683,7 +1453,7 @@ version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" dependencies = [ - "getrandom 0.2.11", + "getrandom", "once_cell", "tiny-keccak", ] @@ -1895,19 +1665,19 @@ dependencies = [ [[package]] name = "criterion" -version = "0.4.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7c76e09c1aae2bc52b3d2f29e13c6572553b30c4aa1b8a49fd70de6412654cb" +checksum = "f2b12d017a929603d80db1831cd3a24082f8137ce19c69e6447f54f5fc8d692f" dependencies = [ "anes", - "atty", "cast", "ciborium", - "clap 3.2.25", + "clap", "criterion-plot", + "is-terminal", "itertools 0.10.5", - "lazy_static", "num-traits", + "once_cell", "oorandom", "plotters", "rayon", @@ -1984,7 +1754,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" dependencies = [ "generic-array 0.14.7", - "rand_core 0.6.4", + "rand_core", "subtle 2.6.1", "zeroize", ] @@ -1996,7 +1766,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" dependencies = [ "generic-array 0.14.7", - "rand_core 0.6.4", + "rand_core", "typenum", ] @@ -2031,10 +1801,10 @@ dependencies = [ [[package]] name = "cumulus-client-cli" -version = "0.7.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.18.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "clap 4.5.4", + "clap", "parity-scale-codec", "sc-chain-spec", "sc-cli", @@ -2048,8 +1818,8 @@ dependencies = [ [[package]] name = "cumulus-client-collator" -version = "0.7.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.18.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -2071,8 +1841,8 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" -version = "0.7.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.18.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "cumulus-client-collator", @@ -2084,6 +1854,7 @@ dependencies = [ "cumulus-relay-chain-interface", "futures", "parity-scale-codec", + "parking_lot 0.12.3", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-overseer", @@ -2094,6 +1865,7 @@ dependencies = [ "sc-consensus-babe", "sc-consensus-slots", "sc-telemetry", + "sc-utils", "schnellru", "sp-api", "sp-application-crypto", @@ -2108,13 +1880,14 @@ dependencies = [ "sp-state-machine", "sp-timestamp", "substrate-prometheus-endpoint", + "tokio", "tracing", ] [[package]] name = "cumulus-client-consensus-common" -version = "0.7.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.18.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -2136,14 +1909,15 @@ dependencies = [ "sp-runtime", "sp-timestamp", "sp-trie", + "sp-version", "substrate-prometheus-endpoint", "tracing", ] [[package]] name = "cumulus-client-consensus-proposer" -version = "0.7.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.16.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "anyhow", "async-trait", @@ -2157,8 +1931,8 @@ dependencies = [ [[package]] name = "cumulus-client-network" -version = "0.7.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.18.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -2167,21 +1941,24 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", "polkadot-node-primitives", + "polkadot-node-subsystem", "polkadot-parachain-primitives", "polkadot-primitives", "sc-client-api", + "sp-api", "sp-blockchain", "sp-consensus", "sp-core", "sp-runtime", "sp-state-machine", + "sp-version", "tracing", ] [[package]] name = "cumulus-client-parachain-inherent" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.12.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2190,13 +1967,11 @@ dependencies = [ "cumulus-test-relay-sproof-builder", "parity-scale-codec", "sc-client-api", - "scale-info", "sp-api", "sp-crypto-hashing", "sp-inherents", "sp-runtime", "sp-state-machine", - "sp-std", "sp-storage", "sp-trie", "tracing", @@ -2204,8 +1979,8 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" -version = "0.7.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.18.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2217,19 +1992,21 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", - "rand 0.8.5", + "rand", "sc-client-api", "sc-consensus", + "sp-api", "sp-consensus", "sp-maybe-compressed-blob", "sp-runtime", + "sp-version", "tracing", ] [[package]] name = "cumulus-client-service" -version = "0.7.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.19.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -2237,7 +2014,7 @@ dependencies = [ "cumulus-client-network", "cumulus-client-pov-recovery", "cumulus-primitives-core", - "cumulus-primitives-proof-size-hostfunction", + "cumulus-primitives-proof-size-hostfunction 0.10.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch)", "cumulus-relay-chain-inprocess-interface", "cumulus-relay-chain-interface", "cumulus-relay-chain-minimal-node", @@ -2265,8 +2042,8 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" -version = "0.7.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.17.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -2278,19 +2055,18 @@ dependencies = [ "sp-application-crypto", "sp-consensus-aura", "sp-runtime", - "sp-std", ] [[package]] name = "cumulus-pallet-parachain-system" -version = "0.7.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.17.1" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", - "cumulus-primitives-proof-size-hostfunction", + "cumulus-primitives-proof-size-hostfunction 0.10.0 (git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch)", "environmental", "frame-benchmarking", "frame-support", @@ -2313,24 +2089,25 @@ dependencies = [ "sp-trie", "sp-version", "staging-xcm", - "trie-db 0.29.1", + "staging-xcm-builder", + "trie-db", ] [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.6.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] name = "cumulus-pallet-xcm" -version = "0.7.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.17.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2339,14 +2116,13 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", "staging-xcm", ] [[package]] name = "cumulus-pallet-xcmp-queue" -version = "0.7.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.17.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "bounded-collections", "bp-xcm-bridge-hub-router", @@ -2363,29 +2139,24 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", "staging-xcm", + "staging-xcm-builder", "staging-xcm-executor", ] [[package]] name = "cumulus-primitives-aura" -version = "0.7.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.15.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "parity-scale-codec", - "polkadot-core-primitives", - "polkadot-primitives", "sp-api", "sp-consensus-aura", - "sp-runtime", - "sp-std", ] [[package]] name = "cumulus-primitives-core" -version = "0.7.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.16.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2394,15 +2165,14 @@ dependencies = [ "scale-info", "sp-api", "sp-runtime", - "sp-std", "sp-trie", "staging-xcm", ] [[package]] name = "cumulus-primitives-parachain-inherent" -version = "0.7.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.16.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2410,16 +2180,13 @@ dependencies = [ "scale-info", "sp-core", "sp-inherents", - "sp-runtime", - "sp-state-machine", - "sp-std", "sp-trie", ] [[package]] name = "cumulus-primitives-proof-size-hostfunction" -version = "0.2.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.10.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#ff39499e558548a4801c508fd55ee40d66a976e4" dependencies = [ "sp-externalities", "sp-runtime-interface", @@ -2427,22 +2194,45 @@ dependencies = [ ] [[package]] -name = "cumulus-primitives-timestamp" -version = "0.7.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +name = "cumulus-primitives-proof-size-hostfunction" +version = "0.10.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" +dependencies = [ + "sp-externalities", + "sp-runtime-interface", + "sp-trie", +] + +[[package]] +name = "cumulus-primitives-storage-weight-reclaim" +version = "8.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#ff39499e558548a4801c508fd55ee40d66a976e4" dependencies = [ "cumulus-primitives-core", - "futures", + "cumulus-primitives-proof-size-hostfunction 0.10.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409)", + "docify", + "frame-support", + "frame-system", + "log", "parity-scale-codec", + "scale-info", + "sp-runtime", +] + +[[package]] +name = "cumulus-primitives-timestamp" +version = "0.16.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" +dependencies = [ + "cumulus-primitives-core", "sp-inherents", - "sp-std", "sp-timestamp", ] [[package]] name = "cumulus-primitives-utility" -version = "0.7.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.17.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2450,10 +2240,7 @@ dependencies = [ "pallet-asset-conversion", "parity-scale-codec", "polkadot-runtime-common", - "polkadot-runtime-parachains", - "sp-io", "sp-runtime", - "sp-std", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -2461,8 +2248,8 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" -version = "0.7.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.19.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2485,8 +2272,8 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" -version = "0.7.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.18.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2498,29 +2285,23 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-state-machine", + "sp-version", "thiserror", ] [[package]] name = "cumulus-relay-chain-minimal-node" -version = "0.7.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.19.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "array-bytes 6.2.2", + "array-bytes", "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", "cumulus-relay-chain-rpc-interface", "futures", - "parking_lot 0.12.3", - "polkadot-availability-recovery", - "polkadot-collator-protocol", "polkadot-core-primitives", "polkadot-network-bridge", - "polkadot-node-collation-generation", - "polkadot-node-core-chain-api", - "polkadot-node-core-prospective-parachains", - "polkadot-node-core-runtime-api", "polkadot-node-network-protocol", "polkadot-node-subsystem-util", "polkadot-overseer", @@ -2545,8 +2326,8 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-rpc-interface" -version = "0.7.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.18.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2558,7 +2339,7 @@ dependencies = [ "parity-scale-codec", "pin-project", "polkadot-overseer", - "rand 0.8.5", + "rand", "sc-client-api", "sc-rpc-api", "sc-service", @@ -2584,43 +2365,28 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" -version = "0.7.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.16.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", "polkadot-primitives", "sp-runtime", "sp-state-machine", - "sp-std", "sp-trie", ] [[package]] name = "curve25519-dalek" -version = "3.2.0" +version = "4.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b9fdf9972b2bd6af2d913799d9ebc165ea4d2e65878e329d9c6b372c4491b61" -dependencies = [ - "byteorder", - "digest 0.9.0", - "rand_core 0.5.1", - "subtle 2.6.1", - "zeroize", -] - -[[package]] -name = "curve25519-dalek" -version = "4.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e89b8c6a2e4b1f45971ad09761aafb85514a84744b67a95e32c3cc1352d1f65c" +checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" dependencies = [ "cfg-if", "cpufeatures", "curve25519-dalek-derive", "digest 0.10.7", "fiat-crypto", - "platforms 3.2.0", "rustc_version", "subtle 2.6.1", "zeroize", @@ -2634,7 +2400,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] @@ -2645,7 +2411,7 @@ checksum = "1c359b7249347e46fb28804470d071c921156ad62b3eef5d34e2ba867533dec8" dependencies = [ "byteorder", "digest 0.9.0", - "rand_core 0.6.4", + "rand_core", "subtle-ng", "zeroize", ] @@ -2674,7 +2440,7 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] @@ -2691,7 +2457,7 @@ checksum = "5c6888cd161769d65134846d4d4981d5a6654307cc46ec83fb917e530aea5f84" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] @@ -2709,9 +2475,9 @@ dependencies = [ [[package]] name = "data-encoding" -version = "2.5.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" +checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2" [[package]] name = "data-encoding-macro" @@ -2749,7 +2515,21 @@ version = "8.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dbd676fbbab537128ef0278adb5576cf363cff6aa22a7b24effe97347cfab61e" dependencies = [ - "asn1-rs", + "asn1-rs 0.5.2", + "displaydoc", + "nom", + "num-bigint", + "num-traits", + "rusticata-macros", +] + +[[package]] +name = "der-parser" +version = "9.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5cd0a5c643689626bec213c4d8bd4d96acc8ffdb4ad4bb6bc16abf27d5f4b553" +dependencies = [ + "asn1-rs 0.6.2", "displaydoc", "nom", "num-bigint", @@ -2777,17 +2557,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "derive-syn-parse" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e79116f119dd1dba1abf1f3405f03b9b0e79a27a3883864bfebded8a3dc768cd" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "derive-syn-parse" version = "0.2.0" @@ -2796,7 +2565,7 @@ checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] @@ -2809,7 +2578,7 @@ dependencies = [ "proc-macro2", "quote", "rustc_version", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] @@ -2904,23 +2673,7 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", -] - -[[package]] -name = "dleq_vrf" -version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=e9782f9#e9782f938629c90f3adb3fff2358bc8d1386af3e" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-scale", - "ark-secret-scalar", - "ark-serialize", - "ark-std", - "ark-transcript", - "arrayvec 0.7.4", - "zeroize", + "syn 2.0.90", ] [[package]] @@ -2939,14 +2692,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a081e51fb188742f5a7a1164ad752121abcb22874b21e2c3b0dd040c515fdad" dependencies = [ "common-path", - "derive-syn-parse 0.2.0", + "derive-syn-parse", "once_cell", "proc-macro2", "quote", "regex", - "syn 2.0.61", + "syn 2.0.90", "termcolor", - "toml 0.8.12", + "toml 0.8.19", "walkdir", ] @@ -3006,19 +2759,10 @@ dependencies = [ "elliptic-curve", "rfc6979", "serdect", - "signature 2.2.0", + "signature", "spki", ] -[[package]] -name = "ed25519" -version = "1.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91cff35c70bba8a626e3185d8cd48cc11b5437e1a5bcd15b9b5fa3c64b6dfee7" -dependencies = [ - "signature 1.6.4", -] - [[package]] name = "ed25519" version = "2.2.3" @@ -3026,63 +2770,35 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" dependencies = [ "pkcs8", - "signature 2.2.0", -] - -[[package]] -name = "ed25519-dalek" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" -dependencies = [ - "curve25519-dalek 3.2.0", - "ed25519 1.5.3", - "rand 0.7.3", - "serde", - "sha2 0.9.9", - "zeroize", + "signature", ] [[package]] name = "ed25519-dalek" -version = "2.1.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f628eaec48bfd21b865dc2950cfa014450c01d2fa2b69a86c2fd5844ec523c0" +checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" dependencies = [ - "curve25519-dalek 4.1.1", - "ed25519 2.2.3", - "rand_core 0.6.4", + "curve25519-dalek", + "ed25519", + "rand_core", "serde", "sha2 0.10.8", "subtle 2.6.1", "zeroize", ] -[[package]] -name = "ed25519-zebra" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c24f403d068ad0b359e577a77f92392118be3f3c927538f2bb544a5ecd828c6" -dependencies = [ - "curve25519-dalek 3.2.0", - "hashbrown 0.12.3", - "hex", - "rand_core 0.6.4", - "sha2 0.9.9", - "zeroize", -] - [[package]] name = "ed25519-zebra" version = "4.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d9ce6874da5d4415896cd45ffbc4d1cfc0c4f9c079427bd870742c30f2f65a9" dependencies = [ - "curve25519-dalek 4.1.1", - "ed25519 2.2.3", + "curve25519-dalek", + "ed25519", "hashbrown 0.14.3", "hex", - "rand_core 0.6.4", + "rand_core", "sha2 0.10.8", "zeroize", ] @@ -3106,7 +2822,7 @@ dependencies = [ "generic-array 0.14.7", "group", "pkcs8", - "rand_core 0.6.4", + "rand_core", "sec1", "serdect", "subtle 2.6.1", @@ -3140,7 +2856,7 @@ dependencies = [ "heck 0.4.1", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] @@ -3160,18 +2876,18 @@ checksum = "f95e2801cd355d4a1a3e3953ce6ee5ae9603a5c833455343a8bfe3f44d418246" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] name = "enumn" -version = "0.1.12" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2ad8cef1d801a4686bfd8919f0b30eac4c8e48968c437a6405ded4fb5272d2b" +checksum = "2f9ed6b3789237c8a0c1c505af1c7eb2c560df6186f01b098c3a1064ea532f38" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] @@ -3283,7 +2999,7 @@ checksum = "d93877bcde0eb80ca09131a08d23f0a5c18a620b01db137dba666d18cd9b30c2" dependencies = [ "concurrent-queue", "parking", - "pin-project-lite 0.2.13", + "pin-project-lite", ] [[package]] @@ -3294,7 +3010,7 @@ checksum = "84f2cdcf274580f2d63697192d744727b3198894b1bf02923643bf59e2c26712" dependencies = [ "concurrent-queue", "parking", - "pin-project-lite 0.2.13", + "pin-project-lite", ] [[package]] @@ -3304,13 +3020,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3" dependencies = [ "event-listener 4.0.1", - "pin-project-lite 0.2.13", + "pin-project-lite", ] [[package]] name = "evm" -version = "0.41.1" -source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.11.0#84c8e431b653888493a2b81d6443cdce05f07c52" +version = "0.41.2" +source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-stable2409#aeff7f361687b4c6a7fcbe1cf6e4fe5f2aea32b5" dependencies = [ "auto_impl", "environmental", @@ -3330,7 +3046,7 @@ dependencies = [ [[package]] name = "evm-core" version = "0.41.0" -source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.11.0#84c8e431b653888493a2b81d6443cdce05f07c52" +source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-stable2409#aeff7f361687b4c6a7fcbe1cf6e4fe5f2aea32b5" dependencies = [ "parity-scale-codec", "primitive-types", @@ -3341,7 +3057,7 @@ dependencies = [ [[package]] name = "evm-gasometer" version = "0.41.0" -source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.11.0#84c8e431b653888493a2b81d6443cdce05f07c52" +source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-stable2409#aeff7f361687b4c6a7fcbe1cf6e4fe5f2aea32b5" dependencies = [ "environmental", "evm-core", @@ -3352,7 +3068,7 @@ dependencies = [ [[package]] name = "evm-runtime" version = "0.41.0" -source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.11.0#84c8e431b653888493a2b81d6443cdce05f07c52" +source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-stable2409#aeff7f361687b4c6a7fcbe1cf6e4fe5f2aea32b5" dependencies = [ "auto_impl", "environmental", @@ -3372,27 +3088,17 @@ dependencies = [ [[package]] name = "expander" -version = "0.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a718c0675c555c5f976fff4ea9e2c150fa06cefa201cadef87cfbf9324075881" -dependencies = [ - "blake3", - "fs-err", - "proc-macro2", - "quote", -] - -[[package]] -name = "expander" -version = "2.0.0" +version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f86a749cf851891866c10515ef6c299b5c69661465e9c3bbe7e07a2b77fb0f7" +checksum = "e2c470c71d91ecbd179935b24170459e926382eaaa86b590b78814e180d8a8e2" dependencies = [ "blake2 0.10.6", + "file-guard", "fs-err", + "prettyplease 0.2.25", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] @@ -3430,9 +3136,9 @@ checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" [[package]] name = "fatality" -version = "0.0.6" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ad875162843b0d046276327afe0136e9ed3a23d5a754210fb6f1f33610d39ab" +checksum = "ec6f82451ff7f0568c6181287189126d492b5654e30a788add08027b6363d019" dependencies = [ "fatality-proc-macro", "thiserror", @@ -3440,23 +3146,22 @@ dependencies = [ [[package]] name = "fatality-proc-macro" -version = "0.0.6" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5aa1e3ae159e592ad222dc90c5acbad632b527779ba88486abe92782ab268bd" +checksum = "eb42427514b063d97ce21d5199f36c0c307d981434a6be32582bc79fe5bd2303" dependencies = [ - "expander 0.0.4", - "indexmap 1.9.3", - "proc-macro-crate 1.3.1", + "expander", + "indexmap 2.7.0", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 1.0.109", - "thiserror", + "syn 2.0.90", ] [[package]] name = "fc-api" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#45d16ae4c8b32e26fdab8353b704fd59ea0ddb8c" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#18cb0faadc716432df6c9c283bf66ecbfe690acb" dependencies = [ "async-trait", "fp-storage", @@ -3468,7 +3173,7 @@ dependencies = [ [[package]] name = "fc-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#45d16ae4c8b32e26fdab8353b704fd59ea0ddb8c" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#18cb0faadc716432df6c9c283bf66ecbfe690acb" dependencies = [ "async-trait", "fp-consensus", @@ -3484,7 +3189,7 @@ dependencies = [ [[package]] name = "fc-db" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#45d16ae4c8b32e26fdab8353b704fd59ea0ddb8c" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#18cb0faadc716432df6c9c283bf66ecbfe690acb" dependencies = [ "async-trait", "fc-api", @@ -3505,7 +3210,7 @@ dependencies = [ [[package]] name = "fc-mapping-sync" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#45d16ae4c8b32e26fdab8353b704fd59ea0ddb8c" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#18cb0faadc716432df6c9c283bf66ecbfe690acb" dependencies = [ "fc-db", "fc-storage", @@ -3526,7 +3231,7 @@ dependencies = [ [[package]] name = "fc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#45d16ae4c8b32e26fdab8353b704fd59ea0ddb8c" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#18cb0faadc716432df6c9c283bf66ecbfe690acb" dependencies = [ "ethereum", "ethereum-types", @@ -3546,7 +3251,7 @@ dependencies = [ "pallet-evm", "parity-scale-codec", "prometheus", - "rand 0.8.5", + "rand", "rlp", "sc-client-api", "sc-consensus-aura", @@ -3572,6 +3277,7 @@ dependencies = [ "sp-state-machine", "sp-storage", "sp-timestamp", + "sp-trie", "substrate-prometheus-endpoint", "thiserror", "tokio", @@ -3580,7 +3286,7 @@ dependencies = [ [[package]] name = "fc-rpc-core" version = "1.1.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#45d16ae4c8b32e26fdab8353b704fd59ea0ddb8c" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#18cb0faadc716432df6c9c283bf66ecbfe690acb" dependencies = [ "ethereum", "ethereum-types", @@ -3595,7 +3301,7 @@ dependencies = [ [[package]] name = "fc-storage" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#45d16ae4c8b32e26fdab8353b704fd59ea0ddb8c" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#18cb0faadc716432df6c9c283bf66ecbfe690acb" dependencies = [ "ethereum", "ethereum-types", @@ -3625,29 +3331,26 @@ version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" dependencies = [ - "rand_core 0.6.4", + "rand_core", "subtle 2.6.1", ] -[[package]] -name = "fflonk" -version = "0.1.0" -source = "git+https://github.com/w3f/fflonk#1e854f35e9a65d08b11a86291405cdc95baa0a35" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-poly", - "ark-serialize", - "ark-std", - "merlin", -] - [[package]] name = "fiat-crypto" version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "27573eac26f4dd11e2b1916c3fe1baa56407c83c71a773a8ba17ec0bca03b6b7" +[[package]] +name = "file-guard" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21ef72acf95ec3d7dbf61275be556299490a245f017cf084bd23b4f68cf9407c" +dependencies = [ + "libc", + "winapi", +] + [[package]] name = "file-per-thread-logger" version = "0.1.6" @@ -3706,7 +3409,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534" dependencies = [ "byteorder", - "rand 0.8.5", + "rand", "rustc-hex", "static_assertions", ] @@ -3717,17 +3420,6 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" -[[package]] -name = "flate2" -version = "1.0.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e" -dependencies = [ - "crc32fast", - "libz-sys", - "miniz_oxide", -] - [[package]] name = "float-cmp" version = "0.9.0" @@ -3743,6 +3435,12 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +[[package]] +name = "foldhash" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f81ec6369c545a7d40e4589b5597581fa1c441fe1cce96dd1de43159910a36a2" + [[package]] name = "foreign-types" version = "0.3.2" @@ -3760,8 +3458,8 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" -version = "12.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "13.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "parity-scale-codec", ] @@ -3775,10 +3473,20 @@ dependencies = [ "percent-encoding", ] +[[package]] +name = "forwarded-header-value" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8835f84f38484cc86f110a805655697908257fb9a7af005234060891557198e9" +dependencies = [ + "nonempty", + "thiserror", +] + [[package]] name = "fp-account" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#45d16ae4c8b32e26fdab8353b704fd59ea0ddb8c" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#18cb0faadc716432df6c9c283bf66ecbfe690acb" dependencies = [ "hex", "impl-serde", @@ -3791,12 +3499,13 @@ dependencies = [ "sp-io", "sp-runtime", "sp-runtime-interface", + "staging-xcm", ] [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#45d16ae4c8b32e26fdab8353b704fd59ea0ddb8c" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#18cb0faadc716432df6c9c283bf66ecbfe690acb" dependencies = [ "ethereum", "parity-scale-codec", @@ -3807,7 +3516,7 @@ dependencies = [ [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#45d16ae4c8b32e26fdab8353b704fd59ea0ddb8c" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#18cb0faadc716432df6c9c283bf66ecbfe690acb" dependencies = [ "ethereum", "ethereum-types", @@ -3819,8 +3528,9 @@ dependencies = [ [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#45d16ae4c8b32e26fdab8353b704fd59ea0ddb8c" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#18cb0faadc716432df6c9c283bf66ecbfe690acb" dependencies = [ + "environmental", "evm", "frame-support", "num_enum", @@ -3834,7 +3544,7 @@ dependencies = [ [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#45d16ae4c8b32e26fdab8353b704fd59ea0ddb8c" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#18cb0faadc716432df6c9c283bf66ecbfe690acb" dependencies = [ "ethereum", "ethereum-types", @@ -3850,7 +3560,7 @@ dependencies = [ [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#45d16ae4c8b32e26fdab8353b704fd59ea0ddb8c" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#18cb0faadc716432df6c9c283bf66ecbfe690acb" dependencies = [ "frame-support", "parity-scale-codec", @@ -3862,7 +3572,7 @@ dependencies = [ [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#45d16ae4c8b32e26fdab8353b704fd59ea0ddb8c" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#18cb0faadc716432df6c9c283bf66ecbfe690acb" dependencies = [ "parity-scale-codec", "serde", @@ -3876,8 +3586,8 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-support", "frame-support-procedural", @@ -3894,32 +3604,31 @@ dependencies = [ "sp-io", "sp-runtime", "sp-runtime-interface", - "sp-std", "sp-storage", "static_assertions", ] [[package]] name = "frame-benchmarking-cli" -version = "32.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "43.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "Inflector", - "array-bytes 6.2.2", + "array-bytes", "chrono", - "clap 4.5.4", + "clap", "comfy-table", "frame-benchmarking", "frame-support", "frame-system", "gethostname", "handlebars", - "itertools 0.10.5", + "itertools 0.11.0", "lazy_static", "linked-hash-map", "log", "parity-scale-codec", - "rand 0.8.5", + "rand", "rand_pcg", "sc-block-builder", "sc-chain-spec", @@ -3951,19 +3660,19 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" -version = "13.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "14.0.1" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] name = "frame-election-provider-support" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3974,15 +3683,14 @@ dependencies = [ "sp-core", "sp-npos-elections", "sp-runtime", - "sp-std", ] [[package]] name = "frame-executive" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "aquamarine 0.3.3", + "aquamarine", "frame-support", "frame-system", "frame-try-runtime", @@ -3992,7 +3700,6 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", "sp-tracing", ] @@ -4010,10 +3717,10 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.6.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "array-bytes 6.2.2", + "array-bytes", "docify", "frame-support", "frame-system", @@ -4025,8 +3732,8 @@ dependencies = [ [[package]] name = "frame-remote-externalities" -version = "0.35.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.46.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "futures", "indicatif", @@ -4047,11 +3754,11 @@ dependencies = [ [[package]] name = "frame-support" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.2.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "aquamarine 0.5.0", - "array-bytes 6.2.2", + "aquamarine", + "array-bytes", "bitflags 1.3.2", "docify", "environmental", @@ -4088,49 +3795,50 @@ dependencies = [ [[package]] name = "frame-support-procedural" -version = "23.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "30.0.3" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "Inflector", "cfg-expr", - "derive-syn-parse 0.2.0", - "expander 2.0.0", + "derive-syn-parse", + "docify", + "expander", "frame-support-procedural-tools", - "itertools 0.10.5", + "itertools 0.11.0", "macro_magic", - "proc-macro-warning", + "proc-macro-warning 1.0.2", "proc-macro2", "quote", "sp-crypto-hashing", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] name = "frame-support-procedural-tools" -version = "10.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "13.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] name = "frame-support-procedural-tools-derive" -version = "11.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "12.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] name = "frame-system" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "cfg-if", "docify", @@ -4149,8 +3857,8 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4159,28 +3867,27 @@ dependencies = [ "scale-info", "sp-core", "sp-runtime", - "sp-std", ] [[package]] name = "frame-system-rpc-runtime-api" -version = "26.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "34.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ + "docify", "parity-scale-codec", "sp-api", ] [[package]] name = "frame-try-runtime" -version = "0.34.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.44.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-support", "parity-scale-codec", "sp-api", "sp-runtime", - "sp-std", ] [[package]] @@ -4233,6 +3940,16 @@ dependencies = [ "futures-util", ] +[[package]] +name = "futures-bounded" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b07bbbe7d7e78809544c6f718d875627addc73a7c3582447abc052cd3dc67e0" +dependencies = [ + "futures-timer", + "futures-util", +] + [[package]] name = "futures-channel" version = "0.3.30" @@ -4278,7 +3995,7 @@ dependencies = [ "futures-io", "memchr", "parking", - "pin-project-lite 0.2.13", + "pin-project-lite", "waker-fn", ] @@ -4292,7 +4009,7 @@ dependencies = [ "futures-core", "futures-io", "parking", - "pin-project-lite 0.2.13", + "pin-project-lite", ] [[package]] @@ -4303,18 +4020,17 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] name = "futures-rustls" -version = "0.22.2" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2411eed028cdf8c8034eaf21f9915f956b6c3abec4d4c7949ee67f0721127bd" +checksum = "35bd3cf68c183738046838e300353e4716c674dc5e56890de4826801a6622a28" dependencies = [ "futures-io", - "rustls 0.20.9", - "webpki", + "rustls 0.21.10", ] [[package]] @@ -4348,7 +4064,7 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project-lite 0.2.13", + "pin-project-lite", "pin-utils", "slab", ] @@ -4392,17 +4108,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "getrandom" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" -dependencies = [ - "cfg-if", - "libc", - "wasi 0.9.0+wasi-snapshot-preview1", -] - [[package]] name = "getrandom" version = "0.2.11" @@ -4411,7 +4116,7 @@ checksum = "fe9006bed769170c11f845cf00c7c1e9092aeb3f268e007c3e760ac68008070f" dependencies = [ "cfg-if", "libc", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi", ] [[package]] @@ -4420,8 +4125,8 @@ version = "0.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6ea1015b5a70616b688dc230cfe50c8af89d972cb132d5a622814d29773b10b9" dependencies = [ - "rand 0.8.5", - "rand_core 0.6.4", + "rand", + "rand_core", ] [[package]] @@ -4486,7 +4191,7 @@ dependencies = [ "parking_lot 0.12.3", "portable-atomic", "quanta", - "rand 0.8.5", + "rand", "smallvec", "spinning_top", ] @@ -4498,23 +4203,42 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ "ff", - "rand_core 0.6.4", + "rand_core", "subtle 2.6.1", ] [[package]] name = "h2" -version = "0.3.22" +version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d6250322ef6e60f93f9a2162799302cd6f68f79f6e5d85c8c16f14d1d958178" +checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" dependencies = [ "bytes", "fnv", "futures-core", "futures-sink", "futures-util", - "http", - "indexmap 2.1.0", + "http 0.2.11", + "indexmap 2.7.0", + "slab", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "h2" +version = "0.4.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccae279728d634d083c00f6099cb58f01cc99c145b84b8be2f6c74618d79922e" +dependencies = [ + "atomic-waker", + "bytes", + "fnv", + "futures-core", + "futures-sink", + "http 1.2.0", + "indexmap 2.7.0", "slab", "tokio", "tokio-util", @@ -4561,9 +4285,6 @@ name = "hashbrown" version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" -dependencies = [ - "ahash 0.7.7", -] [[package]] name = "hashbrown" @@ -4571,7 +4292,7 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.6", + "ahash", ] [[package]] @@ -4580,11 +4301,22 @@ version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" dependencies = [ - "ahash 0.8.6", + "ahash", "allocator-api2", "serde", ] +[[package]] +name = "hashbrown" +version = "0.15.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" +dependencies = [ + "allocator-api2", + "equivalent", + "foldhash", +] + [[package]] name = "hashlink" version = "0.8.4" @@ -4606,15 +4338,6 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" -[[package]] -name = "hermit-abi" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] - [[package]] name = "hermit-abi" version = "0.3.3" @@ -4709,6 +4432,17 @@ dependencies = [ "itoa", ] +[[package]] +name = "http" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f16ca2af56261c99fba8bac40a10251ce8188205a4c448fbb745a2e4daa76fea" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + [[package]] name = "http-body" version = "0.4.6" @@ -4716,15 +4450,32 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ "bytes", - "http", - "pin-project-lite 0.2.13", + "http 0.2.11", + "pin-project-lite", ] [[package]] -name = "http-range-header" -version = "0.3.1" +name = "http-body" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" +dependencies = [ + "bytes", + "http 1.2.0", +] + +[[package]] +name = "http-body-util" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "add0ab9360ddbd88cfeb3bd9574a1d85cfdfa14db10b3e21d3700dbc4328758f" +checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" +dependencies = [ + "bytes", + "futures-util", + "http 1.2.0", + "http-body 1.0.1", + "pin-project-lite", +] [[package]] name = "httparse" @@ -4749,12 +4500,12 @@ name = "hydra-dx-build-script-utils" version = "1.0.4" dependencies = [ "cargo-lock", - "platforms 1.1.0", + "platforms", ] [[package]] name = "hydra-dx-math" -version = "9.0.0" +version = "9.0.1" dependencies = [ "approx", "criterion", @@ -4763,7 +4514,7 @@ dependencies = [ "parity-scale-codec", "primitive-types", "proptest", - "rand 0.8.5", + "rand", "rand_xoshiro", "rug", "scale-info", @@ -4775,10 +4526,10 @@ dependencies = [ [[package]] name = "hydradx" -version = "14.0.2" +version = "14.1.0" dependencies = [ "async-trait", - "clap 4.5.4", + "clap", "cumulus-client-cli", "cumulus-client-collator", "cumulus-client-consensus-aura", @@ -4863,12 +4614,12 @@ dependencies = [ "substrate-frame-rpc-system", "substrate-prometheus-endpoint", "substrate-state-trie-migration-rpc", - "trie-db 0.28.0", + "trie-db", ] [[package]] name = "hydradx-adapters" -version = "1.4.0" +version = "1.4.1" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -4898,7 +4649,7 @@ dependencies = [ "pallet-referrals", "pallet-route-executor", "pallet-stableswap", - "pallet-staking 4.1.1", + "pallet-staking 4.1.2", "pallet-transaction-multi-payment", "pallet-uniques", "pallet-xyk", @@ -4919,7 +4670,7 @@ dependencies = [ [[package]] name = "hydradx-runtime" -version = "287.0.0" +version = "288.0.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-parachain-system", @@ -4974,7 +4725,7 @@ dependencies = [ "pallet-currencies", "pallet-currencies-rpc-runtime-api", "pallet-dca", - "pallet-democracy 4.3.2", + "pallet-democracy 4.3.3", "pallet-dispatcher", "pallet-duster", "pallet-dynamic-evm-fee", @@ -5012,7 +4763,7 @@ dependencies = [ "pallet-scheduler", "pallet-session", "pallet-stableswap", - "pallet-staking 4.1.1", + "pallet-staking 4.1.2", "pallet-state-trie-migration", "pallet-timestamp", "pallet-tips", @@ -5060,7 +4811,7 @@ dependencies = [ "staging-xcm-builder", "staging-xcm-executor", "substrate-wasm-builder", - "xcm-fee-payment-runtime-api", + "xcm-runtime-apis", ] [[package]] @@ -5078,28 +4829,49 @@ dependencies = [ [[package]] name = "hyper" -version = "0.14.28" +version = "0.14.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf96e135eb83a2a8ddf766e426a841d8ddd7449d5f00d34ea02b41d2f19eef80" +checksum = "8c08302e8fa335b151b788c775ff56e7a03ae64ff85c548ee820fecb70356e85" dependencies = [ "bytes", "futures-channel", "futures-core", "futures-util", - "h2", - "http", - "http-body", + "h2 0.3.26", + "http 0.2.11", + "http-body 0.4.6", "httparse", "httpdate", "itoa", - "pin-project-lite 0.2.13", - "socket2 0.5.5", + "pin-project-lite", + "socket2 0.5.8", "tokio", "tower-service", "tracing", "want", ] +[[package]] +name = "hyper" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97818827ef4f364230e16705d4706e2897df2bb60617d6ca15d598025a3c481f" +dependencies = [ + "bytes", + "futures-channel", + "futures-util", + "h2 0.4.7", + "http 1.2.0", + "http-body 1.0.1", + "httparse", + "httpdate", + "itoa", + "pin-project-lite", + "smallvec", + "tokio", + "want", +] + [[package]] name = "hyper-rustls" version = "0.24.2" @@ -5107,8 +4879,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" dependencies = [ "futures-util", - "http", - "hyper", + "http 0.2.11", + "hyper 0.14.31", "log", "rustls 0.21.10", "rustls-native-certs 0.6.3", @@ -5116,6 +4888,43 @@ dependencies = [ "tokio-rustls 0.24.1", ] +[[package]] +name = "hyper-rustls" +version = "0.27.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08afdbb5c31130e3034af566421053ab03787c640246a446327f550d11bcb333" +dependencies = [ + "futures-util", + "http 1.2.0", + "hyper 1.5.1", + "hyper-util", + "log", + "rustls 0.23.19", + "rustls-pki-types", + "tokio", + "tokio-rustls 0.26.1", + "tower-service", +] + +[[package]] +name = "hyper-util" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4" +dependencies = [ + "bytes", + "futures-channel", + "futures-util", + "http 1.2.0", + "http-body 1.0.1", + "hyper 1.5.1", + "pin-project-lite", + "socket2 0.5.8", + "tokio", + "tower-service", + "tracing", +] + [[package]] name = "iana-time-zone" version = "0.1.58" @@ -5199,6 +5008,25 @@ dependencies = [ "windows", ] +[[package]] +name = "igd-next" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "064d90fec10d541084e7b39ead8875a5a80d9114a2b18791565253bae25f49e4" +dependencies = [ + "async-trait", + "attohttpc", + "bytes", + "futures", + "http 0.2.11", + "hyper 0.14.31", + "log", + "rand", + "tokio", + "url", + "xmltree", +] + [[package]] name = "impl-codec" version = "0.6.0" @@ -5269,12 +5097,12 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.1.0" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" +checksum = "62f822373a4fe84d4bb149bf54e584a7f4abec90e072ed49cda0edea5b95471f" dependencies = [ "equivalent", - "hashbrown 0.14.3", + "hashbrown 0.15.2", ] [[package]] @@ -5335,7 +5163,7 @@ version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ - "hermit-abi 0.3.3", + "hermit-abi", "libc", "windows-sys 0.48.0", ] @@ -5352,7 +5180,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f" dependencies = [ - "socket2 0.5.5", + "socket2 0.5.8", "widestring", "windows-sys 0.48.0", "winreg", @@ -5370,7 +5198,7 @@ version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" dependencies = [ - "hermit-abi 0.3.3", + "hermit-abi", "rustix 0.38.28", "windows-sys 0.48.0", ] @@ -5414,6 +5242,26 @@ version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" +[[package]] +name = "jni" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6df18c2e3db7e453d3c6ac5b3e9d5182664d28788126d39b91f2d1e22b017ec" +dependencies = [ + "cesu8", + "combine", + "jni-sys", + "log", + "thiserror", + "walkdir", +] + +[[package]] +name = "jni-sys" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" + [[package]] name = "jobserver" version = "0.1.27" @@ -5434,9 +5282,9 @@ dependencies = [ [[package]] name = "jsonrpsee" -version = "0.22.5" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfdb12a2381ea5b2e68c3469ec604a007b367778cdb14d09612c8069ebd616ad" +checksum = "c5c71d8c1a731cc4227c2f698d377e7848ca12c8a48866fc5e6951c43a4db843" dependencies = [ "jsonrpsee-core", "jsonrpsee-http-client", @@ -5450,20 +5298,22 @@ dependencies = [ [[package]] name = "jsonrpsee-client-transport" -version = "0.22.5" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4978087a58c3ab02efc5b07c5e5e2803024536106fd5506f558db172c889b3aa" +checksum = "548125b159ba1314104f5bb5f38519e03a41862786aa3925cf349aae9cdd546e" dependencies = [ + "base64 0.22.1", "futures-util", - "http", + "http 1.2.0", "jsonrpsee-core", "pin-project", - "rustls-native-certs 0.7.1", + "rustls 0.23.19", "rustls-pki-types", - "soketto", + "rustls-platform-verifier", + "soketto 0.8.1", "thiserror", "tokio", - "tokio-rustls 0.25.0", + "tokio-rustls 0.26.1", "tokio-util", "tracing", "url", @@ -5471,21 +5321,22 @@ dependencies = [ [[package]] name = "jsonrpsee-core" -version = "0.22.5" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4b257e1ec385e07b0255dde0b933f948b5c8b8c28d42afda9587c3a967b896d" +checksum = "f2882f6f8acb9fdaec7cefc4fd607119a9bd709831df7d7672a1d3b644628280" dependencies = [ - "anyhow", "async-trait", - "beef", + "bytes", "futures-timer", "futures-util", - "hyper", + "http 1.2.0", + "http-body 1.0.1", + "http-body-util", "jsonrpsee-types", "parking_lot 0.12.3", "pin-project", - "rand 0.8.5", - "rustc-hash", + "rand", + "rustc-hash 2.1.0", "serde", "serde_json", "thiserror", @@ -5496,15 +5347,20 @@ dependencies = [ [[package]] name = "jsonrpsee-http-client" -version = "0.22.5" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ccf93fc4a0bfe05d851d37d7c32b7f370fe94336b52a2f0efc5f1981895c2e5" +checksum = "b3638bc4617f96675973253b3a45006933bde93c2fd8a6170b33c777cc389e5b" dependencies = [ "async-trait", - "hyper", - "hyper-rustls", + "base64 0.22.1", + "http-body 1.0.1", + "hyper 1.5.1", + "hyper-rustls 0.27.3", + "hyper-util", "jsonrpsee-core", "jsonrpsee-types", + "rustls 0.23.19", + "rustls-platform-verifier", "serde", "serde_json", "thiserror", @@ -5516,33 +5372,36 @@ dependencies = [ [[package]] name = "jsonrpsee-proc-macros" -version = "0.22.5" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d0bb047e79a143b32ea03974a6bf59b62c2a4c5f5d42a381c907a8bbb3f75c0" +checksum = "c06c01ae0007548e73412c08e2285ffe5d723195bf268bce67b1b77c3bb2a14d" dependencies = [ - "heck 0.4.1", + "heck 0.5.0", "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] name = "jsonrpsee-server" -version = "0.22.5" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12d8b6a9674422a8572e0b0abb12feeb3f2aeda86528c80d0350c2bd0923ab41" +checksum = "82ad8ddc14be1d4290cd68046e7d1d37acd408efed6d3ca08aefcc3ad6da069c" dependencies = [ "futures-util", - "http", - "hyper", + "http 1.2.0", + "http-body 1.0.1", + "http-body-util", + "hyper 1.5.1", + "hyper-util", "jsonrpsee-core", "jsonrpsee-types", "pin-project", "route-recognizer", "serde", "serde_json", - "soketto", + "soketto 0.8.1", "thiserror", "tokio", "tokio-stream", @@ -5553,12 +5412,11 @@ dependencies = [ [[package]] name = "jsonrpsee-types" -version = "0.22.5" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "150d6168405890a7a3231a3c74843f58b8959471f6df76078db2619ddee1d07d" +checksum = "a178c60086f24cc35bb82f57c651d0d25d99c4742b4d335de04e97fa1f08a8a1" dependencies = [ - "anyhow", - "beef", + "http 1.2.0", "serde", "serde_json", "thiserror", @@ -5566,11 +5424,11 @@ dependencies = [ [[package]] name = "jsonrpsee-ws-client" -version = "0.22.5" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58b9db2dfd5bb1194b0ce921504df9ceae210a345bc2f6c5a61432089bbab070" +checksum = "0fe322e0896d0955a3ebdd5bf813571c53fea29edd713bc315b76620b327e86d" dependencies = [ - "http", + "http 1.2.0", "jsonrpsee-client-transport", "jsonrpsee-core", "jsonrpsee-types", @@ -5667,9 +5525,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.154" +version = "0.2.168" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae743338b92ff9146ce83992f766a31066a91a8c84a45e0e9f21e7cf6de6d346" +checksum = "5aaeb2981e0606ca11d79718f8bb01164f1d6ed75080182d3abf017e6d244b6d" [[package]] name = "libloading" @@ -5689,14 +5547,15 @@ checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" [[package]] name = "libp2p" -version = "0.51.4" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f35eae38201a993ece6bdc823292d6abd1bffed1c4d0f4a3517d2bd8e1d917fe" +checksum = "e94495eb319a85b70a68b85e2389a95bb3555c71c49025b78c691a854a7e6464" dependencies = [ "bytes", + "either", "futures", "futures-timer", - "getrandom 0.2.11", + "getrandom", "instant", "libp2p-allow-block-list", "libp2p-connection-limits", @@ -5713,18 +5572,21 @@ dependencies = [ "libp2p-request-response", "libp2p-swarm", "libp2p-tcp", + "libp2p-upnp", "libp2p-wasm-ext", "libp2p-websocket", "libp2p-yamux", - "multiaddr", + "multiaddr 0.18.2", "pin-project", + "rw-stream-sink", + "thiserror", ] [[package]] name = "libp2p-allow-block-list" -version = "0.1.1" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "510daa05efbc25184458db837f6f9a5143888f1caa742426d92e1833ddd38a50" +checksum = "55b46558c5c0bf99d3e2a1a38fd54ff5476ca66dd1737b12466a1824dd219311" dependencies = [ "libp2p-core", "libp2p-identity", @@ -5734,9 +5596,9 @@ dependencies = [ [[package]] name = "libp2p-connection-limits" -version = "0.1.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4caa33f1d26ed664c4fe2cca81a08c8e07d4c1c04f2f4ac7655c2dd85467fda0" +checksum = "2f5107ad45cb20b2f6c3628c7b6014b996fcb13a88053f4569c872c6e30abf58" dependencies = [ "libp2p-core", "libp2p-identity", @@ -5746,9 +5608,9 @@ dependencies = [ [[package]] name = "libp2p-core" -version = "0.39.2" +version = "0.40.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c1df63c0b582aa434fb09b2d86897fa2b419ffeccf934b36f87fcedc8e835c2" +checksum = "dd44289ab25e4c9230d9246c475a22241e301b23e8f4061d3bdef304a1a99713" dependencies = [ "either", "fnv", @@ -5757,50 +5619,53 @@ dependencies = [ "instant", "libp2p-identity", "log", - "multiaddr", - "multihash 0.17.0", + "multiaddr 0.18.2", + "multihash 0.19.1", "multistream-select", "once_cell", "parking_lot 0.12.3", "pin-project", "quick-protobuf", - "rand 0.8.5", + "rand", "rw-stream-sink", "smallvec", "thiserror", - "unsigned-varint", + "unsigned-varint 0.7.2", "void", ] [[package]] name = "libp2p-dns" -version = "0.39.0" +version = "0.40.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "146ff7034daae62077c415c2376b8057368042df6ab95f5432ad5e88568b1554" +checksum = "e6a18db73084b4da2871438f6239fef35190b05023de7656e877c18a00541a3b" dependencies = [ + "async-trait", "futures", "libp2p-core", + "libp2p-identity", "log", "parking_lot 0.12.3", "smallvec", - "trust-dns-resolver 0.22.0", + "trust-dns-resolver", ] [[package]] name = "libp2p-identify" -version = "0.42.2" +version = "0.43.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5455f472243e63b9c497ff320ded0314254a9eb751799a39c283c6f20b793f3c" +checksum = "45a96638a0a176bec0a4bcaebc1afa8cf909b114477209d7456ade52c61cd9cd" dependencies = [ "asynchronous-codec", "either", "futures", + "futures-bounded", "futures-timer", "libp2p-core", "libp2p-identity", "libp2p-swarm", "log", - "lru 0.10.1", + "lru 0.12.5", "quick-protobuf", "quick-protobuf-codec", "smallvec", @@ -5810,27 +5675,27 @@ dependencies = [ [[package]] name = "libp2p-identity" -version = "0.1.3" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "276bb57e7af15d8f100d3c11cbdd32c6752b7eef4ba7a18ecf464972c07abcce" +checksum = "257b5621d159b32282eac446bed6670c39c7dc68a200a992d8f056afa0066f6d" dependencies = [ - "bs58 0.4.0", - "ed25519-dalek 2.1.0", - "log", - "multiaddr", - "multihash 0.17.0", + "bs58 0.5.1", + "ed25519-dalek", + "hkdf", + "multihash 0.19.1", "quick-protobuf", - "rand 0.8.5", + "rand", "sha2 0.10.8", "thiserror", + "tracing", "zeroize", ] [[package]] name = "libp2p-kad" -version = "0.43.3" +version = "0.44.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39d5ef876a2b2323d63c258e63c2f8e36f205fe5a11f0b3095d59635650790ff" +checksum = "16ea178dabba6dde6ffc260a8e0452ccdc8f79becf544946692fff9d412fc29d" dependencies = [ "arrayvec 0.7.4", "asynchronous-codec", @@ -5845,20 +5710,21 @@ dependencies = [ "libp2p-swarm", "log", "quick-protobuf", - "rand 0.8.5", + "quick-protobuf-codec", + "rand", "sha2 0.10.8", "smallvec", "thiserror", "uint", - "unsigned-varint", + "unsigned-varint 0.7.2", "void", ] [[package]] name = "libp2p-mdns" -version = "0.43.1" +version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19983e1f949f979a928f2c603de1cf180cc0dc23e4ac93a62651ccb18341460b" +checksum = "42a2567c305232f5ef54185e9604579a894fd0674819402bb0ac0246da82f52a" dependencies = [ "data-encoding", "futures", @@ -5867,9 +5733,9 @@ dependencies = [ "libp2p-identity", "libp2p-swarm", "log", - "rand 0.8.5", + "rand", "smallvec", - "socket2 0.4.10", + "socket2 0.5.8", "tokio", "trust-dns-proto 0.22.0", "void", @@ -5877,63 +5743,69 @@ dependencies = [ [[package]] name = "libp2p-metrics" -version = "0.12.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a42ec91e227d7d0dafa4ce88b333cdf5f277253873ab087555c92798db2ddd46" +checksum = "239ba7d28f8d0b5d77760dc6619c05c7e88e74ec8fbbe97f856f20a56745e620" dependencies = [ + "instant", "libp2p-core", "libp2p-identify", + "libp2p-identity", "libp2p-kad", "libp2p-ping", "libp2p-swarm", + "once_cell", "prometheus-client", ] [[package]] name = "libp2p-noise" -version = "0.42.2" +version = "0.43.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c3673da89d29936bc6435bafc638e2f184180d554ce844db65915113f86ec5e" +checksum = "d2eeec39ad3ad0677551907dd304b2f13f17208ccebe333bef194076cd2e8921" dependencies = [ "bytes", - "curve25519-dalek 3.2.0", + "curve25519-dalek", "futures", "libp2p-core", "libp2p-identity", "log", + "multiaddr 0.18.2", + "multihash 0.19.1", "once_cell", "quick-protobuf", - "rand 0.8.5", + "rand", "sha2 0.10.8", "snow", "static_assertions", "thiserror", - "x25519-dalek 1.1.1", + "x25519-dalek", "zeroize", ] [[package]] name = "libp2p-ping" -version = "0.42.0" +version = "0.43.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e57759c19c28a73ef1eb3585ca410cefb72c1a709fcf6de1612a378e4219202" +checksum = "e702d75cd0827dfa15f8fd92d15b9932abe38d10d21f47c50438c71dd1b5dae3" dependencies = [ "either", "futures", "futures-timer", "instant", "libp2p-core", + "libp2p-identity", "libp2p-swarm", "log", - "rand 0.8.5", + "rand", "void", ] [[package]] name = "libp2p-quic" -version = "0.7.0-alpha.3" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6b26abd81cd2398382a1edfe739b539775be8a90fa6914f39b2ab49571ec735" +checksum = "130d451d83f21b81eb7b35b360bc7972aeafb15177784adc56528db082e6b927" dependencies = [ "bytes", "futures", @@ -5944,18 +5816,20 @@ dependencies = [ "libp2p-tls", "log", "parking_lot 0.12.3", - "quinn-proto", - "rand 0.8.5", - "rustls 0.20.9", + "quinn 0.10.2", + "rand", + "ring 0.16.20", + "rustls 0.21.10", + "socket2 0.5.8", "thiserror", "tokio", ] [[package]] name = "libp2p-request-response" -version = "0.24.1" +version = "0.25.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ffdb374267d42dc5ed5bc53f6e601d4a64ac5964779c6e40bb9e4f14c1e30d5" +checksum = "d8e3b4d67870478db72bac87bfc260ee6641d0734e0e3e275798f089c3fecfd4" dependencies = [ "async-trait", "futures", @@ -5963,15 +5837,17 @@ dependencies = [ "libp2p-core", "libp2p-identity", "libp2p-swarm", - "rand 0.8.5", + "log", + "rand", "smallvec", + "void", ] [[package]] name = "libp2p-swarm" -version = "0.42.2" +version = "0.43.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "903b3d592d7694e56204d211f29d31bc004be99386644ba8731fc3e3ef27b296" +checksum = "580189e0074af847df90e75ef54f3f30059aedda37ea5a1659e8b9fca05c0141" dependencies = [ "either", "fnv", @@ -5982,7 +5858,9 @@ dependencies = [ "libp2p-identity", "libp2p-swarm-derive", "log", - "rand 0.8.5", + "multistream-select", + "once_cell", + "rand", "smallvec", "tokio", "void", @@ -5990,36 +5868,39 @@ dependencies = [ [[package]] name = "libp2p-swarm-derive" -version = "0.32.0" +version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fba456131824ab6acd4c7bf61e9c0f0a3014b5fc9868ccb8e10d344594cdc4f" +checksum = "c4d5ec2a3df00c7836d7696c136274c9c59705bac69133253696a6c932cd1d74" dependencies = [ "heck 0.4.1", + "proc-macro-warning 0.4.2", + "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.90", ] [[package]] name = "libp2p-tcp" -version = "0.39.0" +version = "0.40.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33d33698596d7722d85d3ab0c86c2c322254fce1241e91208e3679b4eb3026cf" +checksum = "b558dd40d1bcd1aaaed9de898e9ec6a436019ecc2420dd0016e712fbb61c5508" dependencies = [ "futures", "futures-timer", "if-watch", "libc", "libp2p-core", + "libp2p-identity", "log", - "socket2 0.4.10", + "socket2 0.5.8", "tokio", ] [[package]] name = "libp2p-tls" -version = "0.1.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff08d13d0dc66e5e9ba6279c1de417b84fa0d0adc3b03e5732928c180ec02781" +checksum = "8218d1d5482b122ccae396bbf38abdcb283ecc96fa54760e1dfd251f0546ac61" dependencies = [ "futures", "futures-rustls", @@ -6027,51 +5908,69 @@ dependencies = [ "libp2p-identity", "rcgen", "ring 0.16.20", - "rustls 0.20.9", + "rustls 0.21.10", + "rustls-webpki 0.101.7", "thiserror", - "webpki", - "x509-parser 0.14.0", + "x509-parser 0.15.1", "yasna", ] +[[package]] +name = "libp2p-upnp" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82775a47b34f10f787ad3e2a22e2c1541e6ebef4fe9f28f3ac553921554c94c1" +dependencies = [ + "futures", + "futures-timer", + "igd-next", + "libp2p-core", + "libp2p-swarm", + "log", + "tokio", + "void", +] + [[package]] name = "libp2p-wasm-ext" -version = "0.39.0" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77dff9d32353a5887adb86c8afc1de1a94d9e8c3bc6df8b2201d7cdf5c848f43" +checksum = "1e5d8e3a9e07da0ef5b55a9f26c009c8fb3c725d492d8bb4b431715786eea79c" dependencies = [ "futures", "js-sys", "libp2p-core", - "parity-send-wrapper", + "send_wrapper", "wasm-bindgen", "wasm-bindgen-futures", ] [[package]] name = "libp2p-websocket" -version = "0.41.0" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "111273f7b3d3510524c752e8b7a5314b7f7a1fee7e68161c01a7d72cbb06db9f" +checksum = "004ee9c4a4631435169aee6aad2f62e3984dc031c43b6d29731e8e82a016c538" dependencies = [ "either", "futures", "futures-rustls", "libp2p-core", + "libp2p-identity", "log", "parking_lot 0.12.3", - "quicksink", + "pin-project-lite", "rw-stream-sink", - "soketto", + "soketto 0.8.1", + "thiserror", "url", - "webpki-roots", + "webpki-roots 0.25.4", ] [[package]] name = "libp2p-yamux" -version = "0.43.1" +version = "0.44.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dcd21d950662700a385d4c6d68e2f5f54d778e97068cdd718522222ef513bda" +checksum = "8eedcb62824c4300efb9cfd4e2a6edaf3ca097b9e68b36dabe45a44469fd6a85" dependencies = [ "futures", "libp2p-core", @@ -6086,7 +5985,7 @@ version = "0.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.6.0", "libc", "redox_syscall 0.4.1", ] @@ -6119,7 +6018,7 @@ dependencies = [ "libsecp256k1-core", "libsecp256k1-gen-ecmult", "libsecp256k1-gen-genmult", - "rand 0.8.5", + "rand", "serde", "sha2 0.9.9", "typenum", @@ -6230,31 +6129,31 @@ dependencies = [ [[package]] name = "litep2p" -version = "0.5.0" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f02542ae3a94b4c4ffa37dc56388c923e286afa3bf65452e3984b50b2a2f316" +checksum = "0f46c51c205264b834ceed95c8b195026e700494bc3991aaba3b4ea9e20626d9" dependencies = [ "async-trait", "bs58 0.4.0", "bytes", "cid 0.10.1", - "ed25519-dalek 1.0.1", + "ed25519-dalek", "futures", "futures-timer", "hex-literal", - "indexmap 2.1.0", + "indexmap 2.7.0", "libc", "mockall 0.12.1", - "multiaddr", + "multiaddr 0.17.1", "multihash 0.17.0", "network-interface", "nohash-hasher", "parking_lot 0.12.3", "pin-project", - "prost 0.11.9", - "prost-build", - "quinn", - "rand 0.8.5", + "prost 0.12.6", + "prost-build 0.11.9", + "quinn 0.9.4", + "rand", "rcgen", "ring 0.16.20", "rustls 0.20.9", @@ -6263,7 +6162,7 @@ dependencies = [ "simple-dns", "smallvec", "snow", - "socket2 0.5.5", + "socket2 0.5.8", "static_assertions", "str0m", "thiserror", @@ -6272,13 +6171,13 @@ dependencies = [ "tokio-tungstenite", "tokio-util", "tracing", - "trust-dns-resolver 0.23.2", + "trust-dns-resolver", "uint", - "unsigned-varint", + "unsigned-varint 0.8.0", "url", "webpki", - "x25519-dalek 2.0.0", - "x509-parser 0.15.1", + "x25519-dalek", + "x509-parser 0.16.0", "yasna", "zeroize", ] @@ -6301,18 +6200,18 @@ checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" [[package]] name = "lru" -version = "0.10.1" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "718e8fae447df0c7e1ba7f5189829e63fd536945c8988d61444c19039f16b670" -dependencies = [ - "hashbrown 0.13.2", -] +checksum = "a4a83fb7698b3643a0e34f9ae6f2e8f0178c0fd42f8b59d493aa271ff3a5bf21" [[package]] name = "lru" -version = "0.11.1" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a83fb7698b3643a0e34f9ae6f2e8f0178c0fd42f8b59d493aa271ff3a5bf21" +checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38" +dependencies = [ + "hashbrown 0.15.2", +] [[package]] name = "lru-cache" @@ -6354,50 +6253,50 @@ dependencies = [ [[package]] name = "macro_magic" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e03844fc635e92f3a0067e25fa4bf3e3dbf3f2927bf3aa01bb7bc8f1c428949d" +checksum = "cc33f9f0351468d26fbc53d9ce00a096c8522ecb42f19b50f34f2c422f76d21d" dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] name = "macro_magic_core" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "468155613a44cfd825f1fb0ffa532b018253920d404e6fca1e8d43155198a46d" +checksum = "1687dc887e42f352865a393acae7cf79d98fab6351cde1f58e9e057da89bf150" dependencies = [ "const-random", - "derive-syn-parse 0.1.5", + "derive-syn-parse", "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] name = "macro_magic_core_macros" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ea73aa640dc01d62a590d48c0c3521ed739d53b27f919b25c3551e233481654" +checksum = "b02abfe41815b5bd98dbd4260173db2c116dda171dc0fe7838cb206333b83308" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] name = "macro_magic_macros" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef9d79ae96aaba821963320eb2b6e34d17df1e5a83d8a1985c29cc5be59577b3" +checksum = "73ea28ee64b88876bf45277ed9a5817c1817df061a74f2b988971a12570e5869" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] @@ -6409,11 +6308,11 @@ dependencies = [ "basic-toml", "diff", "glob", - "prettyplease 0.2.15", + "prettyplease 0.2.25", "serde", "serde_derive", "serde_json", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] @@ -6519,7 +6418,7 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f313fcff1d2a4bcaa2deeaa00bf7530d77d5f7bd0467a117dde2e29a75a7a17a" dependencies = [ - "array-bytes 6.2.2", + "array-bytes", "blake3", "frame-metadata", "parity-scale-codec", @@ -6535,7 +6434,7 @@ checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d" dependencies = [ "byteorder", "keccak", - "rand_core 0.6.4", + "rand_core", "zeroize", ] @@ -6546,7 +6445,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69672161530e8aeca1d1400fbf3f1a1747ff60ea604265a4e906c2442df20532" dependencies = [ "futures", - "rand 0.8.5", + "rand", "thrift", ] @@ -6567,13 +6466,13 @@ dependencies = [ [[package]] name = "mio" -version = "0.8.10" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f3d0b296e374a4e6f3c7b0a1f5a51d748a0d34c85e7dc48fc3fa9a87657fe09" +checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" dependencies = [ "libc", - "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.48.0", + "wasi", + "windows-sys 0.52.0", ] [[package]] @@ -6587,14 +6486,14 @@ dependencies = [ "bitflags 1.3.2", "blake2 0.10.6", "c2-chacha", - "curve25519-dalek 4.1.1", + "curve25519-dalek", "either", "hashlink", "lioness", "log", "parking_lot 0.12.3", - "rand 0.8.5", - "rand_chacha 0.3.1", + "rand", + "rand_chacha", "rand_distr", "subtle 2.6.1", "thiserror", @@ -6603,8 +6502,8 @@ dependencies = [ [[package]] name = "mmr-gadget" -version = "29.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "40.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "futures", "log", @@ -6622,8 +6521,8 @@ dependencies = [ [[package]] name = "mmr-rpc" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -6686,7 +6585,7 @@ dependencies = [ "cfg-if", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] @@ -6726,7 +6625,26 @@ dependencies = [ "percent-encoding", "serde", "static_assertions", - "unsigned-varint", + "unsigned-varint 0.7.2", + "url", +] + +[[package]] +name = "multiaddr" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe6351f60b488e04c1d21bc69e56b89cb3f5e8f5d22557d6e8031bdfd79b6961" +dependencies = [ + "arrayref", + "byteorder", + "data-encoding", + "libp2p-identity", + "multibase", + "multihash 0.19.1", + "percent-encoding", + "serde", + "static_assertions", + "unsigned-varint 0.8.0", "url", ] @@ -6752,10 +6670,10 @@ dependencies = [ "blake3", "core2", "digest 0.10.7", - "multihash-derive 0.8.0", + "multihash-derive", "sha2 0.10.8", "sha3", - "unsigned-varint", + "unsigned-varint 0.7.2", ] [[package]] @@ -6769,10 +6687,10 @@ dependencies = [ "blake3", "core2", "digest 0.10.7", - "multihash-derive 0.8.0", + "multihash-derive", "sha2 0.10.8", "sha3", - "unsigned-varint", + "unsigned-varint 0.7.2", ] [[package]] @@ -6782,27 +6700,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "076d548d76a0e2a0d4ab471d0b1c36c577786dfc4471242035d97a12a735c492" dependencies = [ "core2", - "unsigned-varint", -] - -[[package]] -name = "multihash-codetable" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6d815ecb3c8238d00647f8630ede7060a642c9f704761cd6082cb4028af6935" -dependencies = [ - "blake2b_simd", - "blake2s_simd", - "blake3", - "core2", - "digest 0.10.7", - "multihash-derive 0.9.0", - "ripemd", - "serde", - "sha1", - "sha2 0.10.8", - "sha3", - "strobe-rs", + "unsigned-varint 0.7.2", ] [[package]] @@ -6816,32 +6714,7 @@ dependencies = [ "proc-macro2", "quote", "syn 1.0.109", - "synstructure", -] - -[[package]] -name = "multihash-derive" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "890e72cb7396cb99ed98c1246a97b243cc16394470d94e0bc8b0c2c11d84290e" -dependencies = [ - "core2", - "multihash 0.19.1", - "multihash-derive-impl", -] - -[[package]] -name = "multihash-derive-impl" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d38685e08adb338659871ecfc6ee47ba9b22dcc8abcf6975d379cc49145c3040" -dependencies = [ - "proc-macro-crate 1.3.1", - "proc-macro-error", - "proc-macro2", - "quote", - "syn 1.0.109", - "synstructure", + "synstructure 0.12.6", ] [[package]] @@ -6852,16 +6725,16 @@ checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" [[package]] name = "multistream-select" -version = "0.12.1" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8552ab875c1313b97b8d20cb857b9fd63e2d1d6a0a1b53ce9821e575405f27a" +checksum = "ea0df8e5eec2298a62b326ee4f0d7fe1a6b90a09dfcf9df37b38f947a8c42f19" dependencies = [ "bytes", "futures", "log", "pin-project", "smallvec", - "unsigned-varint", + "unsigned-varint 0.7.2", ] [[package]] @@ -6897,7 +6770,7 @@ version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7bddcd3bf5144b6392de80e04c347cd7fab2508f6df16a85fc496ecd5cec39bc" dependencies = [ - "rand 0.8.5", + "rand", ] [[package]] @@ -6997,12 +6870,13 @@ dependencies = [ [[package]] name = "nix" -version = "0.27.1" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053" +checksum = "ab2156c4fce2f8df6c499cc1c763e4394b7482525bf2a9701c9d79d215f519e4" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.6.0", "cfg-if", + "cfg_aliases", "libc", ] @@ -7040,6 +6914,12 @@ dependencies = [ "minimal-lexical", ] +[[package]] +name = "nonempty" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9e591e719385e6ebaeb5ce5d3887f7d5676fceca6411d1925ccc95745f3d6f7" + [[package]] name = "nonzero_ext" version = "0.3.0" @@ -7095,6 +6975,12 @@ dependencies = [ "num-traits", ] +[[package]] +name = "num-conv" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" + [[package]] name = "num-format" version = "0.4.4" @@ -7152,7 +7038,7 @@ version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" dependencies = [ - "hermit-abi 0.3.3", + "hermit-abi", "libc", ] @@ -7174,7 +7060,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] @@ -7210,7 +7096,16 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9bedf36ffb6ba96c2eb7144ef6270557b52e54b20c0a8e1eb2ff99a6c6959bff" dependencies = [ - "asn1-rs", + "asn1-rs 0.5.2", +] + +[[package]] +name = "oid-registry" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8d8034d9489cdaf79228eb9f6a3b8d7bb32ba00d6645ebd48eef4077ceb5bd9" +dependencies = [ + "asn1-rs 0.6.2", ] [[package]] @@ -7243,7 +7138,7 @@ version = "0.10.66" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9529f4786b70a3e8c61e11179af17ab6188ad8d0ded78c5529441ed39d4bd9c1" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.6.0", "cfg-if", "foreign-types", "libc", @@ -7260,7 +7155,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] @@ -7299,9 +7194,9 @@ checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" [[package]] name = "orchestra" -version = "0.3.6" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92829eef0328a3d1cd22a02c0e51deb92a5362df3e7d21a4e9bdc38934694e66" +checksum = "41f6bbacc8c189a3f2e45e0fd0436e5d97f194db888e721bdbc3973e7dbed4c2" dependencies = [ "async-trait", "dyn-clonable", @@ -7316,12 +7211,12 @@ dependencies = [ [[package]] name = "orchestra-proc-macro" -version = "0.3.6" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1344346d5af32c95bbddea91b18a88cc83eac394192d20ef2fc4c40a74332355" +checksum = "f7b1d40dd8f367db3c65bec8d3dd47d4a604ee8874480738f93191bddab4e0e0" dependencies = [ - "expander 2.0.0", - "indexmap 2.1.0", + "expander", + "indexmap 2.7.0", "itertools 0.11.0", "petgraph", "proc-macro-crate 3.1.0", @@ -7341,8 +7236,8 @@ dependencies = [ [[package]] name = "orml-benchmarking" -version = "0.12.0" -source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.11.0#0347ec813ce6cf3e1148a3bedcdf4c0a4e85b0da" +version = "1.0.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-stable2409#60b88b84a6abbf8e12a884bf1c3774ff2db1f880" dependencies = [ "frame-benchmarking", "frame-support", @@ -7362,8 +7257,8 @@ dependencies = [ [[package]] name = "orml-tokens" -version = "0.12.0" -source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.11.0#0347ec813ce6cf3e1148a3bedcdf4c0a4e85b0da" +version = "1.0.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-stable2409#60b88b84a6abbf8e12a884bf1c3774ff2db1f880" dependencies = [ "frame-support", "frame-system", @@ -7379,8 +7274,8 @@ dependencies = [ [[package]] name = "orml-traits" -version = "0.12.0" -source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.11.0#0347ec813ce6cf3e1148a3bedcdf4c0a4e85b0da" +version = "1.0.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-stable2409#60b88b84a6abbf8e12a884bf1c3774ff2db1f880" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -7399,8 +7294,8 @@ dependencies = [ [[package]] name = "orml-unknown-tokens" -version = "0.12.0" -source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.11.0#0347ec813ce6cf3e1148a3bedcdf4c0a4e85b0da" +version = "1.0.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-stable2409#60b88b84a6abbf8e12a884bf1c3774ff2db1f880" dependencies = [ "frame-support", "frame-system", @@ -7414,8 +7309,8 @@ dependencies = [ [[package]] name = "orml-utilities" -version = "0.12.0" -source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.11.0#0347ec813ce6cf3e1148a3bedcdf4c0a4e85b0da" +version = "1.0.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-stable2409#60b88b84a6abbf8e12a884bf1c3774ff2db1f880" dependencies = [ "frame-support", "parity-scale-codec", @@ -7429,8 +7324,8 @@ dependencies = [ [[package]] name = "orml-vesting" -version = "0.12.0" -source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.11.0#0347ec813ce6cf3e1148a3bedcdf4c0a4e85b0da" +version = "1.0.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-stable2409#60b88b84a6abbf8e12a884bf1c3774ff2db1f880" dependencies = [ "frame-support", "frame-system", @@ -7444,8 +7339,8 @@ dependencies = [ [[package]] name = "orml-xcm" -version = "0.12.0" -source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.11.0#0347ec813ce6cf3e1148a3bedcdf4c0a4e85b0da" +version = "1.0.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-stable2409#60b88b84a6abbf8e12a884bf1c3774ff2db1f880" dependencies = [ "frame-support", "frame-system", @@ -7458,8 +7353,8 @@ dependencies = [ [[package]] name = "orml-xcm-support" -version = "0.12.0" -source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.11.0#0347ec813ce6cf3e1148a3bedcdf4c0a4e85b0da" +version = "1.0.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-stable2409#60b88b84a6abbf8e12a884bf1c3774ff2db1f880" dependencies = [ "frame-support", "orml-traits", @@ -7472,8 +7367,8 @@ dependencies = [ [[package]] name = "orml-xtokens" -version = "0.12.0" -source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.11.0#0347ec813ce6cf3e1148a3bedcdf4c0a4e85b0da" +version = "1.0.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-stable2409#60b88b84a6abbf8e12a884bf1c3774ff2db1f880" dependencies = [ "frame-support", "frame-system", @@ -7491,12 +7386,6 @@ dependencies = [ "staging-xcm-executor", ] -[[package]] -name = "os_str_bytes" -version = "6.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2355d85b9a3786f481747ced0e0ff2ba35213a1f9bd406ed906554d7af805a1" - [[package]] name = "overload" version = "0.1.1" @@ -7505,8 +7394,8 @@ checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" [[package]] name = "pallet-asset-conversion" -version = "10.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "20.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -7519,13 +7408,12 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-asset-rate" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "17.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -7534,12 +7422,11 @@ dependencies = [ "scale-info", "sp-core", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-asset-registry" -version = "3.3.0" +version = "3.3.1" dependencies = [ "frame-benchmarking", "frame-support", @@ -7567,8 +7454,8 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -7580,29 +7467,28 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-assets" -version = "29.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "40.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "impl-trait-for-tuples", "log", "parity-scale-codec", "scale-info", "sp-core", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-aura" -version = "27.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "37.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-support", "frame-system", @@ -7613,13 +7499,12 @@ dependencies = [ "sp-application-crypto", "sp-consensus-aura", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-authority-discovery" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-support", "frame-system", @@ -7629,13 +7514,12 @@ dependencies = [ "sp-application-crypto", "sp-authority-discovery", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-authorship" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-support", "frame-system", @@ -7643,13 +7527,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-babe" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -7667,15 +7550,14 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std", ] [[package]] name = "pallet-bags-list" -version = "27.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "37.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "aquamarine 0.5.0", + "aquamarine", "docify", "frame-benchmarking", "frame-election-provider-support", @@ -7688,14 +7570,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", "sp-tracing", ] [[package]] name = "pallet-balances" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "39.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "docify", "frame-benchmarking", @@ -7705,13 +7586,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-beefy" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "39.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-support", "frame-system", @@ -7725,16 +7605,16 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std", ] [[package]] name = "pallet-beefy-mmr" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "39.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "array-bytes 6.2.2", + "array-bytes", "binary-merkle-tree", + "frame-benchmarking", "frame-support", "frame-system", "log", @@ -7750,12 +7630,11 @@ dependencies = [ "sp-io", "sp-runtime", "sp-state-machine", - "sp-std", ] [[package]] name = "pallet-bonds" -version = "2.2.4" +version = "2.2.5" dependencies = [ "frame-benchmarking", "frame-support", @@ -7779,8 +7658,8 @@ dependencies = [ [[package]] name = "pallet-bounties" -version = "27.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "37.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -7792,12 +7671,11 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-broadcast" -version = "1.0.1" +version = "1.0.2" dependencies = [ "frame-support", "frame-support-procedural", @@ -7817,8 +7695,8 @@ dependencies = [ [[package]] name = "pallet-broker" -version = "0.6.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.17.2" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "bitvec", "frame-benchmarking", @@ -7831,13 +7709,12 @@ dependencies = [ "sp-arithmetic", "sp-core", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-child-bounties" -version = "27.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "37.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -7850,12 +7727,11 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-circuit-breaker" -version = "1.1.29" +version = "1.1.30" dependencies = [ "frame-benchmarking", "frame-support", @@ -7881,7 +7757,7 @@ dependencies = [ [[package]] name = "pallet-claims" -version = "3.4.12" +version = "3.4.13" dependencies = [ "frame-benchmarking", "frame-support", @@ -7903,7 +7779,7 @@ dependencies = [ [[package]] name = "pallet-collator-rewards" -version = "1.0.9" +version = "1.0.10" dependencies = [ "frame-benchmarking", "frame-support", @@ -7927,8 +7803,8 @@ dependencies = [ [[package]] name = "pallet-collator-selection" -version = "9.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "19.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -7938,17 +7814,16 @@ dependencies = [ "pallet-balances", "pallet-session", "parity-scale-codec", - "rand 0.8.5", + "rand", "scale-info", "sp-runtime", "sp-staking", - "sp-std", ] [[package]] name = "pallet-collective" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -7959,13 +7834,12 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-conviction-voting" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "assert_matches", "frame-benchmarking", @@ -7976,12 +7850,11 @@ dependencies = [ "serde", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-currencies" -version = "3.0.0" +version = "3.0.1" dependencies = [ "frame-support", "frame-system", @@ -8012,7 +7885,7 @@ dependencies = [ [[package]] name = "pallet-dca" -version = "1.8.3" +version = "1.8.4" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -8037,7 +7910,7 @@ dependencies = [ "pretty_assertions", "primitive-types", "primitives", - "rand 0.8.5", + "rand", "scale-info", "smallvec", "sp-api", @@ -8050,9 +7923,24 @@ dependencies = [ "test-utils", ] +[[package]] +name = "pallet-delegated-staking" +version = "5.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" +dependencies = [ + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-io", + "sp-runtime", + "sp-staking", +] + [[package]] name = "pallet-democracy" -version = "4.3.2" +version = "4.3.3" dependencies = [ "frame-benchmarking", "frame-support", @@ -8072,8 +7960,8 @@ dependencies = [ [[package]] name = "pallet-democracy" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -8085,7 +7973,6 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] @@ -8109,7 +7996,7 @@ dependencies = [ [[package]] name = "pallet-duster" -version = "3.2.7" +version = "3.2.8" dependencies = [ "frame-benchmarking", "frame-support", @@ -8133,7 +8020,7 @@ dependencies = [ [[package]] name = "pallet-dynamic-evm-fee" -version = "1.0.5" +version = "1.0.6" dependencies = [ "frame-benchmarking", "frame-support", @@ -8160,7 +8047,7 @@ dependencies = [ [[package]] name = "pallet-dynamic-fees" -version = "2.0.0" +version = "2.0.1" dependencies = [ "frame-benchmarking", "frame-support", @@ -8180,8 +8067,8 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" -version = "27.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "37.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8190,21 +8077,20 @@ dependencies = [ "log", "pallet-election-provider-support-benchmarking", "parity-scale-codec", - "rand 0.8.5", + "rand", "scale-info", "sp-arithmetic", "sp-core", "sp-io", "sp-npos-elections", "sp-runtime", - "sp-std", "strum 0.26.3", ] [[package]] name = "pallet-election-provider-support-benchmarking" -version = "27.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "37.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8212,13 +8098,12 @@ dependencies = [ "parity-scale-codec", "sp-npos-elections", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-elections-phragmen" -version = "29.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "39.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -8231,12 +8116,11 @@ dependencies = [ "sp-npos-elections", "sp-runtime", "sp-staking", - "sp-std", ] [[package]] name = "pallet-ema-oracle" -version = "1.4.1" +version = "1.4.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -8262,7 +8146,7 @@ dependencies = [ [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#45d16ae4c8b32e26fdab8353b704fd59ea0ddb8c" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#18cb0faadc716432df6c9c283bf66ecbfe690acb" dependencies = [ "environmental", "ethereum", @@ -8280,13 +8164,15 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", + "sp-version", ] [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#45d16ae4c8b32e26fdab8353b704fd59ea0ddb8c" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#18cb0faadc716432df6c9c283bf66ecbfe690acb" dependencies = [ + "cumulus-primitives-storage-weight-reclaim", "environmental", "evm", "fp-account", @@ -8295,12 +8181,10 @@ dependencies = [ "frame-support", "frame-system", "hash-db", - "hex", "hex-literal", "impl-trait-for-tuples", "log", "parity-scale-codec", - "rlp", "scale-info", "sp-core", "sp-io", @@ -8309,7 +8193,7 @@ dependencies = [ [[package]] name = "pallet-evm-accounts" -version = "1.2.1" +version = "1.2.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -8337,7 +8221,7 @@ dependencies = [ [[package]] name = "pallet-evm-chain-id" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#45d16ae4c8b32e26fdab8353b704fd59ea0ddb8c" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#18cb0faadc716432df6c9c283bf66ecbfe690acb" dependencies = [ "frame-support", "frame-system", @@ -8348,7 +8232,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-blake2" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#45d16ae4c8b32e26fdab8353b704fd59ea0ddb8c" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#18cb0faadc716432df6c9c283bf66ecbfe690acb" dependencies = [ "fp-evm", ] @@ -8356,7 +8240,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-bn128" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#45d16ae4c8b32e26fdab8353b704fd59ea0ddb8c" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#18cb0faadc716432df6c9c283bf66ecbfe690acb" dependencies = [ "fp-evm", "sp-core", @@ -8365,7 +8249,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-call-permit" -version = "0.1.3" +version = "0.1.4" dependencies = [ "derive_more", "evm", @@ -8395,7 +8279,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-dispatch" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#45d16ae4c8b32e26fdab8353b704fd59ea0ddb8c" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#18cb0faadc716432df6c9c283bf66ecbfe690acb" dependencies = [ "fp-evm", "frame-support", @@ -8407,7 +8291,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-modexp" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#45d16ae4c8b32e26fdab8353b704fd59ea0ddb8c" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#18cb0faadc716432df6c9c283bf66ecbfe690acb" dependencies = [ "fp-evm", "num", @@ -8416,7 +8300,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-simple" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.11.0#45d16ae4c8b32e26fdab8353b704fd59ea0ddb8c" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#18cb0faadc716432df6c9c283bf66ecbfe690acb" dependencies = [ "fp-evm", "ripemd", @@ -8425,8 +8309,8 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" -version = "27.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "37.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "docify", "frame-benchmarking", @@ -8439,12 +8323,11 @@ dependencies = [ "sp-io", "sp-runtime", "sp-staking", - "sp-std", ] [[package]] name = "pallet-genesis-history" -version = "2.1.5" +version = "2.1.6" dependencies = [ "derive_more", "frame-support", @@ -8462,8 +8345,8 @@ dependencies = [ [[package]] name = "pallet-grandpa" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -8480,13 +8363,12 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std", ] [[package]] name = "pallet-identity" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "enumflags2", "frame-benchmarking", @@ -8497,13 +8379,12 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-im-online" -version = "27.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "37.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -8517,13 +8398,12 @@ dependencies = [ "sp-io", "sp-runtime", "sp-staking", - "sp-std", ] [[package]] name = "pallet-indices" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -8534,12 +8414,11 @@ dependencies = [ "sp-io", "sp-keyring", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-lbp" -version = "4.10.0" +version = "4.10.1" dependencies = [ "frame-benchmarking", "frame-support", @@ -8565,7 +8444,7 @@ dependencies = [ [[package]] name = "pallet-liquidation" -version = "1.0.3" +version = "1.0.4" dependencies = [ "ethabi", "evm", @@ -8603,7 +8482,7 @@ dependencies = [ [[package]] name = "pallet-liquidity-mining" -version = "4.4.5" +version = "4.4.6" dependencies = [ "fixed", "frame-support", @@ -8617,7 +8496,7 @@ dependencies = [ "pretty_assertions", "primitives", "proptest", - "rand 0.8.5", + "rand", "scale-info", "sp-arithmetic", "sp-core", @@ -8629,8 +8508,8 @@ dependencies = [ [[package]] name = "pallet-membership" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -8641,13 +8520,12 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-message-queue" -version = "31.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "41.0.2" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "environmental", "frame-benchmarking", @@ -8660,14 +8538,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", "sp-weights", ] [[package]] name = "pallet-mmr" -version = "27.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -8679,13 +8556,12 @@ dependencies = [ "sp-io", "sp-mmr-primitives", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-multisig" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -8695,12 +8571,11 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-nft" -version = "7.1.5" +version = "7.1.6" dependencies = [ "frame-benchmarking", "frame-support", @@ -8720,8 +8595,8 @@ dependencies = [ [[package]] name = "pallet-nis" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -8731,13 +8606,12 @@ dependencies = [ "sp-arithmetic", "sp-core", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-nomination-pools" -version = "25.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "35.0.2" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-support", "frame-system", @@ -8749,45 +8623,43 @@ dependencies = [ "sp-io", "sp-runtime", "sp-staking", - "sp-std", "sp-tracing", ] [[package]] name = "pallet-nomination-pools-benchmarking" -version = "26.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "36.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", "frame-support", "frame-system", "pallet-bags-list", + "pallet-delegated-staking", "pallet-nomination-pools", - "pallet-staking 28.0.0", + "pallet-staking 38.0.0", "parity-scale-codec", "scale-info", "sp-runtime", "sp-runtime-interface", "sp-staking", - "sp-std", ] [[package]] name = "pallet-nomination-pools-runtime-api" -version = "23.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "33.0.2" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", "sp-api", - "sp-std", ] [[package]] name = "pallet-offences" -version = "27.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "37.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-support", "frame-system", @@ -8798,13 +8670,12 @@ dependencies = [ "serde", "sp-runtime", "sp-staking", - "sp-std", ] [[package]] name = "pallet-offences-benchmarking" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8817,17 +8688,16 @@ dependencies = [ "pallet-im-online", "pallet-offences", "pallet-session", - "pallet-staking 28.0.0", + "pallet-staking 38.0.0", "parity-scale-codec", "scale-info", "sp-runtime", "sp-staking", - "sp-std", ] [[package]] name = "pallet-omnipool" -version = "5.0.0" +version = "5.0.1" dependencies = [ "bitflags 1.3.2", "frame-benchmarking", @@ -8856,7 +8726,7 @@ dependencies = [ [[package]] name = "pallet-omnipool-liquidity-mining" -version = "2.6.3" +version = "2.6.4" dependencies = [ "frame-benchmarking", "frame-support", @@ -8886,7 +8756,7 @@ dependencies = [ [[package]] name = "pallet-otc" -version = "2.1.1" +version = "2.1.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -8909,7 +8779,7 @@ dependencies = [ [[package]] name = "pallet-otc-settlements" -version = "1.1.2" +version = "1.1.3" dependencies = [ "frame-benchmarking", "frame-support", @@ -8942,8 +8812,8 @@ dependencies = [ [[package]] name = "pallet-parameters" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.9.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "docify", "frame-benchmarking", @@ -8955,13 +8825,12 @@ dependencies = [ "serde", "sp-core", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-preimage" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -8972,13 +8841,12 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-proxy" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -8987,13 +8855,12 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-ranked-collective" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.2.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -9006,13 +8873,12 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-recovery" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -9021,13 +8887,12 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-referenda" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "assert_matches", "frame-benchmarking", @@ -9040,12 +8905,11 @@ dependencies = [ "sp-arithmetic", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-referrals" -version = "1.2.8" +version = "1.2.9" dependencies = [ "frame-benchmarking", "frame-support", @@ -9067,7 +8931,7 @@ dependencies = [ [[package]] name = "pallet-relaychain-info" -version = "0.3.5" +version = "0.3.6" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -9081,8 +8945,8 @@ dependencies = [ [[package]] name = "pallet-root-testing" -version = "4.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "14.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-support", "frame-system", @@ -9091,12 +8955,11 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-route-executor" -version = "2.7.1" +version = "2.7.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -9123,8 +8986,8 @@ dependencies = [ [[package]] name = "pallet-scheduler" -version = "29.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "39.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "docify", "frame-benchmarking", @@ -9135,14 +8998,13 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", "sp-weights", ] [[package]] name = "pallet-session" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-support", "frame-system", @@ -9157,48 +9019,45 @@ dependencies = [ "sp-session", "sp-staking", "sp-state-machine", - "sp-std", "sp-trie", ] [[package]] name = "pallet-session-benchmarking" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "pallet-session", - "pallet-staking 28.0.0", + "pallet-staking 38.0.0", "parity-scale-codec", - "rand 0.8.5", + "rand", "sp-runtime", "sp-session", - "sp-std", ] [[package]] name = "pallet-society" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "log", "parity-scale-codec", - "rand_chacha 0.2.2", + "rand_chacha", "scale-info", "sp-arithmetic", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-stableswap" -version = "4.3.0" +version = "4.3.1" dependencies = [ "bitflags 1.3.2", "frame-benchmarking", @@ -9225,7 +9084,7 @@ dependencies = [ [[package]] name = "pallet-staking" -version = "4.1.1" +version = "4.1.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -9236,7 +9095,7 @@ dependencies = [ "orml-traits", "pallet-balances", "pallet-conviction-voting", - "pallet-democracy 4.3.2", + "pallet-democracy 4.3.3", "pallet-referenda", "pallet-uniques", "parity-scale-codec", @@ -9251,8 +9110,8 @@ dependencies = [ [[package]] name = "pallet-staking" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -9262,31 +9121,19 @@ dependencies = [ "pallet-authorship", "pallet-session", "parity-scale-codec", - "rand_chacha 0.2.2", + "rand_chacha", "scale-info", "serde", "sp-application-crypto", "sp-io", "sp-runtime", "sp-staking", - "sp-std", -] - -[[package]] -name = "pallet-staking-reward-curve" -version = "11.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" -dependencies = [ - "proc-macro-crate 3.1.0", - "proc-macro2", - "quote", - "syn 2.0.61", ] [[package]] name = "pallet-staking-reward-fn" -version = "19.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "22.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "log", "sp-arithmetic", @@ -9294,8 +9141,8 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" -version = "14.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "24.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "parity-scale-codec", "sp-api", @@ -9304,8 +9151,8 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" -version = "29.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "40.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -9316,13 +9163,12 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-sudo" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "docify", "frame-benchmarking", @@ -9332,13 +9178,12 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-timestamp" -version = "27.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "37.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "docify", "frame-benchmarking", @@ -9350,15 +9195,14 @@ dependencies = [ "sp-inherents", "sp-io", "sp-runtime", - "sp-std", "sp-storage", "sp-timestamp", ] [[package]] name = "pallet-tips" -version = "27.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "37.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -9371,12 +9215,11 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-transaction-multi-payment" -version = "10.1.4" +version = "10.1.5" dependencies = [ "frame-support", "frame-system", @@ -9404,7 +9247,7 @@ dependencies = [ [[package]] name = "pallet-transaction-pause" -version = "1.1.0" +version = "1.1.1" dependencies = [ "frame-benchmarking", "frame-support", @@ -9425,8 +9268,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.2" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-support", "frame-system", @@ -9436,13 +9279,12 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-transaction-payment-rpc" -version = "30.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "41.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -9457,8 +9299,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -9469,8 +9311,8 @@ dependencies = [ [[package]] name = "pallet-treasury" -version = "27.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "37.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "docify", "frame-benchmarking", @@ -9483,13 +9325,12 @@ dependencies = [ "serde", "sp-core", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-uniques" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -9498,13 +9339,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-utility" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -9515,13 +9355,12 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-vesting" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -9530,13 +9369,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-whitelist" -version = "27.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "37.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -9545,13 +9383,12 @@ dependencies = [ "scale-info", "sp-api", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-xcm" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "17.0.1" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "bounded-collections", "frame-benchmarking", @@ -9565,17 +9402,17 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", - "xcm-fee-payment-runtime-api", + "tracing", + "xcm-runtime-apis", ] [[package]] name = "pallet-xcm-benchmarks" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "17.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-benchmarking", "frame-support", @@ -9585,7 +9422,6 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -9593,7 +9429,7 @@ dependencies = [ [[package]] name = "pallet-xyk" -version = "6.7.0" +version = "6.7.1" dependencies = [ "frame-benchmarking", "frame-support", @@ -9620,7 +9456,7 @@ dependencies = [ [[package]] name = "pallet-xyk-liquidity-mining" -version = "1.4.1" +version = "1.4.2" dependencies = [ "frame-support", "frame-system", @@ -9645,8 +9481,8 @@ dependencies = [ [[package]] name = "parachains-common" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", @@ -9667,7 +9503,6 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", "staging-parachain-info", "staging-xcm", "staging-xcm-executor", @@ -9681,8 +9516,8 @@ 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", + "rand", + "rand_core", "serde", "unicode-normalization", ] @@ -9702,7 +9537,7 @@ dependencies = [ "lz4", "memmap2 0.5.10", "parking_lot 0.12.3", - "rand 0.8.5", + "rand", "siphasher", "snap", "winapi", @@ -9710,9 +9545,9 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.6.9" +version = "3.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "881331e34fa842a2fb61cc2db9643a8fedc615e47cfcc52597d1af0db9a7e8fe" +checksum = "306800abfa29c7f16596b5970a588435e3d5b3149683d00c12b699cc19f895ee" dependencies = [ "arrayvec 0.7.4", "bitvec", @@ -9725,22 +9560,16 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "3.6.9" +version = "3.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be30eaf4b0a9fba5336683b38de57bb86d179a35862ba6bfcf57625d006bde5b" +checksum = "d830939c76d294956402033aee57a6da7b438f2294eb94864c37b0569053a42c" dependencies = [ - "proc-macro-crate 2.0.0", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", "syn 1.0.109", ] -[[package]] -name = "parity-send-wrapper" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa9777aa91b8ad9dd5aaa04a9b6bcb02c7f1deb952fca5a66034d5e63afc5c6f" - [[package]] name = "parity-wasm" version = "0.45.0" @@ -9814,15 +9643,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "346f04948ba92c43e8469c1ee6736c7563d71012b17d40745260fe106aac2166" dependencies = [ "base64ct", - "rand_core 0.6.4", + "rand_core", "subtle 2.6.1", ] [[package]] name = "paste" -version = "1.0.14" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" +checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" [[package]] name = "pbkdf2" @@ -9886,7 +9715,7 @@ dependencies = [ "pest_meta", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] @@ -9907,7 +9736,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" dependencies = [ "fixedbitset", - "indexmap 2.1.0", + "indexmap 2.7.0", ] [[package]] @@ -9927,15 +9756,9 @@ checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] -[[package]] -name = "pin-project-lite" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" - [[package]] name = "pin-project-lite" version = "0.2.13" @@ -9981,12 +9804,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "989d43012e2ca1c4a02507c67282691a0a3207f9dc67cec596b43fe925b3d325" -[[package]] -name = "platforms" -version = "3.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14e6ab3f592e6fb464fc9712d8d6e6912de6473954635fd76a589d832cffcbb0" - [[package]] name = "plotters" version = "0.3.5" @@ -10017,13 +9834,13 @@ dependencies = [ [[package]] name = "polkadot-approval-distribution" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.2.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "bitvec", "futures", "futures-timer", - "itertools 0.10.5", + "itertools 0.11.0", "polkadot-node-jaeger", "polkadot-node-metrics", "polkadot-node-network-protocol", @@ -10031,14 +9848,14 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", + "rand", "tracing-gum", ] [[package]] name = "polkadot-availability-bitfield-distribution" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "always-assert", "futures", @@ -10047,14 +9864,14 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", + "rand", "tracing-gum", ] [[package]] name = "polkadot-availability-distribution" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "derive_more", "fatality", @@ -10066,7 +9883,8 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", + "rand", + "sc-network", "schnellru", "sp-core", "sp-keystore", @@ -10076,8 +9894,8 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "fatality", @@ -10089,7 +9907,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", + "rand", "sc-network", "schnellru", "thiserror", @@ -10097,13 +9915,23 @@ dependencies = [ "tracing-gum", ] +[[package]] +name = "polkadot-ckb-merkle-mountain-range" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4b44320e5f7ce2c18227537a3032ae5b2c476a7e8eddba45333e1011fc31b92" +dependencies = [ + "cfg-if", + "itertools 0.10.5", +] + [[package]] name = "polkadot-cli" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "19.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "cfg-if", - "clap 4.5.4", + "clap", "frame-benchmarking-cli", "futures", "log", @@ -10127,8 +9955,8 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "bitvec", "fatality", @@ -10139,6 +9967,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", + "schnellru", "sp-core", "sp-keystore", "sp-runtime", @@ -10149,26 +9978,25 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "15.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "parity-scale-codec", "scale-info", "sp-core", "sp-runtime", - "sp-std", ] [[package]] name = "polkadot-dispute-distribution" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "derive_more", "fatality", "futures", "futures-timer", - "indexmap 2.1.0", + "indexmap 2.7.0", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -10186,8 +10014,8 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "16.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -10200,8 +10028,8 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "futures", "futures-timer", @@ -10209,8 +10037,8 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", - "rand_chacha 0.3.1", + "rand", + "rand_chacha", "sc-network", "sc-network-common", "sp-application-crypto", @@ -10222,8 +10050,8 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "always-assert", "async-trait", @@ -10245,8 +10073,8 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "futures", "parity-scale-codec", @@ -10263,14 +10091,14 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.2.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "bitvec", "derive_more", "futures", "futures-timer", - "itertools 0.10.5", + "itertools 0.11.0", "kvdb", "merlin", "parity-scale-codec", @@ -10280,9 +10108,9 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rand_core 0.6.4", + "rand", + "rand_chacha", + "rand_core", "sc-keystore", "schnellru", "schnorrkel 0.11.4", @@ -10296,8 +10124,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "bitvec", "futures", @@ -10318,8 +10146,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "bitvec", "fatality", @@ -10338,8 +10166,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "futures", "polkadot-node-subsystem", @@ -10353,8 +10181,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "futures", @@ -10368,14 +10196,15 @@ dependencies = [ "polkadot-overseer", "polkadot-parachain-primitives", "polkadot-primitives", - "sp-maybe-compressed-blob", + "sp-application-crypto", + "sp-keystore", "tracing-gum", ] [[package]] name = "polkadot-node-core-chain-api" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "futures", "polkadot-node-metrics", @@ -10388,8 +10217,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "futures", "futures-timer", @@ -10405,8 +10234,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "fatality", "futures", @@ -10424,8 +10253,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "futures", @@ -10441,14 +10270,11 @@ dependencies = [ [[package]] name = "polkadot-node-core-prospective-parachains" -version = "6.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "17.0.1" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "bitvec", "fatality", "futures", - "parity-scale-codec", - "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", @@ -10458,8 +10284,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "bitvec", "fatality", @@ -10476,11 +10302,11 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "always-assert", - "array-bytes 6.2.2", + "array-bytes", "blake3", "cfg-if", "futures", @@ -10494,7 +10320,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-parachain-primitives", "polkadot-primitives", - "rand 0.8.5", + "rand", "slotmap", "sp-core", "tempfile", @@ -10505,8 +10331,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "futures", "polkadot-node-primitives", @@ -10521,14 +10347,14 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-common" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "16.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "cpu-time", "futures", "landlock", "libc", - "nix 0.27.1", + "nix 0.28.0", "parity-scale-codec", "polkadot-parachain-primitives", "polkadot-primitives", @@ -10547,8 +10373,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "futures", "polkadot-node-metrics", @@ -10562,8 +10388,8 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "lazy_static", "log", @@ -10581,10 +10407,10 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "bs58 0.5.0", + "bs58 0.5.1", "futures", "futures-timer", "log", @@ -10600,8 +10426,8 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.2.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-channel 1.9.0", "async-trait", @@ -10614,7 +10440,7 @@ dependencies = [ "polkadot-node-jaeger", "polkadot-node-primitives", "polkadot-primitives", - "rand 0.8.5", + "rand", "sc-authority-discovery", "sc-network", "sc-network-types", @@ -10626,19 +10452,22 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "16.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "bitvec", "bounded-vec", "futures", + "futures-timer", "parity-scale-codec", "polkadot-parachain-primitives", "polkadot-primitives", + "sc-keystore", "schnorrkel 0.11.4", "serde", "sp-application-crypto", "sp-consensus-babe", + "sp-consensus-slots", "sp-core", "sp-keystore", "sp-maybe-compressed-blob", @@ -10649,8 +10478,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -10659,12 +10488,13 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "bitvec", "derive_more", + "fatality", "futures", "orchestra", "polkadot-node-jaeger", @@ -10688,20 +10518,21 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "derive_more", "fatality", "futures", "futures-channel", - "itertools 0.10.5", + "itertools 0.11.0", "kvdb", "parity-db", "parity-scale-codec", "parking_lot 0.12.3", "pin-project", + "polkadot-erasure-coding", "polkadot-node-jaeger", "polkadot-node-metrics", "polkadot-node-network-protocol", @@ -10711,7 +10542,7 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "prioritized-metered-channel", - "rand 0.8.5", + "rand", "sc-client-api", "schnellru", "sp-application-crypto", @@ -10723,8 +10554,8 @@ dependencies = [ [[package]] name = "polkadot-overseer" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "futures", @@ -10745,8 +10576,8 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" -version = "6.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "14.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "bounded-collections", "derive_more", @@ -10756,14 +10587,13 @@ dependencies = [ "serde", "sp-core", "sp-runtime", - "sp-std", "sp-weights", ] [[package]] name = "polkadot-primitives" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "16.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "bitvec", "hex-literal", @@ -10784,13 +10614,12 @@ dependencies = [ "sp-keystore", "sp-runtime", "sp-staking", - "sp-std", ] [[package]] name = "polkadot-rpc" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "19.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "jsonrpsee", "mmr-rpc", @@ -10810,10 +10639,12 @@ dependencies = [ "sc-sync-state-rpc", "sc-transaction-pool-api", "sp-api", + "sp-application-crypto", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", + "sp-consensus-beefy", "sp-keystore", "sp-runtime", "substrate-frame-rpc-system", @@ -10822,8 +10653,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "17.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "bitvec", "frame-benchmarking", @@ -10842,7 +10673,7 @@ dependencies = [ "pallet-fast-unstake", "pallet-identity", "pallet-session", - "pallet-staking 28.0.0", + "pallet-staking 38.0.0", "pallet-staking-reward-fn", "pallet-timestamp", "pallet-transaction-payment", @@ -10864,7 +10695,6 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -10873,21 +10703,20 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "17.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "bs58 0.5.0", + "bs58 0.5.1", "frame-benchmarking", "parity-scale-codec", "polkadot-primitives", - "sp-std", "sp-tracing", ] [[package]] name = "polkadot-runtime-parachains" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "17.0.1" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -10903,8 +10732,9 @@ dependencies = [ "pallet-balances", "pallet-broker", "pallet-message-queue", + "pallet-mmr", "pallet-session", - "pallet-staking 28.0.0", + "pallet-staking 38.0.0", "pallet-timestamp", "pallet-vesting", "parity-scale-codec", @@ -10912,9 +10742,8 @@ dependencies = [ "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-runtime-metrics", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rustc-hex", + "rand", + "rand_chacha", "scale-info", "serde", "sp-api", @@ -10935,24 +10764,20 @@ dependencies = [ [[package]] name = "polkadot-service" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "19.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "frame-benchmarking", "frame-benchmarking-cli", - "frame-support", "frame-system", "frame-system-rpc-runtime-api", "futures", - "hex-literal", "is_executable", "kvdb", "kvdb-rocksdb", "log", "mmr-gadget", - "pallet-babe", - "pallet-staking 28.0.0", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", "parity-db", @@ -10988,7 +10813,6 @@ dependencies = [ "polkadot-node-subsystem-types", "polkadot-node-subsystem-util", "polkadot-overseer", - "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-rpc", "polkadot-runtime-parachains", @@ -10996,10 +10820,8 @@ dependencies = [ "rococo-runtime", "sc-authority-discovery", "sc-basic-authorship", - "sc-block-builder", "sc-chain-spec", "sc-client-api", - "sc-client-db", "sc-consensus", "sc-consensus-babe", "sc-consensus-beefy", @@ -11008,7 +10830,6 @@ dependencies = [ "sc-executor", "sc-keystore", "sc-network", - "sc-network-common", "sc-network-sync", "sc-offchain", "sc-service", @@ -11017,7 +10838,6 @@ dependencies = [ "sc-telemetry", "sc-transaction-pool", "sc-transaction-pool-api", - "schnellru", "serde", "serde_json", "sp-api", @@ -11029,16 +10849,14 @@ dependencies = [ "sp-consensus-beefy", "sp-consensus-grandpa", "sp-core", + "sp-genesis-builder", "sp-inherents", "sp-io", "sp-keyring", - "sp-keystore", "sp-mmr-primitives", "sp-offchain", "sp-runtime", "sp-session", - "sp-state-machine", - "sp-storage", "sp-timestamp", "sp-transaction-pool", "sp-version", @@ -11048,20 +10866,20 @@ dependencies = [ "thiserror", "tracing-gum", "westend-runtime", - "xcm-fee-payment-runtime-api", + "xcm-runtime-apis", ] [[package]] name = "polkadot-statement-distribution" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "arrayvec 0.7.4", "bitvec", "fatality", "futures", "futures-timer", - "indexmap 2.1.0", + "indexmap 2.7.0", "parity-scale-codec", "polkadot-node-network-protocol", "polkadot-node-primitives", @@ -11076,8 +10894,8 @@ dependencies = [ [[package]] name = "polkadot-statement-table" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "16.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -11134,7 +10952,7 @@ dependencies = [ "polkavm-common", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] @@ -11144,7 +10962,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429" dependencies = [ "polkavm-derive-impl", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] @@ -11180,7 +10998,7 @@ dependencies = [ "concurrent-queue", "libc", "log", - "pin-project-lite 0.2.13", + "pin-project-lite", "windows-sys 0.48.0", ] @@ -11192,7 +11010,7 @@ checksum = "cf63fa624ab313c11656b4cda960bfc46c410187ad493c41f6ba2d8c1e991c9e" dependencies = [ "cfg-if", "concurrent-queue", - "pin-project-lite 0.2.13", + "pin-project-lite", "rustix 0.38.28", "tracing", "windows-sys 0.52.0", @@ -11241,7 +11059,7 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "precompile-utils" -version = "0.1.3" +version = "0.1.4" dependencies = [ "affix", "derive_more", @@ -11281,7 +11099,7 @@ dependencies = [ "macrotest", "num_enum", "precompile-utils", - "prettyplease 0.1.25", + "prettyplease 0.2.25", "proc-macro2", "quote", "sha3", @@ -11353,12 +11171,12 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.2.15" +version = "0.2.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae005bd773ab59b4725093fd7df83fd7892f7d8eafb48dbd7de6e024e4215f9d" +checksum = "64d1ec885c64d0457d564db4ec299b2dae3f9c02808b8ad9c3a089c591b18033" dependencies = [ "proc-macro2", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] @@ -11377,7 +11195,7 @@ dependencies = [ [[package]] name = "primitives" -version = "6.1.0" +version = "6.1.1" dependencies = [ "frame-support", "hex-literal", @@ -11416,15 +11234,6 @@ dependencies = [ "toml_edit 0.19.15", ] -[[package]] -name = "proc-macro-crate" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e8366a6159044a37876a2b9817124296703c586a5c92e2c53751fa06d8d43e8" -dependencies = [ - "toml_edit 0.20.2", -] - [[package]] name = "proc-macro-crate" version = "3.1.0" @@ -11458,6 +11267,17 @@ dependencies = [ "version_check", ] +[[package]] +name = "proc-macro-warning" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.90", +] + [[package]] name = "proc-macro-warning" version = "1.0.2" @@ -11466,14 +11286,14 @@ checksum = "834da187cfe638ae8abb0203f0b33e5ccdb02a28e7199f2f47b3e2754f50edca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] name = "proc-macro2" -version = "1.0.82" +version = "1.0.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ad3d49ab951a01fbaafe34f2ec74122942fe18a3f9814c3268f1bb72042131b" +checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0" dependencies = [ "unicode-ident", ] @@ -11494,9 +11314,9 @@ dependencies = [ [[package]] name = "prometheus-client" -version = "0.19.0" +version = "0.21.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d6fa99d535dd930d1249e6c79cb3c2915f9172a540fe2b02a4c8f9ca954721e" +checksum = "3c99afa9a01501019ac3a14d71d9f94050346f55ca471ce90c799a15c58f61e2" dependencies = [ "dtoa", "itoa", @@ -11512,7 +11332,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] @@ -11523,11 +11343,11 @@ checksum = "b4c2511913b88df1637da85cc8d96ec8e43a3f8bb8ccb71ee1ac240d6f3df58d" dependencies = [ "bit-set", "bit-vec", - "bitflags 2.4.1", + "bitflags 2.6.0", "lazy_static", "num-traits", - "rand 0.8.5", - "rand_chacha 0.3.1", + "rand", + "rand_chacha", "rand_xorshift", "regex-syntax 0.8.2", "rusty-fork", @@ -11547,12 +11367,12 @@ dependencies = [ [[package]] name = "prost" -version = "0.12.4" +version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0f5d036824e4761737860779c906171497f6d55681139d8312388f8fe398922" +checksum = "deb1435c188b76130da55f17a466d252ff7b1418b2ad3e037d127b94e3411f29" dependencies = [ "bytes", - "prost-derive 0.12.5", + "prost-derive 0.12.6", ] [[package]] @@ -11570,13 +11390,34 @@ dependencies = [ "petgraph", "prettyplease 0.1.25", "prost 0.11.9", - "prost-types", + "prost-types 0.11.9", "regex", "syn 1.0.109", "tempfile", "which", ] +[[package]] +name = "prost-build" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22505a5c94da8e3b7c2996394d1c933236c4d743e81a410bcca4e6989fc066a4" +dependencies = [ + "bytes", + "heck 0.5.0", + "itertools 0.11.0", + "log", + "multimap", + "once_cell", + "petgraph", + "prettyplease 0.2.25", + "prost 0.12.6", + "prost-types 0.12.6", + "regex", + "syn 2.0.90", + "tempfile", +] + [[package]] name = "prost-derive" version = "0.11.9" @@ -11592,15 +11433,15 @@ dependencies = [ [[package]] name = "prost-derive" -version = "0.12.5" +version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9554e3ab233f0a932403704f1a1d08c30d5ccd931adfdfa1e8b5a19b52c1d55a" +checksum = "81bddcdb20abf9501610992b6759a4c888aef7d1a7247ef75e2404275ac24af1" dependencies = [ "anyhow", "itertools 0.11.0", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] @@ -11612,6 +11453,15 @@ dependencies = [ "prost 0.11.9", ] +[[package]] +name = "prost-types" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9091c90b0a32608e984ff2fa4091273cbdd755d54935c51d520887f4a1dbd5b0" +dependencies = [ + "prost 0.12.6", +] + [[package]] name = "psm" version = "0.1.21" @@ -11631,7 +11481,7 @@ dependencies = [ "libc", "once_cell", "raw-cpuid", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi", "web-sys", "winapi", ] @@ -11653,26 +11503,15 @@ dependencies = [ [[package]] name = "quick-protobuf-codec" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1693116345026436eb2f10b677806169c1a1260c1c60eaaffe3fb5a29ae23d8b" +checksum = "f8ededb1cd78531627244d51dd0c7139fbe736c7d57af0092a76f0ffb2f56e98" dependencies = [ "asynchronous-codec", - "bytes", - "quick-protobuf", - "thiserror", - "unsigned-varint", -] - -[[package]] -name = "quicksink" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77de3c815e5a160b1539c6592796801df2043ae35e123b46d73380cfa57af858" -dependencies = [ - "futures-core", - "futures-sink", - "pin-project-lite 0.1.12", + "bytes", + "quick-protobuf", + "thiserror", + "unsigned-varint 0.7.2", ] [[package]] @@ -11682,10 +11521,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2e8b432585672228923edbbf64b8b12c14e1112f62e88737655b4a083dbcd78e" dependencies = [ "bytes", - "pin-project-lite 0.2.13", - "quinn-proto", - "quinn-udp", - "rustc-hash", + "pin-project-lite", + "quinn-proto 0.9.6", + "quinn-udp 0.3.2", + "rustc-hash 1.1.0", "rustls 0.20.9", "thiserror", "tokio", @@ -11693,6 +11532,24 @@ dependencies = [ "webpki", ] +[[package]] +name = "quinn" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8cc2c5017e4b43d5995dcea317bc46c1e09404c0a9664d2908f7f02dfe943d75" +dependencies = [ + "bytes", + "futures-io", + "pin-project-lite", + "quinn-proto 0.10.6", + "quinn-udp 0.4.1", + "rustc-hash 1.1.0", + "rustls 0.21.10", + "thiserror", + "tokio", + "tracing", +] + [[package]] name = "quinn-proto" version = "0.9.6" @@ -11700,9 +11557,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94b0b33c13a79f669c85defaf4c275dc86a0c0372807d0ca3d78e0bb87274863" dependencies = [ "bytes", - "rand 0.8.5", + "rand", "ring 0.16.20", - "rustc-hash", + "rustc-hash 1.1.0", "rustls 0.20.9", "slab", "thiserror", @@ -11711,6 +11568,23 @@ dependencies = [ "webpki", ] +[[package]] +name = "quinn-proto" +version = "0.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "141bf7dfde2fbc246bfd3fe12f2455aa24b0fbd9af535d8c86c7bd1381ff2b1a" +dependencies = [ + "bytes", + "rand", + "ring 0.16.20", + "rustc-hash 1.1.0", + "rustls 0.21.10", + "slab", + "thiserror", + "tinyvec", + "tracing", +] + [[package]] name = "quinn-udp" version = "0.3.2" @@ -11718,17 +11592,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "641538578b21f5e5c8ea733b736895576d0fe329bb883b937db6f4d163dbaaf4" dependencies = [ "libc", - "quinn-proto", + "quinn-proto 0.9.6", "socket2 0.4.10", "tracing", "windows-sys 0.42.0", ] +[[package]] +name = "quinn-udp" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "055b4e778e8feb9f93c4e439f71dc2156ef13360b432b799e179a8c4cdf0b1d7" +dependencies = [ + "bytes", + "libc", + "socket2 0.5.8", + "tracing", + "windows-sys 0.48.0", +] + [[package]] name = "quote" -version = "1.0.36" +version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" +checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" dependencies = [ "proc-macro2", ] @@ -11739,19 +11626,6 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" -[[package]] -name = "rand" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" -dependencies = [ - "getrandom 0.1.16", - "libc", - "rand_chacha 0.2.2", - "rand_core 0.5.1", - "rand_hc", -] - [[package]] name = "rand" version = "0.8.5" @@ -11759,18 +11633,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", - "rand_chacha 0.3.1", - "rand_core 0.6.4", -] - -[[package]] -name = "rand_chacha" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" -dependencies = [ - "ppv-lite86", - "rand_core 0.5.1", + "rand_chacha", + "rand_core", ] [[package]] @@ -11780,16 +11644,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" dependencies = [ "ppv-lite86", - "rand_core 0.6.4", -] - -[[package]] -name = "rand_core" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" -dependencies = [ - "getrandom 0.1.16", + "rand_core", ] [[package]] @@ -11798,7 +11653,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.11", + "getrandom", ] [[package]] @@ -11808,16 +11663,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31" dependencies = [ "num-traits", - "rand 0.8.5", -] - -[[package]] -name = "rand_hc" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" -dependencies = [ - "rand_core 0.5.1", + "rand", ] [[package]] @@ -11826,7 +11672,7 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "59cad018caf63deb318e5a4586d99a24424a364f40f1e5778c29aca23f4fc73e" dependencies = [ - "rand_core 0.6.4", + "rand_core", ] [[package]] @@ -11835,7 +11681,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f" dependencies = [ - "rand_core 0.6.4", + "rand_core", ] [[package]] @@ -11844,7 +11690,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa" dependencies = [ - "rand_core 0.6.4", + "rand_core", ] [[package]] @@ -11853,7 +11699,7 @@ version = "11.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb9ee317cfe3fbd54b36a511efc1edd42e216903c9cd575e686dd68a2ba90d8d" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.6.0", ] [[package]] @@ -11918,7 +11764,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4" dependencies = [ - "getrandom 0.2.11", + "getrandom", "libredox", "thiserror", ] @@ -11937,22 +11783,22 @@ dependencies = [ [[package]] name = "ref-cast" -version = "1.0.21" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53313ec9f12686aeeffb43462c3ac77aa25f590a5f630eb2cde0de59417b29c7" +checksum = "ccf0a6f84d5f1d581da8b41b47ec8600871962f2a528115b542b362d4b744931" dependencies = [ "ref-cast-impl", ] [[package]] name = "ref-cast-impl" -version = "1.0.21" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2566c4bf6845f2c2e83b27043c3f5dfcd5ba8f2937d6c00dc009bfb51a079dc4" +checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] @@ -11975,7 +11821,7 @@ checksum = "ad156d539c879b7a24a363a2016d77961786e71f48f2e2fc8302a92abd2429a6" dependencies = [ "hashbrown 0.13.2", "log", - "rustc-hash", + "rustc-hash 1.1.0", "slice-group-by", "smallvec", ] @@ -12044,22 +11890,6 @@ dependencies = [ "subtle 2.6.1", ] -[[package]] -name = "ring" -version = "0.1.0" -source = "git+https://github.com/w3f/ring-proof#96137b150288a66bc9e4df495efc64769b5d1321" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-poly", - "ark-serialize", - "ark-std", - "blake2 0.10.6", - "common", - "fflonk", - "merlin", -] - [[package]] name = "ring" version = "0.16.20" @@ -12082,7 +11912,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "688c63d65483050968b2a8937f7995f443e27041a0f7700aa59b0822aedebb74" dependencies = [ "cc", - "getrandom 0.2.11", + "getrandom", "libc", "spin 0.9.8", "untrusted 0.9.0", @@ -12132,8 +11962,8 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "binary-merkle-tree", "bitvec", @@ -12158,7 +11988,7 @@ dependencies = [ "pallet-child-bounties", "pallet-collective", "pallet-conviction-voting", - "pallet-democracy 28.0.0", + "pallet-democracy 38.0.0", "pallet-elections-phragmen", "pallet-grandpa", "pallet-identity", @@ -12179,7 +12009,7 @@ dependencies = [ "pallet-scheduler", "pallet-session", "pallet-society", - "pallet-staking 28.0.0", + "pallet-staking 38.0.0", "pallet-state-trie-migration", "pallet-sudo", "pallet-timestamp", @@ -12219,7 +12049,6 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std", "sp-storage", "sp-transaction-pool", "sp-version", @@ -12228,13 +12057,13 @@ dependencies = [ "staging-xcm-executor", "static_assertions", "substrate-wasm-builder", - "xcm-fee-payment-runtime-api", + "xcm-runtime-apis", ] [[package]] name = "rococo-runtime-constants" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "17.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-support", "polkadot-primitives", @@ -12304,7 +12133,7 @@ dependencies = [ [[package]] name = "runtime-integration-tests" -version = "1.33.0" +version = "1.33.1" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-parachain-system", @@ -12349,7 +12178,7 @@ dependencies = [ "pallet-conviction-voting", "pallet-currencies", "pallet-dca", - "pallet-democracy 4.3.2", + "pallet-democracy 4.3.3", "pallet-dispatcher", "pallet-dynamic-evm-fee", "pallet-dynamic-fees", @@ -12372,7 +12201,7 @@ dependencies = [ "pallet-scheduler", "pallet-session", "pallet-stableswap", - "pallet-staking 4.1.1", + "pallet-staking 4.1.2", "pallet-timestamp", "pallet-tips", "pallet-transaction-multi-payment", @@ -12424,7 +12253,7 @@ dependencies = [ [[package]] name = "runtime-mock" -version = "1.0.3" +version = "1.0.4" dependencies = [ "frame-remote-externalities", "frame-support", @@ -12435,7 +12264,7 @@ dependencies = [ "pallet-asset-registry", "pallet-omnipool", "pallet-stableswap", - "pallet-staking 4.1.1", + "pallet-staking 4.1.2", "primitives", "scraper", "serde", @@ -12443,7 +12272,7 @@ dependencies = [ "sp-io", "sp-rpc", "sp-runtime", - "toml 0.5.11", + "toml 0.8.19", ] [[package]] @@ -12458,6 +12287,12 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" +[[package]] +name = "rustc-hash" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497" + [[package]] name = "rustc-hex" version = "2.1.0" @@ -12470,7 +12305,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ - "semver 1.0.20", + "semver 1.0.23", ] [[package]] @@ -12516,7 +12351,7 @@ version = "0.38.28" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "72e572a5e8ca657d7366229cdde4bd14c4eb5499a9573d4d366fe1b599daa316" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.6.0", "errno", "libc", "linux-raw-sys 0.4.12", @@ -12529,7 +12364,6 @@ version = "0.20.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b80e3dec595989ea8510028f30c408a4630db12c9cbb8de34203b89d6577e99" dependencies = [ - "log", "ring 0.16.20", "sct", "webpki", @@ -12549,14 +12383,15 @@ dependencies = [ [[package]] name = "rustls" -version = "0.22.4" +version = "0.23.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432" +checksum = "934b404430bb06b3fae2cba809eb45a1ab1aecd64491213d7c3301b88393f8d1" dependencies = [ "log", + "once_cell", "ring 0.17.7", "rustls-pki-types", - "rustls-webpki 0.102.6", + "rustls-webpki 0.102.8", "subtle 2.6.1", "zeroize", ] @@ -12607,9 +12442,36 @@ dependencies = [ [[package]] name = "rustls-pki-types" -version = "1.7.0" +version = "1.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16f1201b3c9a7ee8039bcadc17b7e605e2945b27eee7631788c1bd2b0643674b" + +[[package]] +name = "rustls-platform-verifier" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afbb878bdfdf63a336a5e63561b1835e7a8c91524f51621db870169eac84b490" +dependencies = [ + "core-foundation", + "core-foundation-sys", + "jni", + "log", + "once_cell", + "rustls 0.23.19", + "rustls-native-certs 0.7.1", + "rustls-platform-verifier-android", + "rustls-webpki 0.102.8", + "security-framework", + "security-framework-sys", + "webpki-roots 0.26.7", + "winapi", +] + +[[package]] +name = "rustls-platform-verifier-android" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "976295e77ce332211c0d24d92c0e83e50f5c5f046d11082cea19f3df13a3562d" +checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f" [[package]] name = "rustls-webpki" @@ -12623,9 +12485,9 @@ dependencies = [ [[package]] name = "rustls-webpki" -version = "0.102.6" +version = "0.102.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e6b52d4fda176fd835fdc55a835d4a89b8499cad995885a21149d5ad62f852e" +checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9" dependencies = [ "ring 0.17.7", "rustls-pki-types", @@ -12634,9 +12496,9 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.14" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" +checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248" [[package]] name = "rusty-fork" @@ -12663,9 +12525,9 @@ dependencies = [ [[package]] name = "rw-stream-sink" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26338f5e09bb721b85b135ea05af7767c90b52f6de4f087d4f4a3a9d64e7dc04" +checksum = "d8c9026ff5d2f23da5e45bbc283f156383001bfb09c4e44256d02c1a685fe9a1" dependencies = [ "futures", "pin-project", @@ -12698,8 +12560,8 @@ dependencies = [ [[package]] name = "sc-allocator" -version = "23.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "29.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "log", "sp-core", @@ -12709,8 +12571,8 @@ dependencies = [ [[package]] name = "sc-authority-discovery" -version = "0.34.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.45.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "futures", @@ -12719,12 +12581,11 @@ dependencies = [ "libp2p", "linked_hash_set", "log", - "multihash 0.17.0", - "multihash-codetable", + "multihash 0.19.1", "parity-scale-codec", - "prost 0.12.4", - "prost-build", - "rand 0.8.5", + "prost 0.12.6", + "prost-build 0.12.6", + "rand", "sc-client-api", "sc-network", "sc-network-types", @@ -12740,8 +12601,8 @@ dependencies = [ [[package]] name = "sc-basic-authorship" -version = "0.34.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.45.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "futures", "futures-timer", @@ -12762,8 +12623,8 @@ dependencies = [ [[package]] name = "sc-block-builder" -version = "0.33.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.42.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "parity-scale-codec", "sp-api", @@ -12777,10 +12638,10 @@ dependencies = [ [[package]] name = "sc-chain-spec" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "array-bytes 6.2.2", + "array-bytes", "docify", "log", "memmap2 0.9.4", @@ -12804,32 +12665,32 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" -version = "11.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "12.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] name = "sc-cli" -version = "0.36.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.47.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "array-bytes 6.2.2", + "array-bytes", "chrono", - "clap 4.5.4", + "clap", "fdlimit", "futures", - "itertools 0.10.5", + "itertools 0.11.0", "libp2p-identity", "log", "names", "parity-bip39", "parity-scale-codec", - "rand 0.8.5", + "rand", "regex", "rpassword", "sc-client-api", @@ -12856,8 +12717,8 @@ dependencies = [ [[package]] name = "sc-client-api" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "37.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "fnv", "futures", @@ -12883,8 +12744,8 @@ dependencies = [ [[package]] name = "sc-client-db" -version = "0.35.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.44.1" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "hash-db", "kvdb", @@ -12909,12 +12770,11 @@ dependencies = [ [[package]] name = "sc-consensus" -version = "0.33.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.44.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "futures", - "futures-timer", "log", "mockall 0.11.4", "parking_lot 0.12.3", @@ -12934,8 +12794,8 @@ dependencies = [ [[package]] name = "sc-consensus-aura" -version = "0.34.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.45.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "futures", @@ -12963,8 +12823,8 @@ dependencies = [ [[package]] name = "sc-consensus-babe" -version = "0.34.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.45.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "fork-tree", @@ -12999,8 +12859,8 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" -version = "0.34.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.45.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "futures", "jsonrpsee", @@ -13021,10 +12881,10 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" -version = "13.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "24.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "array-bytes 6.2.2", + "array-bytes", "async-channel 1.9.0", "async-trait", "fnv", @@ -13048,7 +12908,6 @@ dependencies = [ "sp-core", "sp-crypto-hashing", "sp-keystore", - "sp-mmr-primitives", "sp-runtime", "substrate-prometheus-endpoint", "thiserror", @@ -13058,8 +12917,8 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" -version = "13.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "24.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "futures", "jsonrpsee", @@ -13069,6 +12928,7 @@ dependencies = [ "sc-consensus-beefy", "sc-rpc", "serde", + "sp-application-crypto", "sp-consensus-beefy", "sp-core", "sp-runtime", @@ -13077,8 +12937,8 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" -version = "0.33.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.44.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "fork-tree", "parity-scale-codec", @@ -13090,11 +12950,11 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" -version = "0.19.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.30.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "ahash 0.8.6", - "array-bytes 6.2.2", + "ahash", + "array-bytes", "async-trait", "dyn-clone", "finality-grandpa", @@ -13104,7 +12964,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.3", - "rand 0.8.5", + "rand", "sc-block-builder", "sc-chain-spec", "sc-client-api", @@ -13134,8 +12994,8 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" -version = "0.19.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.30.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "finality-grandpa", "futures", @@ -13154,8 +13014,8 @@ dependencies = [ [[package]] name = "sc-consensus-slots" -version = "0.33.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.44.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "futures", @@ -13177,8 +13037,8 @@ dependencies = [ [[package]] name = "sc-executor" -version = "0.32.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.40.1" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -13200,8 +13060,8 @@ dependencies = [ [[package]] name = "sc-executor-common" -version = "0.29.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.35.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "polkavm", "sc-allocator", @@ -13213,8 +13073,8 @@ dependencies = [ [[package]] name = "sc-executor-polkavm" -version = "0.29.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.32.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "log", "polkavm", @@ -13224,8 +13084,8 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" -version = "0.29.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.35.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "anyhow", "cfg-if", @@ -13242,10 +13102,10 @@ dependencies = [ [[package]] name = "sc-informant" -version = "0.33.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.44.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "ansi_term", + "console", "futures", "futures-timer", "log", @@ -13259,10 +13119,10 @@ dependencies = [ [[package]] name = "sc-keystore" -version = "25.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "33.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "array-bytes 6.2.2", + "array-bytes", "parking_lot 0.12.3", "serde_json", "sp-application-crypto", @@ -13273,10 +13133,10 @@ dependencies = [ [[package]] name = "sc-mixnet" -version = "0.4.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.15.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "array-bytes 4.2.0", + "array-bytes", "arrayvec 0.7.4", "blake2 0.10.6", "bytes", @@ -13284,7 +13144,7 @@ dependencies = [ "futures-timer", "log", "mixnet", - "multiaddr", + "multiaddr 0.18.2", "parity-scale-codec", "parking_lot 0.12.3", "sc-client-api", @@ -13302,10 +13162,10 @@ dependencies = [ [[package]] name = "sc-network" -version = "0.34.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.45.3" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "array-bytes 6.2.2", + "array-bytes", "async-channel 1.9.0", "async-trait", "asynchronous-codec", @@ -13326,9 +13186,9 @@ dependencies = [ "parking_lot 0.12.3", "partial_sort", "pin-project", - "prost 0.11.9", - "prost-build", - "rand 0.8.5", + "prost 0.12.6", + "prost-build 0.12.6", + "rand", "sc-client-api", "sc-network-common", "sc-network-types", @@ -13345,7 +13205,7 @@ dependencies = [ "thiserror", "tokio", "tokio-stream", - "unsigned-varint", + "unsigned-varint 0.7.2", "void", "wasm-timer", "zeroize", @@ -13353,15 +13213,15 @@ dependencies = [ [[package]] name = "sc-network-common" -version = "0.33.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.44.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "bitflags 1.3.2", "futures", "libp2p-identity", "parity-scale-codec", - "prost-build", + "prost-build 0.12.6", "sc-consensus", "sc-network-types", "sp-consensus", @@ -13371,13 +13231,12 @@ dependencies = [ [[package]] name = "sc-network-gossip" -version = "0.34.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.45.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "ahash 0.8.6", + "ahash", "futures", "futures-timer", - "libp2p", "log", "sc-network", "sc-network-common", @@ -13391,16 +13250,16 @@ dependencies = [ [[package]] name = "sc-network-light" -version = "0.33.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.44.1" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "array-bytes 6.2.2", + "array-bytes", "async-channel 1.9.0", "futures", "log", "parity-scale-codec", - "prost 0.12.4", - "prost-build", + "prost 0.12.6", + "prost-build 0.12.6", "sc-client-api", "sc-network", "sc-network-types", @@ -13412,10 +13271,10 @@ dependencies = [ [[package]] name = "sc-network-sync" -version = "0.33.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.44.1" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "array-bytes 6.2.2", + "array-bytes", "async-channel 1.9.0", "async-trait", "fork-tree", @@ -13425,8 +13284,8 @@ dependencies = [ "log", "mockall 0.11.4", "parity-scale-codec", - "prost 0.12.4", - "prost-build", + "prost 0.12.6", + "prost-build 0.12.6", "sc-client-api", "sc-consensus", "sc-network", @@ -13449,12 +13308,11 @@ dependencies = [ [[package]] name = "sc-network-transactions" -version = "0.33.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.44.1" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "array-bytes 6.2.2", + "array-bytes", "futures", - "libp2p", "log", "parity-scale-codec", "sc-network", @@ -13469,37 +13327,39 @@ dependencies = [ [[package]] name = "sc-network-types" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.12.1" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "bs58 0.4.0", + "bs58 0.5.1", + "ed25519-dalek", "libp2p-identity", "litep2p", - "multiaddr", - "multihash 0.17.0", - "rand 0.8.5", + "log", + "multiaddr 0.18.2", + "multihash 0.19.1", + "rand", "thiserror", + "zeroize", ] [[package]] name = "sc-offchain" -version = "29.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "40.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "array-bytes 6.2.2", + "array-bytes", "bytes", "fnv", "futures", "futures-timer", - "hyper", - "hyper-rustls", - "libp2p", + "hyper 0.14.31", + "hyper-rustls 0.24.2", "log", "num_cpus", "once_cell", "parity-scale-codec", "parking_lot 0.12.3", - "rand 0.8.5", + "rand", "sc-client-api", "sc-network", "sc-network-common", @@ -13518,8 +13378,8 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" -version = "0.17.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.18.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -13527,8 +13387,8 @@ dependencies = [ [[package]] name = "sc-rpc" -version = "29.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "40.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "futures", "jsonrpsee", @@ -13559,8 +13419,8 @@ dependencies = [ [[package]] name = "sc-rpc-api" -version = "0.33.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.44.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -13579,15 +13439,21 @@ dependencies = [ [[package]] name = "sc-rpc-server" -version = "11.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "17.1.2" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ + "dyn-clone", + "forwarded-header-value", "futures", "governor", - "http", - "hyper", + "http 1.2.0", + "http-body-util", + "hyper 1.5.1", + "ip_network", "jsonrpsee", "log", + "sc-rpc-api", + "serde", "serde_json", "substrate-prometheus-endpoint", "tokio", @@ -13597,10 +13463,10 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" -version = "0.34.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.45.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "array-bytes 6.2.2", + "array-bytes", "futures", "futures-util", "hex", @@ -13608,7 +13474,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.3", - "rand 0.8.5", + "rand", "sc-chain-spec", "sc-client-api", "sc-rpc", @@ -13629,8 +13495,8 @@ dependencies = [ [[package]] name = "sc-service" -version = "0.35.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.46.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "directories", @@ -13642,7 +13508,7 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", "pin-project", - "rand 0.8.5", + "rand", "sc-chain-spec", "sc-client-api", "sc-client-db", @@ -13693,8 +13559,8 @@ dependencies = [ [[package]] name = "sc-state-db" -version = "0.30.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.36.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "log", "parity-scale-codec", @@ -13704,10 +13570,10 @@ dependencies = [ [[package]] name = "sc-storage-monitor" -version = "0.16.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.22.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "clap 4.5.4", + "clap", "fs4", "log", "sp-core", @@ -13717,8 +13583,8 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" -version = "0.34.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.45.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -13736,14 +13602,14 @@ dependencies = [ [[package]] name = "sc-sysinfo" -version = "27.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "derive_more", "futures", "libc", "log", - "rand 0.8.5", + "rand", "rand_pcg", "regex", "sc-telemetry", @@ -13757,8 +13623,8 @@ dependencies = [ [[package]] name = "sc-telemetry" -version = "15.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "25.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "chrono", "futures", @@ -13766,7 +13632,7 @@ dependencies = [ "log", "parking_lot 0.12.3", "pin-project", - "rand 0.8.5", + "rand", "sc-network", "sc-utils", "serde", @@ -13777,19 +13643,18 @@ dependencies = [ [[package]] name = "sc-tracing" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "37.0.1" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "ansi_term", "chrono", + "console", "is-terminal", "lazy_static", "libc", "log", "parity-scale-codec", "parking_lot 0.12.3", - "regex", - "rustc-hash", + "rustc-hash 1.1.0", "sc-client-api", "sc-tracing-proc-macro", "serde", @@ -13801,25 +13666,25 @@ dependencies = [ "sp-tracing", "thiserror", "tracing", - "tracing-log 0.1.4", + "tracing-log", "tracing-subscriber", ] [[package]] name = "sc-tracing-proc-macro" version = "11.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] name = "sc-transaction-pool" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "37.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "futures", @@ -13845,8 +13710,8 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "37.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "futures", @@ -13861,8 +13726,8 @@ dependencies = [ [[package]] name = "sc-utils" -version = "14.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "17.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-channel 1.9.0", "futures", @@ -13940,11 +13805,11 @@ dependencies = [ [[package]] name = "schnellru" -version = "0.2.1" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" +checksum = "c9a8ef13a93c54d20580de1e5c413e624e53121d42fc7e2c11d10ef7f8b02367" dependencies = [ - "ahash 0.8.6", + "ahash", "cfg-if", "hashbrown 0.13.2", ] @@ -13959,7 +13824,7 @@ dependencies = [ "arrayvec 0.7.4", "curve25519-dalek-ng", "merlin", - "rand_core 0.6.4", + "rand_core", "sha2 0.9.9", "subtle-ng", "zeroize", @@ -13974,10 +13839,10 @@ dependencies = [ "aead", "arrayref", "arrayvec 0.7.4", - "curve25519-dalek 4.1.1", + "curve25519-dalek", "getrandom_or_panic", "merlin", - "rand_core 0.6.4", + "rand_core", "serde_bytes", "sha2 0.10.8", "subtle 2.6.1", @@ -13994,7 +13859,7 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" name = "scraper" version = "1.2.5" dependencies = [ - "clap 4.5.4", + "clap", "frame-remote-externalities", "frame-support", "frame-system", @@ -14036,7 +13901,7 @@ dependencies = [ "crc", "fxhash", "log", - "rand 0.8.5", + "rand", "slab", "thiserror", ] @@ -14094,22 +13959,23 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.9.2" +version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de" +checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.6.0", "core-foundation", "core-foundation-sys", "libc", + "num-bigint", "security-framework-sys", ] [[package]] name = "security-framework-sys" -version = "2.9.1" +version = "2.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a" +checksum = "fa39c7303dc58b5543c94d22c1766b0d31f2ee58306363ea622b10bbc075eaa2" dependencies = [ "core-foundation-sys", "libc", @@ -14126,9 +13992,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.20" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090" +checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" dependencies = [ "serde", ] @@ -14139,11 +14005,17 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" +[[package]] +name = "send_wrapper" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" + [[package]] name = "serde" -version = "1.0.201" +version = "1.0.215" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "780f1cebed1629e4753a1a38a3c72d30b97ec044f0aef68cb26650a3c5cf363c" +checksum = "6513c1ad0b11a9376da888e3e0baa0077f1aed55c17f50e7b2397136129fb88f" dependencies = [ "serde_derive", ] @@ -14159,31 +14031,32 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.201" +version = "1.0.215" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5e405930b9796f1c00bee880d03fc7e0bb4b9a11afc776885ffe84320da2865" +checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] name = "serde_json" -version = "1.0.117" +version = "1.0.133" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3" +checksum = "c7fceb2473b9166b2294ef05efcb65a3db80803f0b03ef86a5fc88a2b85ee377" dependencies = [ "itoa", + "memchr", "ryu", "serde", ] [[package]] name = "serde_spanned" -version = "0.6.5" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1" +checksum = "87607cb1398ed59d48732e575a4c28a7a8ebf2454b964fe3f224f2afc07909e1" dependencies = [ "serde", ] @@ -14301,12 +14174,6 @@ dependencies = [ "libc", ] -[[package]] -name = "signature" -version = "1.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" - [[package]] name = "signature" version = "2.2.0" @@ -14314,7 +14181,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" dependencies = [ "digest 0.10.7", - "rand_core 0.6.4", + "rand_core", ] [[package]] @@ -14356,7 +14223,7 @@ version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cae9a3fcdadafb6d97f4c0e007e4247b114ee0f119f650c3cbf3a8b3a1479694" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.6.0", ] [[package]] @@ -14400,14 +14267,13 @@ dependencies = [ [[package]] name = "slot-range-helper" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "15.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "enumn", "parity-scale-codec", "paste", "sp-runtime", - "sp-std", ] [[package]] @@ -14454,11 +14320,11 @@ dependencies = [ "base64 0.21.5", "bip39", "blake2-rfc", - "bs58 0.5.0", + "bs58 0.5.1", "chacha20", "crossbeam-queue", "derive_more", - "ed25519-zebra 4.0.3", + "ed25519-zebra", "either", "event-listener 2.5.3", "fnv", @@ -14478,8 +14344,8 @@ dependencies = [ "pbkdf2", "pin-project", "poly1305", - "rand 0.8.5", - "rand_chacha 0.3.1", + "rand", + "rand_chacha", "ruzstd", "schnorrkel 0.10.2", "serde", @@ -14489,10 +14355,10 @@ dependencies = [ "siphasher", "slab", "smallvec", - "soketto", + "soketto 0.7.1", "twox-hash", "wasmi", - "x25519-dalek 2.0.0", + "x25519-dalek", "zeroize", ] @@ -14521,8 +14387,8 @@ dependencies = [ "no-std-net", "parking_lot 0.12.3", "pin-project", - "rand 0.8.5", - "rand_chacha 0.3.1", + "rand", + "rand_chacha", "serde", "serde_json", "siphasher", @@ -14547,8 +14413,8 @@ dependencies = [ "aes-gcm", "blake2 0.10.6", "chacha20poly1305", - "curve25519-dalek 4.1.1", - "rand_core 0.6.4", + "curve25519-dalek", + "rand_core", "ring 0.17.7", "rustc_version", "sha2 0.10.8", @@ -14567,12 +14433,12 @@ dependencies = [ [[package]] name = "socket2" -version = "0.5.5" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" +checksum = "c970269d99b64e60ec3bd6ad27270092a5394c4e309314b18ae3fe575695fbe8" dependencies = [ "libc", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -14583,20 +14449,35 @@ checksum = "41d1c5305e39e09653383c2c7244f2f78b3bcae37cf50c64cb4789c9f5096ec2" dependencies = [ "base64 0.13.1", "bytes", - "flate2", "futures", - "http", "httparse", "log", - "rand 0.8.5", + "rand", "sha-1 0.9.8", ] +[[package]] +name = "soketto" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e859df029d160cb88608f5d7df7fb4753fd20fdfb4de5644f3d8b8440841721" +dependencies = [ + "base64 0.22.1", + "bytes", + "futures", + "http 1.2.0", + "httparse", + "log", + "rand", + "sha1", +] + [[package]] name = "sp-api" -version = "26.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "34.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ + "docify", "hash-db", "log", "parity-scale-codec", @@ -14608,7 +14489,6 @@ dependencies = [ "sp-runtime", "sp-runtime-interface", "sp-state-machine", - "sp-std", "sp-trie", "sp-version", "thiserror", @@ -14616,68 +14496,48 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" -version = "15.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "20.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "Inflector", "blake2 0.10.6", - "expander 2.0.0", + "expander", "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] name = "sp-application-crypto" -version = "30.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "parity-scale-codec", "scale-info", "serde", "sp-core", "sp-io", - "sp-std", ] [[package]] name = "sp-arithmetic" -version = "23.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "26.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "docify", "integer-sqrt", "num-traits", - "parity-scale-codec", - "scale-info", - "serde", - "sp-std", - "static_assertions", -] - -[[package]] -name = "sp-ark-bls12-381" -version = "0.4.2" -source = "git+https://github.com/paritytech/arkworks-substrate#caa2eed74beb885dd07c7db5f916f2281dad818f" -dependencies = [ - "ark-bls12-381-ext", - "sp-crypto-ec-utils", -] - -[[package]] -name = "sp-ark-ed-on-bls12-381-bandersnatch" -version = "0.4.2" -source = "git+https://github.com/paritytech/arkworks-substrate#caa2eed74beb885dd07c7db5f916f2281dad818f" -dependencies = [ - "ark-ed-on-bls12-381-bandersnatch-ext", - "sp-crypto-ec-utils", + "parity-scale-codec", + "scale-info", + "serde", + "static_assertions", ] [[package]] name = "sp-authority-discovery" -version = "26.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "34.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "parity-scale-codec", "scale-info", @@ -14688,8 +14548,8 @@ dependencies = [ [[package]] name = "sp-block-builder" -version = "26.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "34.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "sp-api", "sp-inherents", @@ -14698,26 +14558,27 @@ dependencies = [ [[package]] name = "sp-blockchain" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "37.0.1" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "futures", - "log", "parity-scale-codec", "parking_lot 0.12.3", "schnellru", "sp-api", "sp-consensus", + "sp-core", "sp-database", "sp-runtime", "sp-state-machine", "thiserror", + "tracing", ] [[package]] name = "sp-consensus" -version = "0.32.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.40.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "futures", @@ -14731,8 +14592,8 @@ dependencies = [ [[package]] name = "sp-consensus-aura" -version = "0.32.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.40.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "parity-scale-codec", @@ -14747,8 +14608,8 @@ dependencies = [ [[package]] name = "sp-consensus-babe" -version = "0.32.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.40.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "parity-scale-codec", @@ -14765,8 +14626,8 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" -version = "13.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "22.1.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "lazy_static", "parity-scale-codec", @@ -14780,13 +14641,14 @@ dependencies = [ "sp-keystore", "sp-mmr-primitives", "sp-runtime", + "sp-weights", "strum 0.26.3", ] [[package]] name = "sp-consensus-grandpa" -version = "13.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "21.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "finality-grandpa", "log", @@ -14802,8 +14664,8 @@ dependencies = [ [[package]] name = "sp-consensus-slots" -version = "0.32.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.40.1" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "parity-scale-codec", "scale-info", @@ -14813,22 +14675,21 @@ dependencies = [ [[package]] name = "sp-core" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "34.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "array-bytes 6.2.2", - "bandersnatch_vrfs", + "array-bytes", "bitflags 1.3.2", "blake2 0.10.6", "bounded-collections", - "bs58 0.5.0", + "bs58 0.5.1", "dyn-clonable", - "ed25519-zebra 3.1.0", + "ed25519-zebra", "futures", "hash-db", "hash256-std-hasher", "impl-serde", - "itertools 0.10.5", + "itertools 0.11.0", "k256", "libsecp256k1", "log", @@ -14838,7 +14699,7 @@ dependencies = [ "parking_lot 0.12.3", "paste", "primitive-types", - "rand 0.8.5", + "rand", "scale-info", "schnorrkel 0.11.4", "secp256k1", @@ -14858,30 +14719,10 @@ dependencies = [ "zeroize", ] -[[package]] -name = "sp-crypto-ec-utils" -version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk#9fecd89880bebec86815e3413327dd8a5f80befd" -dependencies = [ - "ark-bls12-377", - "ark-bls12-377-ext", - "ark-bls12-381", - "ark-bls12-381-ext", - "ark-bw6-761", - "ark-bw6-761-ext", - "ark-ec", - "ark-ed-on-bls12-377", - "ark-ed-on-bls12-377-ext", - "ark-ed-on-bls12-381-bandersnatch", - "ark-ed-on-bls12-381-bandersnatch-ext", - "ark-scale", - "sp-runtime-interface", -] - [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "blake2b_simd", "byteorder", @@ -14894,17 +14735,17 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "quote", "sp-crypto-hashing", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "kvdb", "parking_lot 0.12.3", @@ -14913,17 +14754,17 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] name = "sp-externalities" -version = "0.25.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.29.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "environmental", "parity-scale-codec", @@ -14932,8 +14773,8 @@ dependencies = [ [[package]] name = "sp-genesis-builder" -version = "0.8.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.15.1" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "parity-scale-codec", "scale-info", @@ -14944,8 +14785,8 @@ dependencies = [ [[package]] name = "sp-inherents" -version = "26.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "34.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -14957,11 +14798,12 @@ dependencies = [ [[package]] name = "sp-io" -version = "30.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "bytes", - "ed25519-dalek 2.1.0", + "docify", + "ed25519-dalek", "libsecp256k1", "log", "parity-scale-codec", @@ -14974,7 +14816,6 @@ dependencies = [ "sp-keystore", "sp-runtime-interface", "sp-state-machine", - "sp-std", "sp-tracing", "sp-trie", "tracing", @@ -14983,8 +14824,8 @@ dependencies = [ [[package]] name = "sp-keyring" -version = "31.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "39.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "sp-core", "sp-runtime", @@ -14993,8 +14834,8 @@ dependencies = [ [[package]] name = "sp-keystore" -version = "0.34.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.40.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -15005,7 +14846,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "thiserror", "zstd 0.12.4", @@ -15013,8 +14854,8 @@ dependencies = [ [[package]] name = "sp-metadata-ir" -version = "0.6.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.7.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -15023,8 +14864,8 @@ dependencies = [ [[package]] name = "sp-mixnet" -version = "0.4.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.12.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "parity-scale-codec", "scale-info", @@ -15034,12 +14875,12 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" -version = "26.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "34.1.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "ckb-merkle-mountain-range", "log", "parity-scale-codec", + "polkadot-ckb-merkle-mountain-range", "scale-info", "serde", "sp-api", @@ -15051,8 +14892,8 @@ dependencies = [ [[package]] name = "sp-npos-elections" -version = "26.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "34.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "parity-scale-codec", "scale-info", @@ -15064,8 +14905,8 @@ dependencies = [ [[package]] name = "sp-offchain" -version = "26.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "34.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "sp-api", "sp-core", @@ -15075,7 +14916,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "backtrace", "lazy_static", @@ -15084,27 +14925,28 @@ dependencies = [ [[package]] name = "sp-rpc" -version = "26.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "32.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "rustc-hash", + "rustc-hash 1.1.0", "serde", "sp-core", ] [[package]] name = "sp-runtime" -version = "31.0.1" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "39.0.5" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "docify", "either", "hash256-std-hasher", "impl-trait-for-tuples", "log", + "num-traits", "parity-scale-codec", "paste", - "rand 0.8.5", + "rand", "scale-info", "serde", "simple-mermaid", @@ -15114,12 +14956,13 @@ dependencies = [ "sp-io", "sp-std", "sp-weights", + "tracing", ] [[package]] name = "sp-runtime-interface" -version = "24.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "28.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -15137,21 +14980,21 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" -version = "17.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "Inflector", - "expander 2.0.0", + "expander", "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] name = "sp-session" -version = "27.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "36.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "parity-scale-codec", "scale-info", @@ -15164,8 +15007,8 @@ dependencies = [ [[package]] name = "sp-staking" -version = "26.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "36.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -15177,14 +15020,14 @@ dependencies = [ [[package]] name = "sp-state-machine" -version = "0.35.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.43.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "hash-db", "log", "parity-scale-codec", "parking_lot 0.12.3", - "rand 0.8.5", + "rand", "smallvec", "sp-core", "sp-externalities", @@ -15192,20 +15035,20 @@ dependencies = [ "sp-trie", "thiserror", "tracing", - "trie-db 0.29.1", + "trie-db", ] [[package]] name = "sp-statement-store" -version = "10.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "aes-gcm", - "curve25519-dalek 4.1.1", - "ed25519-dalek 2.1.0", + "curve25519-dalek", + "ed25519-dalek", "hkdf", "parity-scale-codec", - "rand 0.8.5", + "rand", "scale-info", "sha2 0.10.8", "sp-api", @@ -15216,18 +15059,18 @@ dependencies = [ "sp-runtime", "sp-runtime-interface", "thiserror", - "x25519-dalek 2.0.0", + "x25519-dalek", ] [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" [[package]] name = "sp-storage" -version = "19.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "21.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "impl-serde", "parity-scale-codec", @@ -15238,8 +15081,8 @@ dependencies = [ [[package]] name = "sp-timestamp" -version = "26.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "34.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "parity-scale-codec", @@ -15250,8 +15093,8 @@ dependencies = [ [[package]] name = "sp-tracing" -version = "16.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "17.0.1" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "parity-scale-codec", "tracing", @@ -15261,8 +15104,8 @@ dependencies = [ [[package]] name = "sp-transaction-pool" -version = "26.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "34.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "sp-api", "sp-runtime", @@ -15270,8 +15113,8 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" -version = "26.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "34.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "parity-scale-codec", @@ -15284,31 +15127,31 @@ dependencies = [ [[package]] name = "sp-trie" -version = "29.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "37.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "ahash 0.8.6", + "ahash", "hash-db", "lazy_static", "memory-db", "nohash-hasher", "parity-scale-codec", "parking_lot 0.12.3", - "rand 0.8.5", + "rand", "scale-info", "schnellru", "sp-core", "sp-externalities", "thiserror", "tracing", - "trie-db 0.29.1", + "trie-db", "trie-root", ] [[package]] name = "sp-version" -version = "29.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "37.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "impl-serde", "parity-scale-codec", @@ -15324,19 +15167,19 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" -version = "13.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "14.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] name = "sp-wasm-interface" -version = "20.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "21.0.1" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -15347,8 +15190,8 @@ dependencies = [ [[package]] name = "sp-weights" -version = "27.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "31.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -15424,8 +15267,8 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-parachain-info" -version = "0.7.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.17.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -15433,15 +15276,14 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std", ] [[package]] name = "staging-xcm" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "14.2.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "array-bytes 6.2.2", + "array-bytes", "bounded-collections", "derivative", "environmental", @@ -15450,19 +15292,21 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", + "sp-runtime", "sp-weights", "xcm-procedural", ] [[package]] name = "staging-xcm-builder" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "17.0.3" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", "log", + "pallet-asset-conversion", "pallet-transaction-payment", "parity-scale-codec", "polkadot-parachain-primitives", @@ -15470,7 +15314,6 @@ dependencies = [ "sp-arithmetic", "sp-io", "sp-runtime", - "sp-std", "sp-weights", "staging-xcm", "staging-xcm-executor", @@ -15478,23 +15321,22 @@ dependencies = [ [[package]] name = "staging-xcm-executor" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "17.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "environmental", "frame-benchmarking", "frame-support", "impl-trait-for-tuples", - "log", "parity-scale-codec", "scale-info", "sp-arithmetic", "sp-core", "sp-io", "sp-runtime", - "sp-std", "sp-weights", "staging-xcm", + "tracing", ] [[package]] @@ -15551,19 +15393,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "strobe-rs" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fabb238a1cccccfa4c4fb703670c0d157e1256c1ba695abf1b93bd2bb14bab2d" -dependencies = [ - "bitflags 1.3.2", - "byteorder", - "keccak", - "subtle 2.6.1", - "zeroize", -] - [[package]] name = "strsim" version = "0.11.1" @@ -15617,7 +15446,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] @@ -15630,13 +15459,13 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] name = "substrate-bip39" -version = "0.4.7" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.6.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "hmac 0.12.1", "pbkdf2", @@ -15654,20 +15483,21 @@ dependencies = [ "byteorder", "crunchy", "lazy_static", - "rand 0.8.5", + "rand", "rustc-hex", ] [[package]] name = "substrate-build-script-utils" version = "11.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" [[package]] name = "substrate-frame-rpc-system" -version = "28.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "39.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ + "docify", "frame-system-rpc-runtime-api", "futures", "jsonrpsee", @@ -15685,9 +15515,11 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.17.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "hyper", + "http-body-util", + "hyper 1.5.1", + "hyper-util", "log", "prometheus", "thiserror", @@ -15696,8 +15528,8 @@ dependencies = [ [[package]] name = "substrate-rpc-client" -version = "0.33.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.44.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "async-trait", "jsonrpsee", @@ -15709,8 +15541,8 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" -version = "27.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "38.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -15721,20 +15553,21 @@ dependencies = [ "sp-runtime", "sp-state-machine", "sp-trie", - "trie-db 0.29.1", + "trie-db", ] [[package]] name = "substrate-wasm-builder" -version = "17.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "24.0.1" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "array-bytes 6.2.2", + "array-bytes", "build-helper", "cargo_metadata", "console", "filetime", "frame-metadata", + "jobserver", "merkleized-metadata", "parity-scale-codec", "parity-wasm", @@ -15747,7 +15580,7 @@ dependencies = [ "sp-version", "strum 0.26.3", "tempfile", - "toml 0.8.12", + "toml 0.8.19", "walkdir", "wasm-opt", ] @@ -15783,9 +15616,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.61" +version = "2.0.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c993ed8ccba56ae856363b1845da7266a7cb78e1d146c8a32d54b45a8b831fc9" +checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31" dependencies = [ "proc-macro2", "quote", @@ -15804,6 +15637,17 @@ dependencies = [ "unicode-xid", ] +[[package]] +name = "synstructure" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.90", +] + [[package]] name = "system-configuration" version = "0.5.1" @@ -15905,12 +15749,6 @@ dependencies = [ "pretty_assertions", ] -[[package]] -name = "textwrap" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" - [[package]] name = "thiserror" version = "1.0.63" @@ -15937,7 +15775,7 @@ checksum = "e4c60d69f36615a077cc7663b9cb8e42275722d23e58a7fa3d2c7f2915d09d04" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] @@ -15948,7 +15786,7 @@ checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] @@ -16012,12 +15850,13 @@ dependencies = [ [[package]] name = "time" -version = "0.3.31" +version = "0.3.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f657ba42c3f86e7680e53c8cd3af8abbe56b5491790b46e22e19c0d57463583e" +checksum = "35e7868883861bd0e56d9ac6efcaaca0d6d5d82a2a7ec8209ff492c07cf37b21" dependencies = [ "deranged", "itoa", + "num-conv", "powerfmt", "serde", "time-core", @@ -16032,10 +15871,11 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.16" +version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26197e33420244aeb70c3e8c78376ca46571bc4e701e4791c2cd9f57dcb3a43f" +checksum = "2834e6017e3e5e4b9834939793b282bc03b37a3336245fa820e35e233e2a85de" dependencies = [ + "num-conv", "time-core", ] @@ -16075,32 +15915,31 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.37.0" +version = "1.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" +checksum = "5cec9b21b0450273377fc97bd4c33a8acffc8c996c987a7c5b319a0083707551" dependencies = [ "backtrace", "bytes", "libc", "mio", - "num_cpus", "parking_lot 0.12.3", - "pin-project-lite 0.2.13", + "pin-project-lite", "signal-hook-registry", - "socket2 0.5.5", + "socket2 0.5.8", "tokio-macros", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] name = "tokio-macros" -version = "2.2.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" +checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] @@ -16110,7 +15949,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f57eb36ecbe0fc510036adff84824dd3c24bb781e21bfa67b69d556aa85214f" dependencies = [ "pin-project", - "rand 0.8.5", + "rand", "tokio", ] @@ -16126,12 +15965,11 @@ dependencies = [ [[package]] name = "tokio-rustls" -version = "0.25.0" +version = "0.26.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "775e0c0f0adb3a2f22a00c4745d728b479985fc15ee7ca6a2608388c5569860f" +checksum = "5f6d0975eaace0cf0fcadee4e4aaa5da15b5c079146f2cffb67c113be122bf37" dependencies = [ - "rustls 0.22.4", - "rustls-pki-types", + "rustls 0.23.19", "tokio", ] @@ -16142,7 +15980,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" dependencies = [ "futures-core", - "pin-project-lite 0.2.13", + "pin-project-lite", "tokio", "tokio-util", ] @@ -16172,7 +16010,7 @@ dependencies = [ "futures-core", "futures-io", "futures-sink", - "pin-project-lite 0.2.13", + "pin-project-lite", "tokio", ] @@ -16187,33 +16025,21 @@ dependencies = [ [[package]] name = "toml" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd79e69d3b627db300ff956027cc6c3798cef26d22526befdfcd12feeb6d2257" -dependencies = [ - "serde", - "serde_spanned", - "toml_datetime", - "toml_edit 0.19.15", -] - -[[package]] -name = "toml" -version = "0.8.12" +version = "0.8.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9dd1545e8208b4a5af1aa9bbd0b4cf7e9ea08fabc5d0a5c67fcaafa17433aa3" +checksum = "a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.22.12", + "toml_edit 0.22.22", ] [[package]] name = "toml_datetime" -version = "0.6.5" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" +checksum = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41" dependencies = [ "serde", ] @@ -16224,20 +16050,7 @@ version = "0.19.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" dependencies = [ - "indexmap 2.1.0", - "serde", - "serde_spanned", - "toml_datetime", - "winnow 0.5.30", -] - -[[package]] -name = "toml_edit" -version = "0.20.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338" -dependencies = [ - "indexmap 2.1.0", + "indexmap 2.7.0", "toml_datetime", "winnow 0.5.30", ] @@ -16248,22 +16061,22 @@ version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" dependencies = [ - "indexmap 2.1.0", + "indexmap 2.7.0", "toml_datetime", "winnow 0.5.30", ] [[package]] name = "toml_edit" -version = "0.22.12" +version = "0.22.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3328d4f68a705b2a4498da1d580585d39a6510f98318a2cec3018a7ec61ddef" +checksum = "4ae48d6208a266e853d946088ed816055e556cc6028c5e8e2b84d9fa5dd7c7f5" dependencies = [ - "indexmap 2.1.0", + "indexmap 2.7.0", "serde", "serde_spanned", "toml_datetime", - "winnow 0.6.8", + "winnow 0.6.20", ] [[package]] @@ -16275,7 +16088,7 @@ dependencies = [ "futures-core", "futures-util", "pin-project", - "pin-project-lite 0.2.13", + "pin-project-lite", "tower-layer", "tower-service", "tracing", @@ -16283,18 +16096,16 @@ dependencies = [ [[package]] name = "tower-http" -version = "0.4.4" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61c5bb1d698276a2443e5ecfabc1008bf15a36c12e6a7176e7bf089ea9131140" +checksum = "1e9cd434a998747dd2c4276bc96ee2e0c7a2eadf3cae88e52be55a05fa9053f5" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.6.0", "bytes", - "futures-core", - "futures-util", - "http", - "http-body", - "http-range-header", - "pin-project-lite 0.2.13", + "http 1.2.0", + "http-body 1.0.1", + "http-body-util", + "pin-project-lite", "tower-layer", "tower-service", ] @@ -16318,7 +16129,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" dependencies = [ "log", - "pin-project-lite 0.2.13", + "pin-project-lite", "tracing-attributes", "tracing-core", ] @@ -16331,7 +16142,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] @@ -16356,8 +16167,8 @@ dependencies = [ [[package]] name = "tracing-gum" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "16.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "coarsetime", "polkadot-primitives", @@ -16368,24 +16179,13 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" version = "5.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ - "expander 2.0.0", + "expander", "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.61", -] - -[[package]] -name = "tracing-log" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f751112709b4e791d8ce53e32c4ed2d353565a795ce84da2285393f41557bdf2" -dependencies = [ - "log", - "once_cell", - "tracing-core", + "syn 2.0.90", ] [[package]] @@ -16413,22 +16213,10 @@ dependencies = [ "sharded-slab", "smallvec", "thread_local", + "time", "tracing", "tracing-core", - "tracing-log 0.2.0", -] - -[[package]] -name = "trie-db" -version = "0.28.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff28e0f815c2fea41ebddf148e008b077d2faddb026c9555b29696114d602642" -dependencies = [ - "hash-db", - "hashbrown 0.13.2", - "log", - "rustc-hex", - "smallvec", + "tracing-log", ] [[package]] @@ -16468,7 +16256,7 @@ dependencies = [ "idna 0.2.3", "ipnet", "lazy_static", - "rand 0.8.5", + "rand", "smallvec", "socket2 0.4.10", "thiserror", @@ -16494,7 +16282,7 @@ dependencies = [ "idna 0.4.0", "ipnet", "once_cell", - "rand 0.8.5", + "rand", "smallvec", "thiserror", "tinyvec", @@ -16503,26 +16291,6 @@ dependencies = [ "url", ] -[[package]] -name = "trust-dns-resolver" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aff21aa4dcefb0a1afbfac26deb0adc93888c7d295fb63ab273ef276ba2b7cfe" -dependencies = [ - "cfg-if", - "futures-util", - "ipconfig", - "lazy_static", - "lru-cache", - "parking_lot 0.12.3", - "resolv-conf", - "smallvec", - "thiserror", - "tokio", - "tracing", - "trust-dns-proto 0.22.0", -] - [[package]] name = "trust-dns-resolver" version = "0.23.2" @@ -16535,7 +16303,7 @@ dependencies = [ "lru-cache", "once_cell", "parking_lot 0.12.3", - "rand 0.8.5", + "rand", "resolv-conf", "smallvec", "thiserror", @@ -16580,10 +16348,10 @@ dependencies = [ "byteorder", "bytes", "data-encoding", - "http", + "http 0.2.11", "httparse", "log", - "rand 0.8.5", + "rand", "rustls 0.21.10", "sha1", "thiserror", @@ -16599,7 +16367,7 @@ checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ "cfg-if", "digest 0.10.7", - "rand 0.8.5", + "rand", "static_assertions", ] @@ -16692,6 +16460,15 @@ dependencies = [ "bytes", "futures-io", "futures-util", +] + +[[package]] +name = "unsigned-varint" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb066959b24b5196ae73cb057f45598450d2c5f71460e98c49b738086eff9c06" +dependencies = [ + "bytes", "tokio-util", ] @@ -16769,9 +16546,9 @@ dependencies = [ "arrayref", "constcat", "digest 0.10.7", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rand_core 0.6.4", + "rand", + "rand_chacha", + "rand_core", "sha2 0.10.8", "sha3", "thiserror", @@ -16795,9 +16572,9 @@ checksum = "f3c4517f54858c779bbcbf228f4fca63d121bf85fbecb2dc578cdf4a39395690" [[package]] name = "walkdir" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" dependencies = [ "same-file", "winapi-util", @@ -16812,12 +16589,6 @@ dependencies = [ "try-lock", ] -[[package]] -name = "wasi" -version = "0.9.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" - [[package]] name = "wasi" version = "0.11.0+wasi-snapshot-preview1" @@ -16845,7 +16616,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", "wasm-bindgen-shared", ] @@ -16879,7 +16650,7 @@ checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -17179,7 +16950,7 @@ dependencies = [ "memfd", "memoffset 0.8.0", "paste", - "rand 0.8.5", + "rand", "rustix 0.36.17", "wasmtime-asm-macros", "wasmtime-environ", @@ -17221,17 +16992,23 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "0.22.6" +version = "0.25.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87" +checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" + +[[package]] +name = "webpki-roots" +version = "0.26.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d642ff16b7e79272ae451b7322067cdc17cadf68c23264be9d94a32319efe7e" dependencies = [ - "webpki", + "rustls-pki-types", ] [[package]] name = "westend-runtime" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "18.0.1" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "binary-merkle-tree", "bitvec", @@ -17256,7 +17033,8 @@ dependencies = [ "pallet-beefy-mmr", "pallet-collective", "pallet-conviction-voting", - "pallet-democracy 28.0.0", + "pallet-delegated-staking", + "pallet-democracy 38.0.0", "pallet-election-provider-multi-phase", "pallet-election-provider-support-benchmarking", "pallet-elections-phragmen", @@ -17273,6 +17051,7 @@ dependencies = [ "pallet-nomination-pools-runtime-api", "pallet-offences", "pallet-offences-benchmarking", + "pallet-parameters", "pallet-preimage", "pallet-proxy", "pallet-recovery", @@ -17282,8 +17061,7 @@ dependencies = [ "pallet-session", "pallet-session-benchmarking", "pallet-society", - "pallet-staking 28.0.0", - "pallet-staking-reward-curve", + "pallet-staking 38.0.0", "pallet-staking-runtime-api", "pallet-state-trie-migration", "pallet-sudo", @@ -17301,10 +17079,10 @@ dependencies = [ "polkadot-primitives", "polkadot-runtime-common", "polkadot-runtime-parachains", - "rustc-hex", "scale-info", "serde", "serde_derive", + "serde_json", "smallvec", "sp-api", "sp-application-crypto", @@ -17313,6 +17091,7 @@ dependencies = [ "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", + "sp-consensus-grandpa", "sp-core", "sp-genesis-builder", "sp-inherents", @@ -17323,7 +17102,6 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std", "sp-storage", "sp-transaction-pool", "sp-version", @@ -17332,13 +17110,13 @@ dependencies = [ "staging-xcm-executor", "substrate-wasm-builder", "westend-runtime-constants", - "xcm-fee-payment-runtime-api", + "xcm-runtime-apis", ] [[package]] name = "westend-runtime-constants" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "17.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-support", "polkadot-primitives", @@ -17653,9 +17431,9 @@ dependencies = [ [[package]] name = "winnow" -version = "0.6.8" +version = "0.6.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3c52e9c97a68071b23e836c9380edae937f17b9c4667bd021973efc689f618d" +checksum = "36c1fec1a2bb5866f07c25f68c26e565c4c200aebb96d7e55710c19d3e8ac49b" dependencies = [ "memchr", ] @@ -17679,42 +17457,30 @@ dependencies = [ "tap", ] -[[package]] -name = "x25519-dalek" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a0c105152107e3b96f6a00a65e86ce82d9b125230e1c4302940eca58ff71f4f" -dependencies = [ - "curve25519-dalek 3.2.0", - "rand_core 0.5.1", - "zeroize", -] - [[package]] name = "x25519-dalek" version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb66477291e7e8d2b0ff1bcb900bf29489a9692816d79874bea351e7a8b6de96" dependencies = [ - "curve25519-dalek 4.1.1", - "rand_core 0.6.4", + "curve25519-dalek", + "rand_core", "serde", "zeroize", ] [[package]] name = "x509-parser" -version = "0.14.0" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0ecbeb7b67ce215e40e3cc7f2ff902f94a223acf44995934763467e7b1febc8" +checksum = "7069fba5b66b9193bd2c5d3d4ff12b839118f6bcbef5328efafafb5395cf63da" dependencies = [ - "asn1-rs", - "base64 0.13.1", + "asn1-rs 0.5.2", "data-encoding", - "der-parser", + "der-parser 8.2.0", "lazy_static", "nom", - "oid-registry", + "oid-registry 0.6.1", "rusticata-macros", "thiserror", "time", @@ -17722,16 +17488,16 @@ dependencies = [ [[package]] name = "x509-parser" -version = "0.15.1" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7069fba5b66b9193bd2c5d3d4ff12b839118f6bcbef5328efafafb5395cf63da" +checksum = "fcbc162f30700d6f3f82a24bf7cc62ffe7caea42c0b2cba8bf7f3ae50cf51f69" dependencies = [ - "asn1-rs", + "asn1-rs 0.6.2", "data-encoding", - "der-parser", + "der-parser 9.0.0", "lazy_static", "nom", - "oid-registry", + "oid-registry 0.7.1", "rusticata-macros", "thiserror", "time", @@ -17739,9 +17505,10 @@ dependencies = [ [[package]] name = "xcm-emulator" -version = "0.5.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +version = "0.16.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ + "array-bytes", "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", "cumulus-primitives-core", @@ -17772,42 +17539,57 @@ dependencies = [ ] [[package]] -name = "xcm-fee-payment-runtime-api" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +name = "xcm-procedural" +version = "10.1.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" +dependencies = [ + "Inflector", + "proc-macro2", + "quote", + "syn 2.0.90", +] + +[[package]] +name = "xcm-runtime-apis" +version = "0.4.2" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=stable2409-patch#21d2b5ea4035c4d0f74e286ba6bf61cfd6b44df4" dependencies = [ "frame-support", "parity-scale-codec", "scale-info", "sp-api", - "sp-runtime", - "sp-std", "sp-weights", "staging-xcm", + "staging-xcm-executor", ] [[package]] -name = "xcm-procedural" -version = "7.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?branch=release-polkadot-v1.11.0-patch4#fb3177d42f7ed729c03ea1184a5a74eb8f3e517c" +name = "xml-rs" +version = "0.8.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea8b391c9a790b496184c29f7f93b9ed5b16abb306c05415b68bcc16e4d06432" + +[[package]] +name = "xmltree" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7d8a75eaf6557bb84a65ace8609883db44a29951042ada9b393151532e41fcb" dependencies = [ - "Inflector", - "proc-macro2", - "quote", - "syn 2.0.61", + "xml-rs", ] [[package]] name = "yamux" -version = "0.10.2" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5d9ba232399af1783a58d8eb26f6b5006fbefe2dc9ef36bd283324792d03ea5" +checksum = "9ed0164ae619f2dc144909a9f082187ebb5893693d8c0196e8085283ccd4b776" dependencies = [ "futures", "log", "nohash-hasher", "parking_lot 0.12.3", - "rand 0.8.5", + "pin-project", + "rand", "static_assertions", ] @@ -17843,14 +17625,14 @@ checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] name = "zeroize" -version = "1.7.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" +checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" dependencies = [ "zeroize_derive", ] @@ -17863,7 +17645,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.90", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index b52e269be2..5691a20274 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -51,19 +51,19 @@ members = [ resolver = "2" [workspace.dependencies] -codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] } +codec = { package = "parity-scale-codec", version = "3.6.12", default-features = false, features = ["derive"] } scale-info = { version = "2.11.1", default-features = false, features = ["derive"] } -serde = { version = "1.0.197", default-features = false } -primitive-types = { version = "0.12.0", default-features = false } +serde = { version = "1.0.209", default-features = false } +primitive-types = { version = "0.12.1", default-features = false } affix = "0.1.2" approx = "0.5.1" async-trait = "0.1" bitflags = "1.3.2" -cargo-lock = "9.0.0" +cargo-lock = "10.0.1" case = "1.0" clap = { version = "4.1.8", features = ["derive"] } -criterion = "0.4.0" +criterion = "0.5.1" derive_more = "0.99.18" environmental = { version = "1.1.2", default-features = false } ethabi = { version = "18.0.0", default-features = false } @@ -72,7 +72,7 @@ futures = "0.3.25" hex = { version = "0.4.3", default-features = false } hex-literal = "0.4.1" impl-trait-for-tuples = "0.2.2" -jsonrpsee = { version = "0.22.5", features = ["server", "macros"] } +jsonrpsee = { version = "0.24.3", features = ["server", "macros"] } lazy_static = { features = ["spin_no_std"], version = "1.4.0", default-features = false } libsecp256k1 = { version = "0.7", default-features = false } log = { version = "0.4.20", default-features = false } @@ -83,7 +83,7 @@ parking_lot = "0.12.1" paste = "1.0.6" platforms = "1.1" pretty_assertions = "1.4.0" -prettyplease = "0.1.18" +prettyplease = "0.2.25" proc-macro2 = "1.0" proptest = "1.0.40" quote = "1.0.20" @@ -100,8 +100,8 @@ static_assertions = "1.1.0" syn = { version = "1.0.98", features = ["extra-traits", "fold", "full", "visit"] } test-case = "2.2.2" tokio = { version = "1", features = ["macros", "rt-multi-thread"] } -toml = "0.5" -trie-db = "0.28.0" +toml = "0.8.19" +trie-db = "0.29.1" trybuild = "1.0" hydra-dx-math = { path = "math", default-features = false } @@ -160,177 +160,177 @@ pallet-evm-precompile-call-permit = { path = "precompiles/call-permit", default- precompile-utils = { path = "precompiles/utils", default-features = false } # Frame -frame-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -frame-benchmarking-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -frame-executive = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -frame-remote-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -frame-support = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false , features = ["tuples-96"]} -frame-support-procedural = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -frame-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -frame-system-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -frame-try-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -frame-metadata-hash-extension = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-arithmetic = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-authority-discovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-block-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-genesis-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-blockchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-consensus-babe = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-consensus-beefy = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-inherents = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-io = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-npos-elections = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sc-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-runtime-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-runtime-interface-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-staking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-std = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-storage = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-state-machine = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-trie = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-version = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-weights = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-crypto-hashing= { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-crypto-ec-utils= { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sp-wasm-interface= { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } - -sc-basic-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sc-chain-spec = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sc-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sc-client-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sc-client-db = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sc-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sc-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sc-consensus-grandpa = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sc-executor = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sc-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sc-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sc-network-sync = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sc-network-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sc-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sc-rpc-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sc-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sc-telemetry = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sc-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sc-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sc-transaction-pool-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -sc-sysinfo = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } +frame-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +frame-benchmarking-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +frame-executive = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +frame-remote-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +frame-support = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false, features = ["tuples-96"] } +frame-support-procedural = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false, features = ["tuples-96"] } +frame-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +frame-system-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +frame-try-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +frame-metadata-hash-extension = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-arithmetic = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-authority-discovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-block-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-genesis-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-blockchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-consensus-babe = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-consensus-beefy = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-inherents = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-io = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-npos-elections = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sc-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-runtime-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-runtime-interface-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-staking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-std = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-storage = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-state-machine = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-trie = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-version = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-weights = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-crypto-hashing = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-crypto-ec-utils = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sp-wasm-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } + +sc-basic-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sc-chain-spec = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sc-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sc-client-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sc-client-db = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sc-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sc-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sc-consensus-grandpa = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sc-executor = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sc-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sc-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sc-network-sync = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sc-network-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sc-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sc-rpc-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sc-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sc-telemetry = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sc-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sc-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sc-transaction-pool-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +sc-sysinfo = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } # Substrate Pallets -pallet-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -pallet-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -pallet-balances = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -pallet-bags-list = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -pallet-collective = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -pallet-conviction-voting = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -pallet-elections-phragmen = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -pallet-identity = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -pallet-multisig = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -pallet-preimage = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -pallet-proxy = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -pallet-referenda = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -pallet-scheduler = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -pallet-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -pallet-sudo = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -pallet-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -pallet-tips = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -pallet-transaction-payment = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -pallet-transaction-payment-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -pallet-treasury = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -pallet-uniques = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -pallet-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -pallet-im-online = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -pallet-message-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -pallet-state-trie-migration = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -pallet-whitelist = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } - -substrate-build-script-utils = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -substrate-frame-rpc-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -substrate-prometheus-endpoint = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -substrate-rpc-client = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -substrate-wasm-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -substrate-state-trie-migration-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } +pallet-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +pallet-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +pallet-balances = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +pallet-bags-list = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +pallet-collective = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +pallet-conviction-voting = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +pallet-elections-phragmen = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +pallet-identity = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +pallet-multisig = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +pallet-preimage = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +pallet-proxy = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +pallet-referenda = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +pallet-scheduler = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +pallet-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +pallet-sudo = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +pallet-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +pallet-tips = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +pallet-transaction-payment = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +pallet-transaction-payment-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +pallet-treasury = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +pallet-uniques = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +pallet-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +pallet-im-online = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +pallet-message-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +pallet-state-trie-migration = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +pallet-whitelist = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } + +substrate-build-script-utils = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +substrate-frame-rpc-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +substrate-prometheus-endpoint = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +substrate-rpc-client = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +substrate-wasm-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +substrate-state-trie-migration-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } #TODO: We use our custom ORML as it contains the fix of bug for reducible_balance check, for Preserve mode. Once the official ORML pushes a new version with the fix, we can use that again # ORML dependencies -orml-benchmarking = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.11.0", default-features = false } -orml-currencies = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.11.0", default-features = false } -orml-tokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.11.0", default-features = false } -orml-traits = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.11.0", default-features = false } -orml-utilities = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.11.0", default-features = false } -orml-vesting = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.11.0", default-features = false } +orml-benchmarking = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-stable2409", default-features = false } +orml-currencies = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-stable2409", default-features = false } +orml-tokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-stable2409", default-features = false } +orml-traits = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-stable2409", default-features = false } +orml-utilities = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-stable2409", default-features = false } +orml-vesting = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-stable2409", default-features = false } # orml XCM support -orml-unknown-tokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.11.0", default-features = false } -orml-xcm = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.11.0", default-features = false } -orml-xcm-support = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.11.0", default-features = false } -orml-xtokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.11.0", default-features = false } +orml-unknown-tokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-stable2409", default-features = false } +orml-xcm = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-stable2409", default-features = false } +orml-xcm-support = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-stable2409", default-features = false } +orml-xtokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-stable2409", default-features = false } # Cumulus dependencies -cumulus-client-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -cumulus-client-collator = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -cumulus-client-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -cumulus-client-consensus-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -cumulus-client-consensus-proposer = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -cumulus-client-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -cumulus-client-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -cumulus-pallet-aura-ext = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -cumulus-primitives-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -cumulus-primitives-parachain-inherent = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -cumulus-relay-chain-inprocess-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -cumulus-relay-chain-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -cumulus-relay-chain-minimal-node = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -cumulus-test-relay-sproof-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -pallet-collator-selection = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -staging-parachain-info = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -xcm-emulator = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -xcm-fee-payment-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -parachains-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } +cumulus-client-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +cumulus-client-collator = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +cumulus-client-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +cumulus-client-consensus-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +cumulus-client-consensus-proposer = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +cumulus-client-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +cumulus-client-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +cumulus-pallet-aura-ext = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +cumulus-primitives-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +cumulus-primitives-parachain-inherent = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +cumulus-relay-chain-inprocess-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +cumulus-relay-chain-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +cumulus-relay-chain-minimal-node = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +cumulus-test-relay-sproof-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +pallet-collator-selection = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +staging-parachain-info = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +xcm-emulator = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +xcm-runtime-apis = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +parachains-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } # Frontier -fc-consensus = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } -fc-db = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } -fc-mapping-sync = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } -fc-rpc = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } -fc-rpc-core = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } - -fp-consensus = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } -fp-evm = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } -fp-rpc = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } -fp-self-contained = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } -fp-storage = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } - -pallet-ethereum = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } -pallet-evm = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } -pallet-evm-chain-id = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } -pallet-evm-precompile-dispatch = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } -pallet-evm-precompile-simple = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } -pallet-evm-precompile-modexp = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } -pallet-evm-precompile-bn128 = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } -pallet-evm-precompile-blake2 = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.11.0", default-features = false } -evm = { git = "https://github.com/moonbeam-foundation/evm", branch = "moonbeam-polkadot-v1.11.0", default-features = false } -evm-gasometer = { git = "https://github.com/moonbeam-foundation/evm", branch = "moonbeam-polkadot-v1.11.0", default-features = false } -evm-runtime = { git = "https://github.com/moonbeam-foundation/evm", branch = "moonbeam-polkadot-v1.11.0", default-features = false } +fc-consensus = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } +fc-db = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } +fc-mapping-sync = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } +fc-rpc = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } +fc-rpc-core = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } + +fp-consensus = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } +fp-evm = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } +fp-rpc = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } +fp-self-contained = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } +fp-storage = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } + +pallet-ethereum = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-evm = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-evm-chain-id = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-evm-precompile-dispatch = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-evm-precompile-simple = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-evm-precompile-modexp = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-evm-precompile-bn128 = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-evm-precompile-blake2 = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } +evm = { git = "https://github.com/moonbeam-foundation/evm", branch = "moonbeam-polkadot-stable2409", default-features = false } +evm-gasometer = { git = "https://github.com/moonbeam-foundation/evm", branch = "moonbeam-polkadot-stable2409", default-features = false } +evm-runtime = { git = "https://github.com/moonbeam-foundation/evm", branch = "moonbeam-polkadot-stable2409", default-features = false } # EVM from acala module-evm-utility-macro = { path = "runtime/hydradx/src/evm/evm-utility/macro", default-features = false } @@ -338,357 +338,356 @@ module-evm-utility-macro = { path = "runtime/hydradx/src/evm/evm-utility/macro", ethereum = { version = "0.15.0", default-features = false, features = ["with-codec"] } # Polkadot dependencies -pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -polkadot-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-core-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false, features = [ - "wasm-api", -]} -polkadot-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -polkadot-runtime-parachains = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -polkadot-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -polkadot-xcm = { package = "staging-xcm", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -xcm = { package = "staging-xcm", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } -xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4", default-features = false } - -polkadot-client = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-node-core-pvf = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-node-network-protocol = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-node-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-node-subsystem = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-node-subsystem-util = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-overseer = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-runtime-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" , default-features = false} -polkadot-statement-table = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -rococo-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -westend-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } - -cumulus-client-pov-recovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-pallet-parachain-system-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-relay-chain-rpc-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } +pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +polkadot-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-core-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false, features = [ + "wasm-api", +] } +polkadot-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +polkadot-runtime-parachains = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +polkadot-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +polkadot-xcm = { package = "staging-xcm", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +xcm = { package = "staging-xcm", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } + +polkadot-client = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-node-core-pvf = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-node-network-protocol = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-node-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-node-subsystem = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-node-subsystem-util = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-overseer = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-runtime-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch", default-features = false } +polkadot-statement-table = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +rococo-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +westend-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } + +cumulus-client-pov-recovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-pallet-parachain-system-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-relay-chain-rpc-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } [patch."https://github.com/moonbeam-foundation/open-runtime-module-library"] # ORML dependencies -orml-benchmarking = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.11.0" } -orml-tokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.11.0" } -orml-traits = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.11.0" } -orml-utilities = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.11.0" } -orml-vesting = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.11.0" } -orml-unknown-tokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.11.0" } -orml-xcm = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.11.0" } -orml-xcm-support = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.11.0" } -orml-xtokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.11.0" } +orml-benchmarking = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-stable2409" } +orml-tokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-stable2409" } +orml-traits = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-stable2409" } +orml-utilities = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-stable2409" } +orml-vesting = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-stable2409" } +orml-unknown-tokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-stable2409" } +orml-xcm = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-stable2409" } +orml-xcm-support = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-stable2409" } +orml-xtokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-stable2409" } [patch."https://github.com/moonbeam-foundation/polkadot-sdk"] -frame-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -frame-benchmarking-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -frame-executive = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -frame-remote-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -frame-support = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -frame-support-procedural = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } - -frame-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -frame-system-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -frame-system-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -frame-try-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -frame-metadata-hash-extension = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-arithmetic = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-authority-discovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-block-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-genesis-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-blockchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-consensus-babe = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-inherents = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-io = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-npos-elections = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-runtime-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-runtime-interface-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-wasm-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-panic-handler = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-database = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-staking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-std = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-storage = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-trie = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-version = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-basic-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-chain-spec = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-client-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-client-db = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-consensus-grandpa = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-executor = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-network-sync = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-network-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-rpc-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-telemetry = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-transaction-pool-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-sysinfo = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-utils = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-state-machine = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-weights = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4"} -sp-crypto-hashing= { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4"} +frame-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +frame-benchmarking-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +frame-executive = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +frame-remote-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +frame-support = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +frame-support-procedural = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +frame-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +frame-system-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +frame-system-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +frame-try-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +frame-metadata-hash-extension = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-arithmetic = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-authority-discovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-block-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-genesis-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-blockchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-consensus-babe = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-inherents = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-io = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-npos-elections = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-runtime-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-runtime-interface-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-wasm-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-panic-handler = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-database = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-staking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-std = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-storage = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-trie = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-version = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-basic-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-chain-spec = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-client-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-client-db = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-consensus-grandpa = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-executor = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-network-sync = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-network-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-rpc-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-telemetry = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-transaction-pool-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-sysinfo = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-utils = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-state-machine = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-weights = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-crypto-hashing = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } # Substrate Pallets -pallet-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-balances = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-collective = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-elections-phragmen = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-identity = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-multisig = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-preimage = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-proxy = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-scheduler = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-sudo = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-tips = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-transaction-payment = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-transaction-payment-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-treasury = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-uniques = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-im-online = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-message-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4"} -pallet-state-trie-migration = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4"} - -substrate-build-script-utils = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -substrate-frame-rpc-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -substrate-prometheus-endpoint = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -substrate-rpc-client = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -substrate-wasm-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -substrate-state-trie-migration-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } +pallet-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-balances = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-collective = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-elections-phragmen = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-identity = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-multisig = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-preimage = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-proxy = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-scheduler = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-sudo = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-tips = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-transaction-payment = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-transaction-payment-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-treasury = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-uniques = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-im-online = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-message-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-state-trie-migration = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } + +substrate-build-script-utils = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +substrate-frame-rpc-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +substrate-prometheus-endpoint = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +substrate-rpc-client = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +substrate-wasm-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +substrate-state-trie-migration-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } # Cumulus dependencies -cumulus-client-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-client-collator = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-client-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-client-consensus-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-client-consensus-proposer = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-client-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-client-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-pallet-aura-ext = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-pallet-parachain-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-pallet-xcmp-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-primitives-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-primitives-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-primitives-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-relay-chain-inprocess-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-relay-chain-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-relay-chain-minimal-node = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-test-relay-sproof-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-collator-selection = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -staging-parachain-info = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -xcm-emulator = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -parachains-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4"} -xcm-fee-payment-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } +cumulus-client-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-client-collator = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-client-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-client-consensus-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-client-consensus-proposer = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-client-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-client-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-pallet-aura-ext = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-pallet-parachain-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-pallet-xcmp-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-primitives-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-primitives-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-primitives-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-relay-chain-inprocess-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-relay-chain-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-relay-chain-minimal-node = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-test-relay-sproof-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-collator-selection = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +staging-parachain-info = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +xcm-emulator = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +parachains-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +xcm-runtime-apis = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } # Polkadot dependencies -pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-core-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4"} -polkadot-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-runtime-parachains = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -xcm = { package = "staging-xcm", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } - -polkadot-node-core-pvf = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-node-network-protocol = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-node-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-node-subsystem = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-node-subsystem-util = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-overseer = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-runtime-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-statement-table = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -rococo-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -westend-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } - -cumulus-client-pov-recovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-pallet-parachain-system-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-relay-chain-rpc-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } +pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-core-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-runtime-parachains = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +xcm = { package = "staging-xcm", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } + +polkadot-node-core-pvf = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-node-network-protocol = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-node-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-node-subsystem = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-node-subsystem-util = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-overseer = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-runtime-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-statement-table = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +rococo-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +westend-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } + +cumulus-client-pov-recovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-pallet-parachain-system-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-relay-chain-rpc-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } [patch."https://github.com/paritytech/polkadot-sdk"] -frame-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -frame-benchmarking-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -frame-executive = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -frame-remote-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -frame-support = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -frame-support-procedural = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -frame-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -frame-system-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -frame-system-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -frame-try-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -frame-metadata-hash-extension = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-arithmetic = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-authority-discovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-block-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-genesis-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-blockchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-consensus-babe = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-inherents = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-io = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-npos-elections = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-runtime-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-runtime-interface-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-wasm-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-panic-handler = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-database = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-staking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-std = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-storage = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-trie = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-version = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-basic-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-chain-spec = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-client-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-client-db = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-consensus-grandpa = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-executor = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-network-sync = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-network-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-rpc-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-telemetry = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-transaction-pool-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-sysinfo = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sc-utils = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-state-machine = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -sp-weights = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4"} -sp-crypto-hashing= { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4"} +frame-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +frame-benchmarking-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +frame-executive = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +frame-remote-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +frame-support = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +frame-support-procedural = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +frame-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +frame-system-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +frame-system-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +frame-try-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +frame-metadata-hash-extension = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-arithmetic = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-authority-discovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-block-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-genesis-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-blockchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-consensus-babe = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-inherents = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-io = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-npos-elections = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-runtime-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-runtime-interface-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-wasm-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-panic-handler = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-database = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-staking = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-std = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-storage = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-trie = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-version = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-basic-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-chain-spec = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-client-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-client-db = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-consensus-grandpa = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-executor = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-network-sync = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-network-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-rpc-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-telemetry = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-transaction-pool-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-sysinfo = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sc-utils = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-state-machine = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-weights = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +sp-crypto-hashing = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } # Substrate Pallets -pallet-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-balances = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-collective = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-elections-phragmen = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-identity = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-multisig = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-preimage = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-proxy = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-scheduler = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-sudo = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-tips = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-transaction-payment = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-transaction-payment-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-treasury = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-uniques = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-im-online = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-message-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4"} -pallet-state-trie-migration = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4"} - -substrate-build-script-utils = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -substrate-frame-rpc-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -substrate-prometheus-endpoint = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -substrate-rpc-client = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -substrate-wasm-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -substrate-state-trie-migration-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } +pallet-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-balances = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-collective = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-elections-phragmen = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-identity = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-multisig = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-preimage = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-proxy = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-scheduler = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-sudo = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-tips = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-transaction-payment = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-transaction-payment-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-treasury = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-uniques = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-im-online = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-message-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-state-trie-migration = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } + +substrate-build-script-utils = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +substrate-frame-rpc-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +substrate-prometheus-endpoint = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +substrate-rpc-client = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +substrate-wasm-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +substrate-state-trie-migration-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } # Cumulus dependencies -cumulus-client-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-client-collator = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-client-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-client-consensus-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-client-consensus-proposer = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-client-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-client-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-pallet-aura-ext = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-pallet-parachain-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-pallet-xcmp-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-primitives-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-primitives-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-primitives-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-relay-chain-inprocess-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-relay-chain-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-relay-chain-minimal-node = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-test-relay-sproof-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -pallet-collator-selection = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -staging-parachain-info = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -xcm-emulator = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -parachains-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4"} -xcm-fee-payment-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } +cumulus-client-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-client-collator = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-client-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-client-consensus-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-client-consensus-proposer = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-client-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-client-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-pallet-aura-ext = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-pallet-parachain-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-pallet-xcmp-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-primitives-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-primitives-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-primitives-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-relay-chain-inprocess-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-relay-chain-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-relay-chain-minimal-node = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-test-relay-sproof-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +pallet-collator-selection = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +staging-parachain-info = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +xcm-emulator = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +parachains-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +xcm-runtime-apis = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } # Polkadot dependencies -pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-core-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4"} -polkadot-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-runtime-parachains = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -xcm = { package = "staging-xcm", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } - -polkadot-node-core-pvf = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-node-network-protocol = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-node-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-node-subsystem = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-node-subsystem-util = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-overseer = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-runtime-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -polkadot-statement-table = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -rococo-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -westend-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } - -cumulus-client-pov-recovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-pallet-parachain-system-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } -cumulus-relay-chain-rpc-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.11.0-patch4" } +pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-core-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-runtime-parachains = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +xcm = { package = "staging-xcm", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } + +polkadot-node-core-pvf = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-node-network-protocol = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-node-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-node-subsystem = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-node-subsystem-util = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-overseer = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-runtime-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +polkadot-statement-table = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +rococo-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +westend-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } + +cumulus-client-pov-recovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-pallet-parachain-system-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } +cumulus-relay-chain-rpc-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "stable2409-patch" } diff --git a/Makefile b/Makefile index 4518d1905e..4171f28d75 100644 --- a/Makefile +++ b/Makefile @@ -54,7 +54,7 @@ format: .PHONY: try-runtime try-runtime: $(cargo) build --release --features try-runtime - try-runtime --runtime ./target/release/wbuild/hydradx-runtime/hydradx_runtime.wasm on-runtime-upgrade --blocktime 12000 --checks all live --uri wss://archive.rpc.hydration.cloud + try-runtime --runtime ./target/release/wbuild/hydradx-runtime/hydradx_runtime.wasm on-runtime-upgrade --checks all live --uri wss://archive.rpc.hydration.cloud .PHONY: build-docs build-docs: diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index a5087bafd0..303f65125c 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "runtime-integration-tests" -version = "1.33.0" +version = "1.33.1" description = "Integration tests" authors = ["GalacticCouncil"] edition = "2021" diff --git a/integration-tests/evm-snapshot/SNAPSHOT b/integration-tests/evm-snapshot/SNAPSHOT index 26638282e6..28a6de6b3b 100644 Binary files a/integration-tests/evm-snapshot/SNAPSHOT and b/integration-tests/evm-snapshot/SNAPSHOT differ diff --git a/integration-tests/src/contracts.rs b/integration-tests/src/contracts.rs index 339c56e447..4096f8c3b5 100644 --- a/integration-tests/src/contracts.rs +++ b/integration-tests/src/contracts.rs @@ -1,37 +1,22 @@ use crate::evm::dai_ethereum_address; -use crate::polkadot_test_net::Hydra; -use crate::polkadot_test_net::TestNet; -use crate::polkadot_test_net::ALICE; -use crate::polkadot_test_net::BOB; -use crate::polkadot_test_net::UNITS; -use crate::polkadot_test_net::WETH; -use crate::utils::contracts::deploy_contract; -use crate::utils::contracts::deploy_contract_code; -use crate::utils::contracts::get_contract_bytecode; -use fp_evm::ExitReason::Succeed; -use fp_evm::ExitSucceed::Stopped; -use fp_evm::FeeCalculator; +use crate::polkadot_test_net::{Hydra, TestNet, ALICE, BOB, UNITS, WETH}; +use crate::utils::contracts::{deploy_contract, deploy_contract_code, get_contract_bytecode}; +use fp_evm::{ExitReason::Succeed, ExitSucceed::Stopped, FeeCalculator}; use frame_support::assert_ok; use hex_literal::hex; -use hydradx_runtime::evm::precompiles::handle::EvmDataWriter; -use hydradx_runtime::evm::precompiles::Bytes; -use hydradx_runtime::evm::Executor; -use hydradx_runtime::AccountId; -use hydradx_runtime::EVMAccounts; -use hydradx_runtime::Runtime; -use hydradx_runtime::RuntimeEvent; -use hydradx_runtime::System; -use hydradx_traits::evm::CallContext; -use hydradx_traits::evm::EvmAddress; -use hydradx_traits::evm::InspectEvmAccounts; -use hydradx_traits::evm::EVM; +use hydradx_runtime::{ + evm::{ + precompiles::{handle::EvmDataWriter, Bytes}, + Executor, + }, + AccountId, EVMAccounts, Runtime, RuntimeEvent, System, +}; +use hydradx_traits::evm::{CallContext, EvmAddress, InspectEvmAccounts, EVM}; use num_enum::{IntoPrimitive, TryFromPrimitive}; use pretty_assertions::assert_eq; -use sp_core::H256; -use sp_core::{RuntimeDebug, U256}; +use sp_core::{RuntimeDebug, H256, U256}; use test_utils::expect_events; -use xcm_emulator::Network; -use xcm_emulator::TestExt; +use xcm_emulator::{Network, TestExt}; pub fn deployer() -> EvmAddress { EVMAccounts::evm_address(&Into::::into(ALICE)) @@ -107,7 +92,7 @@ fn contract_check_fails_on_precompile_without_code() { TestNet::reset(); Hydra::execute_with(|| { let checker = deploy_contract("ContractCheck", deployer()); - pallet_evm::AccountCodes::::remove(dai_ethereum_address()); + pallet_evm::Pallet::::remove_account(&dai_ethereum_address()); assert_eq!(is_contract(checker, dai_ethereum_address()), false); }); } @@ -117,6 +102,7 @@ fn contract_check_succeeds_on_precompile_with_invalid_code() { TestNet::reset(); Hydra::execute_with(|| { let checker = deploy_contract("ContractCheck", deployer()); + // The code is invalid, but we intentionally set account codes of registered assets to 0. pallet_evm::AccountCodes::::insert(dai_ethereum_address(), &hex!["00"][..]); assert_eq!(is_contract(checker, dai_ethereum_address()), true); }); diff --git a/integration-tests/src/cross_chain_transfer.rs b/integration-tests/src/cross_chain_transfer.rs index 4bc0012d25..88b7e7164b 100644 --- a/integration-tests/src/cross_chain_transfer.rs +++ b/integration-tests/src/cross_chain_transfer.rs @@ -108,10 +108,7 @@ fn rococo_should_receive_asset_when_sent_from_hydra() { }); Rococo::execute_with(|| { - assert_eq!( - hydradx_runtime::Balances::free_balance(AccountId::from(BOB)), - 2_999_989_606_492 // 3 * HDX - fee - ); + assert!(hydradx_runtime::Balances::free_balance(AccountId::from(BOB)) < 3 * UNITS); }); } diff --git a/integration-tests/src/dca.rs b/integration-tests/src/dca.rs index 43daa1b498..fdc9a47a14 100644 --- a/integration-tests/src/dca.rs +++ b/integration-tests/src/dca.rs @@ -198,7 +198,7 @@ mod omnipool { assert_balance!(ALICE.into(), DAI, ALICE_INITIAL_DAI_BALANCE + amount_out); assert_balance!(ALICE.into(), HDX, ALICE_INITIAL_NATIVE_BALANCE - dca_budget); - assert_reserved_balance!(&ALICE.into(), HDX, 858874258006303); + assert_reserved_balance!(&ALICE.into(), HDX, 858858384008414); }); } @@ -339,7 +339,7 @@ mod omnipool { assert_balance!(ALICE.into(), DAI, ALICE_INITIAL_DAI_BALANCE + amount_out); assert_balance!(ALICE.into(), HDX, ALICE_INITIAL_NATIVE_BALANCE - dca_budget); - assert_reserved_balance!(&ALICE.into(), HDX, 858874258006303); + assert_reserved_balance!(&ALICE.into(), HDX, 858858384008414); }); } @@ -440,7 +440,7 @@ mod omnipool { //Assert assert_balance!(ALICE.into(), DAI, ALICE_INITIAL_DAI_BALANCE + amount_out); assert_balance!(ALICE.into(), LRNA, alice_init_hub_balance - dca_budget); - assert_reserved_balance!(&ALICE.into(), LRNA, 2429472200972701); + assert_reserved_balance!(&ALICE.into(), LRNA, 2429464263973749); let treasury_balance = Currencies::free_balance(LRNA, &Treasury::account_id()); assert!(treasury_balance > 0); @@ -469,7 +469,7 @@ mod omnipool { set_relaychain_block_number(12); //Assert - assert_reserved_balance!(&ALICE.into(), HDX, 858874258006303); + assert_reserved_balance!(&ALICE.into(), HDX, 858858384008414); assert_balance!(ALICE.into(), DAI, ALICE_INITIAL_DAI_BALANCE + amount_out); }); @@ -552,7 +552,7 @@ mod omnipool { set_relaychain_block_number(12); //Assert - assert_reserved_balance!(&ALICE.into(), LRNA, 929472200972701); + assert_reserved_balance!(&ALICE.into(), LRNA, 929464263973749); assert_balance!(ALICE.into(), DAI, 2100000000000000); }); @@ -1543,7 +1543,7 @@ mod omnipool { assert_balance!(ALICE.into(), DAI, 2142642852904326); assert_balance!(ALICE.into(), LRNA, alice_init_hub_balance - dca_budget); - assert_reserved_balance!(&ALICE.into(), LRNA, 2399569558403200); + assert_reserved_balance!(&ALICE.into(), LRNA, 2399561886966227); }); } diff --git a/integration-tests/src/evm.rs b/integration-tests/src/evm.rs index c57c75926f..371b8e1c5d 100644 --- a/integration-tests/src/evm.rs +++ b/integration-tests/src/evm.rs @@ -304,7 +304,7 @@ mod account_conversion { DISPATCH_ADDR, // to data, // data U256::from(0u64), - U256::from(52000u64), + U256::from(53000u64), None, None, None, @@ -1599,7 +1599,7 @@ fn compare_fee_in_eth_between_evm_and_native_omnipool_calls() { fee_currency, )); - // give alice evm addr seom weth to sell in omnipool + // give alice evm addr some DOT to sell in omnipool assert_ok!(hydradx_runtime::Currencies::update_balance( hydradx_runtime::RuntimeOrigin::root(), ALICE.into(), diff --git a/integration-tests/src/exchange_asset.rs b/integration-tests/src/exchange_asset.rs index 7f20a3d6f2..31dd0103e2 100644 --- a/integration-tests/src/exchange_asset.rs +++ b/integration-tests/src/exchange_asset.rs @@ -2,28 +2,31 @@ use crate::assert_operation_stack; use crate::polkadot_test_net::*; -use frame_support::dispatch::GetDispatchInfo; -use frame_support::storage::with_transaction; -use frame_support::traits::fungible::Balanced; -use frame_support::traits::tokens::Precision; -use frame_support::weights::Weight; -use frame_support::{assert_ok, pallet_prelude::*}; -use hydradx_runtime::AssetRegistry; -use hydradx_runtime::Router; -use hydradx_runtime::RuntimeOrigin; -use hydradx_traits::AssetKind; -use hydradx_traits::Create; +use frame_support::{ + assert_ok, + dispatch::GetDispatchInfo, + pallet_prelude::*, + storage::with_transaction, + traits::{fungible::Balanced, tokens::Precision}, + weights::Weight, +}; +use hydradx_runtime::{AssetRegistry, Omnipool, Router, RuntimeOrigin}; +use hydradx_traits::{AssetKind, Create}; use orml_traits::currency::MultiCurrency; +use pallet_broadcast::types::ExecutionType; use polkadot_xcm::opaque::v3::{Junction, Junctions::X2, MultiLocation}; use polkadot_xcm::{v4::prelude::*, VersionedXcm}; use pretty_assertions::assert_eq; use primitives::constants::chain::CORE_ASSET_ID; -use primitives::AccountId; -use sp_runtime::traits::{Convert, Zero}; -use sp_runtime::DispatchResult; -use sp_runtime::{FixedU128, Permill, TransactionOutcome}; +use rococo_runtime::xcm_config::BaseXcmWeight; +use sp_runtime::{ + traits::{Convert, Zero}, + DispatchResult, FixedU128, Permill, TransactionOutcome, +}; use sp_std::sync::Arc; +use xcm_builder::FixedWeightBounds; use xcm_emulator::TestExt; +use xcm_executor::traits::WeightBounds; pub const SELL: bool = true; pub const BUY: bool = false; @@ -53,7 +56,7 @@ fn hydra_should_swap_assets_when_receiving_from_acala_with_sell() { let token_price = FixedU128::from_float(1.0); assert_ok!(hydradx_runtime::Tokens::deposit(ACA, &omnipool_account, 3000 * UNITS)); - assert_ok!(hydradx_runtime::Omnipool::add_token( + assert_ok!(Omnipool::add_token( hydradx_runtime::RuntimeOrigin::root(), ACA, token_price, @@ -61,7 +64,7 @@ fn hydra_should_swap_assets_when_receiving_from_acala_with_sell() { AccountId::from(BOB), )); use hydradx_traits::pools::SpotPriceProvider; - price = hydradx_runtime::Omnipool::spot_price(CORE_ASSET_ID, ACA); + price = Omnipool::spot_price(CORE_ASSET_ID, ACA); TransactionOutcome::Commit(DispatchResult::Ok(())) }); @@ -182,12 +185,12 @@ fn hydra_should_swap_assets_when_receiving_from_acala_with_buy() { add_currency_price(ACA, FixedU128::from(1)); init_omnipool(); - let omnipool_account = hydradx_runtime::Omnipool::protocol_account(); + let omnipool_account = Omnipool::protocol_account(); let token_price = FixedU128::from_float(1.0); assert_ok!(hydradx_runtime::Tokens::deposit(ACA, &omnipool_account, 3000 * UNITS)); - assert_ok!(hydradx_runtime::Omnipool::add_token( + assert_ok!(Omnipool::add_token( hydradx_runtime::RuntimeOrigin::root(), ACA, token_price, @@ -272,13 +275,13 @@ fn transfer_and_swap_should_work_with_4_hops() { add_currency_price(GLMR, FixedU128::from(1)); init_omnipool(); - let omnipool_account = hydradx_runtime::Omnipool::protocol_account(); + let omnipool_account = Omnipool::protocol_account(); let token_price = FixedU128::from_float(1.0); assert_ok!(hydradx_runtime::Tokens::deposit(GLMR, &omnipool_account, 3000 * UNITS)); assert_ok!(hydradx_runtime::Tokens::deposit(IBTC, &omnipool_account, 3000 * UNITS)); - assert_ok!(hydradx_runtime::Omnipool::add_token( + assert_ok!(Omnipool::add_token( hydradx_runtime::RuntimeOrigin::root(), GLMR, token_price, @@ -286,7 +289,7 @@ fn transfer_and_swap_should_work_with_4_hops() { AccountId::from(BOB), )); - assert_ok!(hydradx_runtime::Omnipool::add_token( + assert_ok!(Omnipool::add_token( hydradx_runtime::RuntimeOrigin::root(), IBTC, token_price, @@ -411,7 +414,7 @@ pub mod zeitgeist_use_cases { crate::exchange_asset::add_currency_price(crate::exchange_asset::ZTG, FixedU128::from(1)); init_omnipool(); - let omnipool_account = hydradx_runtime::Omnipool::protocol_account(); + let omnipool_account = Omnipool::protocol_account(); let token_price = FixedU128::from_float(1.0); assert_ok!(hydradx_runtime::Tokens::deposit( @@ -420,7 +423,7 @@ pub mod zeitgeist_use_cases { 1000000 * UNITS )); - assert_ok!(hydradx_runtime::Omnipool::add_token( + assert_ok!(Omnipool::add_token( hydradx_runtime::RuntimeOrigin::root(), ZTG, token_price, @@ -589,7 +592,7 @@ pub mod zeitgeist_use_cases { crate::exchange_asset::add_currency_price(crate::exchange_asset::ZTG, FixedU128::from(1)); init_omnipool(); - let omnipool_account = hydradx_runtime::Omnipool::protocol_account(); + let omnipool_account = Omnipool::protocol_account(); let token_price = FixedU128::from_float(1.0); assert_ok!(hydradx_runtime::Tokens::deposit(ZTG, &omnipool_account, 100000 * UNITS)); @@ -598,7 +601,7 @@ pub mod zeitgeist_use_cases { &omnipool_account, 100000 * UNITS )); - assert_ok!(hydradx_runtime::Omnipool::add_token( + assert_ok!(Omnipool::add_token( hydradx_runtime::RuntimeOrigin::root(), IBTC, token_price, @@ -606,7 +609,7 @@ pub mod zeitgeist_use_cases { AccountId::from(BOB), )); - assert_ok!(hydradx_runtime::Omnipool::add_token( + assert_ok!(Omnipool::add_token( hydradx_runtime::RuntimeOrigin::root(), ZTG, token_price, @@ -815,7 +818,7 @@ pub mod zeitgeist_use_cases { crate::exchange_asset::add_currency_price(crate::exchange_asset::GLMR, FixedU128::from(1)); init_omnipool(); - let omnipool_account = hydradx_runtime::Omnipool::protocol_account(); + let omnipool_account = Omnipool::protocol_account(); let token_price = FixedU128::from_float(1.0); assert_ok!(hydradx_runtime::Tokens::deposit( @@ -828,7 +831,7 @@ pub mod zeitgeist_use_cases { &omnipool_account, 100000 * UNITS )); - assert_ok!(hydradx_runtime::Omnipool::add_token( + assert_ok!(Omnipool::add_token( hydradx_runtime::RuntimeOrigin::root(), IBTC, token_price, @@ -836,7 +839,7 @@ pub mod zeitgeist_use_cases { AccountId::from(BOB), )); - assert_ok!(hydradx_runtime::Omnipool::add_token( + assert_ok!(Omnipool::add_token( hydradx_runtime::RuntimeOrigin::root(), GLMR, token_price, @@ -1190,10 +1193,6 @@ fn half(asset: &Asset) -> Asset { id: asset.clone().id, } } -use pallet_broadcast::types::ExecutionType; -use rococo_runtime::xcm_config::BaseXcmWeight; -use xcm_builder::FixedWeightBounds; -use xcm_executor::traits::WeightBounds; fn craft_transfer_and_swap_xcm_with_4_hops( give_asset: Asset, diff --git a/integration-tests/src/liquidation.rs b/integration-tests/src/liquidation.rs index 171fc6babf..9b9dce33e5 100644 --- a/integration-tests/src/liquidation.rs +++ b/integration-tests/src/liquidation.rs @@ -24,6 +24,7 @@ use orml_traits::currency::MultiCurrency; use sp_core::{H256, U256}; use sp_runtime::{traits::CheckedConversion, SaturatedConversion}; +// ./target/release/scraper save-storage --pallet EVM AssetRegistry Timestamp Omnipool Tokens --uri wss://rpc.nice.hydration.cloud:443 const PATH_TO_SNAPSHOT: &str = "evm-snapshot/SNAPSHOT"; #[module_evm_utility_macro::generate_function_selector] diff --git a/integration-tests/src/polkadot_test_net.rs b/integration-tests/src/polkadot_test_net.rs index 71a3f8bfc8..ba97588b0f 100644 --- a/integration-tests/src/polkadot_test_net.rs +++ b/integration-tests/src/polkadot_test_net.rs @@ -2,7 +2,7 @@ use frame_support::{ assert_ok, sp_runtime::{ - traits::{AccountIdConversion, Block as BlockT, Dispatchable, HashingFor}, + traits::{AccountIdConversion, Block as BlockT, Dispatchable}, BuildStorage, FixedU128, Permill, }, traits::{GetCallMetadata, OnInitialize}, @@ -18,7 +18,7 @@ use hex_literal::hex; use hydradx_runtime::{evm::WETH_ASSET_LOCATION, Referrals, RuntimeEvent, RuntimeOrigin}; pub use hydradx_traits::{evm::InspectEvmAccounts, registry::Mutate}; use pallet_referrals::{FeeDistribution, Level}; -pub use polkadot_primitives::v7::{BlockNumber, MAX_CODE_SIZE, MAX_POV_SIZE}; +pub use polkadot_primitives::v8::{BlockNumber, MAX_CODE_SIZE, MAX_POV_SIZE}; use polkadot_runtime_parachains::configuration::HostConfiguration; use sp_consensus_beefy::ecdsa_crypto::AuthorityId as BeefyId; use sp_core::storage::Storage; @@ -144,6 +144,7 @@ decl_test_parachains! { on_init = { hydradx_runtime::System::set_block_number(1); hydradx_runtime::Timestamp::set_timestamp(NOW); + hydradx_runtime::AuraExt::on_initialize(1); // Make sure the prices are up-to-date. hydradx_runtime::MultiTransactionPayment::on_initialize(1); hydradx_runtime::AssetRegistry::set_location(WETH, WETH_ASSET_LOCATION).unwrap(); @@ -164,6 +165,7 @@ decl_test_parachains! { genesis = para::genesis(ACALA_PARA_ID), on_init = { hydradx_runtime::System::set_block_number(1); + hydradx_runtime::AuraExt::on_initialize(1); }, runtime = hydradx_runtime, core = { @@ -181,6 +183,7 @@ decl_test_parachains! { genesis = para::genesis(MOONBEAM_PARA_ID), on_init = { hydradx_runtime::System::set_block_number(1); + hydradx_runtime::AuraExt::on_initialize(1); }, runtime = hydradx_runtime, core = { @@ -198,6 +201,7 @@ decl_test_parachains! { genesis = para::genesis(INTERLAY_PARA_ID), on_init = { hydradx_runtime::System::set_block_number(1); + hydradx_runtime::AuraExt::on_initialize(1); }, runtime = hydradx_runtime, core = { @@ -215,6 +219,7 @@ decl_test_parachains! { genesis = para::genesis(ASSET_HUB_PARA_ID), on_init = { hydradx_runtime::System::set_block_number(1); + hydradx_runtime::AuraExt::on_initialize(1); }, runtime = hydradx_runtime, core = { @@ -232,6 +237,7 @@ decl_test_parachains! { genesis = para::genesis(ZEITGEIST_PARA_ID), on_init = { hydradx_runtime::System::set_block_number(1); + hydradx_runtime::AuraExt::on_initialize(1); }, runtime = hydradx_runtime, core = { @@ -282,10 +288,9 @@ pub mod rococo { } } - use sp_core::{Pair, Public}; + use sp_core::{sr25519, Pair, Public}; use polkadot_primitives::{AssignmentId, ValidatorId}; - use polkadot_service::chain_spec::get_authority_keys_from_seed_no_beefy; use sc_consensus_grandpa::AuthorityId as GrandpaId; use sp_authority_discovery::AuthorityId as AuthorityDiscoveryId; use sp_consensus_babe::AuthorityId as BabeId; @@ -340,6 +345,28 @@ pub mod rococo { } } + pub fn get_authority_keys_from_seed_no_beefy( + seed: &str, + ) -> ( + AccountId, + AccountId, + BabeId, + GrandpaId, + ValidatorId, + AssignmentId, + AuthorityDiscoveryId, + ) { + ( + get_account_id_from_seed::(&format!("{}//stash", seed)), + get_account_id_from_seed::(seed), + get_from_seed::(seed), + get_from_seed::(seed), + get_from_seed::(seed), + get_from_seed::(seed), + get_from_seed::(seed), + ) + } + pub fn genesis() -> Storage { let genesis_config = rococo_runtime::RuntimeGenesisConfig { balances: rococo_runtime::BalancesConfig { @@ -366,6 +393,7 @@ pub mod rococo { ) }) .collect::>(), + non_authority_keys: Default::default(), }, configuration: rococo_runtime::ConfigurationConfig { config: get_host_configuration(), @@ -468,6 +496,7 @@ pub mod hydra { ) }) .collect(), + non_authority_keys: Default::default(), }, asset_registry: hydradx_runtime::AssetRegistryConfig { registered_assets: vec![ @@ -632,6 +661,7 @@ pub mod para { ) }) .collect(), + non_authority_keys: Default::default(), }, parachain_info: hydradx_runtime::ParachainInfoConfig { parachain_id: para_id.into(), @@ -679,6 +709,8 @@ pub fn expect_hydra_events(event: Vec) { pub fn set_relaychain_block_number(number: BlockNumber) { use hydradx_runtime::ParachainSystem; + use sp_core::{Encode, Get}; + use xcm_emulator::HeaderT; // We need to set block number this way as well because tarpaulin code coverage tool does not like the way // how we set the block number with `cumulus-test-relay-sproof-builder` package @@ -686,7 +718,23 @@ pub fn set_relaychain_block_number(number: BlockNumber) { ParachainSystem::on_initialize(number); - let (relay_storage_root, proof) = RelayStateSproofBuilder::default().into_state_root_and_proof(); + let mut sproof_builder = RelayStateSproofBuilder::default(); + + let parent_head_data = { + let header = cumulus_primitives_core::relay_chain::Header::new( + number, + sp_core::H256::from_low_u64_be(0), + sp_core::H256::from_low_u64_be(0), + Default::default(), + Default::default(), + ); + cumulus_primitives_core::relay_chain::HeadData(header.encode()) + }; + + sproof_builder.para_id = hydradx_runtime::ParachainInfo::get(); + sproof_builder.included_para_head = Some(parent_head_data.clone()); + + let (relay_storage_root, proof) = sproof_builder.into_state_root_and_proof(); assert_ok!(ParachainSystem::set_validation_data( RuntimeOrigin::none(), @@ -717,6 +765,7 @@ pub fn hydradx_run_to_next_block() { hydradx_runtime::System::set_block_number(b + 1); hydradx_runtime::System::on_initialize(b + 1); + hydradx_runtime::AuraExt::on_initialize(b + 1); hydradx_runtime::MultiTransactionPayment::on_initialize(b + 1); hydradx_runtime::CircuitBreaker::on_initialize(b + 1); hydradx_runtime::DynamicEvmFee::on_initialize(b + 1); @@ -770,7 +819,7 @@ pub fn rococo_run_to_block(to: BlockNumber) { pub fn hydra_live_ext( path_to_snapshot: &str, -) -> frame_remote_externalities::RemoteExternalities> { +) -> frame_remote_externalities::RemoteExternalities { let ext = tokio::runtime::Builder::new_current_thread() .enable_all() .build() diff --git a/integration-tests/src/xyk_liquidity_mining.rs b/integration-tests/src/xyk_liquidity_mining.rs index 67114970c1..89e2e5da6d 100644 --- a/integration-tests/src/xyk_liquidity_mining.rs +++ b/integration-tests/src/xyk_liquidity_mining.rs @@ -178,7 +178,7 @@ fn deposit_shares_should_work_when_yield_farm_exists() { let dave_shares_balance = Currencies::free_balance(xyk_share_id, &DAVE.into()); hydradx_run_to_block(100); - set_relaychain_block_number(100); + create_global_farm(None, PEPE, None); create_yield_farm(global_farm_id, asset_pair, None); set_relaychain_block_number(300); diff --git a/math/Cargo.toml b/math/Cargo.toml index 5da8cbebc1..c123233fc6 100644 --- a/math/Cargo.toml +++ b/math/Cargo.toml @@ -6,7 +6,7 @@ license = 'Apache-2.0' name = "hydra-dx-math" description = "A collection of utilities to make performing liquidity pool calculations more convenient." repository = 'https://github.com/galacticcouncil/hydradx-math' -version = "9.0.0" +version = "9.0.1" [dependencies] primitive-types = { workspace = true } diff --git a/math/src/ema/math.rs b/math/src/ema/math.rs index 775f8d5c6b..939939add1 100644 --- a/math/src/ema/math.rs +++ b/math/src/ema/math.rs @@ -109,7 +109,7 @@ pub fn exp_smoothing(smoothing: Fraction, iterations: u32) -> Fraction { /// Possible alternatives for `alpha = 2 / (period + 1)`: /// + `alpha = 1 - 0.5^(1 / period)` for a half-life of `period` or /// + `alpha = 1 - 0.5^(2 / period)` to have the same median as a `period`-length SMA. -/// See https://en.wikipedia.org/wiki/Moving_average#Relationship_between_SMA_and_EMA +/// See https://en.wikipedia.org/wiki/Moving_average#Relationship_between_SMA_and_EMA /// /// Note: Not used in the pallet except to check configured values. Not meant to be used by code /// interacting with the pallet. Use the configured values. diff --git a/math/src/ema/tests/high_precision.rs b/math/src/ema/tests/high_precision.rs index 6d08729ebb..611586c467 100644 --- a/math/src/ema/tests/high_precision.rs +++ b/math/src/ema/tests/high_precision.rs @@ -160,7 +160,8 @@ fn precise_price_ema_works() { let smoothing = fraction::frac(1, 4); let expected = ((Rational::from(history[0]) * 3 / 4 + Rational::from(history[1]) / 4) * 3 / 4 + Rational::from(history[2]) / 4) - * 3 / 4 + Rational::from(history[3]) / 4; + * 3 / 4 + + Rational::from(history[3]) / 4; let naive_ema = naive_precise_price_ema(history.clone(), fraction_to_high_precision(smoothing)); assert_eq!(expected, naive_ema); let history = history.into_iter().map(|p| (p, 1)).collect(); diff --git a/math/src/liquidity_mining/tests.rs b/math/src/liquidity_mining/tests.rs index d334c020a7..566a4b3e43 100644 --- a/math/src/liquidity_mining/tests.rs +++ b/math/src/liquidity_mining/tests.rs @@ -917,7 +917,7 @@ fn calculate_global_farm_rewards_should_work() { ( FixedU128::from(1), //max value for yield_per_period 100_000_000_000_000_000_000_000_000_000_u128, - u128::max_value() / 1_000_000, + u128::MAX / 1_000_000, FixedU128::from(3), 1_000_000, 300_000_000_000_000_000_000_000_000_000_000_000_u128, diff --git a/node/Cargo.toml b/node/Cargo.toml index 466d4b58fb..dea02c58db 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx" -version = "14.0.2" +version = "14.1.0" description = "Hydration node" authors = ["GalacticCouncil"] edition = "2021" diff --git a/node/src/chain_spec/mod.rs b/node/src/chain_spec/mod.rs index d0ba40231f..44eb441a19 100644 --- a/node/src/chain_spec/mod.rs +++ b/node/src/chain_spec/mod.rs @@ -28,8 +28,7 @@ pub mod staging; use cumulus_primitives_core::ParaId; use hex_literal::hex; use hydradx_runtime::{ - pallet_claims::EthereumAddress, AccountId, AuraId, Balance, DusterConfig, RegistryStrLimit, RuntimeGenesisConfig, - Signature, WASM_BINARY, + pallet_claims::EthereumAddress, AccountId, AuraId, Balance, DusterConfig, RegistryStrLimit, Signature, WASM_BINARY, }; use primitives::{ constants::currency::{NATIVE_EXISTENTIAL_DEPOSIT, UNITS}, @@ -53,7 +52,6 @@ const STASH: Balance = 100 * UNITS; /// The extensions for the [`ChainSpec`]. #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize, ChainSpecExtension, ChainSpecGroup)] -#[serde(deny_unknown_fields)] pub struct Extensions { /// The relay chain of the Parachain. pub relay_chain: String, @@ -71,7 +69,7 @@ impl Extensions { } /// Specialized `ChainSpec`. This is a specialization of the general Substrate ChainSpec type. -pub type ChainSpec = sc_service::GenericChainSpec; +pub type ChainSpec = sc_service::GenericChainSpec; /// Generate a crypto pair from seed. pub fn get_from_seed(seed: &str) -> ::Public { diff --git a/node/src/command.rs b/node/src/command.rs index 0393802c22..2b5ad8dddc 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -291,7 +291,7 @@ pub fn run() -> sc_cli::Result<()> { let id = ParaId::from(para_id); let parachain_account = - AccountIdConversion::::into_account_truncating(&id); + AccountIdConversion::::into_account_truncating(&id); let state_version = Cli::runtime_version().state_version(); @@ -368,15 +368,9 @@ impl CliConfiguration for RelayChainCli { self.base.base.prometheus_config(default_listen_port, chain_spec) } - fn init( - &self, - _support_url: &String, - _impl_version: &String, - _logger_hook: F, - _config: &sc_service::Configuration, - ) -> Result<()> + fn init(&self, _support_url: &String, _impl_version: &String, _logger_hook: F) -> Result<()> where - F: FnOnce(&mut sc_cli::LoggerBuilder, &sc_service::Configuration), + F: FnOnce(&mut sc_cli::LoggerBuilder), { unreachable!("PolkadotCli is never initialized; qed"); } diff --git a/node/src/rpc.rs b/node/src/rpc.rs index 83173e3b32..6beda3d4e0 100644 --- a/node/src/rpc.rs +++ b/node/src/rpc.rs @@ -36,7 +36,6 @@ use sc_client_api::{ use sc_network::service::traits::NetworkService; use sc_network_sync::SyncingService; use sc_rpc::SubscriptionTaskExecutor; -pub use sc_rpc_api::DenyUnsafe; use sc_transaction_pool::{ChainApi, Pool}; use sc_transaction_pool_api::TransactionPool; use sp_api::{CallApiAt, ProvideRuntimeApi}; @@ -61,8 +60,6 @@ pub struct FullDeps { pub client: Arc, /// Transaction pool instance. pub pool: Arc

, - /// Whether to deny unsafe calls - pub deny_unsafe: DenyUnsafe, /// Backend used by the node. pub backend: Arc, } @@ -125,16 +122,11 @@ where use substrate_state_trie_migration_rpc::{StateMigration, StateMigrationApiServer}; let mut module = RpcExtension::new(()); - let FullDeps { - client, - pool, - deny_unsafe, - backend, - } = deps; + let FullDeps { client, pool, backend } = deps; - module.merge(System::new(client.clone(), pool, deny_unsafe).into_rpc())?; + module.merge(System::new(client.clone(), pool).into_rpc())?; module.merge(TransactionPayment::new(client.clone()).into_rpc())?; - module.merge(StateMigration::new(client, backend, deny_unsafe).into_rpc())?; + module.merge(StateMigration::new(client, backend).into_rpc())?; Ok(module) } diff --git a/node/src/service.rs b/node/src/service.rs index 3d6d925125..d29e96f0d1 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -42,7 +42,6 @@ use sc_client_api::Backend; use sc_consensus::ImportQueue; use sc_executor::{HeapAllocStrategy, WasmExecutor, DEFAULT_HEAP_ALLOC_STRATEGY}; use sc_network::NetworkBlock; -use sc_network_sync::SyncingService; use sc_service::{Configuration, PartialComponents, TFullBackend, TFullClient, TaskManager}; use sc_telemetry::{Telemetry, TelemetryHandle, TelemetryWorker, TelemetryWorkerHandle}; use sc_transaction_pool_api::OffchainTransactionPoolFactory; @@ -102,17 +101,18 @@ pub fn new_partial( .transpose()?; let heap_pages = config + .executor .default_heap_pages .map_or(DEFAULT_HEAP_ALLOC_STRATEGY, |h| HeapAllocStrategy::Static { extra_pages: h as _, }); let executor = WasmExecutor::builder() - .with_execution_method(config.wasm_method) + .with_execution_method(config.executor.wasm_method) .with_onchain_heap_alloc_strategy(heap_pages) .with_offchain_heap_alloc_strategy(heap_pages) - .with_max_runtime_instances(config.max_runtime_instances) - .with_runtime_cache_size(config.runtime_cache_size) + .with_max_runtime_instances(config.executor.max_runtime_instances) + .with_runtime_cache_size(config.executor.runtime_cache_size) .build(); let (client, backend, keystore_container, task_manager) = @@ -202,8 +202,11 @@ async fn start_node_impl( let params = new_partial(¶chain_config)?; let (block_import, mut telemetry, telemetry_worker_handle, frontier_backend, filter_pool, fee_history_cache) = params.other; + + let prometheus_registry = parachain_config.prometheus_registry().cloned(); let net_config = sc_network::config::FullNetworkConfiguration::<_, _, sc_network::NetworkWorker>::new( ¶chain_config.network, + prometheus_registry.clone(), ); let client = params.client.clone(); @@ -294,11 +297,10 @@ async fn start_node_impl( let pubsub_notification_sinks = pubsub_notification_sinks.clone(); let backend = backend.clone(); - Box::new(move |deny_unsafe, subscription_task_executor| { + Box::new(move |subscription_task_executor| { let deps = crate::rpc::FullDeps { client: client.clone(), pool: transaction_pool.clone(), - deny_unsafe, backend: backend.clone(), }; @@ -396,7 +398,6 @@ async fn start_node_impl( &task_manager, relay_chain_interface.clone(), transaction_pool, - sync_service.clone(), params.keystore_container.keystore(), relay_chain_slot_duration, para_id, @@ -448,7 +449,6 @@ fn start_consensus( task_manager: &TaskManager, relay_chain_interface: Arc, transaction_pool: Arc>, - sync_oracle: Arc>, keystore: KeystorePtr, relay_chain_slot_duration: Duration, para_id: ParaId, @@ -483,7 +483,6 @@ fn start_consensus( block_import, para_client: client, relay_client: relay_chain_interface, - sync_oracle, keystore, collator_key, para_id, @@ -496,7 +495,7 @@ fn start_consensus( collation_request_receiver: None, }; - let fut = basic_aura::run::(params); + let fut = basic_aura::run::(params); task_manager.spawn_essential_handle().spawn("aura", None, fut); Ok(()) diff --git a/node/src/service/evm.rs b/node/src/service/evm.rs index 81ebe94d5b..1934a0145c 100644 --- a/node/src/service/evm.rs +++ b/node/src/service/evm.rs @@ -124,11 +124,11 @@ where { type Error = ConsensusError; - async fn check_block(&mut self, block: BlockCheckParams) -> Result { + async fn check_block(&self, block: BlockCheckParams) -> Result { self.inner.check_block(block).await.map_err(Into::into) } - async fn import_block(&mut self, block: BlockImportParams) -> Result { + async fn import_block(&self, block: BlockImportParams) -> Result { if *block.header.number() >= self.evm_since { ensure_log(block.header.digest()).map_err(Error::from)?; } diff --git a/pallets/asset-registry/Cargo.toml b/pallets/asset-registry/Cargo.toml index 9361c94308..d79776743f 100644 --- a/pallets/asset-registry/Cargo.toml +++ b/pallets/asset-registry/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-asset-registry" -version = "3.3.0" +version = "3.3.1" description = "Pallet for asset registry management" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/asset-registry/src/lib.rs b/pallets/asset-registry/src/lib.rs index 5777695381..8e2ee29478 100644 --- a/pallets/asset-registry/src/lib.rs +++ b/pallets/asset-registry/src/lib.rs @@ -16,6 +16,7 @@ // limitations under the License. #![cfg_attr(not(feature = "std"), no_std)] +#![allow(clippy::manual_inspect)] use frame_support::pallet_prelude::*; use frame_support::require_transactional; @@ -642,7 +643,7 @@ impl GetByKey for Pallet { details.existential_deposit } else { // Asset does not exist - not supported - Balance::max_value() + Balance::MAX } } } diff --git a/pallets/asset-registry/src/tests/update.rs b/pallets/asset-registry/src/tests/update.rs index d657f87be8..9f0694c477 100644 --- a/pallets/asset-registry/src/tests/update.rs +++ b/pallets/asset-registry/src/tests/update.rs @@ -485,7 +485,7 @@ fn create_origin_should_always_set_decimals() { None, None, None, - Some(u8::max_value()), + Some(u8::MAX), None, )); @@ -498,7 +498,7 @@ fn create_origin_should_always_set_decimals() { existential_deposit: details_0.existential_deposit, xcm_rate_limit: details_0.xcm_rate_limit, symbol: details_0.symbol.clone(), - decimals: Some(u8::max_value()), + decimals: Some(u8::MAX), is_sufficient: details_0.is_sufficient }) ); @@ -509,7 +509,7 @@ fn create_origin_should_always_set_decimals() { asset_type: details_0.asset_type, existential_deposit: details_0.existential_deposit, xcm_rate_limit: details_0.xcm_rate_limit, - decimals: Some(u8::max_value()), + decimals: Some(u8::MAX), symbol: details_0.symbol, is_sufficient: details_0.is_sufficient, } diff --git a/pallets/asset-registry/src/weights.rs b/pallets/asset-registry/src/weights.rs index 8648aa7ffd..a174603c24 100644 --- a/pallets/asset-registry/src/weights.rs +++ b/pallets/asset-registry/src/weights.rs @@ -1,42 +1,3 @@ -// This file is part of HydraDX. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - - -//! Autogenerated weights for `pallet_asset_registry` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` - -// Executed Command: -// target/release/hydradx -// benchmark -// pallet -// --chain=dev -// --steps=50 -// --repeat=20 -// --wasm-execution=compiled -// --pallet=pallet-asset-registry -// --extrinsic=* -// --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_asset_registry.rs - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -64,16 +25,20 @@ impl WeightInfo for () { /// Proof: `AssetRegistry::AssetIds` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::LocationAssets` (r:1 w:1) /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `EVM::AccountCodesMetadata` (r:0 w:1) + /// Proof: `EVM::AccountCodesMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `EVM::AccountCodes` (r:0 w:1) + /// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `AssetRegistry::AssetLocations` (r:0 w:1) /// Proof: `AssetRegistry::AssetLocations` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) fn register() -> Weight { // Proof Size summary in bytes: // Measured: `388` // Estimated: `4087` - // Minimum execution time: 33_913_000 picoseconds. - Weight::from_parts(34_365_000, 4087) + // Minimum execution time: 46_614_000 picoseconds. + Weight::from_parts(46_973_000, 4087) .saturating_add(RocksDbWeight::get().reads(3_u64)) - .saturating_add(RocksDbWeight::get().writes(4_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// Storage: `AssetRegistry::Assets` (r:1 w:1) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) @@ -87,8 +52,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `617` // Estimated: `4087` - // Minimum execution time: 41_632_000 picoseconds. - Weight::from_parts(42_099_000, 4087) + // Minimum execution time: 48_110_000 picoseconds. + Weight::from_parts(48_686_000, 4087) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -96,6 +61,10 @@ impl WeightInfo for () { /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::LocationAssets` (r:1 w:1) /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `EVM::AccountCodesMetadata` (r:0 w:1) + /// Proof: `EVM::AccountCodesMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `EVM::AccountCodes` (r:0 w:1) + /// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `AssetRegistry::AssetLocations` (r:0 w:1) /// Proof: `AssetRegistry::AssetLocations` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:0 w:1) @@ -104,10 +73,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `301` // Estimated: `4087` - // Minimum execution time: 24_252_000 picoseconds. - Weight::from_parts(24_741_000, 4087) + // Minimum execution time: 35_103_000 picoseconds. + Weight::from_parts(35_530_000, 4087) .saturating_add(RocksDbWeight::get().reads(2_u64)) - .saturating_add(RocksDbWeight::get().writes(4_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// Storage: `AssetRegistry::Assets` (r:1 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) @@ -117,8 +86,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `427` // Estimated: `3590` - // Minimum execution time: 17_713_000 picoseconds. - Weight::from_parts(17_997_000, 3590) + // Minimum execution time: 22_926_000 picoseconds. + Weight::from_parts(23_349_000, 3590) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -128,8 +97,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `320` // Estimated: `3485` - // Minimum execution time: 14_812_000 picoseconds. - Weight::from_parts(15_117_000, 3485) + // Minimum execution time: 19_167_000 picoseconds. + Weight::from_parts(19_460_000, 3485) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/pallets/bonds/Cargo.toml b/pallets/bonds/Cargo.toml index f858475c6d..ea6a96f257 100644 --- a/pallets/bonds/Cargo.toml +++ b/pallets/bonds/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-bonds" -version = "2.2.4" +version = "2.2.5" authors = ['GalacticCouncil'] edition = "2021" license = "Apache-2.0" diff --git a/pallets/bonds/src/lib.rs b/pallets/bonds/src/lib.rs index 5d6aabee34..a1432d07c5 100644 --- a/pallets/bonds/src/lib.rs +++ b/pallets/bonds/src/lib.rs @@ -40,6 +40,7 @@ //! * Anyone who holds the bonds is able to redeem them. #![cfg_attr(not(feature = "std"), no_std)] +#![allow(clippy::manual_inspect)] use frame_support::{ ensure, diff --git a/pallets/bonds/src/tests/tests.rs b/pallets/bonds/src/tests/tests.rs index 1443ef77b0..2839a06ec7 100644 --- a/pallets/bonds/src/tests/tests.rs +++ b/pallets/bonds/src/tests/tests.rs @@ -23,8 +23,8 @@ fn parse_name_should_work() { let n = Pallet::::bond_name(0_u32, 1689844300000_u64); assert_eq!(Pallet::::parse_bond_name(n), Ok(0_u32)); - let n = Pallet::::bond_name(u32::max_value(), 1689844300000_u64); - assert_eq!(Pallet::::parse_bond_name(n), Ok(u32::max_value())); + let n = Pallet::::bond_name(u32::MAX, 1689844300000_u64); + assert_eq!(Pallet::::parse_bond_name(n), Ok(u32::MAX)); let n = Pallet::::bond_name(1, 1689844300000_u64); assert_eq!(Pallet::::parse_bond_name(n), Ok(1)); diff --git a/pallets/bonds/src/weights.rs b/pallets/bonds/src/weights.rs index 04b8d07973..6b585a045f 100644 --- a/pallets/bonds/src/weights.rs +++ b/pallets/bonds/src/weights.rs @@ -1,42 +1,3 @@ -// This file is part of HydraDX. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - - -//! Autogenerated weights for `pallet_bonds` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` - -// Executed Command: -// target/release/hydradx -// benchmark -// pallet -// --chain=dev -// --steps=50 -// --repeat=20 -// --wasm-execution=compiled -// --pallet=pallet-bonds -// --extrinsic=* -// --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_bonds.rs - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -86,25 +47,29 @@ impl WeightInfo for () { /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EVM::AccountCodesMetadata` (r:0 w:1) + /// Proof: `EVM::AccountCodesMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `EVM::AccountCodes` (r:0 w:1) + /// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Bonds::Bonds` (r:0 w:1) /// Proof: `Bonds::Bonds` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) fn issue() -> Weight { // Proof Size summary in bytes: - // Measured: `1393` + // Measured: `1459` // Estimated: `8799` - // Minimum execution time: 238_932_000 picoseconds. - Weight::from_parts(240_147_000, 8799) + // Minimum execution time: 266_962_000 picoseconds. + Weight::from_parts(268_610_000, 8799) .saturating_add(RocksDbWeight::get().reads(16_u64)) - .saturating_add(RocksDbWeight::get().writes(12_u64)) + .saturating_add(RocksDbWeight::get().writes(14_u64)) } /// Storage: `Bonds::Bonds` (r:1 w:0) /// Proof: `Bonds::Bonds` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) /// Storage: `Timestamp::Now` (r:1 w:0) /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:1 w:1) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:1 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:1 w:1) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:3) @@ -121,10 +86,10 @@ impl WeightInfo for () { /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn redeem() -> Weight { // Proof Size summary in bytes: - // Measured: `2018` + // Measured: `2084` // Estimated: `8799` - // Minimum execution time: 180_029_000 picoseconds. - Weight::from_parts(181_146_000, 8799) + // Minimum execution time: 198_931_000 picoseconds. + Weight::from_parts(200_162_000, 8799) .saturating_add(RocksDbWeight::get().reads(13_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } diff --git a/pallets/broadcast/Cargo.toml b/pallets/broadcast/Cargo.toml index 94524e267e..9183871fba 100644 --- a/pallets/broadcast/Cargo.toml +++ b/pallets/broadcast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-broadcast" -version = "1.0.1" +version = "1.0.2" authors = ["GalacticCouncil"] edition = "2021" license = "Apache 2.0" diff --git a/pallets/broadcast/src/lib.rs b/pallets/broadcast/src/lib.rs index 7ce70bc50d..3c071428ab 100644 --- a/pallets/broadcast/src/lib.rs +++ b/pallets/broadcast/src/lib.rs @@ -17,6 +17,7 @@ #![cfg_attr(not(feature = "std"), no_std)] #![allow(clippy::too_many_arguments)] +#![allow(clippy::manual_inspect)] use crate::types::*; use frame_support::dispatch::DispatchResult; diff --git a/pallets/circuit-breaker/Cargo.toml b/pallets/circuit-breaker/Cargo.toml index 77247c03c9..96643edd61 100644 --- a/pallets/circuit-breaker/Cargo.toml +++ b/pallets/circuit-breaker/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-circuit-breaker" -version = "1.1.29" +version = "1.1.30" authors = ["GalacticCouncil "] edition = "2021" license = "Apache-2.0" diff --git a/pallets/circuit-breaker/src/lib.rs b/pallets/circuit-breaker/src/lib.rs index 61160f688a..6534f9c5ad 100644 --- a/pallets/circuit-breaker/src/lib.rs +++ b/pallets/circuit-breaker/src/lib.rs @@ -16,6 +16,7 @@ // limitations under the License. #![cfg_attr(not(feature = "std"), no_std)] +#![allow(clippy::manual_inspect)] use codec::{Decode, Encode}; use frame_support::traits::{Contains, EnsureOrigin}; diff --git a/pallets/circuit-breaker/src/weights.rs b/pallets/circuit-breaker/src/weights.rs index 016cb01875..5b7cc687fb 100644 --- a/pallets/circuit-breaker/src/weights.rs +++ b/pallets/circuit-breaker/src/weights.rs @@ -1,42 +1,3 @@ -// This file is part of HydraDX. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - - -//! Autogenerated weights for `pallet_circuit_breaker` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` - -// Executed Command: -// target/release/hydradx -// benchmark -// pallet -// --chain=dev -// --steps=50 -// --repeat=20 -// --wasm-execution=compiled -// --pallet=pallet-circuit-breaker -// --extrinsic=* -// --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_circuit_breaker.rs - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -64,39 +25,39 @@ pub trait WeightInfo { // For backwards compatibility and tests impl WeightInfo for () { - /// The range of component `n` is `[0, 400]`. + /// The range of component `n` is `[0, 400]`. /// The range of component `m` is `[0, 400]`. fn on_finalize(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `64 + m * (113 ±0) + n * (56 ±0)` // Estimated: `0` - // Minimum execution time: 316_267_000 picoseconds. - Weight::from_parts(317_103_000, 0) - // Standard Error: 9_174 - .saturating_add(Weight::from_parts(277_948, 0).saturating_mul(n.into())) - // Standard Error: 9_174 - .saturating_add(Weight::from_parts(1_071_388, 0).saturating_mul(m.into())) + // Minimum execution time: 382_902_000 picoseconds. + Weight::from_parts(384_768_000, 0) + // Standard Error: 11_644 + .saturating_add(Weight::from_parts(337_059, 0).saturating_mul(n.into())) + // Standard Error: 11_644 + .saturating_add(Weight::from_parts(1_228_732, 0).saturating_mul(m.into())) } fn on_finalize_single_liquidity_limit_entry() -> Weight { // Proof Size summary in bytes: // Measured: `208` // Estimated: `0` - // Minimum execution time: 8_606_000 picoseconds. - Weight::from_parts(8_803_000, 0) + // Minimum execution time: 8_784_000 picoseconds. + Weight::from_parts(8_921_000, 0) } fn on_finalize_single_trade_limit_entry() -> Weight { // Proof Size summary in bytes: // Measured: `208` // Estimated: `0` - // Minimum execution time: 8_600_000 picoseconds. - Weight::from_parts(8_907_000, 0) + // Minimum execution time: 8_748_000 picoseconds. + Weight::from_parts(8_886_000, 0) } fn on_finalize_empty() -> Weight { // Proof Size summary in bytes: // Measured: `208` // Estimated: `0` - // Minimum execution time: 8_524_000 picoseconds. - Weight::from_parts(8_933_000, 0) + // Minimum execution time: 8_809_000 picoseconds. + Weight::from_parts(8_951_000, 0) } /// Storage: `CircuitBreaker::TradeVolumeLimitPerAsset` (r:0 w:1) /// Proof: `CircuitBreaker::TradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -104,8 +65,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_168_000 picoseconds. - Weight::from_parts(9_490_000, 0) + // Minimum execution time: 10_099_000 picoseconds. + Weight::from_parts(10_316_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:0 w:1) @@ -114,8 +75,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_747_000 picoseconds. - Weight::from_parts(9_167_000, 0) + // Minimum execution time: 10_077_000 picoseconds. + Weight::from_parts(10_248_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:0 w:1) @@ -124,8 +85,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_922_000 picoseconds. - Weight::from_parts(9_161_000, 0) + // Minimum execution time: 10_037_000 picoseconds. + Weight::from_parts(10_242_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) @@ -140,8 +101,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `262` // Estimated: `3517` - // Minimum execution time: 20_217_000 picoseconds. - Weight::from_parts(20_416_000, 3517) + // Minimum execution time: 22_877_000 picoseconds. + Weight::from_parts(23_259_000, 3517) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -157,8 +118,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `208` // Estimated: `3517` - // Minimum execution time: 17_362_000 picoseconds. - Weight::from_parts(17_585_000, 3517) + // Minimum execution time: 19_486_000 picoseconds. + Weight::from_parts(19_647_000, 3517) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -170,8 +131,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `208` // Estimated: `6076` - // Minimum execution time: 17_624_000 picoseconds. - Weight::from_parts(17_932_000, 6076) + // Minimum execution time: 19_731_000 picoseconds. + Weight::from_parts(19_901_000, 6076) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } diff --git a/pallets/claims/Cargo.toml b/pallets/claims/Cargo.toml index 7bb1eab46a..fa4ec28ef1 100644 --- a/pallets/claims/Cargo.toml +++ b/pallets/claims/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-claims" -version = "3.4.12" +version = "3.4.13" description = "HydraDX Claims Module" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/claims/src/lib.rs b/pallets/claims/src/lib.rs index 42a67fed24..037eb4b197 100644 --- a/pallets/claims/src/lib.rs +++ b/pallets/claims/src/lib.rs @@ -17,6 +17,7 @@ #![cfg_attr(not(feature = "std"), no_std)] #![allow(clippy::unused_unit)] +#![allow(clippy::manual_inspect)] use codec::{Decode, Encode}; use frame_support::{ @@ -191,7 +192,7 @@ fn to_ascii_hex(data: &[u8]) -> Vec { } /// Signed extension that checks for the `claim` call and in that case, it verifies an Ethereum signature -#[derive(Encode, Decode, Clone, Eq, PartialEq, TypeInfo)] +#[derive(Default, Encode, Decode, Clone, Eq, PartialEq, TypeInfo)] #[scale_info(skip_type_params(T))] pub struct ValidateClaim(PhantomData); @@ -221,7 +222,7 @@ where type AdditionalSigned = (); type Pre = (); - fn additional_signed(&self) -> sp_std::result::Result<(), TransactionValidityError> { + fn additional_signed(&self) -> Result<(), TransactionValidityError> { Ok(()) } @@ -253,8 +254,7 @@ where } impl ValidateClaim { - #[cfg_attr(feature = "cargo-clippy", allow(clippy::new_without_default))] pub fn new() -> Self { - Self(sp_std::marker::PhantomData) + Self(PhantomData) } } diff --git a/pallets/claims/src/weights.rs b/pallets/claims/src/weights.rs index 2c591acd6d..ea5994295d 100644 --- a/pallets/claims/src/weights.rs +++ b/pallets/claims/src/weights.rs @@ -1,42 +1,3 @@ -// This file is part of HydraDX. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - - -//! Autogenerated weights for `pallet_claims` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` - -// Executed Command: -// target/release/hydradx -// benchmark -// pallet -// --chain=dev -// --steps=50 -// --repeat=20 -// --wasm-execution=compiled -// --pallet=pallet-claims -// --extrinsic=* -// --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_claims.rs - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -54,8 +15,6 @@ pub trait WeightInfo { } /// Weights for claims using the hydraDX node and recommended hardware. - -// For backwards compatibility and tests impl WeightInfo for () { /// Storage: `Claims::Claims` (r:1 w:1) /// Proof: `Claims::Claims` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) @@ -63,10 +22,10 @@ impl WeightInfo for () { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn claim() -> Weight { // Proof Size summary in bytes: - // Measured: `382` + // Measured: `415` // Estimated: `3593` - // Minimum execution time: 69_721_000 picoseconds. - Weight::from_parts(70_317_000, 3593) + // Minimum execution time: 77_185_000 picoseconds. + Weight::from_parts(77_698_000, 3593) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } diff --git a/pallets/collator-rewards/Cargo.toml b/pallets/collator-rewards/Cargo.toml index 8a9202ab18..1f2cea65b7 100644 --- a/pallets/collator-rewards/Cargo.toml +++ b/pallets/collator-rewards/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-collator-rewards" -version = "1.0.9" +version = "1.0.10" description = "Pallet for collator rewards" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/collator-rewards/src/lib.rs b/pallets/collator-rewards/src/lib.rs index 3c32c7a2bc..85851f8e79 100644 --- a/pallets/collator-rewards/src/lib.rs +++ b/pallets/collator-rewards/src/lib.rs @@ -18,6 +18,7 @@ #![cfg_attr(not(feature = "std"), no_std)] #![allow(clippy::unused_unit)] #![allow(clippy::upper_case_acronyms)] +#![allow(clippy::manual_inspect)] #[cfg(test)] mod mock; diff --git a/pallets/currencies/Cargo.toml b/pallets/currencies/Cargo.toml index 015e740c08..35cecb6a15 100644 --- a/pallets/currencies/Cargo.toml +++ b/pallets/currencies/Cargo.toml @@ -3,7 +3,7 @@ name = "pallet-currencies" description = "Provide `MultiCurrency` implementation using `pallet-balances` and `orml-tokens` module." repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/currencies" license = "Apache-2.0" -version = "3.0.0" +version = "3.0.1" authors = ["Laminar Developers "] edition = "2021" diff --git a/pallets/currencies/src/fungibles.rs b/pallets/currencies/src/fungibles.rs index f1f4545816..8378cd51df 100644 --- a/pallets/currencies/src/fungibles.rs +++ b/pallets/currencies/src/fungibles.rs @@ -240,12 +240,19 @@ where asset: Self::AssetId, who: &T::AccountId, amount: Self::Balance, + preservation: Preservation, precision: Precision, force: Fortitude, ) -> Result { if asset == T::GetNativeCurrencyId::get() { - >::burn_from(who, amount.into(), precision, force) - .into() + >::burn_from( + who, + amount.into(), + preservation, + precision, + force, + ) + .into() } else { match T::BoundErc20::contract_address(asset) { Some(_) => fail!(Error::::NotSupported), @@ -253,6 +260,7 @@ where asset.into(), who, amount.into(), + preservation, precision, force, ) diff --git a/pallets/currencies/src/lib.rs b/pallets/currencies/src/lib.rs index 2fbcc5b6bd..aff524768c 100644 --- a/pallets/currencies/src/lib.rs +++ b/pallets/currencies/src/lib.rs @@ -22,7 +22,7 @@ //! - `MultiCurrency` - Abstraction over a fungible multi-currency system. //! - `MultiCurrencyExtended` - Extended `MultiCurrency` with additional helper //! types and methods, like updating balance -//! by a given signed integer amount. +//! by a given signed integer amount. //! //! ## Interface //! @@ -32,12 +32,13 @@ //! currency. //! - `transfer_native_currency` - Transfer some balance to another account, in //! native currency set in -//! `Config::NativeCurrency`. +//! `Config::NativeCurrency`. //! - `update_balance` - Update balance by signed integer amount, in a given //! currency, root origin required. #![cfg_attr(not(feature = "std"), no_std)] #![allow(clippy::unused_unit)] +#![allow(clippy::manual_inspect)] use codec::Codec; use frame_support::{ diff --git a/pallets/currencies/src/tests_fungibles.rs b/pallets/currencies/src/tests_fungibles.rs index 11e33cde9b..efb200a73b 100644 --- a/pallets/currencies/src/tests_fungibles.rs +++ b/pallets/currencies/src/tests_fungibles.rs @@ -85,13 +85,27 @@ fn fungibles_mutate_trait_should_work() { assert_eq!(PalletBalances::free_balance(&BOB), 10); assert_eq!( - FungibleCurrencies::::burn_from(X_TOKEN_ID, &ALICE, 4, Precision::Exact, Fortitude::Polite), + FungibleCurrencies::::burn_from( + X_TOKEN_ID, + &ALICE, + 4, + Preservation::Protect, + Precision::Exact, + Fortitude::Polite + ), Ok(4) ); assert_eq!(Tokens::free_balance(X_TOKEN_ID, &ALICE), 6); assert_eq!( - FungibleCurrencies::::burn_from(NATIVE_CURRENCY_ID, &BOB, 4, Precision::Exact, Fortitude::Polite), + FungibleCurrencies::::burn_from( + NATIVE_CURRENCY_ID, + &BOB, + 4, + Preservation::Protect, + Precision::Exact, + Fortitude::Polite + ), Ok(4) ); assert_eq!(PalletBalances::free_balance(&BOB), 6); diff --git a/pallets/currencies/src/weights.rs b/pallets/currencies/src/weights.rs index 8d3a327cda..61e3324623 100644 --- a/pallets/currencies/src/weights.rs +++ b/pallets/currencies/src/weights.rs @@ -1,42 +1,3 @@ -// This file is part of HydraDX. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - - -//! Autogenerated weights for `pallet_currencies` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` - -// Executed Command: -// target/release/hydradx -// benchmark -// pallet -// --chain=dev -// --steps=50 -// --repeat=20 -// --wasm-execution=compiled -// --pallet=pallet-currencies -// --extrinsic=* -// --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_currencies.rs - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -56,30 +17,34 @@ pub trait WeightInfo { /// Default weights. impl WeightInfo for () { - /// Storage: `Router::SkipEd` (r:1 w:0) - /// Proof: `Router::SkipEd` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) - /// Storage: `Duster::AccountBlacklist` (r:1 w:0) - /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) - /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:2 w:2) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:1 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetLocations` (r:1 w:0) + /// Proof: `AssetRegistry::AssetLocations` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `EVMAccounts::AccountExtension` (r:2 w:0) + /// Proof: `EVMAccounts::AccountExtension` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `System::Digest` (r:1 w:0) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EVM::AccountCodesMetadata` (r:1 w:0) + /// Proof: `EVM::AccountCodesMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `EVM::AccountCodes` (r:1 w:0) + /// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) + /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) + /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `EVM::AccountStorages` (r:2 w:2) + /// Proof: `EVM::AccountStorages` (`max_values`: None, `max_size`: None, mode: `Measured`) fn transfer_non_native_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `2853` - // Estimated: `6156` - // Minimum execution time: 97_519_000 picoseconds. - Weight::from_parts(98_652_000, 6156) - .saturating_add(RocksDbWeight::get().reads(9_u64)) - .saturating_add(RocksDbWeight::get().writes(4_u64)) + // Measured: `6621` + // Estimated: `12561` + // Minimum execution time: 169_467_000 picoseconds. + Weight::from_parts(170_737_000, 12561) + .saturating_add(RocksDbWeight::get().reads(12_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) @@ -87,17 +52,17 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1638` // Estimated: `3593` - // Minimum execution time: 72_480_000 picoseconds. - Weight::from_parts(73_383_000, 3593) + // Minimum execution time: 82_926_000 picoseconds. + Weight::from_parts(83_990_000, 3593) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:1 w:1) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) @@ -108,10 +73,10 @@ impl WeightInfo for () { /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn update_balance_non_native_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `2209` + // Measured: `2275` // Estimated: `3593` - // Minimum execution time: 63_540_000 picoseconds. - Weight::from_parts(64_326_000, 3593) + // Minimum execution time: 82_797_000 picoseconds. + Weight::from_parts(83_651_000, 3593) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -121,8 +86,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1498` // Estimated: `3593` - // Minimum execution time: 38_966_000 picoseconds. - Weight::from_parts(39_577_000, 3593) + // Minimum execution time: 50_335_000 picoseconds. + Weight::from_parts(51_372_000, 3593) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -132,8 +97,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1586` // Estimated: `3593` - // Minimum execution time: 41_091_000 picoseconds. - Weight::from_parts(41_812_000, 3593) + // Minimum execution time: 51_950_000 picoseconds. + Weight::from_parts(52_523_000, 3593) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/pallets/dca/Cargo.toml b/pallets/dca/Cargo.toml index 9c10100959..8d0bd4a698 100644 --- a/pallets/dca/Cargo.toml +++ b/pallets/dca/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-dca' -version = "1.8.3" +version = "1.8.4" description = 'A pallet to manage DCA scheduling' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/dca/src/lib.rs b/pallets/dca/src/lib.rs index a708b91045..a18e994be3 100644 --- a/pallets/dca/src/lib.rs +++ b/pallets/dca/src/lib.rs @@ -44,11 +44,11 @@ //! A trade can fail due to two main reasons: //! //! 1. Price Stability Error: If the price difference between the short oracle price and the current price -//! exceeds the specified threshold. The user can customize this threshold, -//! or the default value from the pallet configuration will be used. +//! exceeds the specified threshold. The user can customize this threshold, +//! or the default value from the pallet configuration will be used. //! 2. Slippage Error: If the minimum amount out (sell) or maximum amount in (buy) slippage limits are not reached. -//! These limits are calculated based on the last block's oracle price and the user-specified slippage. -//! If no slippage is specified, the default value from the pallet configuration will be used. +//! These limits are calculated based on the last block's oracle price and the user-specified slippage. +//! If no slippage is specified, the default value from the pallet configuration will be used. //! //! If a trade fails due to these errors, the trade will be retried. //! If the number of retries reaches the maximum number of retries, the schedule will be permanently terminated. @@ -63,6 +63,7 @@ //! Once a schedule is terminated, it is completely and permanently removed from the blockchain. #![cfg_attr(not(feature = "std"), no_std)] +#![allow(clippy::manual_inspect)] use frame_support::traits::DefensiveOption; use frame_support::{ diff --git a/pallets/dca/src/tests/on_initialize.rs b/pallets/dca/src/tests/on_initialize.rs index d0617ca8e0..d8909026c6 100644 --- a/pallets/dca/src/tests/on_initialize.rs +++ b/pallets/dca/src/tests/on_initialize.rs @@ -935,7 +935,7 @@ fn full_buy_dca_should_be_completed_when_some_execution_is_successful_but_not_en assert_number_of_executed_buy_trades!(4); assert_eq!(0, Currencies::reserved_balance(HDX, &ALICE)); - let left_over_which_is_not_enough_for_last_trade = 9994629924000; + let left_over_which_is_not_enough_for_last_trade = 9994516532000; assert_balance!( ALICE, diff --git a/pallets/dca/src/weights.rs b/pallets/dca/src/weights.rs index 4054e050b9..64d6874c93 100644 --- a/pallets/dca/src/weights.rs +++ b/pallets/dca/src/weights.rs @@ -1,42 +1,3 @@ -// This file is part of HydraDX. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - - -//! Autogenerated weights for `pallet_dca` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-05-24, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` - -// Executed Command: -// target/release/hydradx -// benchmark -// pallet -// --chain=dev -// --steps=50 -// --repeat=20 -// --wasm-execution=compiled -// --pallet=pallet-dca -// --extrinsic=* -// --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_dca.rs - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -65,8 +26,6 @@ impl WeightInfo for () { /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) /// Storage: `DCA::Schedules` (r:1 w:0) /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `DCA::RemainingAmounts` (r:1 w:1) /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) /// Storage: `Balances::Reserves` (r:1 w:1) @@ -77,35 +36,37 @@ impl WeightInfo for () { /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) fn on_initialize_with_buy_trade() -> Weight { // Proof Size summary in bytes: - // Measured: `55128` + // Measured: `54972` // Estimated: `31902` - // Minimum execution time: 188_709_000 picoseconds. - Weight::from_parts(192_519_000, 31902) - .saturating_add(RocksDbWeight::get().reads(18_u64)) + // Minimum execution time: 244_057_000 picoseconds. + Weight::from_parts(245_867_000, 31902) + .saturating_add(RocksDbWeight::get().reads(17_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } /// Storage: `DCA::ScheduleIdsPerBlock` (r:12 w:2) /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) /// Storage: `DCA::Schedules` (r:1 w:0) /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:2 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:4 w:4) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `Router::Routes` (r:1 w:0) /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `DCA::RemainingAmounts` (r:1 w:1) /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) /// Storage: `Tokens::Reserves` (r:1 w:1) /// Proof: `Tokens::Reserves` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Router::SkipEd` (r:1 w:0) + /// Proof: `Router::SkipEd` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// Storage: `Duster::AccountBlacklist` (r:2 w:0) /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) @@ -120,19 +81,17 @@ impl WeightInfo for () { /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) fn on_initialize_with_buy_trade_with_insufficient_fee_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `60642` + // Measured: `60856` // Estimated: `31902` - // Minimum execution time: 304_459_000 picoseconds. - Weight::from_parts(311_059_000, 31902) - .saturating_add(RocksDbWeight::get().reads(35_u64)) + // Minimum execution time: 417_208_000 picoseconds. + Weight::from_parts(420_621_000, 31902) + .saturating_add(RocksDbWeight::get().reads(37_u64)) .saturating_add(RocksDbWeight::get().writes(10_u64)) } /// Storage: `DCA::ScheduleIdsPerBlock` (r:12 w:2) /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) /// Storage: `DCA::Schedules` (r:1 w:0) /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `DCA::RemainingAmounts` (r:1 w:1) /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) /// Storage: `Balances::Reserves` (r:1 w:1) @@ -143,35 +102,37 @@ impl WeightInfo for () { /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) fn on_initialize_with_sell_trade() -> Weight { // Proof Size summary in bytes: - // Measured: `54916` + // Measured: `54720` // Estimated: `31902` - // Minimum execution time: 190_679_000 picoseconds. - Weight::from_parts(193_669_000, 31902) - .saturating_add(RocksDbWeight::get().reads(18_u64)) + // Minimum execution time: 242_907_000 picoseconds. + Weight::from_parts(247_259_000, 31902) + .saturating_add(RocksDbWeight::get().reads(17_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } /// Storage: `DCA::ScheduleIdsPerBlock` (r:12 w:2) /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) /// Storage: `DCA::Schedules` (r:1 w:0) /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:2 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:4 w:4) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `Router::Routes` (r:1 w:0) /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `DCA::RemainingAmounts` (r:1 w:1) /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) /// Storage: `Tokens::Reserves` (r:1 w:1) /// Proof: `Tokens::Reserves` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Router::SkipEd` (r:1 w:0) + /// Proof: `Router::SkipEd` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// Storage: `Duster::AccountBlacklist` (r:2 w:0) /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) @@ -186,34 +147,39 @@ impl WeightInfo for () { /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) fn on_initialize_with_sell_trade_with_insufficient_fee_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `61518` + // Measured: `61732` // Estimated: `31902` - // Minimum execution time: 302_059_000 picoseconds. - Weight::from_parts(308_529_000, 31902) - .saturating_add(RocksDbWeight::get().reads(35_u64)) + // Minimum execution time: 418_392_000 picoseconds. + Weight::from_parts(422_150_000, 31902) + .saturating_add(RocksDbWeight::get().reads(37_u64)) .saturating_add(RocksDbWeight::get().writes(10_u64)) } /// Storage: `DCA::ScheduleIdsPerBlock` (r:1 w:0) /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) fn on_initialize_with_empty_block() -> Weight { // Proof Size summary in bytes: - // Measured: `1075` + // Measured: `1113` // Estimated: `3566` - // Minimum execution time: 11_760_000 picoseconds. - Weight::from_parts(12_060_000, 3566).saturating_add(RocksDbWeight::get().reads(1_u64)) + // Minimum execution time: 19_461_000 picoseconds. + Weight::from_parts(19_757_000, 3566) + .saturating_add(RocksDbWeight::get().reads(1_u64)) } - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:2 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) + /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) + /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) /// Storage: `Router::Routes` (r:1 w:0) /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:3 w:1) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `DCA::ScheduleIdSequencer` (r:1 w:1) /// Proof: `DCA::ScheduleIdSequencer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Tokens::Reserves` (r:1 w:1) /// Proof: `Tokens::Reserves` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:1 w:1) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `DCA::ScheduleIdsPerBlock` (r:11 w:1) /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) /// Storage: `DCA::RetriesOnError` (r:0 w:1) @@ -226,11 +192,11 @@ impl WeightInfo for () { /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) fn schedule() -> Weight { // Proof Size summary in bytes: - // Measured: `52652` + // Measured: `53355` // Estimated: `29326` - // Minimum execution time: 133_909_000 picoseconds. - Weight::from_parts(136_760_000, 29326) - .saturating_add(RocksDbWeight::get().reads(17_u64)) + // Minimum execution time: 234_203_000 picoseconds. + Weight::from_parts(237_715_000, 29326) + .saturating_add(RocksDbWeight::get().reads(23_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } /// Storage: `DCA::Schedules` (r:1 w:1) @@ -249,10 +215,10 @@ impl WeightInfo for () { /// Proof: `DCA::ScheduleOwnership` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn terminate() -> Weight { // Proof Size summary in bytes: - // Measured: `2492` + // Measured: `2530` // Estimated: `4714` - // Minimum execution time: 58_440_000 picoseconds. - Weight::from_parts(60_230_000, 4714) + // Minimum execution time: 86_873_000 picoseconds. + Weight::from_parts(88_015_000, 4714) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } diff --git a/pallets/democracy/Cargo.toml b/pallets/democracy/Cargo.toml index aeccbab9a7..81dfedbdbb 100644 --- a/pallets/democracy/Cargo.toml +++ b/pallets/democracy/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-democracy" -version = "4.3.2" +version = "4.3.3" authors = ["Parity Technologies "] edition = "2021" license = "Apache-2.0" diff --git a/pallets/democracy/src/lib.rs b/pallets/democracy/src/lib.rs index eb8e9948c5..3c7c758ae3 100644 --- a/pallets/democracy/src/lib.rs +++ b/pallets/democracy/src/lib.rs @@ -40,16 +40,16 @@ //! ### Terminology //! //! - **Enactment Period:** The minimum period of locking and the period between a proposal being -//! approved and enacted. +//! approved and enacted. //! - **Lock Period:** A period of time after proposal enactment that the tokens of _winning_ voters -//! will be locked. +//! will be locked. //! - **Conviction:** An indication of a voter's strength of belief in their vote. An increase -//! of one in conviction indicates that a token holder is willing to lock their tokens for twice -//! as many lock periods after enactment. +//! of one in conviction indicates that a token holder is willing to lock their tokens for twice +//! as many lock periods after enactment. //! - **Vote:** A value that can either be in approval ("Aye") or rejection ("Nay") of a particular //! referendum. //! - **Proposal:** A submission to the chain that represents an action that a proposer (either an -//! account or an external origin) suggests that the system adopt. +//! account or an external origin) suggests that the system adopt. //! - **Referendum:** A proposal that is in the process of being voted on for either acceptance or //! rejection as a change to the system. //! - **Delegation:** The act of granting your voting power to the decisions of another account for @@ -152,6 +152,7 @@ #![recursion_limit = "256"] #![cfg_attr(not(feature = "std"), no_std)] #![allow(clippy::type_complexity)] +#![allow(clippy::manual_inspect)] use codec::{Decode, Encode}; use frame_support::{ diff --git a/pallets/democracy/src/migrations/unlock_and_unreserve_all_funds.rs b/pallets/democracy/src/migrations/unlock_and_unreserve_all_funds.rs index b90ba23247..fc2c52f43e 100644 --- a/pallets/democracy/src/migrations/unlock_and_unreserve_all_funds.rs +++ b/pallets/democracy/src/migrations/unlock_and_unreserve_all_funds.rs @@ -390,7 +390,7 @@ mod test { let mut voter_all_locks = initial_locks.clone(); voter_all_locks.push((&DEMOCRACY_ID, stake)); assert_eq!( - ::Currency::locks(voter) + ::Currency::locks(&voter) .iter() .map(|lock| (&lock.id, lock.amount)) .collect::>(), @@ -405,7 +405,7 @@ mod test { // Assert the voter lock was removed assert_eq!( - ::Currency::locks(voter) + ::Currency::locks(&voter) .iter() .map(|lock| (&lock.id, lock.amount)) .collect::>(), diff --git a/pallets/democracy/src/tests/hooks.rs b/pallets/democracy/src/tests/hooks.rs index c36d946b90..5cefa2585e 100644 --- a/pallets/democracy/src/tests/hooks.rs +++ b/pallets/democracy/src/tests/hooks.rs @@ -73,7 +73,7 @@ fn remove_vote_should_not_extend_lock_when_voted_not_in_favor_and_hook_returns_f fast_forward_to(3); assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(1), r)); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 1)); - assert_eq!(Balances::locks(1), vec![]); + assert_eq!(Balances::locks(&1), vec![]); assert_eq!(Balances::usable_balance(1), 10); }); } @@ -99,7 +99,7 @@ fn remove_vote_should_extend_lock_when_voted_not_in_favor_hook_returns_true() { fast_forward_to(3); assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(1), r)); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 1)); - assert_eq!(Balances::locks(1), vec![the_lock(10)]); + assert_eq!(Balances::locks(&1), vec![the_lock(10)]); assert_eq!(Balances::usable_balance(1), 0); }); } @@ -125,7 +125,7 @@ fn remove_vote_should_extend_lock_only_for_given_amount_when_voted_not_in_favor_ fast_forward_to(3); assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(1), r)); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 1)); - assert_eq!(Balances::locks(1), vec![the_lock(5)]); + assert_eq!(Balances::locks(&1), vec![the_lock(5)]); assert_eq!(Balances::usable_balance(1), 5); }); } diff --git a/pallets/democracy/src/tests/lock_voting.rs b/pallets/democracy/src/tests/lock_voting.rs index 45bb04a78d..3f5b3acb6c 100644 --- a/pallets/democracy/src/tests/lock_voting.rs +++ b/pallets/democracy/src/tests/lock_voting.rs @@ -68,7 +68,7 @@ fn lock_voting_should_work() { // All balances are currently locked. for i in 1..=5 { - assert_eq!(Balances::locks(i), vec![the_lock(i * 10)]); + assert_eq!(Balances::locks(&i), vec![the_lock(i * 10)]); } fast_forward_to(3); @@ -89,11 +89,11 @@ fn lock_voting_should_work() { assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(2), r)); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(2), 2)); - assert_eq!(Balances::locks(1), vec![]); - assert_eq!(Balances::locks(2), vec![the_lock(20)]); - assert_eq!(Balances::locks(3), vec![the_lock(30)]); - assert_eq!(Balances::locks(4), vec![the_lock(40)]); - assert_eq!(Balances::locks(5), vec![]); + assert_eq!(Balances::locks(&1), vec![]); + assert_eq!(Balances::locks(&2), vec![the_lock(20)]); + assert_eq!(Balances::locks(&3), vec![the_lock(30)]); + assert_eq!(Balances::locks(&4), vec![the_lock(40)]); + assert_eq!(Balances::locks(&5), vec![]); assert_eq!(Balances::free_balance(42), 2); fast_forward_to(7); @@ -103,12 +103,12 @@ fn lock_voting_should_work() { Error::::NoPermission ); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 4)); - assert_eq!(Balances::locks(4), vec![the_lock(40)]); + assert_eq!(Balances::locks(&4), vec![the_lock(40)]); fast_forward_to(8); // 4 should now be able to reap and unlock assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(1), 4, r)); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 4)); - assert_eq!(Balances::locks(4), vec![]); + assert_eq!(Balances::locks(&4), vec![]); fast_forward_to(13); assert_noop!( @@ -116,19 +116,19 @@ fn lock_voting_should_work() { Error::::NoPermission ); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 3)); - assert_eq!(Balances::locks(3), vec![the_lock(30)]); + assert_eq!(Balances::locks(&3), vec![the_lock(30)]); fast_forward_to(14); assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(1), 3, r)); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 3)); - assert_eq!(Balances::locks(3), vec![]); + assert_eq!(Balances::locks(&3), vec![]); // 2 doesn't need to reap_vote here because it was already done before. fast_forward_to(25); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 2)); - assert_eq!(Balances::locks(2), vec![the_lock(20)]); + assert_eq!(Balances::locks(&2), vec![the_lock(20)]); fast_forward_to(26); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 2)); - assert_eq!(Balances::locks(2), vec![]); + assert_eq!(Balances::locks(&2), vec![]); }); } @@ -144,7 +144,7 @@ fn no_locks_without_conviction_should_work() { assert_eq!(Balances::free_balance(42), 2); assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(2), 1, r)); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(2), 1)); - assert_eq!(Balances::locks(1), vec![]); + assert_eq!(Balances::locks(&1), vec![]); }); } @@ -209,33 +209,33 @@ fn prior_lockvotes_should_be_enforced() { Error::::NoPermission ); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5)); - assert_eq!(Balances::locks(5), vec![the_lock(50)]); + assert_eq!(Balances::locks(&5), vec![the_lock(50)]); fast_forward_to(8); assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.2)); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5)); - assert_eq!(Balances::locks(5), vec![the_lock(20)]); + assert_eq!(Balances::locks(&5), vec![the_lock(20)]); fast_forward_to(13); assert_noop!( Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.1), Error::::NoPermission ); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5)); - assert_eq!(Balances::locks(5), vec![the_lock(20)]); + assert_eq!(Balances::locks(&5), vec![the_lock(20)]); fast_forward_to(14); assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.1)); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5)); - assert_eq!(Balances::locks(5), vec![the_lock(10)]); + assert_eq!(Balances::locks(&5), vec![the_lock(10)]); fast_forward_to(25); assert_noop!( Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.0), Error::::NoPermission ); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5)); - assert_eq!(Balances::locks(5), vec![the_lock(10)]); + assert_eq!(Balances::locks(&5), vec![the_lock(10)]); fast_forward_to(26); assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.0)); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5)); - assert_eq!(Balances::locks(5), vec![]); + assert_eq!(Balances::locks(&5), vec![]); }); } @@ -250,26 +250,26 @@ fn single_consolidation_of_lockvotes_should_work_as_before() { fast_forward_to(7); assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.2)); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5)); - assert_eq!(Balances::locks(5), vec![the_lock(50)]); + assert_eq!(Balances::locks(&5), vec![the_lock(50)]); fast_forward_to(8); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5)); - assert_eq!(Balances::locks(5), vec![the_lock(20)]); + assert_eq!(Balances::locks(&5), vec![the_lock(20)]); fast_forward_to(13); assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.1)); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5)); - assert_eq!(Balances::locks(5), vec![the_lock(20)]); + assert_eq!(Balances::locks(&5), vec![the_lock(20)]); fast_forward_to(14); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5)); - assert_eq!(Balances::locks(5), vec![the_lock(10)]); + assert_eq!(Balances::locks(&5), vec![the_lock(10)]); fast_forward_to(25); assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.0)); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5)); - assert_eq!(Balances::locks(5), vec![the_lock(10)]); + assert_eq!(Balances::locks(&5), vec![the_lock(10)]); fast_forward_to(26); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5)); - assert_eq!(Balances::locks(5), vec![]); + assert_eq!(Balances::locks(&5), vec![]); }); } @@ -287,15 +287,15 @@ fn multi_consolidation_of_lockvotes_should_be_conservative() { fast_forward_to(8); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5)); - assert!(Balances::locks(5)[0].amount >= 20); + assert!(Balances::locks(&5)[0].amount >= 20); fast_forward_to(14); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5)); - assert!(Balances::locks(5)[0].amount >= 10); + assert!(Balances::locks(&5)[0].amount >= 10); fast_forward_to(26); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5)); - assert_eq!(Balances::locks(5), vec![]); + assert_eq!(Balances::locks(&5), vec![]); }); } @@ -316,26 +316,26 @@ fn locks_should_persist_from_voting_to_delegation() { 20 )); // locked 20. - assert!(Balances::locks(5)[0].amount == 20); + assert!(Balances::locks(&5)[0].amount == 20); assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(5))); // locked 20 until #14 fast_forward_to(13); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5)); - assert!(Balances::locks(5)[0].amount == 20); + assert!(Balances::locks(&5)[0].amount == 20); fast_forward_to(14); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5)); - assert!(Balances::locks(5)[0].amount >= 10); + assert!(Balances::locks(&5)[0].amount >= 10); fast_forward_to(25); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5)); - assert!(Balances::locks(5)[0].amount >= 10); + assert!(Balances::locks(&5)[0].amount >= 10); fast_forward_to(26); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5)); - assert_eq!(Balances::locks(5), vec![]); + assert_eq!(Balances::locks(&5), vec![]); }); } @@ -363,18 +363,18 @@ fn locks_should_persist_from_delegation_to_voting() { fast_forward_to(8); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5)); - assert!(Balances::locks(5)[0].amount >= 20); + assert!(Balances::locks(&5)[0].amount >= 20); fast_forward_to(14); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5)); - assert!(Balances::locks(5)[0].amount >= 10); + assert!(Balances::locks(&5)[0].amount >= 10); fast_forward_to(26); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5)); - assert!(Balances::locks(5)[0].amount >= 5); + assert!(Balances::locks(&5)[0].amount >= 5); fast_forward_to(48); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5)); - assert_eq!(Balances::locks(5), vec![]); + assert_eq!(Balances::locks(&5), vec![]); }); } diff --git a/pallets/democracy/src/tests/voting.rs b/pallets/democracy/src/tests/voting.rs index 17ffe9bdf7..3a1478a57e 100644 --- a/pallets/democracy/src/tests/voting.rs +++ b/pallets/democracy/src/tests/voting.rs @@ -69,7 +69,7 @@ fn split_vote_cancellation_should_work() { } ); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5)); - assert_eq!(Balances::locks(5), vec![]); + assert_eq!(Balances::locks(&5), vec![]); }); } diff --git a/pallets/democracy/src/weights.rs b/pallets/democracy/src/weights.rs index 78dc920c28..82aa42255a 100644 --- a/pallets/democracy/src/weights.rs +++ b/pallets/democracy/src/weights.rs @@ -1,42 +1,3 @@ -// This file is part of HydraDX. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - - -//! Autogenerated weights for `pallet_democracy` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` - -// Executed Command: -// target/release/hydradx -// benchmark -// pallet -// --chain=dev -// --steps=50 -// --repeat=20 -// --wasm-execution=compiled -// --pallet=pallet-democracy -// --extrinsic=* -// --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_democracy.rs - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -91,8 +52,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `4688` // Estimated: `18187` - // Minimum execution time: 41_084_000 picoseconds. - Weight::from_parts(41_857_000, 18187) + // Minimum execution time: 48_659_000 picoseconds. + Weight::from_parts(49_390_000, 18187) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -102,12 +63,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3443` // Estimated: `6695` - // Minimum execution time: 39_522_000 picoseconds. - Weight::from_parts(39_987_000, 6695) + // Minimum execution time: 45_745_000 picoseconds. + Weight::from_parts(46_365_000, 6695) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:1) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// Storage: `Democracy::VotingOf` (r:1 w:1) /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) @@ -115,22 +76,16 @@ impl WeightInfo for () { /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Storage: `Balances::Freezes` (r:1 w:0) /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Account` (r:2 w:0) - /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) - /// Storage: `Staking::Positions` (r:1 w:1) - /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) fn vote_new() -> Weight { // Proof Size summary in bytes: - // Measured: `15343` - // Estimated: `268590` - // Minimum execution time: 414_586_000 picoseconds. - Weight::from_parts(418_431_000, 268590) - .saturating_add(RocksDbWeight::get().reads(107_u64)) - .saturating_add(RocksDbWeight::get().writes(5_u64)) + // Measured: `4466` + // Estimated: `7260` + // Minimum execution time: 62_077_000 picoseconds. + Weight::from_parts(63_094_000, 7260) + .saturating_add(RocksDbWeight::get().reads(4_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:1) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// Storage: `Democracy::VotingOf` (r:1 w:1) /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) @@ -138,20 +93,14 @@ impl WeightInfo for () { /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Storage: `Balances::Freezes` (r:1 w:0) /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Account` (r:2 w:0) - /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) - /// Storage: `Staking::Positions` (r:1 w:1) - /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) fn vote_existing() -> Weight { // Proof Size summary in bytes: - // Measured: `15365` - // Estimated: `268590` - // Minimum execution time: 411_716_000 picoseconds. - Weight::from_parts(416_992_000, 268590) - .saturating_add(RocksDbWeight::get().reads(107_u64)) - .saturating_add(RocksDbWeight::get().writes(5_u64)) + // Measured: `4488` + // Estimated: `7260` + // Minimum execution time: 62_307_000 picoseconds. + Weight::from_parts(63_291_000, 7260) + .saturating_add(RocksDbWeight::get().reads(4_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) @@ -163,8 +112,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `249` // Estimated: `3666` - // Minimum execution time: 27_470_000 picoseconds. - Weight::from_parts(27_800_000, 3666) + // Minimum execution time: 32_468_000 picoseconds. + Weight::from_parts(32_917_000, 3666) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -186,8 +135,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `6191` // Estimated: `18187` - // Minimum execution time: 107_349_000 picoseconds. - Weight::from_parts(108_424_000, 18187) + // Minimum execution time: 124_221_000 picoseconds. + Weight::from_parts(125_032_000, 18187) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } @@ -199,8 +148,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3276` // Estimated: `6703` - // Minimum execution time: 12_816_000 picoseconds. - Weight::from_parts(13_191_000, 6703) + // Minimum execution time: 16_714_000 picoseconds. + Weight::from_parts(16_968_000, 6703) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -210,8 +159,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_578_000 picoseconds. - Weight::from_parts(3_741_000, 0) + // Minimum execution time: 4_345_000 picoseconds. + Weight::from_parts(4_511_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Democracy::NextExternal` (r:0 w:1) @@ -220,8 +169,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_603_000 picoseconds. - Weight::from_parts(3_844_000, 0) + // Minimum execution time: 4_306_000 picoseconds. + Weight::from_parts(4_452_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Democracy::NextExternal` (r:1 w:1) @@ -236,8 +185,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `147` // Estimated: `3518` - // Minimum execution time: 24_981_000 picoseconds. - Weight::from_parts(25_400_000, 3518) + // Minimum execution time: 29_961_000 picoseconds. + Weight::from_parts(30_263_000, 3518) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -251,8 +200,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3377` // Estimated: `6703` - // Minimum execution time: 27_959_000 picoseconds. - Weight::from_parts(28_449_000, 6703) + // Minimum execution time: 33_469_000 picoseconds. + Weight::from_parts(33_956_000, 6703) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -268,8 +217,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `6076` // Estimated: `18187` - // Minimum execution time: 86_974_000 picoseconds. - Weight::from_parts(87_631_000, 18187) + // Minimum execution time: 98_027_000 picoseconds. + Weight::from_parts(98_807_000, 18187) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -281,8 +230,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `181` // Estimated: `3518` - // Minimum execution time: 19_499_000 picoseconds. - Weight::from_parts(20_085_000, 3518) + // Minimum execution time: 23_954_000 picoseconds. + Weight::from_parts(24_223_000, 3518) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -297,10 +246,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `127 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 3_686_000 picoseconds. - Weight::from_parts(8_346_337, 1489) - // Standard Error: 6_381 - .saturating_add(Weight::from_parts(3_255_704, 0).saturating_mul(r.into())) + // Minimum execution time: 5_374_000 picoseconds. + Weight::from_parts(11_276_591, 1489) + // Standard Error: 6_649 + .saturating_add(Weight::from_parts(3_947_829, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -323,10 +272,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `127 + r * (86 ±0)` // Estimated: `18187 + r * (2676 ±0)` - // Minimum execution time: 6_309_000 picoseconds. - Weight::from_parts(11_146_769, 18187) - // Standard Error: 6_126 - .saturating_add(Weight::from_parts(3_263_109, 0).saturating_mul(r.into())) + // Minimum execution time: 8_649_000 picoseconds. + Weight::from_parts(14_509_012, 18187) + // Standard Error: 7_986 + .saturating_add(Weight::from_parts(3_958_519, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -345,10 +294,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `677 + r * (108 ±0)` // Estimated: `19800 + r * (2676 ±0)` - // Minimum execution time: 43_508_000 picoseconds. - Weight::from_parts(49_166_300, 19800) - // Standard Error: 5_582 - .saturating_add(Weight::from_parts(4_141_052, 0).saturating_mul(r.into())) + // Minimum execution time: 52_510_000 picoseconds. + Weight::from_parts(58_572_866, 19800) + // Standard Error: 7_540 + .saturating_add(Weight::from_parts(5_042_868, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) @@ -364,10 +313,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `374 + r * (108 ±0)` // Estimated: `13530 + r * (2676 ±0)` - // Minimum execution time: 20_176_000 picoseconds. - Weight::from_parts(22_120_019, 13530) - // Standard Error: 5_423 - .saturating_add(Weight::from_parts(4_137_529, 0).saturating_mul(r.into())) + // Minimum execution time: 25_250_000 picoseconds. + Weight::from_parts(26_217_520, 13530) + // Standard Error: 6_756 + .saturating_add(Weight::from_parts(5_016_051, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -380,8 +329,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_913_000 picoseconds. - Weight::from_parts(4_061_000, 0) + // Minimum execution time: 4_493_000 picoseconds. + Weight::from_parts(4_608_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Democracy::VotingOf` (r:1 w:1) @@ -397,10 +346,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `432` // Estimated: `7260` - // Minimum execution time: 26_037_000 picoseconds. - Weight::from_parts(37_595_177, 7260) - // Standard Error: 2_601 - .saturating_add(Weight::from_parts(37_640, 0).saturating_mul(r.into())) + // Minimum execution time: 30_666_000 picoseconds. + Weight::from_parts(43_707_212, 7260) + // Standard Error: 2_935 + .saturating_add(Weight::from_parts(37_696, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -417,10 +366,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `433 + r * (22 ±0)` // Estimated: `7260` - // Minimum execution time: 35_921_000 picoseconds. - Weight::from_parts(37_458_366, 7260) - // Standard Error: 704 - .saturating_add(Weight::from_parts(62_000, 0).saturating_mul(r.into())) + // Minimum execution time: 43_023_000 picoseconds. + Weight::from_parts(45_176_525, 7260) + // Standard Error: 690 + .saturating_add(Weight::from_parts(66_312, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -434,19 +383,19 @@ impl WeightInfo for () { /// Proof: `Staking::ProcessedVotes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: `Staking::Positions` (r:1 w:1) /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:0) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1468 + r * (47 ±0)` + // Measured: `1411 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 47_278_000 picoseconds. - Weight::from_parts(50_625_485, 7260) - // Standard Error: 2_207 - .saturating_add(Weight::from_parts(154_973, 0).saturating_mul(r.into())) + // Minimum execution time: 49_225_000 picoseconds. + Weight::from_parts(52_588_205, 7260) + // Standard Error: 1_510 + .saturating_add(Weight::from_parts(95_497, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) - .saturating_add(RocksDbWeight::get().writes(4_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) @@ -458,19 +407,19 @@ impl WeightInfo for () { /// Proof: `Staking::ProcessedVotes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: `Staking::Positions` (r:1 w:1) /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:0) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1468 + r * (47 ±0)` + // Measured: `1411 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 48_145_000 picoseconds. - Weight::from_parts(51_215_485, 7260) - // Standard Error: 2_118 - .saturating_add(Weight::from_parts(144_598, 0).saturating_mul(r.into())) + // Minimum execution time: 49_265_000 picoseconds. + Weight::from_parts(52_707_575, 7260) + // Standard Error: 1_546 + .saturating_add(Weight::from_parts(94_000, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) - .saturating_add(RocksDbWeight::get().writes(4_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: `Democracy::NextExternal` (r:1 w:0) /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) @@ -484,8 +433,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `287` // Estimated: `3556` - // Minimum execution time: 19_975_000 picoseconds. - Weight::from_parts(20_324_000, 3556) + // Minimum execution time: 25_485_000 picoseconds. + Weight::from_parts(25_780_000, 3556) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -497,8 +446,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `147` // Estimated: `3518` - // Minimum execution time: 15_820_000 picoseconds. - Weight::from_parts(16_301_000, 3518) + // Minimum execution time: 19_812_000 picoseconds. + Weight::from_parts(20_190_000, 3518) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -514,8 +463,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `4842` // Estimated: `18187` - // Minimum execution time: 42_054_000 picoseconds. - Weight::from_parts(42_492_000, 18187) + // Minimum execution time: 48_455_000 picoseconds. + Weight::from_parts(48_802_000, 18187) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -527,8 +476,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `4706` // Estimated: `18187` - // Minimum execution time: 36_480_000 picoseconds. - Weight::from_parts(36_908_000, 18187) + // Minimum execution time: 41_824_000 picoseconds. + Weight::from_parts(42_291_000, 18187) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -542,8 +491,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3556` - // Minimum execution time: 18_019_000 picoseconds. - Weight::from_parts(18_332_000, 3556) + // Minimum execution time: 22_177_000 picoseconds. + Weight::from_parts(22_544_000, 3556) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -555,8 +504,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `159` // Estimated: `3666` - // Minimum execution time: 18_356_000 picoseconds. - Weight::from_parts(18_625_000, 3666) + // Minimum execution time: 23_005_000 picoseconds. + Weight::from_parts(23_299_000, 3666) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/pallets/duster/Cargo.toml b/pallets/duster/Cargo.toml index 53900ed199..7e14d3df0e 100644 --- a/pallets/duster/Cargo.toml +++ b/pallets/duster/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-duster" -version = "3.2.7" +version = "3.2.8" description = "Account duster" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/duster/src/lib.rs b/pallets/duster/src/lib.rs index 0dc129d350..87e91be7f1 100644 --- a/pallets/duster/src/lib.rs +++ b/pallets/duster/src/lib.rs @@ -18,6 +18,7 @@ #![cfg_attr(not(feature = "std"), no_std)] #![allow(clippy::unused_unit)] #![allow(clippy::upper_case_acronyms)] +#![allow(clippy::manual_inspect)] #[cfg(test)] mod mock; @@ -149,8 +150,8 @@ pub mod pallet { AccountBlacklist::::insert(account_id, ()); }); - RewardAccount::::put(&self.reward_account.clone().unwrap_or_else(T::TreasuryAccountId::get)); - DustAccount::::put(&self.dust_account.clone().unwrap_or_else(T::TreasuryAccountId::get)); + RewardAccount::::put(self.reward_account.clone().unwrap_or_else(T::TreasuryAccountId::get)); + DustAccount::::put(self.dust_account.clone().unwrap_or_else(T::TreasuryAccountId::get)); } } diff --git a/pallets/duster/src/weights.rs b/pallets/duster/src/weights.rs index ddb9ae540b..c650267af2 100644 --- a/pallets/duster/src/weights.rs +++ b/pallets/duster/src/weights.rs @@ -1,42 +1,3 @@ -// This file is part of HydraDX. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - - -//! Autogenerated weights for `pallet_duster` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` - -// Executed Command: -// target/release/hydradx -// benchmark -// pallet -// --chain=dev -// --steps=50 -// --repeat=20 -// --wasm-execution=compiled -// --pallet=pallet-duster -// --extrinsic=* -// --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_duster.rs - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -77,10 +38,10 @@ impl WeightInfo for () { /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn dust_account() -> Weight { // Proof Size summary in bytes: - // Measured: `2894` + // Measured: `2960` // Estimated: `6156` - // Minimum execution time: 88_728_000 picoseconds. - Weight::from_parts(89_220_000, 6156) + // Minimum execution time: 111_161_000 picoseconds. + Weight::from_parts(112_413_000, 6156) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -90,18 +51,18 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1012` // Estimated: `0` - // Minimum execution time: 16_562_000 picoseconds. - Weight::from_parts(16_851_000, 0) + // Minimum execution time: 22_055_000 picoseconds. + Weight::from_parts(22_484_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Duster::AccountBlacklist` (r:1 w:1) /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn remove_nondustable_account() -> Weight { // Proof Size summary in bytes: - // Measured: `1366` + // Measured: `1399` // Estimated: `3513` - // Minimum execution time: 21_816_000 picoseconds. - Weight::from_parts(22_528_000, 3513) + // Minimum execution time: 29_154_000 picoseconds. + Weight::from_parts(29_509_000, 3513) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/pallets/dynamic-evm-fee/Cargo.toml b/pallets/dynamic-evm-fee/Cargo.toml index 5a07042f20..d16f7b7330 100644 --- a/pallets/dynamic-evm-fee/Cargo.toml +++ b/pallets/dynamic-evm-fee/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-dynamic-evm-fee" -version = "1.0.5" +version = "1.0.6" description = "Storing and mutating the dynamic fee for EVM transactions." authors = ["GalacticCoucil"] edition = "2021" diff --git a/pallets/dynamic-evm-fee/src/lib.rs b/pallets/dynamic-evm-fee/src/lib.rs index 7485eb85b5..f6fa9dff2c 100644 --- a/pallets/dynamic-evm-fee/src/lib.rs +++ b/pallets/dynamic-evm-fee/src/lib.rs @@ -44,6 +44,7 @@ //! This dual-criteria approach ensures that transaction fees remain fair and reflective of both market conditions and network demand. #![cfg_attr(not(feature = "std"), no_std)] +#![allow(clippy::manual_inspect)] #[cfg(test)] mod tests; diff --git a/pallets/dynamic-evm-fee/src/tests/mock.rs b/pallets/dynamic-evm-fee/src/tests/mock.rs index 7df3e7aa95..242425e58b 100644 --- a/pallets/dynamic-evm-fee/src/tests/mock.rs +++ b/pallets/dynamic-evm-fee/src/tests/mock.rs @@ -26,7 +26,6 @@ use frame_support::{ }; use frame_system as system; use hydra_dx_math::ema::EmaPrice; -use hydradx_traits::router::RouteProvider; use hydradx_traits::NativePriceOracle; use orml_traits::parameter_type_with_key; use pallet_currencies::{BasicCurrencyAdapter, MockBoundErc20, MockErc20Currency}; @@ -174,10 +173,6 @@ impl Config for Test { type WeightInfo = (); } -pub struct DefaultRouteProvider; - -impl RouteProvider for DefaultRouteProvider {} - impl pallet_balances::Config for Test { type MaxLocks = MaxLocks; /// The type for recording an account's balance. diff --git a/pallets/dynamic-evm-fee/src/weights.rs b/pallets/dynamic-evm-fee/src/weights.rs index effbcf77be..8a1cfa2cb4 100644 --- a/pallets/dynamic-evm-fee/src/weights.rs +++ b/pallets/dynamic-evm-fee/src/weights.rs @@ -1,42 +1,3 @@ -// This file is part of HydraDX. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - - -//! Autogenerated weights for `pallet_dynamic_evm_fee` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` - -// Executed Command: -// target/release/hydradx -// benchmark -// pallet -// --chain=dev -// --steps=50 -// --repeat=20 -// --wasm-execution=compiled -// --pallet=pallet-dynamic-evm-fee -// --extrinsic=* -// --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_dynamic_evm_fee.rs - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -52,7 +13,7 @@ pub trait WeightInfo { /// Weights for `pallet_dynamic_evm_fee` using the HydraDX node and recommended hardware. impl WeightInfo for () { - /// Storage: `DynamicEvmFee::BaseFeePerGas` (r:1 w:1) + /// Storage: `DynamicEvmFee::BaseFeePerGas` (r:1 w:1) /// Proof: `DynamicEvmFee::BaseFeePerGas` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) @@ -68,10 +29,10 @@ impl WeightInfo for () { /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn on_initialize() -> Weight { // Proof Size summary in bytes: - // Measured: `2742` + // Measured: `2775` // Estimated: `11598` - // Minimum execution time: 66_789_000 picoseconds. - Weight::from_parts(67_440_000, 11598) + // Minimum execution time: 81_753_000 picoseconds. + Weight::from_parts(82_717_000, 11598) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/pallets/dynamic-fees/Cargo.toml b/pallets/dynamic-fees/Cargo.toml index bb98308f7c..f1753fff98 100644 --- a/pallets/dynamic-fees/Cargo.toml +++ b/pallets/dynamic-fees/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-dynamic-fees" -version = "2.0.0" +version = "2.0.1" description = "A pallet to provide support for dynamic fees" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/dynamic-fees/src/lib.rs b/pallets/dynamic-fees/src/lib.rs index dcb1d2dfbb..266fcb6e7c 100644 --- a/pallets/dynamic-fees/src/lib.rs +++ b/pallets/dynamic-fees/src/lib.rs @@ -54,6 +54,7 @@ //! An oracle which provides volume in and out of an asset and liquidity. #![cfg_attr(not(feature = "std"), no_std)] +#![allow(clippy::manual_inspect)] use frame_support::traits::Get; use frame_system::pallet_prelude::BlockNumberFor; diff --git a/pallets/ema-oracle/Cargo.toml b/pallets/ema-oracle/Cargo.toml index 5e50086583..4310d208a5 100644 --- a/pallets/ema-oracle/Cargo.toml +++ b/pallets/ema-oracle/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-ema-oracle" -version = "1.4.1" +version = "1.4.2" description = "Exponential moving average oracle for AMM pools" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/ema-oracle/src/lib.rs b/pallets/ema-oracle/src/lib.rs index acafea9aeb..83e73a014e 100644 --- a/pallets/ema-oracle/src/lib.rs +++ b/pallets/ema-oracle/src/lib.rs @@ -65,6 +65,7 @@ //! prices you should use a spot price or similar. #![cfg_attr(not(feature = "std"), no_std)] +#![allow(clippy::manual_inspect)] use frame_support::pallet_prelude::*; use frame_support::sp_runtime::traits::{BlockNumberProvider, One, Zero}; diff --git a/pallets/ema-oracle/src/tests/mock.rs b/pallets/ema-oracle/src/tests/mock.rs index 2d8fd03cdc..03d3e8661f 100644 --- a/pallets/ema-oracle/src/tests/mock.rs +++ b/pallets/ema-oracle/src/tests/mock.rs @@ -30,7 +30,7 @@ use frame_support::BoundedVec; use frame_system::EnsureRoot; use hydradx_traits::OraclePeriod::{self, *}; use hydradx_traits::Source; -use hydradx_traits::{AssetPairAccountIdFor, Liquidity, Volume}; +use hydradx_traits::{Liquidity, Volume}; use sp_core::H256; use crate::types::{AssetId, Balance, Price}; @@ -117,19 +117,6 @@ impl frame_system::Config for Test { type PostTransactions = (); } -pub struct AssetPairAccountIdTest(); - -impl AssetPairAccountIdFor for AssetPairAccountIdTest { - fn from_assets(asset_a: AssetId, asset_b: AssetId, _: &str) -> u64 { - let mut a = asset_a as u128; - let mut b = asset_b as u128; - if a > b { - std::mem::swap(&mut a, &mut b); - } - (a * 1000 + b) as u64 - } -} - parameter_types! { pub SupportedPeriods: BoundedVec> = bounded_vec![LastBlock, TenMinutes, Day, Week]; } diff --git a/pallets/ema-oracle/src/weights.rs b/pallets/ema-oracle/src/weights.rs index a6c4b37fe3..c85fb7dd6d 100644 --- a/pallets/ema-oracle/src/weights.rs +++ b/pallets/ema-oracle/src/weights.rs @@ -1,42 +1,3 @@ -// This file is part of HydraDX. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - - -//! Autogenerated weights for `pallet_ema_oracle` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` - -// Executed Command: -// target/release/hydradx -// benchmark -// pallet -// --chain=dev -// --steps=50 -// --repeat=20 -// --wasm-execution=compiled -// --pallet=pallet-ema-oracle -// --extrinsic=* -// --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_ema_oracle.rs - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -68,8 +29,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `860` // Estimated: `2126` - // Minimum execution time: 15_358_000 picoseconds. - Weight::from_parts(15_612_000, 2126) + // Minimum execution time: 18_453_000 picoseconds. + Weight::from_parts(18_728_000, 2126) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -83,8 +44,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `876` // Estimated: `7406` - // Minimum execution time: 32_501_000 picoseconds. - Weight::from_parts(32_728_000, 7406) + // Minimum execution time: 35_110_000 picoseconds. + Weight::from_parts(35_479_000, 7406) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -99,8 +60,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `208` // Estimated: `7406` - // Minimum execution time: 2_187_000 picoseconds. - Weight::from_parts(2_267_000, 7406) + // Minimum execution time: 3_428_000 picoseconds. + Weight::from_parts(3_551_000, 7406) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `EmaOracle::Accumulator` (r:1 w:1) @@ -112,10 +73,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `305 + b * (626 ±0)` // Estimated: `7406 + b * (7956 ±0)` - // Minimum execution time: 45_323_000 picoseconds. - Weight::from_parts(10_030_058, 7406) - // Standard Error: 15_380 - .saturating_add(Weight::from_parts(35_004_114, 0).saturating_mul(b.into())) + // Minimum execution time: 50_796_000 picoseconds. + Weight::from_parts(13_853_333, 7406) + // Standard Error: 19_995 + .saturating_add(Weight::from_parts(36_619_947, 0).saturating_mul(b.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(b.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -131,10 +92,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `821 + b * (164 ±0)` // Estimated: `7406` - // Minimum execution time: 16_045_000 picoseconds. - Weight::from_parts(16_698_666, 7406) - // Standard Error: 2_712 - .saturating_add(Weight::from_parts(482_996, 0).saturating_mul(b.into())) + // Minimum execution time: 21_833_000 picoseconds. + Weight::from_parts(22_673_078, 7406) + // Standard Error: 3_367 + .saturating_add(Weight::from_parts(503_352, 0).saturating_mul(b.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -147,10 +108,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `821 + b * (164 ±0)` // Estimated: `7406` - // Minimum execution time: 16_293_000 picoseconds. - Weight::from_parts(16_839_547, 7406) - // Standard Error: 2_626 - .saturating_add(Weight::from_parts(478_879, 0).saturating_mul(b.into())) + // Minimum execution time: 22_117_000 picoseconds. + Weight::from_parts(22_701_600, 7406) + // Standard Error: 3_410 + .saturating_add(Weight::from_parts(500_409, 0).saturating_mul(b.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -160,8 +121,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `638` // Estimated: `6294` - // Minimum execution time: 17_336_000 picoseconds. - Weight::from_parts(17_680_000, 6294) + // Minimum execution time: 21_346_000 picoseconds. + Weight::from_parts(21_721_000, 6294) .saturating_add(RocksDbWeight::get().reads(2_u64)) } } diff --git a/pallets/evm-accounts/Cargo.toml b/pallets/evm-accounts/Cargo.toml index 82f7984feb..953bd05f8e 100644 --- a/pallets/evm-accounts/Cargo.toml +++ b/pallets/evm-accounts/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-evm-accounts" -version = "1.2.1" +version = "1.2.2" authors = ["GalacticCouncil"] edition = "2021" license = "Apache-2.0" diff --git a/pallets/evm-accounts/src/lib.rs b/pallets/evm-accounts/src/lib.rs index 7b400f2306..8d2f1aed72 100644 --- a/pallets/evm-accounts/src/lib.rs +++ b/pallets/evm-accounts/src/lib.rs @@ -55,6 +55,7 @@ //! * `disapprove_contract` - Disapproves contract address to manage balances. #![cfg_attr(not(feature = "std"), no_std)] +#![allow(clippy::manual_inspect)] use frame_support::ensure; use frame_support::pallet_prelude::{DispatchResult, Get}; diff --git a/pallets/evm-accounts/src/mock.rs b/pallets/evm-accounts/src/mock.rs index dd8b68b6d0..0867952958 100644 --- a/pallets/evm-accounts/src/mock.rs +++ b/pallets/evm-accounts/src/mock.rs @@ -1,8 +1,5 @@ -#![cfg(test)] -use super::*; - use crate as pallet_evm_accounts; -use crate::{Balance, Config}; +use crate::{Balance, Config, EvmNonceProvider}; use frame_support::parameter_types; use frame_support::sp_runtime::{ traits::{BlakeTwo256, IdentifyAccount, IdentityLookup, Verify}, @@ -10,8 +7,9 @@ use frame_support::sp_runtime::{ }; use frame_support::traits::Everything; use frame_system::EnsureRoot; +use hydradx_traits::evm::InspectEvmAccounts; use orml_traits::parameter_type_with_key; -pub use sp_core::{H160, H256}; +pub use sp_core::{H160, H256, U256}; use std::cell::RefCell; use std::collections::HashMap; diff --git a/pallets/evm-accounts/src/weights.rs b/pallets/evm-accounts/src/weights.rs index e926b5331a..953438f74f 100644 --- a/pallets/evm-accounts/src/weights.rs +++ b/pallets/evm-accounts/src/weights.rs @@ -1,42 +1,3 @@ -// This file is part of HydraDX. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - - -//! Autogenerated weights for `pallet_evm_accounts` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` - -// Executed Command: -// target/release/hydradx -// benchmark -// pallet -// --chain=dev -// --steps=50 -// --repeat=20 -// --wasm-execution=compiled -// --pallet=pallet-evm-accounts -// --extrinsic=* -// --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_evm_accounts.rs - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -73,10 +34,10 @@ impl WeightInfo for () { /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) fn bind_evm_address() -> Weight { // Proof Size summary in bytes: - // Measured: `545` + // Measured: `578` // Estimated: `4087` - // Minimum execution time: 32_601_000 picoseconds. - Weight::from_parts(33_318_000, 4087) + // Minimum execution time: 40_452_000 picoseconds. + Weight::from_parts(41_073_000, 4087) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -86,8 +47,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_273_000 picoseconds. - Weight::from_parts(9_491_000, 0) + // Minimum execution time: 10_172_000 picoseconds. + Weight::from_parts(10_418_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `EVMAccounts::ContractDeployer` (r:0 w:1) @@ -96,8 +57,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_169_000 picoseconds. - Weight::from_parts(9_370_000, 0) + // Minimum execution time: 10_046_000 picoseconds. + Weight::from_parts(10_361_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `EVMAccounts::ContractDeployer` (r:0 w:1) @@ -106,26 +67,28 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_240_000 picoseconds. - Weight::from_parts(9_463_000, 0) + // Minimum execution time: 10_267_000 picoseconds. + Weight::from_parts(10_459_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: `EVMAccounts::ContractDeployer` (r:0 w:1) - /// Proof: `EVMAccounts::ContractDeployer` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `EVMAccounts::ApprovedContract` (r:0 w:1) + /// Proof: `EVMAccounts::ApprovedContract` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) fn approve_contract() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_157_000 picoseconds. - Weight::from_parts(13_481_000, 0).saturating_add(RocksDbWeight::get().writes(1)) + // Minimum execution time: 10_250_000 picoseconds. + Weight::from_parts(10_466_000, 0) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: `EVMAccounts::ContractDeployer` (r:0 w:1) - /// Proof: `EVMAccounts::ContractDeployer` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `EVMAccounts::ApprovedContract` (r:0 w:1) + /// Proof: `EVMAccounts::ApprovedContract` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) fn disapprove_contract() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_196_000 picoseconds. - Weight::from_parts(13_517_000, 0).saturating_add(RocksDbWeight::get().writes(1)) + // Minimum execution time: 10_131_000 picoseconds. + Weight::from_parts(10_348_000, 0) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } } diff --git a/pallets/genesis-history/Cargo.toml b/pallets/genesis-history/Cargo.toml index 1f6b688456..43e8492dc6 100644 --- a/pallets/genesis-history/Cargo.toml +++ b/pallets/genesis-history/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-genesis-history" -version = "2.1.5" +version = "2.1.6" description = "Keeping track of the past chain generations." authors = ["GalacticCouncil "] edition = "2021" diff --git a/pallets/genesis-history/src/lib.rs b/pallets/genesis-history/src/lib.rs index 0dd71d89ad..0ccead3d90 100644 --- a/pallets/genesis-history/src/lib.rs +++ b/pallets/genesis-history/src/lib.rs @@ -16,6 +16,8 @@ // limitations under the License. #![cfg_attr(not(feature = "std"), no_std)] +#![allow(clippy::manual_inspect)] + use codec::{Decode, Encode}; use serde::{Deserialize, Serialize}; use sp_core::RuntimeDebug; diff --git a/pallets/lbp/Cargo.toml b/pallets/lbp/Cargo.toml index 7d5e613eff..303dac43c2 100644 --- a/pallets/lbp/Cargo.toml +++ b/pallets/lbp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-lbp" -version = "4.10.0" +version = "4.10.1" description = "HydraDX Liquidity Bootstrapping Pool Pallet" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/lbp/src/lib.rs b/pallets/lbp/src/lib.rs index 6d48ff8da1..0ca5ce3ede 100644 --- a/pallets/lbp/src/lib.rs +++ b/pallets/lbp/src/lib.rs @@ -20,6 +20,7 @@ #![allow(clippy::upper_case_acronyms)] #![allow(clippy::type_complexity)] #![allow(clippy::too_many_arguments)] +#![allow(clippy::manual_inspect)] pub use crate::types::{Amount, AssetId, AssetPair, Balance}; use codec::{Decode, Encode, MaxEncodedLen}; diff --git a/pallets/lbp/src/mock.rs b/pallets/lbp/src/mock.rs index ddb2af7c9f..3b9e06dc04 100644 --- a/pallets/lbp/src/mock.rs +++ b/pallets/lbp/src/mock.rs @@ -1,18 +1,15 @@ -#![cfg(test)] -use super::*; - use crate as lbp; use crate::{ types::{AssetId, AssetPair, Balance}, - AssetPairAccountIdFor, Config, + AssetPairAccountIdFor, Config, Pool, WeightCurveType, }; use frame_support::parameter_types; use frame_support::traits::{Everything, LockIdentifier, Nothing}; -use hydradx_traits::LockedBalance; +use hydradx_traits::{AMMTransfer, LockedBalance}; use orml_traits::parameter_type_with_key; use sp_core::H256; use sp_runtime::{ - traits::{BlakeTwo256, IdentityLookup}, + traits::{BlakeTwo256, IdentityLookup, Zero}, BuildStorage, }; use std::collections::BTreeMap; diff --git a/pallets/lbp/src/weights.rs b/pallets/lbp/src/weights.rs index 19891e2200..758dfd5a23 100644 --- a/pallets/lbp/src/weights.rs +++ b/pallets/lbp/src/weights.rs @@ -1,42 +1,3 @@ -// This file is part of HydraDX. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - - -//! Autogenerated weights for `pallet_lbp` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` - -// Executed Command: -// target/release/hydradx -// benchmark -// pallet -// --chain=dev -// --steps=50 -// --repeat=20 -// --wasm-execution=compiled -// --pallet=pallet-lbp -// --extrinsic=* -// --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_lbp.rs - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -68,6 +29,8 @@ impl WeightInfo for () { /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) /// Storage: `LBP::FeeCollectorWithAsset` (r:1 w:1) /// Proof: `LBP::FeeCollectorWithAsset` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:4 w:4) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Router::SkipEd` (r:1 w:0) @@ -76,8 +39,6 @@ impl WeightInfo for () { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) @@ -86,10 +47,10 @@ impl WeightInfo for () { /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn create_pool() -> Weight { // Proof Size summary in bytes: - // Measured: `1519` + // Measured: `1586` // Estimated: `11322` - // Minimum execution time: 136_266_000 picoseconds. - Weight::from_parts(137_668_000, 11322) + // Minimum execution time: 168_852_000 picoseconds. + Weight::from_parts(169_826_000, 11322) .saturating_add(RocksDbWeight::get().reads(16_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } @@ -101,13 +62,15 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `417` // Estimated: `3628` - // Minimum execution time: 24_713_000 picoseconds. - Weight::from_parts(25_213_000, 3628) + // Minimum execution time: 30_046_000 picoseconds. + Weight::from_parts(30_632_000, 3628) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: `LBP::PoolData` (r:1 w:0) /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:4 w:4) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Router::SkipEd` (r:1 w:0) @@ -116,21 +79,21 @@ impl WeightInfo for () { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `1780` + // Measured: `1846` // Estimated: `11322` - // Minimum execution time: 104_132_000 picoseconds. - Weight::from_parts(104_897_000, 11322) + // Minimum execution time: 133_474_000 picoseconds. + Weight::from_parts(134_292_000, 11322) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } /// Storage: `LBP::PoolData` (r:1 w:1) /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:4 w:4) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Router::SkipEd` (r:1 w:0) @@ -139,8 +102,6 @@ impl WeightInfo for () { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) @@ -151,13 +112,15 @@ impl WeightInfo for () { /// Proof: `LBP::FeeCollectorWithAsset` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `1895` + // Measured: `1962` // Estimated: `11322` - // Minimum execution time: 135_138_000 picoseconds. - Weight::from_parts(136_175_000, 11322) + // Minimum execution time: 168_745_000 picoseconds. + Weight::from_parts(169_823_000, 11322) .saturating_add(RocksDbWeight::get().reads(14_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:5 w:5) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `LBP::PoolData` (r:1 w:0) @@ -170,21 +133,21 @@ impl WeightInfo for () { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn sell() -> Weight { // Proof Size summary in bytes: - // Measured: `2185` + // Measured: `2251` // Estimated: `13905` - // Minimum execution time: 237_882_000 picoseconds. - Weight::from_parts(239_360_000, 13905) + // Minimum execution time: 278_405_000 picoseconds. + Weight::from_parts(280_656_000, 13905) .saturating_add(RocksDbWeight::get().reads(17_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } /// Storage: `LBP::PoolData` (r:1 w:0) /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:5 w:5) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Tokens::Locks` (r:1 w:1) @@ -195,21 +158,21 @@ impl WeightInfo for () { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn buy() -> Weight { // Proof Size summary in bytes: - // Measured: `2185` + // Measured: `2251` // Estimated: `13905` - // Minimum execution time: 237_046_000 picoseconds. - Weight::from_parts(238_347_000, 13905) + // Minimum execution time: 278_628_000 picoseconds. + Weight::from_parts(280_382_000, 13905) .saturating_add(RocksDbWeight::get().reads(17_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } /// Storage: `LBP::PoolData` (r:1 w:0) /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:5 w:5) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Tokens::Locks` (r:1 w:1) @@ -220,29 +183,29 @@ impl WeightInfo for () { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `822 + e * (1363 ±0)` + // Measured: `1052 + e * (1199 ±0)` // Estimated: `8799 + e * (7749 ±0)` - // Minimum execution time: 87_361_000 picoseconds. - Weight::from_parts(88_580_000, 8799) - // Standard Error: 241_438 - .saturating_add(Weight::from_parts(1_047_223, 0).saturating_mul(c.into())) - // Standard Error: 537_751 - .saturating_add(Weight::from_parts(152_397_271, 0).saturating_mul(e.into())) - .saturating_add(RocksDbWeight::get().reads(3_u64)) - .saturating_add(RocksDbWeight::get().reads((14_u64).saturating_mul(e.into()))) + // Minimum execution time: 102_791_000 picoseconds. + Weight::from_parts(103_541_000, 8799) + // Standard Error: 232_924 + .saturating_add(Weight::from_parts(979_511, 0).saturating_mul(c.into())) + // Standard Error: 518_787 + .saturating_add(Weight::from_parts(178_064_307, 0).saturating_mul(e.into())) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().reads((12_u64).saturating_mul(e.into()))) .saturating_add(RocksDbWeight::get().writes((7_u64).saturating_mul(e.into()))) .saturating_add(Weight::from_parts(0, 7749).saturating_mul(e.into())) } /// Storage: `LBP::PoolData` (r:1 w:0) /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:5 w:5) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Tokens::Locks` (r:1 w:1) @@ -253,51 +216,53 @@ impl WeightInfo for () { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 3]`. /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `822 + e * (1363 ±0)` - // Estimated: `6156 + e * (8544 ±0)` - // Minimum execution time: 160_618_000 picoseconds. - Weight::from_parts(161_967_000, 6156) - // Standard Error: 434_297 - .saturating_add(Weight::from_parts(2_807_924, 0).saturating_mul(c.into())) - // Standard Error: 1_464_590 - .saturating_add(Weight::from_parts(113_441_082, 0).saturating_mul(e.into())) - .saturating_add(RocksDbWeight::get().reads(3_u64)) - .saturating_add(RocksDbWeight::get().reads((14_u64).saturating_mul(e.into()))) + // Measured: `1052 + e * (1199 ±0)` + // Estimated: `6190 + e * (8544 ±14_296_005_195_177_084)` + // Minimum execution time: 177_688_000 picoseconds. + Weight::from_parts(178_851_000, 6190) + // Standard Error: 450_328 + .saturating_add(Weight::from_parts(2_999_206, 0).saturating_mul(c.into())) + // Standard Error: 1_518_653 + .saturating_add(Weight::from_parts(137_463_885, 0).saturating_mul(e.into())) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().reads((12_u64).saturating_mul(e.into()))) .saturating_add(RocksDbWeight::get().writes((7_u64).saturating_mul(e.into()))) .saturating_add(Weight::from_parts(0, 8544).saturating_mul(e.into())) } /// Storage: `LBP::PoolData` (r:1 w:0) /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:2 w:0) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) fn calculate_buy() -> Weight { // Proof Size summary in bytes: - // Measured: `822` - // Estimated: `6156` - // Minimum execution time: 89_869_000 picoseconds. - Weight::from_parts(90_917_000, 6156) - .saturating_add(RocksDbWeight::get().reads(3_u64)) + // Measured: `1052` + // Estimated: `6190` + // Minimum execution time: 104_405_000 picoseconds. + Weight::from_parts(104_910_000, 6190) + .saturating_add(RocksDbWeight::get().reads(5_u64)) } /// Storage: `LBP::PoolData` (r:1 w:0) /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) /// Storage: `Tokens::Locks` (r:1 w:0) /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:2 w:0) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) fn calculate_spot_price_with_fee() -> Weight { // Proof Size summary in bytes: - // Measured: `822` - // Estimated: `6156` - // Minimum execution time: 25_211_000 picoseconds. - Weight::from_parts(25_559_000, 6156) - .saturating_add(RocksDbWeight::get().reads(4_u64)) + // Measured: `1052` + // Estimated: `6190` + // Minimum execution time: 42_800_000 picoseconds. + Weight::from_parts(43_263_000, 6190) + .saturating_add(RocksDbWeight::get().reads(6_u64)) } } diff --git a/pallets/liquidation/Cargo.toml b/pallets/liquidation/Cargo.toml index 61868f5725..489d41eb6d 100644 --- a/pallets/liquidation/Cargo.toml +++ b/pallets/liquidation/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-liquidation" -version = "1.0.3" +version = "1.0.4" description = "A pallet for money market liquidations" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/liquidation/src/benchmarks.rs b/pallets/liquidation/src/benchmarks.rs index a4f2506eea..ed3482fd55 100644 --- a/pallets/liquidation/src/benchmarks.rs +++ b/pallets/liquidation/src/benchmarks.rs @@ -11,7 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -#![cfg(feature = "runtime-benchmarks")] + use super::*; use frame_benchmarking::{account, benchmarks}; use frame_support::traits::fungibles::Mutate; @@ -62,6 +62,7 @@ benchmarks! { impl_benchmark_test_suite!(Pallet, tests::mock::ExtBuilder::default().build(), tests::mock::Test); } +#[allow(clippy::multiple_bound_locations)] fn seed_registry() -> Result where T: pallet_asset_registry::Config, diff --git a/pallets/liquidation/src/lib.rs b/pallets/liquidation/src/lib.rs index 1e11e059bf..9fb353e6cf 100644 --- a/pallets/liquidation/src/lib.rs +++ b/pallets/liquidation/src/lib.rs @@ -25,6 +25,7 @@ //! * `liquidate` - Liquidates an existing MM position. Performs flash loan to get funds. #![cfg_attr(not(feature = "std"), no_std)] +#![allow(clippy::manual_inspect)] use ethabi::ethereum_types::BigEndianHash; use evm::{ExitReason, ExitSucceed}; @@ -235,6 +236,7 @@ pub mod pallet { debt_asset, &pallet_acc, debt_to_cover, + Preservation::Expendable, Precision::Exact, Fortitude::Force, )?; diff --git a/pallets/liquidation/src/weights.rs b/pallets/liquidation/src/weights.rs index ec9a58d1d6..2a4f874393 100644 --- a/pallets/liquidation/src/weights.rs +++ b/pallets/liquidation/src/weights.rs @@ -1,42 +1,3 @@ -// This file is part of HydraDX. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - - -//! Autogenerated weights for `pallet_liquidation` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-11-13, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` - -// Executed Command: -// target/release/hydradx -// benchmark -// pallet -// --chain=dev -// --steps=50 -// --repeat=20 -// --wasm-execution=compiled -// --pallet=pallet-liquidation -// --extrinsic=* -// --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_liquidation.rs - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -53,35 +14,34 @@ pub trait WeightInfo { /// Weights for `pallet_liquidation` using the HydraDX node and recommended hardware. impl WeightInfo for () { /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:1 w:1) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:0) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Tokens::TotalIssuance` (r:1 w:1) - /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) - /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `Liquidation::BorrowingContract` (r:1 w:0) - /// Proof: `Liquidation::BorrowingContract` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) - fn liquidate() -> Weight { - // Proof Size summary in bytes: - // Measured: `916` - // Estimated: `3593` - // Minimum execution time: 85_499_000 picoseconds. - Weight::from_parts(86_311_000, 3593) - .saturating_add(RocksDbWeight::get().reads(6_u64)) - .saturating_add(RocksDbWeight::get().writes(2_u64)) - } - + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:1 w:1) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `Liquidation::BorrowingContract` (r:1 w:0) + /// Proof: `Liquidation::BorrowingContract` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + fn liquidate() -> Weight { + // Proof Size summary in bytes: + // Measured: `916` + // Estimated: `3593` + // Minimum execution time: 97_283_000 picoseconds. + Weight::from_parts(97_901_000, 3593) + .saturating_add(RocksDbWeight::get().reads(6_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) + } /// Storage: `Liquidation::BorrowingContract` (r:0 w:1) /// Proof: `Liquidation::BorrowingContract` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) fn set_borrowing_contract() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_358_000 picoseconds. - Weight::from_parts(3_601_000, 0) + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(4_117_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } } diff --git a/pallets/liquidity-mining/Cargo.toml b/pallets/liquidity-mining/Cargo.toml index a94f4b7335..396515e7c5 100644 --- a/pallets/liquidity-mining/Cargo.toml +++ b/pallets/liquidity-mining/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-liquidity-mining" -version = "4.4.5" +version = "4.4.6" description = "Liquidity mining" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/liquidity-mining/src/lib.rs b/pallets/liquidity-mining/src/lib.rs index 3123586c5e..a5f8843e14 100644 --- a/pallets/liquidity-mining/src/lib.rs +++ b/pallets/liquidity-mining/src/lib.rs @@ -54,39 +54,40 @@ //! //! Notes: //! * LP shares are returned ONLY if deposit is destroyed - withdrawing LP shares can -//! be used to "free slot" for re-lock LP shares to different yield farm. Withdrawing LP shares result in -//! resetting loyalty factor for yield farm user is withdrawing from(other farm entries in the -//! deposit are not affected). If deposit has no more farm entries, deposit is destroyed and LP -//! shares are returned back to user. +//! be used to "free slot" for re-lock LP shares to different yield farm. Withdrawing LP shares result in +//! resetting loyalty factor for yield farm user is withdrawing from(other farm entries in the +//! deposit are not affected). If deposit has no more farm entries, deposit is destroyed and LP +//! shares are returned back to user. //! * `YieldFarm` - can be in the 3 states: [`Active`, `Stopped`, `Terminated`] //! * `Active` - liquidity mining is running, users are able to deposit, claim and withdraw LP -//! shares. `YieldFarm` is rewarded from `GlobalFarm` in this state. +//! shares. `YieldFarm` is rewarded from `GlobalFarm` in this state. //! * `Stopped` - liquidity mining is stopped. Users can claim and withdraw LP shares from the -//! farm. Users CAN'T deposit new LP shares to stopped farm. Stopped farm is not rewarded from the -//! `GlobalFarm`. -//! Note: stopped farm can be resumed or destroyed. +//! farm. Users CAN'T deposit new LP shares to stopped farm. Stopped farm is not rewarded from the +//! `GlobalFarm`. +//! Note: stopped farm can be resumed or destroyed. //! * `Terminated` - liquidity mining is ended. User's CAN'T deposit or claim rewards from -//! stopped farm. Users CAN only withdraw LP shares(without rewards). -//! `YieldFarm` must be stopped before it can be terminated. Terminated farm stays in the storage -//! until last farm's entry is withdrawn. Last withdrawn from yield farm will remove terminated -//! farm from the storage. -//! Note: Terminated farm CAN'T be resumed. +//! stopped farm. Users CAN only withdraw LP shares(without rewards). +//! `YieldFarm` must be stopped before it can be terminated. Terminated farm stays in the storage +//! until last farm's entry is withdrawn. Last withdrawn from yield farm will remove terminated +//! farm from the storage. +//! Note: Terminated farm CAN'T be resumed. //! * `GlobalFarm` - can be in the 2 states: [`Active`, `Terminated`] //! * `Active` - liquidity mining program is running, new yield farms can be added to the -//! global farm. +//! global farm. //! * `Terminated` - liquidity mining program is ended. Yield farms can't be added to the global -//! farm. Global farm MUST be empty(all yield farms in the global farm must be destroyed) -//! before it can be destroyed. Destroying global farm transfer undistributed rewards to farm's -//! owner. Terminated global farm stay in the storage until all yield farms are removed from -//! the storage. Last yield farm removal from storage triggers global farm removal from -//! storage. -//! Note: Terminated global farm CAN'T be resumed. +//! farm. Global farm MUST be empty(all yield farms in the global farm must be destroyed) +//! before it can be destroyed. Destroying global farm transfer undistributed rewards to farm's +//! owner. Terminated global farm stay in the storage until all yield farms are removed from +//! the storage. Last yield farm removal from storage triggers global farm removal from +//! storage. +//! Note: Terminated global farm CAN'T be resumed. //! * Pot - account holding all rewards allocated for all `YieldFarm`s from all `GlobalFarm`s. //! User's rewards are transferred from `pot`'s account to user's accounts. //! #![cfg_attr(not(feature = "std"), no_std)] #![allow(clippy::derive_partial_eq_without_eq)] +#![allow(clippy::manual_inspect)] #[cfg(test)] mod tests; @@ -1108,7 +1109,7 @@ impl, I: 'static> Pallet { /// - `yield_farm_id`: yield farm identifier redepositing to. /// - `deposit_id`: identifier of the AMM pool. /// - `get_token_value_of_lp_shares`: callback function returning amount of - /// `incentivized_asset` behind `lp_shares`. + /// `incentivized_asset` behind `lp_shares`. fn redeposit_lp_shares( global_farm_id: GlobalFarmId, yield_farm_id: YieldFarmId, diff --git a/pallets/liquidity-mining/src/tests/invariants.rs b/pallets/liquidity-mining/src/tests/invariants.rs index 16390df59c..3a2caec5f3 100644 --- a/pallets/liquidity-mining/src/tests/invariants.rs +++ b/pallets/liquidity-mining/src/tests/invariants.rs @@ -310,7 +310,7 @@ proptest! { let reward = LiquidityMining::sync_global_farm(&mut global_farm, current_period).unwrap(); - let s_0 = (left_to_distribute_0 - reward).max(0); + let s_0 = left_to_distribute_0 - reward; let s_1 = Tokens::free_balance(REWARD_CURRENCY, &global_farm_account); assert_eq!( diff --git a/pallets/liquidity-mining/src/tests/mock.rs b/pallets/liquidity-mining/src/tests/mock.rs index 050f1e155f..f5855af2e2 100644 --- a/pallets/liquidity-mining/src/tests/mock.rs +++ b/pallets/liquidity-mining/src/tests/mock.rs @@ -20,9 +20,9 @@ use super::*; use crate::Config; use crate::{self as liq_mining, types::DefaultPriceAdjustment}; -use frame_support::{dispatch, parameter_types, traits::Contains, traits::Everything, PalletId}; +use frame_support::{parameter_types, traits::Contains, traits::Everything, PalletId}; use frame_system as system; -use hydradx_traits::{pools::DustRemovalAccountWhitelist, registry::Inspect, AMMTransfer, AssetKind, AMM}; +use hydradx_traits::{pools::DustRemovalAccountWhitelist, registry::Inspect, AssetKind}; use orml_traits::GetByKey; use sp_core::H256; use sp_runtime::{ @@ -89,7 +89,6 @@ pub const BSX_ETH_AMM: AccountId = 11_003; pub const BSX_HDX_AMM: AccountId = 11_004; pub const BSX_TKN1_AMM: AccountId = 11_005; pub const BSX_TKN2_AMM: AccountId = 11_006; -pub const DEFAULT_AMM: AccountId = 11_007; pub const KSM_DOT_AMM: AccountId = 11_008; pub const ACA_KSM_AMM: AccountId = 11_009; @@ -170,101 +169,11 @@ impl system::Config for Test { type PostTransactions = (); } -pub struct Amm; - thread_local! { pub static AMM_POOLS: RefCell> = RefCell::new(HashMap::new()); pub static DUSTER_WHITELIST: RefCell> = const { RefCell::new(Vec::new()) }; } -impl AMM for Amm { - fn get_max_out_ratio() -> u128 { - 0_u32.into() - } - - fn get_fee(_pool_account_id: &AccountId) -> (u32, u32) { - (0, 0) - } - - fn get_max_in_ratio() -> u128 { - 0_u32.into() - } - - fn get_pool_assets(_pool_account_id: &AccountId) -> Option> { - None - } - - fn get_spot_price_unchecked(_asset_a: AssetId, _asset_b: AssetId, _amount: Balance) -> Balance { - Balance::from(0_u32) - } - - fn validate_sell( - _origin: &AccountId, - _assets: AssetPair, - _amount: Balance, - _min_bought: Balance, - _discount: bool, - ) -> Result< - hydradx_traits::AMMTransfer, - frame_support::sp_runtime::DispatchError, - > { - Err(sp_runtime::DispatchError::Other("NotImplemented")) - } - - fn execute_buy( - _transfer: &AMMTransfer, - _destination: Option<&AccountId>, - ) -> dispatch::DispatchResult { - Err(sp_runtime::DispatchError::Other("NotImplemented")) - } - - fn execute_sell( - _transfer: &hydradx_traits::AMMTransfer, - ) -> frame_support::dispatch::DispatchResult { - Err(sp_runtime::DispatchError::Other("NotImplemented")) - } - - fn validate_buy( - _origin: &AccountId, - _assets: AssetPair, - _amount: Balance, - _max_limit: Balance, - _discount: bool, - ) -> Result< - hydradx_traits::AMMTransfer, - frame_support::sp_runtime::DispatchError, - > { - Err(sp_runtime::DispatchError::Other("NotImplemented")) - } - - fn get_min_pool_liquidity() -> Balance { - Balance::from(0_u32) - } - - fn get_min_trading_limit() -> Balance { - Balance::from(0_u32) - } - - // Fn bellow are used by liq. mining pallet - fn exists(assets: AssetPair) -> bool { - AMM_POOLS.with(|v| v.borrow().contains_key(&asset_pair_to_map_key(assets))) - } - - fn get_pair_id(assets: AssetPair) -> AccountId { - AMM_POOLS.with(|v| match v.borrow().get(&asset_pair_to_map_key(assets)) { - Some(p) => p.0, - None => DEFAULT_AMM, - }) - } - - fn get_share_token(assets: AssetPair) -> AssetId { - AMM_POOLS.with(|v| match v.borrow().get(&asset_pair_to_map_key(assets)) { - Some(p) => p.1, - None => BSX, - }) - } -} - pub fn asset_pair_to_map_key(assets: AssetPair) -> String { format!("in:{}_out:{}", assets.asset_in, assets.asset_out) } diff --git a/pallets/liquidity-mining/src/tests/tests.rs b/pallets/liquidity-mining/src/tests/tests.rs index c99457173b..c48151663c 100644 --- a/pallets/liquidity-mining/src/tests/tests.rs +++ b/pallets/liquidity-mining/src/tests/tests.rs @@ -1498,7 +1498,7 @@ fn get_next_farm_id_should_work() { #[test] fn farm_account_id_should_work() { - let ids: Vec = vec![1, 100, 543, u32::max_value()]; + let ids: Vec = vec![1, 100, 543, u32::MAX]; for id in ids { assert_ok!(LiquidityMining::farm_account_id(id)); diff --git a/pallets/liquidity-mining/src/tests/withdraw_lp_shares.rs b/pallets/liquidity-mining/src/tests/withdraw_lp_shares.rs index 7cde2674fa..51f4db086d 100644 --- a/pallets/liquidity-mining/src/tests/withdraw_lp_shares.rs +++ b/pallets/liquidity-mining/src/tests/withdraw_lp_shares.rs @@ -1168,7 +1168,8 @@ fn trait_withdraw_lp_shares_should_claim_and_withdraw_when_yield_farm_is_claimab total_valued_shares: 43_040 * ONE, entries_count: 2, left_to_distribute: bsx_tkn1_yield_farm_0.left_to_distribute - - unclaimable_rewards - expected_claimed_amount, + - unclaimable_rewards + - expected_claimed_amount, ..bsx_tkn1_yield_farm_0 }, ); @@ -1351,7 +1352,8 @@ fn trait_withdraw_lp_shares_should_claim_zero_when_user_already_claimed_rewards( total_valued_shares: 43_040 * ONE, entries_count: 2, left_to_distribute: bsx_tkn1_yield_farm_0.left_to_distribute - - unclaimable_rewards - expected_claimed_amount, + - unclaimable_rewards + - expected_claimed_amount, ..bsx_tkn1_yield_farm_0 }, ); diff --git a/pallets/liquidity-mining/src/types.rs b/pallets/liquidity-mining/src/types.rs index 1b646bcb5f..afb79b2673 100644 --- a/pallets/liquidity-mining/src/types.rs +++ b/pallets/liquidity-mining/src/types.rs @@ -406,9 +406,9 @@ impl, I: 'static> YieldFarmEntry { /// An enum whose variants represent the state of the yield or global farm. /// - `Active` - farm has full functionality. This state may be used for both farm types. /// - `Stopped` - only partial functionality of the farm is available to users. Farm can became -/// `Active` again or can be `Terminated`. This state can be used only for yield farms. +/// `Active` again or can be `Terminated`. This state can be used only for yield farms. /// - `Terminated` - farm is destroyed and it's waiting to be removed from the storage. This state can't be -/// reverted and is available for both farm types. +/// reverted and is available for both farm types. #[derive(Clone, Encode, Decode, PartialEq, Eq, RuntimeDebug, TypeInfo, MaxEncodedLen)] pub enum FarmState { Active, diff --git a/pallets/nft/Cargo.toml b/pallets/nft/Cargo.toml index 462c34520a..fded6f2cce 100644 --- a/pallets/nft/Cargo.toml +++ b/pallets/nft/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-nft" -version = "7.1.5" +version = "7.1.6" description = "A generic NFT pallet for managing non-fungible tokens" authors = ["GalacticCoucil"] edition = "2021" diff --git a/pallets/nft/src/lib.rs b/pallets/nft/src/lib.rs index 45ef0aca34..dea7f02f39 100644 --- a/pallets/nft/src/lib.rs +++ b/pallets/nft/src/lib.rs @@ -18,6 +18,7 @@ #![cfg_attr(not(feature = "std"), no_std)] #![allow(clippy::unused_unit)] #![allow(clippy::upper_case_acronyms)] +#![allow(clippy::manual_inspect)] use codec::HasCompact; use frame_support::{ diff --git a/pallets/omnipool-liquidity-mining/Cargo.toml b/pallets/omnipool-liquidity-mining/Cargo.toml index 2b695af155..a4c32ff0dd 100644 --- a/pallets/omnipool-liquidity-mining/Cargo.toml +++ b/pallets/omnipool-liquidity-mining/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-omnipool-liquidity-mining" -version = "2.6.3" +version = "2.6.4" authors = ['GalacticCouncil'] edition = "2021" license = "Apache-2.0" diff --git a/pallets/omnipool-liquidity-mining/src/lib.rs b/pallets/omnipool-liquidity-mining/src/lib.rs index f9b4b330bb..2306f728ed 100644 --- a/pallets/omnipool-liquidity-mining/src/lib.rs +++ b/pallets/omnipool-liquidity-mining/src/lib.rs @@ -33,6 +33,9 @@ //! * **Deposit:** omnipool's position(LP shares) locked in the liquidity mining #![cfg_attr(not(feature = "std"), no_std)] +#![allow(clippy::manual_inspect)] +#![allow(clippy::manual_inspect)] +#![allow(clippy::multiple_bound_locations)] #[cfg(test)] mod tests; diff --git a/pallets/omnipool-liquidity-mining/src/weights.rs b/pallets/omnipool-liquidity-mining/src/weights.rs index 54e94aad19..9d1a9763b5 100644 --- a/pallets/omnipool-liquidity-mining/src/weights.rs +++ b/pallets/omnipool-liquidity-mining/src/weights.rs @@ -1,42 +1,3 @@ -// This file is part of HydraDX. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - - -//! Autogenerated weights for `pallet_omnipool_liquidity_mining` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` - -// Executed Command: -// target/release/hydradx -// benchmark -// pallet -// --chain=dev -// --steps=50 -// --repeat=20 -// --wasm-execution=compiled -// --pallet=pallet-omnipool-liquidity-mining -// --extrinsic=* -// --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_omnipool_liquidity_mining.rs - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -83,10 +44,10 @@ impl WeightInfo for () { /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) fn create_global_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `557` + // Measured: `590` // Estimated: `6196` - // Minimum execution time: 58_000_000 picoseconds. - Weight::from_parts(63_000_000, 6196) + // Minimum execution time: 91_333_000 picoseconds. + Weight::from_parts(92_028_000, 6196) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -96,10 +57,10 @@ impl WeightInfo for () { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn update_global_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `573` + // Measured: `606` // Estimated: `3670` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(14_000_000, 3670) + // Minimum execution time: 26_702_000 picoseconds. + Weight::from_parts(27_121_000, 3670) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -111,10 +72,10 @@ impl WeightInfo for () { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn terminate_global_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `964` + // Measured: `1030` // Estimated: `6196` - // Minimum execution time: 59_000_000 picoseconds. - Weight::from_parts(59_000_000, 6196) + // Minimum execution time: 89_722_000 picoseconds. + Weight::from_parts(90_451_000, 6196) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -136,10 +97,10 @@ impl WeightInfo for () { /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) fn create_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `2337` + // Measured: `2469` // Estimated: `6294` - // Minimum execution time: 88_000_000 picoseconds. - Weight::from_parts(89_000_000, 6294) + // Minimum execution time: 143_071_000 picoseconds. + Weight::from_parts(143_895_000, 6294) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -159,10 +120,10 @@ impl WeightInfo for () { /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn update_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `2507` + // Measured: `2639` // Estimated: `6294` - // Minimum execution time: 91_000_000 picoseconds. - Weight::from_parts(92_000_000, 6294) + // Minimum execution time: 147_575_000 picoseconds. + Weight::from_parts(148_554_000, 6294) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -180,10 +141,10 @@ impl WeightInfo for () { /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn stop_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `2146` + // Measured: `2212` // Estimated: `6294` - // Minimum execution time: 86_000_000 picoseconds. - Weight::from_parts(88_000_000, 6294) + // Minimum execution time: 138_873_000 picoseconds. + Weight::from_parts(140_176_000, 6294) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -203,10 +164,10 @@ impl WeightInfo for () { /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn resume_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `2543` + // Measured: `2675` // Estimated: `6294` - // Minimum execution time: 89_000_000 picoseconds. - Weight::from_parts(91_000_000, 6294) + // Minimum execution time: 144_442_000 picoseconds. + Weight::from_parts(145_798_000, 6294) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -220,10 +181,10 @@ impl WeightInfo for () { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn terminate_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `924` + // Measured: `957` // Estimated: `6196` - // Minimum execution time: 54_000_000 picoseconds. - Weight::from_parts(56_000_000, 6196) + // Minimum execution time: 85_822_000 picoseconds. + Weight::from_parts(86_361_000, 6196) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -259,10 +220,10 @@ impl WeightInfo for () { /// Proof: `OmnipoolWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(385), added: 2860, mode: `MaxEncodedLen`) fn deposit_shares() -> Weight { // Proof Size summary in bytes: - // Measured: `4072` + // Measured: `4276` // Estimated: `11598` - // Minimum execution time: 148_000_000 picoseconds. - Weight::from_parts(152_000_000, 11598) + // Minimum execution time: 239_939_000 picoseconds. + Weight::from_parts(241_587_000, 11598) .saturating_add(RocksDbWeight::get().reads(17_u64)) .saturating_add(RocksDbWeight::get().writes(14_u64)) } @@ -288,19 +249,35 @@ impl WeightInfo for () { /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn redeposit_shares() -> Weight { // Proof Size summary in bytes: - // Measured: `4381` + // Measured: `4513` // Estimated: `11598` - // Minimum execution time: 125_000_000 picoseconds. - Weight::from_parts(129_000_000, 11598) + // Minimum execution time: 204_467_000 picoseconds. + Weight::from_parts(207_022_000, 11598) .saturating_add(RocksDbWeight::get().reads(15_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } + /// Storage: `Uniques::Asset` (r:1 w:0) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::Deposit` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(385), added: 2860, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) + /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:3) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn claim_rewards() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(2_000_000, 0) + // Measured: `3012` + // Estimated: `8799` + // Minimum execution time: 192_783_000 picoseconds. + Weight::from_parts(196_174_000, 8799) + .saturating_add(RocksDbWeight::get().reads(10_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// Storage: `Uniques::Asset` (r:2 w:2) /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) @@ -328,10 +305,10 @@ impl WeightInfo for () { /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn withdraw_shares() -> Weight { // Proof Size summary in bytes: - // Measured: `3940` + // Measured: `4105` // Estimated: `8799` - // Minimum execution time: 191_000_000 picoseconds. - Weight::from_parts(197_000_000, 8799) + // Minimum execution time: 285_929_000 picoseconds. + Weight::from_parts(289_072_000, 8799) .saturating_add(RocksDbWeight::get().reads(15_u64)) .saturating_add(RocksDbWeight::get().writes(15_u64)) } @@ -345,7 +322,11 @@ impl WeightInfo for () { /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:5 w:5) /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:6 w:6) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:4 w:0) /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) /// Storage: `OmnipoolWarehouseLM::DepositSequencer` (r:1 w:1) /// Proof: `OmnipoolWarehouseLM::DepositSequencer` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) @@ -364,23 +345,25 @@ impl WeightInfo for () { /// The range of component `c` is `[1, 5]`. fn join_farms(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2751 + c * (335 ±0)` - // Estimated: `6320 + c * (2680 ±0)` - // Minimum execution time: 86_000_000 picoseconds. - Weight::from_parts(63_894_217, 6320) - // Standard Error: 282_573 - .saturating_add(Weight::from_parts(24_545_151, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(10_u64)) - .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(RocksDbWeight::get().writes(10_u64)) - .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(c.into()))) + // Measured: `4248 + c * (474 ±0)` + // Estimated: `11598 + c * (2680 ±0)` + // Minimum execution time: 244_981_000 picoseconds. + Weight::from_parts(147_330_577, 11598) + // Standard Error: 69_233 + .saturating_add(Weight::from_parts(102_226_732, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(14_u64)) + .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(c.into()))) + .saturating_add(RocksDbWeight::get().writes(11_u64)) + .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2680).saturating_mul(c.into())) } + /// Storage: `AssetRegistry::Assets` (r:3 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:3 w:3) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Omnipool::Assets` (r:1 w:1) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Oracles` (r:3 w:0) + /// Storage: `EmaOracle::Oracles` (r:5 w:0) /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) @@ -398,9 +381,7 @@ impl WeightInfo for () { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) + /// Storage: `System::Account` (r:7 w:7) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -412,7 +393,7 @@ impl WeightInfo for () { /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:1) + /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:5 w:5) /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) @@ -435,26 +416,25 @@ impl WeightInfo for () { /// The range of component `c` is `[1, 5]`. fn add_liquidity_and_join_farms(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `4558 + c * (335 ±0)` - // Estimated: `8946 + c * (2680 ±0)` - // Minimum execution time: 219_000_000 picoseconds. - Weight::from_parts(201_456_775, 8946) - // Standard Error: 443_301 - .saturating_add(Weight::from_parts(23_820_327, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(29_u64)) - .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(c.into()))) + // Measured: `5748 + c * (474 ±0)` + // Estimated: `14250 + c * (2680 ±0)` + // Minimum execution time: 453_628_000 picoseconds. + Weight::from_parts(351_105_889, 14250) + // Standard Error: 118_417 + .saturating_add(Weight::from_parts(106_095_381, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(33_u64)) + .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(c.into()))) .saturating_add(RocksDbWeight::get().writes(24_u64)) - .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(c.into()))) + .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2680).saturating_mul(c.into())) } - - /// Storage: `Uniques::Asset` (r:10 w:10) + /// Storage: `Uniques::Asset` (r:2 w:2) /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolLiquidityMining::OmniPositionId` (r:5 w:5) + /// Storage: `OmnipoolLiquidityMining::OmniPositionId` (r:1 w:1) /// Proof: `OmnipoolLiquidityMining::OmniPositionId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `Omnipool::Positions` (r:5 w:0) + /// Storage: `Omnipool::Positions` (r:1 w:0) /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::Deposit` (r:5 w:5) + /// Storage: `OmnipoolWarehouseLM::Deposit` (r:1 w:1) /// Proof: `OmnipoolWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(385), added: 2860, mode: `MaxEncodedLen`) /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:5 w:5) /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) @@ -462,30 +442,30 @@ impl WeightInfo for () { /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:1 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:8 w:8) + /// Storage: `System::Account` (r:8 w:7) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `EmaOracle::Oracles` (r:2 w:0) /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) /// Storage: `Uniques::Class` (r:2 w:1) /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Account` (r:0 w:15) + /// Storage: `Uniques::Account` (r:0 w:3) /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) - /// Storage: `Uniques::ItemPriceOf` (r:0 w:10) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:2) /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 5]`. fn exit_farms(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `4030 + c * (835 ±0)` - // Estimated: `8799 + c * (5242 ±0)` - // Minimum execution time: 232_855_000 picoseconds. - Weight::from_parts(52_168_423, 8799) - // Standard Error: 104_322 - .saturating_add(Weight::from_parts(185_804_196, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(8_u64)) - .saturating_add(RocksDbWeight::get().reads((8_u64).saturating_mul(c.into()))) - .saturating_add(RocksDbWeight::get().writes(3_u64)) - .saturating_add(RocksDbWeight::get().writes((12_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 5242).saturating_mul(c.into())) + // Measured: `3755 + c * (486 ±0)` + // Estimated: `8799 + c * (2680 ±0)` + // Minimum execution time: 247_754_000 picoseconds. + Weight::from_parts(90_316_650, 8799) + // Standard Error: 240_623 + .saturating_add(Weight::from_parts(159_106_526, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(11_u64)) + .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(c.into()))) + .saturating_add(RocksDbWeight::get().writes(2_u64)) + .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(c.into()))) + .saturating_add(Weight::from_parts(0, 2680).saturating_mul(c.into())) } /// Storage: `Stableswap::Pools` (r:1 w:0) diff --git a/pallets/omnipool/Cargo.toml b/pallets/omnipool/Cargo.toml index 574f248025..9ccf2f523b 100644 --- a/pallets/omnipool/Cargo.toml +++ b/pallets/omnipool/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-omnipool" -version = "5.0.0" +version = "5.0.1" authors = ['GalacticCouncil'] edition = "2021" license = "Apache-2.0" diff --git a/pallets/omnipool/src/lib.rs b/pallets/omnipool/src/lib.rs index a84a48e176..4edf706263 100644 --- a/pallets/omnipool/src/lib.rs +++ b/pallets/omnipool/src/lib.rs @@ -49,7 +49,7 @@ //! //! * **LP:** liquidity provider //! * **Position:** a moment when LP added liquidity to the pool. It stores amount,shares and price at the time -//! of provision +//! of provision //! * **Hub Asset:** dedicated 'hub' token for trade executions (LRNA) //! * **Native Asset:** governance token //! @@ -75,6 +75,7 @@ //! * `withdraw_protocol_liquidity` - Withdraws protocol's liquidity from the pool. Used to withdraw liquidity from sacrificed position. #![cfg_attr(not(feature = "std"), no_std)] +#![allow(clippy::manual_inspect)] use crate::traits::ShouldAllow; use frame_support::pallet_prelude::{DispatchResult, Get}; diff --git a/pallets/omnipool/src/tests/invariants.rs b/pallets/omnipool/src/tests/invariants.rs index ed8b07ed0d..f4bab4a273 100644 --- a/pallets/omnipool/src/tests/invariants.rs +++ b/pallets/omnipool/src/tests/invariants.rs @@ -464,7 +464,7 @@ proptest! { assert_eq!(old_hub_liquidity, old_asset_hub_liquidity); - assert_ok!(Omnipool::buy(RuntimeOrigin::signed(buyer), 300, 200, amount, Balance::max_value())); + assert_ok!(Omnipool::buy(RuntimeOrigin::signed(buyer), 300, 200, amount, Balance::MAX)); let new_state_200 = Omnipool::load_asset_state(200).unwrap(); let new_state_300 = Omnipool::load_asset_state(300).unwrap(); @@ -537,7 +537,7 @@ proptest! { assert_eq!(old_hub_liquidity, old_asset_hub_liquidity); - assert_ok!(Omnipool::buy(RuntimeOrigin::signed(buyer), 300, 200, amount, Balance::max_value())); + assert_ok!(Omnipool::buy(RuntimeOrigin::signed(buyer), 300, 200, amount, Balance::MAX)); let new_state_200 = Omnipool::load_asset_state(200).unwrap(); let new_state_300 = Omnipool::load_asset_state(300).unwrap(); @@ -611,7 +611,7 @@ proptest! { assert_eq!(old_hub_liquidity, old_asset_hub_liquidity); - assert_ok!(Omnipool::buy(RuntimeOrigin::signed(buyer), 300, 200, amount, Balance::max_value())); + assert_ok!(Omnipool::buy(RuntimeOrigin::signed(buyer), 300, 200, amount, Balance::MAX)); let new_state_200 = Omnipool::load_asset_state(200).unwrap(); let new_state_300 = Omnipool::load_asset_state(300).unwrap(); @@ -700,7 +700,7 @@ fn buy_invariant_case_01() { 300, 200, amount, - Balance::max_value() + Balance::MAX )); let new_state_200 = Omnipool::load_asset_state(200).unwrap(); @@ -793,7 +793,7 @@ fn buy_invariant_case_02() { // TODO: this fais with Overflow - but the real error should be Insufficient token amount after out calc assert_noop!( - Omnipool::buy(RuntimeOrigin::signed(buyer), 300, 200, amount, Balance::max_value()), + Omnipool::buy(RuntimeOrigin::signed(buyer), 300, 200, amount, Balance::MAX), ArithmeticError::Overflow ); @@ -1153,6 +1153,7 @@ proptest! { assert_ok!(Omnipool::add_token(RuntimeOrigin::root(), token_3.asset_id, token_3.price,Permill::from_percent(100), lp3)); assert_ok!(Omnipool::add_token(RuntimeOrigin::root(), token_4.asset_id, token_4.price,Permill::from_percent(100),lp4)); assert_ok!(Omnipool::buy(RuntimeOrigin::signed(buyer), 300, LRNA, buy_amount, Balance::max_value())); + let old_state_200 = Omnipool::load_asset_state(200).unwrap(); assert_ok!(Omnipool::add_liquidity(RuntimeOrigin::signed(seller), 200, amount)); let new_state_200 = Omnipool::load_asset_state(200).unwrap(); diff --git a/pallets/omnipool/src/weights.rs b/pallets/omnipool/src/weights.rs index bfb822049b..161e428d43 100644 --- a/pallets/omnipool/src/weights.rs +++ b/pallets/omnipool/src/weights.rs @@ -1,42 +1,3 @@ -// This file is part of HydraDX. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - - -//! Autogenerated weights for `pallet_omnipool` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` - -// Executed Command: -// target/release/hydradx -// benchmark -// pallet -// --chain=dev -// --steps=50 -// --repeat=20 -// --wasm-execution=compiled -// --pallet=pallet-omnipool -// --extrinsic=* -// --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_omnipool.rs - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -96,13 +57,15 @@ impl WeightInfo for () { /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) fn add_token() -> Weight { // Proof Size summary in bytes: - // Measured: `3128` + // Measured: `3162` // Estimated: `7406` - // Minimum execution time: 129_737_000 picoseconds. - Weight::from_parts(131_001_000, 7406) + // Minimum execution time: 160_328_000 picoseconds. + Weight::from_parts(162_008_000, 7406) .saturating_add(RocksDbWeight::get().reads(13_u64)) .saturating_add(RocksDbWeight::get().writes(10_u64)) } + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:3 w:3) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Omnipool::Assets` (r:1 w:1) @@ -125,8 +88,6 @@ impl WeightInfo for () { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) @@ -147,10 +108,10 @@ impl WeightInfo for () { /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `4552` + // Measured: `4619` // Estimated: `8739` - // Minimum execution time: 218_146_000 picoseconds. - Weight::from_parts(219_509_000, 8739) + // Minimum execution time: 262_382_000 picoseconds. + Weight::from_parts(264_209_000, 8739) .saturating_add(RocksDbWeight::get().reads(24_u64)) .saturating_add(RocksDbWeight::get().writes(14_u64)) } @@ -160,6 +121,8 @@ impl WeightInfo for () { /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) /// Storage: `Omnipool::Assets` (r:1 w:1) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:4 w:4) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `EmaOracle::Oracles` (r:2 w:0) @@ -172,8 +135,6 @@ impl WeightInfo for () { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) @@ -200,13 +161,15 @@ impl WeightInfo for () { /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `7463` + // Measured: `7531` // Estimated: `11322` - // Minimum execution time: 288_313_000 picoseconds. - Weight::from_parts(290_432_000, 11322) + // Minimum execution time: 340_247_000 picoseconds. + Weight::from_parts(342_981_000, 11322) .saturating_add(RocksDbWeight::get().reads(27_u64)) .saturating_add(RocksDbWeight::get().writes(16_u64)) } + /// Storage: `AssetRegistry::Assets` (r:4 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:5 w:5) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Omnipool::Assets` (r:3 w:3) @@ -221,8 +184,6 @@ impl WeightInfo for () { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:4 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:2) @@ -259,15 +220,17 @@ impl WeightInfo for () { /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn sell() -> Weight { // Proof Size summary in bytes: - // Measured: `7823` + // Measured: `7891` // Estimated: `13905` - // Minimum execution time: 333_717_000 picoseconds. - Weight::from_parts(335_901_000, 13905) + // Minimum execution time: 396_351_000 picoseconds. + Weight::from_parts(400_745_000, 13905) .saturating_add(RocksDbWeight::get().reads(42_u64)) .saturating_add(RocksDbWeight::get().writes(23_u64)) } /// Storage: `Omnipool::Assets` (r:3 w:3) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:4 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:5 w:5) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) @@ -280,8 +243,6 @@ impl WeightInfo for () { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:4 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:2) @@ -318,10 +279,10 @@ impl WeightInfo for () { /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn buy() -> Weight { // Proof Size summary in bytes: - // Measured: `7823` + // Measured: `7891` // Estimated: `13905` - // Minimum execution time: 335_910_000 picoseconds. - Weight::from_parts(337_763_000, 13905) + // Minimum execution time: 398_251_000 picoseconds. + Weight::from_parts(401_486_000, 13905) .saturating_add(RocksDbWeight::get().reads(42_u64)) .saturating_add(RocksDbWeight::get().writes(23_u64)) } @@ -329,15 +290,17 @@ impl WeightInfo for () { /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) fn set_asset_tradable_state() -> Weight { // Proof Size summary in bytes: - // Measured: `1305` + // Measured: `1338` // Estimated: `3550` - // Minimum execution time: 28_270_000 picoseconds. - Weight::from_parts(28_812_000, 3550) + // Minimum execution time: 35_578_000 picoseconds. + Weight::from_parts(35_952_000, 3550) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Omnipool::Assets` (r:1 w:0) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:2 w:2) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Router::SkipEd` (r:1 w:0) @@ -346,8 +309,6 @@ impl WeightInfo for () { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) @@ -356,10 +317,10 @@ impl WeightInfo for () { /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn refund_refused_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `2850` + // Measured: `2918` // Estimated: `6196` - // Minimum execution time: 104_659_000 picoseconds. - Weight::from_parts(105_287_000, 6196) + // Minimum execution time: 129_569_000 picoseconds. + Weight::from_parts(130_479_000, 6196) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -377,10 +338,10 @@ impl WeightInfo for () { /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn sacrifice_position() -> Weight { // Proof Size summary in bytes: - // Measured: `2910` + // Measured: `2943` // Estimated: `3655` - // Minimum execution time: 67_565_000 picoseconds. - Weight::from_parts(68_526_000, 3655) + // Minimum execution time: 81_392_000 picoseconds. + Weight::from_parts(82_324_000, 3655) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -388,15 +349,17 @@ impl WeightInfo for () { /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) fn set_asset_weight_cap() -> Weight { // Proof Size summary in bytes: - // Measured: `1305` + // Measured: `1338` // Estimated: `3550` - // Minimum execution time: 28_717_000 picoseconds. - Weight::from_parts(29_137_000, 3550) + // Minimum execution time: 35_864_000 picoseconds. + Weight::from_parts(36_397_000, 3550) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Omnipool::Assets` (r:1 w:1) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:3 w:3) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) @@ -407,8 +370,6 @@ impl WeightInfo for () { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) @@ -421,21 +382,21 @@ impl WeightInfo for () { /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn withdraw_protocol_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `4545` + // Measured: `4613` // Estimated: `8739` - // Minimum execution time: 150_915_000 picoseconds. - Weight::from_parts(152_374_000, 8739) + // Minimum execution time: 187_979_000 picoseconds. + Weight::from_parts(189_239_000, 8739) .saturating_add(RocksDbWeight::get().reads(16_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } /// Storage: `Omnipool::Assets` (r:1 w:1) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:3 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:4 w:3) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `Router::SkipEd` (r:1 w:0) @@ -452,15 +413,17 @@ impl WeightInfo for () { /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn remove_token() -> Weight { // Proof Size summary in bytes: - // Measured: `3636` + // Measured: `3721` // Estimated: `11322` - // Minimum execution time: 151_145_000 picoseconds. - Weight::from_parts(152_034_000, 11322) - .saturating_add(RocksDbWeight::get().reads(17_u64)) + // Minimum execution time: 189_705_000 picoseconds. + Weight::from_parts(191_023_000, 11322) + .saturating_add(RocksDbWeight::get().reads(18_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } /// Storage: `Omnipool::Assets` (r:3 w:3) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:4 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:5 w:5) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) @@ -473,8 +436,6 @@ impl WeightInfo for () { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:4 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:2) @@ -507,23 +468,23 @@ impl WeightInfo for () { /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_sell(c: u32, e: u32, ) -> Weight { + fn router_execution_sell(_c: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1974 + e * (5348 ±0)` - // Estimated: `11390 + e * (7749 ±0)` - // Minimum execution time: 45_263_000 picoseconds. - Weight::from_parts(45_693_748, 11390) - // Standard Error: 134_488 - .saturating_add(Weight::from_parts(268_691, 0).saturating_mul(c.into())) - // Standard Error: 134_488 - .saturating_add(Weight::from_parts(289_580_167, 0).saturating_mul(e.into())) - .saturating_add(RocksDbWeight::get().reads(7_u64)) - .saturating_add(RocksDbWeight::get().reads((32_u64).saturating_mul(e.into()))) + // Measured: `2403 + e * (4987 ±0)` + // Estimated: `8799 + e * (7749 ±0)` + // Minimum execution time: 74_890_000 picoseconds. + Weight::from_parts(77_078_522, 8799) + // Standard Error: 123_826 + .saturating_add(Weight::from_parts(325_420_660, 0).saturating_mul(e.into())) + .saturating_add(RocksDbWeight::get().reads(9_u64)) + .saturating_add(RocksDbWeight::get().reads((30_u64).saturating_mul(e.into()))) .saturating_add(RocksDbWeight::get().writes((21_u64).saturating_mul(e.into()))) .saturating_add(Weight::from_parts(0, 7749).saturating_mul(e.into())) } /// Storage: `Omnipool::Assets` (r:3 w:3) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:4 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:5 w:5) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) @@ -536,8 +497,6 @@ impl WeightInfo for () { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:4 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:2) @@ -572,12 +531,12 @@ impl WeightInfo for () { /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, _e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `7322` + // Measured: `7390` // Estimated: `13905` - // Minimum execution time: 319_285_000 picoseconds. - Weight::from_parts(311_604_346, 13905) - // Standard Error: 213_268 - .saturating_add(Weight::from_parts(12_523_973, 0).saturating_mul(c.into())) + // Minimum execution time: 381_802_000 picoseconds. + Weight::from_parts(369_607_267, 13905) + // Standard Error: 197_288 + .saturating_add(Weight::from_parts(16_716_881, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(39_u64)) .saturating_add(RocksDbWeight::get().writes(21_u64)) } @@ -585,14 +544,16 @@ impl WeightInfo for () { /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) /// Storage: `Omnipool::Assets` (r:2 w:0) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:2 w:0) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) fn calculate_spot_price_with_fee() -> Weight { // Proof Size summary in bytes: - // Measured: `1933` - // Estimated: `6156` - // Minimum execution time: 44_268_000 picoseconds. - Weight::from_parts(44_633_000, 6156) - .saturating_add(RocksDbWeight::get().reads(6_u64)) + // Measured: `2362` + // Estimated: `6190` + // Minimum execution time: 68_827_000 picoseconds. + Weight::from_parts(69_541_000, 6190) + .saturating_add(RocksDbWeight::get().reads(8_u64)) } } diff --git a/pallets/otc-settlements/Cargo.toml b/pallets/otc-settlements/Cargo.toml index 9d2868b978..e0ad4a7b7f 100644 --- a/pallets/otc-settlements/Cargo.toml +++ b/pallets/otc-settlements/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-otc-settlements' -version = '1.1.2' +version = '1.1.3' description = 'A pallet with offchain worker closing OTC arbs' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/otc-settlements/src/benchmarks.rs b/pallets/otc-settlements/src/benchmarks.rs index ea6cda44f4..9d5e474fbc 100644 --- a/pallets/otc-settlements/src/benchmarks.rs +++ b/pallets/otc-settlements/src/benchmarks.rs @@ -11,7 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -#![cfg(feature = "runtime-benchmarks")] + use super::*; use frame_benchmarking::{account, benchmarks}; use frame_support::assert_ok; diff --git a/pallets/otc-settlements/src/lib.rs b/pallets/otc-settlements/src/lib.rs index faa9a3538c..d33f0b8845 100644 --- a/pallets/otc-settlements/src/lib.rs +++ b/pallets/otc-settlements/src/lib.rs @@ -32,6 +32,7 @@ //! * `settle_otc_order` - Executes a trade between an OTC order and some route. #![cfg_attr(not(feature = "std"), no_std)] +#![allow(clippy::manual_inspect)] #[cfg(not(feature = "runtime-benchmarks"))] use frame_system::RawOrigin; @@ -79,7 +80,7 @@ mod benchmarks; pub mod weights; -use weights::WeightInfo; +pub use weights::WeightInfo; // Re-export pallet items so that they can be accessed from the crate namespace. pub use pallet::*; @@ -419,7 +420,14 @@ impl Pallet { Preservation::Expendable, )?; - ::Currency::burn_from(asset_a, &pallet_acc, amount, Precision::Exact, Fortitude::Force)?; + ::Currency::burn_from( + asset_a, + &pallet_acc, + amount, + Preservation::Expendable, + Precision::Exact, + Fortitude::Force, + )?; let asset_a_balance_after = ::Currency::balance(asset_a, &pallet_acc); let asset_b_balance_after = ::Currency::balance(asset_b, &pallet_acc); diff --git a/pallets/otc-settlements/src/mock.rs b/pallets/otc-settlements/src/mock.rs index 0bef54958d..ef4318b8c0 100644 --- a/pallets/otc-settlements/src/mock.rs +++ b/pallets/otc-settlements/src/mock.rs @@ -271,26 +271,6 @@ parameter_types! { pub const DiscountedFee: (u32, u32) = (7, 10_000); } -pub struct AllowPools; - -impl hydradx_traits::CanCreatePool for AllowPools { - fn can_create(_asset_a: AssetId, _asset_b: AssetId) -> bool { - true - } -} - -pub struct AssetPairAccountIdTest; -impl hydradx_traits::AssetPairAccountIdFor for AssetPairAccountIdTest { - fn from_assets(asset_a: AssetId, asset_b: AssetId, _: &str) -> u64 { - let mut a = asset_a as u128; - let mut b = asset_b as u128; - if a > b { - std::mem::swap(&mut a, &mut b) - } - (a * 1000 + b) as u64 - } -} - parameter_types! { #[derive(PartialEq, Debug)] pub RegistryStringLimit: u32 = 100; diff --git a/pallets/otc-settlements/src/weights.rs b/pallets/otc-settlements/src/weights.rs index 988c134c96..438051e0c3 100644 --- a/pallets/otc-settlements/src/weights.rs +++ b/pallets/otc-settlements/src/weights.rs @@ -1,42 +1,3 @@ -// This file is part of HydraDX. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - - -//! Autogenerated weights for `pallet_otc_settlements` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` - -// Executed Command: -// target/release/hydradx -// benchmark -// pallet -// --chain=dev -// --steps=50 -// --repeat=20 -// --wasm-execution=compiled -// --pallet=pallet-otc-settlements -// --extrinsic=* -// --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_otc_settlements.rs - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -59,15 +20,17 @@ impl WeightInfo for () { /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:1 w:0) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) fn settle_otc_order() -> Weight { // Proof Size summary in bytes: - // Measured: `747` + // Measured: `1099` // Estimated: `6196` - // Minimum execution time: 101_333_000 picoseconds. - Weight::from_parts(102_441_000, 6196) - .saturating_add(RocksDbWeight::get().reads(4_u64)) + // Minimum execution time: 118_449_000 picoseconds. + Weight::from_parts(119_147_000, 6196) + .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } } diff --git a/pallets/otc/Cargo.toml b/pallets/otc/Cargo.toml index d55c226948..f2fba6a63f 100644 --- a/pallets/otc/Cargo.toml +++ b/pallets/otc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-otc' -version = '2.1.1' +version = '2.1.2' description = 'A pallet for trustless over-the-counter trading' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/otc/src/benchmarks.rs b/pallets/otc/src/benchmarks.rs index e1e14cfff2..27a2c4c5ed 100644 --- a/pallets/otc/src/benchmarks.rs +++ b/pallets/otc/src/benchmarks.rs @@ -128,7 +128,6 @@ fn create_account_with_balances( where T::AssetId: From, T::Currency: MultiCurrencyExtended, - T: crate::pallet::Config, { let account_id: T::AccountId = account(name, index, index); diff --git a/pallets/otc/src/lib.rs b/pallets/otc/src/lib.rs index 7851c52e4b..f62c6e4c09 100644 --- a/pallets/otc/src/lib.rs +++ b/pallets/otc/src/lib.rs @@ -33,6 +33,7 @@ // * `cancel_order` - cancel an open OTC order. #![cfg_attr(not(feature = "std"), no_std)] +#![allow(clippy::manual_inspect)] use codec::MaxEncodedLen; use frame_support::{pallet_prelude::*, require_transactional}; diff --git a/pallets/otc/src/weights.rs b/pallets/otc/src/weights.rs index 608937384c..da7bf52ad0 100644 --- a/pallets/otc/src/weights.rs +++ b/pallets/otc/src/weights.rs @@ -1,42 +1,3 @@ -// This file is part of HydraDX. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - - -//! Autogenerated weights for `pallet_otc` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` - -// Executed Command: -// target/release/hydradx -// benchmark -// pallet -// --chain=dev -// --steps=50 -// --repeat=20 -// --wasm-execution=compiled -// --pallet=pallet-otc -// --extrinsic=* -// --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_otc.rs - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -70,10 +31,10 @@ impl WeightInfo for () { /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) fn place_order() -> Weight { // Proof Size summary in bytes: - // Measured: `963` + // Measured: `996` // Estimated: `6190` - // Minimum execution time: 46_446_000 picoseconds. - Weight::from_parts(47_816_000, 6190) + // Minimum execution time: 58_522_000 picoseconds. + Weight::from_parts(59_245_000, 6190) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -99,15 +60,17 @@ impl WeightInfo for () { /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn partial_fill_order() -> Weight { // Proof Size summary in bytes: - // Measured: `2436` + // Measured: `2503` // Estimated: `13905` - // Minimum execution time: 165_029_000 picoseconds. - Weight::from_parts(166_577_000, 13905) + // Minimum execution time: 196_578_000 picoseconds. + Weight::from_parts(198_262_000, 13905) .saturating_add(RocksDbWeight::get().reads(19_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } /// Storage: `OTC::Orders` (r:1 w:1) /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Router::SkipEd` (r:1 w:0) /// Proof: `Router::SkipEd` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// Storage: `Duster::AccountBlacklist` (r:2 w:0) @@ -116,8 +79,6 @@ impl WeightInfo for () { /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:5 w:5) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Tokens::Reserves` (r:1 w:1) @@ -128,27 +89,27 @@ impl WeightInfo for () { /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn fill_order() -> Weight { // Proof Size summary in bytes: - // Measured: `2436` + // Measured: `2503` // Estimated: `13905` - // Minimum execution time: 161_252_000 picoseconds. - Weight::from_parts(162_540_000, 13905) + // Minimum execution time: 192_951_000 picoseconds. + Weight::from_parts(194_449_000, 13905) .saturating_add(RocksDbWeight::get().reads(19_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } /// Storage: `OTC::Orders` (r:1 w:1) /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Reserves` (r:1 w:1) /// Proof: `Tokens::Reserves` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:1 w:1) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) fn cancel_order() -> Weight { // Proof Size summary in bytes: - // Measured: `1197` + // Measured: `1230` // Estimated: `4726` - // Minimum execution time: 42_576_000 picoseconds. - Weight::from_parts(42_962_000, 4726) + // Minimum execution time: 55_301_000 picoseconds. + Weight::from_parts(55_754_000, 4726) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } diff --git a/pallets/referrals/Cargo.toml b/pallets/referrals/Cargo.toml index 9fd040a0f6..29d0840f7f 100644 --- a/pallets/referrals/Cargo.toml +++ b/pallets/referrals/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-referrals" -version = "1.2.8" +version = "1.2.9" authors = ['GalacticCouncil'] edition = "2021" license = "Apache-2.0" diff --git a/pallets/referrals/src/lib.rs b/pallets/referrals/src/lib.rs index 3a88edf087..b9bb285435 100644 --- a/pallets/referrals/src/lib.rs +++ b/pallets/referrals/src/lib.rs @@ -38,6 +38,7 @@ //! #![cfg_attr(not(feature = "std"), no_std)] +#![allow(clippy::manual_inspect)] pub mod weights; diff --git a/pallets/referrals/src/tests/mock_amm.rs b/pallets/referrals/src/tests/mock_amm.rs index e33e624f11..ed988b50ac 100644 --- a/pallets/referrals/src/tests/mock_amm.rs +++ b/pallets/referrals/src/tests/mock_amm.rs @@ -44,6 +44,7 @@ pub mod pallet { } } +#[allow(dead_code)] pub struct TradeResult { pub amount_in: Balance, pub amount_out: Balance, diff --git a/pallets/referrals/src/weights.rs b/pallets/referrals/src/weights.rs index 2c2e7ee129..5e15de2dbe 100644 --- a/pallets/referrals/src/weights.rs +++ b/pallets/referrals/src/weights.rs @@ -1,42 +1,3 @@ -// This file is part of HydraDX. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - - -//! Autogenerated weights for `pallet_referrals` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` - -// Executed Command: -// target/release/hydradx -// benchmark -// pallet -// --chain=dev -// --steps=50 -// --repeat=20 -// --wasm-execution=compiled -// --pallet=pallet-referrals -// --extrinsic=* -// --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_referrals.rs - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -71,8 +32,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `318` // Estimated: `6196` - // Minimum execution time: 59_104_000 picoseconds. - Weight::from_parts(59_872_000, 6196) + // Minimum execution time: 66_083_000 picoseconds. + Weight::from_parts(66_613_000, 6196) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -84,11 +45,13 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `228` // Estimated: `3545` - // Minimum execution time: 17_219_000 picoseconds. - Weight::from_parts(17_478_000, 3545) + // Minimum execution time: 21_152_000 picoseconds. + Weight::from_parts(21_578_000, 3545) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } + /// Storage: `AssetRegistry::Assets` (r:3 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:2 w:2) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Omnipool::Assets` (r:2 w:2) @@ -105,8 +68,6 @@ impl WeightInfo for () { /// Proof: `Router::SkipEd` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:3 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `EmaOracle::Accumulator` (r:1 w:1) /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) @@ -131,10 +92,10 @@ impl WeightInfo for () { /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn convert() -> Weight { // Proof Size summary in bytes: - // Measured: `2434` + // Measured: `2468` // Estimated: `8790` - // Minimum execution time: 267_679_000 picoseconds. - Weight::from_parts(269_271_000, 8790) + // Minimum execution time: 302_462_000 picoseconds. + Weight::from_parts(304_715_000, 8790) .saturating_add(RocksDbWeight::get().reads(28_u64)) .saturating_add(RocksDbWeight::get().writes(15_u64)) } @@ -154,8 +115,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `689` // Estimated: `6196` - // Minimum execution time: 78_198_000 picoseconds. - Weight::from_parts(78_998_000, 6196) + // Minimum execution time: 87_419_000 picoseconds. + Weight::from_parts(88_072_000, 6196) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -165,8 +126,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3514` - // Minimum execution time: 11_391_000 picoseconds. - Weight::from_parts(11_668_000, 3514) + // Minimum execution time: 14_014_000 picoseconds. + Weight::from_parts(14_317_000, 3514) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/pallets/relaychain-info/Cargo.toml b/pallets/relaychain-info/Cargo.toml index 88d241665d..a51b5f08ce 100644 --- a/pallets/relaychain-info/Cargo.toml +++ b/pallets/relaychain-info/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-relaychain-info" -version = "0.3.5" +version = "0.3.6" description = "Relaychain info pallet provides various support features for a parachain" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/relaychain-info/src/lib.rs b/pallets/relaychain-info/src/lib.rs index df053032be..e45c1ef0d7 100644 --- a/pallets/relaychain-info/src/lib.rs +++ b/pallets/relaychain-info/src/lib.rs @@ -16,6 +16,7 @@ // limitations under the License. #![cfg_attr(not(feature = "std"), no_std)] +#![allow(clippy::manual_inspect)] use frame_support::sp_runtime::traits::BlockNumberProvider; diff --git a/pallets/route-executor/Cargo.toml b/pallets/route-executor/Cargo.toml index 2a6e8269f3..9e6629dcae 100644 --- a/pallets/route-executor/Cargo.toml +++ b/pallets/route-executor/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-route-executor" -version = "2.7.1" +version = "2.7.2" description = "A pallet to execute a route containing a sequence of trades" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/route-executor/src/lib.rs b/pallets/route-executor/src/lib.rs index ed0e8e555e..f84996ba77 100644 --- a/pallets/route-executor/src/lib.rs +++ b/pallets/route-executor/src/lib.rs @@ -16,6 +16,7 @@ // limitations under the License. #![cfg_attr(not(feature = "std"), no_std)] +#![allow(clippy::manual_inspect)] use codec::MaxEncodedLen; use frame_support::storage::with_transaction; @@ -697,6 +698,7 @@ impl Pallet { } } + // TODO: add missing documentation fn calculate_reference_amount_in(route: &[Trade]) -> Result { let first_route = route.first().ok_or(Error::::RouteCalculationFailed)?; let asset_b = match first_route.pool { @@ -747,7 +749,7 @@ impl Pallet { }) } - fn calculate_expected_amount_out( + pub fn calculate_expected_amount_out( route: &[Trade<::AssetId>], amount_in: T::Balance, ) -> Result { @@ -782,6 +784,19 @@ impl Pallet { Ok(amount_in_and_outs) } + pub fn calculate_expected_amount_in( + route: &[Trade<::AssetId>], + amount_out: T::Balance, + ) -> Result { + let sell_trade_amounts = Self::calculate_buy_trade_amounts(route, amount_out)?; + let amount_in = sell_trade_amounts + .last() + .ok_or(Error::::RouteCalculationFailed)? + .amount_in; + + Ok(amount_in) + } + fn calculate_buy_trade_amounts( route: &[Trade], amount_out: T::Balance, diff --git a/pallets/route-executor/src/weights.rs b/pallets/route-executor/src/weights.rs index 8835c140da..cd05ab51b0 100644 --- a/pallets/route-executor/src/weights.rs +++ b/pallets/route-executor/src/weights.rs @@ -1,42 +1,3 @@ -// This file is part of HydraDX. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - - -//! Autogenerated weights for `pallet_route_executor` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` - -// Executed Command: -// target/release/hydradx -// benchmark -// pallet -// --chain=dev -// --steps=50 -// --repeat=20 -// --wasm-execution=compiled -// --pallet=pallet-route-executor -// --extrinsic=* -// --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_route_executor.rs - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -69,19 +30,19 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `944` // Estimated: `3590` - // Minimum execution time: 14_078_000 picoseconds. - Weight::from_parts(14_311_000, 3590) + // Minimum execution time: 18_351_000 picoseconds. + Weight::from_parts(18_623_000, 3590) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `LBP::PoolData` (r:1 w:0) /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:5 w:5) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Locks` (r:1 w:1) /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) /// Storage: `Router::SkipEd` (r:1 w:1) @@ -93,23 +54,23 @@ impl WeightInfo for HydraWeight { /// The range of component `c` is `[0, 1]`. fn calculate_and_execute_sell_in_lbp(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3743` + // Measured: `3809` // Estimated: `13905` - // Minimum execution time: 358_498_000 picoseconds. - Weight::from_parts(363_434_920, 13905) - // Standard Error: 527_071 - .saturating_add(Weight::from_parts(73_831_579, 0).saturating_mul(c.into())) + // Minimum execution time: 403_889_000 picoseconds. + Weight::from_parts(408_439_763, 13905) + // Standard Error: 288_679 + .saturating_add(Weight::from_parts(78_440_436, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(17_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } /// Storage: `LBP::PoolData` (r:1 w:0) /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:5 w:5) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Locks` (r:1 w:1) /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) /// Storage: `Router::SkipEd` (r:1 w:1) @@ -122,16 +83,16 @@ impl WeightInfo for HydraWeight { /// The range of component `b` is `[0, 1]`. fn calculate_and_execute_buy_in_lbp(c: u32, b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1637 + b * (2131 ±0)` + // Measured: `1992 + b * (1842 ±0)` // Estimated: `8799 + b * (7749 ±0)` - // Minimum execution time: 97_161_000 picoseconds. - Weight::from_parts(98_156_000, 8799) - // Standard Error: 243_998 - .saturating_add(Weight::from_parts(1_011_059, 0).saturating_mul(c.into())) - // Standard Error: 543_453 - .saturating_add(Weight::from_parts(269_812_210, 0).saturating_mul(b.into())) - .saturating_add(RocksDbWeight::get().reads(3_u64)) - .saturating_add(RocksDbWeight::get().reads((14_u64).saturating_mul(b.into()))) + // Minimum execution time: 116_165_000 picoseconds. + Weight::from_parts(117_686_000, 8799) + // Standard Error: 232_510 + .saturating_add(Weight::from_parts(962_142, 0).saturating_mul(c.into())) + // Standard Error: 517_865 + .saturating_add(Weight::from_parts(293_725_885, 0).saturating_mul(b.into())) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().reads((12_u64).saturating_mul(b.into()))) .saturating_add(RocksDbWeight::get().writes((8_u64).saturating_mul(b.into()))) .saturating_add(Weight::from_parts(0, 7749).saturating_mul(b.into())) } @@ -141,10 +102,10 @@ impl WeightInfo for HydraWeight { /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:7 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:15 w:0) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:6 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:15 w:0) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `XYK::ShareToken` (r:6 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `Router::SkipEd` (r:1 w:0) @@ -163,10 +124,10 @@ impl WeightInfo for HydraWeight { /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn set_route_for_xyk() -> Weight { // Proof Size summary in bytes: - // Measured: `7004` + // Measured: `7071` // Estimated: `39735` - // Minimum execution time: 1_934_148_000 picoseconds. - Weight::from_parts(1_942_875_000, 39735) + // Minimum execution time: 2_238_560_000 picoseconds. + Weight::from_parts(2_251_837_000, 39735) .saturating_add(RocksDbWeight::get().reads(58_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -176,8 +137,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1012` // Estimated: `0` - // Minimum execution time: 25_655_000 picoseconds. - Weight::from_parts(26_130_000, 0) + // Minimum execution time: 30_739_000 picoseconds. + Weight::from_parts(31_254_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Router::Routes` (r:1 w:0) @@ -186,8 +147,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `800` // Estimated: `3555` - // Minimum execution time: 7_524_000 picoseconds. - Weight::from_parts(7_759_000, 3555) + // Minimum execution time: 9_385_000 picoseconds. + Weight::from_parts(9_633_000, 3555) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `EmaOracle::Oracles` (r:2 w:0) @@ -196,8 +157,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1452` // Estimated: `6294` - // Minimum execution time: 26_686_000 picoseconds. - Weight::from_parts(26_929_000, 6294) + // Minimum execution time: 32_684_000 picoseconds. + Weight::from_parts(33_157_000, 6294) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: `EmaOracle::Oracles` (r:4 w:0) @@ -206,22 +167,24 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1814` // Estimated: `11598` - // Minimum execution time: 40_799_000 picoseconds. - Weight::from_parts(41_526_000, 11598) + // Minimum execution time: 48_768_000 picoseconds. + Weight::from_parts(49_167_000, 11598) .saturating_add(RocksDbWeight::get().reads(4_u64)) } /// Storage: `LBP::PoolData` (r:1 w:0) /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) /// Storage: `Tokens::Locks` (r:1 w:0) /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:2 w:0) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) fn calculate_spot_price_with_fee_in_lbp() -> Weight { // Proof Size summary in bytes: - // Measured: `1674` - // Estimated: `6156` - // Minimum execution time: 36_673_000 picoseconds. - Weight::from_parts(37_031_000, 6156) - .saturating_add(RocksDbWeight::get().reads(4_u64)) + // Measured: `2029` + // Estimated: `6190` + // Minimum execution time: 57_184_000 picoseconds. + Weight::from_parts(57_713_000, 6190) + .saturating_add(RocksDbWeight::get().reads(6_u64)) } } diff --git a/pallets/stableswap/Cargo.toml b/pallets/stableswap/Cargo.toml index def457b4f0..29a13cba60 100644 --- a/pallets/stableswap/Cargo.toml +++ b/pallets/stableswap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-stableswap" -version = "4.3.0" +version = "4.3.1" description = "AMM for correlated assets" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/stableswap/src/lib.rs b/pallets/stableswap/src/lib.rs index 3ef41073a4..4e27865831 100644 --- a/pallets/stableswap/src/lib.rs +++ b/pallets/stableswap/src/lib.rs @@ -50,6 +50,7 @@ //! When LP decides to withdraw liquidity, it receives selected asset. //! #![cfg_attr(not(feature = "std"), no_std)] +#![allow(clippy::manual_inspect)] extern crate core; diff --git a/pallets/stableswap/src/weights.rs b/pallets/stableswap/src/weights.rs index 4350736982..4d3665e024 100644 --- a/pallets/stableswap/src/weights.rs +++ b/pallets/stableswap/src/weights.rs @@ -1,42 +1,3 @@ -// This file is part of HydraDX. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - - -//! Autogenerated weights for `pallet_stableswap` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` - -// Executed Command: -// target/release/hydradx -// benchmark -// pallet -// --chain=dev -// --steps=50 -// --repeat=20 -// --wasm-execution=compiled -// --pallet=pallet-stableswap -// --extrinsic=* -// --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_stableswap.rs - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -78,8 +39,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `855` // Estimated: `16590` - // Minimum execution time: 41_642_000 picoseconds. - Weight::from_parts(42_696_000, 16590) + // Minimum execution time: 53_168_000 picoseconds. + Weight::from_parts(53_616_000, 16590) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -87,10 +48,10 @@ impl WeightInfo for () { /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) /// Storage: `Stableswap::AssetTradability` (r:5 w:0) /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:11 w:11) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:6 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:11 w:11) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:6 w:0) @@ -109,10 +70,10 @@ impl WeightInfo for () { /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `3679` + // Measured: `3746` // Estimated: `29403` - // Minimum execution time: 1_344_257_000 picoseconds. - Weight::from_parts(1_350_664_000, 29403) + // Minimum execution time: 1_421_812_000 picoseconds. + Weight::from_parts(1_425_672_000, 29403) .saturating_add(RocksDbWeight::get().reads(36_u64)) .saturating_add(RocksDbWeight::get().writes(14_u64)) } @@ -120,12 +81,12 @@ impl WeightInfo for () { /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) /// Storage: `Stableswap::Pools` (r:1 w:0) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:6 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:7 w:3) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:6 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) @@ -142,21 +103,21 @@ impl WeightInfo for () { /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn add_liquidity_shares() -> Weight { // Proof Size summary in bytes: - // Measured: `3548` + // Measured: `3615` // Estimated: `19071` - // Minimum execution time: 914_603_000 picoseconds. - Weight::from_parts(920_734_000, 19071) + // Minimum execution time: 952_077_000 picoseconds. + Weight::from_parts(955_275_000, 19071) .saturating_add(RocksDbWeight::get().reads(24_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// Storage: `Stableswap::AssetTradability` (r:1 w:0) /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:6 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:7 w:3) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Stableswap::Pools` (r:1 w:0) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:6 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:1) @@ -175,31 +136,54 @@ impl WeightInfo for () { /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn remove_liquidity_one_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `3571` + // Measured: `3638` // Estimated: `19071` - // Minimum execution time: 942_225_000 picoseconds. - Weight::from_parts(945_590_000, 19071) + // Minimum execution time: 979_807_000 picoseconds. + Weight::from_parts(983_563_000, 19071) .saturating_add(RocksDbWeight::get().reads(23_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } - + /// Storage: `AssetRegistry::Assets` (r:6 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:11 w:11) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Stableswap::Pools` (r:1 w:0) + /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Stableswap::AssetTradability` (r:5 w:0) + /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) + /// Storage: `Router::SkipEd` (r:1 w:0) + /// Proof: `Router::SkipEd` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:1 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:5 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:5 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `3571` - // Estimated: `19071` - // Minimum execution time: 942_225_000 picoseconds. - Weight::from_parts(945_590_000, 19071) - .saturating_add(RocksDbWeight::get().reads(23_u64)) - .saturating_add(RocksDbWeight::get().writes(7_u64)) + // Measured: `3638` + // Estimated: `29403` + // Minimum execution time: 752_659_000 picoseconds. + Weight::from_parts(757_481_000, 29403) + .saturating_add(RocksDbWeight::get().reads(40_u64)) + .saturating_add(RocksDbWeight::get().writes(14_u64)) } /// Storage: `Stableswap::AssetTradability` (r:1 w:0) /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) /// Storage: `Stableswap::Pools` (r:1 w:0) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:7 w:3) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:6 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:7 w:3) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `Router::SkipEd` (r:1 w:0) @@ -218,21 +202,21 @@ impl WeightInfo for () { /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn withdraw_asset_amount() -> Weight { // Proof Size summary in bytes: - // Measured: `3571` + // Measured: `3638` // Estimated: `19071` - // Minimum execution time: 1_303_657_000 picoseconds. - Weight::from_parts(1_309_790_000, 19071) + // Minimum execution time: 1_301_615_000 picoseconds. + Weight::from_parts(1_305_639_000, 19071) .saturating_add(RocksDbWeight::get().reads(24_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// Storage: `Stableswap::AssetTradability` (r:2 w:0) /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:6 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:7 w:4) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Stableswap::Pools` (r:1 w:0) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:6 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Router::SkipEd` (r:1 w:0) /// Proof: `Router::SkipEd` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// Storage: `Duster::AccountBlacklist` (r:2 w:0) @@ -251,10 +235,10 @@ impl WeightInfo for () { /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn sell() -> Weight { // Proof Size summary in bytes: - // Measured: `3634` + // Measured: `3701` // Estimated: `19071` - // Minimum execution time: 879_444_000 picoseconds. - Weight::from_parts(883_301_000, 19071) + // Minimum execution time: 928_909_000 picoseconds. + Weight::from_parts(934_054_000, 19071) .saturating_add(RocksDbWeight::get().reads(26_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -262,10 +246,10 @@ impl WeightInfo for () { /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) /// Storage: `Stableswap::Pools` (r:1 w:0) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:7 w:4) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:6 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:7 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Router::SkipEd` (r:1 w:0) /// Proof: `Router::SkipEd` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// Storage: `Duster::AccountBlacklist` (r:2 w:0) @@ -284,10 +268,10 @@ impl WeightInfo for () { /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn buy() -> Weight { // Proof Size summary in bytes: - // Measured: `3604` + // Measured: `3671` // Estimated: `19071` - // Minimum execution time: 864_832_000 picoseconds. - Weight::from_parts(867_874_000, 19071) + // Minimum execution time: 917_977_000 picoseconds. + Weight::from_parts(921_374_000, 19071) .saturating_add(RocksDbWeight::get().reads(27_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -299,8 +283,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `291` // Estimated: `3522` - // Minimum execution time: 20_286_000 picoseconds. - Weight::from_parts(20_596_000, 3522) + // Minimum execution time: 24_285_000 picoseconds. + Weight::from_parts(24_653_000, 3522) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -310,8 +294,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `291` // Estimated: `3522` - // Minimum execution time: 17_920_000 picoseconds. - Weight::from_parts(18_179_000, 3522) + // Minimum execution time: 21_534_000 picoseconds. + Weight::from_parts(21_722_000, 3522) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -321,17 +305,17 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `291` // Estimated: `3522` - // Minimum execution time: 18_938_000 picoseconds. - Weight::from_parts(19_266_000, 3522) + // Minimum execution time: 22_612_000 picoseconds. + Weight::from_parts(22_942_000, 3522) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Stableswap::Pools` (r:1 w:0) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:7 w:4) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:6 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:7 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Stableswap::AssetTradability` (r:2 w:0) /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) /// Storage: `Router::SkipEd` (r:1 w:0) @@ -352,14 +336,16 @@ impl WeightInfo for () { /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_sell(_c: u32, e: u32, ) -> Weight { + fn router_execution_sell(c: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1621 + e * (2013 ±0)` + // Measured: `1654 + e * (2047 ±0)` // Estimated: `13990 + e * (5166 ±0)` - // Minimum execution time: 381_827_000 picoseconds. - Weight::from_parts(392_709_451, 13990) - // Standard Error: 757_457 - .saturating_add(Weight::from_parts(852_318_239, 0).saturating_mul(e.into())) + // Minimum execution time: 397_703_000 picoseconds. + Weight::from_parts(397_718_369, 13990) + // Standard Error: 689_000 + .saturating_add(Weight::from_parts(1_245_529, 0).saturating_mul(c.into())) + // Standard Error: 689_000 + .saturating_add(Weight::from_parts(887_743_321, 0).saturating_mul(e.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().reads((15_u64).saturating_mul(e.into()))) .saturating_add(RocksDbWeight::get().writes((7_u64).saturating_mul(e.into()))) @@ -367,10 +353,10 @@ impl WeightInfo for () { } /// Storage: `Stableswap::Pools` (r:1 w:0) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:7 w:4) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:6 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:7 w:4) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Stableswap::AssetTradability` (r:2 w:0) /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) /// Storage: `Router::SkipEd` (r:1 w:0) @@ -393,14 +379,14 @@ impl WeightInfo for () { /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1620 + e * (1984 ±0)` + // Measured: `1653 + e * (2018 ±0)` // Estimated: `13990 + e * (5166 ±0)` - // Minimum execution time: 381_083_000 picoseconds. - Weight::from_parts(383_051_000, 13990) - // Standard Error: 1_076_925 - .saturating_add(Weight::from_parts(4_093_007, 0).saturating_mul(c.into())) - // Standard Error: 2_398_616 - .saturating_add(Weight::from_parts(496_972_488, 0).saturating_mul(e.into())) + // Minimum execution time: 397_265_000 picoseconds. + Weight::from_parts(398_998_000, 13990) + // Standard Error: 1_103_699 + .saturating_add(Weight::from_parts(3_957_770, 0).saturating_mul(c.into())) + // Standard Error: 2_458_249 + .saturating_add(Weight::from_parts(530_090_295, 0).saturating_mul(e.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().reads((16_u64).saturating_mul(e.into()))) .saturating_add(RocksDbWeight::get().writes((6_u64).saturating_mul(e.into()))) @@ -408,18 +394,18 @@ impl WeightInfo for () { } /// Storage: `Stableswap::Pools` (r:1 w:0) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:6 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:5 w:0) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:5 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:0) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn calculate_spot_price_with_fee() -> Weight { // Proof Size summary in bytes: - // Measured: `1827` - // Estimated: `13990` - // Minimum execution time: 314_631_000 picoseconds. - Weight::from_parts(316_077_000, 13990) - .saturating_add(RocksDbWeight::get().reads(12_u64)) + // Measured: `1885` + // Estimated: `16590` + // Minimum execution time: 336_682_000 picoseconds. + Weight::from_parts(337_962_000, 16590) + .saturating_add(RocksDbWeight::get().reads(13_u64)) } } diff --git a/pallets/staking/Cargo.toml b/pallets/staking/Cargo.toml index 0a3bf9f43a..802944223c 100644 --- a/pallets/staking/Cargo.toml +++ b/pallets/staking/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-staking" -version = "4.1.1" +version = "4.1.2" authors = ['GalacticCouncil'] edition = "2021" license = "Apache-2.0" @@ -70,6 +70,7 @@ runtime-benchmarks = [ "pallet-uniques/runtime-benchmarks", "pallet-conviction-voting/runtime-benchmarks", "pallet-referenda/runtime-benchmarks", + "pallet-democracy/runtime-benchmarks", ] try-runtime = ["frame-support/try-runtime",] diff --git a/pallets/staking/src/benchmarks.rs b/pallets/staking/src/benchmarks.rs index cae834e659..cffd521b21 100644 --- a/pallets/staking/src/benchmarks.rs +++ b/pallets/staking/src/benchmarks.rs @@ -17,8 +17,7 @@ use super::*; -use crate::types::Voting; -use crate::types::{Conviction, Vote}; +use crate::types::{Conviction, Vote, Voting}; use frame_benchmarking::account; use frame_benchmarking::benchmarks; use frame_system::{Pallet as System, RawOrigin}; @@ -29,7 +28,6 @@ const UNIT: u128 = 1_000_000_000_000; fn init_staking(non_dustable_balance: Balance) -> DispatchResult where T::Currency: MultiCurrencyExtended, - T: crate::pallet::Config, { let pot = Pallet::::pot_account_id(); let hdx = T::NativeAssetId::get(); @@ -41,7 +39,6 @@ where fn add_staking_rewards(rewards: Balance) -> DispatchResult where T::Currency: MultiCurrencyExtended, - T: crate::pallet::Config, { let pot = Pallet::::pot_account_id(); let hdx = T::NativeAssetId::get(); diff --git a/pallets/staking/src/integrations/democracy_legacy.rs b/pallets/staking/src/integrations/democracy_legacy.rs index bc886415bd..9ece967d1e 100644 --- a/pallets/staking/src/integrations/democracy_legacy.rs +++ b/pallets/staking/src/integrations/democracy_legacy.rs @@ -1,3 +1,5 @@ +#![allow(unused_imports)] + use crate::pallet::{PositionVotes, Positions, ProcessedVotes}; use crate::types::Vote; use crate::types::{Action, Balance, Conviction}; diff --git a/pallets/staking/src/lib.rs b/pallets/staking/src/lib.rs index db3843e053..90fb5e1b0b 100644 --- a/pallets/staking/src/lib.rs +++ b/pallets/staking/src/lib.rs @@ -16,6 +16,7 @@ #![recursion_limit = "256"] #![cfg_attr(not(feature = "std"), no_std)] +#![allow(clippy::manual_inspect)] use crate::traits::{ActionData, GetReferendumState, PayablePercentage, VestingDetails}; use crate::types::{Action, Balance, Period, Point, Position, StakingData}; @@ -1004,7 +1005,7 @@ impl Pallet { /// - action: action for which points are calculated /// - data: action's data necessary for points calculation /// - action_max_value: max value that can be used by user for `action`. It is used to calculate - /// percentage of points user will receive based on how much action's power user used. + /// percentage of points user will receive based on how much action's power user used. fn calculate_points_for_action(action: Action, data: V, action_max_value: Balance) -> Balance { data.conviction() .saturating_mul_int(data.amount()) diff --git a/pallets/staking/src/weights.rs b/pallets/staking/src/weights.rs index d64badb28d..84ab210d6f 100644 --- a/pallets/staking/src/weights.rs +++ b/pallets/staking/src/weights.rs @@ -1,42 +1,3 @@ -// This file is part of HydraDX. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - - -//! Autogenerated weights for `pallet_staking` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` - -// Executed Command: -// target/release/hydradx -// benchmark -// pallet -// --chain=dev -// --steps=50 -// --repeat=20 -// --wasm-execution=compiled -// --pallet=pallet-staking -// --extrinsic=* -// --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_staking.rs - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -71,8 +32,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3655` - // Minimum execution time: 33_733_000 picoseconds. - Weight::from_parts(34_400_000, 3655) + // Minimum execution time: 40_743_000 picoseconds. + Weight::from_parts(41_335_000, 3655) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -100,8 +61,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1274` // Estimated: `6196` - // Minimum execution time: 88_822_000 picoseconds. - Weight::from_parts(89_489_000, 6196) + // Minimum execution time: 102_939_000 picoseconds. + Weight::from_parts(103_966_000, 6196) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } @@ -109,54 +70,54 @@ impl WeightInfo for () { /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) /// Storage: `Uniques::Asset` (r:1 w:0) /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `Staking::ProcessedVotes` (r:1 w:0) - /// Proof: `Staking::ProcessedVotes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Staking::VotesRewarded` (r:1 w:0) + /// Proof: `Staking::VotesRewarded` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Staking::Positions` (r:1 w:1) /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Locks` (r:1 w:1) /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) - /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) - /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:0) - /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Staking::Votes` (r:1 w:1) + /// Proof: `Staking::Votes` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) + /// Storage: `Referenda::ReferendumInfoFor` (r:25 w:0) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) /// Storage: `Balances::Freezes` (r:1 w:0) /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn increase_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `3379` - // Estimated: `268590` - // Minimum execution time: 260_117_000 picoseconds. - Weight::from_parts(264_603_000, 268590) - .saturating_add(RocksDbWeight::get().reads(109_u64)) + // Measured: `1872` + // Estimated: `86265` + // Minimum execution time: 182_931_000 picoseconds. + Weight::from_parts(185_120_000, 86265) + .saturating_add(RocksDbWeight::get().reads(34_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// Storage: `Staking::Staking` (r:1 w:1) /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) /// Storage: `Uniques::Asset` (r:1 w:0) /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `Staking::ProcessedVotes` (r:1 w:0) - /// Proof: `Staking::ProcessedVotes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Staking::VotesRewarded` (r:1 w:0) + /// Proof: `Staking::VotesRewarded` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Staking::Positions` (r:1 w:1) /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) - /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:0) - /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Staking::Votes` (r:1 w:1) + /// Proof: `Staking::Votes` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) + /// Storage: `Referenda::ReferendumInfoFor` (r:25 w:0) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) /// Storage: `Balances::Locks` (r:1 w:1) /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Storage: `Balances::Freezes` (r:1 w:0) /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn claim() -> Weight { // Proof Size summary in bytes: - // Measured: `3379` - // Estimated: `268590` - // Minimum execution time: 253_815_000 picoseconds. - Weight::from_parts(257_035_000, 268590) - .saturating_add(RocksDbWeight::get().reads(109_u64)) + // Measured: `1872` + // Estimated: `86265` + // Minimum execution time: 176_595_000 picoseconds. + Weight::from_parts(178_810_000, 86265) + .saturating_add(RocksDbWeight::get().reads(34_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// Storage: `Staking::Staking` (r:1 w:1) @@ -167,10 +128,10 @@ impl WeightInfo for () { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Staking::Positions` (r:1 w:1) /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) - /// Storage: `Staking::ProcessedVotes` (r:1 w:0) - /// Proof: `Staking::ProcessedVotes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Staking::Votes` (r:1 w:1) + /// Proof: `Staking::Votes` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) + /// Storage: `Staking::VotesRewarded` (r:1 w:0) + /// Proof: `Staking::VotesRewarded` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: `Uniques::Class` (r:1 w:1) /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) /// Storage: `Balances::Locks` (r:1 w:1) @@ -183,10 +144,10 @@ impl WeightInfo for () { /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn unstake() -> Weight { // Proof Size summary in bytes: - // Measured: `1431` + // Measured: `1429` // Estimated: `6196` - // Minimum execution time: 134_541_000 picoseconds. - Weight::from_parts(135_440_000, 6196) + // Minimum execution time: 150_537_000 picoseconds. + Weight::from_parts(152_599_000, 6196) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(10_u64)) } diff --git a/pallets/transaction-multi-payment/Cargo.toml b/pallets/transaction-multi-payment/Cargo.toml index 7e7121a8cb..14d5f89852 100644 --- a/pallets/transaction-multi-payment/Cargo.toml +++ b/pallets/transaction-multi-payment/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-transaction-multi-payment" -version = "10.1.4" +version = "10.1.5" description = "Transaction multi currency payment support module" authors = ["GalacticCoucil"] edition = "2021" diff --git a/pallets/transaction-multi-payment/src/lib.rs b/pallets/transaction-multi-payment/src/lib.rs index 26c1407c42..80283435db 100644 --- a/pallets/transaction-multi-payment/src/lib.rs +++ b/pallets/transaction-multi-payment/src/lib.rs @@ -19,6 +19,7 @@ #![allow(clippy::unused_unit)] #![allow(clippy::too_many_arguments)] #![allow(clippy::large_enum_variant)] +#![allow(clippy::manual_inspect)] pub mod weights; diff --git a/pallets/transaction-multi-payment/src/mock.rs b/pallets/transaction-multi-payment/src/mock.rs index b68ffd19ed..bfcda33079 100644 --- a/pallets/transaction-multi-payment/src/mock.rs +++ b/pallets/transaction-multi-payment/src/mock.rs @@ -34,7 +34,7 @@ use frame_support::{ use frame_system as system; use hydradx_traits::{ router::{RouteProvider, Trade}, - AssetKind, AssetPairAccountIdFor, OraclePeriod, PriceOracle, + AssetKind, OraclePeriod, PriceOracle, }; use orml_traits::{currency::MutationHooks, parameter_type_with_key}; use pallet_currencies::{BasicCurrencyAdapter, MockBoundErc20, MockErc20Currency}; @@ -307,21 +307,6 @@ impl pallet_transaction_payment::Config for Test { type WeightToFee = IdentityFee; type FeeMultiplierUpdate = (); } -pub struct AssetPairAccountIdTest(); - -impl AssetPairAccountIdFor for AssetPairAccountIdTest { - fn from_assets(asset_a: AssetId, asset_b: AssetId, _: &str) -> AccountId { - let mut a = asset_a as u128; - let mut b = asset_b as u128; - if a > b { - std::mem::swap(&mut a, &mut b) - } - - let mut data: [u8; 32] = [0u8; 32]; - data[28..32].copy_from_slice(&(a * 1000 * b).to_be_bytes()); - AccountId::new(data) - } -} parameter_type_with_key! { pub ExistentialDeposits: |currency_id: AssetId| -> Balance { diff --git a/pallets/transaction-multi-payment/src/weights.rs b/pallets/transaction-multi-payment/src/weights.rs index 13c7badb0e..e65ba0ea4b 100644 --- a/pallets/transaction-multi-payment/src/weights.rs +++ b/pallets/transaction-multi-payment/src/weights.rs @@ -1,42 +1,3 @@ -// This file is part of HydraDX. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - - -//! Autogenerated weights for `pallet_transaction_multi_payment` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` - -// Executed Command: -// target/release/hydradx -// benchmark -// pallet -// --chain=dev -// --steps=50 -// --repeat=20 -// --wasm-execution=compiled -// --pallet=pallet-transaction-multi-payment -// --extrinsic=* -// --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_transaction_multi_payment.rs - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -64,10 +25,10 @@ impl WeightInfo for () { /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn add_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1176` + // Measured: `1209` // Estimated: `3493` - // Minimum execution time: 20_049_000 picoseconds. - Weight::from_parts(20_425_000, 3493) + // Minimum execution time: 27_104_000 picoseconds. + Weight::from_parts(27_570_000, 3493) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -75,10 +36,10 @@ impl WeightInfo for () { /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn remove_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1207` + // Measured: `1240` // Estimated: `3493` - // Minimum execution time: 20_453_000 picoseconds. - Weight::from_parts(20_789_000, 3493) + // Minimum execution time: 27_177_000 picoseconds. + Weight::from_parts(27_728_000, 3493) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -88,10 +49,10 @@ impl WeightInfo for () { /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn set_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1241` + // Measured: `1305` // Estimated: `3493` - // Minimum execution time: 25_834_000 picoseconds. - Weight::from_parts(26_377_000, 3493) + // Minimum execution time: 38_736_000 picoseconds. + Weight::from_parts(39_416_000, 3493) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -103,8 +64,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3221` // Estimated: `27510` - // Minimum execution time: 90_605_000 picoseconds. - Weight::from_parts(91_251_000, 27510) + // Minimum execution time: 104_922_000 picoseconds. + Weight::from_parts(106_301_000, 27510) .saturating_add(RocksDbWeight::get().reads(11_u64)) } /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) @@ -117,12 +78,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1313` // Estimated: `4087` - // Minimum execution time: 22_716_000 picoseconds. - Weight::from_parts(23_254_000, 4087) + // Minimum execution time: 30_422_000 picoseconds. + Weight::from_parts(30_834_000, 4087) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:2 w:0) @@ -137,6 +97,8 @@ impl WeightInfo for () { /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// Storage: `EmaOracle::Oracles` (r:1 w:0) /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:4 w:4) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `XYK::ShareToken` (r:1 w:0) @@ -147,8 +109,6 @@ impl WeightInfo for () { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `EmaOracle::WhitelistedAssets` (r:1 w:0) @@ -157,10 +117,10 @@ impl WeightInfo for () { /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn withdraw_fee() -> Weight { // Proof Size summary in bytes: - // Measured: `4091` + // Measured: `4158` // Estimated: `11322` - // Minimum execution time: 186_115_000 picoseconds. - Weight::from_parts(191_035_000, 11322) + // Minimum execution time: 283_584_000 picoseconds. + Weight::from_parts(285_058_000, 11322) .saturating_add(RocksDbWeight::get().reads(24_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } diff --git a/pallets/transaction-pause/Cargo.toml b/pallets/transaction-pause/Cargo.toml index 5ec81f358d..992efba4bc 100644 --- a/pallets/transaction-pause/Cargo.toml +++ b/pallets/transaction-pause/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-transaction-pause" -version = "1.1.0" +version = "1.1.1" authors = ["Acala Developers", "GalacticCouncil"] edition = "2021" diff --git a/pallets/transaction-pause/src/lib.rs b/pallets/transaction-pause/src/lib.rs index 4853c73bbf..f5edad8b45 100644 --- a/pallets/transaction-pause/src/lib.rs +++ b/pallets/transaction-pause/src/lib.rs @@ -18,6 +18,7 @@ #![cfg_attr(not(feature = "std"), no_std)] #![allow(clippy::unused_unit)] +#![allow(clippy::manual_inspect)] use frame_support::{ pallet_prelude::*, diff --git a/pallets/transaction-pause/src/weights.rs b/pallets/transaction-pause/src/weights.rs index cd8670c6d7..ce587d7688 100644 --- a/pallets/transaction-pause/src/weights.rs +++ b/pallets/transaction-pause/src/weights.rs @@ -1,41 +1,3 @@ -// This file is part of HydraDX. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - - -//! Autogenerated weights for `pallet_transaction_pause` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` - -// Executed Command: -// target/release/hydradx -// benchmark -// pallet -// --chain=dev -// --steps=50 -// --repeat=20 -// --wasm-execution=compiled -// --pallet=pallet-transaction-pause -// --extrinsic=* -// --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_transaction_pause.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -59,8 +21,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `109` // Estimated: `3555` - // Minimum execution time: 10_654_000 picoseconds. - Weight::from_parts(11_047_000, 3555) + // Minimum execution time: 13_268_000 picoseconds. + Weight::from_parts(13_653_000, 3555) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -70,8 +32,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `160` // Estimated: `3555` - // Minimum execution time: 12_775_000 picoseconds. - Weight::from_parts(13_283_000, 3555) + // Minimum execution time: 16_169_000 picoseconds. + Weight::from_parts(16_547_000, 3555) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/pallets/xyk-liquidity-mining/Cargo.toml b/pallets/xyk-liquidity-mining/Cargo.toml index 652dd40579..9f402f9b79 100644 --- a/pallets/xyk-liquidity-mining/Cargo.toml +++ b/pallets/xyk-liquidity-mining/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-xyk-liquidity-mining" -version = "1.4.1" +version = "1.4.2" description = "Liquidity mining" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/xyk-liquidity-mining/src/lib.rs b/pallets/xyk-liquidity-mining/src/lib.rs index 6c9b09376e..0b60d7a904 100644 --- a/pallets/xyk-liquidity-mining/src/lib.rs +++ b/pallets/xyk-liquidity-mining/src/lib.rs @@ -36,7 +36,7 @@ //! pair of assets. #![cfg_attr(not(feature = "std"), no_std)] - +#![allow(clippy::manual_inspect)] #[cfg(test)] mod tests; diff --git a/pallets/xyk-liquidity-mining/src/weights.rs b/pallets/xyk-liquidity-mining/src/weights.rs index 2d038cc97b..c84828fd0b 100644 --- a/pallets/xyk-liquidity-mining/src/weights.rs +++ b/pallets/xyk-liquidity-mining/src/weights.rs @@ -1,42 +1,3 @@ -// This file is part of HydraDX. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - - -//! Autogenerated weights for `pallet_xyk_liquidity_mining` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` - -// Executed Command: -// target/release/hydradx -// benchmark -// pallet -// --chain=dev -// --steps=50 -// --repeat=20 -// --wasm-execution=compiled -// --pallet=pallet-xyk-liquidity-mining -// --extrinsic=* -// --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_xyk_liquidity_mining.rs - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -97,10 +58,10 @@ impl WeightInfo for () { /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) fn create_global_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `3306` + // Measured: `3406` // Estimated: `11402` - // Minimum execution time: 213_000_000 picoseconds. - Weight::from_parts(221_000_000, 11402) + // Minimum execution time: 330_268_000 picoseconds. + Weight::from_parts(332_630_000, 11402) .saturating_add(RocksDbWeight::get().reads(20_u64)) .saturating_add(RocksDbWeight::get().writes(12_u64)) } @@ -122,15 +83,17 @@ impl WeightInfo for () { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn update_global_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `4555` + // Measured: `4654` // Estimated: `6156` - // Minimum execution time: 73_000_000 picoseconds. - Weight::from_parts(74_000_000, 6156) + // Minimum execution time: 134_959_000 picoseconds. + Weight::from_parts(136_338_000, 6156) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: `XYKWarehouseLM::GlobalFarm` (r:1 w:1) /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:2 w:2) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Router::SkipEd` (r:1 w:0) @@ -139,8 +102,6 @@ impl WeightInfo for () { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) @@ -153,10 +114,10 @@ impl WeightInfo for () { /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn terminate_global_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `4018` + // Measured: `4118` // Estimated: `6196` - // Minimum execution time: 127_000_000 picoseconds. - Weight::from_parts(131_000_000, 6196) + // Minimum execution time: 210_698_000 picoseconds. + Weight::from_parts(213_046_000, 6196) .saturating_add(RocksDbWeight::get().reads(13_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } @@ -172,10 +133,10 @@ impl WeightInfo for () { /// Proof: `XYKWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(226), added: 2701, mode: `MaxEncodedLen`) fn create_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `1582` + // Measured: `1615` // Estimated: `3670` - // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(31_000_000, 3670) + // Minimum execution time: 58_967_000 picoseconds. + Weight::from_parts(59_286_000, 3670) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -203,10 +164,10 @@ impl WeightInfo for () { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn update_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `5071` + // Measured: `5170` // Estimated: `6156` - // Minimum execution time: 90_000_000 picoseconds. - Weight::from_parts(91_000_000, 6156) + // Minimum execution time: 162_220_000 picoseconds. + Weight::from_parts(164_499_000, 6156) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -232,10 +193,10 @@ impl WeightInfo for () { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn stop_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `4871` + // Measured: `4970` // Estimated: `6156` - // Minimum execution time: 85_000_000 picoseconds. - Weight::from_parts(87_000_000, 6156) + // Minimum execution time: 157_583_000 picoseconds. + Weight::from_parts(158_719_000, 6156) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -245,6 +206,8 @@ impl WeightInfo for () { /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) /// Storage: `XYKWarehouseLM::YieldFarm` (r:1 w:1) /// Proof: `XYKWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(226), added: 2701, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Router::SkipEd` (r:1 w:0) /// Proof: `Router::SkipEd` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// Storage: `Duster::AccountBlacklist` (r:1 w:0) @@ -253,29 +216,27 @@ impl WeightInfo for () { /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:2 w:2) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn terminate_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `4918` + // Measured: `5017` // Estimated: `6156` - // Minimum execution time: 70_000_000 picoseconds. - Weight::from_parts(72_000_000, 6156) + // Minimum execution time: 131_664_000 picoseconds. + Weight::from_parts(132_762_000, 6156) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:3 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:6 w:4) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `XYKWarehouseLM::YieldFarm` (r:1 w:1) /// Proof: `XYKWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(226), added: 2701, mode: `MaxEncodedLen`) /// Storage: `XYKWarehouseLM::GlobalFarm` (r:1 w:1) /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `EmaOracle::Oracles` (r:1 w:0) /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) /// Storage: `Router::SkipEd` (r:1 w:0) @@ -304,11 +265,11 @@ impl WeightInfo for () { /// Proof: `XYKWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(413), added: 2888, mode: `MaxEncodedLen`) fn deposit_shares() -> Weight { // Proof Size summary in bytes: - // Measured: `6240` + // Measured: `6357` // Estimated: `16488` - // Minimum execution time: 157_000_000 picoseconds. - Weight::from_parts(159_000_000, 16488) - .saturating_add(RocksDbWeight::get().reads(25_u64)) + // Minimum execution time: 283_636_000 picoseconds. + Weight::from_parts(286_604_000, 16488) + .saturating_add(RocksDbWeight::get().reads(26_u64)) .saturating_add(RocksDbWeight::get().writes(11_u64)) } /// Storage: `Uniques::Asset` (r:1 w:0) @@ -321,7 +282,7 @@ impl WeightInfo for () { /// Proof: `XYKWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(226), added: 2701, mode: `MaxEncodedLen`) /// Storage: `XYKWarehouseLM::GlobalFarm` (r:1 w:1) /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:4 w:2) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) @@ -341,19 +302,43 @@ impl WeightInfo for () { /// Proof: `XYK::TotalLiquidity` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) fn redeposit_shares() -> Weight { // Proof Size summary in bytes: - // Measured: `7169` + // Measured: `7286` // Estimated: `11322` - // Minimum execution time: 121_000_000 picoseconds. - Weight::from_parts(123_000_000, 11322) - .saturating_add(RocksDbWeight::get().reads(17_u64)) + // Minimum execution time: 223_433_000 picoseconds. + Weight::from_parts(224_674_000, 11322) + .saturating_add(RocksDbWeight::get().reads(18_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } + /// Storage: `Uniques::Asset` (r:1 w:0) + /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `XYKWarehouseLM::Deposit` (r:1 w:1) + /// Proof: `XYKWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(413), added: 2888, mode: `MaxEncodedLen`) + /// Storage: `XYKWarehouseLM::YieldFarm` (r:1 w:1) + /// Proof: `XYKWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(226), added: 2701, mode: `MaxEncodedLen`) + /// Storage: `XYKWarehouseLM::GlobalFarm` (r:1 w:1) + /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:3 w:3) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:1 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `Router::SkipEd` (r:1 w:0) + /// Proof: `Router::SkipEd` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:2 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn claim_rewards() -> Weight { // Proof Size summary in bytes: - // Measured: `679` - // Estimated: `0` - // Minimum execution time: 4_000_000 picoseconds. - Weight::from_parts(5_000_000, 0) + // Measured: `7110` + // Estimated: `8739` + // Minimum execution time: 224_682_000 picoseconds. + Weight::from_parts(226_222_000, 8739) + .saturating_add(RocksDbWeight::get().reads(15_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// Storage: `Uniques::Asset` (r:1 w:1) /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) @@ -397,10 +382,10 @@ impl WeightInfo for () { /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn withdraw_shares() -> Weight { // Proof Size summary in bytes: - // Measured: `6683` + // Measured: `6783` // Estimated: `13905` - // Minimum execution time: 275_000_000 picoseconds. - Weight::from_parts(279_000_000, 13905) + // Minimum execution time: 441_189_000 picoseconds. + Weight::from_parts(444_785_000, 13905) .saturating_add(RocksDbWeight::get().reads(29_u64)) .saturating_add(RocksDbWeight::get().writes(16_u64)) } @@ -428,23 +413,23 @@ impl WeightInfo for () { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn resume_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `5363` + // Measured: `5462` // Estimated: `6156` - // Minimum execution time: 90_000_000 picoseconds. - Weight::from_parts(91_000_000, 6156) + // Minimum execution time: 163_963_000 picoseconds. + Weight::from_parts(165_035_000, 6156) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:3 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:10 w:8) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `XYKWarehouseLM::YieldFarm` (r:5 w:5) /// Proof: `XYKWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(226), added: 2701, mode: `MaxEncodedLen`) /// Storage: `XYKWarehouseLM::GlobalFarm` (r:5 w:5) /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `EmaOracle::Oracles` (r:1 w:0) /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) /// Storage: `Router::SkipEd` (r:1 w:0) @@ -474,13 +459,13 @@ impl WeightInfo for () { /// The range of component `c` is `[1, 5]`. fn join_farms(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `6761 + c * (672 ±0)` + // Measured: `6878 + c * (672 ±0)` // Estimated: `13905 + c * (2701 ±0)` - // Minimum execution time: 152_000_000 picoseconds. - Weight::from_parts(106_887_792, 13905) - // Standard Error: 127_268 - .saturating_add(Weight::from_parts(59_200_876, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(20_u64)) + // Minimum execution time: 293_151_000 picoseconds. + Weight::from_parts(202_764_318, 13905) + // Standard Error: 71_458 + .saturating_add(Weight::from_parts(94_309_018, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(21_u64)) .saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(c.into()))) .saturating_add(RocksDbWeight::get().writes(8_u64)) .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(c.into()))) @@ -488,6 +473,8 @@ impl WeightInfo for () { } /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:3 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:12 w:12) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `XYK::TotalLiquidity` (r:1 w:1) @@ -498,9 +485,7 @@ impl WeightInfo for () { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:3 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:3 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:7 w:2) + /// Storage: `System::Account` (r:6 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -516,14 +501,6 @@ impl WeightInfo for () { /// Proof: `XYK::PoolAssets` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) /// Storage: `XYKWarehouseLM::DepositSequencer` (r:1 w:1) /// Proof: `XYKWarehouseLM::DepositSequencer` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Balances::Locks` (r:1 w:1) - /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::ExistentialDepositCounter` (r:1 w:1) - /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Balances::Freezes` (r:1 w:0) - /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `Uniques::Asset` (r:1 w:1) /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) /// Storage: `Uniques::Class` (r:1 w:1) @@ -537,24 +514,23 @@ impl WeightInfo for () { /// The range of component `c` is `[1, 5]`. fn add_liquidity_and_join_farms(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `7312 + c * (672 ±0)` + // Measured: `7086 + c * (672 ±0)` // Estimated: `19071 + c * (2701 ±0)` - // Minimum execution time: 302_000_000 picoseconds. - Weight::from_parts(290_210_922, 19071) - // Standard Error: 1_390_381 - .saturating_add(Weight::from_parts(69_970_268, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(31_u64)) + // Minimum execution time: 430_597_000 picoseconds. + Weight::from_parts(340_717_139, 19071) + // Standard Error: 102_863 + .saturating_add(Weight::from_parts(94_542_857, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(26_u64)) .saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(c.into()))) - .saturating_add(RocksDbWeight::get().writes(18_u64)) + .saturating_add(RocksDbWeight::get().writes(14_u64)) .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2701).saturating_mul(c.into())) } - - /// Storage: `Uniques::Asset` (r:5 w:5) + /// Storage: `Uniques::Asset` (r:1 w:1) /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::Deposit` (r:5 w:5) + /// Storage: `XYKWarehouseLM::Deposit` (r:1 w:1) /// Proof: `XYKWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(413), added: 2888, mode: `MaxEncodedLen`) /// Storage: `XYKWarehouseLM::YieldFarm` (r:5 w:5) /// Proof: `XYKWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(226), added: 2701, mode: `MaxEncodedLen`) @@ -576,8 +552,6 @@ impl WeightInfo for () { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `XYK::PoolAssets` (r:1 w:0) /// Proof: `XYK::PoolAssets` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Class` (r:1 w:1) - /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `Balances::Locks` (r:1 w:1) @@ -586,23 +560,25 @@ impl WeightInfo for () { /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Storage: `Balances::Freezes` (r:1 w:0) /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Account` (r:0 w:5) + /// Storage: `Uniques::Class` (r:1 w:1) + /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:0 w:1) /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) - /// Storage: `Uniques::ItemPriceOf` (r:0 w:5) + /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 5]`. fn exit_farms(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `7678 + c * (874 ±0)` - // Estimated: `11322 + c * (2888 ±0)` - // Minimum execution time: 277_699_000 picoseconds. - Weight::from_parts(77_674_907, 11322) - // Standard Error: 411_899 - .saturating_add(Weight::from_parts(202_700_122, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(17_u64)) - .saturating_add(RocksDbWeight::get().reads((7_u64).saturating_mul(c.into()))) - .saturating_add(RocksDbWeight::get().writes(5_u64)) - .saturating_add(RocksDbWeight::get().writes((7_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 2888).saturating_mul(c.into())) + // Measured: `6479 + c * (692 ±0)` + // Estimated: `5788 + c * (2792 ±0)` + // Minimum execution time: 296_635_000 picoseconds. + Weight::from_parts(113_520_180, 5788) + // Standard Error: 894_486 + .saturating_add(Weight::from_parts(180_465_455, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(11_u64)) + .saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(c.into()))) + .saturating_add(RocksDbWeight::get().writes(2_u64)) + .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(c.into()))) + .saturating_add(Weight::from_parts(0, 2792).saturating_mul(c.into())) } } diff --git a/pallets/xyk/Cargo.toml b/pallets/xyk/Cargo.toml index 4203ac603e..d2f337f03e 100644 --- a/pallets/xyk/Cargo.toml +++ b/pallets/xyk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-xyk" -version = "6.7.0" +version = "6.7.1" description = "XYK automated market maker" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/xyk/src/lib.rs b/pallets/xyk/src/lib.rs index a90878373e..3504a2d379 100644 --- a/pallets/xyk/src/lib.rs +++ b/pallets/xyk/src/lib.rs @@ -27,6 +27,7 @@ #![cfg_attr(not(feature = "std"), no_std)] #![allow(clippy::unused_unit)] #![allow(clippy::upper_case_acronyms)] +#![allow(clippy::manual_inspect)] use frame_support::sp_runtime::{traits::Zero, DispatchError}; use frame_support::{dispatch::DispatchResult, ensure, traits::Get, transactional}; @@ -724,7 +725,7 @@ impl Pallet { // Implementation of AMM API which makes possible to plug the AMM pool into the exchange pallet. impl AMM for Pallet { fn exists(assets: AssetPair) -> bool { - >::contains_key(&Self::get_pair_id(assets)) + >::contains_key(Self::get_pair_id(assets)) } fn get_pair_id(assets: AssetPair) -> T::AccountId { diff --git a/pallets/xyk/src/weights.rs b/pallets/xyk/src/weights.rs index d8161ab93b..1f378a8240 100644 --- a/pallets/xyk/src/weights.rs +++ b/pallets/xyk/src/weights.rs @@ -1,42 +1,3 @@ -// This file is part of HydraDX. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - - -//! Autogenerated weights for `pallet_xyk` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` - -// Executed Command: -// target/release/hydradx -// benchmark -// pallet -// --chain=dev -// --steps=50 -// --repeat=20 -// --wasm-execution=compiled -// --pallet=pallet-xyk -// --extrinsic=* -// --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_xyk.rs - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -96,21 +57,27 @@ impl WeightInfo for () { /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EVM::AccountCodesMetadata` (r:0 w:1) + /// Proof: `EVM::AccountCodesMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `EVM::AccountCodes` (r:0 w:1) + /// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `XYK::TotalLiquidity` (r:0 w:1) /// Proof: `XYK::TotalLiquidity` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) /// Storage: `XYK::PoolAssets` (r:0 w:1) /// Proof: `XYK::PoolAssets` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) fn create_pool() -> Weight { // Proof Size summary in bytes: - // Measured: `3863` + // Measured: `3930` // Estimated: `19071` - // Minimum execution time: 482_234_000 picoseconds. - Weight::from_parts(487_055_000, 19071) + // Minimum execution time: 562_857_000 picoseconds. + Weight::from_parts(565_541_000, 19071) .saturating_add(RocksDbWeight::get().reads(34_u64)) - .saturating_add(RocksDbWeight::get().writes(20_u64)) + .saturating_add(RocksDbWeight::get().writes(22_u64)) } /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:4 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:7 w:7) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `XYK::TotalLiquidity` (r:1 w:1) @@ -121,8 +88,6 @@ impl WeightInfo for () { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:4 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:4 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) @@ -141,10 +106,10 @@ impl WeightInfo for () { /// Proof: `EmaOracle::WhitelistedAssets` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `4499` + // Measured: `4566` // Estimated: `19071` - // Minimum execution time: 300_637_000 picoseconds. - Weight::from_parts(301_659_000, 19071) + // Minimum execution time: 372_530_000 picoseconds. + Weight::from_parts(373_917_000, 19071) .saturating_add(RocksDbWeight::get().reads(28_u64)) .saturating_add(RocksDbWeight::get().writes(13_u64)) } @@ -152,6 +117,8 @@ impl WeightInfo for () { /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `XYK::TotalLiquidity` (r:1 w:1) /// Proof: `XYK::TotalLiquidity` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:4 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:7 w:7) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Router::SkipEd` (r:1 w:0) @@ -160,8 +127,6 @@ impl WeightInfo for () { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:3 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:4 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:0) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencyPrice` (r:1 w:0) @@ -182,15 +147,17 @@ impl WeightInfo for () { /// Proof: `XYK::PoolAssets` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `4549` + // Measured: `4616` // Estimated: `19071` - // Minimum execution time: 437_485_000 picoseconds. - Weight::from_parts(441_006_000, 19071) + // Minimum execution time: 512_976_000 picoseconds. + Weight::from_parts(514_773_000, 19071) .saturating_add(RocksDbWeight::get().reads(30_u64)) .saturating_add(RocksDbWeight::get().writes(17_u64)) } /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:3 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:6 w:6) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Router::SkipEd` (r:1 w:0) @@ -199,8 +166,6 @@ impl WeightInfo for () { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:3 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:3 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) @@ -217,15 +182,17 @@ impl WeightInfo for () { /// Proof: `EmaOracle::WhitelistedAssets` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`) fn sell() -> Weight { // Proof Size summary in bytes: - // Measured: `4398` + // Measured: `4465` // Estimated: `16488` - // Minimum execution time: 263_251_000 picoseconds. - Weight::from_parts(265_158_000, 16488) + // Minimum execution time: 322_473_000 picoseconds. + Weight::from_parts(324_925_000, 16488) .saturating_add(RocksDbWeight::get().reads(25_u64)) .saturating_add(RocksDbWeight::get().writes(10_u64)) } /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:3 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:6 w:6) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Router::SkipEd` (r:1 w:0) @@ -234,8 +201,6 @@ impl WeightInfo for () { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:3 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:3 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencyPrice` (r:1 w:0) @@ -252,15 +217,17 @@ impl WeightInfo for () { /// Proof: `EmaOracle::WhitelistedAssets` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`) fn buy() -> Weight { // Proof Size summary in bytes: - // Measured: `4398` + // Measured: `4465` // Estimated: `16488` - // Minimum execution time: 261_604_000 picoseconds. - Weight::from_parts(262_778_000, 16488) + // Minimum execution time: 319_664_000 picoseconds. + Weight::from_parts(321_488_000, 16488) .saturating_add(RocksDbWeight::get().reads(25_u64)) .saturating_add(RocksDbWeight::get().writes(10_u64)) } /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:3 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:6 w:6) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Router::SkipEd` (r:1 w:0) @@ -269,8 +236,6 @@ impl WeightInfo for () { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:3 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:3 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) @@ -289,21 +254,23 @@ impl WeightInfo for () { /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1221 + e * (3177 ±0)` + // Measured: `1786 + e * (2679 ±0)` // Estimated: `8799 + e * (10332 ±0)` - // Minimum execution time: 24_468_000 picoseconds. - Weight::from_parts(8_259_951, 8799) - // Standard Error: 78_193 - .saturating_add(Weight::from_parts(8_502_639, 0).saturating_mul(c.into())) - // Standard Error: 78_193 - .saturating_add(Weight::from_parts(247_520_019, 0).saturating_mul(e.into())) - .saturating_add(RocksDbWeight::get().reads(3_u64)) - .saturating_add(RocksDbWeight::get().reads((22_u64).saturating_mul(e.into()))) + // Minimum execution time: 46_983_000 picoseconds. + Weight::from_parts(23_427_016, 8799) + // Standard Error: 117_050 + .saturating_add(Weight::from_parts(12_284_937, 0).saturating_mul(c.into())) + // Standard Error: 117_050 + .saturating_add(Weight::from_parts(286_660_358, 0).saturating_mul(e.into())) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().reads((20_u64).saturating_mul(e.into()))) .saturating_add(RocksDbWeight::get().writes((10_u64).saturating_mul(e.into()))) .saturating_add(Weight::from_parts(0, 10332).saturating_mul(e.into())) } /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:3 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:6 w:6) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Router::SkipEd` (r:1 w:0) @@ -312,8 +279,6 @@ impl WeightInfo for () { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:3 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:3 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencyPrice` (r:1 w:0) @@ -332,27 +297,29 @@ impl WeightInfo for () { /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1221 + e * (3177 ±0)` - // Estimated: `6156 + e * (10332 ±3_500_844_840_074_025)` - // Minimum execution time: 31_785_000 picoseconds. - Weight::from_parts(11_618_923, 6156) - // Standard Error: 29_806 - .saturating_add(Weight::from_parts(6_978_081, 0).saturating_mul(c.into())) - // Standard Error: 49_613 - .saturating_add(Weight::from_parts(245_134_509, 0).saturating_mul(e.into())) - .saturating_add(RocksDbWeight::get().reads(3_u64)) - .saturating_add(RocksDbWeight::get().reads((22_u64).saturating_mul(e.into()))) + // Measured: `1786 + e * (2679 ±0)` + // Estimated: `6190 + e * (10332 ±6_084_484_329_818_434)` + // Minimum execution time: 58_308_000 picoseconds. + Weight::from_parts(24_469_761, 6190) + // Standard Error: 35_338 + .saturating_add(Weight::from_parts(11_612_542, 0).saturating_mul(c.into())) + // Standard Error: 58_822 + .saturating_add(Weight::from_parts(284_359_512, 0).saturating_mul(e.into())) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().reads((20_u64).saturating_mul(e.into()))) .saturating_add(RocksDbWeight::get().writes((10_u64).saturating_mul(e.into()))) .saturating_add(Weight::from_parts(0, 10332).saturating_mul(e.into())) } + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:2 w:0) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) fn calculate_spot_price_with_fee() -> Weight { // Proof Size summary in bytes: - // Measured: `1021` - // Estimated: `6156` - // Minimum execution time: 19_349_000 picoseconds. - Weight::from_parts(19_578_000, 6156) - .saturating_add(RocksDbWeight::get().reads(2_u64)) + // Measured: `1586` + // Estimated: `6190` + // Minimum execution time: 40_317_000 picoseconds. + Weight::from_parts(40_698_000, 6190) + .saturating_add(RocksDbWeight::get().reads(4_u64)) } } diff --git a/precompiles/call-permit/Cargo.toml b/precompiles/call-permit/Cargo.toml index 01b650722d..4aea21e24e 100644 --- a/precompiles/call-permit/Cargo.toml +++ b/precompiles/call-permit/Cargo.toml @@ -2,7 +2,7 @@ name = "pallet-evm-precompile-call-permit" description = "A Precompile to dispatch a call with a ERC712 permit." edition = "2021" -version = "0.1.3" +version = "0.1.4" authors = ["PureStake"] repository = "https://github.com/PureStake/moonbeam" diff --git a/precompiles/call-permit/src/mock.rs b/precompiles/call-permit/src/mock.rs index e9266d2c85..f44f81cec7 100644 --- a/precompiles/call-permit/src/mock.rs +++ b/precompiles/call-permit/src/mock.rs @@ -19,7 +19,7 @@ use super::*; use frame_support::traits::Everything; use frame_support::{construct_runtime, pallet_prelude::*, parameter_types}; -use pallet_evm::{EnsureAddressNever, EnsureAddressRoot}; +use pallet_evm::{EnsureAddressNever, EnsureAddressRoot, FrameSystemAccountProvider}; use precompile_utils::{mock_account, precompile_set::*, testing::MockAccount}; use sp_core::H256; use sp_runtime::BuildStorage; @@ -119,26 +119,27 @@ parameter_types! { } impl pallet_evm::Config for Runtime { + type AccountProvider = FrameSystemAccountProvider; type FeeCalculator = (); type GasWeightMapping = pallet_evm::FixedGasWeightMapping; type WeightPerGas = WeightPerGas; + type BlockHashMapping = pallet_evm::SubstrateBlockHashMapping; type CallOrigin = EnsureAddressRoot; type WithdrawOrigin = EnsureAddressNever; type AddressMapping = AccountId; type Currency = Balances; type RuntimeEvent = RuntimeEvent; - type Runner = pallet_evm::runner::stack::Runner; type PrecompilesType = Precompiles; type PrecompilesValue = PrecompilesValue; type ChainId = (); - type OnChargeTransaction = (); type BlockGasLimit = (); - type BlockHashMapping = pallet_evm::SubstrateBlockHashMapping; - type FindAuthor = (); + type Runner = pallet_evm::runner::stack::Runner; + type OnChargeTransaction = (); type OnCreate = (); + type FindAuthor = (); type GasLimitPovSizeRatio = (); - type GasLimitStorageGrowthRatio = (); type SuicideQuickClearLimit = ConstU32<0>; + type GasLimitStorageGrowthRatio = (); type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; } diff --git a/precompiles/utils/Cargo.toml b/precompiles/utils/Cargo.toml index 0c2f3d1502..ff9e55e254 100644 --- a/precompiles/utils/Cargo.toml +++ b/precompiles/utils/Cargo.toml @@ -2,7 +2,7 @@ name = "precompile-utils" description = "Utils to write EVM precompiles." edition = "2021" -version = "0.1.3" +version = "0.1.4" authors = ["PureStake"] repository = "https://github.com/PureStake/moonbeam" diff --git a/precompiles/utils/macro/src/precompile/attr.rs b/precompiles/utils/macro/src/precompile/attr.rs index b5a06e174b..4385399b3d 100644 --- a/precompiles/utils/macro/src/precompile/attr.rs +++ b/precompiles/utils/macro/src/precompile/attr.rs @@ -52,6 +52,7 @@ pub mod keyword { } /// Attributes for methods. +#[allow(dead_code)] pub enum MethodAttr { Public(Span, syn::LitStr), Fallback(Span), @@ -98,6 +99,7 @@ impl syn::parse::Parse for MethodAttr { } /// Attributes for the main impl Block. +#[allow(dead_code)] pub enum ImplAttr { PrecompileSet(Span), TestConcreteTypes(Span, Vec), diff --git a/precompiles/utils/src/precompile_set.rs b/precompiles/utils/src/precompile_set.rs index 0e7bba60d5..ed9927840b 100644 --- a/precompiles/utils/src/precompile_set.rs +++ b/precompiles/utils/src/precompile_set.rs @@ -1106,7 +1106,7 @@ impl PrecompileSetBuilder } /// Return the list of addresses contained in this PrecompileSet. - pub fn used_addresses() -> impl Iterator { + pub fn used_addresses() -> impl Iterator> { Self::new() .inner .used_addresses() diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index 4892f5f2b8..f8c1797e4b 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "primitives" -version = "6.1.0" +version = "6.1.1" authors = ["GalacticCouncil"] edition = "2021" repository = "https://github.com/galacticcouncil/HydraDX-node" diff --git a/primitives/src/constants.rs b/primitives/src/constants.rs index 6af68683d9..d657961518 100644 --- a/primitives/src/constants.rs +++ b/primitives/src/constants.rs @@ -88,13 +88,22 @@ pub mod chain { /// We allow for 0.5 seconds of compute pub const MAXIMUM_BLOCK_WEIGHT: Weight = Weight::from_parts( WEIGHT_REF_TIME_PER_SECOND.saturating_div(2), - polkadot_primitives::v7::MAX_POV_SIZE as u64, + polkadot_primitives::v8::MAX_POV_SIZE as u64, ); /// The source of the data for the oracle. pub const OMNIPOOL_SOURCE: [u8; 8] = *b"omnipool"; pub const STABLESWAP_SOURCE: [u8; 8] = *b"stablesw"; pub const XYK_SOURCE: [u8; 8] = *b"hydraxyk"; + + /// Maximum number of blocks simultaneously accepted by the Runtime, not yet included into the + /// relay chain. + pub const UNINCLUDED_SEGMENT_CAPACITY: u32 = 1; + /// How many parachain blocks are processed by the relay chain per parent. Limits the number of + /// blocks authored per slot. + pub const BLOCK_PROCESSING_VELOCITY: u32 = 1; + /// Relay chain slot duration, in milliseconds. + pub const RELAY_CHAIN_SLOT_DURATION_MILLIS: u32 = 6000; } #[cfg(test)] diff --git a/runtime-mock/Cargo.toml b/runtime-mock/Cargo.toml index 40995f56a7..52d6672240 100644 --- a/runtime-mock/Cargo.toml +++ b/runtime-mock/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "runtime-mock" -version = "1.0.3" +version = "1.0.4" description = "Mock of the HydraDX Runtime for testing purposes" authors = ["GalacticCouncil"] edition = "2021" diff --git a/runtime-mock/src/lib.rs b/runtime-mock/src/lib.rs index b9f8357b43..4b529f1000 100644 --- a/runtime-mock/src/lib.rs +++ b/runtime-mock/src/lib.rs @@ -77,6 +77,7 @@ pub fn hydradx_mocked_runtime() -> TestExternalities { ) }) .collect::>(), + non_authority_keys: Default::default(), }, aura: Default::default(), collator_selection: CollatorSelectionConfig { diff --git a/runtime/adapters/Cargo.toml b/runtime/adapters/Cargo.toml index 9523a05b58..5bf1872b55 100644 --- a/runtime/adapters/Cargo.toml +++ b/runtime/adapters/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-adapters" -version = "1.4.0" +version = "1.4.1" description = "Structs and other generic types for building runtimes." authors = ["GalacticCouncil"] edition = "2021" @@ -73,6 +73,27 @@ default = ["std"] runtime-benchmarks = [ "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", + "pallet-omnipool/runtime-benchmarks", + "pallet-ema-oracle/runtime-benchmarks", + "pallet-circuit-breaker/runtime-benchmarks", + "pallet-omnipool-liquidity-mining/runtime-benchmarks", + "pallet-dynamic-fees/runtime-benchmarks", + "pallet-uniques/runtime-benchmarks", + "pallet-staking/runtime-benchmarks", + "pallet-route-executor/runtime-benchmarks", + "pallet-stableswap/runtime-benchmarks", + "pallet-referrals/runtime-benchmarks", + "pallet-lbp/runtime-benchmarks", + "pallet-asset-registry/runtime-benchmarks", + "pallet-bonds/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "cumulus-pallet-parachain-system/runtime-benchmarks", + "cumulus-primitives-core/runtime-benchmarks", + "orml-vesting/runtime-benchmarks", + "orml-tokens/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", ] std = [ "codec/std", diff --git a/runtime/adapters/src/lib.rs b/runtime/adapters/src/lib.rs index eee3c96295..f0d16e402a 100644 --- a/runtime/adapters/src/lib.rs +++ b/runtime/adapters/src/lib.rs @@ -940,7 +940,7 @@ where { fn get_by_lock(lock_id: LockIdentifier, currency_id: AssetId, who: T::AccountId) -> Balance { if currency_id == NativeAssetId::get() { - match pallet_balances::Pallet::::locks(who) + match pallet_balances::Pallet::::locks(&who) .into_iter() .find(|lock| lock.id == lock_id) { diff --git a/runtime/adapters/src/tests/xcm_exchange.rs b/runtime/adapters/src/tests/xcm_exchange.rs index c5642c7ecd..e4721ed3a2 100644 --- a/runtime/adapters/src/tests/xcm_exchange.rs +++ b/runtime/adapters/src/tests/xcm_exchange.rs @@ -61,6 +61,13 @@ fn xcm_exchanger_allows_selling_supported_assets() { let wanted_amount = 45 * UNITS; // 50 - 5 to cover fees let want: Assets = Asset::from((GeneralIndex(HDX.into()), wanted_amount)).into(); + // get the price before executing the swap + let expected_amount_out = + XcmAssetExchanger::::quote_exchange_price( + &give, &want, SELL, + ) + .unwrap(); + // Act let received: Assets = exchange_asset(None, give, &want, SELL) .expect("should return ok") @@ -76,6 +83,15 @@ fn xcm_exchanger_allows_selling_supported_assets() { assert!(received_amount >= wanted_amount); assert_eq!(Tokens::free_balance(DAI, &ExchangeTempAccount::get()), 0); assert_eq!(Balances::free_balance(ExchangeTempAccount::get()), 0); + + // verify that quote_exchange_price returns correct value + assert_eq!(expected_amount_out.len(), 1, "there should only be one asset returned"); + let wanted = expected_amount_out.get(0).unwrap(); + assert_eq!(wanted.id.0, GeneralIndex(HDX.into()).into()); + let Fungible(amount_out) = wanted.fun else { + panic!("should be fungible") + }; + assert_eq!(received_amount, amount_out); }); } @@ -150,6 +166,13 @@ fn xcm_exchanger_allows_buying_supported_assets() { let want_asset = Asset::from((GeneralIndex(HDX.into()), wanted_amount)); let want: Assets = want_asset.clone().into(); + // get the price before executing the swap + let expected_amount_in = + XcmAssetExchanger::::quote_exchange_price( + &give, &want, BUY, + ) + .unwrap(); + // Act let received: Assets = exchange_asset(None, give, &want, BUY).expect("should return ok").into(); @@ -178,6 +201,15 @@ fn xcm_exchanger_allows_buying_supported_assets() { assert!(received_amount == wanted_amount); assert_eq!(Tokens::free_balance(DAI, &ExchangeTempAccount::get()), 0); assert_eq!(Balances::free_balance(ExchangeTempAccount::get()), 0); + + // verify that quote_exchange_price returns correct value + assert_eq!(expected_amount_in.len(), 1, "there should only be one asset returned"); + let given = expected_amount_in.get(0).unwrap(); + assert_eq!(given.id.0, GeneralIndex(DAI.into()).into()); + let Fungible(amount_in) = given.fun else { + panic!("should be fungible") + }; + assert_eq!(given_amount - left_over_amount, amount_in); }); } diff --git a/runtime/adapters/src/xcm_exchange.rs b/runtime/adapters/src/xcm_exchange.rs index fec4b4c9c2..5604f77ba1 100644 --- a/runtime/adapters/src/xcm_exchange.rs +++ b/runtime/adapters/src/xcm_exchange.rs @@ -1,3 +1,4 @@ +use hydradx_traits::router::{AssetPair, RouteProvider}; use orml_traits::MultiCurrency; use pallet_broadcast::types::ExecutionType; use polkadot_xcm::v4::prelude::*; @@ -144,4 +145,51 @@ where trade_result } + + fn quote_exchange_price(give: &Assets, want: &Assets, maximal: bool) -> Option { + if give.len() != 1 { + log::warn!(target: "xcm::exchange-asset", "Only one give asset is supported."); + return None; + }; + + //We assume only one asset wanted as translating into buy and sell is ambigous for multiple want assets + if want.len() != 1 { + log::warn!(target: "xcm::exchange-asset", "Only one want asset is supported."); + return None; + }; + + let given = give.get(0)?; + let asset_in = CurrencyIdConvert::convert(given.clone())?; + + let wanted = want.get(0)?; + let asset_out = CurrencyIdConvert::convert(wanted.clone())?; + + let route = pallet_route_executor::Pallet::::get_route(AssetPair::new(asset_in, asset_out)); + + if maximal { + // sell + let Fungible(amount) = given.fun else { return None }; + let amount = + pallet_route_executor::Pallet::::calculate_expected_amount_out(&route, amount.into()).ok()?; + Some( + Asset { + id: wanted.id.clone(), + fun: Fungible(amount.into()), + } + .into(), + ) + } else { + // buy + let Fungible(amount) = wanted.fun else { return None }; + let amount = + pallet_route_executor::Pallet::::calculate_expected_amount_in(&route, amount.into()).ok()?; + Some( + Asset { + id: given.id.clone(), + fun: Fungible(amount.into()), + } + .into(), + ) + } + } } diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index e0b3908d89..9cf57191b8 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-runtime" -version = "287.0.0" +version = "288.0.0" authors = ["GalacticCouncil"] edition = "2021" license = "Apache 2.0" @@ -122,7 +122,7 @@ polkadot-xcm = { workspace = true } xcm-executor = { workspace = true } xcm-builder = { workspace = true } polkadot-runtime-common = { workspace = true } -xcm-fee-payment-runtime-api = { workspace = true } +xcm-runtime-apis = { workspace = true } # Substrate dependencies frame-benchmarking = { workspace = true, optional = true } @@ -223,6 +223,7 @@ runtime-benchmarks = [ "pallet-evm-accounts/runtime-benchmarks", "pallet-message-queue/runtime-benchmarks", "pallet-state-trie-migration/runtime-benchmarks", + "xcm-runtime-apis/runtime-benchmarks", "pallet-liquidation/runtime-benchmarks", "pallet-conviction-voting/runtime-benchmarks", "pallet-referenda/runtime-benchmarks", @@ -248,7 +249,7 @@ std = [ "staging-parachain-info/std", "pallet-xcm/std", "polkadot-xcm/std", - "xcm-fee-payment-runtime-api/std", + "xcm-runtime-apis/std", "xcm-executor/std", "xcm-builder/std", "orml-tokens/std", diff --git a/runtime/hydradx/src/assets.rs b/runtime/hydradx/src/assets.rs index 1fda47de91..f0a8777ef5 100644 --- a/runtime/hydradx/src/assets.rs +++ b/runtime/hydradx/src/assets.rs @@ -26,34 +26,16 @@ use hydradx_adapters::{ RelayChainBlockNumberProvider, StableswapHooksAdapter, VestingInfo, }; -pub use hydradx_traits::{ - evm::CallContext, - registry::Inspect, - router::{inverse_route, PoolType, Trade}, - AccountIdFor, AssetKind, AssetPairAccountIdFor, Liquidity, NativePriceOracle, OnTradeHandler, OraclePeriod, Source, -}; -use pallet_currencies::BasicCurrencyAdapter; -use pallet_omnipool::{ - traits::{EnsurePriceWithin, OmnipoolHooks}, - weights::WeightInfo as OmnipoolWeights, -}; -use pallet_otc::NamedReserveIdentifier; -use pallet_stableswap::weights::WeightInfo as StableswapWeights; -use pallet_transaction_multi_payment::{AddTxAssetOnAccount, RemoveTxAssetOnKilled}; -use primitives::constants::{ - chain::{OMNIPOOL_SOURCE, XYK_SOURCE}, - currency::{NATIVE_EXISTENTIAL_DEPOSIT, UNITS}, - time::DAYS, -}; -use sp_runtime::{traits::Zero, ArithmeticError, DispatchError, DispatchResult, FixedPointNumber, Percent}; - use crate::evm::precompiles::erc20_mapping::SetCodeForErc20Precompile; use crate::Stableswap; use core::ops::RangeInclusive; use frame_support::{ parameter_types, - sp_runtime::app_crypto::sp_core::crypto::UncheckedFrom, sp_runtime::traits::{One, PhantomData}, + sp_runtime::{ + app_crypto::sp_core::crypto::UncheckedFrom, traits::Zero, ArithmeticError, DispatchError, DispatchResult, + FixedPointNumber, Percent, + }, sp_runtime::{FixedU128, Perbill, Permill}, traits::{ AsEnsureOriginWithArg, ConstU32, Contains, Currency, Defensive, EitherOf, EnsureOrigin, Imbalance, @@ -62,19 +44,39 @@ use frame_support::{ BoundedVec, PalletId, }; use frame_system::{EnsureRoot, EnsureSigned, RawOrigin}; -use hydradx_traits::AMM; +pub use hydradx_traits::{ + evm::CallContext, + fee::{InspectTransactionFeeCurrency, SwappablePaymentAssetTrader}, + registry::Inspect, + router::{inverse_route, PoolType, Trade}, + AccountIdFor, AssetKind, AssetPairAccountIdFor, Liquidity, NativePriceOracle, OnTradeHandler, OraclePeriod, Source, + AMM, +}; use orml_traits::{ currency::{MultiCurrency, MultiLockableCurrency, MutationHooks, OnDeposit, OnTransfer}, GetByKey, Happened, }; +use pallet_currencies::BasicCurrencyAdapter; use pallet_dynamic_fees::types::FeeParams; use pallet_lbp::weights::WeightInfo as LbpWeights; +use pallet_omnipool::{ + traits::{EnsurePriceWithin, OmnipoolHooks}, + weights::WeightInfo as OmnipoolWeights, +}; +use pallet_otc::NamedReserveIdentifier; use pallet_route_executor::{weights::WeightInfo as RouterWeights, AmmTradeWeights, MAX_NUMBER_OF_TRADES}; +use pallet_stableswap::weights::WeightInfo as StableswapWeights; use pallet_staking::{ types::{Action, Point}, SigmoidPercentage, }; +use pallet_transaction_multi_payment::{AddTxAssetOnAccount, RemoveTxAssetOnKilled}; use pallet_xyk::weights::WeightInfo as XykWeights; +use primitives::constants::{ + chain::{CORE_ASSET_ID, OMNIPOOL_SOURCE, XYK_SOURCE}, + currency::{NATIVE_EXISTENTIAL_DEPOSIT, UNITS}, + time::DAYS, +}; use sp_std::num::NonZeroU16; parameter_types! { pub const NativeExistentialDeposit: u128 = NATIVE_EXISTENTIAL_DEPOSIT; @@ -1302,7 +1304,6 @@ use hydradx_adapters::price::OraclePriceProviderUsingRoute; #[cfg(feature = "runtime-benchmarks")] use frame_support::storage::with_transaction; -use hydradx_traits::fee::{InspectTransactionFeeCurrency, SwappablePaymentAssetTrader}; #[cfg(feature = "runtime-benchmarks")] use hydradx_traits::price::PriceProvider; #[cfg(feature = "runtime-benchmarks")] @@ -1718,7 +1719,6 @@ impl GetByKey for ReferralsLevelVolumeAndRewa #[cfg(feature = "runtime-benchmarks")] use pallet_referrals::BenchmarkHelper as RefBenchmarkHelper; use pallet_xyk::types::AssetPair; -use primitives::constants::chain::CORE_ASSET_ID; #[cfg(feature = "runtime-benchmarks")] pub struct ReferralsBenchmarkHelper; diff --git a/runtime/hydradx/src/evm/erc20_currency.rs b/runtime/hydradx/src/evm/erc20_currency.rs index 8bbb836073..e6fc333cc5 100644 --- a/runtime/hydradx/src/evm/erc20_currency.rs +++ b/runtime/hydradx/src/evm/erc20_currency.rs @@ -4,12 +4,13 @@ use ethabi::ethereum_types::BigEndianHash; use evm::ExitReason; use evm::ExitReason::Succeed; use evm::ExitSucceed::Returned; +use fp_evm::AccountProvider; use frame_support::{dispatch::DispatchResult, fail, pallet_prelude::*}; use hydradx_traits::evm::{CallContext, InspectEvmAccounts, ERC20, EVM}; use num_enum::{IntoPrimitive, TryFromPrimitive}; use orml_traits::MultiCurrency; use pallet_currencies::{Config, Error}; -use primitives::Balance; +use primitives::{AccountId, Balance}; use scale_info::prelude::format; use sp_core::crypto::AccountId32; use sp_core::{H160, H256, U256}; @@ -35,16 +36,19 @@ pub enum Function { Approve = "approve(address,uint256)", TransferFrom = "transferFrom(address,address,uint256)", } -type BalanceOf = <::Currency as frame_support::traits::Currency< - ::AccountId, ->>::Balance; +type BalanceOf = + <::Currency as frame_support::traits::Currency>>::Balance; +pub type NonceIdOf = <::AccountProvider as AccountProvider>::Nonce; -pub struct Erc20Currency(sp_std::marker::PhantomData); +pub struct Erc20Currency(PhantomData); impl ERC20 for Erc20Currency where T: pallet_evm::Config, BalanceOf: TryFrom + Into, + T::AddressMapping: pallet_evm::AddressMapping, + pallet_evm::AccountIdOf: From, + NonceIdOf: Into, { type Balance = Balance; @@ -206,12 +210,15 @@ fn handle_result(result: CallResult) -> DispatchResult { } } -impl MultiCurrency for Erc20Currency +impl MultiCurrency for Erc20Currency where T: Config + pallet_evm::Config, - pallet_evm_accounts::Pallet: InspectEvmAccounts, - T::AccountId: AsRef<[u8; 32]> + IsType, + pallet_evm_accounts::Pallet: InspectEvmAccounts, + AccountId: AsRef<[u8; 32]> + IsType, BalanceOf: TryFrom + Into, + T::AddressMapping: pallet_evm::AddressMapping, + pallet_evm::AccountIdOf: From, + NonceIdOf: Into, { type CurrencyId = EvmAddress; type Balance = Balance; @@ -228,17 +235,17 @@ where }) } - fn total_balance(contract: Self::CurrencyId, who: &T::AccountId) -> Self::Balance { + fn total_balance(contract: Self::CurrencyId, who: &AccountId) -> Self::Balance { Self::free_balance(contract, who) } - fn free_balance(contract: Self::CurrencyId, who: &T::AccountId) -> Self::Balance { + fn free_balance(contract: Self::CurrencyId, who: &AccountId) -> Self::Balance { ::balance_of(CallContext::new_view(contract), EvmAccounts::::evm_address(who)) } fn ensure_can_withdraw( contract: Self::CurrencyId, - who: &T::AccountId, + who: &AccountId, amount: Self::Balance, ) -> sp_runtime::DispatchResult { if amount.is_zero() { @@ -250,8 +257,8 @@ where fn transfer( contract: Self::CurrencyId, - from: &T::AccountId, - to: &T::AccountId, + from: &AccountId, + to: &AccountId, amount: Self::Balance, ) -> sp_runtime::DispatchResult { let sender = >::evm_address(from); @@ -266,23 +273,19 @@ where ) } - fn deposit(_contract: Self::CurrencyId, _who: &T::AccountId, _amount: Self::Balance) -> sp_runtime::DispatchResult { + fn deposit(_contract: Self::CurrencyId, _who: &AccountId, _amount: Self::Balance) -> sp_runtime::DispatchResult { fail!(Error::::NotSupported) } - fn withdraw( - _contract: Self::CurrencyId, - _who: &T::AccountId, - _amount: Self::Balance, - ) -> sp_runtime::DispatchResult { + fn withdraw(_contract: Self::CurrencyId, _who: &AccountId, _amount: Self::Balance) -> sp_runtime::DispatchResult { fail!(Error::::NotSupported) } - fn can_slash(_contract: Self::CurrencyId, _who: &T::AccountId, value: Self::Balance) -> bool { + fn can_slash(_contract: Self::CurrencyId, _who: &AccountId, value: Self::Balance) -> bool { value.is_zero() } - fn slash(_contract: Self::CurrencyId, _who: &T::AccountId, _amount: Self::Balance) -> Self::Balance { + fn slash(_contract: Self::CurrencyId, _who: &AccountId, _amount: Self::Balance) -> Self::Balance { Default::default() } } diff --git a/runtime/hydradx/src/evm/evm_fee.rs b/runtime/hydradx/src/evm/evm_fee.rs index c29d5861b2..d474f20435 100644 --- a/runtime/hydradx/src/evm/evm_fee.rs +++ b/runtime/hydradx/src/evm/evm_fee.rs @@ -19,7 +19,7 @@ // you may not use this file except in compliance with the License. // http://www.apache.org/licenses/LICENSE-2.0 use crate::{Runtime, TreasuryAccount}; -use frame_support::traits::tokens::{Fortitude, Precision}; +use frame_support::traits::tokens::{Fortitude, Precision, Preservation}; use frame_support::traits::{Get, TryDrop}; use hydra_dx_math::ema::EmaPrice; use hydradx_traits::evm::InspectEvmAccounts; @@ -94,6 +94,7 @@ where + frame_support::traits::tokens::fungibles::Inspect, SwappablePaymentAssetSupport: SwappablePaymentAssetTrader, DotAssetId: Get, + T::AddressMapping: pallet_evm::AddressMapping, { type LiquidityInfo = Option>; @@ -129,12 +130,12 @@ where let max_limit = amount_in.saturating_add(pool_fee); SwappablePaymentAssetSupport::buy( - &account_id.clone(), + &account_id, account_fee_currency, dot, fee_in_dot, max_limit, - &account_id.clone(), + &account_id, ) .map_err(|_| Error::::WithdrawFailed)?; @@ -150,6 +151,7 @@ where fee_currency, &account_id, converted, + Preservation::Expendable, Precision::Exact, Fortitude::Polite, ) @@ -241,7 +243,7 @@ where pub struct DepositEvmFeeToTreasury; impl OnUnbalanced> for DepositEvmFeeToTreasury { // this is called for substrate-based transactions - fn on_unbalanceds(amounts: impl Iterator>) { + fn on_unbalanceds(amounts: impl Iterator>) { Self::on_unbalanced(amounts.fold(EvmPaymentInfo::default(), |i, x| x.merge(i))) } diff --git a/runtime/hydradx/src/evm/executor.rs b/runtime/hydradx/src/evm/executor.rs index 9efd5857d8..a7947a06c7 100644 --- a/runtime/hydradx/src/evm/executor.rs +++ b/runtime/hydradx/src/evm/executor.rs @@ -6,7 +6,7 @@ use frame_support::storage::with_transaction; use frame_support::traits::Get; use hydradx_traits::evm::{CallContext, EVM}; use pallet_evm::runner::stack::SubstrateStackState; -use pallet_evm::{AddressMapping, Config}; +use pallet_evm::{AccountProvider, AddressMapping, Config}; use primitive_types::{H160, U256}; use sp_runtime::{DispatchError, TransactionOutcome}; use sp_std::vec; @@ -16,14 +16,17 @@ pub struct Executor(sp_std::marker::PhantomData); pub type CallResult = (ExitReason, Vec); -type BalanceOf = <::Currency as frame_support::traits::Currency< - ::AccountId, ->>::Balance; +type BalanceOf = + <::Currency as frame_support::traits::Currency>>::Balance; +pub type NonceIdOf = <::AccountProvider as AccountProvider>::Nonce; impl Executor where T: Config + frame_system::Config, BalanceOf: TryFrom + Into, + T::AddressMapping: AddressMapping, + pallet_evm::AccountIdOf: From, + NonceIdOf: Into, { pub fn execute<'config, F>(origin: H160, gas: u64, f: F) -> CallResult where @@ -39,10 +42,10 @@ where let metadata = StackSubstateMetadata::new(gas, config); let state = SubstrateStackState::new(&vicinity, metadata, None, None); let account = T::AddressMapping::into_account_id(origin); - let nonce = frame_system::Account::::get(account.clone()).nonce; + let nonce = T::AccountProvider::account_nonce(&account.clone().into()); let mut executor = StackExecutor::new_with_precompiles(state, config, &precompiles); let result = f(&mut executor); - frame_system::Account::::mutate(account, |a| a.nonce = nonce); + frame_system::Account::::mutate(account.clone(), |a| a.nonce = nonce.into()); result } } @@ -51,6 +54,9 @@ impl EVM for Executor where T: Config + frame_system::Config, BalanceOf: TryFrom + Into, + T::AddressMapping: AddressMapping, + pallet_evm::AccountIdOf: From, + NonceIdOf: Into, { fn call(context: CallContext, data: Vec, value: U256, gas: u64) -> CallResult { Self::execute(context.origin, gas, |executor| { diff --git a/runtime/hydradx/src/evm/mod.rs b/runtime/hydradx/src/evm/mod.rs index e28ce9a242..2f1cee9f15 100644 --- a/runtime/hydradx/src/evm/mod.rs +++ b/runtime/hydradx/src/evm/mod.rs @@ -28,7 +28,7 @@ pub use crate::{ evm::accounts_conversion::{ExtendedAddressMapping, FindAuthorTruncated}, AssetLocation, Aura, NORMAL_DISPATCH_RATIO, }; -use crate::{DotAssetId, NativeAssetId, XykPaymentAssetSupport, LRNA}; +use crate::{DotAssetId, NativeAssetId, Runtime, XykPaymentAssetSupport, LRNA}; pub use fp_evm::GenesisAccount as EvmGenesisAccount; use frame_support::{ parameter_types, @@ -43,7 +43,7 @@ use hydradx_adapters::{AssetFeeOraclePriceProvider, OraclePriceProvider}; use hydradx_traits::oracle::OraclePeriod; use orml_tokens::CurrencyAdapter; use pallet_currencies::fungibles::FungibleCurrencies; -use pallet_evm::EnsureAddressTruncated; +use pallet_evm::{EnsureAddressTruncated, FrameSystemAccountProvider}; use pallet_transaction_payment::Multiplier; use primitives::{constants::chain::MAXIMUM_BLOCK_WEIGHT, AssetId}; use sp_core::{Get, U256}; @@ -59,6 +59,7 @@ mod runner; pub use erc20_currency::Erc20Currency; pub use erc20_currency::Function; pub use executor::Executor; +pub use primitives::AccountId as AccountIdType; // Current approximation of the gas per second consumption considering // EVM execution over compiled WASM (on 4.4Ghz CPU). @@ -76,7 +77,7 @@ parameter_types! { // We allow for a 75% fullness of a 0.5s block pub BlockGasLimit: U256 = U256::from(NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT.ref_time() / WEIGHT_PER_GAS); - pub PrecompilesValue: precompiles::HydraDXPrecompiles = precompiles::HydraDXPrecompiles::<_>::new(); + pub PrecompilesValue: precompiles::HydraDXPrecompiles = precompiles::HydraDXPrecompiles::<_>::new(); pub WeightPerGas: Weight = Weight::from_parts(WEIGHT_PER_GAS, 0); } @@ -96,10 +97,9 @@ pub const WETH_ASSET_LOCATION: AssetLocation = AssetLocation(polkadot_xcm::v3::M pub struct WethAssetId; impl Get for WethAssetId { fn get() -> AssetId { - let invalid_id = - pallet_asset_registry::Pallet::::next_asset_id().defensive_unwrap_or(AssetId::MAX); + let invalid_id = pallet_asset_registry::Pallet::::next_asset_id().defensive_unwrap_or(AssetId::MAX); - match pallet_asset_registry::Pallet::::location_to_asset(WETH_ASSET_LOCATION) { + match pallet_asset_registry::Pallet::::location_to_asset(WETH_ASSET_LOCATION) { Some(asset_id) => asset_id, None => invalid_id, } @@ -107,7 +107,7 @@ impl Get for WethAssetId { } pub type EvmAddress = sp_core::H160; -type WethCurrency = CurrencyAdapter; +type WethCurrency = CurrencyAdapter; parameter_types! { pub PostLogContent: pallet_ethereum::PostLogContent = pallet_ethereum::PostLogContent::BlockAndTxnHashes; @@ -137,53 +137,54 @@ parameter_types! { pub const SuicideQuickClearLimit: u32 = 0; } -impl pallet_evm::Config for crate::Runtime { - type AddressMapping = ExtendedAddressMapping; - type BlockGasLimit = BlockGasLimit; +impl pallet_evm::Config for Runtime { + type AccountProvider = FrameSystemAccountProvider; + type FeeCalculator = crate::DynamicEvmFee; + type GasWeightMapping = FixedHydraGasWeightMapping; + type WeightPerGas = WeightPerGas; type BlockHashMapping = pallet_ethereum::EthereumBlockHashMapping; type CallOrigin = EnsureAddressTruncated; - type ChainId = crate::EVMChainId; + type WithdrawOrigin = EnsureAddressTruncated; + type AddressMapping = ExtendedAddressMapping; type Currency = WethCurrency; - type FeeCalculator = crate::DynamicEvmFee; - type FindAuthor = FindAuthorTruncated; - type GasWeightMapping = FixedHydraGasWeightMapping; - type OnChargeTransaction = evm_fee::TransferEvmFees< - evm_fee::DepositEvmFeeToTreasury, - FeeCurrencyOverrideOrDefault>, // Get account's fee payment asset - WethAssetId, - ConvertBalance, - FungibleCurrencies, // Multi currency support - XykPaymentAssetSupport, - DotAssetId, - >; - type OnCreate = (); + type RuntimeEvent = crate::RuntimeEvent; type PrecompilesType = precompiles::HydraDXPrecompiles; type PrecompilesValue = PrecompilesValue; + type ChainId = crate::EVMChainId; + type BlockGasLimit = BlockGasLimit; type Runner = WrapRunner< Self, pallet_evm::runner::stack::Runner, // Evm runner that we wrap hydradx_adapters::price::FeeAssetBalanceInCurrency< - crate::Runtime, + Runtime, ConvertBalance, - FeeCurrencyOverrideOrDefault>, // Get account's fee payment asset - FungibleCurrencies, // Account balance inspector + FeeCurrencyOverrideOrDefault>, // Get account's fee payment asset + FungibleCurrencies, // Account balance inspector >, >; - type RuntimeEvent = crate::RuntimeEvent; - type WeightPerGas = WeightPerGas; - type WithdrawOrigin = EnsureAddressTruncated; + type OnChargeTransaction = evm_fee::TransferEvmFees< + evm_fee::DepositEvmFeeToTreasury, + FeeCurrencyOverrideOrDefault>, // Get account's fee payment asset + WethAssetId, + ConvertBalance, + FungibleCurrencies, // Multi currency support + XykPaymentAssetSupport, + DotAssetId, + >; + type OnCreate = (); + type FindAuthor = FindAuthorTruncated; type GasLimitPovSizeRatio = GasLimitPovSizeRatio; + type SuicideQuickClearLimit = SuicideQuickClearLimit; type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; type Timestamp = crate::Timestamp; - type WeightInfo = pallet_evm::weights::SubstrateWeight; - type SuicideQuickClearLimit = SuicideQuickClearLimit; + type WeightInfo = pallet_evm::weights::SubstrateWeight; } -impl pallet_evm_chain_id::Config for crate::Runtime {} +impl pallet_evm_chain_id::Config for Runtime {} -impl pallet_ethereum::Config for crate::Runtime { +impl pallet_ethereum::Config for Runtime { type RuntimeEvent = crate::RuntimeEvent; - type StateRoot = pallet_ethereum::IntermediateStateRoot; + type StateRoot = pallet_ethereum::IntermediateStateRoot; type PostLogContent = PostLogContent; type ExtraDataLength = sp_core::ConstU32<1>; } @@ -197,12 +198,12 @@ impl pallet_evm_accounts::EvmNonceProvider for EvmNonceProvider { type EvmAccounts = pallet_evm_accounts::Pallet; -impl pallet_evm_accounts::Config for crate::Runtime { +impl pallet_evm_accounts::Config for Runtime { type RuntimeEvent = crate::RuntimeEvent; type EvmNonceProvider = EvmNonceProvider; type ControllerOrigin = EitherOf, GeneralAdmin>; type FeeMultiplier = sp_core::ConstU32<50>; - type WeightInfo = crate::weights::pallet_evm_accounts::HydraWeight; + type WeightInfo = crate::weights::pallet_evm_accounts::HydraWeight; } parameter_types! { @@ -211,7 +212,7 @@ parameter_types! { pub const MaxBaseFeePerGas: u128 = 14415000000; //To reach 10 dollar per omnipool trade } -impl pallet_dynamic_evm_fee::Config for crate::Runtime { +impl pallet_dynamic_evm_fee::Config for Runtime { type AssetId = AssetId; type DefaultBaseFeePerGas = DefaultBaseFeePerGas; type MinBaseFeePerGas = MinBaseFeePerGas; @@ -226,5 +227,5 @@ impl pallet_dynamic_evm_fee::Config for crate::Runtime { OracleEvmPeriod, >; type WethAssetId = WethAssetId; - type WeightInfo = crate::weights::pallet_dynamic_evm_fee::HydraWeight; + type WeightInfo = crate::weights::pallet_dynamic_evm_fee::HydraWeight; } diff --git a/runtime/hydradx/src/evm/permit.rs b/runtime/hydradx/src/evm/permit.rs index 8e23d11ce1..44574da1af 100644 --- a/runtime/hydradx/src/evm/permit.rs +++ b/runtime/hydradx/src/evm/permit.rs @@ -31,6 +31,7 @@ where R::Nonce: Into, AccountId: From, R::AccountId: AsRef<[u8; 32]> + frame_support::traits::IsType, + R::AddressMapping: pallet_evm::AddressMapping, { fn validate_permit( source: H160, diff --git a/runtime/hydradx/src/evm/precompiles/erc20_mapping.rs b/runtime/hydradx/src/evm/precompiles/erc20_mapping.rs index 700f2f286b..4e112aa8d7 100644 --- a/runtime/hydradx/src/evm/precompiles/erc20_mapping.rs +++ b/runtime/hydradx/src/evm/precompiles/erc20_mapping.rs @@ -23,7 +23,7 @@ use crate::evm::EvmAddress; use crate::Runtime; use hex_literal::hex; use hydradx_traits::{evm::Erc20Mapping, RegisterAssetHook}; -use primitive_types::H160; +use primitive_types::{H160, H256}; use primitives::AssetId; pub struct HydraErc20Mapping; @@ -65,22 +65,40 @@ pub fn is_asset_address(address: H160) -> bool { &address.to_fixed_bytes()[0..16] == asset_address_prefix } -pub struct SetCodeForErc20Precompile; +fn set_code_metadata_for_erc20(asset_id: AssetId, code: &[u8]) { + let size = code[..].len() as u64; + let hash = H256::from(sp_io::hashing::keccak_256(code)); + let code_metadata = pallet_evm::CodeMetadata { size, hash }; + pallet_evm::AccountCodesMetadata::::insert(HydraErc20Mapping::encode_evm_address(asset_id), code_metadata); +} +pub struct SetCodeForErc20Precompile; impl RegisterAssetHook for SetCodeForErc20Precompile { fn on_register_asset(asset_id: AssetId) { pallet_evm::AccountCodes::::insert(HydraErc20Mapping::encode_evm_address(asset_id), &hex!["00"][..]); + + let code = hex!["00"]; + set_code_metadata_for_erc20(asset_id, &code); } } -impl frame_support::traits::OnRuntimeUpgrade for SetCodeForErc20Precompile { +pub struct SetCodeMetadataForErc20Precompile; +impl frame_support::traits::OnRuntimeUpgrade for SetCodeMetadataForErc20Precompile { fn on_runtime_upgrade() -> frame_support::weights::Weight { + log::info!("Running migration for SetCodeMetadataForErc20Precompile.",); + let mut reads = 0; let mut writes = 0; + + let code = hex!["00"]; + pallet_asset_registry::Assets::::iter().for_each(|(asset_id, _)| { reads += 1; - if !pallet_evm::AccountCodes::::contains_key(HydraErc20Mapping::encode_evm_address(asset_id)) { - Self::on_register_asset(asset_id); + if !pallet_evm::AccountCodesMetadata::::contains_key(HydraErc20Mapping::encode_evm_address( + asset_id, + )) { + set_code_metadata_for_erc20(asset_id, &code); + writes += 1; } }); diff --git a/runtime/hydradx/src/evm/precompiles/mod.rs b/runtime/hydradx/src/evm/precompiles/mod.rs index 1447d579a1..55fe052e29 100644 --- a/runtime/hydradx/src/evm/precompiles/mod.rs +++ b/runtime/hydradx/src/evm/precompiles/mod.rs @@ -104,7 +104,7 @@ impl PrecompileSet for HydraDXPrecompiles where R: pallet_evm::Config + pallet_currencies::Config + pallet_evm_accounts::Config, R::RuntimeCall: Dispatchable + GetDispatchInfo + Decode, - ::RuntimeOrigin: From>, + ::RuntimeOrigin: From>>, MultiCurrencyPrecompile: Precompile, { fn execute(&self, handle: &mut impl PrecompileHandle) -> Option { diff --git a/runtime/hydradx/src/evm/runner.rs b/runtime/hydradx/src/evm/runner.rs index bbf58eb89c..aade22e43d 100644 --- a/runtime/hydradx/src/evm/runner.rs +++ b/runtime/hydradx/src/evm/runner.rs @@ -28,7 +28,7 @@ use fp_evm::{Account, TransactionValidationError}; use frame_support::traits::Get; use hydradx_traits::AccountFeeCurrencyBalanceInCurrency; use pallet_evm::runner::Runner; -use pallet_evm::{AddressMapping, CallInfo, Config, CreateInfo, FeeCalculator, RunnerError}; +use pallet_evm::{AccountProvider, AddressMapping, CallInfo, Config, CreateInfo, FeeCalculator, RunnerError}; use pallet_genesis_history::migration::Weight; use primitive_types::{H160, H256, U256}; use primitives::{AssetId, Balance}; @@ -43,6 +43,8 @@ where R: Runner, >::Error: core::convert::From, B: AccountFeeCurrencyBalanceInCurrency, + T::AddressMapping: pallet_evm::AddressMapping, + pallet_evm::AccountIdOf: From, { type Error = R::Error; @@ -65,7 +67,7 @@ where let evm_currency = WethAssetId::get(); let account_id = T::AddressMapping::into_account_id(source); - let account_nonce = frame_system::Pallet::::account_nonce(&account_id); + let account_nonce = T::AccountProvider::account_nonce(&account_id.clone().into()); let (balance, b_weight) = B::get_balance_in_currency(evm_currency, &account_id); let (source_account, inner_weight) = ( diff --git a/runtime/hydradx/src/governance/mod.rs b/runtime/hydradx/src/governance/mod.rs index 0d8e411f07..0eb18c8e07 100644 --- a/runtime/hydradx/src/governance/mod.rs +++ b/runtime/hydradx/src/governance/mod.rs @@ -146,13 +146,8 @@ impl frame_support::traits::tokens::Pay for PayFromTreasuryAccount { impl pallet_treasury::Config for Runtime { type Currency = Balances; - type ApproveOrigin = EitherOf, Treasurer>; type RejectOrigin = EitherOf, Treasurer>; type RuntimeEvent = RuntimeEvent; - type OnSlash = Treasury; - type ProposalBond = ProposalBond; - type ProposalBondMinimum = ProposalBondMinimum; - type ProposalBondMaximum = ProposalBondMaximum; type SpendPeriod = SpendPeriod; type Burn = Burn; type PalletId = TreasuryPalletId; @@ -191,7 +186,7 @@ impl pallet_conviction_voting::Config for Runtime { } parameter_types! { - pub const MaxBalance: Balance = Balance::max_value(); + pub const MaxBalance: Balance = Balance::MAX; } pub type TreasurySpender = EitherOf, Spender>; diff --git a/runtime/hydradx/src/governance/old.rs b/runtime/hydradx/src/governance/old.rs index 7029c78381..e26b20e021 100644 --- a/runtime/hydradx/src/governance/old.rs +++ b/runtime/hydradx/src/governance/old.rs @@ -220,5 +220,6 @@ impl pallet_tips::Config for Runtime { type TipReportDepositBase = TipReportDepositBase; type MaxTipAmount = MaxTipAmount; type Tippers = Elections; + type OnSlash = Treasury; type WeightInfo = weights::pallet_tips::HydraWeight; } diff --git a/runtime/hydradx/src/governance/origins.rs b/runtime/hydradx/src/governance/origins.rs index d8881eb2bf..caab7ef6c5 100644 --- a/runtime/hydradx/src/governance/origins.rs +++ b/runtime/hydradx/src/governance/origins.rs @@ -25,7 +25,9 @@ // $$$$$ $$$$$ $$ $$$$$$$$ $ $$$ $$$$$$$$ $$$ $$$$ $$$$$$$ $$$$ $$$$ // $$$ -//! Custom origins for governance interventions. +#![allow(clippy::manual_inspect)] + +/// Custom origins for governance interventions. pub use pallet_custom_origins::*; #[frame_support::pallet] diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 39786c755d..c0abc88591 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -113,7 +113,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("hydradx"), impl_name: create_runtime_str!("hydradx"), authoring_version: 1, - spec_version: 287, + spec_version: 288, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, @@ -280,7 +280,7 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - migration::OnRuntimeUpgradeMigration, + migration::Migrations, >; impl frame_system::offchain::SendTransactionTypes for Runtime @@ -294,7 +294,7 @@ where #[cfg(feature = "runtime-benchmarks")] mod benches { frame_support::parameter_types! { - pub const BenchmarkMaxBalance: crate::Balance = crate::Balance::max_value(); + pub const BenchmarkMaxBalance: crate::Balance = crate::Balance::MAX; } frame_benchmarking::define_benchmarks!( [pallet_lbp, LBP] @@ -341,6 +341,10 @@ mod benches { struct CheckInherents; +#[allow(deprecated)] +#[allow(dead_code)] +// There is some controversy around this deprecation. We can keep it as it is for now. +// See issue: https://github.com/paritytech/polkadot-sdk/issues/2841 impl cumulus_pallet_parachain_system::CheckInherents for CheckInherents { fn check_inherents( block: &Block, @@ -449,7 +453,10 @@ use frame_support::{ use polkadot_xcm::{IntoVersion, VersionedAssetId, VersionedAssets, VersionedLocation, VersionedXcm}; use primitives::constants::chain::CORE_ASSET_ID; use sp_core::OpaqueMetadata; -use xcm_fee_payment_runtime_api::Error as XcmPaymentApiError; +use xcm_runtime_apis::{ + dry_run::{CallDryRunEffects, Error as XcmDryRunApiError, XcmDryRunEffects}, + fees::Error as XcmPaymentApiError, +}; impl_runtime_apis! { impl sp_api::Core for Runtime { @@ -945,7 +952,7 @@ impl_runtime_apis! { } } - impl xcm_fee_payment_runtime_api::XcmPaymentApi for Runtime { + impl xcm_runtime_apis::fees::XcmPaymentApi for Runtime { fn query_acceptable_payment_assets(xcm_version: polkadot_xcm::Version) -> Result, XcmPaymentApiError> { if !matches!(xcm_version, 3 | 4) { return Err(XcmPaymentApiError::UnhandledXcmVersion); @@ -1004,6 +1011,28 @@ impl_runtime_apis! { } } + impl xcm_runtime_apis::dry_run::DryRunApi for Runtime { + fn dry_run_call(origin: OriginCaller, call: RuntimeCall) -> Result, XcmDryRunApiError> { + PolkadotXcm::dry_run_call::(origin, call) + } + + fn dry_run_xcm(origin_location: VersionedLocation, xcm: VersionedXcm) -> Result, XcmDryRunApiError> { + PolkadotXcm::dry_run_xcm::(origin_location, xcm) + } + } + + impl xcm_runtime_apis::conversions::LocationToAccountApi for Runtime { + fn convert_location(location: VersionedLocation) -> Result< + AccountId, + xcm_runtime_apis::conversions::Error + > { + xcm_runtime_apis::conversions::LocationToAccountHelper::< + AccountId, + xcm::LocationToAccountId, + >::convert_location(location) + } + } + #[cfg(feature = "runtime-benchmarks")] impl frame_benchmarking::Benchmark for Runtime { fn benchmark_metadata(extra: bool) -> ( diff --git a/runtime/hydradx/src/migration.rs b/runtime/hydradx/src/migration.rs index b84e0aefaa..adf17dac9c 100644 --- a/runtime/hydradx/src/migration.rs +++ b/runtime/hydradx/src/migration.rs @@ -14,42 +14,12 @@ // limitations under the License. use super::*; -use frame_support::{ - dispatch::{GetDispatchInfo, RawOrigin}, - traits::OnRuntimeUpgrade, - weights::Weight, -}; -pub struct OnRuntimeUpgradeMigration; -use super::Runtime; -pub fn bind_pallet_account() -> Weight { - match EVMAccounts::bind_evm_address(RawOrigin::Signed(Liquidation::account_id()).into()) { - Ok(_) => { - log::info!( - target: "runtime::pallet_liquidation", - "Migration to v1 for Liquidation pallet" - ); - } - Err(error) => { - log::info!( - target: "runtime::pallet_liquidation", - "Migration to v1 for Liquidation pallet failed: {:?}", error - ); - } - } - - let call = pallet_evm_accounts::Call::::bind_evm_address {}; - - call.get_dispatch_info().weight +impl cumulus_pallet_xcmp_queue::migration::v5::V5Config for Runtime { + type ChannelList = ParachainSystem; } -impl OnRuntimeUpgrade for OnRuntimeUpgradeMigration { - fn on_runtime_upgrade() -> Weight { - let mut w = Weight::zero(); - let bw = bind_pallet_account(); - w.saturating_accrue(bw); - let ow = pallet_omnipool::migration::v2::migrate::(); - w.saturating_accrue(ow); - w - } -} +pub type Migrations = ( + cumulus_pallet_xcmp_queue::migration::v5::MigrateV4ToV5, + evm::precompiles::erc20_mapping::SetCodeMetadataForErc20Precompile, +); diff --git a/runtime/hydradx/src/system.rs b/runtime/hydradx/src/system.rs index 2ba16a4179..3fa89dcc09 100644 --- a/runtime/hydradx/src/system.rs +++ b/runtime/hydradx/src/system.rs @@ -21,7 +21,10 @@ use crate::origins::GeneralAdmin; use pallet_transaction_multi_payment::{DepositAll, TransferFees, WeightInfo}; use pallet_transaction_payment::{Multiplier, TargetedFeeAdjustment}; use primitives::constants::{ - chain::{CORE_ASSET_ID, MAXIMUM_BLOCK_WEIGHT}, + chain::{ + BLOCK_PROCESSING_VELOCITY, CORE_ASSET_ID, MAXIMUM_BLOCK_WEIGHT, RELAY_CHAIN_SLOT_DURATION_MILLIS, + UNINCLUDED_SEGMENT_CAPACITY, + }, currency::{deposit, CENTS, DOLLARS, MILLICENTS}, time::{DAYS, HOURS, SLOT_DURATION}, }; @@ -237,6 +240,13 @@ parameter_types! { pub ReservedDmpWeight: Weight = BlockWeights::get().max_block / 4; } +type ConsensusHook = cumulus_pallet_aura_ext::FixedVelocityConsensusHook< + Runtime, + RELAY_CHAIN_SLOT_DURATION_MILLIS, + BLOCK_PROCESSING_VELOCITY, + UNINCLUDED_SEGMENT_CAPACITY, +>; + impl cumulus_pallet_parachain_system::Config for Runtime { type RuntimeEvent = RuntimeEvent; type OnSystemEvent = pallet_relaychain_info::OnValidationDataHandler; @@ -248,6 +258,7 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type CheckAssociatedRelayNumber = cumulus_pallet_parachain_system::RelayNumberStrictlyIncreases; type DmpQueue = frame_support::traits::EnqueueWithOrigin; type WeightInfo = weights::cumulus_pallet_parachain_system::HydraWeight; + type ConsensusHook = ConsensusHook; } parameter_types! { diff --git a/runtime/hydradx/src/tests.rs b/runtime/hydradx/src/tests.rs index 6be415860e..89541ca7e2 100644 --- a/runtime/hydradx/src/tests.rs +++ b/runtime/hydradx/src/tests.rs @@ -187,10 +187,8 @@ fn max_multiplier() { mod xcm_fee_payment_api_tests { use super::*; use frame_support::assert_ok; - use polkadot_xcm::v4::prelude::*; - use polkadot_xcm::VersionedAssetId::V4; - use xcm_fee_payment_runtime_api::runtime_decl_for_xcm_payment_api::XcmPaymentApiV1; - use xcm_fee_payment_runtime_api::Error as XcmPaymentApiError; + use polkadot_xcm::{v4::prelude::*, VersionedAssetId::V4}; + use xcm_runtime_apis::fees::{runtime_decl_for_xcm_payment_api::XcmPaymentApiV1, Error as XcmPaymentApiError}; #[test] fn query_acceptable_payment_assets_should_return_native_and_registered_locations() { diff --git a/runtime/hydradx/src/weights/cumulus_pallet_parachain_system.rs b/runtime/hydradx/src/weights/cumulus_pallet_parachain_system.rs index 74d1a3a5f9..8cb207d20a 100644 --- a/runtime/hydradx/src/weights/cumulus_pallet_parachain_system.rs +++ b/runtime/hydradx/src/weights/cumulus_pallet_parachain_system.rs @@ -18,28 +18,30 @@ //! Autogenerated weights for `cumulus_pallet_parachain_system` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 42.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// frame-omni-bencher -// v1 +// ./target/release/hydradx // benchmark // pallet -// --runtime -// target/release/wbuild/hydradx-runtime/hydradx_runtime.compact.compressed.wasm +// --wasm-execution=compiled +// --pallet +// cumulus-pallet-parachain-system // --extrinsic -// -// --heap-pages=4096 -// --steps=50 -// --repeat=20 +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --pallet -// cumulus_pallet_parachain_system -// --output=./weights/cumulus_pallet_parachain_system.rs +// --output +// runtime/hydradx/src/weights/cumulus_pallet_parachain_system.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -68,12 +70,12 @@ impl cumulus_pallet_parachain_system::WeightInfo for Hy /// The range of component `n` is `[0, 1000]`. fn enqueue_inbound_downward_messages(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0` + // Measured: `185` // Estimated: `3517` - // Minimum execution time: 1_358_000 picoseconds. - Weight::from_parts(1_419_000, 3517) - // Standard Error: 20_289 - .saturating_add(Weight::from_parts(268_761_310, 0).saturating_mul(n.into())) + // Minimum execution time: 3_782_000 picoseconds. + Weight::from_parts(3_843_000, 3517) + // Standard Error: 14_271 + .saturating_add(Weight::from_parts(348_876_459, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) diff --git a/runtime/hydradx/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/hydradx/src/weights/cumulus_pallet_xcmp_queue.rs index 00a5e1f44a..677ce2cb89 100644 --- a/runtime/hydradx/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/hydradx/src/weights/cumulus_pallet_xcmp_queue.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=cumulus-pallet-xcmp-queue -// --extrinsic=* +// --pallet +// cumulus-pallet-xcmp-queue +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/cumulus_pallet_xcmp_queue.rs +// --output +// runtime/hydradx/src/weights/cumulus_pallet_xcmp_queue.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -52,54 +58,54 @@ pub struct WeightInfo(PhantomData); pub struct HydraWeight(PhantomData); impl cumulus_pallet_xcmp_queue::WeightInfo for HydraWeight { /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) - /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) fn set_config_with_u32() -> Weight { // Proof Size summary in bytes: // Measured: `142` - // Estimated: `1627` - // Minimum execution time: 5_588_000 picoseconds. - Weight::from_parts(5_774_000, 1627) + // Estimated: `1497` + // Minimum execution time: 7_314_000 picoseconds. + Weight::from_parts(7_444_000, 1497) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) - /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) /// 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::InboundXcmpSuspended` (r:1 w:0) - /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// 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(134193), added: 136668, mode: `MaxEncodedLen`) fn enqueue_xcmp_message() -> Weight { // Proof Size summary in bytes: // Measured: `218` - // Estimated: `3517` - // Minimum execution time: 16_526_000 picoseconds. - Weight::from_parts(16_912_000, 3517) + // Estimated: `5487` + // Minimum execution time: 19_130_000 picoseconds. + Weight::from_parts(19_427_000, 5487) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) - /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) fn suspend_channel() -> Weight { // Proof Size summary in bytes: // Measured: `142` - // Estimated: `1627` - // Minimum execution time: 2_964_000 picoseconds. - Weight::from_parts(3_153_000, 1627) + // Estimated: `2767` + // Minimum execution time: 4_339_000 picoseconds. + Weight::from_parts(4_473_000, 2767) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) - /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) fn resume_channel() -> Weight { // Proof Size summary in bytes: // Measured: `177` - // Estimated: `1662` - // Minimum execution time: 3_771_000 picoseconds. - Weight::from_parts(3_917_000, 1662) + // Estimated: `2767` + // Minimum execution time: 5_631_000 picoseconds. + Weight::from_parts(5_785_000, 2767) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -107,8 +113,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_409_000 picoseconds. - Weight::from_parts(10_518_000, 0) + // Minimum execution time: 10_463_000 picoseconds. + Weight::from_parts(10_623_000, 0) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) @@ -119,17 +125,17 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for HydraWei /// 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`: None, mode: `Measured`) + /// 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`: None, mode: `Measured`) + /// 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(134193), added: 136668, mode: `MaxEncodedLen`) fn on_idle_good_msg() -> Weight { // Proof Size summary in bytes: // Measured: `134455` // Estimated: `137920` - // Minimum execution time: 205_692_000 picoseconds. - Weight::from_parts(207_335_000, 137920) + // Minimum execution time: 221_892_000 picoseconds. + Weight::from_parts(223_025_000, 137920) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -142,17 +148,17 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for HydraWei /// 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`: None, mode: `Measured`) + /// 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`: None, mode: `Measured`) + /// 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(134193), added: 136668, mode: `MaxEncodedLen`) fn on_idle_large_msg() -> Weight { // Proof Size summary in bytes: // Measured: `65852` // Estimated: `69317` - // Minimum execution time: 118_408_000 picoseconds. - Weight::from_parts(119_041_000, 69317) + // Minimum execution time: 129_300_000 picoseconds. + Weight::from_parts(130_100_000, 69317) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } diff --git a/runtime/hydradx/src/weights/frame_system.rs b/runtime/hydradx/src/weights/frame_system.rs index 3ba4c3f7fd..f59eef37a2 100644 --- a/runtime/hydradx/src/weights/frame_system.rs +++ b/runtime/hydradx/src/weights/frame_system.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `frame_system` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=frame-system -// --extrinsic=* +// --pallet +// frame-system +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/frame_system.rs +// --output +// runtime/hydradx/src/weights/frame_system.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -56,20 +62,20 @@ impl frame_system::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_885_000 picoseconds. - Weight::from_parts(2_932_000, 0) + // Minimum execution time: 3_472_000 picoseconds. + Weight::from_parts(3_553_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(370, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(413, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_544_000 picoseconds. - Weight::from_parts(7_664_000, 0) + // Minimum execution time: 8_532_000 picoseconds. + Weight::from_parts(8_715_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_403, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(1_447, 0).saturating_mul(b.into())) } /// Storage: `System::Digest` (r:1 w:1) /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -79,8 +85,8 @@ impl frame_system::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 4_923_000 picoseconds. - Weight::from_parts(5_041_000, 1485) + // Minimum execution time: 6_104_000 picoseconds. + Weight::from_parts(6_277_000, 1485) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -98,10 +104,10 @@ impl frame_system::WeightInfo for HydraWeight { /// Proof: `ParachainSystem::DidSetValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_code() -> Weight { // Proof Size summary in bytes: - // Measured: `198` - // Estimated: `1683` - // Minimum execution time: 119_876_461_000 picoseconds. - Weight::from_parts(122_560_761_000, 1683) + // Measured: `231` + // Estimated: `1716` + // Minimum execution time: 119_857_245_000 picoseconds. + Weight::from_parts(121_256_023_000, 1716) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -112,10 +118,10 @@ impl frame_system::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_996_000 picoseconds. - Weight::from_parts(3_063_000, 0) - // Standard Error: 1_882 - .saturating_add(Weight::from_parts(735_848, 0).saturating_mul(i.into())) + // Minimum execution time: 3_440_000 picoseconds. + Weight::from_parts(3_509_000, 0) + // Standard Error: 2_227 + .saturating_add(Weight::from_parts(784_385, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -125,10 +131,10 @@ impl frame_system::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_031_000 picoseconds. - Weight::from_parts(3_138_000, 0) - // Standard Error: 763 - .saturating_add(Weight::from_parts(528_428, 0).saturating_mul(i.into())) + // Minimum execution time: 3_392_000 picoseconds. + Weight::from_parts(3_480_000, 0) + // Standard Error: 837 + .saturating_add(Weight::from_parts(565_627, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -136,12 +142,12 @@ impl frame_system::WeightInfo for HydraWeight { /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `173 + p * (69 ±0)` - // Estimated: `153 + p * (70 ±0)` - // Minimum execution time: 5_859_000 picoseconds. - Weight::from_parts(5_935_000, 153) - // Standard Error: 929 - .saturating_add(Weight::from_parts(991_213, 0).saturating_mul(p.into())) + // Measured: `180 + p * (69 ±0)` + // Estimated: `159 + p * (70 ±0)` + // Minimum execution time: 6_249_000 picoseconds. + Weight::from_parts(6_517_000, 159) + // Standard Error: 981 + .saturating_add(Weight::from_parts(1_174_001, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) @@ -152,8 +158,8 @@ impl frame_system::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_973_000 picoseconds. - Weight::from_parts(10_773_000, 0) + // Minimum execution time: 11_034_000 picoseconds. + Weight::from_parts(11_547_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `System::AuthorizedUpgrade` (r:1 w:1) @@ -172,10 +178,10 @@ impl frame_system::WeightInfo for HydraWeight { /// Proof: `ParachainSystem::DidSetValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn apply_authorized_upgrade() -> Weight { // Proof Size summary in bytes: - // Measured: `220` - // Estimated: `1705` - // Minimum execution time: 117_746_207_000 picoseconds. - Weight::from_parts(120_783_937_000, 1705) + // Measured: `253` + // Estimated: `1738` + // Minimum execution time: 119_474_305_000 picoseconds. + Weight::from_parts(122_060_855_000, 1738) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } diff --git a/runtime/hydradx/src/weights/orml_tokens.rs b/runtime/hydradx/src/weights/orml_tokens.rs index b62573ca0f..89ad1e5aff 100644 --- a/runtime/hydradx/src/weights/orml_tokens.rs +++ b/runtime/hydradx/src/weights/orml_tokens.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `orml_tokens` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=orml-tokens -// --extrinsic=* +// --pallet +// orml-tokens +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/orml_tokens.rs +// --output +// runtime/hydradx/src/weights/orml_tokens.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -51,157 +57,197 @@ pub struct WeightInfo(PhantomData); /// Weights for `orml_tokens` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl orml_tokens::WeightInfo for HydraWeight { - /// Storage: `Router::SkipEd` (r:1 w:0) - /// Proof: `Router::SkipEd` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) - /// Storage: `Duster::AccountBlacklist` (r:1 w:0) - /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) - /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:4 w:4) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:3 w:0) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencyPrice` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencyPrice` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:3 w:3) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:2 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `Balances::Locks` (r:1 w:1) - /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) - /// Storage: `Balances::Freezes` (r:1 w:0) - /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::ExistentialDepositCounter` (r:1 w:1) - /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - fn transfer() -> Weight { - // Proof Size summary in bytes: - // Measured: `3409` - // Estimated: `11322` - // Minimum execution time: 237_730_000 picoseconds. - Weight::from_parts(239_119_000, 11322) - .saturating_add(T::DbWeight::get().reads(22_u64)) - .saturating_add(T::DbWeight::get().writes(9_u64)) - } - /// Storage: `Tokens::Accounts` (r:4 w:4) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:3 w:3) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Router::SkipEd` (r:1 w:0) - /// Proof: `Router::SkipEd` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) - /// Storage: `Duster::AccountBlacklist` (r:1 w:0) - /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) - /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:3 w:0) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencyPrice` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencyPrice` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:2 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `Balances::Locks` (r:1 w:1) - /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) - /// Storage: `Balances::Freezes` (r:1 w:0) - /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::ExistentialDepositCounter` (r:1 w:1) - /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - fn transfer_all() -> Weight { - // Proof Size summary in bytes: - // Measured: `3461` - // Estimated: `11322` - // Minimum execution time: 241_359_000 picoseconds. - Weight::from_parts(242_887_000, 11322) - .saturating_add(T::DbWeight::get().reads(22_u64)) - .saturating_add(T::DbWeight::get().writes(9_u64)) - } - /// Storage: `Router::SkipEd` (r:1 w:0) - /// Proof: `Router::SkipEd` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) - /// Storage: `Duster::AccountBlacklist` (r:1 w:0) - /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) - /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:4 w:4) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:3 w:0) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencyPrice` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencyPrice` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:3 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:2 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `Balances::Locks` (r:1 w:1) - /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) - /// Storage: `Balances::Freezes` (r:1 w:0) - /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::ExistentialDepositCounter` (r:1 w:1) - /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - fn transfer_keep_alive() -> Weight { - // Proof Size summary in bytes: - // Measured: `3459` - // Estimated: `11322` - // Minimum execution time: 166_510_000 picoseconds. - Weight::from_parts(167_910_000, 11322) - .saturating_add(T::DbWeight::get().reads(22_u64)) - .saturating_add(T::DbWeight::get().writes(8_u64)) - } - /// Storage: `Router::SkipEd` (r:1 w:0) - /// Proof: `Router::SkipEd` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) - /// Storage: `Duster::AccountBlacklist` (r:1 w:0) - /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) - /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:4 w:4) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:3 w:0) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencyPrice` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencyPrice` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:3 w:3) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:2 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `Balances::Locks` (r:1 w:1) - /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) - /// Storage: `Balances::Freezes` (r:1 w:0) - /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::ExistentialDepositCounter` (r:1 w:1) - /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - fn force_transfer() -> Weight { - // Proof Size summary in bytes: - // Measured: `3461` - // Estimated: `11322` - // Minimum execution time: 238_730_000 picoseconds. - Weight::from_parts(240_390_000, 11322) - .saturating_add(T::DbWeight::get().reads(22_u64)) - .saturating_add(T::DbWeight::get().writes(9_u64)) - } - /// Storage: `Tokens::Accounts` (r:1 w:1) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) - /// Storage: `Tokens::TotalIssuance` (r:1 w:1) - /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - fn set_balance() -> Weight { - // Proof Size summary in bytes: - // Measured: `2209` - // Estimated: `3593` - // Minimum execution time: 55_376_000 picoseconds. - Weight::from_parts(56_132_000, 3593) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) - } + /// Storage: `Router::SkipEd` (r:1 w:0) + /// Proof: `Router::SkipEd` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:2 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:3 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:6 w:6) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:3 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:3 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) + /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) + /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencyPrice` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencyPrice` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `XYK::ShareToken` (r:1 w:0) + /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:4 w:3) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:2 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::WhitelistedAssets` (r:1 w:0) + /// Proof: `EmaOracle::WhitelistedAssets` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`) + /// Storage: `Broadcast::ExecutionContext` (r:1 w:0) + /// Proof: `Broadcast::ExecutionContext` (`max_values`: Some(1), `max_size`: Some(593), added: 1088, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::ExistentialDepositCounter` (r:1 w:1) + /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + fn transfer() -> Weight { + // Proof Size summary in bytes: + // Measured: `4604` + // Estimated: `16488` + // Minimum execution time: 405_782_000 picoseconds. + Weight::from_parts(408_634_000, 16488) + .saturating_add(T::DbWeight::get().reads(33_u64)) + .saturating_add(T::DbWeight::get().writes(11_u64)) + } + /// Storage: `Tokens::Accounts` (r:6 w:6) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:4 w:3) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Router::SkipEd` (r:1 w:0) + /// Proof: `Router::SkipEd` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:2 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:3 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:3 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:3 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) + /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) + /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencyPrice` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencyPrice` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `XYK::ShareToken` (r:1 w:0) + /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:2 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::WhitelistedAssets` (r:1 w:0) + /// Proof: `EmaOracle::WhitelistedAssets` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`) + /// Storage: `Broadcast::ExecutionContext` (r:1 w:0) + /// Proof: `Broadcast::ExecutionContext` (`max_values`: Some(1), `max_size`: Some(593), added: 1088, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::ExistentialDepositCounter` (r:1 w:1) + /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + fn transfer_all() -> Weight { + // Proof Size summary in bytes: + // Measured: `4656` + // Estimated: `16488` + // Minimum execution time: 411_575_000 picoseconds. + Weight::from_parts(413_001_000, 16488) + .saturating_add(T::DbWeight::get().reads(33_u64)) + .saturating_add(T::DbWeight::get().writes(11_u64)) + } + /// Storage: `Router::SkipEd` (r:1 w:0) + /// Proof: `Router::SkipEd` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:2 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:3 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:6 w:6) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:3 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:3 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) + /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) + /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencyPrice` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencyPrice` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `XYK::ShareToken` (r:1 w:0) + /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:4 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:2 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::WhitelistedAssets` (r:1 w:0) + /// Proof: `EmaOracle::WhitelistedAssets` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`) + /// Storage: `Broadcast::ExecutionContext` (r:1 w:0) + /// Proof: `Broadcast::ExecutionContext` (`max_values`: Some(1), `max_size`: Some(593), added: 1088, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::ExistentialDepositCounter` (r:1 w:1) + /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + fn transfer_keep_alive() -> Weight { + // Proof Size summary in bytes: + // Measured: `4654` + // Estimated: `16488` + // Minimum execution time: 332_550_000 picoseconds. + Weight::from_parts(334_742_000, 16488) + .saturating_add(T::DbWeight::get().reads(33_u64)) + .saturating_add(T::DbWeight::get().writes(10_u64)) + } + /// Storage: `Router::SkipEd` (r:1 w:0) + /// Proof: `Router::SkipEd` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:2 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:3 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:6 w:6) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:3 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:3 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) + /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) + /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencyPrice` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencyPrice` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `XYK::ShareToken` (r:1 w:0) + /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:4 w:3) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:2 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::WhitelistedAssets` (r:1 w:0) + /// Proof: `EmaOracle::WhitelistedAssets` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`) + /// Storage: `Broadcast::ExecutionContext` (r:1 w:0) + /// Proof: `Broadcast::ExecutionContext` (`max_values`: Some(1), `max_size`: Some(593), added: 1088, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::ExistentialDepositCounter` (r:1 w:1) + /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + fn force_transfer() -> Weight { + // Proof Size summary in bytes: + // Measured: `4656` + // Estimated: `16488` + // Minimum execution time: 408_407_000 picoseconds. + Weight::from_parts(411_968_000, 16488) + .saturating_add(T::DbWeight::get().reads(33_u64)) + .saturating_add(T::DbWeight::get().writes(11_u64)) + } + /// Storage: `Tokens::Accounts` (r:1 w:1) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + fn set_balance() -> Weight { + // Proof Size summary in bytes: + // Measured: `2275` + // Estimated: `3593` + // Minimum execution time: 71_418_000 picoseconds. + Weight::from_parts(72_370_000, 3593) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/orml_vesting.rs b/runtime/hydradx/src/weights/orml_vesting.rs index 20bb588d3d..2b311cb088 100644 --- a/runtime/hydradx/src/weights/orml_vesting.rs +++ b/runtime/hydradx/src/weights/orml_vesting.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `orml_vesting` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=orml-vesting -// --extrinsic=* +// --pallet +// orml-vesting +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/orml_vesting.rs +// --output +// runtime/hydradx/src/weights/orml_vesting.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -63,8 +69,8 @@ impl orml_vesting::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1884` // Estimated: `6315` - // Minimum execution time: 95_162_000 picoseconds. - Weight::from_parts(96_298_000, 6315) + // Minimum execution time: 108_776_000 picoseconds. + Weight::from_parts(110_071_000, 6315) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -79,10 +85,10 @@ impl orml_vesting::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `2003 + i * (18 ±0)` // Estimated: `6315` - // Minimum execution time: 54_205_000 picoseconds. - Weight::from_parts(55_514_086, 6315) - // Standard Error: 675 - .saturating_add(Weight::from_parts(102_635, 0).saturating_mul(i.into())) + // Minimum execution time: 65_325_000 picoseconds. + Weight::from_parts(67_834_449, 6315) + // Standard Error: 547 + .saturating_add(Weight::from_parts(99_930, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -99,10 +105,10 @@ impl orml_vesting::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1585` // Estimated: `4764` - // Minimum execution time: 46_304_000 picoseconds. - Weight::from_parts(47_432_665, 4764) - // Standard Error: 352 - .saturating_add(Weight::from_parts(101_939, 0).saturating_mul(i.into())) + // Minimum execution time: 56_291_000 picoseconds. + Weight::from_parts(57_529_157, 4764) + // Standard Error: 415 + .saturating_add(Weight::from_parts(97_493, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } diff --git a/runtime/hydradx/src/weights/pallet_asset_registry.rs b/runtime/hydradx/src/weights/pallet_asset_registry.rs index 4021e76d92..f746dfd10d 100644 --- a/runtime/hydradx/src/weights/pallet_asset_registry.rs +++ b/runtime/hydradx/src/weights/pallet_asset_registry.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_asset_registry` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-asset-registry -// --extrinsic=* +// --pallet +// pallet-asset-registry +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_asset_registry.rs +// --output +// runtime/hydradx/src/weights/pallet_asset_registry.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -57,16 +63,20 @@ impl pallet_asset_registry::WeightInfo for HydraWeight< /// Proof: `AssetRegistry::AssetIds` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::LocationAssets` (r:1 w:1) /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `EVM::AccountCodesMetadata` (r:0 w:1) + /// Proof: `EVM::AccountCodesMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `EVM::AccountCodes` (r:0 w:1) + /// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `AssetRegistry::AssetLocations` (r:0 w:1) /// Proof: `AssetRegistry::AssetLocations` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) fn register() -> Weight { // Proof Size summary in bytes: // Measured: `388` // Estimated: `4087` - // Minimum execution time: 33_913_000 picoseconds. - Weight::from_parts(34_365_000, 4087) + // Minimum execution time: 46_285_000 picoseconds. + Weight::from_parts(46_956_000, 4087) .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: `AssetRegistry::Assets` (r:1 w:1) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) @@ -80,8 +90,8 @@ impl pallet_asset_registry::WeightInfo for HydraWeight< // Proof Size summary in bytes: // Measured: `617` // Estimated: `4087` - // Minimum execution time: 41_632_000 picoseconds. - Weight::from_parts(42_099_000, 4087) + // Minimum execution time: 48_607_000 picoseconds. + Weight::from_parts(49_268_000, 4087) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -89,6 +99,10 @@ impl pallet_asset_registry::WeightInfo for HydraWeight< /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::LocationAssets` (r:1 w:1) /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `EVM::AccountCodesMetadata` (r:0 w:1) + /// Proof: `EVM::AccountCodesMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `EVM::AccountCodes` (r:0 w:1) + /// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `AssetRegistry::AssetLocations` (r:0 w:1) /// Proof: `AssetRegistry::AssetLocations` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:0 w:1) @@ -97,10 +111,10 @@ impl pallet_asset_registry::WeightInfo for HydraWeight< // Proof Size summary in bytes: // Measured: `301` // Estimated: `4087` - // Minimum execution time: 24_252_000 picoseconds. - Weight::from_parts(24_741_000, 4087) + // Minimum execution time: 34_551_000 picoseconds. + Weight::from_parts(34_809_000, 4087) .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: `AssetRegistry::Assets` (r:1 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) @@ -110,8 +124,8 @@ impl pallet_asset_registry::WeightInfo for HydraWeight< // Proof Size summary in bytes: // Measured: `427` // Estimated: `3590` - // Minimum execution time: 17_713_000 picoseconds. - Weight::from_parts(17_997_000, 3590) + // Minimum execution time: 22_549_000 picoseconds. + Weight::from_parts(22_880_000, 3590) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -121,8 +135,8 @@ impl pallet_asset_registry::WeightInfo for HydraWeight< // Proof Size summary in bytes: // Measured: `320` // Estimated: `3485` - // Minimum execution time: 14_812_000 picoseconds. - Weight::from_parts(15_117_000, 3485) + // Minimum execution time: 18_571_000 picoseconds. + Weight::from_parts(18_905_000, 3485) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/runtime/hydradx/src/weights/pallet_balances.rs b/runtime/hydradx/src/weights/pallet_balances.rs index bb5b632d82..1ca12b23ac 100644 --- a/runtime/hydradx/src/weights/pallet_balances.rs +++ b/runtime/hydradx/src/weights/pallet_balances.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_balances` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-balances -// --extrinsic=* +// --pallet +// pallet-balances +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_balances.rs +// --output +// runtime/hydradx/src/weights/pallet_balances.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -57,8 +63,8 @@ impl pallet_balances::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `103` // Estimated: `6196` - // Minimum execution time: 72_733_000 picoseconds. - Weight::from_parts(73_054_000, 6196) + // Minimum execution time: 77_838_000 picoseconds. + Weight::from_parts(78_402_000, 6196) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -68,8 +74,8 @@ impl pallet_balances::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 45_382_000 picoseconds. - Weight::from_parts(45_678_000, 3593) + // Minimum execution time: 47_958_000 picoseconds. + Weight::from_parts(48_400_000, 3593) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -79,8 +85,8 @@ impl pallet_balances::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` - // Minimum execution time: 19_099_000 picoseconds. - Weight::from_parts(19_395_000, 3593) + // Minimum execution time: 21_711_000 picoseconds. + Weight::from_parts(21_990_000, 3593) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -90,8 +96,8 @@ impl pallet_balances::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` - // Minimum execution time: 25_029_000 picoseconds. - Weight::from_parts(25_720_000, 3593) + // Minimum execution time: 30_734_000 picoseconds. + Weight::from_parts(31_230_000, 3593) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -101,8 +107,8 @@ impl pallet_balances::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `206` // Estimated: `8799` - // Minimum execution time: 74_509_000 picoseconds. - Weight::from_parts(75_092_000, 8799) + // Minimum execution time: 79_726_000 picoseconds. + Weight::from_parts(80_385_000, 8799) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -112,8 +118,8 @@ impl pallet_balances::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 56_492_000 picoseconds. - Weight::from_parts(56_941_000, 3593) + // Minimum execution time: 58_901_000 picoseconds. + Weight::from_parts(59_422_000, 3593) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -123,8 +129,8 @@ impl pallet_balances::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` - // Minimum execution time: 21_953_000 picoseconds. - Weight::from_parts(22_376_000, 3593) + // Minimum execution time: 24_892_000 picoseconds. + Weight::from_parts(25_263_000, 3593) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -135,10 +141,10 @@ impl pallet_balances::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0 + u * (136 ±0)` // Estimated: `990 + u * (2603 ±0)` - // Minimum execution time: 20_359_000 picoseconds. - Weight::from_parts(20_523_000, 990) - // Standard Error: 9_802 - .saturating_add(Weight::from_parts(15_242_065, 0).saturating_mul(u.into())) + // Minimum execution time: 22_807_000 picoseconds. + Weight::from_parts(22_980_000, 990) + // Standard Error: 9_822 + .saturating_add(Weight::from_parts(16_581_120, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into())) @@ -149,8 +155,26 @@ impl pallet_balances::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1501` - // Minimum execution time: 8_031_000 picoseconds. - Weight::from_parts(8_333_000, 1501) + // Minimum execution time: 9_615_000 picoseconds. + Weight::from_parts(9_755_000, 1501) .saturating_add(T::DbWeight::get().reads(1_u64)) } + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn burn_allow_death() -> Weight { + // Proof Size summary in bytes: + // Measured: `103` + // Estimated: `3593` + // Minimum execution time: 56_461_000 picoseconds. + Weight::from_parts(56_920_000, 3593) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + fn burn_keep_alive() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 26_666_000 picoseconds. + Weight::from_parts(27_092_000, 0) + } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_bonds.rs b/runtime/hydradx/src/weights/pallet_bonds.rs index e28d3642f6..a98e7dae5c 100644 --- a/runtime/hydradx/src/weights/pallet_bonds.rs +++ b/runtime/hydradx/src/weights/pallet_bonds.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_bonds` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-bonds -// --extrinsic=* +// --pallet +// pallet-bonds +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_bonds.rs +// --output +// runtime/hydradx/src/weights/pallet_bonds.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -79,25 +85,29 @@ impl pallet_bonds::WeightInfo for HydraWeight { /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EVM::AccountCodesMetadata` (r:0 w:1) + /// Proof: `EVM::AccountCodesMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `EVM::AccountCodes` (r:0 w:1) + /// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Bonds::Bonds` (r:0 w:1) /// Proof: `Bonds::Bonds` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) fn issue() -> Weight { // Proof Size summary in bytes: - // Measured: `1393` + // Measured: `1493` // Estimated: `8799` - // Minimum execution time: 238_932_000 picoseconds. - Weight::from_parts(240_147_000, 8799) + // Minimum execution time: 274_963_000 picoseconds. + Weight::from_parts(276_452_000, 8799) .saturating_add(T::DbWeight::get().reads(16_u64)) - .saturating_add(T::DbWeight::get().writes(12_u64)) + .saturating_add(T::DbWeight::get().writes(14_u64)) } /// Storage: `Bonds::Bonds` (r:1 w:0) /// Proof: `Bonds::Bonds` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) /// Storage: `Timestamp::Now` (r:1 w:0) /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:1 w:1) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:1 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:1 w:1) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:3) @@ -114,10 +124,10 @@ impl pallet_bonds::WeightInfo for HydraWeight { /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn redeem() -> Weight { // Proof Size summary in bytes: - // Measured: `2018` + // Measured: `2118` // Estimated: `8799` - // Minimum execution time: 180_029_000 picoseconds. - Weight::from_parts(181_146_000, 8799) + // Minimum execution time: 203_892_000 picoseconds. + Weight::from_parts(205_680_000, 8799) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } diff --git a/runtime/hydradx/src/weights/pallet_circuit_breaker.rs b/runtime/hydradx/src/weights/pallet_circuit_breaker.rs index ec2170722c..d8bf810a42 100644 --- a/runtime/hydradx/src/weights/pallet_circuit_breaker.rs +++ b/runtime/hydradx/src/weights/pallet_circuit_breaker.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_circuit_breaker` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-circuit-breaker -// --extrinsic=* +// --pallet +// pallet-circuit-breaker +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_circuit_breaker.rs +// --output +// runtime/hydradx/src/weights/pallet_circuit_breaker.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -57,32 +63,32 @@ impl pallet_circuit_breaker::WeightInfo for HydraWeight // Proof Size summary in bytes: // Measured: `64 + m * (113 ±0) + n * (56 ±0)` // Estimated: `0` - // Minimum execution time: 316_267_000 picoseconds. - Weight::from_parts(317_103_000, 0) - // Standard Error: 9_174 - .saturating_add(Weight::from_parts(277_948, 0).saturating_mul(n.into())) - // Standard Error: 9_174 - .saturating_add(Weight::from_parts(1_071_388, 0).saturating_mul(m.into())) + // Minimum execution time: 381_019_000 picoseconds. + Weight::from_parts(384_153_000, 0) + // Standard Error: 11_622 + .saturating_add(Weight::from_parts(340_108, 0).saturating_mul(n.into())) + // Standard Error: 11_622 + .saturating_add(Weight::from_parts(1_222_045, 0).saturating_mul(m.into())) } fn on_finalize_single_liquidity_limit_entry() -> Weight { // Proof Size summary in bytes: // Measured: `208` // Estimated: `0` - // Minimum execution time: 8_606_000 picoseconds. - Weight::from_parts(8_803_000, 0) + // Minimum execution time: 8_868_000 picoseconds. + Weight::from_parts(9_005_000, 0) } fn on_finalize_single_trade_limit_entry() -> Weight { // Proof Size summary in bytes: // Measured: `208` // Estimated: `0` - // Minimum execution time: 8_600_000 picoseconds. - Weight::from_parts(8_907_000, 0) + // Minimum execution time: 8_892_000 picoseconds. + Weight::from_parts(9_002_000, 0) } fn on_finalize_empty() -> Weight { // Proof Size summary in bytes: // Measured: `208` // Estimated: `0` - // Minimum execution time: 8_524_000 picoseconds. + // Minimum execution time: 8_723_000 picoseconds. Weight::from_parts(8_933_000, 0) } /// Storage: `CircuitBreaker::TradeVolumeLimitPerAsset` (r:0 w:1) @@ -91,8 +97,8 @@ impl pallet_circuit_breaker::WeightInfo for HydraWeight // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_168_000 picoseconds. - Weight::from_parts(9_490_000, 0) + // Minimum execution time: 10_235_000 picoseconds. + Weight::from_parts(10_328_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:0 w:1) @@ -101,8 +107,8 @@ impl pallet_circuit_breaker::WeightInfo for HydraWeight // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_747_000 picoseconds. - Weight::from_parts(9_167_000, 0) + // Minimum execution time: 9_986_000 picoseconds. + Weight::from_parts(10_344_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:0 w:1) @@ -111,8 +117,8 @@ impl pallet_circuit_breaker::WeightInfo for HydraWeight // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_922_000 picoseconds. - Weight::from_parts(9_161_000, 0) + // Minimum execution time: 9_986_000 picoseconds. + Weight::from_parts(10_161_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) @@ -127,8 +133,8 @@ impl pallet_circuit_breaker::WeightInfo for HydraWeight // Proof Size summary in bytes: // Measured: `262` // Estimated: `3517` - // Minimum execution time: 20_217_000 picoseconds. - Weight::from_parts(20_416_000, 3517) + // Minimum execution time: 22_617_000 picoseconds. + Weight::from_parts(22_972_000, 3517) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -144,8 +150,8 @@ impl pallet_circuit_breaker::WeightInfo for HydraWeight // Proof Size summary in bytes: // Measured: `208` // Estimated: `3517` - // Minimum execution time: 17_362_000 picoseconds. - Weight::from_parts(17_585_000, 3517) + // Minimum execution time: 19_124_000 picoseconds. + Weight::from_parts(19_376_000, 3517) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -157,8 +163,8 @@ impl pallet_circuit_breaker::WeightInfo for HydraWeight // Proof Size summary in bytes: // Measured: `208` // Estimated: `6076` - // Minimum execution time: 17_624_000 picoseconds. - Weight::from_parts(17_932_000, 6076) + // Minimum execution time: 19_279_000 picoseconds. + Weight::from_parts(19_540_000, 6076) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } diff --git a/runtime/hydradx/src/weights/pallet_claims.rs b/runtime/hydradx/src/weights/pallet_claims.rs index 995e08f94a..d1c1727d7e 100644 --- a/runtime/hydradx/src/weights/pallet_claims.rs +++ b/runtime/hydradx/src/weights/pallet_claims.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_claims` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-claims -// --extrinsic=* +// --pallet +// pallet-claims +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_claims.rs +// --output +// runtime/hydradx/src/weights/pallet_claims.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -57,10 +63,10 @@ impl pallet_claims::WeightInfo for HydraWeight { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn claim() -> Weight { // Proof Size summary in bytes: - // Measured: `382` + // Measured: `415` // Estimated: `3593` - // Minimum execution time: 69_721_000 picoseconds. - Weight::from_parts(70_317_000, 3593) + // Minimum execution time: 77_320_000 picoseconds. + Weight::from_parts(77_829_000, 3593) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } diff --git a/runtime/hydradx/src/weights/pallet_collator_selection.rs b/runtime/hydradx/src/weights/pallet_collator_selection.rs index 95e988821d..a74a22c234 100644 --- a/runtime/hydradx/src/weights/pallet_collator_selection.rs +++ b/runtime/hydradx/src/weights/pallet_collator_selection.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_collator_selection` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-collator-selection -// --extrinsic=* +// --pallet +// pallet-collator-selection +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_collator_selection.rs +// --output +// runtime/hydradx/src/weights/pallet_collator_selection.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -60,10 +66,10 @@ impl pallet_collator_selection::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `208 + b * (79 ±0)` // Estimated: `1196 + b * (2554 ±0)` - // Minimum execution time: 15_508_000 picoseconds. - Weight::from_parts(14_917_258, 1196) - // Standard Error: 4_177 - .saturating_add(Weight::from_parts(3_179_911, 0).saturating_mul(b.into())) + // Minimum execution time: 18_914_000 picoseconds. + Weight::from_parts(17_141_927, 1196) + // Standard Error: 4_806 + .saturating_add(Weight::from_parts(4_117_550, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 2554).saturating_mul(b.into())) @@ -82,12 +88,12 @@ impl pallet_collator_selection::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `960 + b * (40 ±0) + c * (48 ±0)` // Estimated: `4440 + b * (42 ±0) + c * (47 ±0)` - // Minimum execution time: 45_428_000 picoseconds. - Weight::from_parts(44_858_123, 4440) - // Standard Error: 1_044 - .saturating_add(Weight::from_parts(89_971, 0).saturating_mul(b.into())) - // Standard Error: 2_751 - .saturating_add(Weight::from_parts(34_291, 0).saturating_mul(c.into())) + // Minimum execution time: 52_563_000 picoseconds. + Weight::from_parts(52_119_628, 4440) + // Standard Error: 1_320 + .saturating_add(Weight::from_parts(107_000, 0).saturating_mul(b.into())) + // Standard Error: 3_477 + .saturating_add(Weight::from_parts(38_209, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 42).saturating_mul(b.into())) @@ -102,10 +108,10 @@ impl pallet_collator_selection::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `285 + b * (32 ±0)` // Estimated: `3086` - // Minimum execution time: 15_336_000 picoseconds. - Weight::from_parts(15_669_562, 3086) - // Standard Error: 482 - .saturating_add(Weight::from_parts(39_269, 0).saturating_mul(b.into())) + // Minimum execution time: 18_532_000 picoseconds. + Weight::from_parts(18_737_865, 3086) + // Standard Error: 476 + .saturating_add(Weight::from_parts(44_990, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -115,8 +121,8 @@ impl pallet_collator_selection::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_534_000 picoseconds. - Weight::from_parts(6_746_000, 0) + // Minimum execution time: 7_655_000 picoseconds. + Weight::from_parts(7_871_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:1) @@ -133,12 +139,12 @@ impl pallet_collator_selection::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `0 + c * (179 ±0) + k * (128 ±0)` // Estimated: `3593 + c * (848 ±30) + k * (848 ±30)` - // Minimum execution time: 12_527_000 picoseconds. - Weight::from_parts(12_724_000, 3593) - // Standard Error: 180_183 - .saturating_add(Weight::from_parts(6_143_451, 0).saturating_mul(c.into())) - // Standard Error: 180_183 - .saturating_add(Weight::from_parts(6_008_930, 0).saturating_mul(k.into())) + // Minimum execution time: 16_328_000 picoseconds. + Weight::from_parts(16_663_000, 3593) + // Standard Error: 190_886 + .saturating_add(Weight::from_parts(6_487_132, 0).saturating_mul(c.into())) + // Standard Error: 190_886 + .saturating_add(Weight::from_parts(6_345_616, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) @@ -155,10 +161,10 @@ impl pallet_collator_selection::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `495 + c * (48 ±0)` // Estimated: `2446` - // Minimum execution time: 30_706_000 picoseconds. - Weight::from_parts(31_406_577, 2446) - // Standard Error: 3_667 - .saturating_add(Weight::from_parts(76_610, 0).saturating_mul(c.into())) + // Minimum execution time: 37_276_000 picoseconds. + Weight::from_parts(37_926_481, 2446) + // Standard Error: 4_656 + .saturating_add(Weight::from_parts(69_184, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -177,10 +183,10 @@ impl pallet_collator_selection::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `716 + c * (61 ±0)` // Estimated: `4181 + c * (61 ±0)` - // Minimum execution time: 41_163_000 picoseconds. - Weight::from_parts(42_077_576, 4181) - // Standard Error: 2_295 - .saturating_add(Weight::from_parts(165_977, 0).saturating_mul(c.into())) + // Minimum execution time: 49_122_000 picoseconds. + Weight::from_parts(50_365_256, 4181) + // Standard Error: 2_213 + .saturating_add(Weight::from_parts(167_599, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 61).saturating_mul(c.into())) @@ -202,10 +208,10 @@ impl pallet_collator_selection::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `816 + c * (61 ±0)` // Estimated: `4281 + c * (61 ±0)` - // Minimum execution time: 62_690_000 picoseconds. - Weight::from_parts(63_565_013, 4281) - // Standard Error: 2_956 - .saturating_add(Weight::from_parts(134_919, 0).saturating_mul(c.into())) + // Minimum execution time: 71_496_000 picoseconds. + Weight::from_parts(72_816_896, 4281) + // Standard Error: 2_635 + .saturating_add(Weight::from_parts(151_411, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 61).saturating_mul(c.into())) @@ -221,10 +227,10 @@ impl pallet_collator_selection::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `507 + c * (48 ±0)` // Estimated: `3086` - // Minimum execution time: 35_943_000 picoseconds. - Weight::from_parts(36_613_289, 3086) - // Standard Error: 2_142 - .saturating_add(Weight::from_parts(98_251, 0).saturating_mul(c.into())) + // Minimum execution time: 40_452_000 picoseconds. + Weight::from_parts(41_189_621, 3086) + // Standard Error: 1_628 + .saturating_add(Weight::from_parts(90_174, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -238,8 +244,8 @@ impl pallet_collator_selection::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `192` // Estimated: `6196` - // Minimum execution time: 50_915_000 picoseconds. - Weight::from_parts(51_431_000, 6196) + // Minimum execution time: 56_065_000 picoseconds. + Weight::from_parts(57_197_000, 6196) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -261,10 +267,10 @@ impl pallet_collator_selection::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `464 + c * (98 ±0) + r * (134 ±0)` // Estimated: `3086 + c * (2519 ±0) + r * (2571 ±3)` - // Minimum execution time: 24_333_000 picoseconds. - Weight::from_parts(24_636_000, 3086) - // Standard Error: 307_144 - .saturating_add(Weight::from_parts(13_674_735, 0).saturating_mul(c.into())) + // Minimum execution time: 28_705_000 picoseconds. + Weight::from_parts(29_070_000, 3086) + // Standard Error: 324_655 + .saturating_add(Weight::from_parts(15_294_554, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) diff --git a/runtime/hydradx/src/weights/pallet_collective_council.rs b/runtime/hydradx/src/weights/pallet_collective_council.rs index 30d3f7d59e..1642b22260 100644 --- a/runtime/hydradx/src/weights/pallet_collective_council.rs +++ b/runtime/hydradx/src/weights/pallet_collective_council.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_collective_council` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-collective_council -// --extrinsic=* +// --pallet +// pallet-collective-council +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_collective_council.rs +// --output +// runtime/hydradx/src/weights/pallet_collective_council.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -65,13 +71,13 @@ impl pallet_collective::WeightInfo for HydraWeight { fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (992 ±0) + p * (405 ±0)` - // Estimated: `4558 + m * (591 ±8) + p * (2676 ±3)` - // Minimum execution time: 11_116_000 picoseconds. - Weight::from_parts(11_570_000, 4558) - // Standard Error: 88_060 - .saturating_add(Weight::from_parts(2_599_907, 0).saturating_mul(m.into())) - // Standard Error: 38_594 - .saturating_add(Weight::from_parts(4_022_591, 0).saturating_mul(p.into())) + // Estimated: `4591 + m * (591 ±6) + p * (2676 ±2)` + // Minimum execution time: 14_326_000 picoseconds. + Weight::from_parts(14_549_000, 4591) + // Standard Error: 105_036 + .saturating_add(Weight::from_parts(3_032_122, 0).saturating_mul(m.into())) + // Standard Error: 46_033 + .saturating_add(Weight::from_parts(4_792_765, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -85,14 +91,14 @@ impl pallet_collective::WeightInfo for HydraWeight { /// The range of component `m` is `[1, 13]`. fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `142 + m * (32 ±0)` - // Estimated: `1627 + m * (32 ±0)` - // Minimum execution time: 16_994_000 picoseconds. - Weight::from_parts(17_187_705, 1627) - // Standard Error: 18 - .saturating_add(Weight::from_parts(1_286, 0).saturating_mul(b.into())) - // Standard Error: 1_462 - .saturating_add(Weight::from_parts(23_136, 0).saturating_mul(m.into())) + // Measured: `175 + m * (32 ±0)` + // Estimated: `1660 + m * (32 ±0)` + // Minimum execution time: 20_329_000 picoseconds. + Weight::from_parts(20_312_053, 1660) + // Standard Error: 17 + .saturating_add(Weight::from_parts(1_355, 0).saturating_mul(b.into())) + // Standard Error: 1_418 + .saturating_add(Weight::from_parts(34_226, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -104,14 +110,14 @@ impl pallet_collective::WeightInfo for HydraWeight { /// The range of component `m` is `[1, 13]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `142 + m * (32 ±0)` - // Estimated: `3607 + m * (32 ±0)` - // Minimum execution time: 20_581_000 picoseconds. - Weight::from_parts(20_591_706, 3607) - // Standard Error: 19 - .saturating_add(Weight::from_parts(1_417, 0).saturating_mul(b.into())) - // Standard Error: 1_550 - .saturating_add(Weight::from_parts(29_117, 0).saturating_mul(m.into())) + // Measured: `175 + m * (32 ±0)` + // Estimated: `3640 + m * (32 ±0)` + // Minimum execution time: 24_358_000 picoseconds. + Weight::from_parts(24_413_903, 3640) + // Standard Error: 16 + .saturating_add(Weight::from_parts(1_300, 0).saturating_mul(b.into())) + // Standard Error: 1_353 + .saturating_add(Weight::from_parts(32_037, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -130,14 +136,14 @@ impl pallet_collective::WeightInfo for HydraWeight { /// The range of component `p` is `[1, 30]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `240 + m * (32 ±0) + p * (47 ±0)` - // Estimated: `3698 + m * (33 ±0) + p * (47 ±0)` - // Minimum execution time: 26_450_000 picoseconds. - Weight::from_parts(26_951_580, 3698) - // Standard Error: 55 - .saturating_add(Weight::from_parts(2_293, 0).saturating_mul(b.into())) - // Standard Error: 1_923 - .saturating_add(Weight::from_parts(264_030, 0).saturating_mul(p.into())) + // Measured: `273 + m * (32 ±0) + p * (47 ±0)` + // Estimated: `3731 + m * (33 ±0) + p * (47 ±0)` + // Minimum execution time: 30_038_000 picoseconds. + Weight::from_parts(31_636_315, 3731) + // Standard Error: 72 + .saturating_add(Weight::from_parts(2_631, 0).saturating_mul(b.into())) + // Standard Error: 2_511 + .saturating_add(Weight::from_parts(299_200, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) @@ -150,12 +156,12 @@ impl pallet_collective::WeightInfo for HydraWeight { /// The range of component `m` is `[5, 13]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `676 + m * (64 ±0)` - // Estimated: `4141 + m * (64 ±0)` - // Minimum execution time: 22_681_000 picoseconds. - Weight::from_parts(23_021_649, 4141) - // Standard Error: 1_771 - .saturating_add(Weight::from_parts(41_632, 0).saturating_mul(m.into())) + // Measured: `709 + m * (64 ±0)` + // Estimated: `4174 + m * (64 ±0)` + // Minimum execution time: 27_421_000 picoseconds. + Weight::from_parts(27_955_169, 4174) + // Standard Error: 2_276 + .saturating_add(Weight::from_parts(35_166, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) @@ -172,14 +178,14 @@ impl pallet_collective::WeightInfo for HydraWeight { /// The range of component `p` is `[1, 30]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `230 + m * (64 ±0) + p * (46 ±0)` - // Estimated: `3706 + m * (73 ±0) + p * (44 ±0)` - // Minimum execution time: 27_035_000 picoseconds. - Weight::from_parts(27_763_225, 3706) - // Standard Error: 4_535 - .saturating_add(Weight::from_parts(66_672, 0).saturating_mul(m.into())) - // Standard Error: 1_466 - .saturating_add(Weight::from_parts(225_668, 0).saturating_mul(p.into())) + // Measured: `263 + m * (64 ±0) + p * (46 ±0)` + // Estimated: `3739 + m * (73 ±0) + p * (44 ±0)` + // Minimum execution time: 32_039_000 picoseconds. + Weight::from_parts(32_969_882, 3739) + // Standard Error: 5_293 + .saturating_add(Weight::from_parts(71_386, 0).saturating_mul(m.into())) + // Standard Error: 1_711 + .saturating_add(Weight::from_parts(230_196, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 73).saturating_mul(m.into())) @@ -198,16 +204,16 @@ impl pallet_collective::WeightInfo for HydraWeight { /// The range of component `p` is `[1, 30]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `287 + b * (1 ±0) + m * (64 ±0) + p * (63 ±0)` - // Estimated: `3673 + b * (1 ±0) + m * (79 ±0) + p * (60 ±0)` - // Minimum execution time: 39_442_000 picoseconds. - Weight::from_parts(40_446_745, 3673) - // Standard Error: 88 - .saturating_add(Weight::from_parts(737, 0).saturating_mul(b.into())) - // Standard Error: 9_477 - .saturating_add(Weight::from_parts(64_747, 0).saturating_mul(m.into())) - // Standard Error: 3_069 - .saturating_add(Weight::from_parts(255_543, 0).saturating_mul(p.into())) + // Measured: `320 + b * (1 ±0) + m * (64 ±0) + p * (63 ±0)` + // Estimated: `3706 + b * (1 ±0) + m * (79 ±0) + p * (60 ±0)` + // Minimum execution time: 45_045_000 picoseconds. + Weight::from_parts(45_831_190, 3706) + // Standard Error: 117 + .saturating_add(Weight::from_parts(1_152, 0).saturating_mul(b.into())) + // Standard Error: 12_557 + .saturating_add(Weight::from_parts(89_394, 0).saturating_mul(m.into())) + // Standard Error: 4_067 + .saturating_add(Weight::from_parts(290_922, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) @@ -228,14 +234,14 @@ impl pallet_collective::WeightInfo for HydraWeight { /// The range of component `p` is `[1, 30]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `250 + m * (64 ±0) + p * (46 ±0)` - // Estimated: `3726 + m * (73 ±0) + p * (44 ±0)` - // Minimum execution time: 29_257_000 picoseconds. - Weight::from_parts(29_839_843, 3726) - // Standard Error: 4_544 - .saturating_add(Weight::from_parts(71_362, 0).saturating_mul(m.into())) - // Standard Error: 1_469 - .saturating_add(Weight::from_parts(231_125, 0).saturating_mul(p.into())) + // Measured: `283 + m * (64 ±0) + p * (46 ±0)` + // Estimated: `3759 + m * (73 ±0) + p * (44 ±0)` + // Minimum execution time: 34_449_000 picoseconds. + Weight::from_parts(35_189_420, 3759) + // Standard Error: 5_888 + .saturating_add(Weight::from_parts(109_142, 0).saturating_mul(m.into())) + // Standard Error: 1_903 + .saturating_add(Weight::from_parts(238_389, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 73).saturating_mul(m.into())) @@ -256,16 +262,16 @@ impl pallet_collective::WeightInfo for HydraWeight { /// The range of component `p` is `[1, 30]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `307 + b * (1 ±0) + m * (64 ±0) + p * (63 ±0)` - // Estimated: `3693 + b * (1 ±0) + m * (79 ±0) + p * (60 ±0)` - // Minimum execution time: 41_239_000 picoseconds. - Weight::from_parts(42_735_190, 3693) - // Standard Error: 97 - .saturating_add(Weight::from_parts(522, 0).saturating_mul(b.into())) - // Standard Error: 10_447 - .saturating_add(Weight::from_parts(66_882, 0).saturating_mul(m.into())) - // Standard Error: 3_383 - .saturating_add(Weight::from_parts(255_986, 0).saturating_mul(p.into())) + // Measured: `340 + b * (1 ±0) + m * (64 ±0) + p * (63 ±0)` + // Estimated: `3726 + b * (1 ±0) + m * (79 ±0) + p * (60 ±0)` + // Minimum execution time: 47_991_000 picoseconds. + Weight::from_parts(49_281_125, 3726) + // Standard Error: 124 + .saturating_add(Weight::from_parts(687, 0).saturating_mul(b.into())) + // Standard Error: 13_305 + .saturating_add(Weight::from_parts(65_431, 0).saturating_mul(m.into())) + // Standard Error: 4_309 + .saturating_add(Weight::from_parts(290_218, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) @@ -281,12 +287,12 @@ impl pallet_collective::WeightInfo for HydraWeight { /// The range of component `p` is `[1, 30]`. fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `298 + p * (32 ±0)` - // Estimated: `1783 + p * (32 ±0)` - // Minimum execution time: 17_543_000 picoseconds. - Weight::from_parts(18_522_898, 1783) - // Standard Error: 1_533 - .saturating_add(Weight::from_parts(197_867, 0).saturating_mul(p.into())) + // Measured: `331 + p * (32 ±0)` + // Estimated: `1816 + p * (32 ±0)` + // Minimum execution time: 21_251_000 picoseconds. + Weight::from_parts(22_091_346, 1816) + // Standard Error: 1_109 + .saturating_add(Weight::from_parts(185_240, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) diff --git a/runtime/hydradx/src/weights/pallet_collective_technical_committee.rs b/runtime/hydradx/src/weights/pallet_collective_technical_committee.rs index 19d39250f7..7a8de7a856 100644 --- a/runtime/hydradx/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/hydradx/src/weights/pallet_collective_technical_committee.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_collective_technical_committee` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-collective_technical-committee -// --extrinsic=* +// --pallet +// pallet-collective-technical-committee +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_collective_technical_committee.rs +// --output +// runtime/hydradx/src/weights/pallet_collective_technical_committee.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -66,12 +72,12 @@ impl pallet_collective::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0 + m * (672 ±0) + p * (310 ±0)` // Estimated: `4294 + m * (398 ±4) + p * (2601 ±2)` - // Minimum execution time: 9_345_000 picoseconds. - Weight::from_parts(9_522_000, 4294) - // Standard Error: 82_506 - .saturating_add(Weight::from_parts(2_589_250, 0).saturating_mul(m.into())) - // Standard Error: 41_723 - .saturating_add(Weight::from_parts(3_914_618, 0).saturating_mul(p.into())) + // Minimum execution time: 11_518_000 picoseconds. + Weight::from_parts(11_833_000, 4294) + // Standard Error: 99_185 + .saturating_add(Weight::from_parts(2_971_962, 0).saturating_mul(m.into())) + // Standard Error: 50_157 + .saturating_add(Weight::from_parts(4_703_853, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -87,12 +93,12 @@ impl pallet_collective::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `70 + m * (32 ±0)` // Estimated: `1554 + m * (32 ±0)` - // Minimum execution time: 16_228_000 picoseconds. - Weight::from_parts(16_360_050, 1554) - // Standard Error: 17 - .saturating_add(Weight::from_parts(1_363, 0).saturating_mul(b.into())) - // Standard Error: 1_885 - .saturating_add(Weight::from_parts(30_725, 0).saturating_mul(m.into())) + // Minimum execution time: 19_140_000 picoseconds. + Weight::from_parts(19_552_752, 1554) + // Standard Error: 18 + .saturating_add(Weight::from_parts(1_380, 0).saturating_mul(b.into())) + // Standard Error: 1_965 + .saturating_add(Weight::from_parts(15_059, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -106,12 +112,12 @@ impl pallet_collective::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `70 + m * (32 ±0)` // Estimated: `3534 + m * (32 ±0)` - // Minimum execution time: 19_740_000 picoseconds. - Weight::from_parts(19_631_508, 3534) - // Standard Error: 20 - .saturating_add(Weight::from_parts(1_428, 0).saturating_mul(b.into())) - // Standard Error: 2_183 - .saturating_add(Weight::from_parts(55_508, 0).saturating_mul(m.into())) + // Minimum execution time: 23_020_000 picoseconds. + Weight::from_parts(23_298_199, 3534) + // Standard Error: 26 + .saturating_add(Weight::from_parts(1_354, 0).saturating_mul(b.into())) + // Standard Error: 2_821 + .saturating_add(Weight::from_parts(38_980, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -132,14 +138,14 @@ impl pallet_collective::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `177 + m * (32 ±0) + p * (50 ±0)` // Estimated: `3603 + m * (32 ±0) + p * (51 ±0)` - // Minimum execution time: 25_048_000 picoseconds. - Weight::from_parts(25_210_488, 3603) - // Standard Error: 55 - .saturating_add(Weight::from_parts(2_170, 0).saturating_mul(b.into())) - // Standard Error: 6_581 - .saturating_add(Weight::from_parts(13_392, 0).saturating_mul(m.into())) - // Standard Error: 2_898 - .saturating_add(Weight::from_parts(319_885, 0).saturating_mul(p.into())) + // Minimum execution time: 29_016_000 picoseconds. + Weight::from_parts(30_166_783, 3603) + // Standard Error: 80 + .saturating_add(Weight::from_parts(2_094, 0).saturating_mul(b.into())) + // Standard Error: 9_490 + .saturating_add(Weight::from_parts(33_432, 0).saturating_mul(m.into())) + // Standard Error: 4_180 + .saturating_add(Weight::from_parts(317_203, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) @@ -154,10 +160,10 @@ impl pallet_collective::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `538 + m * (64 ±0)` // Estimated: `4003 + m * (64 ±0)` - // Minimum execution time: 21_171_000 picoseconds. - Weight::from_parts(21_451_280, 4003) - // Standard Error: 3_519 - .saturating_add(Weight::from_parts(64_268, 0).saturating_mul(m.into())) + // Minimum execution time: 25_871_000 picoseconds. + Weight::from_parts(26_288_929, 4003) + // Standard Error: 3_446 + .saturating_add(Weight::from_parts(35_507, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) @@ -176,12 +182,12 @@ impl pallet_collective::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `138 + m * (64 ±0) + p * (53 ±0)` // Estimated: `3607 + m * (72 ±0) + p * (51 ±0)` - // Minimum execution time: 25_860_000 picoseconds. - Weight::from_parts(26_325_272, 3607) - // Standard Error: 5_983 - .saturating_add(Weight::from_parts(65_285, 0).saturating_mul(m.into())) - // Standard Error: 2_016 - .saturating_add(Weight::from_parts(292_033, 0).saturating_mul(p.into())) + // Minimum execution time: 30_375_000 picoseconds. + Weight::from_parts(31_506_447, 3607) + // Standard Error: 8_130 + .saturating_add(Weight::from_parts(47_484, 0).saturating_mul(m.into())) + // Standard Error: 2_739 + .saturating_add(Weight::from_parts(278_505, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 72).saturating_mul(m.into())) @@ -202,14 +208,12 @@ impl pallet_collective::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `354 + b * (1 ±0) + m * (64 ±0) + p * (65 ±0)` // Estimated: `3720 + b * (1 ±0) + m * (69 ±1) + p * (67 ±0)` - // Minimum execution time: 38_154_000 picoseconds. - Weight::from_parts(39_544_525, 3720) - // Standard Error: 63 - .saturating_add(Weight::from_parts(722, 0).saturating_mul(b.into())) - // Standard Error: 9_788 - .saturating_add(Weight::from_parts(14_584, 0).saturating_mul(m.into())) - // Standard Error: 3_305 - .saturating_add(Weight::from_parts(299_839, 0).saturating_mul(p.into())) + // Minimum execution time: 43_232_000 picoseconds. + Weight::from_parts(45_037_545, 3720) + // Standard Error: 84 + .saturating_add(Weight::from_parts(1_088, 0).saturating_mul(b.into())) + // Standard Error: 4_425 + .saturating_add(Weight::from_parts(333_998, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) @@ -232,12 +236,12 @@ impl pallet_collective::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `158 + m * (64 ±0) + p * (53 ±0)` // Estimated: `3627 + m * (72 ±0) + p * (51 ±0)` - // Minimum execution time: 27_508_000 picoseconds. - Weight::from_parts(28_012_452, 3627) - // Standard Error: 6_320 - .saturating_add(Weight::from_parts(90_244, 0).saturating_mul(m.into())) - // Standard Error: 2_129 - .saturating_add(Weight::from_parts(299_943, 0).saturating_mul(p.into())) + // Minimum execution time: 33_106_000 picoseconds. + Weight::from_parts(33_968_576, 3627) + // Standard Error: 8_426 + .saturating_add(Weight::from_parts(66_192, 0).saturating_mul(m.into())) + // Standard Error: 2_838 + .saturating_add(Weight::from_parts(284_710, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 72).saturating_mul(m.into())) @@ -260,14 +264,12 @@ impl pallet_collective::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `374 + b * (1 ±0) + m * (64 ±0) + p * (65 ±0)` // Estimated: `3740 + b * (1 ±0) + m * (69 ±1) + p * (67 ±0)` - // Minimum execution time: 40_152_000 picoseconds. - Weight::from_parts(41_495_647, 3740) - // Standard Error: 63 - .saturating_add(Weight::from_parts(736, 0).saturating_mul(b.into())) - // Standard Error: 9_742 - .saturating_add(Weight::from_parts(9_030, 0).saturating_mul(m.into())) - // Standard Error: 3_290 - .saturating_add(Weight::from_parts(311_862, 0).saturating_mul(p.into())) + // Minimum execution time: 45_767_000 picoseconds. + Weight::from_parts(47_999_235, 3740) + // Standard Error: 86 + .saturating_add(Weight::from_parts(1_007, 0).saturating_mul(b.into())) + // Standard Error: 4_513 + .saturating_add(Weight::from_parts(342_820, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) @@ -285,10 +287,10 @@ impl pallet_collective::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `226 + p * (32 ±0)` // Estimated: `1711 + p * (32 ±0)` - // Minimum execution time: 16_786_000 picoseconds. - Weight::from_parts(17_319_591, 1711) - // Standard Error: 1_476 - .saturating_add(Weight::from_parts(215_900, 0).saturating_mul(p.into())) + // Minimum execution time: 20_147_000 picoseconds. + Weight::from_parts(20_697_156, 1711) + // Standard Error: 1_647 + .saturating_add(Weight::from_parts(202_544, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) diff --git a/runtime/hydradx/src/weights/pallet_conviction_voting.rs b/runtime/hydradx/src/weights/pallet_conviction_voting.rs index 8beff3391c..18e1ec84d0 100644 --- a/runtime/hydradx/src/weights/pallet_conviction_voting.rs +++ b/runtime/hydradx/src/weights/pallet_conviction_voting.rs @@ -18,25 +18,30 @@ //! Autogenerated weights for `pallet_conviction_voting` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-07-31, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 +// --pallet +// pallet-conviction-voting +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --pallet=pallet-conviction-voting -// --output=pallet_conviction_voting.rs -// --extrinsic=* +// --output +// runtime/hydradx/src/weights/pallet_conviction_voting.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -52,7 +57,7 @@ pub struct WeightInfo(PhantomData); /// Weights for `pallet_conviction_voting` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl pallet_conviction_voting::WeightInfo for HydraWeight { - /// Storage: `Referenda::ReferendumInfoFor` (r:25 w:25) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) /// Storage: `ConvictionVoting::VotingFor` (r:1 w:1) /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(1429), added: 3904, mode: `MaxEncodedLen`) @@ -62,24 +67,20 @@ impl pallet_conviction_voting::WeightInfo for HydraWeig /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Storage: `Balances::Freezes` (r:1 w:0) /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Account` (r:2 w:0) + /// Storage: `Uniques::Account` (r:1 w:0) /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) - /// Storage: `Staking::Positions` (r:1 w:1) - /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) - /// Storage: `Scheduler::Agenda` (r:2 w:2) + /// Storage: `Scheduler::Agenda` (r:1 w:1) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn vote_new() -> Weight { // Proof Size summary in bytes: - // Measured: `12365` - // Estimated: `86265` - // Minimum execution time: 867_120_000 picoseconds. - Weight::from_parts(871_610_000, 86265) - .saturating_add(T::DbWeight::get().reads(35_u64)) - .saturating_add(T::DbWeight::get().writes(32_u64)) + // Measured: `2485` + // Estimated: `42428` + // Minimum execution time: 100_083_000 picoseconds. + Weight::from_parts(100_853_000, 42428) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: `Referenda::ReferendumInfoFor` (r:25 w:25) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) /// Storage: `ConvictionVoting::VotingFor` (r:1 w:1) /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(1429), added: 3904, mode: `MaxEncodedLen`) @@ -89,66 +90,54 @@ impl pallet_conviction_voting::WeightInfo for HydraWeig /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Storage: `Balances::Freezes` (r:1 w:0) /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Account` (r:2 w:0) + /// Storage: `Uniques::Account` (r:1 w:0) /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) - /// Storage: `Staking::Positions` (r:1 w:1) - /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) /// Storage: `Scheduler::Agenda` (r:2 w:2) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) fn vote_existing() -> Weight { // Proof Size summary in bytes: - // Measured: `12434` - // Estimated: `86265` - // Minimum execution time: 900_865_000 picoseconds. - Weight::from_parts(906_943_000, 86265) - .saturating_add(T::DbWeight::get().reads(35_u64)) - .saturating_add(T::DbWeight::get().writes(32_u64)) + // Measured: `2856` + // Estimated: `83866` + // Minimum execution time: 129_472_000 picoseconds. + Weight::from_parts(131_090_000, 83866) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } /// Storage: `ConvictionVoting::VotingFor` (r:1 w:1) /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(1429), added: 3904, mode: `MaxEncodedLen`) /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Account` (r:2 w:0) + /// Storage: `Uniques::Account` (r:1 w:0) /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) - /// Storage: `Staking::ProcessedVotes` (r:1 w:0) - /// Proof: `Staking::ProcessedVotes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - /// Storage: `Staking::Positions` (r:1 w:1) - /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) /// Storage: `Scheduler::Agenda` (r:2 w:2) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) fn remove_vote() -> Weight { // Proof Size summary in bytes: - // Measured: `3710` + // Measured: `2646` // Estimated: `83866` - // Minimum execution time: 100_301_000 picoseconds. - Weight::from_parts(101_319_000, 83866) - .saturating_add(T::DbWeight::get().reads(9_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) + // Minimum execution time: 91_112_000 picoseconds. + Weight::from_parts(92_066_000, 83866) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `ConvictionVoting::VotingFor` (r:1 w:1) /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(1429), added: 3904, mode: `MaxEncodedLen`) /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:0) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Account` (r:2 w:0) + /// Storage: `Uniques::Account` (r:1 w:0) /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) - /// Storage: `Staking::ProcessedVotes` (r:1 w:0) - /// Proof: `Staking::ProcessedVotes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) - /// Storage: `Staking::Positions` (r:1 w:1) - /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn remove_other_vote() -> Weight { // Proof Size summary in bytes: - // Measured: `3184` - // Estimated: `6164` - // Minimum execution time: 75_474_000 picoseconds. - Weight::from_parts(76_658_000, 6164) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `2120` + // Estimated: `4894` + // Minimum execution time: 47_727_000 picoseconds. + Weight::from_parts(48_288_000, 4894) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `ConvictionVoting::VotingFor` (r:2 w:2) /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(1429), added: 3904, mode: `MaxEncodedLen`) @@ -162,19 +151,21 @@ impl pallet_conviction_voting::WeightInfo for HydraWeig /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Storage: `Balances::Freezes` (r:1 w:0) /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:3) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 3]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `216 + r * (945 ±0)` // Estimated: `83866 + r * (3411 ±0)` - // Minimum execution time: 47_619_000 picoseconds. - Weight::from_parts(53_590_250, 83866) - // Standard Error: 447_289 - .saturating_add(Weight::from_parts(29_376_750, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Minimum execution time: 55_381_000 picoseconds. + Weight::from_parts(61_656_676, 83866) + // Standard Error: 350_403 + .saturating_add(Weight::from_parts(39_370_534, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(5_u64)) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 3411).saturating_mul(r.into())) } /// Storage: `ConvictionVoting::VotingFor` (r:2 w:2) @@ -183,19 +174,21 @@ impl pallet_conviction_voting::WeightInfo for HydraWeig /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) /// Storage: `Scheduler::Agenda` (r:2 w:2) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:3) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 3]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `444 + r * (808 ±0)` // Estimated: `83866 + r * (3411 ±0)` - // Minimum execution time: 24_546_000 picoseconds. - Weight::from_parts(28_692_195, 83866) - // Standard Error: 331_935 - .saturating_add(Weight::from_parts(27_465_902, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Minimum execution time: 29_724_000 picoseconds. + Weight::from_parts(33_966_019, 83866) + // Standard Error: 250_132 + .saturating_add(Weight::from_parts(35_911_620, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 3411).saturating_mul(r.into())) } /// Storage: `ConvictionVoting::VotingFor` (r:1 w:1) @@ -210,8 +203,8 @@ impl pallet_conviction_voting::WeightInfo for HydraWeig // Proof Size summary in bytes: // Measured: `1406` // Estimated: `4894` - // Minimum execution time: 47_369_000 picoseconds. - Weight::from_parts(48_332_000, 4894) + // Minimum execution time: 57_671_000 picoseconds. + Weight::from_parts(58_511_000, 4894) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } diff --git a/runtime/hydradx/src/weights/pallet_currencies.rs b/runtime/hydradx/src/weights/pallet_currencies.rs index 62fd976c7a..aaf302daf7 100644 --- a/runtime/hydradx/src/weights/pallet_currencies.rs +++ b/runtime/hydradx/src/weights/pallet_currencies.rs @@ -18,19 +18,16 @@ //! Autogenerated weights for `pallet_currencies` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled // --pallet // pallet-currencies @@ -44,7 +41,7 @@ // 20 // --template=scripts/pallet-weight-template.hbs // --output -// curr.rs +// runtime/hydradx/src/weights/pallet_currencies.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -70,6 +67,8 @@ impl pallet_currencies::WeightInfo for HydraWeight { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `System::Digest` (r:1 w:0) /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EVM::AccountCodesMetadata` (r:1 w:0) + /// Proof: `EVM::AccountCodesMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `EVM::AccountCodes` (r:1 w:0) /// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) @@ -80,11 +79,11 @@ impl pallet_currencies::WeightInfo for HydraWeight { /// Proof: `EVM::AccountStorages` (`max_values`: None, `max_size`: None, mode: `Measured`) fn transfer_non_native_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `6356` - // Estimated: `12296` - // Minimum execution time: 139_742_000 picoseconds. - Weight::from_parts(140_709_000, 12296) - .saturating_add(T::DbWeight::get().reads(11_u64)) + // Measured: `6621` + // Estimated: `12561` + // Minimum execution time: 169_465_000 picoseconds. + Weight::from_parts(171_021_000, 12561) + .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `System::Account` (r:1 w:1) @@ -93,8 +92,8 @@ impl pallet_currencies::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1638` // Estimated: `3593` - // Minimum execution time: 72_172_000 picoseconds. - Weight::from_parts(72_566_000, 3593) + // Minimum execution time: 83_411_000 picoseconds. + Weight::from_parts(84_402_000, 3593) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -114,10 +113,10 @@ impl pallet_currencies::WeightInfo for HydraWeight { /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn update_balance_non_native_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `2209` + // Measured: `2275` // Estimated: `3593` - // Minimum execution time: 64_369_000 picoseconds. - Weight::from_parts(64_924_000, 3593) + // Minimum execution time: 82_890_000 picoseconds. + Weight::from_parts(84_060_000, 3593) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -127,8 +126,8 @@ impl pallet_currencies::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1498` // Estimated: `3593` - // Minimum execution time: 38_812_000 picoseconds. - Weight::from_parts(39_466_000, 3593) + // Minimum execution time: 51_007_000 picoseconds. + Weight::from_parts(51_672_000, 3593) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -138,9 +137,9 @@ impl pallet_currencies::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1586` // Estimated: `3593` - // Minimum execution time: 40_882_000 picoseconds. - Weight::from_parts(41_548_000, 3593) + // Minimum execution time: 52_008_000 picoseconds. + Weight::from_parts(53_041_000, 3593) .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/runtime/hydradx/src/weights/pallet_dca.rs b/runtime/hydradx/src/weights/pallet_dca.rs index e7ab50edd3..53c6e1205f 100644 --- a/runtime/hydradx/src/weights/pallet_dca.rs +++ b/runtime/hydradx/src/weights/pallet_dca.rs @@ -18,8 +18,8 @@ //! Autogenerated weights for `pallet_dca` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-02-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-02-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -41,7 +41,7 @@ // 20 // --template=scripts/pallet-weight-template.hbs // --output -// dca.rs +// runtime/hydradx/src/weights/pallet_dca.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -75,10 +75,10 @@ impl pallet_dca::WeightInfo for HydraWeight { /// Proof: `DCA::ScheduleExecutionBlock` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) fn on_initialize_with_buy_trade() -> Weight { // Proof Size summary in bytes: - // Measured: `54961` + // Measured: `55081` // Estimated: `31902` - // Minimum execution time: 225_685_000 picoseconds. - Weight::from_parts(228_775_000, 31902) + // Minimum execution time: 261_185_000 picoseconds. + Weight::from_parts(266_416_000, 31902) .saturating_add(T::DbWeight::get().reads(18_u64)) .saturating_add(T::DbWeight::get().writes(9_u64)) } @@ -124,10 +124,10 @@ impl pallet_dca::WeightInfo for HydraWeight { /// Proof: `DCA::ScheduleExecutionBlock` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) fn on_initialize_with_buy_trade_with_insufficient_fee_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `61036` + // Measured: `61136` // Estimated: `31902` - // Minimum execution time: 403_397_000 picoseconds. - Weight::from_parts(407_801_000, 31902) + // Minimum execution time: 443_146_000 picoseconds. + Weight::from_parts(447_743_000, 31902) .saturating_add(T::DbWeight::get().reads(38_u64)) .saturating_add(T::DbWeight::get().writes(12_u64)) } @@ -149,10 +149,10 @@ impl pallet_dca::WeightInfo for HydraWeight { /// Proof: `DCA::ScheduleExecutionBlock` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) fn on_initialize_with_sell_trade() -> Weight { // Proof Size summary in bytes: - // Measured: `54749` + // Measured: `54829` // Estimated: `31902` - // Minimum execution time: 229_363_000 picoseconds. - Weight::from_parts(232_053_000, 31902) + // Minimum execution time: 265_102_000 picoseconds. + Weight::from_parts(269_068_000, 31902) .saturating_add(T::DbWeight::get().reads(18_u64)) .saturating_add(T::DbWeight::get().writes(9_u64)) } @@ -198,10 +198,10 @@ impl pallet_dca::WeightInfo for HydraWeight { /// Proof: `DCA::ScheduleExecutionBlock` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) fn on_initialize_with_sell_trade_with_insufficient_fee_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `61912` + // Measured: `62012` // Estimated: `31902` - // Minimum execution time: 401_096_000 picoseconds. - Weight::from_parts(408_101_000, 31902) + // Minimum execution time: 445_769_000 picoseconds. + Weight::from_parts(448_991_000, 31902) .saturating_add(T::DbWeight::get().reads(38_u64)) .saturating_add(T::DbWeight::get().writes(12_u64)) } @@ -211,8 +211,8 @@ impl pallet_dca::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1113` // Estimated: `3566` - // Minimum execution time: 15_181_000 picoseconds. - Weight::from_parts(15_450_000, 3566) + // Minimum execution time: 20_160_000 picoseconds. + Weight::from_parts(20_430_000, 3566) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:2 w:0) @@ -245,10 +245,10 @@ impl pallet_dca::WeightInfo for HydraWeight { /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) fn schedule() -> Weight { // Proof Size summary in bytes: - // Measured: `53368` + // Measured: `53388` // Estimated: `29326` - // Minimum execution time: 207_220_000 picoseconds. - Weight::from_parts(208_515_000, 29326) + // Minimum execution time: 242_021_000 picoseconds. + Weight::from_parts(244_848_000, 29326) .saturating_add(T::DbWeight::get().reads(23_u64)) .saturating_add(T::DbWeight::get().writes(9_u64)) } @@ -272,8 +272,8 @@ impl pallet_dca::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `2575` // Estimated: `4714` - // Minimum execution time: 77_806_000 picoseconds. - Weight::from_parts(78_319_000, 4714) + // Minimum execution time: 92_457_000 picoseconds. + Weight::from_parts(93_887_000, 4714) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } diff --git a/runtime/hydradx/src/weights/pallet_democracy.rs b/runtime/hydradx/src/weights/pallet_democracy.rs index 9c107fafaa..255e6e822a 100644 --- a/runtime/hydradx/src/weights/pallet_democracy.rs +++ b/runtime/hydradx/src/weights/pallet_democracy.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_democracy` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-democracy -// --extrinsic=* +// --pallet +// pallet-democracy +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_democracy.rs +// --output +// runtime/hydradx/src/weights/pallet_democracy.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -61,10 +67,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) fn propose() -> Weight { // Proof Size summary in bytes: - // Measured: `4688` + // Measured: `4722` // Estimated: `18187` - // Minimum execution time: 41_084_000 picoseconds. - Weight::from_parts(41_857_000, 18187) + // Minimum execution time: 48_369_000 picoseconds. + Weight::from_parts(48_789_000, 18187) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -72,14 +78,14 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) fn second() -> Weight { // Proof Size summary in bytes: - // Measured: `3443` + // Measured: `3477` // Estimated: `6695` - // Minimum execution time: 39_522_000 picoseconds. - Weight::from_parts(39_987_000, 6695) + // Minimum execution time: 45_321_000 picoseconds. + Weight::from_parts(45_985_000, 6695) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:1) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// Storage: `Democracy::VotingOf` (r:1 w:1) /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) @@ -87,22 +93,16 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Storage: `Balances::Freezes` (r:1 w:0) /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Account` (r:2 w:0) - /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) - /// Storage: `Staking::Positions` (r:1 w:1) - /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) fn vote_new() -> Weight { // Proof Size summary in bytes: - // Measured: `15343` - // Estimated: `268590` - // Minimum execution time: 414_586_000 picoseconds. - Weight::from_parts(418_431_000, 268590) - .saturating_add(T::DbWeight::get().reads(107_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `4500` + // Estimated: `7260` + // Minimum execution time: 61_959_000 picoseconds. + Weight::from_parts(62_881_000, 7260) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:1) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// Storage: `Democracy::VotingOf` (r:1 w:1) /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) @@ -110,20 +110,14 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Storage: `Balances::Freezes` (r:1 w:0) /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Account` (r:2 w:0) - /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) - /// Storage: `Staking::Positions` (r:1 w:1) - /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) fn vote_existing() -> Weight { // Proof Size summary in bytes: - // Measured: `15365` - // Estimated: `268590` - // Minimum execution time: 411_716_000 picoseconds. - Weight::from_parts(416_992_000, 268590) - .saturating_add(T::DbWeight::get().reads(107_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `4522` + // Estimated: `7260` + // Minimum execution time: 62_298_000 picoseconds. + Weight::from_parts(63_235_000, 7260) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) @@ -133,10 +127,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn emergency_cancel() -> Weight { // Proof Size summary in bytes: - // Measured: `249` + // Measured: `283` // Estimated: `3666` - // Minimum execution time: 27_470_000 picoseconds. - Weight::from_parts(27_800_000, 3666) + // Minimum execution time: 32_621_000 picoseconds. + Weight::from_parts(33_061_000, 3666) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -156,10 +150,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) fn blacklist() -> Weight { // Proof Size summary in bytes: - // Measured: `6191` + // Measured: `6225` // Estimated: `18187` - // Minimum execution time: 107_349_000 picoseconds. - Weight::from_parts(108_424_000, 18187) + // Minimum execution time: 122_662_000 picoseconds. + Weight::from_parts(123_683_000, 18187) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -169,10 +163,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) fn external_propose() -> Weight { // Proof Size summary in bytes: - // Measured: `3276` + // Measured: `3310` // Estimated: `6703` - // Minimum execution time: 12_816_000 picoseconds. - Weight::from_parts(13_191_000, 6703) + // Minimum execution time: 16_603_000 picoseconds. + Weight::from_parts(16_849_000, 6703) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -182,8 +176,8 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_578_000 picoseconds. - Weight::from_parts(3_741_000, 0) + // Minimum execution time: 4_520_000 picoseconds. + Weight::from_parts(4_733_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Democracy::NextExternal` (r:0 w:1) @@ -192,8 +186,8 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_603_000 picoseconds. - Weight::from_parts(3_844_000, 0) + // Minimum execution time: 4_510_000 picoseconds. + Weight::from_parts(4_697_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Democracy::NextExternal` (r:1 w:1) @@ -206,10 +200,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn fast_track() -> Weight { // Proof Size summary in bytes: - // Measured: `147` + // Measured: `181` // Estimated: `3518` - // Minimum execution time: 24_981_000 picoseconds. - Weight::from_parts(25_400_000, 3518) + // Minimum execution time: 29_923_000 picoseconds. + Weight::from_parts(30_240_000, 3518) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -221,10 +215,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn veto_external() -> Weight { // Proof Size summary in bytes: - // Measured: `3377` + // Measured: `3411` // Estimated: `6703` - // Minimum execution time: 27_959_000 picoseconds. - Weight::from_parts(28_449_000, 6703) + // Minimum execution time: 33_380_000 picoseconds. + Weight::from_parts(34_051_000, 6703) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -238,10 +232,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn cancel_proposal() -> Weight { // Proof Size summary in bytes: - // Measured: `6076` + // Measured: `6110` // Estimated: `18187` - // Minimum execution time: 86_974_000 picoseconds. - Weight::from_parts(87_631_000, 18187) + // Minimum execution time: 97_736_000 picoseconds. + Weight::from_parts(98_363_000, 18187) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -251,10 +245,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn cancel_referendum() -> Weight { // Proof Size summary in bytes: - // Measured: `181` + // Measured: `215` // Estimated: `3518` - // Minimum execution time: 19_499_000 picoseconds. - Weight::from_parts(20_085_000, 3518) + // Minimum execution time: 24_192_000 picoseconds. + Weight::from_parts(24_652_000, 3518) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -267,12 +261,12 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `127 + r * (86 ±0)` + // Measured: `161 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 3_686_000 picoseconds. - Weight::from_parts(8_346_337, 1489) - // Standard Error: 6_381 - .saturating_add(Weight::from_parts(3_255_704, 0).saturating_mul(r.into())) + // Minimum execution time: 5_365_000 picoseconds. + Weight::from_parts(11_542_376, 1489) + // Standard Error: 6_981 + .saturating_add(Weight::from_parts(4_187_464, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -293,12 +287,12 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `127 + r * (86 ±0)` + // Measured: `161 + r * (86 ±0)` // Estimated: `18187 + r * (2676 ±0)` - // Minimum execution time: 6_309_000 picoseconds. - Weight::from_parts(11_146_769, 18187) - // Standard Error: 6_126 - .saturating_add(Weight::from_parts(3_263_109, 0).saturating_mul(r.into())) + // Minimum execution time: 8_795_000 picoseconds. + Weight::from_parts(14_756_164, 18187) + // Standard Error: 7_753 + .saturating_add(Weight::from_parts(4_191_521, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -315,12 +309,12 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `677 + r * (108 ±0)` + // Measured: `711 + r * (108 ±0)` // Estimated: `19800 + r * (2676 ±0)` - // Minimum execution time: 43_508_000 picoseconds. - Weight::from_parts(49_166_300, 19800) - // Standard Error: 5_582 - .saturating_add(Weight::from_parts(4_141_052, 0).saturating_mul(r.into())) + // Minimum execution time: 52_583_000 picoseconds. + Weight::from_parts(59_252_305, 19800) + // Standard Error: 7_702 + .saturating_add(Weight::from_parts(5_221_607, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) @@ -334,12 +328,12 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `374 + r * (108 ±0)` + // Measured: `408 + r * (108 ±0)` // Estimated: `13530 + r * (2676 ±0)` - // Minimum execution time: 20_176_000 picoseconds. - Weight::from_parts(22_120_019, 13530) - // Standard Error: 5_423 - .saturating_add(Weight::from_parts(4_137_529, 0).saturating_mul(r.into())) + // Minimum execution time: 25_025_000 picoseconds. + Weight::from_parts(25_606_393, 13530) + // Standard Error: 7_402 + .saturating_add(Weight::from_parts(5_183_923, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -352,8 +346,8 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_913_000 picoseconds. - Weight::from_parts(4_061_000, 0) + // Minimum execution time: 4_546_000 picoseconds. + Weight::from_parts(4_657_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Democracy::VotingOf` (r:1 w:1) @@ -367,12 +361,12 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `432` + // Measured: `466` // Estimated: `7260` - // Minimum execution time: 26_037_000 picoseconds. - Weight::from_parts(37_595_177, 7260) - // Standard Error: 2_601 - .saturating_add(Weight::from_parts(37_640, 0).saturating_mul(r.into())) + // Minimum execution time: 30_787_000 picoseconds. + Weight::from_parts(43_198_005, 7260) + // Standard Error: 2_803 + .saturating_add(Weight::from_parts(36_794, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -387,12 +381,12 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `433 + r * (22 ±0)` + // Measured: `467 + r * (22 ±0)` // Estimated: `7260` - // Minimum execution time: 35_921_000 picoseconds. - Weight::from_parts(37_458_366, 7260) - // Standard Error: 704 - .saturating_add(Weight::from_parts(62_000, 0).saturating_mul(r.into())) + // Minimum execution time: 43_027_000 picoseconds. + Weight::from_parts(45_014_793, 7260) + // Standard Error: 742 + .saturating_add(Weight::from_parts(64_823, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -406,19 +400,19 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// Proof: `Staking::ProcessedVotes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: `Staking::Positions` (r:1 w:1) /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:0) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1468 + r * (47 ±0)` + // Measured: `1445 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 47_278_000 picoseconds. - Weight::from_parts(50_625_485, 7260) - // Standard Error: 2_207 - .saturating_add(Weight::from_parts(154_973, 0).saturating_mul(r.into())) + // Minimum execution time: 49_398_000 picoseconds. + Weight::from_parts(52_710_274, 7260) + // Standard Error: 1_645 + .saturating_add(Weight::from_parts(94_699, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) @@ -430,19 +424,19 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// Proof: `Staking::ProcessedVotes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: `Staking::Positions` (r:1 w:1) /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:0) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1468 + r * (47 ±0)` + // Measured: `1445 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 48_145_000 picoseconds. - Weight::from_parts(51_215_485, 7260) - // Standard Error: 2_118 - .saturating_add(Weight::from_parts(144_598, 0).saturating_mul(r.into())) + // Minimum execution time: 48_921_000 picoseconds. + Weight::from_parts(52_686_791, 7260) + // Standard Error: 1_553 + .saturating_add(Weight::from_parts(91_425, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Democracy::NextExternal` (r:1 w:0) /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) @@ -454,10 +448,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_external_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `287` + // Measured: `321` // Estimated: `3556` - // Minimum execution time: 19_975_000 picoseconds. - Weight::from_parts(20_324_000, 3556) + // Minimum execution time: 25_163_000 picoseconds. + Weight::from_parts(25_730_000, 3556) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -467,10 +461,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_external_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `147` + // Measured: `181` // Estimated: `3518` - // Minimum execution time: 15_820_000 picoseconds. - Weight::from_parts(16_301_000, 3518) + // Minimum execution time: 19_766_000 picoseconds. + Weight::from_parts(20_125_000, 3518) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -484,10 +478,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `4842` + // Measured: `4876` // Estimated: `18187` - // Minimum execution time: 42_054_000 picoseconds. - Weight::from_parts(42_492_000, 18187) + // Minimum execution time: 47_808_000 picoseconds. + Weight::from_parts(48_171_000, 18187) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -497,10 +491,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_proposal_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `4706` + // Measured: `4740` // Estimated: `18187` - // Minimum execution time: 36_480_000 picoseconds. - Weight::from_parts(36_908_000, 18187) + // Minimum execution time: 41_056_000 picoseconds. + Weight::from_parts(41_743_000, 18187) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -514,8 +508,8 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3556` - // Minimum execution time: 18_019_000 picoseconds. - Weight::from_parts(18_332_000, 3556) + // Minimum execution time: 21_294_000 picoseconds. + Weight::from_parts(21_944_000, 3556) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -525,10 +519,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_referendum_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `159` + // Measured: `193` // Estimated: `3666` - // Minimum execution time: 18_356_000 picoseconds. - Weight::from_parts(18_625_000, 3666) + // Minimum execution time: 22_523_000 picoseconds. + Weight::from_parts(22_959_000, 3666) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/runtime/hydradx/src/weights/pallet_duster.rs b/runtime/hydradx/src/weights/pallet_duster.rs index 326bb23c84..4d2f43e751 100644 --- a/runtime/hydradx/src/weights/pallet_duster.rs +++ b/runtime/hydradx/src/weights/pallet_duster.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_duster` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-duster -// --extrinsic=* +// --pallet +// pallet-duster +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_duster.rs +// --output +// runtime/hydradx/src/weights/pallet_duster.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -71,10 +77,10 @@ impl pallet_duster::WeightInfo for HydraWeight { /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn dust_account() -> Weight { // Proof Size summary in bytes: - // Measured: `2894` + // Measured: `2960` // Estimated: `6156` - // Minimum execution time: 88_728_000 picoseconds. - Weight::from_parts(89_220_000, 6156) + // Minimum execution time: 110_342_000 picoseconds. + Weight::from_parts(111_817_000, 6156) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -84,18 +90,18 @@ impl pallet_duster::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1012` // Estimated: `0` - // Minimum execution time: 16_562_000 picoseconds. - Weight::from_parts(16_851_000, 0) + // Minimum execution time: 21_522_000 picoseconds. + Weight::from_parts(21_813_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Duster::AccountBlacklist` (r:1 w:1) /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn remove_nondustable_account() -> Weight { // Proof Size summary in bytes: - // Measured: `1366` + // Measured: `1399` // Estimated: `3513` - // Minimum execution time: 21_816_000 picoseconds. - Weight::from_parts(22_528_000, 3513) + // Minimum execution time: 28_316_000 picoseconds. + Weight::from_parts(28_996_000, 3513) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/runtime/hydradx/src/weights/pallet_dynamic_evm_fee.rs b/runtime/hydradx/src/weights/pallet_dynamic_evm_fee.rs index 702f216d6f..3c51dc2161 100644 --- a/runtime/hydradx/src/weights/pallet_dynamic_evm_fee.rs +++ b/runtime/hydradx/src/weights/pallet_dynamic_evm_fee.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_dynamic_evm_fee` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-dynamic-evm-fee -// --extrinsic=* +// --pallet +// pallet-dynamic-evm-fee +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_dynamic_evm_fee.rs +// --output +// runtime/hydradx/src/weights/pallet_dynamic_evm_fee.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -67,10 +73,10 @@ impl pallet_dynamic_evm_fee::WeightInfo for HydraWeight /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn on_initialize() -> Weight { // Proof Size summary in bytes: - // Measured: `2742` + // Measured: `2775` // Estimated: `11598` - // Minimum execution time: 66_789_000 picoseconds. - Weight::from_parts(67_440_000, 11598) + // Minimum execution time: 81_926_000 picoseconds. + Weight::from_parts(82_895_000, 11598) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/runtime/hydradx/src/weights/pallet_elections_phragmen.rs b/runtime/hydradx/src/weights/pallet_elections_phragmen.rs index 8febcf6b54..46880f13a9 100644 --- a/runtime/hydradx/src/weights/pallet_elections_phragmen.rs +++ b/runtime/hydradx/src/weights/pallet_elections_phragmen.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_elections_phragmen` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-elections-phragmen -// --extrinsic=* +// --pallet +// pallet-elections-phragmen +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_elections_phragmen.rs +// --output +// runtime/hydradx/src/weights/pallet_elections_phragmen.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -68,10 +74,10 @@ impl pallet_elections_phragmen::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `429 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 36_437_000 picoseconds. - Weight::from_parts(36_965_587, 4764) - // Standard Error: 2_824 - .saturating_add(Weight::from_parts(140_702, 0).saturating_mul(v.into())) + // Minimum execution time: 44_655_000 picoseconds. + Weight::from_parts(45_242_193, 4764) + // Standard Error: 2_923 + .saturating_add(Weight::from_parts(199_266, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) @@ -93,10 +99,10 @@ impl pallet_elections_phragmen::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `399 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 49_364_000 picoseconds. - Weight::from_parts(49_861_243, 4764) - // Standard Error: 3_513 - .saturating_add(Weight::from_parts(144_027, 0).saturating_mul(v.into())) + // Minimum execution time: 59_413_000 picoseconds. + Weight::from_parts(60_130_650, 4764) + // Standard Error: 3_688 + .saturating_add(Weight::from_parts(124_901, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) @@ -118,10 +124,10 @@ impl pallet_elections_phragmen::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `431 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 49_587_000 picoseconds. - Weight::from_parts(49_934_252, 4764) - // Standard Error: 3_154 - .saturating_add(Weight::from_parts(135_416, 0).saturating_mul(v.into())) + // Minimum execution time: 58_823_000 picoseconds. + Weight::from_parts(59_836_951, 4764) + // Standard Error: 4_885 + .saturating_add(Weight::from_parts(170_627, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) @@ -136,8 +142,8 @@ impl pallet_elections_phragmen::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `761` // Estimated: `4764` - // Minimum execution time: 49_898_000 picoseconds. - Weight::from_parts(50_308_000, 4764) + // Minimum execution time: 57_201_000 picoseconds. + Weight::from_parts(57_831_000, 4764) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -152,10 +158,10 @@ impl pallet_elections_phragmen::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `2148 + c * (48 ±0)` // Estimated: `3633 + c * (48 ±0)` - // Minimum execution time: 36_579_000 picoseconds. - Weight::from_parts(37_389_041, 3633) - // Standard Error: 460 - .saturating_add(Weight::from_parts(50_926, 0).saturating_mul(c.into())) + // Minimum execution time: 43_524_000 picoseconds. + Weight::from_parts(44_174_791, 3633) + // Standard Error: 524 + .saturating_add(Weight::from_parts(67_645, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into())) @@ -167,10 +173,10 @@ impl pallet_elections_phragmen::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `351 + c * (48 ±0)` // Estimated: `1836 + c * (48 ±0)` - // Minimum execution time: 31_561_000 picoseconds. - Weight::from_parts(32_148_967, 1836) - // Standard Error: 336 - .saturating_add(Weight::from_parts(38_083, 0).saturating_mul(c.into())) + // Minimum execution time: 35_883_000 picoseconds. + Weight::from_parts(36_619_079, 1836) + // Standard Error: 419 + .saturating_add(Weight::from_parts(38_766, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into())) @@ -187,10 +193,10 @@ impl pallet_elections_phragmen::WeightInfo for HydraWei /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn renounce_candidacy_members() -> Weight { // Proof Size summary in bytes: - // Measured: `2417` - // Estimated: `3902` - // Minimum execution time: 43_878_000 picoseconds. - Weight::from_parts(44_275_000, 3902) + // Measured: `2450` + // Estimated: `3935` + // Minimum execution time: 52_831_000 picoseconds. + Weight::from_parts(53_718_000, 3935) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -200,8 +206,8 @@ impl pallet_elections_phragmen::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `1491` // Estimated: `2976` - // Minimum execution time: 31_763_000 picoseconds. - Weight::from_parts(32_375_000, 2976) + // Minimum execution time: 38_495_000 picoseconds. + Weight::from_parts(38_938_000, 2976) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -228,10 +234,10 @@ impl pallet_elections_phragmen::WeightInfo for HydraWei /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn remove_member_with_replacement() -> Weight { // Proof Size summary in bytes: - // Measured: `2557` + // Measured: `2590` // Estimated: `6196` - // Minimum execution time: 64_834_000 picoseconds. - Weight::from_parts(65_557_000, 6196) + // Minimum execution time: 77_111_000 picoseconds. + Weight::from_parts(78_579_000, 6196) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -254,13 +260,13 @@ impl pallet_elections_phragmen::WeightInfo for HydraWei fn clean_defunct_voters(v: u32, d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + d * (631 ±0) + v * (56 ±0)` - // Estimated: `32254 + d * (3774 ±0) + v * (24 ±0)` - // Minimum execution time: 8_722_000 picoseconds. - Weight::from_parts(9_309_000, 32254) - // Standard Error: 9_203 - .saturating_add(Weight::from_parts(141_957, 0).saturating_mul(v.into())) - // Standard Error: 20_041 - .saturating_add(Weight::from_parts(53_516_701, 0).saturating_mul(d.into())) + // Estimated: `32254 + d * (3774 ±1) + v * (24 ±0)` + // Minimum execution time: 9_702_000 picoseconds. + Weight::from_parts(10_128_000, 32254) + // Standard Error: 11_306 + .saturating_add(Weight::from_parts(254_446, 0).saturating_mul(v.into())) + // Standard Error: 24_622 + .saturating_add(Weight::from_parts(61_486_818, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(d.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(d.into()))) @@ -291,13 +297,13 @@ impl pallet_elections_phragmen::WeightInfo for HydraWei fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + c * (29 ±0) + e * (27 ±0) + v * (414 ±0)` - // Estimated: `278118 + c * (2215 ±6) + e * (13 ±0) + v * (2571 ±3)` - // Minimum execution time: 2_796_875_000 picoseconds. - Weight::from_parts(2_803_427_000, 278118) - // Standard Error: 601_243 - .saturating_add(Weight::from_parts(21_103_938, 0).saturating_mul(v.into())) - // Standard Error: 62_724 - .saturating_add(Weight::from_parts(1_474_615, 0).saturating_mul(e.into())) + // Estimated: `278151 + c * (2215 ±6) + e * (13 ±0) + v * (2571 ±3)` + // Minimum execution time: 3_145_046_000 picoseconds. + Weight::from_parts(3_158_265_000, 278151) + // Standard Error: 641_160 + .saturating_add(Weight::from_parts(22_180_349, 0).saturating_mul(v.into())) + // Standard Error: 66_888 + .saturating_add(Weight::from_parts(1_548_804, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(31_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) diff --git a/runtime/hydradx/src/weights/pallet_ema_oracle.rs b/runtime/hydradx/src/weights/pallet_ema_oracle.rs index 27aee588b8..a072f516a1 100644 --- a/runtime/hydradx/src/weights/pallet_ema_oracle.rs +++ b/runtime/hydradx/src/weights/pallet_ema_oracle.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_ema_oracle` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-ema-oracle -// --extrinsic=* +// --pallet +// pallet-ema-oracle +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_ema_oracle.rs +// --output +// runtime/hydradx/src/weights/pallet_ema_oracle.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -57,8 +63,8 @@ impl pallet_ema_oracle::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `860` // Estimated: `2126` - // Minimum execution time: 15_358_000 picoseconds. - Weight::from_parts(15_612_000, 2126) + // Minimum execution time: 17_996_000 picoseconds. + Weight::from_parts(18_298_000, 2126) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -72,8 +78,8 @@ impl pallet_ema_oracle::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `876` // Estimated: `7406` - // Minimum execution time: 32_501_000 picoseconds. - Weight::from_parts(32_728_000, 7406) + // Minimum execution time: 34_672_000 picoseconds. + Weight::from_parts(35_204_000, 7406) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -83,8 +89,8 @@ impl pallet_ema_oracle::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `208` // Estimated: `7406` - // Minimum execution time: 2_187_000 picoseconds. - Weight::from_parts(2_267_000, 7406) + // Minimum execution time: 3_301_000 picoseconds. + Weight::from_parts(3_445_000, 7406) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `EmaOracle::Accumulator` (r:1 w:1) @@ -96,10 +102,10 @@ impl pallet_ema_oracle::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `305 + b * (626 ±0)` // Estimated: `7406 + b * (7956 ±0)` - // Minimum execution time: 45_323_000 picoseconds. - Weight::from_parts(10_030_058, 7406) - // Standard Error: 15_380 - .saturating_add(Weight::from_parts(35_004_114, 0).saturating_mul(b.into())) + // Minimum execution time: 50_778_000 picoseconds. + Weight::from_parts(13_334_728, 7406) + // Standard Error: 17_791 + .saturating_add(Weight::from_parts(36_442_835, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -115,10 +121,10 @@ impl pallet_ema_oracle::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `821 + b * (164 ±0)` // Estimated: `7406` - // Minimum execution time: 16_045_000 picoseconds. - Weight::from_parts(16_698_666, 7406) - // Standard Error: 2_712 - .saturating_add(Weight::from_parts(482_996, 0).saturating_mul(b.into())) + // Minimum execution time: 21_802_000 picoseconds. + Weight::from_parts(22_651_420, 7406) + // Standard Error: 3_418 + .saturating_add(Weight::from_parts(507_735, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -131,10 +137,10 @@ impl pallet_ema_oracle::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `821 + b * (164 ±0)` // Estimated: `7406` - // Minimum execution time: 16_293_000 picoseconds. - Weight::from_parts(16_839_547, 7406) - // Standard Error: 2_626 - .saturating_add(Weight::from_parts(478_879, 0).saturating_mul(b.into())) + // Minimum execution time: 21_845_000 picoseconds. + Weight::from_parts(22_625_616, 7406) + // Standard Error: 3_546 + .saturating_add(Weight::from_parts(514_792, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -144,8 +150,8 @@ impl pallet_ema_oracle::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `638` // Estimated: `6294` - // Minimum execution time: 17_336_000 picoseconds. - Weight::from_parts(17_680_000, 6294) + // Minimum execution time: 21_734_000 picoseconds. + Weight::from_parts(22_015_000, 6294) .saturating_add(T::DbWeight::get().reads(2_u64)) } diff --git a/runtime/hydradx/src/weights/pallet_evm_accounts.rs b/runtime/hydradx/src/weights/pallet_evm_accounts.rs index 8f0973ba8c..787c1c49be 100644 --- a/runtime/hydradx/src/weights/pallet_evm_accounts.rs +++ b/runtime/hydradx/src/weights/pallet_evm_accounts.rs @@ -18,8 +18,8 @@ //! Autogenerated weights for `pallet_evm_accounts` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -41,7 +41,7 @@ // 20 // --template=scripts/pallet-weight-template.hbs // --output -// evm-acc.rs +// runtime/hydradx/src/weights/pallet_evm_accounts.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -71,10 +71,10 @@ impl pallet_evm_accounts::WeightInfo for HydraWeight /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) fn bind_evm_address() -> Weight { // Proof Size summary in bytes: - // Measured: `545` + // Measured: `578` // Estimated: `4087` - // Minimum execution time: 33_704_000 picoseconds. - Weight::from_parts(34_317_000, 4087) + // Minimum execution time: 40_138_000 picoseconds. + Weight::from_parts(40_841_000, 4087) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -84,8 +84,8 @@ impl pallet_evm_accounts::WeightInfo for HydraWeight // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_908_000 picoseconds. - Weight::from_parts(10_212_000, 0) + // Minimum execution time: 10_410_000 picoseconds. + Weight::from_parts(10_580_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `EVMAccounts::ContractDeployer` (r:0 w:1) @@ -94,8 +94,8 @@ impl pallet_evm_accounts::WeightInfo for HydraWeight // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_671_000 picoseconds. - Weight::from_parts(9_858_000, 0) + // Minimum execution time: 10_367_000 picoseconds. + Weight::from_parts(10_517_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `EVMAccounts::ContractDeployer` (r:0 w:1) @@ -104,8 +104,8 @@ impl pallet_evm_accounts::WeightInfo for HydraWeight // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_872_000 picoseconds. - Weight::from_parts(10_050_000, 0) + // Minimum execution time: 10_492_000 picoseconds. + Weight::from_parts(10_631_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `EVMAccounts::ApprovedContract` (r:0 w:1) @@ -114,8 +114,8 @@ impl pallet_evm_accounts::WeightInfo for HydraWeight // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_915_000 picoseconds. - Weight::from_parts(10_164_000, 0) + // Minimum execution time: 10_497_000 picoseconds. + Weight::from_parts(10_642_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `EVMAccounts::ApprovedContract` (r:0 w:1) @@ -124,8 +124,8 @@ impl pallet_evm_accounts::WeightInfo for HydraWeight // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_563_000 picoseconds. - Weight::from_parts(9_834_000, 0) + // Minimum execution time: 10_177_000 picoseconds. + Weight::from_parts(10_411_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } -} +} \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_identity.rs b/runtime/hydradx/src/weights/pallet_identity.rs index 793f6642fc..4e5b7d47a9 100644 --- a/runtime/hydradx/src/weights/pallet_identity.rs +++ b/runtime/hydradx/src/weights/pallet_identity.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_identity` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-identity -// --extrinsic=* +// --pallet +// pallet-identity +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_identity.rs +// --output +// runtime/hydradx/src/weights/pallet_identity.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -58,10 +64,10 @@ impl pallet_identity::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `32 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 11_320_000 picoseconds. - Weight::from_parts(12_195_192, 2626) - // Standard Error: 1_742 - .saturating_add(Weight::from_parts(75_979, 0).saturating_mul(r.into())) + // Minimum execution time: 14_257_000 picoseconds. + Weight::from_parts(15_035_340, 2626) + // Standard Error: 1_278 + .saturating_add(Weight::from_parts(88_294, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -72,10 +78,10 @@ impl pallet_identity::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `6978 + r * (5 ±0)` // Estimated: `11037` - // Minimum execution time: 148_893_000 picoseconds. - Weight::from_parts(149_991_395, 11037) - // Standard Error: 3_728 - .saturating_add(Weight::from_parts(40_031, 0).saturating_mul(r.into())) + // Minimum execution time: 149_633_000 picoseconds. + Weight::from_parts(153_824_562, 11037) + // Standard Error: 8_000 + .saturating_add(Weight::from_parts(136_850, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -90,10 +96,10 @@ impl pallet_identity::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `101` // Estimated: `11037 + s * (2589 ±0)` - // Minimum execution time: 13_595_000 picoseconds. - Weight::from_parts(29_401_389, 11037) - // Standard Error: 3_919 - .saturating_add(Weight::from_parts(3_772_021, 0).saturating_mul(s.into())) + // Minimum execution time: 16_227_000 picoseconds. + Weight::from_parts(32_921_162, 11037) + // Standard Error: 4_982 + .saturating_add(Weight::from_parts(4_093_361, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -111,10 +117,10 @@ impl pallet_identity::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `194 + p * (32 ±0)` // Estimated: `11037` - // Minimum execution time: 13_460_000 picoseconds. - Weight::from_parts(28_754_749, 11037) - // Standard Error: 3_527 - .saturating_add(Weight::from_parts(1_465_845, 0).saturating_mul(p.into())) + // Minimum execution time: 16_261_000 picoseconds. + Weight::from_parts(34_286_336, 11037) + // Standard Error: 4_247 + .saturating_add(Weight::from_parts(1_525_372, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) @@ -127,16 +133,14 @@ impl pallet_identity::WeightInfo for HydraWeight { /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[0, 100]`. - fn clear_identity(r: u32, s: u32, ) -> Weight { + fn clear_identity(_r: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `7070 + r * (5 ±0) + s * (32 ±0)` // Estimated: `11037` - // Minimum execution time: 67_893_000 picoseconds. - Weight::from_parts(70_981_106, 11037) - // Standard Error: 4_685 - .saturating_add(Weight::from_parts(20_850, 0).saturating_mul(r.into())) - // Standard Error: 914 - .saturating_add(Weight::from_parts(1_445_202, 0).saturating_mul(s.into())) + // Minimum execution time: 72_079_000 picoseconds. + Weight::from_parts(77_060_452, 11037) + // Standard Error: 1_554 + .saturating_add(Weight::from_parts(1_492_074, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -150,10 +154,10 @@ impl pallet_identity::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `6968 + r * (57 ±0)` // Estimated: `11037` - // Minimum execution time: 100_118_000 picoseconds. - Weight::from_parts(101_073_565, 11037) - // Standard Error: 2_560 - .saturating_add(Weight::from_parts(100_431, 0).saturating_mul(r.into())) + // Minimum execution time: 106_314_000 picoseconds. + Weight::from_parts(108_235_196, 11037) + // Standard Error: 4_165 + .saturating_add(Weight::from_parts(92_836, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -164,10 +168,10 @@ impl pallet_identity::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `6999` // Estimated: `11037` - // Minimum execution time: 98_046_000 picoseconds. - Weight::from_parts(98_844_481, 11037) - // Standard Error: 1_891 - .saturating_add(Weight::from_parts(57_879, 0).saturating_mul(r.into())) + // Minimum execution time: 103_923_000 picoseconds. + Weight::from_parts(105_432_653, 11037) + // Standard Error: 4_340 + .saturating_add(Weight::from_parts(62_557, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -178,10 +182,10 @@ impl pallet_identity::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 8_537_000 picoseconds. - Weight::from_parts(8_898_208, 2626) - // Standard Error: 940 - .saturating_add(Weight::from_parts(67_204, 0).saturating_mul(r.into())) + // Minimum execution time: 10_800_000 picoseconds. + Weight::from_parts(11_361_963, 2626) + // Standard Error: 1_039 + .saturating_add(Weight::from_parts(73_885, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -192,10 +196,10 @@ impl pallet_identity::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 8_569_000 picoseconds. - Weight::from_parts(8_909_007, 2626) - // Standard Error: 822 - .saturating_add(Weight::from_parts(58_675, 0).saturating_mul(r.into())) + // Minimum execution time: 10_813_000 picoseconds. + Weight::from_parts(11_422_110, 2626) + // Standard Error: 1_216 + .saturating_add(Weight::from_parts(74_226, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -206,10 +210,10 @@ impl pallet_identity::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 8_362_000 picoseconds. - Weight::from_parts(8_797_932, 2626) - // Standard Error: 1_073 - .saturating_add(Weight::from_parts(57_564, 0).saturating_mul(r.into())) + // Minimum execution time: 10_663_000 picoseconds. + Weight::from_parts(11_240_359, 2626) + // Standard Error: 1_142 + .saturating_add(Weight::from_parts(76_250, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -222,10 +226,10 @@ impl pallet_identity::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `7046 + r * (57 ±0)` // Estimated: `11037` - // Minimum execution time: 127_101_000 picoseconds. - Weight::from_parts(127_865_155, 11037) - // Standard Error: 2_732 - .saturating_add(Weight::from_parts(113_704, 0).saturating_mul(r.into())) + // Minimum execution time: 130_790_000 picoseconds. + Weight::from_parts(132_898_111, 11037) + // Standard Error: 8_898 + .saturating_add(Weight::from_parts(163_330, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -239,16 +243,14 @@ impl pallet_identity::WeightInfo for HydraWeight { /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[0, 100]`. - fn kill_identity(r: u32, s: u32, ) -> Weight { + fn kill_identity(_r: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `7364 + r * (15 ±0) + s * (32 ±0)` // Estimated: `11037` - // Minimum execution time: 86_147_000 picoseconds. - Weight::from_parts(88_859_181, 11037) - // Standard Error: 5_243 - .saturating_add(Weight::from_parts(17_602, 0).saturating_mul(r.into())) - // Standard Error: 1_023 - .saturating_add(Weight::from_parts(1_454_021, 0).saturating_mul(s.into())) + // Minimum execution time: 94_462_000 picoseconds. + Weight::from_parts(98_978_800, 11037) + // Standard Error: 2_195 + .saturating_add(Weight::from_parts(1_516_351, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -264,10 +266,10 @@ impl pallet_identity::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `475 + s * (36 ±0)` // Estimated: `11037` - // Minimum execution time: 32_974_000 picoseconds. - Weight::from_parts(37_676_517, 11037) - // Standard Error: 1_129 - .saturating_add(Weight::from_parts(53_168, 0).saturating_mul(s.into())) + // Minimum execution time: 38_914_000 picoseconds. + Weight::from_parts(44_918_354, 11037) + // Standard Error: 1_435 + .saturating_add(Weight::from_parts(63_719, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -280,10 +282,10 @@ impl pallet_identity::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `591 + s * (3 ±0)` // Estimated: `11037` - // Minimum execution time: 16_801_000 picoseconds. - Weight::from_parts(19_000_566, 11037) - // Standard Error: 570 - .saturating_add(Weight::from_parts(18_672, 0).saturating_mul(s.into())) + // Minimum execution time: 20_975_000 picoseconds. + Weight::from_parts(23_765_584, 11037) + // Standard Error: 673 + .saturating_add(Weight::from_parts(23_002, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -298,10 +300,10 @@ impl pallet_identity::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `638 + s * (35 ±0)` // Estimated: `11037` - // Minimum execution time: 36_288_000 picoseconds. - Weight::from_parts(39_191_108, 11037) - // Standard Error: 757 - .saturating_add(Weight::from_parts(38_383, 0).saturating_mul(s.into())) + // Minimum execution time: 43_915_000 picoseconds. + Weight::from_parts(47_561_214, 11037) + // Standard Error: 843 + .saturating_add(Weight::from_parts(46_376, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -316,10 +318,10 @@ impl pallet_identity::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `704 + s * (37 ±0)` // Estimated: `6723` - // Minimum execution time: 28_096_000 picoseconds. - Weight::from_parts(30_099_612, 6723) - // Standard Error: 764 - .saturating_add(Weight::from_parts(46_105, 0).saturating_mul(s.into())) + // Minimum execution time: 33_785_000 picoseconds. + Weight::from_parts(36_384_665, 6723) + // Standard Error: 908 + .saturating_add(Weight::from_parts(56_991, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -329,8 +331,8 @@ impl pallet_identity::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_137_000 picoseconds. - Weight::from_parts(9_293_000, 0) + // Minimum execution time: 10_136_000 picoseconds. + Weight::from_parts(10_448_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Identity::UsernameAuthorities` (r:1 w:1) @@ -339,8 +341,8 @@ impl pallet_identity::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `80` // Estimated: `3517` - // Minimum execution time: 11_768_000 picoseconds. - Weight::from_parts(11_992_000, 3517) + // Minimum execution time: 14_594_000 picoseconds. + Weight::from_parts(14_840_000, 3517) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -356,8 +358,8 @@ impl pallet_identity::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `80` // Estimated: `11037` - // Minimum execution time: 63_750_000 picoseconds. - Weight::from_parts(64_767_000, 11037) + // Minimum execution time: 68_065_000 picoseconds. + Weight::from_parts(68_789_000, 11037) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -371,8 +373,8 @@ impl pallet_identity::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `115` // Estimated: `11037` - // Minimum execution time: 26_875_000 picoseconds. - Weight::from_parts(27_229_000, 11037) + // Minimum execution time: 30_988_000 picoseconds. + Weight::from_parts(31_523_000, 11037) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -382,8 +384,8 @@ impl pallet_identity::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `115` // Estimated: `3550` - // Minimum execution time: 16_262_000 picoseconds. - Weight::from_parts(16_750_000, 3550) + // Minimum execution time: 20_161_000 picoseconds. + Weight::from_parts(21_133_000, 3550) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -395,8 +397,8 @@ impl pallet_identity::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `257` // Estimated: `11037` - // Minimum execution time: 21_983_000 picoseconds. - Weight::from_parts(22_299_000, 11037) + // Minimum execution time: 26_391_000 picoseconds. + Weight::from_parts(26_802_000, 11037) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -408,8 +410,8 @@ impl pallet_identity::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `98` // Estimated: `11037` - // Minimum execution time: 14_438_000 picoseconds. - Weight::from_parts(14_730_000, 11037) + // Minimum execution time: 17_622_000 picoseconds. + Weight::from_parts(18_137_000, 11037) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/runtime/hydradx/src/weights/pallet_lbp.rs b/runtime/hydradx/src/weights/pallet_lbp.rs index 70d73eea95..0e1ba225a2 100644 --- a/runtime/hydradx/src/weights/pallet_lbp.rs +++ b/runtime/hydradx/src/weights/pallet_lbp.rs @@ -18,8 +18,8 @@ //! Autogenerated weights for `pallet_lbp` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-02-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-02-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -41,7 +41,7 @@ // 20 // --template=scripts/pallet-weight-template.hbs // --output -// lbp.rs +// runtime/hydradx/src/weights/pallet_lbp.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -81,8 +81,8 @@ impl pallet_lbp::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1586` // Estimated: `11322` - // Minimum execution time: 140_289_000 picoseconds. - Weight::from_parts(141_717_000, 11322) + // Minimum execution time: 161_796_000 picoseconds. + Weight::from_parts(163_919_000, 11322) .saturating_add(T::DbWeight::get().reads(16_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -94,8 +94,8 @@ impl pallet_lbp::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `417` // Estimated: `3628` - // Minimum execution time: 23_573_000 picoseconds. - Weight::from_parts(23_935_000, 3628) + // Minimum execution time: 29_020_000 picoseconds. + Weight::from_parts(29_312_000, 3628) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -117,8 +117,8 @@ impl pallet_lbp::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1846` // Estimated: `11322` - // Minimum execution time: 107_058_000 picoseconds. - Weight::from_parts(108_293_000, 11322) + // Minimum execution time: 127_198_000 picoseconds. + Weight::from_parts(128_437_000, 11322) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -146,8 +146,8 @@ impl pallet_lbp::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1962` // Estimated: `11322` - // Minimum execution time: 139_733_000 picoseconds. - Weight::from_parts(141_086_000, 11322) + // Minimum execution time: 160_788_000 picoseconds. + Weight::from_parts(162_657_000, 11322) .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -171,8 +171,8 @@ impl pallet_lbp::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `2251` // Estimated: `13905` - // Minimum execution time: 251_173_000 picoseconds. - Weight::from_parts(253_375_000, 13905) + // Minimum execution time: 276_533_000 picoseconds. + Weight::from_parts(278_059_000, 13905) .saturating_add(T::DbWeight::get().reads(17_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -196,8 +196,8 @@ impl pallet_lbp::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `2251` // Estimated: `13905` - // Minimum execution time: 252_841_000 picoseconds. - Weight::from_parts(253_641_000, 13905) + // Minimum execution time: 277_654_000 picoseconds. + Weight::from_parts(279_215_000, 13905) .saturating_add(T::DbWeight::get().reads(17_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -223,12 +223,12 @@ impl pallet_lbp::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1052 + e * (1199 ±0)` // Estimated: `8799 + e * (7749 ±0)` - // Minimum execution time: 97_173_000 picoseconds. - Weight::from_parts(98_077_000, 8799) - // Standard Error: 237_273 - .saturating_add(Weight::from_parts(966_017, 0).saturating_mul(c.into())) - // Standard Error: 528_475 - .saturating_add(Weight::from_parts(156_413_844, 0).saturating_mul(e.into())) + // Minimum execution time: 105_106_000 picoseconds. + Weight::from_parts(105_990_000, 8799) + // Standard Error: 233_028 + .saturating_add(Weight::from_parts(973_499, 0).saturating_mul(c.into())) + // Standard Error: 519_020 + .saturating_add(Weight::from_parts(172_611_739, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((12_u64).saturating_mul(e.into()))) .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(e.into()))) @@ -255,13 +255,13 @@ impl pallet_lbp::WeightInfo for HydraWeight { fn router_execution_buy(c: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1052 + e * (1199 ±0)` - // Estimated: `6190 + e * (8544 ±14_296_005_195_177_084)` - // Minimum execution time: 174_545_000 picoseconds. - Weight::from_parts(175_906_000, 6190) - // Standard Error: 466_724 - .saturating_add(Weight::from_parts(3_087_259, 0).saturating_mul(c.into())) - // Standard Error: 1_573_946 - .saturating_add(Weight::from_parts(115_651_297, 0).saturating_mul(e.into())) + // Estimated: `6190 + e * (8544 ±0)` + // Minimum execution time: 179_999_000 picoseconds. + Weight::from_parts(181_136_000, 6190) + // Standard Error: 449_259 + .saturating_add(Weight::from_parts(2_974_684, 0).saturating_mul(c.into())) + // Standard Error: 1_515_048 + .saturating_add(Weight::from_parts(133_550_428, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((12_u64).saturating_mul(e.into()))) .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(e.into()))) @@ -277,8 +277,8 @@ impl pallet_lbp::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1052` // Estimated: `6190` - // Minimum execution time: 103_197_000 picoseconds. - Weight::from_parts(103_901_000, 6190) + // Minimum execution time: 105_367_000 picoseconds. + Weight::from_parts(106_027_000, 6190) .saturating_add(T::DbWeight::get().reads(5_u64)) } /// Storage: `LBP::PoolData` (r:1 w:0) @@ -293,8 +293,8 @@ impl pallet_lbp::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1052` // Estimated: `6190` - // Minimum execution time: 34_218_000 picoseconds. - Weight::from_parts(34_794_000, 6190) + // Minimum execution time: 44_994_000 picoseconds. + Weight::from_parts(45_439_000, 6190) .saturating_add(T::DbWeight::get().reads(6_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_liquidation.rs b/runtime/hydradx/src/weights/pallet_liquidation.rs index 1fb71a9432..3b4fbec93c 100644 --- a/runtime/hydradx/src/weights/pallet_liquidation.rs +++ b/runtime/hydradx/src/weights/pallet_liquidation.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_liquidation` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-liquidation -// --extrinsic=* +// --pallet +// pallet-liquidation +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_liquidation.rs +// --output +// runtime/hydradx/src/weights/pallet_liquidation.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -51,35 +57,35 @@ pub struct WeightInfo(PhantomData); /// Weights for `pallet_liquidation` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl pallet_liquidation::WeightInfo for HydraWeight { - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:1 w:1) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:0) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Tokens::TotalIssuance` (r:1 w:1) - /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) - /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `Liquidation::BorrowingContract` (r:1 w:0) - /// Proof: `Liquidation::BorrowingContract` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) - fn liquidate() -> Weight { - // Proof Size summary in bytes: - // Measured: `916` - // Estimated: `3593` - // Minimum execution time: 85_499_000 picoseconds. - Weight::from_parts(86_311_000, 3593) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) - } - /// Storage: `Liquidation::BorrowingContract` (r:0 w:1) - /// Proof: `Liquidation::BorrowingContract` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) - fn set_borrowing_contract() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 3_358_000 picoseconds. - Weight::from_parts(3_601_000, 0) - .saturating_add(T::DbWeight::get().writes(1_u64)) - } -} + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:1 w:1) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `Liquidation::BorrowingContract` (r:1 w:0) + /// Proof: `Liquidation::BorrowingContract` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + fn liquidate() -> Weight { + // Proof Size summary in bytes: + // Measured: `916` + // Estimated: `3593` + // Minimum execution time: 95_693_000 picoseconds. + Weight::from_parts(96_402_000, 3593) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Liquidation::BorrowingContract` (r:0 w:1) + /// Proof: `Liquidation::BorrowingContract` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + fn set_borrowing_contract() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_143_000 picoseconds. + Weight::from_parts(4_246_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } +} \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_message_queue.rs b/runtime/hydradx/src/weights/pallet_message_queue.rs index 8149930258..741eb36919 100644 --- a/runtime/hydradx/src/weights/pallet_message_queue.rs +++ b/runtime/hydradx/src/weights/pallet_message_queue.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_message_queue` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-message-queue -// --extrinsic=* +// --pallet +// pallet-message-queue +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_message_queue.rs +// --output +// runtime/hydradx/src/weights/pallet_message_queue.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -59,8 +65,8 @@ impl pallet_message_queue::WeightInfo for HydraWeight pallet_message_queue::WeightInfo for HydraWeight pallet_message_queue::WeightInfo for HydraWeight pallet_message_queue::WeightInfo for HydraWeight pallet_message_queue::WeightInfo for HydraWeight pallet_message_queue::WeightInfo for HydraWeight pallet_message_queue::WeightInfo for HydraWeight pallet_message_queue::WeightInfo for HydraWeight pallet_message_queue::WeightInfo for HydraWeight pallet_message_queue::WeightInfo for HydraWeight pallet_multisig::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_685_000 picoseconds. - Weight::from_parts(14_220_986, 0) + // Minimum execution time: 13_920_000 picoseconds. + Weight::from_parts(14_341_872, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(559, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(604, 0).saturating_mul(z.into())) } /// Storage: `Multisig::Multisigs` (r:1 w:1) /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) @@ -69,12 +75,12 @@ impl pallet_multisig::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `329 + s * (2 ±0)` // Estimated: `6811` - // Minimum execution time: 45_377_000 picoseconds. - Weight::from_parts(39_587_049, 6811) - // Standard Error: 354 - .saturating_add(Weight::from_parts(65_638, 0).saturating_mul(s.into())) + // Minimum execution time: 50_836_000 picoseconds. + Weight::from_parts(44_884_435, 6811) + // Standard Error: 318 + .saturating_add(Weight::from_parts(66_464, 0).saturating_mul(s.into())) // Standard Error: 3 - .saturating_add(Weight::from_parts(1_248, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(1_330, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -86,12 +92,12 @@ impl pallet_multisig::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `348` // Estimated: `6811` - // Minimum execution time: 30_761_000 picoseconds. - Weight::from_parts(24_486_480, 6811) - // Standard Error: 296 - .saturating_add(Weight::from_parts(69_430, 0).saturating_mul(s.into())) + // Minimum execution time: 33_478_000 picoseconds. + Weight::from_parts(27_603_644, 6811) + // Standard Error: 289 + .saturating_add(Weight::from_parts(64_968, 0).saturating_mul(s.into())) // Standard Error: 2 - .saturating_add(Weight::from_parts(1_216, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(1_331, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -105,12 +111,12 @@ impl pallet_multisig::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `454 + s * (33 ±0)` // Estimated: `6811` - // Minimum execution time: 51_067_000 picoseconds. - Weight::from_parts(43_662_040, 6811) - // Standard Error: 435 - .saturating_add(Weight::from_parts(85_808, 0).saturating_mul(s.into())) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_280, 0).saturating_mul(z.into())) + // Minimum execution time: 56_459_000 picoseconds. + Weight::from_parts(48_469_110, 6811) + // Standard Error: 647 + .saturating_add(Weight::from_parts(85_472, 0).saturating_mul(s.into())) + // Standard Error: 6 + .saturating_add(Weight::from_parts(1_361, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -121,10 +127,10 @@ impl pallet_multisig::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `329 + s * (2 ±0)` // Estimated: `6811` - // Minimum execution time: 35_840_000 picoseconds. - Weight::from_parts(37_128_113, 6811) - // Standard Error: 558 - .saturating_add(Weight::from_parts(70_564, 0).saturating_mul(s.into())) + // Minimum execution time: 41_468_000 picoseconds. + Weight::from_parts(42_514_961, 6811) + // Standard Error: 415 + .saturating_add(Weight::from_parts(68_285, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -135,10 +141,10 @@ impl pallet_multisig::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `348` // Estimated: `6811` - // Minimum execution time: 20_936_000 picoseconds. - Weight::from_parts(21_902_006, 6811) - // Standard Error: 424 - .saturating_add(Weight::from_parts(66_780, 0).saturating_mul(s.into())) + // Minimum execution time: 24_835_000 picoseconds. + Weight::from_parts(25_541_991, 6811) + // Standard Error: 383 + .saturating_add(Weight::from_parts(65_206, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -149,10 +155,10 @@ impl pallet_multisig::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `520 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 36_731_000 picoseconds. - Weight::from_parts(37_838_429, 6811) - // Standard Error: 494 - .saturating_add(Weight::from_parts(70_143, 0).saturating_mul(s.into())) + // Minimum execution time: 42_098_000 picoseconds. + Weight::from_parts(42_961_640, 6811) + // Standard Error: 387 + .saturating_add(Weight::from_parts(68_452, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/runtime/hydradx/src/weights/pallet_omnipool.rs b/runtime/hydradx/src/weights/pallet_omnipool.rs index e47e8e5590..f034851f66 100644 --- a/runtime/hydradx/src/weights/pallet_omnipool.rs +++ b/runtime/hydradx/src/weights/pallet_omnipool.rs @@ -18,8 +18,8 @@ //! Autogenerated weights for `pallet_omnipool` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-02-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-02-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -41,7 +41,7 @@ // 20 // --template=scripts/pallet-weight-template.hbs // --output -// omni.rs +// runtime/hydradx/src/weights/pallet_omnipool.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -89,8 +89,8 @@ impl pallet_omnipool::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3253` // Estimated: `7406` - // Minimum execution time: 138_314_000 picoseconds. - Weight::from_parts(139_097_000, 7406) + // Minimum execution time: 163_929_000 picoseconds. + Weight::from_parts(165_463_000, 7406) .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().writes(9_u64)) } @@ -140,8 +140,8 @@ impl pallet_omnipool::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `5453` // Estimated: `8739` - // Minimum execution time: 249_864_000 picoseconds. - Weight::from_parts(251_396_000, 8739) + // Minimum execution time: 288_453_000 picoseconds. + Weight::from_parts(290_170_000, 8739) .saturating_add(T::DbWeight::get().reads(24_u64)) .saturating_add(T::DbWeight::get().writes(14_u64)) } @@ -193,8 +193,8 @@ impl pallet_omnipool::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `8985` // Estimated: `11322` - // Minimum execution time: 289_166_000 picoseconds. - Weight::from_parts(290_661_000, 11322) + // Minimum execution time: 338_646_000 picoseconds. + Weight::from_parts(340_442_000, 11322) .saturating_add(T::DbWeight::get().reads(27_u64)) .saturating_add(T::DbWeight::get().writes(15_u64)) } @@ -244,10 +244,10 @@ impl pallet_omnipool::WeightInfo for HydraWeight { /// Proof: `Broadcast::IncrementalId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn sell() -> Weight { // Proof Size summary in bytes: - // Measured: `9509` + // Measured: `9529` // Estimated: `19071` - // Minimum execution time: 376_796_000 picoseconds. - Weight::from_parts(380_250_000, 19071) + // Minimum execution time: 436_936_000 picoseconds. + Weight::from_parts(439_997_000, 19071) .saturating_add(T::DbWeight::get().reads(39_u64)) .saturating_add(T::DbWeight::get().writes(23_u64)) } @@ -297,10 +297,10 @@ impl pallet_omnipool::WeightInfo for HydraWeight { /// Proof: `Broadcast::IncrementalId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn buy() -> Weight { // Proof Size summary in bytes: - // Measured: `9509` + // Measured: `9529` // Estimated: `19071` - // Minimum execution time: 383_444_000 picoseconds. - Weight::from_parts(385_175_000, 19071) + // Minimum execution time: 442_528_000 picoseconds. + Weight::from_parts(446_423_000, 19071) .saturating_add(T::DbWeight::get().reads(40_u64)) .saturating_add(T::DbWeight::get().writes(24_u64)) } @@ -310,8 +310,8 @@ impl pallet_omnipool::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1338` // Estimated: `3550` - // Minimum execution time: 28_206_000 picoseconds. - Weight::from_parts(28_736_000, 3550) + // Minimum execution time: 35_568_000 picoseconds. + Weight::from_parts(36_268_000, 3550) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -337,8 +337,8 @@ impl pallet_omnipool::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `2918` // Estimated: `6196` - // Minimum execution time: 105_770_000 picoseconds. - Weight::from_parts(106_699_000, 6196) + // Minimum execution time: 127_324_000 picoseconds. + Weight::from_parts(128_412_000, 6196) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -358,8 +358,8 @@ impl pallet_omnipool::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3673` // Estimated: `3655` - // Minimum execution time: 65_789_000 picoseconds. - Weight::from_parts(66_657_000, 3655) + // Minimum execution time: 80_627_000 picoseconds. + Weight::from_parts(82_631_000, 3655) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -369,8 +369,8 @@ impl pallet_omnipool::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1338` // Estimated: `3550` - // Minimum execution time: 28_394_000 picoseconds. - Weight::from_parts(28_741_000, 3550) + // Minimum execution time: 35_765_000 picoseconds. + Weight::from_parts(36_207_000, 3550) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -400,8 +400,8 @@ impl pallet_omnipool::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `5302` // Estimated: `8739` - // Minimum execution time: 148_701_000 picoseconds. - Weight::from_parts(149_639_000, 8739) + // Minimum execution time: 178_198_000 picoseconds. + Weight::from_parts(179_626_000, 8739) .saturating_add(T::DbWeight::get().reads(15_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -429,8 +429,8 @@ impl pallet_omnipool::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `4410` // Estimated: `11322` - // Minimum execution time: 149_182_000 picoseconds. - Weight::from_parts(150_528_000, 11322) + // Minimum execution time: 179_420_000 picoseconds. + Weight::from_parts(180_786_000, 11322) .saturating_add(T::DbWeight::get().reads(17_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -476,16 +476,14 @@ impl pallet_omnipool::WeightInfo for HydraWeight { /// Proof: `Broadcast::IncrementalId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_sell(c: u32, e: u32, ) -> Weight { + fn router_execution_sell(_c: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2395 + e * (6417 ±0)` // Estimated: `8799 + e * (12915 ±0)` - // Minimum execution time: 52_490_000 picoseconds. - Weight::from_parts(52_439_395, 8799) - // Standard Error: 135_380 - .saturating_add(Weight::from_parts(601_173, 0).saturating_mul(c.into())) - // Standard Error: 135_380 - .saturating_add(Weight::from_parts(331_442_057, 0).saturating_mul(e.into())) + // Minimum execution time: 68_070_000 picoseconds. + Weight::from_parts(72_173_722, 8799) + // Standard Error: 184_751 + .saturating_add(Weight::from_parts(371_388_708, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((29_u64).saturating_mul(e.into()))) .saturating_add(T::DbWeight::get().writes((22_u64).saturating_mul(e.into()))) @@ -533,16 +531,14 @@ impl pallet_omnipool::WeightInfo for HydraWeight { /// Proof: `Broadcast::IncrementalId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_buy(c: u32, e: u32, ) -> Weight { + fn router_execution_buy(c: u32, _e: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `8812` // Estimated: `19071` - // Minimum execution time: 365_547_000 picoseconds. - Weight::from_parts(353_472_746, 19071) - // Standard Error: 195_386 - .saturating_add(Weight::from_parts(15_827_112, 0).saturating_mul(c.into())) - // Standard Error: 195_386 - .saturating_add(Weight::from_parts(60_628, 0).saturating_mul(e.into())) + // Minimum execution time: 421_793_000 picoseconds. + Weight::from_parts(414_086_716, 19071) + // Standard Error: 241_900 + .saturating_add(Weight::from_parts(14_761_284, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(37_u64)) .saturating_add(T::DbWeight::get().writes(22_u64)) } @@ -558,8 +554,8 @@ impl pallet_omnipool::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `2395` // Estimated: `6190` - // Minimum execution time: 53_373_000 picoseconds. - Weight::from_parts(53_845_000, 6190) + // Minimum execution time: 69_242_000 picoseconds. + Weight::from_parts(69_923_000, 6190) .saturating_add(T::DbWeight::get().reads(8_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_omnipool_liquidity_mining.rs b/runtime/hydradx/src/weights/pallet_omnipool_liquidity_mining.rs index ea9be38a70..9024dc97bb 100644 --- a/runtime/hydradx/src/weights/pallet_omnipool_liquidity_mining.rs +++ b/runtime/hydradx/src/weights/pallet_omnipool_liquidity_mining.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_omnipool_liquidity_mining` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-01-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-omnipool-liquidity-mining -// --extrinsic=* +// --pallet +// pallet-omnipool-liquidity-mining +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=olm.rs +// --output +// runtime/hydradx/src/weights/pallet_omnipool_liquidity_mining.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -65,8 +71,8 @@ impl pallet_omnipool_liquidity_mining::WeightInfo for H // Proof Size summary in bytes: // Measured: `2129` // Estimated: `6196` - // Minimum execution time: 90_891_000 picoseconds. - Weight::from_parts(92_140_000, 6196) + // Minimum execution time: 107_390_000 picoseconds. + Weight::from_parts(108_215_000, 6196) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -80,10 +86,10 @@ impl pallet_omnipool_liquidity_mining::WeightInfo for H /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn update_global_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `6286` + // Measured: `6533` // Estimated: `6294` - // Minimum execution time: 131_995_000 picoseconds. - Weight::from_parts(132_875_000, 6294) + // Minimum execution time: 157_109_000 picoseconds. + Weight::from_parts(158_678_000, 6294) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -95,10 +101,10 @@ impl pallet_omnipool_liquidity_mining::WeightInfo for H /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn terminate_global_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `5542` + // Measured: `5789` // Estimated: `6196` - // Minimum execution time: 100_718_000 picoseconds. - Weight::from_parts(101_498_000, 6196) + // Minimum execution time: 118_738_000 picoseconds. + Weight::from_parts(120_206_000, 6196) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -120,10 +126,10 @@ impl pallet_omnipool_liquidity_mining::WeightInfo for H /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) fn create_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `6782` + // Measured: `7029` // Estimated: `6294` - // Minimum execution time: 149_606_000 picoseconds. - Weight::from_parts(150_693_000, 6294) + // Minimum execution time: 178_760_000 picoseconds. + Weight::from_parts(180_216_000, 6294) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -143,10 +149,10 @@ impl pallet_omnipool_liquidity_mining::WeightInfo for H /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn update_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `7288` + // Measured: `7535` // Estimated: `6294` - // Minimum execution time: 153_475_000 picoseconds. - Weight::from_parts(154_403_000, 6294) + // Minimum execution time: 181_419_000 picoseconds. + Weight::from_parts(182_593_000, 6294) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -164,10 +170,10 @@ impl pallet_omnipool_liquidity_mining::WeightInfo for H /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn stop_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `6861` + // Measured: `7108` // Estimated: `6294` - // Minimum execution time: 145_464_000 picoseconds. - Weight::from_parts(146_678_000, 6294) + // Minimum execution time: 173_124_000 picoseconds. + Weight::from_parts(173_865_000, 6294) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -187,10 +193,10 @@ impl pallet_omnipool_liquidity_mining::WeightInfo for H /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn resume_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `7405` + // Measured: `7652` // Estimated: `6294` - // Minimum execution time: 150_416_000 picoseconds. - Weight::from_parts(151_339_000, 6294) + // Minimum execution time: 179_540_000 picoseconds. + Weight::from_parts(181_012_000, 6294) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -204,10 +210,10 @@ impl pallet_omnipool_liquidity_mining::WeightInfo for H /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn terminate_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `5910` + // Measured: `6157` // Estimated: `6196` - // Minimum execution time: 96_348_000 picoseconds. - Weight::from_parts(97_429_000, 6196) + // Minimum execution time: 114_536_000 picoseconds. + Weight::from_parts(115_950_000, 6196) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -243,10 +249,10 @@ impl pallet_omnipool_liquidity_mining::WeightInfo for H /// Proof: `OmnipoolWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(385), added: 2860, mode: `MaxEncodedLen`) fn deposit_shares() -> Weight { // Proof Size summary in bytes: - // Measured: `10158` + // Measured: `10425` // Estimated: `11598` - // Minimum execution time: 235_264_000 picoseconds. - Weight::from_parts(236_123_000, 11598) + // Minimum execution time: 275_513_000 picoseconds. + Weight::from_parts(277_759_000, 11598) .saturating_add(T::DbWeight::get().reads(17_u64)) .saturating_add(T::DbWeight::get().writes(14_u64)) } @@ -272,10 +278,10 @@ impl pallet_omnipool_liquidity_mining::WeightInfo for H /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn redeposit_shares() -> Weight { // Proof Size summary in bytes: - // Measured: `13080` + // Measured: `13427` // Estimated: `11598` - // Minimum execution time: 198_839_000 picoseconds. - Weight::from_parts(199_681_000, 11598) + // Minimum execution time: 240_107_000 picoseconds. + Weight::from_parts(241_403_000, 11598) .saturating_add(T::DbWeight::get().reads(15_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -295,10 +301,10 @@ impl pallet_omnipool_liquidity_mining::WeightInfo for H /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn claim_rewards() -> Weight { // Proof Size summary in bytes: - // Measured: `10326` + // Measured: `10673` // Estimated: `8799` - // Minimum execution time: 198_884_000 picoseconds. - Weight::from_parts(200_032_000, 8799) + // Minimum execution time: 232_183_000 picoseconds. + Weight::from_parts(233_237_000, 8799) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -328,10 +334,10 @@ impl pallet_omnipool_liquidity_mining::WeightInfo for H /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn withdraw_shares() -> Weight { // Proof Size summary in bytes: - // Measured: `8862` + // Measured: `9129` // Estimated: `8799` - // Minimum execution time: 283_642_000 picoseconds. - Weight::from_parts(285_128_000, 8799) + // Minimum execution time: 324_683_000 picoseconds. + Weight::from_parts(327_172_000, 8799) .saturating_add(T::DbWeight::get().reads(15_u64)) .saturating_add(T::DbWeight::get().writes(15_u64)) } @@ -368,12 +374,12 @@ impl pallet_omnipool_liquidity_mining::WeightInfo for H /// The range of component `c` is `[1, 5]`. fn join_farms(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `18246 + c * (507 ±0)` + // Measured: `18673 + c * (507 ±0)` // Estimated: `11598 + c * (2680 ±0)` - // Minimum execution time: 238_250_000 picoseconds. - Weight::from_parts(141_909_709, 11598) - // Standard Error: 49_709 - .saturating_add(Weight::from_parts(100_153_865, 0).saturating_mul(c.into())) + // Minimum execution time: 280_731_000 picoseconds. + Weight::from_parts(179_969_730, 11598) + // Standard Error: 83_858 + .saturating_add(Weight::from_parts(105_244_917, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(11_u64)) @@ -439,12 +445,12 @@ impl pallet_omnipool_liquidity_mining::WeightInfo for H /// The range of component `c` is `[1, 5]`. fn add_liquidity_and_join_farms(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `19814 + c * (507 ±0)` + // Measured: `20241 + c * (507 ±0)` // Estimated: `14250 + c * (2680 ±0)` - // Minimum execution time: 442_134_000 picoseconds. - Weight::from_parts(343_981_926, 14250) - // Standard Error: 124_910 - .saturating_add(Weight::from_parts(102_830_192, 0).saturating_mul(c.into())) + // Minimum execution time: 506_169_000 picoseconds. + Weight::from_parts(403_101_603, 14250) + // Standard Error: 142_685 + .saturating_add(Weight::from_parts(108_610_972, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(36_u64)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(24_u64)) @@ -478,12 +484,12 @@ impl pallet_omnipool_liquidity_mining::WeightInfo for H /// The range of component `c` is `[1, 5]`. fn exit_farms(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `10825 + c * (518 ±0)` + // Measured: `11152 + c * (518 ±0)` // Estimated: `6294 + c * (2680 ±0)` - // Minimum execution time: 243_395_000 picoseconds. - Weight::from_parts(85_897_820, 6294) - // Standard Error: 246_812 - .saturating_add(Weight::from_parts(159_965_635, 0).saturating_mul(c.into())) + // Minimum execution time: 283_765_000 picoseconds. + Weight::from_parts(123_350_416, 6294) + // Standard Error: 283_851 + .saturating_add(Weight::from_parts(162_315_648, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -514,6 +520,8 @@ impl pallet_omnipool_liquidity_mining::WeightInfo for H /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `EmaOracle::Accumulator` (r:1 w:1) /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `Broadcast::ExecutionContext` (r:1 w:0) + /// Proof: `Broadcast::ExecutionContext` (`max_values`: Some(1), `max_size`: Some(593), added: 1088, mode: `MaxEncodedLen`) /// Storage: `Omnipool::Assets` (r:1 w:1) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: `EmaOracle::Oracles` (r:5 w:0) @@ -555,13 +563,13 @@ impl pallet_omnipool_liquidity_mining::WeightInfo for H /// The range of component `c` is `[1, 5]`. fn add_liquidity_stableswap_omnipool_and_join_farms(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `22169 + c * (507 ±0)` + // Measured: `22692 + c * (507 ±0)` // Estimated: `34569 + c * (2680 ±0)` - // Minimum execution time: 1_564_795_000 picoseconds. - Weight::from_parts(1_486_605_137, 34569) - // Standard Error: 355_983 - .saturating_add(Weight::from_parts(99_249_561, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(62_u64)) + // Minimum execution time: 1_651_384_000 picoseconds. + Weight::from_parts(1_557_999_875, 34569) + // Standard Error: 189_338 + .saturating_add(Weight::from_parts(105_535_251, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(63_u64)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(35_u64)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(c.into()))) diff --git a/runtime/hydradx/src/weights/pallet_otc.rs b/runtime/hydradx/src/weights/pallet_otc.rs index 6c05f38d30..bc8b27aff7 100644 --- a/runtime/hydradx/src/weights/pallet_otc.rs +++ b/runtime/hydradx/src/weights/pallet_otc.rs @@ -18,8 +18,8 @@ //! Autogenerated weights for `pallet_otc` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-02-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-02-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -41,7 +41,7 @@ // 20 // --template=scripts/pallet-weight-template.hbs // --output -// otc.rs +// runtime/hydradx/src/weights/pallet_otc.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -71,8 +71,8 @@ impl pallet_otc::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `996` // Estimated: `6190` - // Minimum execution time: 50_732_000 picoseconds. - Weight::from_parts(51_426_000, 6190) + // Minimum execution time: 63_441_000 picoseconds. + Weight::from_parts(64_029_000, 6190) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -100,8 +100,8 @@ impl pallet_otc::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `2503` // Estimated: `13905` - // Minimum execution time: 172_353_000 picoseconds. - Weight::from_parts(174_121_000, 13905) + // Minimum execution time: 205_185_000 picoseconds. + Weight::from_parts(206_060_000, 13905) .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -129,8 +129,8 @@ impl pallet_otc::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `2503` // Estimated: `13905` - // Minimum execution time: 170_404_000 picoseconds. - Weight::from_parts(171_663_000, 13905) + // Minimum execution time: 201_876_000 picoseconds. + Weight::from_parts(203_647_000, 13905) .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -146,8 +146,8 @@ impl pallet_otc::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1230` // Estimated: `4726` - // Minimum execution time: 43_496_000 picoseconds. - Weight::from_parts(44_907_000, 4726) + // Minimum execution time: 56_278_000 picoseconds. + Weight::from_parts(56_932_000, 4726) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } diff --git a/runtime/hydradx/src/weights/pallet_otc_settlements.rs b/runtime/hydradx/src/weights/pallet_otc_settlements.rs index d67755dcad..862f68ed9e 100644 --- a/runtime/hydradx/src/weights/pallet_otc_settlements.rs +++ b/runtime/hydradx/src/weights/pallet_otc_settlements.rs @@ -41,7 +41,7 @@ // 20 // --template=scripts/pallet-weight-template.hbs // --output -// otcs.rs +// runtime/hydradx/src/weights/pallet_otc_settlements.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -56,7 +56,7 @@ pub struct WeightInfo(PhantomData); /// Weights for `pallet_otc_settlements` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); -impl pallet_otc_settlements::weights::WeightInfo for HydraWeight { +impl pallet_otc_settlements::WeightInfo for HydraWeight { /// Storage: `OTC::Orders` (r:1 w:0) /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:1) diff --git a/runtime/hydradx/src/weights/pallet_preimage.rs b/runtime/hydradx/src/weights/pallet_preimage.rs index 4904e0d14a..90ff90b724 100644 --- a/runtime/hydradx/src/weights/pallet_preimage.rs +++ b/runtime/hydradx/src/weights/pallet_preimage.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_preimage` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-preimage -// --extrinsic=* +// --pallet +// pallet-preimage +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_preimage.rs +// --output +// runtime/hydradx/src/weights/pallet_preimage.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -64,10 +70,10 @@ impl pallet_preimage::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `109` // Estimated: `3556` - // Minimum execution time: 57_263_000 picoseconds. - Weight::from_parts(57_678_000, 3556) - // Standard Error: 1 - .saturating_add(Weight::from_parts(2_020, 0).saturating_mul(s.into())) + // Minimum execution time: 60_581_000 picoseconds. + Weight::from_parts(61_234_000, 3556) + // Standard Error: 4 + .saturating_add(Weight::from_parts(2_096, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -82,10 +88,10 @@ impl pallet_preimage::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `173` // Estimated: `3556` - // Minimum execution time: 20_468_000 picoseconds. - Weight::from_parts(20_650_000, 3556) - // Standard Error: 1 - .saturating_add(Weight::from_parts(2_016, 0).saturating_mul(s.into())) + // Minimum execution time: 23_814_000 picoseconds. + Weight::from_parts(24_072_000, 3556) + // Standard Error: 3 + .saturating_add(Weight::from_parts(2_080, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -100,10 +106,10 @@ impl pallet_preimage::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `173` // Estimated: `3556` - // Minimum execution time: 18_957_000 picoseconds. - Weight::from_parts(19_168_000, 3556) - // Standard Error: 1 - .saturating_add(Weight::from_parts(2_021, 0).saturating_mul(s.into())) + // Minimum execution time: 22_872_000 picoseconds. + Weight::from_parts(23_001_000, 3556) + // Standard Error: 6 + .saturating_add(Weight::from_parts(2_208, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -119,8 +125,8 @@ impl pallet_preimage::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `310` // Estimated: `3556` - // Minimum execution time: 64_098_000 picoseconds. - Weight::from_parts(65_017_000, 3556) + // Minimum execution time: 66_368_000 picoseconds. + Weight::from_parts(67_364_000, 3556) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -134,8 +140,8 @@ impl pallet_preimage::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3556` - // Minimum execution time: 30_224_000 picoseconds. - Weight::from_parts(31_592_000, 3556) + // Minimum execution time: 33_696_000 picoseconds. + Weight::from_parts(34_935_000, 3556) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -147,8 +153,8 @@ impl pallet_preimage::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `255` // Estimated: `3556` - // Minimum execution time: 25_991_000 picoseconds. - Weight::from_parts(27_000_000, 3556) + // Minimum execution time: 29_107_000 picoseconds. + Weight::from_parts(30_039_000, 3556) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -160,8 +166,8 @@ impl pallet_preimage::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3556` - // Minimum execution time: 18_283_000 picoseconds. - Weight::from_parts(19_097_000, 3556) + // Minimum execution time: 20_513_000 picoseconds. + Weight::from_parts(22_032_000, 3556) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -173,8 +179,8 @@ impl pallet_preimage::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `109` // Estimated: `3556` - // Minimum execution time: 16_538_000 picoseconds. - Weight::from_parts(17_110_000, 3556) + // Minimum execution time: 18_346_000 picoseconds. + Weight::from_parts(18_776_000, 3556) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -186,8 +192,8 @@ impl pallet_preimage::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `173` // Estimated: `3556` - // Minimum execution time: 12_458_000 picoseconds. - Weight::from_parts(12_860_000, 3556) + // Minimum execution time: 15_732_000 picoseconds. + Weight::from_parts(16_135_000, 3556) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -201,8 +207,8 @@ impl pallet_preimage::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3556` - // Minimum execution time: 26_722_000 picoseconds. - Weight::from_parts(27_867_000, 3556) + // Minimum execution time: 29_530_000 picoseconds. + Weight::from_parts(31_312_000, 3556) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -214,8 +220,8 @@ impl pallet_preimage::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `173` // Estimated: `3556` - // Minimum execution time: 12_521_000 picoseconds. - Weight::from_parts(12_863_000, 3556) + // Minimum execution time: 15_364_000 picoseconds. + Weight::from_parts(15_982_000, 3556) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -227,8 +233,8 @@ impl pallet_preimage::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `173` // Estimated: `3556` - // Minimum execution time: 12_599_000 picoseconds. - Weight::from_parts(12_829_000, 3556) + // Minimum execution time: 15_553_000 picoseconds. + Weight::from_parts(15_990_000, 3556) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -245,10 +251,10 @@ impl pallet_preimage::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0 + n * (227 ±0)` // Estimated: `990 + n * (2603 ±0)` - // Minimum execution time: 63_331_000 picoseconds. - Weight::from_parts(63_778_000, 990) - // Standard Error: 30_315 - .saturating_add(Weight::from_parts(58_611_389, 0).saturating_mul(n.into())) + // Minimum execution time: 67_659_000 picoseconds. + Weight::from_parts(67_886_000, 990) + // Standard Error: 35_700 + .saturating_add(Weight::from_parts(60_944_910, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 2603).saturating_mul(n.into())) diff --git a/runtime/hydradx/src/weights/pallet_proxy.rs b/runtime/hydradx/src/weights/pallet_proxy.rs index 3bb2f8c5d3..8696d40f8e 100644 --- a/runtime/hydradx/src/weights/pallet_proxy.rs +++ b/runtime/hydradx/src/weights/pallet_proxy.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_proxy` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-proxy -// --extrinsic=* +// --pallet +// pallet-proxy +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_proxy.rs +// --output +// runtime/hydradx/src/weights/pallet_proxy.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -58,10 +64,10 @@ impl pallet_proxy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 18_116_000 picoseconds. - Weight::from_parts(18_572_854, 4706) - // Standard Error: 773 - .saturating_add(Weight::from_parts(38_263, 0).saturating_mul(p.into())) + // Minimum execution time: 21_481_000 picoseconds. + Weight::from_parts(22_190_104, 4706) + // Standard Error: 735 + .saturating_add(Weight::from_parts(31_899, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Proxy::Proxies` (r:1 w:0) @@ -76,12 +82,12 @@ impl pallet_proxy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `620 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 41_327_000 picoseconds. - Weight::from_parts(41_420_615, 5698) - // Standard Error: 1_508 - .saturating_add(Weight::from_parts(163_852, 0).saturating_mul(a.into())) - // Standard Error: 1_558 - .saturating_add(Weight::from_parts(29_950, 0).saturating_mul(p.into())) + // Minimum execution time: 48_729_000 picoseconds. + Weight::from_parts(48_719_839, 5698) + // Standard Error: 1_529 + .saturating_add(Weight::from_parts(169_358, 0).saturating_mul(a.into())) + // Standard Error: 1_580 + .saturating_add(Weight::from_parts(38_758, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -95,12 +101,12 @@ impl pallet_proxy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `535 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 28_413_000 picoseconds. - Weight::from_parts(28_943_470, 5698) - // Standard Error: 1_307 - .saturating_add(Weight::from_parts(158_692, 0).saturating_mul(a.into())) - // Standard Error: 1_350 - .saturating_add(Weight::from_parts(1_469, 0).saturating_mul(p.into())) + // Minimum execution time: 33_727_000 picoseconds. + Weight::from_parts(34_531_828, 5698) + // Standard Error: 1_360 + .saturating_add(Weight::from_parts(163_439, 0).saturating_mul(a.into())) + // Standard Error: 1_405 + .saturating_add(Weight::from_parts(4_809, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -110,14 +116,16 @@ impl pallet_proxy::WeightInfo for HydraWeight { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn reject_announcement(a: u32, _p: u32, ) -> Weight { + fn reject_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `535 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 28_238_000 picoseconds. - Weight::from_parts(29_204_634, 5698) - // Standard Error: 1_258 - .saturating_add(Weight::from_parts(155_827, 0).saturating_mul(a.into())) + // Minimum execution time: 33_691_000 picoseconds. + Weight::from_parts(34_407_908, 5698) + // Standard Error: 1_293 + .saturating_add(Weight::from_parts(169_781, 0).saturating_mul(a.into())) + // Standard Error: 1_336 + .saturating_add(Weight::from_parts(5_800, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -133,12 +141,12 @@ impl pallet_proxy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `552 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 37_041_000 picoseconds. - Weight::from_parts(36_712_843, 5698) - // Standard Error: 1_183 - .saturating_add(Weight::from_parts(164_464, 0).saturating_mul(a.into())) - // Standard Error: 1_222 - .saturating_add(Weight::from_parts(32_030, 0).saturating_mul(p.into())) + // Minimum execution time: 43_799_000 picoseconds. + Weight::from_parts(44_281_164, 5698) + // Standard Error: 1_516 + .saturating_add(Weight::from_parts(157_147, 0).saturating_mul(a.into())) + // Standard Error: 1_566 + .saturating_add(Weight::from_parts(32_478, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -149,10 +157,10 @@ impl pallet_proxy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 27_337_000 picoseconds. - Weight::from_parts(27_834_770, 4706) - // Standard Error: 917 - .saturating_add(Weight::from_parts(48_479, 0).saturating_mul(p.into())) + // Minimum execution time: 32_612_000 picoseconds. + Weight::from_parts(33_235_750, 4706) + // Standard Error: 804 + .saturating_add(Weight::from_parts(41_049, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -163,10 +171,10 @@ impl pallet_proxy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 27_374_000 picoseconds. - Weight::from_parts(28_238_749, 4706) - // Standard Error: 1_968 - .saturating_add(Weight::from_parts(44_077, 0).saturating_mul(p.into())) + // Minimum execution time: 32_307_000 picoseconds. + Weight::from_parts(33_108_698, 4706) + // Standard Error: 1_014 + .saturating_add(Weight::from_parts(58_047, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -177,10 +185,10 @@ impl pallet_proxy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 26_435_000 picoseconds. - Weight::from_parts(27_094_909, 4706) - // Standard Error: 1_301 - .saturating_add(Weight::from_parts(40_033, 0).saturating_mul(p.into())) + // Minimum execution time: 29_753_000 picoseconds. + Weight::from_parts(30_414_182, 4706) + // Standard Error: 1_042 + .saturating_add(Weight::from_parts(37_763, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -191,10 +199,10 @@ impl pallet_proxy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `305` // Estimated: `4706` - // Minimum execution time: 29_659_000 picoseconds. - Weight::from_parts(30_223_367, 4706) - // Standard Error: 894 - .saturating_add(Weight::from_parts(12_705, 0).saturating_mul(p.into())) + // Minimum execution time: 34_622_000 picoseconds. + Weight::from_parts(35_364_372, 4706) + // Standard Error: 790 + .saturating_add(Weight::from_parts(17_093, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -205,10 +213,10 @@ impl pallet_proxy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `330 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 27_577_000 picoseconds. - Weight::from_parts(28_124_008, 4706) - // Standard Error: 912 - .saturating_add(Weight::from_parts(37_989, 0).saturating_mul(p.into())) + // Minimum execution time: 30_769_000 picoseconds. + Weight::from_parts(31_558_830, 4706) + // Standard Error: 813 + .saturating_add(Weight::from_parts(33_570, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/runtime/hydradx/src/weights/pallet_referenda.rs b/runtime/hydradx/src/weights/pallet_referenda.rs index fc0c44d0d1..26f5a99e7b 100644 --- a/runtime/hydradx/src/weights/pallet_referenda.rs +++ b/runtime/hydradx/src/weights/pallet_referenda.rs @@ -18,25 +18,30 @@ //! Autogenerated weights for `pallet_referenda` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-07-30, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 +// --pallet +// pallet-referenda +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --pallet=pallet-referenda -// --output=pallet_referenda.rs -// --extrinsic=* +// --output +// runtime/hydradx/src/weights/pallet_referenda.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -62,8 +67,8 @@ impl pallet_referenda::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `258` // Estimated: `42428` - // Minimum execution time: 42_788_000 picoseconds. - Weight::from_parts(43_444_000, 42428) + // Minimum execution time: 48_506_000 picoseconds. + Weight::from_parts(49_013_000, 42428) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -71,14 +76,16 @@ impl pallet_referenda::WeightInfo for HydraWeight { /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) /// Storage: `Scheduler::Agenda` (r:2 w:2) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) fn place_decision_deposit_preparing() -> Weight { // Proof Size summary in bytes: // Measured: `511` // Estimated: `83866` - // Minimum execution time: 54_709_000 picoseconds. - Weight::from_parts(55_371_000, 83866) + // Minimum execution time: 63_838_000 picoseconds. + Weight::from_parts(64_652_000, 83866) .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) @@ -88,14 +95,16 @@ impl pallet_referenda::WeightInfo for HydraWeight { /// Proof: `Referenda::TrackQueue` (`max_values`: None, `max_size`: Some(2012), added: 4487, mode: `MaxEncodedLen`) /// Storage: `Scheduler::Agenda` (r:1 w:1) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) fn place_decision_deposit_queued() -> Weight { // Proof Size summary in bytes: // Measured: `3298` // Estimated: `42428` - // Minimum execution time: 65_002_000 picoseconds. - Weight::from_parts(65_880_000, 42428) + // Minimum execution time: 77_838_000 picoseconds. + Weight::from_parts(78_922_000, 42428) .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) @@ -105,14 +114,16 @@ impl pallet_referenda::WeightInfo for HydraWeight { /// Proof: `Referenda::TrackQueue` (`max_values`: None, `max_size`: Some(2012), added: 4487, mode: `MaxEncodedLen`) /// Storage: `Scheduler::Agenda` (r:1 w:1) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) fn place_decision_deposit_not_queued() -> Weight { // Proof Size summary in bytes: // Measured: `3318` // Estimated: `42428` - // Minimum execution time: 64_442_000 picoseconds. - Weight::from_parts(65_228_000, 42428) + // Minimum execution time: 77_594_000 picoseconds. + Weight::from_parts(78_560_000, 42428) .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) @@ -122,14 +133,16 @@ impl pallet_referenda::WeightInfo for HydraWeight { /// Proof: `Balances::InactiveIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Storage: `Scheduler::Agenda` (r:2 w:2) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) fn place_decision_deposit_passing() -> Weight { // Proof Size summary in bytes: // Measured: `511` // Estimated: `83866` - // Minimum execution time: 65_625_000 picoseconds. - Weight::from_parts(66_128_000, 83866) + // Minimum execution time: 76_304_000 picoseconds. + Weight::from_parts(77_293_000, 83866) .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) @@ -139,14 +152,16 @@ impl pallet_referenda::WeightInfo for HydraWeight { /// Proof: `Balances::InactiveIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Storage: `Scheduler::Agenda` (r:2 w:2) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) fn place_decision_deposit_failing() -> Weight { // Proof Size summary in bytes: // Measured: `511` // Estimated: `83866` - // Minimum execution time: 64_713_000 picoseconds. - Weight::from_parts(65_366_000, 83866) + // Minimum execution time: 74_542_000 picoseconds. + Weight::from_parts(75_546_000, 83866) .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) @@ -154,8 +169,8 @@ impl pallet_referenda::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `389` // Estimated: `4401` - // Minimum execution time: 34_880_000 picoseconds. - Weight::from_parts(35_186_000, 4401) + // Minimum execution time: 38_257_000 picoseconds. + Weight::from_parts(38_684_000, 4401) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -165,8 +180,8 @@ impl pallet_referenda::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `379` // Estimated: `4401` - // Minimum execution time: 34_863_000 picoseconds. - Weight::from_parts(35_309_000, 4401) + // Minimum execution time: 38_359_000 picoseconds. + Weight::from_parts(39_008_000, 4401) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -174,14 +189,16 @@ impl pallet_referenda::WeightInfo for HydraWeight { /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) /// Storage: `Scheduler::Agenda` (r:2 w:2) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) fn cancel() -> Weight { // Proof Size summary in bytes: // Measured: `419` // Estimated: `83866` - // Minimum execution time: 38_964_000 picoseconds. - Weight::from_parts(39_306_000, 83866) + // Minimum execution time: 45_174_000 picoseconds. + Weight::from_parts(45_409_000, 83866) .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) @@ -191,14 +208,16 @@ impl pallet_referenda::WeightInfo for HydraWeight { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Referenda::MetadataOf` (r:1 w:0) /// Proof: `Referenda::MetadataOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) fn kill() -> Weight { // Proof Size summary in bytes: // Measured: `763` // Estimated: `83866` - // Minimum execution time: 105_099_000 picoseconds. - Weight::from_parts(105_893_000, 83866) + // Minimum execution time: 113_102_000 picoseconds. + Weight::from_parts(114_196_000, 83866) .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `Referenda::TrackQueue` (r:1 w:0) /// Proof: `Referenda::TrackQueue` (`max_values`: None, `max_size`: Some(2012), added: 4487, mode: `MaxEncodedLen`) @@ -208,8 +227,8 @@ impl pallet_referenda::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `212` // Estimated: `5477` - // Minimum execution time: 13_356_000 picoseconds. - Weight::from_parts(13_548_000, 5477) + // Minimum execution time: 16_129_000 picoseconds. + Weight::from_parts(16_345_000, 5477) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -223,10 +242,10 @@ impl pallet_referenda::WeightInfo for HydraWeight { /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn one_fewer_deciding_failing() -> Weight { // Proof Size summary in bytes: - // Measured: `3188` + // Measured: `3163` // Estimated: `42428` - // Minimum execution time: 44_751_000 picoseconds. - Weight::from_parts(45_406_000, 42428) + // Minimum execution time: 50_813_000 picoseconds. + Weight::from_parts(52_111_000, 42428) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -240,10 +259,10 @@ impl pallet_referenda::WeightInfo for HydraWeight { /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn one_fewer_deciding_passing() -> Weight { // Proof Size summary in bytes: - // Measured: `3188` + // Measured: `3191` // Estimated: `42428` - // Minimum execution time: 47_122_000 picoseconds. - Weight::from_parts(47_714_000, 42428) + // Minimum execution time: 55_011_000 picoseconds. + Weight::from_parts(56_505_000, 42428) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -255,8 +274,8 @@ impl pallet_referenda::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3049` // Estimated: `5477` - // Minimum execution time: 22_886_000 picoseconds. - Weight::from_parts(23_180_000, 5477) + // Minimum execution time: 26_817_000 picoseconds. + Weight::from_parts(27_861_000, 5477) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -268,8 +287,8 @@ impl pallet_referenda::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3049` // Estimated: `5477` - // Minimum execution time: 23_174_000 picoseconds. - Weight::from_parts(23_374_000, 5477) + // Minimum execution time: 26_586_000 picoseconds. + Weight::from_parts(27_927_000, 5477) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -283,8 +302,8 @@ impl pallet_referenda::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3053` // Estimated: `5477` - // Minimum execution time: 27_949_000 picoseconds. - Weight::from_parts(28_365_000, 5477) + // Minimum execution time: 32_610_000 picoseconds. + Weight::from_parts(33_250_000, 5477) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -298,8 +317,8 @@ impl pallet_referenda::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3073` // Estimated: `5477` - // Minimum execution time: 27_720_000 picoseconds. - Weight::from_parts(28_069_000, 5477) + // Minimum execution time: 32_403_000 picoseconds. + Weight::from_parts(33_541_000, 5477) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -311,8 +330,8 @@ impl pallet_referenda::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `371` // Estimated: `42428` - // Minimum execution time: 27_309_000 picoseconds. - Weight::from_parts(27_680_000, 42428) + // Minimum execution time: 31_830_000 picoseconds. + Weight::from_parts(32_303_000, 42428) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -324,8 +343,8 @@ impl pallet_referenda::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `419` // Estimated: `42428` - // Minimum execution time: 27_553_000 picoseconds. - Weight::from_parts(28_228_000, 42428) + // Minimum execution time: 31_822_000 picoseconds. + Weight::from_parts(32_312_000, 42428) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -335,8 +354,8 @@ impl pallet_referenda::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `316` // Estimated: `4401` - // Minimum execution time: 18_789_000 picoseconds. - Weight::from_parts(19_190_000, 4401) + // Minimum execution time: 21_952_000 picoseconds. + Weight::from_parts(22_344_000, 4401) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -352,8 +371,8 @@ impl pallet_referenda::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `419` // Estimated: `42428` - // Minimum execution time: 36_770_000 picoseconds. - Weight::from_parts(37_417_000, 42428) + // Minimum execution time: 41_862_000 picoseconds. + Weight::from_parts(42_243_000, 42428) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -369,8 +388,8 @@ impl pallet_referenda::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `419` // Estimated: `42428` - // Minimum execution time: 38_288_000 picoseconds. - Weight::from_parts(38_837_000, 42428) + // Minimum execution time: 43_217_000 picoseconds. + Weight::from_parts(44_045_000, 42428) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -382,10 +401,10 @@ impl pallet_referenda::WeightInfo for HydraWeight { /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn nudge_referendum_begin_confirming() -> Weight { // Proof Size summary in bytes: - // Measured: `472` + // Measured: `470` // Estimated: `42428` - // Minimum execution time: 31_243_000 picoseconds. - Weight::from_parts(31_697_000, 42428) + // Minimum execution time: 35_852_000 picoseconds. + Weight::from_parts(36_781_000, 42428) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -399,8 +418,8 @@ impl pallet_referenda::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `455` // Estimated: `42428` - // Minimum execution time: 31_941_000 picoseconds. - Weight::from_parts(32_301_000, 42428) + // Minimum execution time: 36_573_000 picoseconds. + Weight::from_parts(37_074_000, 42428) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -412,10 +431,10 @@ impl pallet_referenda::WeightInfo for HydraWeight { /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn nudge_referendum_continue_not_confirming() -> Weight { // Proof Size summary in bytes: - // Measured: `472` + // Measured: `470` // Estimated: `42428` - // Minimum execution time: 30_425_000 picoseconds. - Weight::from_parts(30_923_000, 42428) + // Minimum execution time: 34_921_000 picoseconds. + Weight::from_parts(35_550_000, 42428) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -429,8 +448,8 @@ impl pallet_referenda::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `476` // Estimated: `42428` - // Minimum execution time: 29_395_000 picoseconds. - Weight::from_parts(29_718_000, 42428) + // Minimum execution time: 33_856_000 picoseconds. + Weight::from_parts(34_339_000, 42428) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -444,10 +463,10 @@ impl pallet_referenda::WeightInfo for HydraWeight { /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn nudge_referendum_approved() -> Weight { // Proof Size summary in bytes: - // Measured: `476` + // Measured: `474` // Estimated: `83866` - // Minimum execution time: 43_572_000 picoseconds. - Weight::from_parts(44_054_000, 83866) + // Minimum execution time: 48_943_000 picoseconds. + Weight::from_parts(49_699_000, 83866) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -461,8 +480,8 @@ impl pallet_referenda::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `472` // Estimated: `42428` - // Minimum execution time: 31_209_000 picoseconds. - Weight::from_parts(31_680_000, 42428) + // Minimum execution time: 35_999_000 picoseconds. + Weight::from_parts(36_515_000, 42428) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -478,8 +497,8 @@ impl pallet_referenda::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `527` // Estimated: `4401` - // Minimum execution time: 25_585_000 picoseconds. - Weight::from_parts(26_017_000, 4401) + // Minimum execution time: 30_232_000 picoseconds. + Weight::from_parts(30_813_000, 4401) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -491,8 +510,8 @@ impl pallet_referenda::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `393` // Estimated: `4401` - // Minimum execution time: 20_838_000 picoseconds. - Weight::from_parts(21_218_000, 4401) + // Minimum execution time: 24_964_000 picoseconds. + Weight::from_parts(25_288_000, 4401) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/runtime/hydradx/src/weights/pallet_referrals.rs b/runtime/hydradx/src/weights/pallet_referrals.rs index 6ca82ab4cf..b77739c9d3 100644 --- a/runtime/hydradx/src/weights/pallet_referrals.rs +++ b/runtime/hydradx/src/weights/pallet_referrals.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_referrals` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-referrals -// --extrinsic=* +// --pallet +// pallet-referrals +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_referrals.rs +// --output +// runtime/hydradx/src/weights/pallet_referrals.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -63,8 +69,8 @@ impl pallet_referrals::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `318` // Estimated: `6196` - // Minimum execution time: 59_104_000 picoseconds. - Weight::from_parts(59_872_000, 6196) + // Minimum execution time: 64_959_000 picoseconds. + Weight::from_parts(65_740_000, 6196) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -76,11 +82,13 @@ impl pallet_referrals::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `228` // Estimated: `3545` - // Minimum execution time: 17_219_000 picoseconds. - Weight::from_parts(17_478_000, 3545) + // Minimum execution time: 20_849_000 picoseconds. + Weight::from_parts(21_274_000, 3545) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } + /// Storage: `AssetRegistry::Assets` (r:3 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:2 w:2) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Omnipool::Assets` (r:2 w:2) @@ -97,8 +105,6 @@ impl pallet_referrals::WeightInfo for HydraWeight { /// Proof: `Router::SkipEd` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:3 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `EmaOracle::Accumulator` (r:1 w:1) /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) @@ -115,6 +121,12 @@ impl pallet_referrals::WeightInfo for HydraWeight { /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `Staking::Staking` (r:1 w:0) /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) + /// Storage: `Broadcast::IncrementalId` (r:1 w:1) + /// Proof: `Broadcast::IncrementalId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Broadcast::ExecutionContext` (r:1 w:1) + /// Proof: `Broadcast::ExecutionContext` (`max_values`: Some(1), `max_size`: Some(593), added: 1088, mode: `MaxEncodedLen`) + /// Storage: `Broadcast::OverflowCount` (r:1 w:0) + /// Proof: `Broadcast::OverflowCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Referrals::PendingConversions` (r:1 w:1) /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `Referrals::CounterForPendingConversions` (r:1 w:1) @@ -123,12 +135,12 @@ impl pallet_referrals::WeightInfo for HydraWeight { /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn convert() -> Weight { // Proof Size summary in bytes: - // Measured: `2434` + // Measured: `2544` // Estimated: `8790` - // Minimum execution time: 267_679_000 picoseconds. - Weight::from_parts(269_271_000, 8790) - .saturating_add(T::DbWeight::get().reads(28_u64)) - .saturating_add(T::DbWeight::get().writes(15_u64)) + // Minimum execution time: 322_074_000 picoseconds. + Weight::from_parts(323_489_000, 8790) + .saturating_add(T::DbWeight::get().reads(31_u64)) + .saturating_add(T::DbWeight::get().writes(17_u64)) } /// Storage: `Referrals::PendingConversions` (r:1 w:0) /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) @@ -146,8 +158,8 @@ impl pallet_referrals::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `689` // Estimated: `6196` - // Minimum execution time: 78_198_000 picoseconds. - Weight::from_parts(78_998_000, 6196) + // Minimum execution time: 87_012_000 picoseconds. + Weight::from_parts(87_544_000, 6196) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -157,8 +169,8 @@ impl pallet_referrals::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3514` - // Minimum execution time: 11_391_000 picoseconds. - Weight::from_parts(11_668_000, 3514) + // Minimum execution time: 14_268_000 picoseconds. + Weight::from_parts(14_594_000, 3514) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/runtime/hydradx/src/weights/pallet_route_executor.rs b/runtime/hydradx/src/weights/pallet_route_executor.rs index 2b2b93c5a8..4e869b0cdd 100644 --- a/runtime/hydradx/src/weights/pallet_route_executor.rs +++ b/runtime/hydradx/src/weights/pallet_route_executor.rs @@ -18,8 +18,8 @@ //! Autogenerated weights for `pallet_route_executor` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-02-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-02-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -41,7 +41,7 @@ // 20 // --template=scripts/pallet-weight-template.hbs // --output -// router.rs +// runtime/hydradx/src/weights/pallet_route_executor.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -65,8 +65,8 @@ impl pallet_route_executor::WeightInfo for HydraWeight< // Proof Size summary in bytes: // Measured: `944` // Estimated: `3590` - // Minimum execution time: 13_978_000 picoseconds. - Weight::from_parts(14_231_000, 3590) + // Minimum execution time: 18_447_000 picoseconds. + Weight::from_parts(18_725_000, 3590) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -93,10 +93,10 @@ impl pallet_route_executor::WeightInfo for HydraWeight< // Proof Size summary in bytes: // Measured: `3885` // Estimated: `13905` - // Minimum execution time: 391_104_000 picoseconds. - Weight::from_parts(395_709_551, 13905) - // Standard Error: 373_198 - .saturating_add(Weight::from_parts(74_268_948, 0).saturating_mul(c.into())) + // Minimum execution time: 419_595_000 picoseconds. + Weight::from_parts(424_565_487, 13905) + // Standard Error: 317_908 + .saturating_add(Weight::from_parts(72_614_612, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(18_u64)) .saturating_add(T::DbWeight::get().writes(9_u64)) } @@ -124,12 +124,12 @@ impl pallet_route_executor::WeightInfo for HydraWeight< // Proof Size summary in bytes: // Measured: `1992 + b * (1918 ±0)` // Estimated: `8799 + b * (7749 ±0)` - // Minimum execution time: 105_879_000 picoseconds. - Weight::from_parts(106_958_000, 8799) - // Standard Error: 245_645 - .saturating_add(Weight::from_parts(984_516, 0).saturating_mul(c.into())) - // Standard Error: 547_122 - .saturating_add(Weight::from_parts(292_550_482, 0).saturating_mul(b.into())) + // Minimum execution time: 115_627_000 picoseconds. + Weight::from_parts(116_566_000, 8799) + // Standard Error: 241_376 + .saturating_add(Weight::from_parts(975_223, 0).saturating_mul(c.into())) + // Standard Error: 537_613 + .saturating_add(Weight::from_parts(312_737_163, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((13_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes((9_u64).saturating_mul(b.into()))) @@ -167,8 +167,8 @@ impl pallet_route_executor::WeightInfo for HydraWeight< // Proof Size summary in bytes: // Measured: `7147` // Estimated: `39735` - // Minimum execution time: 2_231_286_000 picoseconds. - Weight::from_parts(2_242_112_000, 39735) + // Minimum execution time: 2_312_312_000 picoseconds. + Weight::from_parts(2_330_425_000, 39735) .saturating_add(T::DbWeight::get().reads(59_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -178,8 +178,8 @@ impl pallet_route_executor::WeightInfo for HydraWeight< // Proof Size summary in bytes: // Measured: `1012` // Estimated: `0` - // Minimum execution time: 25_093_000 picoseconds. - Weight::from_parts(25_724_000, 0) + // Minimum execution time: 31_368_000 picoseconds. + Weight::from_parts(31_840_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Router::Routes` (r:1 w:0) @@ -188,8 +188,8 @@ impl pallet_route_executor::WeightInfo for HydraWeight< // Proof Size summary in bytes: // Measured: `800` // Estimated: `3555` - // Minimum execution time: 7_267_000 picoseconds. - Weight::from_parts(7_459_000, 3555) + // Minimum execution time: 9_520_000 picoseconds. + Weight::from_parts(9_849_000, 3555) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `EmaOracle::Oracles` (r:2 w:0) @@ -198,8 +198,8 @@ impl pallet_route_executor::WeightInfo for HydraWeight< // Proof Size summary in bytes: // Measured: `1452` // Estimated: `6294` - // Minimum execution time: 26_526_000 picoseconds. - Weight::from_parts(26_851_000, 6294) + // Minimum execution time: 33_076_000 picoseconds. + Weight::from_parts(33_682_000, 6294) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: `EmaOracle::Oracles` (r:4 w:0) @@ -208,8 +208,8 @@ impl pallet_route_executor::WeightInfo for HydraWeight< // Proof Size summary in bytes: // Measured: `1840` // Estimated: `11598` - // Minimum execution time: 49_621_000 picoseconds. - Weight::from_parts(50_105_000, 11598) + // Minimum execution time: 58_620_000 picoseconds. + Weight::from_parts(59_221_000, 11598) .saturating_add(T::DbWeight::get().reads(4_u64)) } /// Storage: `LBP::PoolData` (r:1 w:0) @@ -224,8 +224,8 @@ impl pallet_route_executor::WeightInfo for HydraWeight< // Proof Size summary in bytes: // Measured: `2029` // Estimated: `6190` - // Minimum execution time: 45_163_000 picoseconds. - Weight::from_parts(46_074_000, 6190) + // Minimum execution time: 57_611_000 picoseconds. + Weight::from_parts(58_048_000, 6190) .saturating_add(T::DbWeight::get().reads(6_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_scheduler.rs b/runtime/hydradx/src/weights/pallet_scheduler.rs index 9ac6d9ea11..7d9ad6990c 100644 --- a/runtime/hydradx/src/weights/pallet_scheduler.rs +++ b/runtime/hydradx/src/weights/pallet_scheduler.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_scheduler` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-scheduler -// --extrinsic=* +// --pallet +// pallet-scheduler +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_scheduler.rs +// --output +// runtime/hydradx/src/weights/pallet_scheduler.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -57,8 +63,8 @@ impl pallet_scheduler::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `31` // Estimated: `1489` - // Minimum execution time: 2_988_000 picoseconds. - Weight::from_parts(3_094_000, 1489) + // Minimum execution time: 4_413_000 picoseconds. + Weight::from_parts(4_582_000, 1489) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -69,10 +75,10 @@ impl pallet_scheduler::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 4_456_000 picoseconds. - Weight::from_parts(8_469_334, 42428) - // Standard Error: 1_970 - .saturating_add(Weight::from_parts(474_495, 0).saturating_mul(s.into())) + // Minimum execution time: 5_073_000 picoseconds. + Weight::from_parts(10_489_935, 42428) + // Standard Error: 2_471 + .saturating_add(Weight::from_parts(468_078, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -80,11 +86,11 @@ impl pallet_scheduler::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_529_000 picoseconds. - Weight::from_parts(4_600_000, 0) + // Minimum execution time: 5_365_000 picoseconds. + Weight::from_parts(5_542_000, 0) } /// Storage: `Preimage::PreimageFor` (r:1 w:1) - /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `Measured`) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) @@ -93,14 +99,13 @@ impl pallet_scheduler::WeightInfo for HydraWeight { fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `246 + s * (1 ±0)` - // Estimated: `3711 + s * (1 ±0)` - // Minimum execution time: 22_166_000 picoseconds. - Weight::from_parts(22_453_000, 3711) - // Standard Error: 11 - .saturating_add(Weight::from_parts(1_208, 0).saturating_mul(s.into())) + // Estimated: `4197809` + // Minimum execution time: 26_513_000 picoseconds. + Weight::from_parts(26_659_000, 4197809) + // Standard Error: 6 + .saturating_add(Weight::from_parts(1_318, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) } /// Storage: `Scheduler::Lookup` (r:0 w:1) /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) @@ -108,30 +113,30 @@ impl pallet_scheduler::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_800_000 picoseconds. - Weight::from_parts(7_010_000, 0) + // Minimum execution time: 7_959_000 picoseconds. + Weight::from_parts(8_105_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } fn service_task_periodic() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_461_000 picoseconds. - Weight::from_parts(4_624_000, 0) + // Minimum execution time: 5_395_000 picoseconds. + Weight::from_parts(5_588_000, 0) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_365_000 picoseconds. - Weight::from_parts(3_454_000, 0) + // Minimum execution time: 3_927_000 picoseconds. + Weight::from_parts(4_085_000, 0) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_335_000 picoseconds. - Weight::from_parts(3_461_000, 0) + // Minimum execution time: 3_916_000 picoseconds. + Weight::from_parts(4_072_000, 0) } /// Storage: `Scheduler::Agenda` (r:1 w:1) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) @@ -140,10 +145,10 @@ impl pallet_scheduler::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 13_378_000 picoseconds. - Weight::from_parts(17_624_839, 42428) - // Standard Error: 2_016 - .saturating_add(Weight::from_parts(479_532, 0).saturating_mul(s.into())) + // Minimum execution time: 15_431_000 picoseconds. + Weight::from_parts(20_771_878, 42428) + // Standard Error: 2_350 + .saturating_add(Weight::from_parts(477_256, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -158,10 +163,10 @@ impl pallet_scheduler::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 21_097_000 picoseconds. - Weight::from_parts(20_505_291, 42428) - // Standard Error: 966 - .saturating_add(Weight::from_parts(745_843, 0).saturating_mul(s.into())) + // Minimum execution time: 24_263_000 picoseconds. + Weight::from_parts(23_382_870, 42428) + // Standard Error: 841 + .saturating_add(Weight::from_parts(732_020, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -174,10 +179,10 @@ impl pallet_scheduler::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `255 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 17_778_000 picoseconds. - Weight::from_parts(23_159_212, 42428) - // Standard Error: 3_005 - .saturating_add(Weight::from_parts(504_556, 0).saturating_mul(s.into())) + // Minimum execution time: 20_010_000 picoseconds. + Weight::from_parts(27_106_090, 42428) + // Standard Error: 3_773 + .saturating_add(Weight::from_parts(516_645, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -192,10 +197,10 @@ impl pallet_scheduler::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `281 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 22_832_000 picoseconds. - Weight::from_parts(23_360_505, 42428) - // Standard Error: 1_500 - .saturating_add(Weight::from_parts(763_333, 0).saturating_mul(s.into())) + // Minimum execution time: 27_384_000 picoseconds. + Weight::from_parts(27_590_860, 42428) + // Standard Error: 1_317 + .saturating_add(Weight::from_parts(764_691, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -208,10 +213,10 @@ impl pallet_scheduler::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `118` // Estimated: `42428` - // Minimum execution time: 11_634_000 picoseconds. - Weight::from_parts(12_204_817, 42428) - // Standard Error: 430 - .saturating_add(Weight::from_parts(22_212, 0).saturating_mul(s.into())) + // Minimum execution time: 13_635_000 picoseconds. + Weight::from_parts(14_237_893, 42428) + // Standard Error: 336 + .saturating_add(Weight::from_parts(21_429, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -223,8 +228,8 @@ impl pallet_scheduler::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `8928` // Estimated: `42428` - // Minimum execution time: 32_456_000 picoseconds. - Weight::from_parts(33_288_000, 42428) + // Minimum execution time: 34_909_000 picoseconds. + Weight::from_parts(35_782_000, 42428) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -238,8 +243,8 @@ impl pallet_scheduler::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `9606` // Estimated: `42428` - // Minimum execution time: 38_489_000 picoseconds. - Weight::from_parts(38_907_000, 42428) + // Minimum execution time: 43_087_000 picoseconds. + Weight::from_parts(43_590_000, 42428) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -251,8 +256,8 @@ impl pallet_scheduler::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `8940` // Estimated: `42428` - // Minimum execution time: 31_489_000 picoseconds. - Weight::from_parts(32_042_000, 42428) + // Minimum execution time: 34_364_000 picoseconds. + Weight::from_parts(34_693_000, 42428) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -266,8 +271,8 @@ impl pallet_scheduler::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `9618` // Estimated: `42428` - // Minimum execution time: 37_586_000 picoseconds. - Weight::from_parts(38_254_000, 42428) + // Minimum execution time: 41_868_000 picoseconds. + Weight::from_parts(42_680_000, 42428) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/runtime/hydradx/src/weights/pallet_stableswap.rs b/runtime/hydradx/src/weights/pallet_stableswap.rs index 2a9dffe895..7fbc74f840 100644 --- a/runtime/hydradx/src/weights/pallet_stableswap.rs +++ b/runtime/hydradx/src/weights/pallet_stableswap.rs @@ -18,8 +18,8 @@ //! Autogenerated weights for `pallet_stableswap` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-02-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-02-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -41,7 +41,7 @@ // 20 // --template=scripts/pallet-weight-template.hbs // --output -// stable.rs +// runtime/hydradx/src/weights/pallet_stableswap.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -67,8 +67,8 @@ impl pallet_stableswap::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `855` // Estimated: `16590` - // Minimum execution time: 44_323_000 picoseconds. - Weight::from_parts(44_955_000, 16590) + // Minimum execution time: 55_309_000 picoseconds. + Weight::from_parts(55_907_000, 16590) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -100,8 +100,8 @@ impl pallet_stableswap::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3746` // Estimated: `29403` - // Minimum execution time: 1_378_766_000 picoseconds. - Weight::from_parts(1_381_877_000, 29403) + // Minimum execution time: 1_424_528_000 picoseconds. + Weight::from_parts(1_430_156_000, 29403) .saturating_add(T::DbWeight::get().reads(36_u64)) .saturating_add(T::DbWeight::get().writes(14_u64)) } @@ -133,8 +133,8 @@ impl pallet_stableswap::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3615` // Estimated: `19071` - // Minimum execution time: 930_553_000 picoseconds. - Weight::from_parts(934_084_000, 19071) + // Minimum execution time: 959_185_000 picoseconds. + Weight::from_parts(962_348_000, 19071) .saturating_add(T::DbWeight::get().reads(24_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -166,8 +166,8 @@ impl pallet_stableswap::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3638` // Estimated: `19071` - // Minimum execution time: 955_330_000 picoseconds. - Weight::from_parts(958_300_000, 19071) + // Minimum execution time: 985_012_000 picoseconds. + Weight::from_parts(992_318_000, 19071) .saturating_add(T::DbWeight::get().reads(23_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -199,8 +199,8 @@ impl pallet_stableswap::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3638` // Estimated: `29403` - // Minimum execution time: 705_878_000 picoseconds. - Weight::from_parts(711_178_000, 29403) + // Minimum execution time: 752_135_000 picoseconds. + Weight::from_parts(755_427_000, 29403) .saturating_add(T::DbWeight::get().reads(40_u64)) .saturating_add(T::DbWeight::get().writes(14_u64)) } @@ -232,8 +232,8 @@ impl pallet_stableswap::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3638` // Estimated: `19071` - // Minimum execution time: 1_297_533_000 picoseconds. - Weight::from_parts(1_308_523_000, 19071) + // Minimum execution time: 1_337_478_000 picoseconds. + Weight::from_parts(1_344_171_000, 19071) .saturating_add(T::DbWeight::get().reads(24_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -265,8 +265,8 @@ impl pallet_stableswap::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3701` // Estimated: `19071` - // Minimum execution time: 907_142_000 picoseconds. - Weight::from_parts(910_206_000, 19071) + // Minimum execution time: 942_166_000 picoseconds. + Weight::from_parts(946_856_000, 19071) .saturating_add(T::DbWeight::get().reads(26_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -298,8 +298,8 @@ impl pallet_stableswap::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3671` // Estimated: `19071` - // Minimum execution time: 889_610_000 picoseconds. - Weight::from_parts(893_800_000, 19071) + // Minimum execution time: 919_361_000 picoseconds. + Weight::from_parts(923_552_000, 19071) .saturating_add(T::DbWeight::get().reads(27_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -311,8 +311,8 @@ impl pallet_stableswap::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `291` // Estimated: `3522` - // Minimum execution time: 19_444_000 picoseconds. - Weight::from_parts(19_859_000, 3522) + // Minimum execution time: 23_791_000 picoseconds. + Weight::from_parts(24_309_000, 3522) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -322,8 +322,8 @@ impl pallet_stableswap::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `291` // Estimated: `3522` - // Minimum execution time: 17_229_000 picoseconds. - Weight::from_parts(17_541_000, 3522) + // Minimum execution time: 21_287_000 picoseconds. + Weight::from_parts(21_664_000, 3522) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -333,8 +333,8 @@ impl pallet_stableswap::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `291` // Estimated: `3522` - // Minimum execution time: 18_001_000 picoseconds. - Weight::from_parts(18_381_000, 3522) + // Minimum execution time: 22_403_000 picoseconds. + Weight::from_parts(22_726_000, 3522) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -364,16 +364,14 @@ impl pallet_stableswap::WeightInfo for HydraWeight { /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_sell(c: u32, e: u32, ) -> Weight { + fn router_execution_sell(_c: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1654 + e * (2047 ±0)` // Estimated: `13990 + e * (5166 ±0)` - // Minimum execution time: 386_424_000 picoseconds. - Weight::from_parts(348_906_699, 13990) - // Standard Error: 817_510 - .saturating_add(Weight::from_parts(20_514_566, 0).saturating_mul(c.into())) - // Standard Error: 817_510 - .saturating_add(Weight::from_parts(900_345_717, 0).saturating_mul(e.into())) + // Minimum execution time: 395_803_000 picoseconds. + Weight::from_parts(402_902_469, 13990) + // Standard Error: 619_799 + .saturating_add(Weight::from_parts(892_699_286, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((15_u64).saturating_mul(e.into()))) .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(e.into()))) @@ -409,12 +407,12 @@ impl pallet_stableswap::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1653 + e * (2018 ±0)` // Estimated: `13990 + e * (5166 ±0)` - // Minimum execution time: 386_360_000 picoseconds. - Weight::from_parts(387_865_000, 13990) - // Standard Error: 1_090_990 - .saturating_add(Weight::from_parts(4_276_613, 0).saturating_mul(c.into())) - // Standard Error: 2_429_942 - .saturating_add(Weight::from_parts(532_271_020, 0).saturating_mul(e.into())) + // Minimum execution time: 395_311_000 picoseconds. + Weight::from_parts(397_564_000, 13990) + // Standard Error: 1_121_655 + .saturating_add(Weight::from_parts(4_070_932, 0).saturating_mul(c.into())) + // Standard Error: 2_498_243 + .saturating_add(Weight::from_parts(537_794_048, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((16_u64).saturating_mul(e.into()))) .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(e.into()))) @@ -432,8 +430,8 @@ impl pallet_stableswap::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1885` // Estimated: `16590` - // Minimum execution time: 322_247_000 picoseconds. - Weight::from_parts(323_044_000, 16590) + // Minimum execution time: 333_867_000 picoseconds. + Weight::from_parts(335_461_000, 16590) .saturating_add(T::DbWeight::get().reads(13_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_staking.rs b/runtime/hydradx/src/weights/pallet_staking.rs index e3af9f6301..c2e808aaa0 100644 --- a/runtime/hydradx/src/weights/pallet_staking.rs +++ b/runtime/hydradx/src/weights/pallet_staking.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_staking` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-staking -// --extrinsic=* +// --pallet +// pallet-staking +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_staking.rs +// --output +// runtime/hydradx/src/weights/pallet_staking.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -63,8 +69,8 @@ impl pallet_staking::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3655` - // Minimum execution time: 33_733_000 picoseconds. - Weight::from_parts(34_400_000, 3655) + // Minimum execution time: 41_042_000 picoseconds. + Weight::from_parts(41_578_000, 3655) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -92,8 +98,8 @@ impl pallet_staking::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1274` // Estimated: `6196` - // Minimum execution time: 88_822_000 picoseconds. - Weight::from_parts(89_489_000, 6196) + // Minimum execution time: 103_062_000 picoseconds. + Weight::from_parts(104_211_000, 6196) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -101,54 +107,54 @@ impl pallet_staking::WeightInfo for HydraWeight { /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) /// Storage: `Uniques::Asset` (r:1 w:0) /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `Staking::ProcessedVotes` (r:1 w:0) - /// Proof: `Staking::ProcessedVotes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Staking::VotesRewarded` (r:1 w:0) + /// Proof: `Staking::VotesRewarded` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Staking::Positions` (r:1 w:1) /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Locks` (r:1 w:1) /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) - /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) - /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:0) - /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Staking::Votes` (r:1 w:1) + /// Proof: `Staking::Votes` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) + /// Storage: `Referenda::ReferendumInfoFor` (r:25 w:0) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) /// Storage: `Balances::Freezes` (r:1 w:0) /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn increase_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `3379` - // Estimated: `268590` - // Minimum execution time: 260_117_000 picoseconds. - Weight::from_parts(264_603_000, 268590) - .saturating_add(T::DbWeight::get().reads(109_u64)) + // Measured: `1872` + // Estimated: `86265` + // Minimum execution time: 183_624_000 picoseconds. + Weight::from_parts(185_686_000, 86265) + .saturating_add(T::DbWeight::get().reads(34_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: `Staking::Staking` (r:1 w:1) /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) /// Storage: `Uniques::Asset` (r:1 w:0) /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `Staking::ProcessedVotes` (r:1 w:0) - /// Proof: `Staking::ProcessedVotes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Staking::VotesRewarded` (r:1 w:0) + /// Proof: `Staking::VotesRewarded` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Staking::Positions` (r:1 w:1) /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) - /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:0) - /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Staking::Votes` (r:1 w:1) + /// Proof: `Staking::Votes` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) + /// Storage: `Referenda::ReferendumInfoFor` (r:25 w:0) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) /// Storage: `Balances::Locks` (r:1 w:1) /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Storage: `Balances::Freezes` (r:1 w:0) /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn claim() -> Weight { // Proof Size summary in bytes: - // Measured: `3379` - // Estimated: `268590` - // Minimum execution time: 253_815_000 picoseconds. - Weight::from_parts(257_035_000, 268590) - .saturating_add(T::DbWeight::get().reads(109_u64)) + // Measured: `1872` + // Estimated: `86265` + // Minimum execution time: 177_152_000 picoseconds. + Weight::from_parts(178_384_000, 86265) + .saturating_add(T::DbWeight::get().reads(34_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: `Staking::Staking` (r:1 w:1) @@ -159,10 +165,10 @@ impl pallet_staking::WeightInfo for HydraWeight { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Staking::Positions` (r:1 w:1) /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) - /// Storage: `Staking::ProcessedVotes` (r:1 w:0) - /// Proof: `Staking::ProcessedVotes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Staking::Votes` (r:1 w:1) + /// Proof: `Staking::Votes` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) + /// Storage: `Staking::VotesRewarded` (r:1 w:0) + /// Proof: `Staking::VotesRewarded` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: `Uniques::Class` (r:1 w:1) /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) /// Storage: `Balances::Locks` (r:1 w:1) @@ -175,10 +181,10 @@ impl pallet_staking::WeightInfo for HydraWeight { /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn unstake() -> Weight { // Proof Size summary in bytes: - // Measured: `1431` + // Measured: `1429` // Estimated: `6196` - // Minimum execution time: 134_541_000 picoseconds. - Weight::from_parts(135_440_000, 6196) + // Minimum execution time: 152_026_000 picoseconds. + Weight::from_parts(153_503_000, 6196) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } diff --git a/runtime/hydradx/src/weights/pallet_state_trie_migration.rs b/runtime/hydradx/src/weights/pallet_state_trie_migration.rs index 0f38b19f40..93fc508b7b 100644 --- a/runtime/hydradx/src/weights/pallet_state_trie_migration.rs +++ b/runtime/hydradx/src/weights/pallet_state_trie_migration.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_state_trie_migration` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-state-trie-migration -// --extrinsic=* +// --pallet +// pallet-state-trie-migration +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_state_trie_migration.rs +// --output +// runtime/hydradx/src/weights/pallet_state_trie_migration.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -61,8 +67,8 @@ impl pallet_state_trie_migration::WeightInfo for HydraW // Proof Size summary in bytes: // Measured: `174` // Estimated: `3550` - // Minimum execution time: 24_940_000 picoseconds. - Weight::from_parts(25_464_000, 3550) + // Minimum execution time: 28_491_000 picoseconds. + Weight::from_parts(28_809_000, 3550) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -72,8 +78,8 @@ impl pallet_state_trie_migration::WeightInfo for HydraW // Proof Size summary in bytes: // Measured: `142` // Estimated: `1493` - // Minimum execution time: 4_910_000 picoseconds. - Weight::from_parts(5_082_000, 1493) + // Minimum execution time: 6_964_000 picoseconds. + Weight::from_parts(7_086_000, 1493) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Balances::Holds` (r:1 w:0) @@ -82,8 +88,8 @@ impl pallet_state_trie_migration::WeightInfo for HydraW // Proof Size summary in bytes: // Measured: `0` // Estimated: `3550` - // Minimum execution time: 14_681_000 picoseconds. - Weight::from_parts(15_054_000, 3550) + // Minimum execution time: 16_250_000 picoseconds. + Weight::from_parts(16_513_000, 3550) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Balances::Holds` (r:1 w:1) @@ -94,8 +100,8 @@ impl pallet_state_trie_migration::WeightInfo for HydraW // Proof Size summary in bytes: // Measured: `179` // Estimated: `3644` - // Minimum execution time: 77_309_000 picoseconds. - Weight::from_parts(77_843_000, 3644) + // Minimum execution time: 82_045_000 picoseconds. + Weight::from_parts(82_696_000, 3644) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -105,8 +111,8 @@ impl pallet_state_trie_migration::WeightInfo for HydraW // Proof Size summary in bytes: // Measured: `0` // Estimated: `3550` - // Minimum execution time: 15_041_000 picoseconds. - Weight::from_parts(15_210_000, 3550) + // Minimum execution time: 16_893_000 picoseconds. + Weight::from_parts(17_146_000, 3550) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Balances::Holds` (r:1 w:1) @@ -117,8 +123,8 @@ impl pallet_state_trie_migration::WeightInfo for HydraW // Proof Size summary in bytes: // Measured: `106` // Estimated: `3571` - // Minimum execution time: 78_084_000 picoseconds. - Weight::from_parts(78_871_000, 3571) + // Minimum execution time: 83_263_000 picoseconds. + Weight::from_parts(84_139_000, 3571) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -129,10 +135,10 @@ impl pallet_state_trie_migration::WeightInfo for HydraW // Proof Size summary in bytes: // Measured: `295 + v * (1 ±0)` // Estimated: `3760 + v * (1 ±0)` - // Minimum execution time: 6_063_000 picoseconds. - Weight::from_parts(6_244_000, 3760) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_439, 0).saturating_mul(v.into())) + // Minimum execution time: 8_390_000 picoseconds. + Weight::from_parts(8_592_000, 3760) + // Standard Error: 7 + .saturating_add(Weight::from_parts(1_496, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(v.into())) diff --git a/runtime/hydradx/src/weights/pallet_timestamp.rs b/runtime/hydradx/src/weights/pallet_timestamp.rs index 4c0c2d4754..650e36ff07 100644 --- a/runtime/hydradx/src/weights/pallet_timestamp.rs +++ b/runtime/hydradx/src/weights/pallet_timestamp.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_timestamp` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-timestamp -// --extrinsic=* +// --pallet +// pallet-timestamp +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_timestamp.rs +// --output +// runtime/hydradx/src/weights/pallet_timestamp.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -55,18 +61,18 @@ impl pallet_timestamp::WeightInfo for HydraWeight { /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn set() -> Weight { // Proof Size summary in bytes: - // Measured: `42` + // Measured: `76` // Estimated: `1493` - // Minimum execution time: 6_330_000 picoseconds. - Weight::from_parts(6_579_000, 1493) + // Minimum execution time: 8_391_000 picoseconds. + Weight::from_parts(8_674_000, 1493) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } fn on_finalize() -> Weight { // Proof Size summary in bytes: - // Measured: `94` + // Measured: `128` // Estimated: `0` - // Minimum execution time: 3_581_000 picoseconds. - Weight::from_parts(3_706_000, 0) + // Minimum execution time: 5_380_000 picoseconds. + Weight::from_parts(5_558_000, 0) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_tips.rs b/runtime/hydradx/src/weights/pallet_tips.rs index 56d45c8314..8b6b50126c 100644 --- a/runtime/hydradx/src/weights/pallet_tips.rs +++ b/runtime/hydradx/src/weights/pallet_tips.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_tips` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-tips -// --extrinsic=* +// --pallet +// pallet-tips +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_tips.rs +// --output +// runtime/hydradx/src/weights/pallet_tips.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -60,10 +66,10 @@ impl pallet_tips::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3507` - // Minimum execution time: 34_011_000 picoseconds. - Weight::from_parts(35_102_953, 3507) - // Standard Error: 33 - .saturating_add(Weight::from_parts(1_220, 0).saturating_mul(r.into())) + // Minimum execution time: 38_615_000 picoseconds. + Weight::from_parts(39_397_769, 3507) + // Standard Error: 36 + .saturating_add(Weight::from_parts(1_570, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -75,8 +81,8 @@ impl pallet_tips::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `259` // Estimated: `3724` - // Minimum execution time: 32_632_000 picoseconds. - Weight::from_parts(33_087_000, 3724) + // Minimum execution time: 36_006_000 picoseconds. + Weight::from_parts(36_458_000, 3724) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -92,12 +98,12 @@ impl pallet_tips::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `438 + t * (64 ±0)` // Estimated: `3903 + t * (64 ±0)` - // Minimum execution time: 22_754_000 picoseconds. - Weight::from_parts(22_734_008, 3903) - // Standard Error: 20 - .saturating_add(Weight::from_parts(1_658, 0).saturating_mul(r.into())) - // Standard Error: 1_648 - .saturating_add(Weight::from_parts(37_991, 0).saturating_mul(t.into())) + // Minimum execution time: 26_915_000 picoseconds. + Weight::from_parts(27_427_710, 3903) + // Standard Error: 23 + .saturating_add(Weight::from_parts(1_354, 0).saturating_mul(r.into())) + // Standard Error: 1_869 + .saturating_add(Weight::from_parts(33_994, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(t.into())) @@ -111,10 +117,10 @@ impl pallet_tips::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `659 + t * (112 ±0)` // Estimated: `4124 + t * (112 ±0)` - // Minimum execution time: 18_711_000 picoseconds. - Weight::from_parts(18_993_380, 4124) - // Standard Error: 1_903 - .saturating_add(Weight::from_parts(147_068, 0).saturating_mul(t.into())) + // Minimum execution time: 23_485_000 picoseconds. + Weight::from_parts(23_837_335, 4124) + // Standard Error: 1_772 + .saturating_add(Weight::from_parts(153_584, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 112).saturating_mul(t.into())) @@ -132,10 +138,10 @@ impl pallet_tips::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `801 + t * (112 ±0)` // Estimated: `6196 + t * (112 ±0)` - // Minimum execution time: 67_694_000 picoseconds. - Weight::from_parts(68_775_940, 6196) - // Standard Error: 6_603 - .saturating_add(Weight::from_parts(145_198, 0).saturating_mul(t.into())) + // Minimum execution time: 74_307_000 picoseconds. + Weight::from_parts(75_961_787, 6196) + // Standard Error: 7_923 + .saturating_add(Weight::from_parts(140_743, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 112).saturating_mul(t.into())) @@ -149,10 +155,10 @@ impl pallet_tips::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `307` // Estimated: `3772` - // Minimum execution time: 16_772_000 picoseconds. - Weight::from_parts(17_200_331, 3772) - // Standard Error: 962 - .saturating_add(Weight::from_parts(13_197, 0).saturating_mul(t.into())) + // Minimum execution time: 19_929_000 picoseconds. + Weight::from_parts(20_528_281, 3772) + // Standard Error: 1_108 + .saturating_add(Weight::from_parts(3_543, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } diff --git a/runtime/hydradx/src/weights/pallet_transaction_multi_payment.rs b/runtime/hydradx/src/weights/pallet_transaction_multi_payment.rs index 558f1fd3e6..00ff81db6f 100644 --- a/runtime/hydradx/src/weights/pallet_transaction_multi_payment.rs +++ b/runtime/hydradx/src/weights/pallet_transaction_multi_payment.rs @@ -18,8 +18,8 @@ //! Autogenerated weights for `pallet_transaction_multi_payment` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-02-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-02-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -41,7 +41,7 @@ // 20 // --template=scripts/pallet-weight-template.hbs // --output -// multi.rs +// runtime/hydradx/src/weights/pallet_transaction_multi_payment.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -63,8 +63,8 @@ impl pallet_transaction_multi_payment::WeightInfo for H // Proof Size summary in bytes: // Measured: `1209` // Estimated: `3493` - // Minimum execution time: 19_874_000 picoseconds. - Weight::from_parts(20_348_000, 3493) + // Minimum execution time: 27_210_000 picoseconds. + Weight::from_parts(27_862_000, 3493) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -74,8 +74,8 @@ impl pallet_transaction_multi_payment::WeightInfo for H // Proof Size summary in bytes: // Measured: `1240` // Estimated: `3493` - // Minimum execution time: 20_542_000 picoseconds. - Weight::from_parts(20_936_000, 3493) + // Minimum execution time: 26_980_000 picoseconds. + Weight::from_parts(27_605_000, 3493) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -87,8 +87,8 @@ impl pallet_transaction_multi_payment::WeightInfo for H // Proof Size summary in bytes: // Measured: `1305` // Estimated: `3493` - // Minimum execution time: 30_136_000 picoseconds. - Weight::from_parts(30_789_000, 3493) + // Minimum execution time: 38_296_000 picoseconds. + Weight::from_parts(38_721_000, 3493) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -100,8 +100,8 @@ impl pallet_transaction_multi_payment::WeightInfo for H // Proof Size summary in bytes: // Measured: `3221` // Estimated: `27510` - // Minimum execution time: 89_779_000 picoseconds. - Weight::from_parts(90_304_000, 27510) + // Minimum execution time: 103_931_000 picoseconds. + Weight::from_parts(104_701_000, 27510) .saturating_add(T::DbWeight::get().reads(11_u64)) } /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) @@ -114,8 +114,8 @@ impl pallet_transaction_multi_payment::WeightInfo for H // Proof Size summary in bytes: // Measured: `1313` // Estimated: `4087` - // Minimum execution time: 23_210_000 picoseconds. - Weight::from_parts(23_720_000, 4087) + // Minimum execution time: 30_106_000 picoseconds. + Weight::from_parts(30_710_000, 4087) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -155,8 +155,8 @@ impl pallet_transaction_multi_payment::WeightInfo for H // Proof Size summary in bytes: // Measured: `4234` // Estimated: `11322` - // Minimum execution time: 247_238_000 picoseconds. - Weight::from_parts(248_699_000, 11322) + // Minimum execution time: 285_117_000 picoseconds. + Weight::from_parts(286_941_000, 11322) .saturating_add(T::DbWeight::get().reads(24_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } diff --git a/runtime/hydradx/src/weights/pallet_transaction_pause.rs b/runtime/hydradx/src/weights/pallet_transaction_pause.rs index 9f7381d7a7..e5b9b6bc26 100644 --- a/runtime/hydradx/src/weights/pallet_transaction_pause.rs +++ b/runtime/hydradx/src/weights/pallet_transaction_pause.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_transaction_pause` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-transaction-pause -// --extrinsic=* +// --pallet +// pallet-transaction-pause +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_transaction_pause.rs +// --output +// runtime/hydradx/src/weights/pallet_transaction_pause.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -57,8 +63,8 @@ impl pallet_transaction_pause::WeightInfo for HydraWeig // Proof Size summary in bytes: // Measured: `109` // Estimated: `3555` - // Minimum execution time: 10_654_000 picoseconds. - Weight::from_parts(11_047_000, 3555) + // Minimum execution time: 13_255_000 picoseconds. + Weight::from_parts(13_544_000, 3555) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -68,8 +74,8 @@ impl pallet_transaction_pause::WeightInfo for HydraWeig // Proof Size summary in bytes: // Measured: `160` // Estimated: `3555` - // Minimum execution time: 12_775_000 picoseconds. - Weight::from_parts(13_283_000, 3555) + // Minimum execution time: 16_674_000 picoseconds. + Weight::from_parts(16_905_000, 3555) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/runtime/hydradx/src/weights/pallet_treasury.rs b/runtime/hydradx/src/weights/pallet_treasury.rs index d8a6400932..a36d269c61 100644 --- a/runtime/hydradx/src/weights/pallet_treasury.rs +++ b/runtime/hydradx/src/weights/pallet_treasury.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_treasury` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-09-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-treasury -// --extrinsic=* +// --pallet +// pallet-treasury +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_treasury.rs +// --output +// runtime/hydradx/src/weights/pallet_treasury.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -61,65 +67,23 @@ impl pallet_treasury::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `109` // Estimated: `1887` - // Minimum execution time: 13_958_000 picoseconds. - Weight::from_parts(14_341_000, 1887) + // Minimum execution time: 17_068_000 picoseconds. + Weight::from_parts(17_373_000, 1887) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: `Treasury::ProposalCount` (r:1 w:1) - /// Proof: `Treasury::ProposalCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Treasury::Proposals` (r:0 w:1) - /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - fn propose_spend() -> Weight { - // Proof Size summary in bytes: - // Measured: `210` - // Estimated: `1489` - // Minimum execution time: 30_038_000 picoseconds. - Weight::from_parts(30_597_000, 1489) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) - } - /// Storage: `Treasury::Proposals` (r:1 w:1) - /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - fn reject_proposal() -> Weight { - // Proof Size summary in bytes: - // Measured: `471` - // Estimated: `6196` - // Minimum execution time: 44_053_000 picoseconds. - Weight::from_parts(44_495_000, 6196) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) - } - /// Storage: `Treasury::Proposals` (r:1 w:0) - /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `Treasury::Approvals` (r:1 w:1) - /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) - /// The range of component `p` is `[0, 99]`. - fn approve_proposal(p: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `537 + p * (8 ±0)` - // Estimated: `3573` - // Minimum execution time: 11_720_000 picoseconds. - Weight::from_parts(15_016_101, 3573) - // Standard Error: 985 - .saturating_add(Weight::from_parts(38_372, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) - } /// Storage: `Treasury::Approvals` (r:1 w:1) /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) fn remove_approval() -> Weight { // Proof Size summary in bytes: // Measured: `194` // Estimated: `1887` - // Minimum execution time: 7_411_000 picoseconds. - Weight::from_parts(7_600_000, 1887) + // Minimum execution time: 9_680_000 picoseconds. + Weight::from_parts(9_934_000, 1887) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `System::Account` (r:199 w:199) + /// Storage: `System::Account` (r:100 w:100) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Treasury::Deactivated` (r:1 w:1) /// Proof: `Treasury::Deactivated` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) @@ -132,17 +96,17 @@ impl pallet_treasury::WeightInfo for HydraWeight { /// The range of component `p` is `[0, 99]`. fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `375 + p * (253 ±0)` - // Estimated: `3593 + p * (5206 ±0)` - // Minimum execution time: 23_603_000 picoseconds. - Weight::from_parts(35_329_333, 3593) - // Standard Error: 15_662 - .saturating_add(Weight::from_parts(37_022_288, 0).saturating_mul(p.into())) + // Measured: `136 + p * (158 ±0)` + // Estimated: `3593 + p * (2603 ±0)` + // Minimum execution time: 27_774_000 picoseconds. + Weight::from_parts(38_744_756, 3593) + // Standard Error: 14_116 + .saturating_add(Weight::from_parts(25_077_850, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into()))) + .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) - .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 5206).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_parts(0, 2603).saturating_mul(p.into())) } /// Storage: `Treasury::SpendCount` (r:1 w:1) /// Proof: `Treasury::SpendCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -152,8 +116,8 @@ impl pallet_treasury::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `109` // Estimated: `1489` - // Minimum execution time: 12_398_000 picoseconds. - Weight::from_parts(12_687_000, 1489) + // Minimum execution time: 15_090_000 picoseconds. + Weight::from_parts(15_393_000, 1489) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -165,8 +129,8 @@ impl pallet_treasury::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `382` // Estimated: `6196` - // Minimum execution time: 60_678_000 picoseconds. - Weight::from_parts(61_098_000, 6196) + // Minimum execution time: 67_065_000 picoseconds. + Weight::from_parts(67_724_000, 6196) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -176,8 +140,8 @@ impl pallet_treasury::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `227` // Estimated: `3534` - // Minimum execution time: 16_013_000 picoseconds. - Weight::from_parts(16_224_000, 3534) + // Minimum execution time: 19_016_000 picoseconds. + Weight::from_parts(19_434_000, 3534) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -187,8 +151,8 @@ impl pallet_treasury::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `227` // Estimated: `3534` - // Minimum execution time: 14_062_000 picoseconds. - Weight::from_parts(14_486_000, 3534) + // Minimum execution time: 17_435_000 picoseconds. + Weight::from_parts(17_905_000, 3534) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/runtime/hydradx/src/weights/pallet_utility.rs b/runtime/hydradx/src/weights/pallet_utility.rs index 5aa76cfff5..abe036c0f6 100644 --- a/runtime/hydradx/src/weights/pallet_utility.rs +++ b/runtime/hydradx/src/weights/pallet_utility.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_utility` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-11-14, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-utility -// --extrinsic=* +// --pallet +// pallet-utility +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=./weights/pallet_utility.rs +// --output +// runtime/hydradx/src/weights/pallet_utility.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -53,64 +59,70 @@ pub struct HydraWeight(PhantomData); impl pallet_utility::WeightInfo for HydraWeight { /// Storage: `Broadcast::IncrementalId` (r:1 w:1) /// Proof: `Broadcast::IncrementalId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Broadcast::IdStack` (r:1 w:1) - /// Proof: `Broadcast::IdStack` (`max_values`: Some(1), `max_size`: Some(51), added: 546, mode: `MaxEncodedLen`) + /// Storage: `Broadcast::ExecutionContext` (r:1 w:1) + /// Proof: `Broadcast::ExecutionContext` (`max_values`: Some(1), `max_size`: Some(593), added: 1088, mode: `MaxEncodedLen`) + /// Storage: `Broadcast::OverflowCount` (r:1 w:0) + /// Proof: `Broadcast::OverflowCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1000]`. fn batch(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `1536` - // Minimum execution time: 11_565_000 picoseconds. - Weight::from_parts(1_469_920, 1536) - // Standard Error: 2_956 - .saturating_add(Weight::from_parts(4_030_477, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Measured: `76` + // Estimated: `2078` + // Minimum execution time: 15_002_000 picoseconds. + Weight::from_parts(13_719_539, 2078) + // Standard Error: 3_876 + .saturating_add(Weight::from_parts(4_433_733, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_183_000 picoseconds. - Weight::from_parts(6_383_000, 0) + // Minimum execution time: 7_163_000 picoseconds. + Weight::from_parts(7_360_000, 0) } /// Storage: `Broadcast::IncrementalId` (r:1 w:1) /// Proof: `Broadcast::IncrementalId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Broadcast::IdStack` (r:1 w:1) - /// Proof: `Broadcast::IdStack` (`max_values`: Some(1), `max_size`: Some(51), added: 546, mode: `MaxEncodedLen`) + /// Storage: `Broadcast::ExecutionContext` (r:1 w:1) + /// Proof: `Broadcast::ExecutionContext` (`max_values`: Some(1), `max_size`: Some(593), added: 1088, mode: `MaxEncodedLen`) + /// Storage: `Broadcast::OverflowCount` (r:1 w:0) + /// Proof: `Broadcast::OverflowCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `1536` - // Minimum execution time: 11_377_000 picoseconds. - Weight::from_parts(12_184_543, 1536) - // Standard Error: 2_950 - .saturating_add(Weight::from_parts(4_283_377, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Measured: `76` + // Estimated: `2078` + // Minimum execution time: 15_045_000 picoseconds. + Weight::from_parts(10_716_610, 2078) + // Standard Error: 4_056 + .saturating_add(Weight::from_parts(4_711_002, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_714_000 picoseconds. - Weight::from_parts(8_898_000, 0) + // Minimum execution time: 10_156_000 picoseconds. + Weight::from_parts(10_481_000, 0) } /// Storage: `Broadcast::IncrementalId` (r:1 w:1) /// Proof: `Broadcast::IncrementalId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Broadcast::IdStack` (r:1 w:1) - /// Proof: `Broadcast::IdStack` (`max_values`: Some(1), `max_size`: Some(51), added: 546, mode: `MaxEncodedLen`) + /// Storage: `Broadcast::ExecutionContext` (r:1 w:1) + /// Proof: `Broadcast::ExecutionContext` (`max_values`: Some(1), `max_size`: Some(593), added: 1088, mode: `MaxEncodedLen`) + /// Storage: `Broadcast::OverflowCount` (r:1 w:0) + /// Proof: `Broadcast::OverflowCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `1536` - // Minimum execution time: 11_519_000 picoseconds. - Weight::from_parts(11_090_812, 1536) - // Standard Error: 2_756 - .saturating_add(Weight::from_parts(4_001_584, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Measured: `76` + // Estimated: `2078` + // Minimum execution time: 15_101_000 picoseconds. + Weight::from_parts(7_920_793, 2078) + // Standard Error: 3_772 + .saturating_add(Weight::from_parts(4_442_813, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_whitelist.rs b/runtime/hydradx/src/weights/pallet_whitelist.rs index df3e87f860..1d88dc09d9 100644 --- a/runtime/hydradx/src/weights/pallet_whitelist.rs +++ b/runtime/hydradx/src/weights/pallet_whitelist.rs @@ -18,25 +18,30 @@ //! Autogenerated weights for `pallet_whitelist` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-07-30, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 +// --pallet +// pallet-whitelist +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --pallet=pallet-whitelist -// --output=pallet_whitelist.rs -// --extrinsic=* +// --output +// runtime/hydradx/src/weights/pallet_whitelist.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -62,8 +67,8 @@ impl pallet_whitelist::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `218` // Estimated: `3556` - // Minimum execution time: 23_242_000 picoseconds. - Weight::from_parts(23_861_000, 3556) + // Minimum execution time: 27_991_000 picoseconds. + Weight::from_parts(28_328_000, 3556) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -77,8 +82,8 @@ impl pallet_whitelist::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `347` // Estimated: `3556` - // Minimum execution time: 21_663_000 picoseconds. - Weight::from_parts(22_035_000, 3556) + // Minimum execution time: 26_849_000 picoseconds. + Weight::from_parts(27_264_000, 3556) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -94,11 +99,11 @@ impl pallet_whitelist::WeightInfo for HydraWeight { fn dispatch_whitelisted_call(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `423 + n * (1 ±0)` - // Estimated: `3884 + n * (1 ±0)` - // Minimum execution time: 34_811_000 picoseconds. - Weight::from_parts(35_117_000, 3884) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_334, 0).saturating_mul(n.into())) + // Estimated: `3887 + n * (1 ±0)` + // Minimum execution time: 42_743_000 picoseconds. + Weight::from_parts(43_002_000, 3887) + // Standard Error: 16 + .saturating_add(Weight::from_parts(1_625, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -114,10 +119,10 @@ impl pallet_whitelist::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `347` // Estimated: `3556` - // Minimum execution time: 27_266_000 picoseconds. - Weight::from_parts(27_786_147, 3556) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_216, 0).saturating_mul(n.into())) + // Minimum execution time: 33_450_000 picoseconds. + Weight::from_parts(33_855_335, 3556) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_307, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } diff --git a/runtime/hydradx/src/weights/pallet_xcm.rs b/runtime/hydradx/src/weights/pallet_xcm.rs index 74ee2485c9..f063215b15 100644 --- a/runtime/hydradx/src/weights/pallet_xcm.rs +++ b/runtime/hydradx/src/weights/pallet_xcm.rs @@ -18,8 +18,8 @@ //! Autogenerated weights for `pallet_xcm` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-02-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-02-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -41,7 +41,7 @@ // 20 // --template=scripts/pallet-weight-template.hbs // --output -// xcm.rs +// runtime/hydradx/src/weights/pallet_xcm.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -67,8 +67,8 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `109` // Estimated: `3574` - // Minimum execution time: 25_547_000 picoseconds. - Weight::from_parts(26_139_000, 3574) + // Minimum execution time: 30_994_000 picoseconds. + Weight::from_parts(31_306_000, 3574) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -85,6 +85,8 @@ impl pallet_xcm::WeightInfo for HydraWeight { /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Broadcast::IncrementalId` (r:1 w:1) /// Proof: `Broadcast::IncrementalId` (`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:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) @@ -92,22 +94,24 @@ impl pallet_xcm::WeightInfo for HydraWeight { /// 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`: None, mode: `Measured`) + /// 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`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(131106), added: 133581, mode: `MaxEncodedLen`) fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: // Measured: `500` // Estimated: `3965` - // Minimum execution time: 124_429_000 picoseconds. - Weight::from_parts(125_466_000, 3965) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Minimum execution time: 139_670_000 picoseconds. + Weight::from_parts(143_359_000, 3965) + .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Broadcast::IncrementalId` (r:1 w:1) /// Proof: `Broadcast::IncrementalId` (`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:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) @@ -115,27 +119,29 @@ impl pallet_xcm::WeightInfo for HydraWeight { /// 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`: None, mode: `Measured`) + /// 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`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(131106), added: 133581, mode: `MaxEncodedLen`) fn transfer_assets() -> Weight { // Proof Size summary in bytes: // Measured: `500` // Estimated: `3965` - // Minimum execution time: 117_527_000 picoseconds. - Weight::from_parts(118_222_000, 3965) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Minimum execution time: 133_408_000 picoseconds. + Weight::from_parts(134_144_000, 3965) + .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Broadcast::IncrementalId` (r:1 w:1) /// Proof: `Broadcast::IncrementalId` (`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`) fn execute() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1489` - // Minimum execution time: 16_655_000 picoseconds. - Weight::from_parts(17_024_000, 1489) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 20_979_000 picoseconds. + Weight::from_parts(21_485_000, 1489) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1) @@ -144,16 +150,16 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_118_000 picoseconds. - Weight::from_parts(10_342_000, 0) + // Minimum execution time: 11_357_000 picoseconds. + Weight::from_parts(11_595_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } fn force_default_xcm_version() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_380_000 picoseconds. - Weight::from_parts(3_550_000, 0) + // Minimum execution time: 4_031_000 picoseconds. + Weight::from_parts(4_123_000, 0) } /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -171,8 +177,8 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `109` // Estimated: `3574` - // Minimum execution time: 33_097_000 picoseconds. - Weight::from_parts(33_446_000, 3574) + // Minimum execution time: 38_744_000 picoseconds. + Weight::from_parts(39_205_000, 3574) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -190,8 +196,8 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `203` // Estimated: `3668` - // Minimum execution time: 32_827_000 picoseconds. - Weight::from_parts(33_250_000, 3668) + // Minimum execution time: 40_017_000 picoseconds. + Weight::from_parts(40_528_000, 3668) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -201,8 +207,8 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_383_000 picoseconds. - Weight::from_parts(3_525_000, 0) + // Minimum execution time: 3_885_000 picoseconds. + Weight::from_parts(4_051_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `PolkadotXcm::SupportedVersion` (r:5 w:2) @@ -211,8 +217,8 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `22` // Estimated: `13387` - // Minimum execution time: 21_120_000 picoseconds. - Weight::from_parts(21_779_000, 13387) + // Minimum execution time: 24_244_000 picoseconds. + Weight::from_parts(24_895_000, 13387) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -222,8 +228,8 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `26` // Estimated: `13391` - // Minimum execution time: 21_195_000 picoseconds. - Weight::from_parts(21_757_000, 13391) + // Minimum execution time: 24_246_000 picoseconds. + Weight::from_parts(24_757_000, 13391) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -233,8 +239,8 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `75` // Estimated: `15915` - // Minimum execution time: 23_296_000 picoseconds. - Weight::from_parts(23_790_000, 15915) + // Minimum execution time: 26_329_000 picoseconds. + Weight::from_parts(26_722_000, 15915) .saturating_add(T::DbWeight::get().reads(6_u64)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1) @@ -249,8 +255,8 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `6082` - // Minimum execution time: 31_643_000 picoseconds. - Weight::from_parts(32_031_000, 6082) + // Minimum execution time: 36_501_000 picoseconds. + Weight::from_parts(37_032_000, 6082) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -258,10 +264,10 @@ impl pallet_xcm::WeightInfo for HydraWeight { /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn notify_target_migration_fail() -> Weight { // Proof Size summary in bytes: - // Measured: `69` - // Estimated: `10959` - // Minimum execution time: 15_106_000 picoseconds. - Weight::from_parts(15_463_000, 10959) + // Measured: `36` + // Estimated: `10926` + // Minimum execution time: 16_108_000 picoseconds. + Weight::from_parts(16_327_000, 10926) .saturating_add(T::DbWeight::get().reads(4_u64)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:2) @@ -270,8 +276,8 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `33` // Estimated: `13398` - // Minimum execution time: 21_546_000 picoseconds. - Weight::from_parts(22_154_000, 13398) + // Minimum execution time: 24_551_000 picoseconds. + Weight::from_parts(25_117_000, 13398) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -287,8 +293,8 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `13507` - // Minimum execution time: 42_159_000 picoseconds. - Weight::from_parts(43_002_000, 13507) + // Minimum execution time: 47_746_000 picoseconds. + Weight::from_parts(48_452_000, 13507) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -300,8 +306,8 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 3_638_000 picoseconds. - Weight::from_parts(3_810_000, 1485) + // Minimum execution time: 5_048_000 picoseconds. + Weight::from_parts(5_157_000, 1485) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -311,13 +317,15 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `7576` // Estimated: `11041` - // Minimum execution time: 31_588_000 picoseconds. - Weight::from_parts(31_856_000, 11041) + // Minimum execution time: 33_739_000 picoseconds. + Weight::from_parts(34_036_000, 11041) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Broadcast::IncrementalId` (r:1 w:1) /// Proof: `Broadcast::IncrementalId` (`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: `PolkadotXcm::AssetTraps` (r:1 w:1) /// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) @@ -328,9 +336,9 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `345` // Estimated: `4087` - // Minimum execution time: 46_275_000 picoseconds. - Weight::from_parts(47_159_000, 4087) - .saturating_add(T::DbWeight::get().reads(4_u64)) + // Minimum execution time: 57_007_000 picoseconds. + Weight::from_parts(57_774_000, 4087) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_xyk.rs b/runtime/hydradx/src/weights/pallet_xyk.rs index c8f119a4c0..73e1f67adc 100644 --- a/runtime/hydradx/src/weights/pallet_xyk.rs +++ b/runtime/hydradx/src/weights/pallet_xyk.rs @@ -18,8 +18,8 @@ //! Autogenerated weights for `pallet_xyk` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-02-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-02-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -41,7 +41,7 @@ // 20 // --template=scripts/pallet-weight-template.hbs // --output -// xyk.rs +// runtime/hydradx/src/weights/pallet_xyk.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -91,6 +91,8 @@ impl pallet_xyk::WeightInfo for HydraWeight { /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EVM::AccountCodesMetadata` (r:0 w:1) + /// Proof: `EVM::AccountCodesMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `EVM::AccountCodes` (r:0 w:1) /// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `XYK::TotalLiquidity` (r:0 w:1) @@ -101,10 +103,10 @@ impl pallet_xyk::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3930` // Estimated: `19071` - // Minimum execution time: 517_982_000 picoseconds. - Weight::from_parts(520_584_000, 19071) + // Minimum execution time: 561_507_000 picoseconds. + Weight::from_parts(565_414_000, 19071) .saturating_add(T::DbWeight::get().reads(34_u64)) - .saturating_add(T::DbWeight::get().writes(21_u64)) + .saturating_add(T::DbWeight::get().writes(22_u64)) } /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) @@ -140,8 +142,8 @@ impl pallet_xyk::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `4566` // Estimated: `19071` - // Minimum execution time: 325_627_000 picoseconds. - Weight::from_parts(327_637_000, 19071) + // Minimum execution time: 368_098_000 picoseconds. + Weight::from_parts(369_852_000, 19071) .saturating_add(T::DbWeight::get().reads(28_u64)) .saturating_add(T::DbWeight::get().writes(13_u64)) } @@ -181,8 +183,8 @@ impl pallet_xyk::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `4616` // Estimated: `19071` - // Minimum execution time: 469_582_000 picoseconds. - Weight::from_parts(471_818_000, 19071) + // Minimum execution time: 512_600_000 picoseconds. + Weight::from_parts(515_165_000, 19071) .saturating_add(T::DbWeight::get().reads(30_u64)) .saturating_add(T::DbWeight::get().writes(17_u64)) } @@ -216,8 +218,8 @@ impl pallet_xyk::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `4541` // Estimated: `16488` - // Minimum execution time: 297_236_000 picoseconds. - Weight::from_parts(298_184_000, 16488) + // Minimum execution time: 336_729_000 picoseconds. + Weight::from_parts(338_387_000, 16488) .saturating_add(T::DbWeight::get().reads(25_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } @@ -251,8 +253,8 @@ impl pallet_xyk::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `4541` // Estimated: `16488` - // Minimum execution time: 295_422_000 picoseconds. - Weight::from_parts(296_990_000, 16488) + // Minimum execution time: 334_128_000 picoseconds. + Weight::from_parts(335_399_000, 16488) .saturating_add(T::DbWeight::get().reads(25_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } @@ -288,12 +290,12 @@ impl pallet_xyk::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1786 + e * (2755 ±0)` // Estimated: `8799 + e * (10332 ±0)` - // Minimum execution time: 36_496_000 picoseconds. - Weight::from_parts(14_847_783, 8799) - // Standard Error: 118_857 - .saturating_add(Weight::from_parts(11_355_098, 0).saturating_mul(c.into())) - // Standard Error: 118_857 - .saturating_add(Weight::from_parts(269_943_168, 0).saturating_mul(e.into())) + // Minimum execution time: 47_055_000 picoseconds. + Weight::from_parts(26_105_610, 8799) + // Standard Error: 99_183 + .saturating_add(Weight::from_parts(10_973_465, 0).saturating_mul(c.into())) + // Standard Error: 99_183 + .saturating_add(Weight::from_parts(300_856_359, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((20_u64).saturating_mul(e.into()))) .saturating_add(T::DbWeight::get().writes((10_u64).saturating_mul(e.into()))) @@ -331,12 +333,12 @@ impl pallet_xyk::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1786 + e * (2755 ±0)` // Estimated: `6190 + e * (10332 ±0)` - // Minimum execution time: 47_558_000 picoseconds. - Weight::from_parts(15_735_201, 6190) - // Standard Error: 36_021 - .saturating_add(Weight::from_parts(10_918_884, 0).saturating_mul(c.into())) - // Standard Error: 59_959 - .saturating_add(Weight::from_parts(267_306_085, 0).saturating_mul(e.into())) + // Minimum execution time: 58_237_000 picoseconds. + Weight::from_parts(25_368_794, 6190) + // Standard Error: 39_402 + .saturating_add(Weight::from_parts(11_293_666, 0).saturating_mul(c.into())) + // Standard Error: 65_587 + .saturating_add(Weight::from_parts(298_513_120, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((20_u64).saturating_mul(e.into()))) .saturating_add(T::DbWeight::get().writes((10_u64).saturating_mul(e.into()))) @@ -350,8 +352,8 @@ impl pallet_xyk::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1586` // Estimated: `6190` - // Minimum execution time: 31_501_000 picoseconds. - Weight::from_parts(31_867_000, 6190) + // Minimum execution time: 40_233_000 picoseconds. + Weight::from_parts(40_930_000, 6190) .saturating_add(T::DbWeight::get().reads(4_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_xyk_liquidity_mining.rs b/runtime/hydradx/src/weights/pallet_xyk_liquidity_mining.rs index 291e6abcb6..a11b1241d9 100644 --- a/runtime/hydradx/src/weights/pallet_xyk_liquidity_mining.rs +++ b/runtime/hydradx/src/weights/pallet_xyk_liquidity_mining.rs @@ -18,24 +18,30 @@ //! Autogenerated weights for `pallet_xyk_liquidity_mining` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-12-13, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --wasm-execution=compiled -// --pallet=pallet-xyk-liquidity-mining -// --extrinsic=* +// --pallet +// pallet-xyk-liquidity-mining +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=scripts/pallet-weight-template.hbs -// --output=xlm.rs +// --output +// runtime/hydradx/src/weights/pallet_xyk_liquidity_mining.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -79,10 +85,10 @@ impl pallet_xyk_liquidity_mining::WeightInfo for HydraW /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) fn create_global_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `3339` + // Measured: `3406` // Estimated: `11402` - // Minimum execution time: 294_723_000 picoseconds. - Weight::from_parts(296_717_000, 11402) + // Minimum execution time: 330_476_000 picoseconds. + Weight::from_parts(332_419_000, 11402) .saturating_add(T::DbWeight::get().reads(20_u64)) .saturating_add(T::DbWeight::get().writes(12_u64)) } @@ -104,10 +110,10 @@ impl pallet_xyk_liquidity_mining::WeightInfo for HydraW /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn update_global_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `4588` + // Measured: `4654` // Estimated: `6156` - // Minimum execution time: 111_381_000 picoseconds. - Weight::from_parts(112_188_000, 6156) + // Minimum execution time: 134_937_000 picoseconds. + Weight::from_parts(136_501_000, 6156) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -135,10 +141,10 @@ impl pallet_xyk_liquidity_mining::WeightInfo for HydraW /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn terminate_global_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `4051` + // Measured: `4118` // Estimated: `6196` - // Minimum execution time: 180_113_000 picoseconds. - Weight::from_parts(181_452_000, 6196) + // Minimum execution time: 212_373_000 picoseconds. + Weight::from_parts(213_203_000, 6196) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -154,10 +160,10 @@ impl pallet_xyk_liquidity_mining::WeightInfo for HydraW /// Proof: `XYKWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(226), added: 2701, mode: `MaxEncodedLen`) fn create_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `1582` + // Measured: `1615` // Estimated: `3670` - // Minimum execution time: 48_196_000 picoseconds. - Weight::from_parts(48_507_000, 3670) + // Minimum execution time: 58_738_000 picoseconds. + Weight::from_parts(59_170_000, 3670) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -185,10 +191,10 @@ impl pallet_xyk_liquidity_mining::WeightInfo for HydraW /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn update_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `5104` + // Measured: `5170` // Estimated: `6156` - // Minimum execution time: 134_986_000 picoseconds. - Weight::from_parts(135_764_000, 6156) + // Minimum execution time: 164_466_000 picoseconds. + Weight::from_parts(165_589_000, 6156) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -214,10 +220,10 @@ impl pallet_xyk_liquidity_mining::WeightInfo for HydraW /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn stop_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `4904` + // Measured: `4970` // Estimated: `6156` - // Minimum execution time: 129_990_000 picoseconds. - Weight::from_parts(130_531_000, 6156) + // Minimum execution time: 157_443_000 picoseconds. + Weight::from_parts(158_269_000, 6156) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -241,10 +247,10 @@ impl pallet_xyk_liquidity_mining::WeightInfo for HydraW /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn terminate_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `4951` + // Measured: `5017` // Estimated: `6156` - // Minimum execution time: 105_519_000 picoseconds. - Weight::from_parts(106_541_000, 6156) + // Minimum execution time: 130_381_000 picoseconds. + Weight::from_parts(131_989_000, 6156) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -286,10 +292,10 @@ impl pallet_xyk_liquidity_mining::WeightInfo for HydraW /// Proof: `XYKWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(413), added: 2888, mode: `MaxEncodedLen`) fn deposit_shares() -> Weight { // Proof Size summary in bytes: - // Measured: `6291` + // Measured: `6357` // Estimated: `16488` - // Minimum execution time: 240_153_000 picoseconds. - Weight::from_parts(242_378_000, 16488) + // Minimum execution time: 283_913_000 picoseconds. + Weight::from_parts(286_781_000, 16488) .saturating_add(T::DbWeight::get().reads(26_u64)) .saturating_add(T::DbWeight::get().writes(11_u64)) } @@ -323,10 +329,10 @@ impl pallet_xyk_liquidity_mining::WeightInfo for HydraW /// Proof: `XYK::TotalLiquidity` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) fn redeposit_shares() -> Weight { // Proof Size summary in bytes: - // Measured: `7220` + // Measured: `7286` // Estimated: `11322` - // Minimum execution time: 182_706_000 picoseconds. - Weight::from_parts(184_431_000, 11322) + // Minimum execution time: 222_200_000 picoseconds. + Weight::from_parts(224_064_000, 11322) .saturating_add(T::DbWeight::get().reads(18_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -354,10 +360,10 @@ impl pallet_xyk_liquidity_mining::WeightInfo for HydraW /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn claim_rewards() -> Weight { // Proof Size summary in bytes: - // Measured: `7044` + // Measured: `7110` // Estimated: `8739` - // Minimum execution time: 188_120_000 picoseconds. - Weight::from_parts(189_469_000, 8739) + // Minimum execution time: 225_203_000 picoseconds. + Weight::from_parts(227_289_000, 8739) .saturating_add(T::DbWeight::get().reads(15_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -403,10 +409,10 @@ impl pallet_xyk_liquidity_mining::WeightInfo for HydraW /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn withdraw_shares() -> Weight { // Proof Size summary in bytes: - // Measured: `6716` + // Measured: `6783` // Estimated: `13905` - // Minimum execution time: 388_985_000 picoseconds. - Weight::from_parts(391_459_000, 13905) + // Minimum execution time: 444_475_000 picoseconds. + Weight::from_parts(446_391_000, 13905) .saturating_add(T::DbWeight::get().reads(29_u64)) .saturating_add(T::DbWeight::get().writes(16_u64)) } @@ -434,10 +440,10 @@ impl pallet_xyk_liquidity_mining::WeightInfo for HydraW /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn resume_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `5396` + // Measured: `5462` // Estimated: `6156` - // Minimum execution time: 134_702_000 picoseconds. - Weight::from_parts(136_000_000, 6156) + // Minimum execution time: 163_153_000 picoseconds. + Weight::from_parts(165_213_000, 6156) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -480,12 +486,12 @@ impl pallet_xyk_liquidity_mining::WeightInfo for HydraW /// The range of component `c` is `[1, 5]`. fn join_farms(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `6812 + c * (672 ±0)` + // Measured: `6878 + c * (672 ±0)` // Estimated: `13905 + c * (2701 ±0)` - // Minimum execution time: 244_373_000 picoseconds. - Weight::from_parts(160_839_709, 13905) - // Standard Error: 60_455 - .saturating_add(Weight::from_parts(87_648_328, 0).saturating_mul(c.into())) + // Minimum execution time: 292_299_000 picoseconds. + Weight::from_parts(201_908_083, 13905) + // Standard Error: 77_779 + .saturating_add(Weight::from_parts(94_881_538, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(21_u64)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(8_u64)) @@ -535,12 +541,12 @@ impl pallet_xyk_liquidity_mining::WeightInfo for HydraW /// The range of component `c` is `[1, 5]`. fn add_liquidity_and_join_farms(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `7020 + c * (672 ±0)` + // Measured: `7086 + c * (672 ±0)` // Estimated: `19071 + c * (2701 ±0)` - // Minimum execution time: 377_407_000 picoseconds. - Weight::from_parts(293_332_201, 19071) - // Standard Error: 74_837 - .saturating_add(Weight::from_parts(88_301_042, 0).saturating_mul(c.into())) + // Minimum execution time: 431_804_000 picoseconds. + Weight::from_parts(343_282_342, 19071) + // Standard Error: 81_808 + .saturating_add(Weight::from_parts(94_589_228, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(26_u64)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(14_u64)) @@ -590,12 +596,12 @@ impl pallet_xyk_liquidity_mining::WeightInfo for HydraW /// The range of component `c` is `[1, 5]`. fn exit_farms(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `6413 + c * (692 ±0)` - // Estimated: `5788 + c * (2792 ±13)` - // Minimum execution time: 256_906_000 picoseconds. - Weight::from_parts(80_731_763, 5788) - // Standard Error: 804_651 - .saturating_add(Weight::from_parts(173_894_089, 0).saturating_mul(c.into())) + // Measured: `6479 + c * (692 ±0)` + // Estimated: `5788 + c * (2792 ±0)` + // Minimum execution time: 297_740_000 picoseconds. + Weight::from_parts(114_084_684, 5788) + // Standard Error: 872_832 + .saturating_add(Weight::from_parts(182_272_429, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index 3f7314389f..1ada4ee79e 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -224,6 +224,7 @@ impl Config for XcmConfig { type HrmpNewChannelOpenRequestHandler = (); type HrmpChannelClosingHandler = (); type HrmpChannelAcceptedHandler = (); + type XcmRecorder = PolkadotXcm; } impl cumulus_pallet_xcm::Config for Runtime { @@ -304,12 +305,14 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; type ChannelInfo = ParachainSystem; type VersionWrapper = PolkadotXcm; + type XcmpQueue = TransformOrigin; + type MaxInboundSuspended = MaxInboundSuspended; + type MaxActiveOutboundChannels = ConstU32<128>; + type MaxPageSize = ConstU32<{ 128 * 1024 }>; type ControllerOrigin = EitherOf, EitherOf>; type ControllerOriginConverter = XcmOriginToCallOrigin; type PriceForSiblingDelivery = polkadot_runtime_common::xcm_sender::NoPriceForMessageDelivery; type WeightInfo = weights::cumulus_pallet_xcmp_queue::HydraWeight; - type XcmpQueue = TransformOrigin; - type MaxInboundSuspended = MaxInboundSuspended; } const ASSET_HUB_PARA_ID: u32 = 1000; diff --git a/rust-toolchain b/rust-toolchain index 47a114dc5e..d129d221c2 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1,5 +1,5 @@ [toolchain] -channel = "1.77.0" +channel = "1.81.0" components = [ "rustfmt", "clippy", "rust-src" ] targets = [ "wasm32-unknown-unknown" ] profile = "minimal"