diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index c4d9b9fb0b9..49319f06f1b 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -2,6 +2,7 @@ name: Docker on: release: + types: [published] jobs: diff --git a/.maintain/external_pallet_weights.hbs b/.maintain/external_pallet_weights.hbs index 6b53118569a..eef336be410 100644 --- a/.maintain/external_pallet_weights.hbs +++ b/.maintain/external_pallet_weights.hbs @@ -51,10 +51,10 @@ impl {{pallet}}::WeightInfo for WeightInfo { {{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}} ) -> Weight { // Minimum execution time: {{underscore benchmark.min_execution_time}} nanoseconds. - Weight::from_ref_time({{underscore benchmark.base_weight}}_u64) + Weight::from_parts({{underscore benchmark.base_weight}}_u64, 0) {{#each benchmark.component_weight as |cw|}} // Standard Error: {{underscore cw.error}} - .saturating_add(Weight::from_ref_time({{underscore cw.slope}}_u64).saturating_mul({{cw.name}} as u64)) + .saturating_add(Weight::from_parts({{underscore cw.slope}}_u64, 0).saturating_mul({{cw.name}} as u64)) {{/each}} {{#if (ne benchmark.base_reads "0")}} .saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}}_u64)) diff --git a/.maintain/internal_pallet_weights.hbs b/.maintain/internal_pallet_weights.hbs index f92bf8f8f88..1c8d9e20a98 100644 --- a/.maintain/internal_pallet_weights.hbs +++ b/.maintain/internal_pallet_weights.hbs @@ -58,10 +58,10 @@ impl WeightInfo for SubstrateWeight { {{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}} ) -> Weight { // Minimum execution time: {{underscore benchmark.min_execution_time}} nanoseconds. - Weight::from_ref_time({{underscore benchmark.base_weight}}_u64) + Weight::from_parts({{underscore benchmark.base_weight}}_u64, 0) {{#each benchmark.component_weight as |cw|}} // Standard Error: {{underscore cw.error}} - .saturating_add(Weight::from_ref_time({{underscore cw.slope}}_u64).saturating_mul({{cw.name}} as u64)) + .saturating_add(Weight::from_parts({{underscore cw.slope}}_u64, 0).saturating_mul({{cw.name}} as u64)) {{/each}} {{#if (ne benchmark.base_reads "0")}} .saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}}_u64)) @@ -93,10 +93,10 @@ impl WeightInfo for () { {{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}} ) -> Weight { // Minimum execution time: {{underscore benchmark.min_execution_time}} nanoseconds. - Weight::from_ref_time({{underscore benchmark.base_weight}}_u64) + Weight::from_parts({{underscore benchmark.base_weight}}_u64, 0) {{#each benchmark.component_weight as |cw|}} // Standard Error: {{underscore cw.error}} - .saturating_add(Weight::from_ref_time({{underscore cw.slope}}_u64).saturating_mul({{cw.name}} as u64)) + .saturating_add(Weight::from_parts({{underscore cw.slope}}_u64, 0).saturating_mul({{cw.name}} as u64)) {{/each}} {{#if (ne benchmark.base_reads "0")}} .saturating_add(RocksDbWeight::get().reads({{benchmark.base_reads}}_u64)) diff --git a/.maintain/xcm.hbs b/.maintain/xcm.hbs index 2f4b13830a5..40f819d0584 100644 --- a/.maintain/xcm.hbs +++ b/.maintain/xcm.hbs @@ -46,10 +46,10 @@ impl WeightInfo { {{~#each benchmark.components as |c| ~}} {{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}} ) -> Weight { - Weight::from_ref_time({{underscore benchmark.base_weight}}_u64) + Weight::from_parts({{underscore benchmark.base_weight}}_u64, 0) {{#each benchmark.component_weight as |cw|}} // Standard Error: {{underscore cw.error}} - .saturating_add(Weight::from_ref_time({{underscore cw.slope}}_u64).saturating_mul({{cw.name}}_u64)) + .saturating_add(Weight::from_parts({{underscore cw.slope}}_u64, 0).saturating_mul({{cw.name}}_u64)) {{/each}} {{#if (ne benchmark.base_reads "0")}} .saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}}_u64)) diff --git a/Cargo.lock b/Cargo.lock index 7674b77c669..62021f4a761 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -158,6 +158,18 @@ dependencies = [ "version_check", ] +[[package]] +name = "ahash" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" +dependencies = [ + "cfg-if", + "getrandom 0.2.8", + "once_cell", + "version_check", +] + [[package]] name = "aho-corasick" version = "0.7.20" @@ -321,6 +333,17 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" +[[package]] +name = "async-channel" +version = "1.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf46fee83e5ccffc220104713af3292ff9bc7c64c7de289f66dae8e38d826833" +dependencies = [ + "concurrent-queue", + "event-listener", + "futures-core", +] + [[package]] name = "async-io" version = "1.12.0" @@ -458,66 +481,12 @@ dependencies = [ ] [[package]] -name = "beefy-gadget" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" -dependencies = [ - "array-bytes 4.2.0", - "async-trait", - "fnv", - "futures", - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "sc-client-api", - "sc-consensus", - "sc-keystore", - "sc-network", - "sc-network-common", - "sc-network-gossip", - "sc-utils", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", - "sp-beefy", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-keystore", - "sp-mmr-primitives", - "sp-runtime", - "substrate-prometheus-endpoint", - "thiserror", - "wasm-timer", -] - -[[package]] -name = "beefy-gadget-rpc" +name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ - "beefy-gadget", - "futures", - "jsonrpsee", + "hash-db", "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "sc-rpc", - "serde", - "sp-beefy", - "sp-core", - "sp-runtime", - "thiserror", -] - -[[package]] -name = "beefy-merkle-tree" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" -dependencies = [ - "sp-api", - "sp-beefy", - "sp-runtime", ] [[package]] @@ -667,11 +636,23 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" +[[package]] +name = "bounded-collections" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a071c348a5ef6da1d3a87166b408170b46002382b1dda83992b5c2208cefb370" +dependencies = [ + "log", + "parity-scale-codec", + "scale-info", + "serde", +] + [[package]] name = "bounded-vec" -version = "0.6.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3372be4090bf9d4da36bd8ba7ce6ca1669503d0cf6e667236c6df7f053153eb6" +checksum = "68534a48cbf63a4b1323c433cf21238c9ec23711e0df13b08c33e5c2082663ce" dependencies = [ "thiserror", ] @@ -719,6 +700,12 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" +[[package]] +name = "bytemuck" +version = "1.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17febce684fd15d89027105661fec94afb475cb995fbc59d2865198446ba2eea" + [[package]] name = "byteorder" version = "1.4.3" @@ -762,15 +749,16 @@ dependencies = [ [[package]] name = "cargo_metadata" -version = "0.14.2" +version = "0.15.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4acbb09d9ee8e23699b9634375c72795d095bf268439da88562cf9b501f181fa" +checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" dependencies = [ "camino", "cargo-platform", "semver 1.0.17", "serde", "serde_json", + "thiserror", ] [[package]] @@ -1076,18 +1064,18 @@ dependencies = [ [[package]] name = "cranelift-bforest" -version = "0.88.2" +version = "0.93.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52056f6d0584484b57fa6c1a65c1fcb15f3780d8b6a758426d9e3084169b2ddd" +checksum = "a7379abaacee0f14abf3204a7606118f0465785252169d186337bcb75030815a" dependencies = [ "cranelift-entity", ] [[package]] name = "cranelift-codegen" -version = "0.88.2" +version = "0.93.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18fed94c8770dc25d01154c3ffa64ed0b3ba9d583736f305fed7beebe5d9cf74" +checksum = "9489fa336927df749631f1008007ced2871068544f40a202ce6d93fbf2366a7b" dependencies = [ "arrayvec 0.7.2", "bumpalo", @@ -1097,6 +1085,7 @@ dependencies = [ "cranelift-entity", "cranelift-isle", "gimli 0.26.2", + "hashbrown 0.12.3", "log", "regalloc2", "smallvec", @@ -1105,33 +1094,33 @@ dependencies = [ [[package]] name = "cranelift-codegen-meta" -version = "0.88.2" +version = "0.93.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c451b81faf237d11c7e4f3165eeb6bac61112762c5cfe7b4c0fb7241474358f" +checksum = "05bbb67da91ec721ed57cef2f7c5ef7728e1cd9bde9ffd3ef8601022e73e3239" dependencies = [ "cranelift-codegen-shared", ] [[package]] name = "cranelift-codegen-shared" -version = "0.88.2" +version = "0.93.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7c940133198426d26128f08be2b40b0bd117b84771fd36798969c4d712d81fc" +checksum = "418ecb2f36032f6665dc1a5e2060a143dbab41d83b784882e97710e890a7a16d" [[package]] name = "cranelift-entity" -version = "0.88.2" +version = "0.93.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87a0f1b2fdc18776956370cf8d9b009ded3f855350c480c1c52142510961f352" +checksum = "7cf583f7b093f291005f9fb1323e2c37f6ee4c7909e39ce016b2e8360d461705" dependencies = [ "serde", ] [[package]] name = "cranelift-frontend" -version = "0.88.2" +version = "0.93.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34897538b36b216cc8dd324e73263596d51b8cf610da6498322838b2546baf8a" +checksum = "0b66bf9e916f57fbbd0f7703ec6286f4624866bf45000111627c70d272c8dda1" dependencies = [ "cranelift-codegen", "log", @@ -1141,15 +1130,15 @@ dependencies = [ [[package]] name = "cranelift-isle" -version = "0.88.2" +version = "0.93.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b2629a569fae540f16a76b70afcc87ad7decb38dc28fa6c648ac73b51e78470" +checksum = "649782a39ce99798dd6b4029e2bb318a2fbeaade1b4fa25330763c10c65bc358" [[package]] name = "cranelift-native" -version = "0.88.2" +version = "0.93.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20937dab4e14d3e225c5adfc9c7106bafd4ac669bdb43027b911ff794c6fb318" +checksum = "937e021e089c51f9749d09e7ad1c4f255c2f8686cb8c3df63a34b3ec9921bc41" dependencies = [ "cranelift-codegen", "libc", @@ -1158,9 +1147,9 @@ dependencies = [ [[package]] name = "cranelift-wasm" -version = "0.88.2" +version = "0.93.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80fc2288957a94fd342a015811479de1837850924166d1f1856d8406e6f3609b" +checksum = "d850cf6775477747c9dfda9ae23355dd70512ffebc70cf82b85a5b111ae668b5" dependencies = [ "cranelift-codegen", "cranelift-entity", @@ -1319,7 +1308,7 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "clap", "parity-scale-codec", @@ -1334,7 +1323,7 @@ dependencies = [ [[package]] name = "cumulus-client-collator" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -1357,7 +1346,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -1386,7 +1375,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -1399,6 +1388,7 @@ dependencies = [ "polkadot-primitives", "sc-client-api", "sc-consensus", + "schnellru", "sp-blockchain", "sp-consensus", "sp-runtime", @@ -1409,7 +1399,7 @@ dependencies = [ [[package]] name = "cumulus-client-network" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -1432,8 +1422,9 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ + "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", "futures", @@ -1455,35 +1446,42 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", "cumulus-client-consensus-common", + "cumulus-client-network", "cumulus-client-pov-recovery", "cumulus-primitives-core", "cumulus-relay-chain-inprocess-interface", "cumulus-relay-chain-interface", "cumulus-relay-chain-minimal-node", "futures", - "parking_lot 0.12.1", "polkadot-primitives", "sc-client-api", "sc-consensus", + "sc-network", + "sc-network-sync", + "sc-network-transactions", + "sc-rpc", "sc-service", "sc-sysinfo", "sc-telemetry", + "sc-transaction-pool", + "sc-utils", "sp-api", "sp-blockchain", "sp-consensus", "sp-core", "sp-runtime", + "sp-transaction-pool", ] [[package]] name = "cumulus-pallet-aura-ext" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "frame-support", "frame-system", @@ -1499,7 +1497,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1516,7 +1514,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -1539,12 +1537,13 @@ dependencies = [ "sp-std", "sp-trie", "sp-version", + "xcm", ] [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -1555,7 +1554,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1571,7 +1570,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -1579,8 +1578,10 @@ dependencies = [ "frame-system", "log", "parity-scale-codec", + "polkadot-runtime-common", "rand_chacha 0.3.1", "scale-info", + "sp-io", "sp-runtime", "sp-std", "xcm", @@ -1590,7 +1591,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -1600,12 +1601,13 @@ dependencies = [ "sp-runtime", "sp-std", "sp-trie", + "xcm", ] [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1628,7 +1630,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "cumulus-primitives-core", "futures", @@ -1641,12 +1643,14 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "cumulus-primitives-core", "frame-support", "log", "parity-scale-codec", + "polkadot-runtime-common", + "sp-io", "sp-runtime", "sp-std", "xcm", @@ -1657,7 +1661,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1682,7 +1686,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1690,19 +1694,17 @@ dependencies = [ "jsonrpsee-core", "parity-scale-codec", "polkadot-overseer", - "polkadot-service", "sc-client-api", "sp-api", "sp-blockchain", "sp-state-machine", "thiserror", - "tokio", ] [[package]] name = "cumulus-relay-chain-minimal-node" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "array-bytes 6.0.0", "async-trait", @@ -1710,7 +1712,7 @@ dependencies = [ "cumulus-relay-chain-interface", "cumulus-relay-chain-rpc-interface", "futures", - "lru", + "lru 0.9.0", "polkadot-core-primitives", "polkadot-network-bridge", "polkadot-node-network-protocol", @@ -1720,15 +1722,10 @@ dependencies = [ "polkadot-service", "sc-authority-discovery", "sc-client-api", - "sc-consensus", - "sc-keystore", "sc-network", "sc-network-common", "sc-service", - "sc-telemetry", "sc-tracing", - "sc-transaction-pool", - "sc-transaction-pool-api", "sp-api", "sp-blockchain", "sp-consensus", @@ -1736,13 +1733,12 @@ dependencies = [ "sp-runtime", "tokio", "tracing", - "url", ] [[package]] name = "cumulus-relay-chain-rpc-interface" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1750,11 +1746,12 @@ dependencies = [ "futures", "futures-timer", "jsonrpsee", - "lru", + "lru 0.9.0", "parity-scale-codec", - "polkadot-service", + "polkadot-overseer", "sc-client-api", "sc-rpc-api", + "sc-service", "serde", "serde_json", "sp-api", @@ -1771,7 +1768,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -1976,6 +1973,17 @@ dependencies = [ "syn", ] +[[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", +] + [[package]] name = "derive_builder" version = "0.11.2" @@ -2194,7 +2202,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7c24f403d068ad0b359e577a77f92392118be3f3c927538f2bb544a5ecd828c6" dependencies = [ "curve25519-dalek 3.2.0", - "hashbrown", + "hashbrown 0.12.3", "hex", "rand_core 0.6.4", "sha2 0.9.9", @@ -2272,19 +2280,6 @@ dependencies = [ "syn", ] -[[package]] -name = "env_logger" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7" -dependencies = [ - "atty", - "humantime", - "log", - "regex", - "termcolor", -] - [[package]] name = "env_logger" version = "0.10.0" @@ -2365,6 +2360,19 @@ dependencies = [ "syn", ] +[[package]] +name = "expander" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f360349150728553f92e4c997a16af8915f418d3a0f21b440d34c5632f16ed84" +dependencies = [ + "blake2", + "fs-err", + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "fake-simd" version = "0.1.2" @@ -2442,7 +2450,7 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "84f2e425d9790201ba4af4630191feac6dcc98765b118d4d18e91d23c2353866" dependencies = [ - "env_logger 0.10.0", + "env_logger", "log", ] @@ -2521,7 +2529,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "parity-scale-codec", ] @@ -2544,9 +2552,10 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-support", + "frame-support-procedural", "frame-system", "linregress", "log", @@ -2562,12 +2571,13 @@ dependencies = [ "sp-runtime-interface", "sp-std", "sp-storage", + "static_assertions", ] [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "Inflector", "array-bytes 4.2.0", @@ -2614,7 +2624,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2625,7 +2635,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2642,7 +2652,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-support", "frame-system", @@ -2671,7 +2681,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "futures", "log", @@ -2687,9 +2697,10 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "bitflags", + "environmental", "frame-metadata", "frame-support-procedural", "impl-trait-for-tuples", @@ -2719,10 +2730,11 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "Inflector", "cfg-expr", + "derive-syn-parse", "frame-support-procedural-tools", "itertools", "proc-macro2", @@ -2733,7 +2745,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2745,7 +2757,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "proc-macro2", "quote", @@ -2755,7 +2767,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-support", "log", @@ -2773,7 +2785,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -2788,7 +2800,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "parity-scale-codec", "sp-api", @@ -2797,7 +2809,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-support", "parity-scale-codec", @@ -2822,6 +2834,17 @@ dependencies = [ "winapi", ] +[[package]] +name = "fs4" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ea55201cc351fdb478217c0fb641b59813da9b4efe4c414a9d8f989a657d149" +dependencies = [ + "libc", + "rustix 0.35.13", + "winapi", +] + [[package]] name = "funty" version = "2.0.0" @@ -3114,9 +3137,9 @@ dependencies = [ [[package]] name = "hash-db" -version = "0.15.2" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d23bd4e7b5eda0d0f3a307e8b381fdc8ba9000f26fbe912250c0a4cc3956364a" +checksum = "8e7d7786361d7425ae2fe4f9e407eb0efaa0840f5212d109cc018c40c35c6ab4" [[package]] name = "hash256-std-hasher" @@ -3133,7 +3156,16 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" dependencies = [ - "ahash", + "ahash 0.7.6", +] + +[[package]] +name = "hashbrown" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" +dependencies = [ + "ahash 0.8.3", ] [[package]] @@ -3439,7 +3471,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399" dependencies = [ "autocfg", - "hashbrown", + "hashbrown 0.12.3", "serde", ] @@ -3733,8 +3765,8 @@ dependencies = [ [[package]] name = "kusama-runtime" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "bitvec", "frame-benchmarking", @@ -3784,6 +3816,7 @@ dependencies = [ "pallet-session-benchmarking", "pallet-society", "pallet-staking", + "pallet-staking-runtime-api", "pallet-timestamp", "pallet-tips", "pallet-transaction-payment", @@ -3806,9 +3839,9 @@ dependencies = [ "sp-api", "sp-arithmetic", "sp-authority-discovery", - "sp-beefy", "sp-block-builder", "sp-consensus-babe", + "sp-consensus-beefy", "sp-core", "sp-inherents", "sp-io", @@ -3830,8 +3863,8 @@ dependencies = [ [[package]] name = "kusama-runtime-constants" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "frame-support", "polkadot-primitives", @@ -4040,7 +4073,7 @@ dependencies = [ "libp2p-core 0.38.0", "libp2p-swarm", "log", - "lru", + "lru 0.8.1", "prost", "prost-build", "prost-codec", @@ -4472,12 +4505,11 @@ dependencies = [ [[package]] name = "linregress" -version = "0.4.4" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6c601a85f5ecd1aba625247bca0031585fb1c446461b142878a16f8245ddeb8" +checksum = "475015a7f8f017edb28d2e69813be23500ad4b32cfe3421c4148efc97324ee52" dependencies = [ "nalgebra", - "statrs", ] [[package]] @@ -4517,7 +4549,16 @@ version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6e8aaa3f231bb4bd57b84b2d5dc3ae7f350265df8aa96492e0bc394a1571909" dependencies = [ - "hashbrown", + "hashbrown 0.12.3", +] + +[[package]] +name = "lru" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71e7d46de488603ffdd5f30afbc64fbba2378214a2c3a2fb83abf3d33126df17" +dependencies = [ + "hashbrown 0.13.2", ] [[package]] @@ -4641,12 +4682,11 @@ dependencies = [ [[package]] name = "memory-db" -version = "0.31.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e0c7cba9ce19ac7ffd2053ac9f49843bbd3f4318feedfd74e85c19d5fb0ba66" +checksum = "808b50db46293432a45e63bc15ea51e0ab4c0a1647b8eb114e31a3e698dd6fbe" dependencies = [ "hash-db", - "hashbrown", ] [[package]] @@ -4708,7 +4748,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "futures", "log", @@ -4716,9 +4756,9 @@ dependencies = [ "sc-client-api", "sc-offchain", "sp-api", - "sp-beefy", "sp-blockchain", "sp-consensus", + "sp-consensus-beefy", "sp-core", "sp-mmr-primitives", "sp-runtime", @@ -4727,7 +4767,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "anyhow", "jsonrpsee", @@ -4880,9 +4920,9 @@ dependencies = [ [[package]] name = "nalgebra" -version = "0.27.1" +version = "0.32.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "462fffe4002f4f2e1f6a9dcf12cc1a6fc0e15989014efc02a941d3e0f5dc2120" +checksum = "d68d47bba83f9e2006d117a9a33af1524e655516b8919caac694427a6fb1e511" dependencies = [ "approx", "matrixmultiply", @@ -4890,17 +4930,15 @@ dependencies = [ "num-complex", "num-rational", "num-traits", - "rand 0.8.5", - "rand_distr", "simba", "typenum", ] [[package]] name = "nalgebra-macros" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01fcc0b8149b4632adc89ac3b7b31a12fb6099a0317a4eb2ebff574ef7de7218" +checksum = "d232c68884c0c99810a5a4d333ef7e47689cfd0edc85efc9e54e1e6bf5212766" dependencies = [ "proc-macro2", "quote", @@ -5002,14 +5040,13 @@ dependencies = [ [[package]] name = "nodle-parachain" -version = "2.0.30" +version = "2.1.0" dependencies = [ "clap", "cumulus-client-cli", "cumulus-client-collator", "cumulus-client-consensus-aura", "cumulus-client-consensus-common", - "cumulus-client-network", "cumulus-client-service", "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", @@ -5038,7 +5075,7 @@ dependencies = [ "sc-executor", "sc-keystore", "sc-network", - "sc-network-common", + "sc-network-sync", "sc-rpc", "sc-rpc-api", "sc-service", @@ -5150,7 +5187,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" dependencies = [ "autocfg", - "libm 0.2.6", ] [[package]] @@ -5170,7 +5206,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" dependencies = [ "crc32fast", - "hashbrown", + "hashbrown 0.12.3", "indexmap", "memchr", ] @@ -5228,9 +5264,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "orchestra" -version = "0.0.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17e7d5b6bb115db09390bed8842c94180893dd83df3dfce7354f2a2aa090a4ee" +checksum = "2b0766f60d83cac01c6e3f3bc36aaa9056e48bea0deddb98a8c74de6021f3061" dependencies = [ "async-trait", "dyn-clonable", @@ -5245,11 +5281,12 @@ dependencies = [ [[package]] name = "orchestra-proc-macro" -version = "0.0.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2af4dabb2286b0be0e9711d2d24e25f6217048b71210cffd3daddc3b5c84e1f" +checksum = "3c8e83dbd049009426b445424a1104c78e6172a4c13e3614e52a38262785a5d7" dependencies = [ - "expander 0.0.6", + "expander 1.0.0", + "indexmap", "itertools", "petgraph", "proc-macro-crate", @@ -5270,7 +5307,7 @@ dependencies = [ [[package]] name = "orml-traits" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.37#16b6c1149a15674d21c87244b7988a667e2c14d9" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.40#19afb58a300faac6ceb0e6e4e341859282897c53" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -5279,6 +5316,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", + "sp-core", "sp-io", "sp-runtime", "sp-std", @@ -5288,7 +5326,7 @@ dependencies = [ [[package]] name = "orml-utilities" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.37#16b6c1149a15674d21c87244b7988a667e2c14d9" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.40#19afb58a300faac6ceb0e6e4e341859282897c53" dependencies = [ "frame-support", "parity-scale-codec", @@ -5302,7 +5340,7 @@ dependencies = [ [[package]] name = "orml-xcm-support" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.37#16b6c1149a15674d21c87244b7988a667e2c14d9" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.40#19afb58a300faac6ceb0e6e4e341859282897c53" dependencies = [ "frame-support", "orml-traits", @@ -5316,7 +5354,7 @@ dependencies = [ [[package]] name = "orml-xtokens" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library.git?branch=polkadot-v0.9.37#16b6c1149a15674d21c87244b7988a667e2c14d9" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.40#19afb58a300faac6ceb0e6e4e341859282897c53" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -5374,7 +5412,7 @@ dependencies = [ [[package]] name = "pallet-allocations" -version = "2.0.30" +version = "2.1.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5398,7 +5436,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-support", "frame-system", @@ -5414,7 +5452,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-support", "frame-system", @@ -5430,14 +5468,13 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-authorship", "sp-runtime", "sp-std", ] @@ -5445,7 +5482,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5469,7 +5506,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5489,7 +5526,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5504,26 +5541,29 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-support", "frame-system", + "pallet-authorship", "pallet-session", "parity-scale-codec", "scale-info", "serde", - "sp-beefy", + "sp-consensus-beefy", "sp-runtime", + "sp-session", + "sp-staking", "sp-std", ] [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "array-bytes 4.2.0", - "beefy-merkle-tree", + "binary-merkle-tree", "frame-support", "frame-system", "log", @@ -5533,7 +5573,8 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-beefy", + "sp-api", + "sp-consensus-beefy", "sp-core", "sp-io", "sp-runtime", @@ -5543,7 +5584,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5561,7 +5602,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5580,7 +5621,7 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "3.0.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5599,7 +5640,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5616,9 +5657,10 @@ dependencies = [ [[package]] name = "pallet-contracts" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "bitflags", + "environmental", "frame-benchmarking", "frame-support", "frame-system", @@ -5645,10 +5687,11 @@ dependencies = [ [[package]] name = "pallet-contracts-primitives" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "bitflags", "parity-scale-codec", + "scale-info", "sp-runtime", "sp-std", "sp-weights", @@ -5657,7 +5700,7 @@ dependencies = [ [[package]] name = "pallet-contracts-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "proc-macro2", "quote", @@ -5667,7 +5710,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5684,7 +5727,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5702,7 +5745,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5725,7 +5768,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5738,7 +5781,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5756,7 +5799,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5774,7 +5817,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5785,8 +5828,8 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-application-crypto", + "sp-consensus-grandpa", "sp-core", - "sp-finality-grandpa", "sp-io", "sp-runtime", "sp-session", @@ -5796,7 +5839,7 @@ dependencies = [ [[package]] name = "pallet-grants" -version = "2.0.30" +version = "2.1.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5816,7 +5859,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5832,7 +5875,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5852,7 +5895,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5866,9 +5909,23 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-insecure-randomness-collective-flip" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "safe-mix", + "scale-info", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-mandate" -version = "2.0.30" +version = "2.1.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5884,7 +5941,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5901,7 +5958,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5918,7 +5975,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5934,7 +5991,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5950,7 +6007,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-support", "frame-system", @@ -5967,7 +6024,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5987,8 +6044,9 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ + "pallet-nomination-pools", "parity-scale-codec", "sp-api", "sp-std", @@ -5997,7 +6055,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-support", "frame-system", @@ -6014,12 +6072,13 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", "frame-support", "frame-system", + "log", "pallet-babe", "pallet-balances", "pallet-grandpa", @@ -6037,7 +6096,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -6054,7 +6113,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -6066,24 +6125,10 @@ dependencies = [ "sp-std", ] -[[package]] -name = "pallet-randomness-collective-flip" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" -dependencies = [ - "frame-support", - "frame-system", - "parity-scale-codec", - "safe-mix", - "scale-info", - "sp-runtime", - "sp-std", -] - [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -6101,7 +6146,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -6116,7 +6161,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "assert_matches", "frame-benchmarking", @@ -6134,7 +6179,7 @@ dependencies = [ [[package]] name = "pallet-reserve" -version = "2.0.30" +version = "2.1.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -6153,7 +6198,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -6170,7 +6215,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-support", "frame-system", @@ -6191,7 +6236,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -6207,7 +6252,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-support", "frame-system", @@ -6221,7 +6266,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6244,7 +6289,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -6255,16 +6300,25 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "log", "sp-arithmetic", ] +[[package]] +name = "pallet-staking-runtime-api" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" +dependencies = [ + "parity-scale-codec", + "sp-api", +] + [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -6281,7 +6335,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-support", "frame-system", @@ -6295,7 +6349,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -6313,7 +6367,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -6332,7 +6386,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-support", "frame-system", @@ -6348,7 +6402,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -6364,7 +6418,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -6376,7 +6430,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -6393,7 +6447,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -6408,7 +6462,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -6424,7 +6478,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -6439,7 +6493,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-benchmarking", "frame-support", @@ -6453,9 +6507,11 @@ dependencies = [ [[package]] name = "pallet-xcm" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ + "bounded-collections", + "frame-benchmarking", "frame-support", "frame-system", "log", @@ -6463,6 +6519,7 @@ dependencies = [ "scale-info", "serde", "sp-core", + "sp-io", "sp-runtime", "sp-std", "xcm", @@ -6471,8 +6528,8 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "frame-benchmarking", "frame-support", @@ -6480,16 +6537,18 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", + "sp-io", "sp-runtime", "sp-std", "xcm", + "xcm-builder", "xcm-executor", ] [[package]] name = "parachain-info" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.37#09418fc04c2608b123f36ca80f16df3d2096753b" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -6787,8 +6846,8 @@ checksum = "e3d7ddaed09e0eb771a79ab0fd64609ba0afb0a8366421957936ad14cbd13630" [[package]] name = "polkadot-approval-distribution" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "futures", "polkadot-node-metrics", @@ -6802,8 +6861,8 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "futures", "polkadot-node-network-protocol", @@ -6816,13 +6875,13 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "derive_more", "fatality", "futures", - "lru", + "lru 0.9.0", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -6839,12 +6898,12 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "fatality", "futures", - "lru", + "lru 0.9.0", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -6860,8 +6919,8 @@ dependencies = [ [[package]] name = "polkadot-cli" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "clap", "frame-benchmarking-cli", @@ -6870,11 +6929,11 @@ dependencies = [ "polkadot-client", "polkadot-node-core-pvf", "polkadot-node-metrics", - "polkadot-performance-test", "polkadot-service", "sc-cli", "sc-executor", "sc-service", + "sc-storage-monitor", "sc-sysinfo", "sc-tracing", "sp-core", @@ -6887,8 +6946,8 @@ dependencies = [ [[package]] name = "polkadot-client" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "async-trait", "frame-benchmarking", @@ -6909,13 +6968,13 @@ dependencies = [ "sc-service", "sp-api", "sp-authority-discovery", - "sp-beefy", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", + "sp-consensus-beefy", + "sp-consensus-grandpa", "sp-core", - "sp-finality-grandpa", "sp-inherents", "sp-keyring", "sp-mmr-primitives", @@ -6929,8 +6988,8 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "always-assert", "bitvec", @@ -6951,8 +7010,8 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "parity-scale-codec", "scale-info", @@ -6963,15 +7022,15 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "derive_more", "fatality", "futures", "futures-timer", "indexmap", - "lru", + "lru 0.9.0", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -6988,8 +7047,8 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -7002,8 +7061,8 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "futures", "futures-timer", @@ -7022,8 +7081,8 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "always-assert", "async-trait", @@ -7038,7 +7097,6 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "sc-network", - "sc-network-common", "sp-consensus", "thiserror", "tracing-gum", @@ -7046,8 +7104,8 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "futures", "parity-scale-codec", @@ -7064,15 +7122,15 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "bitvec", "derive_more", "futures", "futures-timer", "kvdb", - "lru", + "lru 0.9.0", "merlin", "parity-scale-codec", "polkadot-node-jaeger", @@ -7093,8 +7151,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "bitvec", "futures", @@ -7107,14 +7165,15 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", + "sp-consensus", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-node-core-backing" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "bitvec", "fatality", @@ -7132,8 +7191,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "futures", "polkadot-node-subsystem", @@ -7147,8 +7206,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "async-trait", "futures", @@ -7158,6 +7217,7 @@ dependencies = [ "polkadot-node-metrics", "polkadot-node-primitives", "polkadot-node-subsystem", + "polkadot-node-subsystem-util", "polkadot-parachain", "polkadot-primitives", "sp-maybe-compressed-blob", @@ -7166,8 +7226,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "futures", "polkadot-node-metrics", @@ -7181,8 +7241,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "futures", "futures-timer", @@ -7198,13 +7258,13 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "fatality", "futures", "kvdb", - "lru", + "lru 0.9.0", "parity-scale-codec", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -7217,8 +7277,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "async-trait", "futures", @@ -7234,8 +7294,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "bitvec", "fatality", @@ -7252,19 +7312,22 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "always-assert", "assert_matches", "cpu-time", "futures", "futures-timer", + "libc", "parity-scale-codec", "pin-project", "polkadot-core-primitives", "polkadot-node-metrics", + "polkadot-node-primitives", "polkadot-parachain", + "polkadot-primitives", "rand 0.8.5", "rayon", "sc-executor", @@ -7278,14 +7341,15 @@ dependencies = [ "sp-tracing", "sp-wasm-interface", "tempfile", + "tikv-jemalloc-ctl", "tokio", "tracing-gum", ] [[package]] name = "polkadot-node-core-pvf-checker" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "futures", "polkadot-node-primitives", @@ -7300,11 +7364,11 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "futures", - "lru", + "lru 0.9.0", "polkadot-node-metrics", "polkadot-node-subsystem", "polkadot-node-subsystem-types", @@ -7315,8 +7379,8 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "lazy_static", "log", @@ -7333,8 +7397,8 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "bs58", "futures", @@ -7352,8 +7416,8 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "async-trait", "derive_more", @@ -7367,7 +7431,6 @@ dependencies = [ "rand 0.8.5", "sc-authority-discovery", "sc-network", - "sc-network-common", "strum", "thiserror", "tracing-gum", @@ -7375,8 +7438,8 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "bounded-vec", "futures", @@ -7391,14 +7454,15 @@ dependencies = [ "sp-core", "sp-keystore", "sp-maybe-compressed-blob", + "sp-runtime", "thiserror", "zstd", ] [[package]] name = "polkadot-node-subsystem" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -7407,8 +7471,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "async-trait", "derive_more", @@ -7430,8 +7494,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "async-trait", "derive_more", @@ -7440,7 +7504,7 @@ dependencies = [ "futures-channel", "itertools", "kvdb", - "lru", + "lru 0.9.0", "parity-db", "parity-scale-codec", "parking_lot 0.11.2", @@ -7463,13 +7527,13 @@ dependencies = [ [[package]] name = "polkadot-overseer" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "async-trait", "futures", "futures-timer", - "lru", + "lru 0.9.0", "orchestra", "parking_lot 0.12.1", "polkadot-node-metrics", @@ -7486,9 +7550,10 @@ dependencies = [ [[package]] name = "polkadot-parachain" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ + "bounded-collections", "derive_more", "frame-support", "parity-scale-codec", @@ -7501,24 +7566,9 @@ dependencies = [ ] [[package]] -name = "polkadot-performance-test" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" -dependencies = [ - "env_logger 0.9.3", - "kusama-runtime", - "log", - "polkadot-erasure-coding", - "polkadot-node-core-pvf", - "polkadot-node-primitives", - "quote", - "thiserror", -] - -[[package]] -name = "polkadot-primitives" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +name = "polkadot-primitives" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "bitvec", "hex-literal", @@ -7543,11 +7593,9 @@ dependencies = [ [[package]] name = "polkadot-rpc" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ - "beefy-gadget", - "beefy-gadget-rpc", "jsonrpsee", "mmr-rpc", "pallet-transaction-payment-rpc", @@ -7556,9 +7604,11 @@ dependencies = [ "sc-client-api", "sc-consensus-babe", "sc-consensus-babe-rpc", + "sc-consensus-beefy", + "sc-consensus-beefy-rpc", "sc-consensus-epochs", - "sc-finality-grandpa", - "sc-finality-grandpa-rpc", + "sc-consensus-grandpa", + "sc-consensus-grandpa-rpc", "sc-rpc", "sc-sync-state-rpc", "sc-transaction-pool-api", @@ -7575,8 +7625,8 @@ dependencies = [ [[package]] name = "polkadot-runtime" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "bitvec", "frame-benchmarking", @@ -7620,6 +7670,7 @@ dependencies = [ "pallet-session-benchmarking", "pallet-staking", "pallet-staking-reward-curve", + "pallet-staking-runtime-api", "pallet-timestamp", "pallet-tips", "pallet-transaction-payment", @@ -7640,9 +7691,9 @@ dependencies = [ "smallvec", "sp-api", "sp-authority-discovery", - "sp-beefy", "sp-block-builder", "sp-consensus-babe", + "sp-consensus-beefy", "sp-core", "sp-inherents", "sp-io", @@ -7664,8 +7715,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "bitvec", "frame-benchmarking", @@ -7677,10 +7728,9 @@ dependencies = [ "log", "pallet-authorship", "pallet-babe", - "pallet-bags-list", "pallet-balances", - "pallet-beefy-mmr", "pallet-election-provider-multi-phase", + "pallet-fast-unstake", "pallet-session", "pallet-staking", "pallet-staking-reward-fn", @@ -7697,7 +7747,6 @@ dependencies = [ "serde_derive", "slot-range-helper", "sp-api", - "sp-beefy", "sp-core", "sp-inherents", "sp-io", @@ -7712,8 +7761,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-constants" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "frame-support", "polkadot-primitives", @@ -7726,8 +7775,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "bs58", "parity-scale-codec", @@ -7738,8 +7787,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "bitflags", "bitvec", @@ -7757,6 +7806,7 @@ dependencies = [ "pallet-timestamp", "pallet-vesting", "parity-scale-codec", + "polkadot-parachain", "polkadot-primitives", "polkadot-runtime-metrics", "rand 0.8.5", @@ -7781,11 +7831,11 @@ dependencies = [ [[package]] name = "polkadot-service" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "async-trait", - "beefy-gadget", + "frame-benchmarking-cli", "frame-support", "frame-system-rpc-runtime-api", "futures", @@ -7793,7 +7843,8 @@ dependencies = [ "kusama-runtime", "kvdb", "kvdb-rocksdb", - "lru", + "log", + "lru 0.9.0", "mmr-gadget", "pallet-babe", "pallet-im-online", @@ -7844,12 +7895,14 @@ dependencies = [ "sc-client-db", "sc-consensus", "sc-consensus-babe", + "sc-consensus-beefy", + "sc-consensus-grandpa", "sc-consensus-slots", "sc-executor", - "sc-finality-grandpa", "sc-keystore", "sc-network", "sc-network-common", + "sc-network-sync", "sc-offchain", "sc-service", "sc-sync-state-rpc", @@ -7860,13 +7913,13 @@ dependencies = [ "serde_json", "sp-api", "sp-authority-discovery", - "sp-beefy", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", + "sp-consensus-beefy", + "sp-consensus-grandpa", "sp-core", - "sp-finality-grandpa", "sp-inherents", "sp-io", "sp-keystore", @@ -7887,8 +7940,8 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "arrayvec 0.5.2", "fatality", @@ -7908,8 +7961,8 @@ dependencies = [ [[package]] name = "polkadot-statement-table" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -8028,7 +8081,7 @@ dependencies = [ [[package]] name = "primitives" -version = "2.0.30" +version = "2.1.0" dependencies = [ "frame-support", "frame-system", @@ -8047,10 +8100,11 @@ dependencies = [ [[package]] name = "prioritized-metered-channel" -version = "0.2.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "382698e48a268c832d0b181ed438374a6bb708a82a8ca273bb0f61c74cf209c4" +checksum = "a3caef72a78ca8e77cbdfa87dd516ebb79d4cbe5b42e3b8435b463a8261339ff" dependencies = [ + "async-channel", "coarsetime", "crossbeam-queue", "derive_more", @@ -8338,16 +8392,6 @@ dependencies = [ "getrandom 0.2.8", ] -[[package]] -name = "rand_distr" -version = "0.4.3" -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" @@ -8474,9 +8518,9 @@ dependencies = [ [[package]] name = "regalloc2" -version = "0.3.2" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d43a209257d978ef079f3d446331d0f1794f5e0fc19b306a199983857833a779" +checksum = "300d4fbfb40c1c66a78ba3ddd41c1110247cf52f97b87d0f2fc9209bd49b030c" dependencies = [ "fxhash", "log", @@ -8510,6 +8554,18 @@ version = "0.6.28" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848" +[[package]] +name = "region" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76e189c2369884dce920945e2ddf79b3dff49e071a167dd1817fa9c4c00d512e" +dependencies = [ + "bitflags", + "libc", + "mach", + "winapi", +] + [[package]] name = "resolv-conf" version = "0.7.0" @@ -8558,10 +8614,10 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ - "beefy-merkle-tree", + "binary-merkle-tree", "frame-benchmarking", "frame-executive", "frame-support", @@ -8621,9 +8677,9 @@ dependencies = [ "smallvec", "sp-api", "sp-authority-discovery", - "sp-beefy", "sp-block-builder", "sp-consensus-babe", + "sp-consensus-beefy", "sp-core", "sp-inherents", "sp-io", @@ -8644,8 +8700,8 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "frame-support", "polkadot-primitives", @@ -8719,7 +8775,7 @@ dependencies = [ [[package]] name = "runtime-eden" -version = "2.0.30" +version = "2.1.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -8753,12 +8809,12 @@ dependencies = [ "pallet-contracts-primitives", "pallet-grants", "pallet-im-online", + "pallet-insecure-randomness-collective-flip", "pallet-mandate", "pallet-membership", "pallet-multisig", "pallet-offences", "pallet-preimage", - "pallet-randomness-collective-flip", "pallet-reserve", "pallet-scheduler", "pallet-session", @@ -8953,6 +9009,15 @@ dependencies = [ "rustc_version 0.2.3", ] +[[package]] +name = "safe_arch" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "794821e4ccb0d9f979512f9c1973480123f9bd62a90d74ab0f9426fcf8f4a529" +dependencies = [ + "bytemuck", +] + [[package]] name = "same-file" version = "1.0.6" @@ -8965,7 +9030,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "log", "sp-core", @@ -8976,7 +9041,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "async-trait", "futures", @@ -8989,6 +9054,7 @@ dependencies = [ "prost-build", "rand 0.8.5", "sc-client-api", + "sc-network", "sc-network-common", "sp-api", "sp-authority-discovery", @@ -9003,7 +9069,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "futures", "futures-timer", @@ -9026,7 +9092,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -9036,28 +9102,31 @@ dependencies = [ "sp-core", "sp-inherents", "sp-runtime", - "sp-state-machine", ] [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "memmap2", "sc-chain-spec-derive", - "sc-network-common", + "sc-client-api", + "sc-executor", + "sc-network", "sc-telemetry", "serde", "serde_json", + "sp-blockchain", "sp-core", "sp-runtime", + "sp-state-machine", ] [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9068,7 +9137,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "array-bytes 4.2.0", "chrono", @@ -9108,7 +9177,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "fnv", "futures", @@ -9134,7 +9203,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "hash-db", "kvdb", @@ -9147,6 +9216,7 @@ dependencies = [ "parking_lot 0.12.1", "sc-client-api", "sc-state-db", + "schnellru", "sp-arithmetic", "sp-blockchain", "sp-core", @@ -9159,7 +9229,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "async-trait", "futures", @@ -9184,7 +9254,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "async-trait", "futures", @@ -9213,7 +9283,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "async-trait", "fork-tree", @@ -9231,6 +9301,7 @@ dependencies = [ "sc-consensus-slots", "sc-keystore", "sc-telemetry", + "scale-info", "schnorrkel", "sp-api", "sp-application-crypto", @@ -9251,7 +9322,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "futures", "jsonrpsee", @@ -9270,23 +9341,137 @@ dependencies = [ "thiserror", ] +[[package]] +name = "sc-consensus-beefy" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" +dependencies = [ + "array-bytes 4.2.0", + "async-trait", + "fnv", + "futures", + "log", + "parity-scale-codec", + "parking_lot 0.12.1", + "sc-client-api", + "sc-consensus", + "sc-keystore", + "sc-network", + "sc-network-common", + "sc-network-gossip", + "sc-network-sync", + "sc-utils", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", + "sp-consensus-beefy", + "sp-core", + "sp-keystore", + "sp-mmr-primitives", + "sp-runtime", + "substrate-prometheus-endpoint", + "thiserror", + "wasm-timer", +] + +[[package]] +name = "sc-consensus-beefy-rpc" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" +dependencies = [ + "futures", + "jsonrpsee", + "log", + "parity-scale-codec", + "parking_lot 0.12.1", + "sc-consensus-beefy", + "sc-rpc", + "serde", + "sp-consensus-beefy", + "sp-core", + "sp-runtime", + "thiserror", +] + [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" +dependencies = [ + "fork-tree", + "parity-scale-codec", + "sc-client-api", + "sc-consensus", + "sp-blockchain", + "sp-runtime", +] + +[[package]] +name = "sc-consensus-grandpa" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ + "ahash 0.8.3", + "array-bytes 4.2.0", + "async-trait", + "dyn-clone", + "finality-grandpa", "fork-tree", + "futures", + "futures-timer", + "log", "parity-scale-codec", + "parking_lot 0.12.1", + "rand 0.8.5", + "sc-block-builder", + "sc-chain-spec", "sc-client-api", "sc-consensus", + "sc-network", + "sc-network-common", + "sc-network-gossip", + "sc-telemetry", + "sc-utils", + "serde_json", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", "sp-blockchain", + "sp-consensus", + "sp-consensus-grandpa", + "sp-core", + "sp-keystore", "sp-runtime", + "substrate-prometheus-endpoint", + "thiserror", +] + +[[package]] +name = "sc-consensus-grandpa-rpc" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" +dependencies = [ + "finality-grandpa", + "futures", + "jsonrpsee", + "log", + "parity-scale-codec", + "sc-client-api", + "sc-consensus-grandpa", + "sc-rpc", + "serde", + "sp-blockchain", + "sp-core", + "sp-runtime", + "thiserror", ] [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "async-trait", "futures", @@ -9309,9 +9494,9 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ - "lru", + "lru 0.8.1", "parity-scale-codec", "parking_lot 0.12.1", "sc-executor-common", @@ -9333,7 +9518,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -9346,7 +9531,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "log", "sc-allocator", @@ -9359,13 +9544,14 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ + "anyhow", "cfg-if", "libc", "log", "once_cell", - "rustix 0.35.13", + "rustix 0.36.9", "sc-allocator", "sc-executor-common", "sp-runtime-interface", @@ -9373,76 +9559,17 @@ dependencies = [ "wasmtime", ] -[[package]] -name = "sc-finality-grandpa" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" -dependencies = [ - "ahash", - "array-bytes 4.2.0", - "async-trait", - "dyn-clone", - "finality-grandpa", - "fork-tree", - "futures", - "futures-timer", - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "rand 0.8.5", - "sc-block-builder", - "sc-chain-spec", - "sc-client-api", - "sc-consensus", - "sc-network", - "sc-network-common", - "sc-network-gossip", - "sc-telemetry", - "sc-utils", - "serde_json", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-finality-grandpa", - "sp-keystore", - "sp-runtime", - "substrate-prometheus-endpoint", - "thiserror", -] - -[[package]] -name = "sc-finality-grandpa-rpc" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" -dependencies = [ - "finality-grandpa", - "futures", - "jsonrpsee", - "log", - "parity-scale-codec", - "sc-client-api", - "sc-finality-grandpa", - "sc-rpc", - "serde", - "sp-blockchain", - "sp-core", - "sp-runtime", - "thiserror", -] - [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "ansi_term", "futures", "futures-timer", "log", "sc-client-api", + "sc-network", "sc-network-common", "sp-blockchain", "sp-runtime", @@ -9451,7 +9578,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "array-bytes 4.2.0", "async-trait", @@ -9466,12 +9593,12 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "array-bytes 4.2.0", + "async-channel", "async-trait", "asynchronous-codec", - "backtrace", "bytes", "either", "fnv", @@ -9479,8 +9606,10 @@ dependencies = [ "futures-timer", "ip_network", "libp2p", + "linked_hash_set", "log", - "lru", + "lru 0.8.1", + "mockall", "parity-scale-codec", "parking_lot 0.12.1", "pin-project", @@ -9508,7 +9637,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "cid", "futures", @@ -9517,6 +9646,7 @@ dependencies = [ "prost", "prost-build", "sc-client-api", + "sc-network", "sc-network-common", "sp-blockchain", "sp-runtime", @@ -9527,40 +9657,43 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ + "array-bytes 4.2.0", "async-trait", "bitflags", "bytes", "futures", "futures-timer", "libp2p", - "linked_hash_set", "parity-scale-codec", "prost-build", "sc-consensus", "sc-peerset", + "sc-utils", "serde", "smallvec", "sp-blockchain", "sp-consensus", - "sp-finality-grandpa", + "sp-consensus-grandpa", "sp-runtime", "substrate-prometheus-endpoint", "thiserror", + "zeroize", ] [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ - "ahash", + "ahash 0.8.3", "futures", "futures-timer", "libp2p", "log", - "lru", + "lru 0.8.1", + "sc-network", "sc-network-common", "sc-peerset", "sp-runtime", @@ -9571,7 +9704,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "array-bytes 4.2.0", "futures", @@ -9581,6 +9714,7 @@ dependencies = [ "prost", "prost-build", "sc-client-api", + "sc-network", "sc-network-common", "sc-peerset", "sp-blockchain", @@ -9592,21 +9726,23 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "array-bytes 4.2.0", "async-trait", "fork-tree", "futures", + "futures-timer", "libp2p", "log", - "lru", + "lru 0.8.1", "mockall", "parity-scale-codec", "prost", "prost-build", "sc-client-api", "sc-consensus", + "sc-network", "sc-network-common", "sc-peerset", "sc-utils", @@ -9614,8 +9750,8 @@ dependencies = [ "sp-arithmetic", "sp-blockchain", "sp-consensus", + "sp-consensus-grandpa", "sp-core", - "sp-finality-grandpa", "sp-runtime", "substrate-prometheus-endpoint", "thiserror", @@ -9624,7 +9760,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "array-bytes 4.2.0", "futures", @@ -9632,6 +9768,7 @@ dependencies = [ "log", "parity-scale-codec", "pin-project", + "sc-network", "sc-network-common", "sc-peerset", "sc-utils", @@ -9643,7 +9780,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "array-bytes 4.2.0", "bytes", @@ -9659,6 +9796,7 @@ dependencies = [ "parking_lot 0.12.1", "rand 0.8.5", "sc-client-api", + "sc-network", "sc-network-common", "sc-peerset", "sc-utils", @@ -9673,7 +9811,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "futures", "libp2p", @@ -9686,7 +9824,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9695,7 +9833,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "futures", "jsonrpsee", @@ -9719,12 +9857,13 @@ dependencies = [ "sp-runtime", "sp-session", "sp-version", + "tokio", ] [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9743,7 +9882,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "http", "jsonrpsee", @@ -9758,7 +9897,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "array-bytes 4.2.0", "futures", @@ -9784,7 +9923,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "async-trait", "directories", @@ -9815,6 +9954,7 @@ dependencies = [ "sc-rpc", "sc-rpc-server", "sc-rpc-spec-v2", + "sc-storage-monitor", "sc-sysinfo", "sc-telemetry", "sc-tracing", @@ -9849,7 +9989,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "log", "parity-scale-codec", @@ -9857,10 +9997,26 @@ dependencies = [ "sp-core", ] +[[package]] +name = "sc-storage-monitor" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" +dependencies = [ + "clap", + "fs4", + "futures", + "log", + "sc-client-db", + "sc-utils", + "sp-core", + "thiserror", + "tokio", +] + [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9868,7 +10024,7 @@ dependencies = [ "sc-client-api", "sc-consensus-babe", "sc-consensus-epochs", - "sc-finality-grandpa", + "sc-consensus-grandpa", "serde", "serde_json", "sp-blockchain", @@ -9879,7 +10035,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "futures", "libc", @@ -9898,7 +10054,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "chrono", "futures", @@ -9917,7 +10073,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "ansi_term", "atty", @@ -9948,7 +10104,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9959,13 +10115,14 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "async-trait", "futures", "futures-timer", "linked-hash-map", "log", + "num-traits", "parity-scale-codec", "parking_lot 0.12.1", "sc-client-api", @@ -9985,7 +10142,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "async-trait", "futures", @@ -9999,15 +10156,16 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ - "backtrace", + "async-channel", "futures", "futures-timer", "lazy_static", "log", "parking_lot 0.12.1", "prometheus", + "sp-arithmetic", ] [[package]] @@ -10045,6 +10203,17 @@ dependencies = [ "windows-sys 0.42.0", ] +[[package]] +name = "schnellru" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" +dependencies = [ + "ahash 0.8.3", + "cfg-if", + "hashbrown 0.13.2", +] + [[package]] name = "schnorrkel" version = "0.9.1" @@ -10341,14 +10510,15 @@ dependencies = [ [[package]] name = "simba" -version = "0.5.1" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e82063457853d00243beda9952e910b82593e4b07ae9f721b9278a99a0d3d5c" +checksum = "061507c94fc6ab4ba1c9a0305018408e312e17c041eb63bef8aa726fa33aceae" dependencies = [ "approx", "num-complex", "num-traits", "paste", + "wide", ] [[package]] @@ -10374,8 +10544,8 @@ checksum = "03b634d87b960ab1a38c4fe143b508576f075e7c978bfad18217645ebfdfa2ec" [[package]] name = "slot-range-helper" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "enumn", "parity-scale-codec", @@ -10452,7 +10622,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "hash-db", "log", @@ -10470,9 +10640,11 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ + "Inflector", "blake2", + "expander 1.0.0", "proc-macro-crate", "proc-macro2", "quote", @@ -10482,7 +10654,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "parity-scale-codec", "scale-info", @@ -10495,7 +10667,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "integer-sqrt", "num-traits", @@ -10509,7 +10681,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "parity-scale-codec", "scale-info", @@ -10519,39 +10691,10 @@ dependencies = [ "sp-std", ] -[[package]] -name = "sp-authorship" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" -dependencies = [ - "async-trait", - "parity-scale-codec", - "sp-inherents", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "sp-beefy" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-mmr-primitives", - "sp-runtime", - "sp-std", -] - [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "parity-scale-codec", "sp-api", @@ -10563,11 +10706,11 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "futures", "log", - "lru", + "lru 0.8.1", "parity-scale-codec", "parking_lot 0.12.1", "sp-api", @@ -10581,25 +10724,22 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "async-trait", "futures", "log", - "parity-scale-codec", "sp-core", "sp-inherents", "sp-runtime", "sp-state-machine", - "sp-std", - "sp-version", "thiserror", ] [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "async-trait", "parity-scale-codec", @@ -10617,7 +10757,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "async-trait", "merlin", @@ -10637,10 +10777,47 @@ dependencies = [ "sp-timestamp", ] +[[package]] +name = "sp-consensus-beefy" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" +dependencies = [ + "lazy_static", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-mmr-primitives", + "sp-runtime", + "sp-std", + "strum", +] + +[[package]] +name = "sp-consensus-grandpa" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" +dependencies = [ + "finality-grandpa", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-keystore", + "sp-runtime", + "sp-std", +] + [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "parity-scale-codec", "scale-info", @@ -10652,7 +10829,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "parity-scale-codec", "scale-info", @@ -10665,12 +10842,13 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "array-bytes 4.2.0", "base58", "bitflags", "blake2", + "bounded-collections", "dyn-clonable", "ed25519-zebra", "futures", @@ -10707,9 +10885,9 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ - "blake2", + "blake2b_simd", "byteorder", "digest 0.10.6", "sha2 0.10.6", @@ -10721,7 +10899,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "proc-macro2", "quote", @@ -10732,7 +10910,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10741,7 +10919,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "proc-macro2", "quote", @@ -10751,7 +10929,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "environmental", "parity-scale-codec", @@ -10759,32 +10937,15 @@ dependencies = [ "sp-storage", ] -[[package]] -name = "sp-finality-grandpa" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" -dependencies = [ - "finality-grandpa", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-keystore", - "sp-runtime", - "sp-std", -] - [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", + "scale-info", "sp-core", "sp-runtime", "sp-std", @@ -10794,7 +10955,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "bytes", "ed25519", @@ -10819,7 +10980,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "lazy_static", "sp-core", @@ -10830,7 +10991,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "async-trait", "futures", @@ -10847,7 +11008,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "thiserror", "zstd", @@ -10856,7 +11017,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -10874,7 +11035,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "parity-scale-codec", "scale-info", @@ -10888,7 +11049,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "sp-api", "sp-core", @@ -10898,7 +11059,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "backtrace", "lazy_static", @@ -10908,7 +11069,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "rustc-hash", "serde", @@ -10918,7 +11079,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "either", "hash256-std-hasher", @@ -10940,7 +11101,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10958,7 +11119,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "Inflector", "proc-macro-crate", @@ -10970,7 +11131,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "parity-scale-codec", "scale-info", @@ -10984,7 +11145,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "parity-scale-codec", "scale-info", @@ -10996,7 +11157,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "hash-db", "log", @@ -11016,12 +11177,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11034,7 +11195,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "async-trait", "futures-timer", @@ -11049,7 +11210,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "parity-scale-codec", "sp-std", @@ -11061,7 +11222,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "sp-api", "sp-runtime", @@ -11070,7 +11231,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "async-trait", "log", @@ -11086,18 +11247,18 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ - "ahash", + "ahash 0.8.3", "hash-db", - "hashbrown", + "hashbrown 0.12.3", "lazy_static", - "lru", "memory-db", "nohash-hasher", "parity-scale-codec", "parking_lot 0.12.1", "scale-info", + "schnellru", "sp-core", "sp-std", "thiserror", @@ -11109,7 +11270,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11126,7 +11287,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -11137,8 +11298,9 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ + "anyhow", "impl-trait-for-tuples", "log", "parity-scale-codec", @@ -11150,7 +11312,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "parity-scale-codec", "scale-info", @@ -11264,19 +11426,6 @@ dependencies = [ "syn", ] -[[package]] -name = "statrs" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05bdbb8e4e78216a85785a85d3ec3183144f98d0097b9281802c019bb07a6f05" -dependencies = [ - "approx", - "lazy_static", - "nalgebra", - "num-traits", - "rand 0.8.5", -] - [[package]] name = "strsim" version = "0.10.0" @@ -11340,7 +11489,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "platforms 2.0.0", ] @@ -11348,7 +11497,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -11367,7 +11516,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "hyper", "log", @@ -11379,7 +11528,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "async-trait", "jsonrpsee", @@ -11392,7 +11541,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "jsonrpsee", "log", @@ -11411,7 +11560,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ "ansi_term", "build-helper", @@ -11442,7 +11591,7 @@ checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" [[package]] name = "support" -version = "2.0.30" +version = "2.1.0" [[package]] name = "syn" @@ -11871,8 +12020,8 @@ dependencies = [ [[package]] name = "tracing-gum" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "polkadot-node-jaeger", "polkadot-primitives", @@ -11882,8 +12031,8 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "expander 0.0.6", "proc-macro-crate", @@ -11938,12 +12087,12 @@ dependencies = [ [[package]] name = "trie-db" -version = "0.24.0" +version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "004e1e8f92535694b4cb1444dc5a8073ecf0815e3357f729638b9f8fc4062908" +checksum = "767abe6ffed88a1889671a102c2861ae742726f52e0a5a425b92c9fbfa7e9c85" dependencies = [ "hash-db", - "hashbrown", + "hashbrown 0.13.2", "log", "rustc-hex", "smallvec", @@ -11951,9 +12100,9 @@ dependencies = [ [[package]] name = "trie-root" -version = "0.17.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a36c5ca3911ed3c9a5416ee6c679042064b93fc637ded67e25f92e68d783891" +checksum = "d4ed310ef5ab98f5fa467900ed906cb9232dd5376597e00fd4cba2a449d06c0b" dependencies = [ "hash-db", ] @@ -12013,8 +12162,9 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#f38bd6671d460293c93062cc1e4fe9e9e490cb29" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#76fed9b9082daade5392663f25ed8968f8e8c11c" dependencies = [ + "async-trait", "clap", "frame-remote-externalities", "frame-try-runtime", @@ -12027,14 +12177,19 @@ dependencies = [ "serde", "serde_json", "sp-api", + "sp-consensus-aura", + "sp-consensus-babe", "sp-core", "sp-debug-derive", "sp-externalities", + "sp-inherents", "sp-io", "sp-keystore", "sp-rpc", "sp-runtime", "sp-state-machine", + "sp-timestamp", + "sp-transaction-storage-proof", "sp-version", "sp-weights", "substrate-rpc-client", @@ -12357,9 +12512,9 @@ dependencies = [ [[package]] name = "wasm-opt" -version = "0.110.2" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b68e8037b4daf711393f4be2056246d12d975651b14d581520ad5d1f19219cec" +checksum = "84a303793cbc01fb96551badfc7367db6007396bba6bac97936b3c8b6f7fdb41" dependencies = [ "anyhow", "libc", @@ -12373,9 +12528,9 @@ dependencies = [ [[package]] name = "wasm-opt-cxx-sys" -version = "0.110.2" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91adbad477e97bba3fbd21dd7bfb594e7ad5ceb9169ab1c93ab9cb0ada636b6f" +checksum = "d9c9deb56f8a9f2ec177b3bd642a8205621835944ed5da55f2388ef216aca5a4" dependencies = [ "anyhow", "cxx", @@ -12385,9 +12540,9 @@ dependencies = [ [[package]] name = "wasm-opt-sys" -version = "0.110.2" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec4fa5a322a4e6ac22fd141f498d56afbdbf9df5debeac32380d2dcaa3e06941" +checksum = "4432e28b542738a9776cedf92e8a99d8991c7b4667ee2c7ccddfb479dd2856a7" dependencies = [ "anyhow", "cc", @@ -12460,6 +12615,7 @@ dependencies = [ "memory_units", "num-rational", "num-traits", + "region", ] [[package]] @@ -12475,11 +12631,12 @@ dependencies = [ [[package]] name = "wasmparser" -version = "0.89.1" +version = "0.100.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab5d3e08b13876f96dd55608d03cd4883a0545884932d5adf11925876c96daef" +checksum = "64b20236ab624147dfbb62cf12a19aaf66af0e41b8398838b66e997d07d269d4" dependencies = [ "indexmap", + "url", ] [[package]] @@ -12493,9 +12650,9 @@ dependencies = [ [[package]] name = "wasmtime" -version = "1.0.2" +version = "6.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ad5af6ba38311282f2a21670d96e78266e8c8e2f38cbcd52c254df6ccbc7731" +checksum = "f6e89f9819523447330ffd70367ef4a18d8c832e24e8150fe054d1d912841632" dependencies = [ "anyhow", "bincode", @@ -12516,23 +12673,23 @@ dependencies = [ "wasmtime-environ", "wasmtime-jit", "wasmtime-runtime", - "windows-sys 0.36.1", + "windows-sys 0.42.0", ] [[package]] name = "wasmtime-asm-macros" -version = "1.0.2" +version = "6.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45de63ddfc8b9223d1adc8f7b2ee5f35d1f6d112833934ad7ea66e4f4339e597" +checksum = "9bd3a5e46c198032da934469f3a6e48649d1f9142438e4fd4617b68a35644b8a" dependencies = [ "cfg-if", ] [[package]] name = "wasmtime-cache" -version = "1.0.2" +version = "6.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcd849399d17d2270141cfe47fa0d91ee52d5f8ea9b98cf7ddde0d53e5f79882" +checksum = "b389ae9b678b9c3851091a4804f4182d688d27aff7abc9aa37fa7be37d8ecffa" dependencies = [ "anyhow", "base64 0.13.1", @@ -12540,19 +12697,19 @@ dependencies = [ "directories-next", "file-per-thread-logger", "log", - "rustix 0.35.13", + "rustix 0.36.9", "serde", - "sha2 0.9.9", + "sha2 0.10.6", "toml", - "windows-sys 0.36.1", + "windows-sys 0.42.0", "zstd", ] [[package]] name = "wasmtime-cranelift" -version = "1.0.2" +version = "6.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bd91339b742ff20bfed4532a27b73c86b5bcbfedd6bea2dcdf2d64471e1b5c6" +checksum = "59b2c92a08c0db6efffd88fdc97d7aa9c7c63b03edb0971dbca745469f820e8c" dependencies = [ "anyhow", "cranelift-codegen", @@ -12571,9 +12728,9 @@ dependencies = [ [[package]] name = "wasmtime-environ" -version = "1.0.2" +version = "6.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebb881c61f4f627b5d45c54e629724974f8a8890d455bcbe634330cc27309644" +checksum = "9a6db9fc52985ba06ca601f2ff0ff1f526c5d724c7ac267b47326304b0c97883" dependencies = [ "anyhow", "cranelift-entity", @@ -12590,9 +12747,9 @@ dependencies = [ [[package]] name = "wasmtime-jit" -version = "1.0.2" +version = "6.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1985c628011fe26adf5e23a5301bdc79b245e0e338f14bb58b39e4e25e4d8681" +checksum = "b77e3a52cd84d0f7f18554afa8060cfe564ccac61e3b0802d3fd4084772fa5f6" dependencies = [ "addr2line 0.17.0", "anyhow", @@ -12603,32 +12760,42 @@ dependencies = [ "log", "object 0.29.0", "rustc-demangle", - "rustix 0.35.13", "serde", "target-lexicon", - "thiserror", "wasmtime-environ", "wasmtime-jit-debug", + "wasmtime-jit-icache-coherence", "wasmtime-runtime", - "windows-sys 0.36.1", + "windows-sys 0.42.0", ] [[package]] name = "wasmtime-jit-debug" -version = "1.0.2" +version = "6.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f671b588486f5ccec8c5a3dba6b4c07eac2e66ab8c60e6f4e53717c77f709731" +checksum = "d0245e8a9347017c7185a72e215218a802ff561545c242953c11ba00fccc930f" dependencies = [ "object 0.29.0", "once_cell", - "rustix 0.35.13", + "rustix 0.36.9", +] + +[[package]] +name = "wasmtime-jit-icache-coherence" +version = "6.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67d412e9340ab1c83867051d8d1d7c90aa8c9afc91da086088068e2734e25064" +dependencies = [ + "cfg-if", + "libc", + "windows-sys 0.42.0", ] [[package]] name = "wasmtime-runtime" -version = "1.0.2" +version = "6.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee8f92ad4b61736339c29361da85769ebc200f184361959d1792832e592a1afd" +checksum = "d594e791b5fdd4dbaf8cf7ae62f2e4ff85018ce90f483ca6f42947688e48827d" dependencies = [ "anyhow", "cc", @@ -12641,19 +12808,18 @@ dependencies = [ "memoffset 0.6.5", "paste", "rand 0.8.5", - "rustix 0.35.13", - "thiserror", + "rustix 0.36.9", "wasmtime-asm-macros", "wasmtime-environ", "wasmtime-jit-debug", - "windows-sys 0.36.1", + "windows-sys 0.42.0", ] [[package]] name = "wasmtime-types" -version = "1.0.2" +version = "6.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d23d61cb4c46e837b431196dd06abb11731541021916d03476a178b54dc07aeb" +checksum = "a6688d6f96d4dbc1f89fab626c56c1778936d122b5f4ae7a57c2eb42b8d982e2" dependencies = [ "cranelift-entity", "serde", @@ -12914,8 +13080,8 @@ dependencies = [ [[package]] name = "westend-runtime" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "bitvec", "frame-benchmarking", @@ -12959,6 +13125,8 @@ dependencies = [ "pallet-society", "pallet-staking", "pallet-staking-reward-curve", + "pallet-staking-runtime-api", + "pallet-state-trie-migration", "pallet-sudo", "pallet-timestamp", "pallet-transaction-payment", @@ -12980,9 +13148,9 @@ dependencies = [ "smallvec", "sp-api", "sp-authority-discovery", - "sp-beefy", "sp-block-builder", "sp-consensus-babe", + "sp-consensus-beefy", "sp-core", "sp-inherents", "sp-io", @@ -13004,8 +13172,8 @@ dependencies = [ [[package]] name = "westend-runtime-constants" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "frame-support", "polkadot-primitives", @@ -13027,6 +13195,16 @@ dependencies = [ "once_cell", ] +[[package]] +name = "wide" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b689b6c49d6549434bf944e6b0f39238cf63693cb7a147e9d887507fffa3b223" +dependencies = [ + "bytemuck", + "safe_arch", +] + [[package]] name = "widestring" version = "0.5.1" @@ -13077,19 +13255,6 @@ dependencies = [ "windows_x86_64_msvc 0.34.0", ] -[[package]] -name = "windows-sys" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2" -dependencies = [ - "windows_aarch64_msvc 0.36.1", - "windows_i686_gnu 0.36.1", - "windows_i686_msvc 0.36.1", - "windows_x86_64_gnu 0.36.1", - "windows_x86_64_msvc 0.36.1", -] - [[package]] name = "windows-sys" version = "0.42.0" @@ -13141,12 +13306,6 @@ version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "17cffbe740121affb56fad0fc0e421804adf0ae00891205213b5cecd30db881d" -[[package]] -name = "windows_aarch64_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47" - [[package]] name = "windows_aarch64_msvc" version = "0.42.2" @@ -13159,12 +13318,6 @@ version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2564fde759adb79129d9b4f54be42b32c89970c18ebf93124ca8870a498688ed" -[[package]] -name = "windows_i686_gnu" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6" - [[package]] name = "windows_i686_gnu" version = "0.42.2" @@ -13177,12 +13330,6 @@ version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9cd9d32ba70453522332c14d38814bceeb747d80b3958676007acadd7e166956" -[[package]] -name = "windows_i686_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024" - [[package]] name = "windows_i686_msvc" version = "0.42.2" @@ -13195,12 +13342,6 @@ version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cfce6deae227ee8d356d19effc141a509cc503dfd1f850622ec4b0f84428e1f4" -[[package]] -name = "windows_x86_64_gnu" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1" - [[package]] name = "windows_x86_64_gnu" version = "0.42.2" @@ -13219,12 +13360,6 @@ version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d19538ccc21819d01deaf88d6a17eae6596a12e9aafdbb97916fb49896d89de9" -[[package]] -name = "windows_x86_64_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" - [[package]] name = "windows_x86_64_msvc" version = "0.42.2" @@ -13319,25 +13454,28 @@ dependencies = [ [[package]] name = "xcm" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ + "bounded-collections", "derivative", "impl-trait-for-tuples", "log", "parity-scale-codec", "scale-info", - "sp-runtime", + "serde", + "sp-weights", "xcm-procedural", ] [[package]] name = "xcm-builder" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "frame-support", "frame-system", + "impl-trait-for-tuples", "log", "pallet-transaction-payment", "parity-scale-codec", @@ -13353,9 +13491,10 @@ dependencies = [ [[package]] name = "xcm-executor" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ + "environmental", "frame-benchmarking", "frame-support", "impl-trait-for-tuples", @@ -13366,13 +13505,14 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", + "sp-weights", "xcm", ] [[package]] name = "xcm-procedural" -version = "0.9.37" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "Inflector", "proc-macro2", diff --git a/node/Cargo.toml b/node/Cargo.toml index e4172c50596..f3d13a71183 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -3,13 +3,13 @@ authors = ["Nodle ", "Parity Technologies "] build = "build.rs" edition = "2021" name = "nodle-parachain" -version = "2.0.30" +version = "2.1.0" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [build-dependencies] -substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } [[bin]] name = "nodle-parachain" @@ -18,7 +18,7 @@ path = "src/main.rs" [features] runtime-benchmarks = [ "runtime-eden/runtime-benchmarks", - "polkadot-cli/runtime-benchmarks", + "polkadot-service/runtime-benchmarks", ] try-runtime = [ "runtime-eden/try-runtime", @@ -26,7 +26,7 @@ try-runtime = [ ] [dependencies] -clap = { version = "4.0.32", features = ["derive"] } +clap = { version = "4.1.8", features = ["derive"] } derive_more = "0.99.2" log = "0.4.17" codec = { package = "parity-scale-codec", version = "3.0.0" } @@ -41,66 +41,65 @@ runtime-eden = { path = "../runtimes/eden" } primitives = { version = "2.0.17", path = "../primitives" } # Substrate Dependencies -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -frame-rpc-system = { package = "substrate-frame-rpc-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +frame-rpc-system = { package = "substrate-frame-rpc-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } ## Substrate Client Dependencies -sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-network-common = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-sysinfo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-network-sync = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-sysinfo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } ## Substrate Primitive Dependencies -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } # Cumulus dependencies -cumulus-client-cli = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-client-collator = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-client-consensus-aura = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-client-network = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } +cumulus-client-cli = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40" } +cumulus-client-collator = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40" } +cumulus-client-consensus-aura = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40" } +cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40" } +cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40" } +cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40" } +cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40" } +cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40" } # Polkadot dependencies -polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37" } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37" } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37" } -polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37" } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.37" } +polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40" } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40" } +polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40" } +xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } diff --git a/node/src/chain_spec.rs b/node/src/chain_spec.rs index 7cea0259083..49e40a3a777 100644 --- a/node/src/chain_spec.rs +++ b/node/src/chain_spec.rs @@ -34,7 +34,7 @@ use sp_runtime::{ bounded_vec, traits::{IdentifyAccount, Verify}, }; -const SAFE_XCM_VERSION: u32 = xcm::v2::VERSION; +const SAFE_XCM_VERSION: u32 = xcm::latest::VERSION; /// Specialized `ChainSpec` for the normal parachain runtime. pub type ChainSpec = sc_service::GenericChainSpec; diff --git a/node/src/command.rs b/node/src/command.rs index 3e4ab193f4e..45c9fb5e128 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -249,19 +249,23 @@ pub fn run() -> Result<()> { } #[cfg(feature = "try-runtime")] Some(Subcommand::TryRuntime(cmd)) => { + use sc_executor::{sp_wasm_interface::ExtendedHostFunctions, NativeExecutionDispatch}; + use try_runtime_cli::block_building_info::timestamp_with_aura_info; + let runner = cli.create_runner(cmd)?; let registry = &runner.config().prometheus_config.as_ref().map(|cfg| &cfg.registry); let task_manager = sc_service::TaskManager::new(runner.config().tokio_handle.clone(), *registry) .map_err(|e| format!("Error: {:?}", e))?; - use sc_executor::{sp_wasm_interface::ExtendedHostFunctions, NativeExecutionDispatch}; type HostFunctionsOf = ExtendedHostFunctions< sp_io::SubstrateHostFunctions, ::ExtendHostFunctions, >; + let info_provider = timestamp_with_aura_info(6000); + runner.async_run(|_| { Ok(( - cmd.run::>(), + cmd.run::, _>(Some(info_provider)), task_manager, )) }) @@ -276,14 +280,12 @@ pub fn run() -> Result<()> { let collator_options = cli.run.collator_options(); runner.run_node_until_exit(|config| async move { - let hwbench = if !cli.no_hardware_benchmarks { - config.database.path().map(|database_path| { + let hwbench = (!cli.no_hardware_benchmarks) + .then_some(config.database.path().map(|database_path| { let _ = std::fs::create_dir_all(database_path); sc_sysinfo::gather_hwbench(Some(database_path)) - }) - } else { - None - }; + })) + .flatten(); let para_id = chain_spec::Extensions::try_get(&*config.chain_spec) .map(|e| e.para_id) diff --git a/node/src/service.rs b/node/src/service.rs index a4a0743a86f..b2ff6e7c2cf 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -29,21 +29,20 @@ pub use primitives::{AccountId, Balance, Block, BlockNumber, Hash, Header, Index // Cumulus Imports use cumulus_client_consensus_aura::{AuraConsensus, BuildAuraConsensusParams, SlotProportion}; use cumulus_client_consensus_common::{ParachainBlockImport as TParachainBlockImport, ParachainConsensus}; -use cumulus_client_network::BlockAnnounceValidator; use cumulus_client_service::{ - build_relay_chain_interface, prepare_node_config, start_collator, start_full_node, StartCollatorParams, - StartFullNodeParams, + build_network, build_relay_chain_interface, prepare_node_config, start_collator, start_full_node, + BuildNetworkParams, StartCollatorParams, StartFullNodeParams, }; use cumulus_primitives_core::ParaId; use cumulus_client_cli::CollatorOptions; -use cumulus_relay_chain_interface::{RelayChainError, RelayChainInterface}; +use cumulus_relay_chain_interface::RelayChainInterface; // Substrate Imports use sc_consensus::ImportQueue; use sc_executor::WasmExecutor; -use sc_network::NetworkService; -use sc_network_common::service::NetworkBlock; +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 sp_api::ConstructRuntimeApi; @@ -51,14 +50,13 @@ use sp_keystore::SyncCryptoStorePtr; use sp_runtime::traits::BlakeTwo256; use substrate_prometheus_endpoint::Registry; -#[cfg(not(feature = "runtime-benchmarks"))] -type HostFunctions = sp_io::SubstrateHostFunctions; - #[cfg(feature = "runtime-benchmarks")] type HostFunctions = ( sp_io::SubstrateHostFunctions, frame_benchmarking::benchmarking::HostFunctions, ); +#[cfg(not(feature = "runtime-benchmarks"))] +type HostFunctions = sp_io::SubstrateHostFunctions; type ParachainClient = TFullClient>; @@ -69,7 +67,10 @@ type ParachainBlockImport = pub struct TemplateRuntimeExecutor; impl sc_executor::NativeExecutionDispatch for TemplateRuntimeExecutor { + #[cfg(feature = "runtime-benchmarks")] type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions; + #[cfg(not(feature = "runtime-benchmarks"))] + type ExtendHostFunctions = (); fn dispatch(method: &str, data: &[u8]) -> Option> { runtime_eden::api::dispatch(method, data) @@ -224,7 +225,7 @@ where &TaskManager, Arc, Arc>>, - Arc>, + Arc>, SyncCryptoStorePtr, bool, ) -> Result>, sc_service::Error>, @@ -247,12 +248,7 @@ where hwbench.clone(), ) .await - .map_err(|e| match e { - RelayChainError::ServiceError(polkadot_service::Error::Sub(x)) => x, - s => s.to_string().into(), - })?; - - let block_announce_validator = BlockAnnounceValidator::new(relay_chain_interface.clone(), para_id); + .map_err(|e| sc_service::Error::Application(Box::new(e) as Box<_>))?; let force_authoring = parachain_config.force_authoring; let validator = parachain_config.role.is_authority(); @@ -260,16 +256,17 @@ where let transaction_pool = params.transaction_pool.clone(); let import_queue_service = params.import_queue.service(); - let (network, system_rpc_tx, tx_handler_controller, start_network) = - sc_service::build_network(sc_service::BuildNetworkParams { - config: ¶chain_config, + let (network, system_rpc_tx, tx_handler_controller, start_network, sync_service) = + build_network(BuildNetworkParams { + parachain_config: ¶chain_config, client: client.clone(), transaction_pool: transaction_pool.clone(), + para_id, spawn_handle: task_manager.spawn_handle(), + relay_chain_interface: relay_chain_interface.clone(), import_queue: params.import_queue, - block_announce_validator_builder: Some(Box::new(|_| Box::new(block_announce_validator))), - warp_sync: None, - })?; + }) + .await?; let rpc_builder = { let client = client.clone(); @@ -295,6 +292,7 @@ where keystore: params.keystore_container.sync_keystore(), backend: backend.clone(), network: network.clone(), + sync_service: sync_service.clone(), system_rpc_tx, tx_handler_controller, telemetry: telemetry.as_mut(), @@ -302,6 +300,9 @@ where if let Some(hwbench) = hwbench { sc_sysinfo::print_hwbench(&hwbench); + if validator { + warn_if_slow_hardware(&hwbench); + } if let Some(ref mut telemetry) = telemetry { let telemetry_handle = telemetry.handle(); @@ -314,12 +315,16 @@ where } let announce_block = { - let network = network.clone(); - Arc::new(move |hash, data| network.announce_block(hash, data)) + let sync_service = sync_service.clone(); + Arc::new(move |hash, data| sync_service.announce_block(hash, data)) }; let relay_chain_slot_duration = Duration::from_secs(6); + let overseer_handle = relay_chain_interface + .overseer_handle() + .map_err(|e| sc_service::Error::Application(Box::new(e)))?; + if validator { let parachain_consensus = build_consensus( client.clone(), @@ -329,7 +334,7 @@ where &task_manager, relay_chain_interface.clone(), transaction_pool, - network, + sync_service, params.keystore_container.sync_keystore(), force_authoring, )?; @@ -348,6 +353,7 @@ where import_queue: import_queue_service, collator_key: collator_key.expect("Command line arguments do not allow this. qed"), relay_chain_slot_duration, + recovery_handle: Box::new(overseer_handle), }; start_collator(params).await?; @@ -360,6 +366,7 @@ where relay_chain_interface, relay_chain_slot_duration, import_queue: import_queue_service, + recovery_handle: Box::new(overseer_handle), }; start_full_node(params)?; @@ -492,3 +499,15 @@ pub async fn start_parachain_node( ) .await } + +/// Checks that the hardware meets the requirements and print a warning otherwise. +fn warn_if_slow_hardware(hwbench: &sc_sysinfo::HwBench) { + // Polkadot para-chains should generally use these requirements to ensure that the relay-chain + // will not take longer than expected to import its blocks. + if !frame_benchmarking_cli::SUBSTRATE_REFERENCE_HARDWARE.check_hardware(hwbench) { + log::warn!( + "⚠️ The hardware does not meet the minimal requirements for role 'Authority' find out more at:\n\ + https://wiki.polkadot.network/docs/maintain-guides-how-to-validate-polkadot#reference-hardware" + ); + } +} diff --git a/pallets/allocations/Cargo.toml b/pallets/allocations/Cargo.toml index 1c72ad4d86d..0ebf5ce060f 100644 --- a/pallets/allocations/Cargo.toml +++ b/pallets/allocations/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-allocations" -version = "2.0.30" +version = "2.1.0" authors = ['Eliott Teissonniere '] edition = "2021" description = "A pallet to handle the Proof Of Connectivity allocations rewards" @@ -30,18 +30,18 @@ log = { version = "0.4.17", default-features = false } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } serde = { version = "1.0.152", optional = true, features = ["derive"] } scale-info = { version = "2.0.1", default-features = false, features = [ "derive",] } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.37" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.40" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } support = { path = "../../support" } [dev-dependencies] -sp-tracing = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } +sp-tracing = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } lazy_static = {version = "1.4.0", default-features = false, features = ["spin_no_std"] } diff --git a/pallets/allocations/src/lib.rs b/pallets/allocations/src/lib.rs index 0ff817c717e..1d1b34adc45 100644 --- a/pallets/allocations/src/lib.rs +++ b/pallets/allocations/src/lib.rs @@ -198,7 +198,6 @@ pub mod pallet { } #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] pub struct Pallet(PhantomData); #[pallet::call] diff --git a/pallets/allocations/src/tests.rs b/pallets/allocations/src/tests.rs index 830579dd0cb..2454616e940 100644 --- a/pallets/allocations/src/tests.rs +++ b/pallets/allocations/src/tests.rs @@ -710,24 +710,24 @@ fn check_weight_info() { use crate::weights::SubstrateWeight; use frame_support::pallet_prelude::Weight; - assert_ne!(<()>::set_curve_starting_block(), Weight::from_ref_time(0)); + assert_ne!(<()>::set_curve_starting_block(), Weight::from_parts(0, 0)); assert_ne!( SubstrateWeight::::set_curve_starting_block(), - Weight::from_ref_time(0) + Weight::from_parts(0, 0) ); - assert_ne!(<()>::checked_update_session_quota(), Weight::from_ref_time(0)); + assert_ne!(<()>::checked_update_session_quota(), Weight::from_parts(0, 0)); assert_ne!( SubstrateWeight::::checked_update_session_quota(), - Weight::from_ref_time(0) + Weight::from_parts(0, 0) ); - assert_ne!(<()>::allocate(100), Weight::from_ref_time(0)); - assert_ne!(SubstrateWeight::::allocate(100), Weight::from_ref_time(0)); + assert_ne!(<()>::allocate(100), Weight::from_parts(0, 0)); + assert_ne!(SubstrateWeight::::allocate(100), Weight::from_parts(0, 0)); - assert_ne!(<()>::calc_quota(), Weight::from_ref_time(0)); - assert_ne!(SubstrateWeight::::calc_quota(), Weight::from_ref_time(0)); + assert_ne!(<()>::calc_quota(), Weight::from_parts(0, 0)); + assert_ne!(SubstrateWeight::::calc_quota(), Weight::from_parts(0, 0)); - assert_ne!(<()>::renew_quota(), Weight::from_ref_time(0)); - assert_ne!(SubstrateWeight::::renew_quota(), Weight::from_ref_time(0)); + assert_ne!(<()>::renew_quota(), Weight::from_parts(0, 0)); + assert_ne!(SubstrateWeight::::renew_quota(), Weight::from_parts(0, 0)); } diff --git a/pallets/allocations/src/weights.rs b/pallets/allocations/src/weights.rs index c64fadd203b..e8114eecef4 100644 --- a/pallets/allocations/src/weights.rs +++ b/pallets/allocations/src/weights.rs @@ -66,9 +66,9 @@ impl WeightInfo for SubstrateWeight { /// The range of component `b` is `[1, 500]`. fn allocate(b: u32, ) -> Weight { // Minimum execution time: 91_091 nanoseconds. - Weight::from_ref_time(21_410_078_u64) + Weight::from_parts(21_410_078_u64,0) // Standard Error: 16_392 - .saturating_add(Weight::from_ref_time(27_848_716_u64).saturating_mul(b as u64)) + .saturating_add(Weight::from_parts(27_848_716_u64, 0).saturating_mul(b as u64)) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b as u64))) .saturating_add(T::DbWeight::get().writes(6_u64)) @@ -84,7 +84,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Allocations NextSessionQuota (r:0 w:1) fn calc_quota() -> Weight { // Minimum execution time: 22_710 nanoseconds. - Weight::from_ref_time(23_380_000_u64) + Weight::from_parts(23_380_000_u64, 0) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -98,7 +98,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Allocations SessionQuota (r:0 w:1) fn renew_quota() -> Weight { // Minimum execution time: 18_670 nanoseconds. - Weight::from_ref_time(19_320_000_u64) + Weight::from_parts(19_320_000_u64, 0) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -115,7 +115,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Allocations NextSessionQuota (r:0 w:1) fn checked_update_session_quota() -> Weight { // Minimum execution time: 33_930 nanoseconds. - Weight::from_ref_time(34_910_000_u64) + Weight::from_parts(34_910_000_u64, 0) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -125,7 +125,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Allocations SessionQuotaRenewSchedule (r:0 w:1) fn set_curve_starting_block() -> Weight { // Minimum execution time: 10_731 nanoseconds. - Weight::from_ref_time(11_130_000_u64) + Weight::from_parts(11_130_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -142,9 +142,9 @@ impl WeightInfo for () { /// The range of component `b` is `[1, 500]`. fn allocate(b: u32, ) -> Weight { // Minimum execution time: 91_091 nanoseconds. - Weight::from_ref_time(21_410_078_u64) + Weight::from_parts(21_410_078_u64, 0) // Standard Error: 16_392 - .saturating_add(Weight::from_ref_time(27_848_716_u64).saturating_mul(b as u64)) + .saturating_add(Weight::from_parts(27_848_716_u64, 0).saturating_mul(b as u64)) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b as u64))) .saturating_add(RocksDbWeight::get().writes(6_u64)) @@ -160,7 +160,7 @@ impl WeightInfo for () { // Storage: Allocations NextSessionQuota (r:0 w:1) fn calc_quota() -> Weight { // Minimum execution time: 22_710 nanoseconds. - Weight::from_ref_time(23_380_000_u64) + Weight::from_parts(23_380_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -174,7 +174,7 @@ impl WeightInfo for () { // Storage: Allocations SessionQuota (r:0 w:1) fn renew_quota() -> Weight { // Minimum execution time: 18_670 nanoseconds. - Weight::from_ref_time(19_320_000_u64) + Weight::from_parts(19_320_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -191,7 +191,7 @@ impl WeightInfo for () { // Storage: Allocations NextSessionQuota (r:0 w:1) fn checked_update_session_quota() -> Weight { // Minimum execution time: 33_930 nanoseconds. - Weight::from_ref_time(34_910_000_u64) + Weight::from_parts(34_910_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -201,7 +201,7 @@ impl WeightInfo for () { // Storage: Allocations SessionQuotaRenewSchedule (r:0 w:1) fn set_curve_starting_block() -> Weight { // Minimum execution time: 10_731 nanoseconds. - Weight::from_ref_time(11_130_000_u64) + Weight::from_parts(11_130_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } diff --git a/pallets/grants/Cargo.toml b/pallets/grants/Cargo.toml index 105df94db74..010306e8b1e 100644 --- a/pallets/grants/Cargo.toml +++ b/pallets/grants/Cargo.toml @@ -2,7 +2,7 @@ name = "pallet-grants" description = "Provides scheduled balance locking mechanism, in a *graded vesting* way." license = "Apache-2.0" -version = "2.0.30" +version = "2.1.0" authors = ["Eliott Teissonniere "] edition = "2021" @@ -34,15 +34,15 @@ log = { version = "0.4.17", default-features = false } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } serde = { version = "1.0.152", optional = true } scale-info = { version = "2.0.1", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch ="polkadot-v0.9.37" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch ="polkadot-v0.9.40" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-tracing = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-tracing = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } diff --git a/pallets/grants/src/benchmarking.rs b/pallets/grants/src/benchmarking.rs index 20d8a4a2b85..b11d76e0b1d 100644 --- a/pallets/grants/src/benchmarking.rs +++ b/pallets/grants/src/benchmarking.rs @@ -22,7 +22,7 @@ use super::*; use crate::Pallet as Grants; -use frame_benchmarking::{account, benchmarks, impl_benchmark_test_suite}; +use frame_benchmarking::{account, benchmarks, impl_benchmark_test_suite, BenchmarkError}; use frame_support::traits::{EnsureOrigin, Get, UnfilteredDispatchable}; use frame_system::RawOrigin; use sp_runtime::traits::Bounded; @@ -95,7 +95,7 @@ benchmarks! { who: config.grantee_lookup, funds_collector: config.collector_lookup }; - let origin = T::CancelOrigin::successful_origin(); + let origin = T::CancelOrigin::try_successful_origin().map_err(|_| BenchmarkError::Weightless)?; }: { call.dispatch_bypass_filter(origin)? } renounce { @@ -103,7 +103,7 @@ benchmarks! { let call = Call::::renounce{ who: config.grantee_lookup, }; - let origin = T::CancelOrigin::successful_origin(); + let origin = T::CancelOrigin::try_successful_origin().map_err(|_| BenchmarkError::Weightless)?; }: { call.dispatch_bypass_filter(origin)? } impl_benchmark_test_suite!( diff --git a/pallets/grants/src/lib.rs b/pallets/grants/src/lib.rs index 0b9bbfdeaaf..fbd4fd9532a 100644 --- a/pallets/grants/src/lib.rs +++ b/pallets/grants/src/lib.rs @@ -133,7 +133,6 @@ pub mod pallet { } #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] pub struct Pallet(PhantomData); #[pallet::call] diff --git a/pallets/grants/src/weights.rs b/pallets/grants/src/weights.rs index 25551b224a9..3b565c6eb74 100644 --- a/pallets/grants/src/weights.rs +++ b/pallets/grants/src/weights.rs @@ -65,7 +65,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Balances Locks (r:1 w:1) fn add_vesting_schedule() -> Weight { // Minimum execution time: 80_800 nanoseconds. - Weight::from_ref_time(82_800_000_u64) + Weight::from_parts(82_800_000_u64, 0) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -79,7 +79,7 @@ impl WeightInfo for SubstrateWeight { // Storage: System Events (r:1 w:1) fn claim() -> Weight { // Minimum execution time: 53_250 nanoseconds. - Weight::from_ref_time(55_120_000_u64) + Weight::from_parts(55_120_000_u64, 0) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -95,7 +95,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Vesting CounterForVestingSchedules (r:1 w:1) fn cancel_all_vesting_schedules() -> Weight { // Minimum execution time: 108_800 nanoseconds. - Weight::from_ref_time(111_970_000_u64) + Weight::from_parts(111_970_000_u64, 0) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -106,7 +106,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Vesting Renounced (r:0 w:1) fn renounce() -> Weight { // Minimum execution time: 20_060 nanoseconds. - Weight::from_ref_time(21_240_000_u64) + Weight::from_parts(21_240_000_u64, 0) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -123,7 +123,7 @@ impl WeightInfo for () { // Storage: Balances Locks (r:1 w:1) fn add_vesting_schedule() -> Weight { // Minimum execution time: 80_800 nanoseconds. - Weight::from_ref_time(82_800_000_u64) + Weight::from_parts(82_800_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -137,7 +137,7 @@ impl WeightInfo for () { // Storage: System Events (r:1 w:1) fn claim() -> Weight { // Minimum execution time: 53_250 nanoseconds. - Weight::from_ref_time(55_120_000_u64) + Weight::from_parts(55_120_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -153,7 +153,7 @@ impl WeightInfo for () { // Storage: Vesting CounterForVestingSchedules (r:1 w:1) fn cancel_all_vesting_schedules() -> Weight { // Minimum execution time: 108_800 nanoseconds. - Weight::from_ref_time(111_970_000_u64) + Weight::from_parts(111_970_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -164,7 +164,7 @@ impl WeightInfo for () { // Storage: Vesting Renounced (r:0 w:1) fn renounce() -> Weight { // Minimum execution time: 20_060 nanoseconds. - Weight::from_ref_time(21_240_000_u64) + Weight::from_parts(21_240_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } diff --git a/pallets/mandate/Cargo.toml b/pallets/mandate/Cargo.toml index 147172ef967..f60bf6b8df2 100644 --- a/pallets/mandate/Cargo.toml +++ b/pallets/mandate/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-mandate" -version = "2.0.30" +version = "2.1.0" authors = ["Eliott Teissonniere "] edition = "2021" @@ -24,9 +24,9 @@ serde = { version = "1.0.152", optional = true, features = ["derive"] } scale-info = { version = "2.0.1", default-features = false, features = [ "derive", ] } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.37" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.40" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } diff --git a/pallets/mandate/src/lib.rs b/pallets/mandate/src/lib.rs index f9f1d1f8123..f7ff9fc412e 100644 --- a/pallets/mandate/src/lib.rs +++ b/pallets/mandate/src/lib.rs @@ -46,7 +46,6 @@ pub mod pallet { } #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] pub struct Pallet(PhantomData); #[pallet::hooks] @@ -60,7 +59,7 @@ pub mod pallet { #[pallet::weight({ let dispatch_info = call.get_dispatch_info(); ( - dispatch_info.weight.saturating_add(Weight::from_ref_time(10_000)), + dispatch_info.weight.saturating_add(Weight::from_parts(10_000, 0)), dispatch_info.class, ) })] diff --git a/pallets/reserve/Cargo.toml b/pallets/reserve/Cargo.toml index 634aed4cfdf..c018edc05ec 100644 --- a/pallets/reserve/Cargo.toml +++ b/pallets/reserve/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-reserve" -version = "2.0.30" +version = "2.1.0" authors = ["Eliott Teissonniere "] edition = "2021" @@ -27,14 +27,14 @@ try-runtime = ["frame-support/try-runtime"] codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } serde = { version = "1.0.152", optional = true, features = ["derive"] } scale-info = { version = "2.0.1", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "polkadot-v0.9.37" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.37" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.37" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.37" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.37" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.37" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.37" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "polkadot-v0.9.40" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } support = { path = "../../support" } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.37" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } diff --git a/pallets/reserve/src/benchmarking.rs b/pallets/reserve/src/benchmarking.rs index 48bc9084f6f..dca6d7e602f 100644 --- a/pallets/reserve/src/benchmarking.rs +++ b/pallets/reserve/src/benchmarking.rs @@ -23,7 +23,7 @@ use super::*; -use frame_benchmarking::{account, benchmarks_instance_pallet, impl_benchmark_test_suite}; +use frame_benchmarking::{account, benchmarks_instance_pallet, impl_benchmark_test_suite, BenchmarkError}; use frame_support::traits::{EnsureOrigin, UnfilteredDispatchable}; use frame_system::RawOrigin; use sp_runtime::traits::Saturating; @@ -49,7 +49,7 @@ benchmarks_instance_pallet! { to: dest, amount: value }; - let origin = T::ExternalOrigin::successful_origin(); + let origin = T::ExternalOrigin::try_successful_origin().map_err(|_| BenchmarkError::Weightless)?; }: { call.dispatch_bypass_filter(origin)? } impl_benchmark_test_suite!(Reserve, crate::tests::new_test_ext(), crate::tests::Test,); diff --git a/pallets/reserve/src/lib.rs b/pallets/reserve/src/lib.rs index 0272b92839d..f88d7ad5405 100644 --- a/pallets/reserve/src/lib.rs +++ b/pallets/reserve/src/lib.rs @@ -64,7 +64,6 @@ pub mod pallet { } #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] pub struct Pallet(PhantomData<(T, I)>); #[pallet::hooks] @@ -104,7 +103,7 @@ pub mod pallet { #[pallet::weight({ let dispatch_info = call.get_dispatch_info(); ( - dispatch_info.weight.saturating_add(Weight::from_ref_time(10_000)), + dispatch_info.weight.saturating_add(Weight::from_parts(10_000, 0)), dispatch_info.class, ) })] diff --git a/pallets/reserve/src/tests.rs b/pallets/reserve/src/tests.rs index 0dd25fcf5ee..79d8b7cdeac 100644 --- a/pallets/reserve/src/tests.rs +++ b/pallets/reserve/src/tests.rs @@ -126,10 +126,10 @@ fn check_weight_info() { use crate::weights::SubstrateWeight; use frame_support::pallet_prelude::Weight; - assert_ne!(<()>::tip(), Weight::from_ref_time(0)); - assert_ne!(<()>::spend(), Weight::from_ref_time(0)); - assert_ne!(SubstrateWeight::::tip(), Weight::from_ref_time(0)); - assert_ne!(SubstrateWeight::::spend(), Weight::from_ref_time(0)); + assert_ne!(<()>::tip(), Weight::from_parts(0, 0)); + assert_ne!(<()>::spend(), Weight::from_parts(0, 0)); + assert_ne!(SubstrateWeight::::tip(), Weight::from_parts(0, 0)); + assert_ne!(SubstrateWeight::::spend(), Weight::from_parts(0, 0)); } #[test] diff --git a/pallets/reserve/src/weights.rs b/pallets/reserve/src/weights.rs index e0d8c33d73d..7419c73c327 100644 --- a/pallets/reserve/src/weights.rs +++ b/pallets/reserve/src/weights.rs @@ -60,7 +60,7 @@ impl WeightInfo for SubstrateWeight { // Storage: System Events (r:1 w:1) fn tip() -> Weight { // Minimum execution time: 26_480 nanoseconds. - Weight::from_ref_time(27_550_000_u64) + Weight::from_parts(27_550_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -71,7 +71,7 @@ impl WeightInfo for SubstrateWeight { // Storage: System Events (r:1 w:1) fn spend() -> Weight { // Minimum execution time: 26_730 nanoseconds. - Weight::from_ref_time(27_670_000_u64) + Weight::from_parts(27_670_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -85,7 +85,7 @@ impl WeightInfo for () { // Storage: System Events (r:1 w:1) fn tip() -> Weight { // Minimum execution time: 26_480 nanoseconds. - Weight::from_ref_time(27_550_000_u64) + Weight::from_parts(27_550_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -96,7 +96,7 @@ impl WeightInfo for () { // Storage: System Events (r:1 w:1) fn spend() -> Weight { // Minimum execution time: 26_730 nanoseconds. - Weight::from_ref_time(27_670_000_u64) + Weight::from_parts(27_670_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index a9c14287b30..3dbe33f74c5 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "primitives" -version = "2.0.30" +version = "2.1.0" authors = ["Eliott Teissonniere "] edition = "2021" @@ -27,13 +27,13 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = scale-info = { version = "2.0.1", default-features = false, features = [ "derive" ] } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.37" } -xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.37" } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot.git", default-features = false, branch = "release-v0.9.37" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } +xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } diff --git a/runtimes/eden/Cargo.toml b/runtimes/eden/Cargo.toml index adc86d7b9f6..b339344573b 100644 --- a/runtimes/eden/Cargo.toml +++ b/runtimes/eden/Cargo.toml @@ -2,7 +2,7 @@ authors = ["Eliott Teissonniere "] edition = "2021" name = "runtime-eden" -version = "2.0.30" +version = "2.1.0" [features] default = ["std"] @@ -25,7 +25,7 @@ std = [ "pallet-membership/std", "pallet-multisig/std", "pallet-offences/std", - "pallet-randomness-collective-flip/std", + "pallet-insecure-randomness-collective-flip/std", "pallet-reserve/std", "pallet-scheduler/std", "pallet-preimage/std", @@ -97,7 +97,6 @@ runtime-benchmarks = [ "pallet-membership/runtime-benchmarks", "pallet-contracts/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", - "xcm/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", "pallet-xcm-benchmarks/runtime-benchmarks", @@ -120,7 +119,7 @@ try-runtime = [ "pallet-membership/try-runtime", "pallet-multisig/try-runtime", "pallet-offences/try-runtime", - "pallet-randomness-collective-flip/try-runtime", + "pallet-insecure-randomness-collective-flip/try-runtime", "pallet-reserve/try-runtime", "pallet-scheduler/try-runtime", "pallet-preimage/try-runtime", @@ -154,76 +153,76 @@ serde = { version = "1.0.152", optional = true, features = ["derive"] } smallvec = "1.9.0" lazy_static = {version = "1.4.0", default-features = false, features = ["spin_no_std"] } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.37" } -frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.37" } -frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -pallet-im-online = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -pallet-preimage = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -pallet-uniques = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -pallet-aura = { git = "https://github.com/paritytech/substrate.git", default-features = false, branch = "polkadot-v0.9.37" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.40" } +frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.40" } +frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +pallet-im-online = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +pallet-insecure-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +pallet-preimage = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +pallet-uniques = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -pallet-xcm = { git = "https://github.com/paritytech/polkadot.git", default-features = false, branch = "release-v0.9.37" } -pallet-xcm-benchmarks = { git = "https://github.com/paritytech/polkadot.git", default-features = false, branch = "release-v0.9.37" } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40", default-features = false } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } +pallet-xcm-benchmarks = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } -pallet-contracts = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -pallet-contracts-primitives = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } +pallet-contracts = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +pallet-contracts-primitives = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot.git", default-features = false, branch = "release-v0.9.37" } -polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot.git", default-features = false, branch = "release-v0.9.37" } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.37" } -xcm = { git = "https://github.com/paritytech/polkadot.git", default-features = false, branch = "release-v0.9.37" } -xcm-builder = { git = "https://github.com/paritytech/polkadot.git", default-features = false, branch = "release-v0.9.37" } -xcm-executor = { git = "https://github.com/paritytech/polkadot.git", default-features = false, branch = "release-v0.9.37" } -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus.git", default-features = false, branch = "polkadot-v0.9.37" } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus.git", default-features = false, branch = "polkadot-v0.9.37" } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus.git", default-features = false, branch = "polkadot-v0.9.37" } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus.git", default-features = false, branch = "polkadot-v0.9.37" } -pallet-collator-selection = { git = "https://github.com/paritytech/cumulus.git", default-features = false, branch = "polkadot-v0.9.37" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus.git", default-features = false, branch = "polkadot-v0.9.37" } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus.git", default-features = false, branch = "polkadot-v0.9.37" } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus.git", default-features = false, branch = "polkadot-v0.9.37" } -parachain-info = { git = "https://github.com/paritytech/cumulus.git", default-features = false, branch = "polkadot-v0.9.37" } -sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-consensus-babe = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-npos-elections = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate.git", default-features = false, branch = "polkadot-v0.9.37" } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37", optional = true } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } +polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } +xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } +xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } +xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.40" } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } +pallet-collator-selection = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } +cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } +parachain-info = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.40" } +sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-consensus-babe = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-npos-elections = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40", optional = true } primitives = { default-features = false, path = "../../primitives" } pallet-allocations = { default-features = false, path = "../../pallets/allocations" } pallet-reserve = { default-features = false, path = "../../pallets/reserve" } pallet-grants = { default-features = false, path = "../../pallets/grants" } pallet-mandate = { default-features = false, path = "../../pallets/mandate" } -orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", branch = "polkadot-v0.9.37", default-features = false } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", branch = "polkadot-v0.9.37", default-features = false } +orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } diff --git a/runtimes/eden/src/lib.rs b/runtimes/eden/src/lib.rs index 05ec9e9d74a..74112a2ab0d 100644 --- a/runtimes/eden/src/lib.rs +++ b/runtimes/eden/src/lib.rs @@ -79,7 +79,7 @@ construct_runtime! { Timestamp: pallet_timestamp = 1, Balances: pallet_balances = 2, TransactionPayment: pallet_transaction_payment = 3, - RandomnessCollectiveFlip: pallet_randomness_collective_flip = 4, + RandomnessCollectiveFlip: pallet_insecure_randomness_collective_flip = 4, // Governance Scheduler: pallet_scheduler::{Pallet, Call, Storage, Event} = 10, @@ -257,6 +257,12 @@ sp_api::impl_runtime_apis! { fn query_fee_details(uxt: ::Extrinsic, len: u32) -> FeeDetails { TransactionPayment::query_fee_details(uxt, len) } + fn query_weight_to_fee(weight: Weight) -> Balance { + TransactionPayment::weight_to_fee(weight) + } + fn query_length_to_fee(length: u32) -> Balance { + TransactionPayment::length_to_fee(length) + } } impl cumulus_primitives_core::CollectCollationInfo for Runtime { @@ -359,6 +365,7 @@ sp_api::impl_runtime_apis! { list_benchmark!(list, extra, pallet_collator_selection, CollatorSelection); list_benchmark!(list, extra, pallet_contracts, Contracts); list_benchmark!(list, extra, pallet_membership, TechnicalMembership); + list_benchmark!(list, extra, pallet_xcm, PolkadotXcm); list_benchmark!(list, extra, pallet_xcm_benchmarks::generic, XcmGenericBenchmarks); list_benchmark!(list, extra, pallet_xcm_benchmarks::fungible, XcmFungibleBenchmarks); @@ -399,6 +406,7 @@ sp_api::impl_runtime_apis! { add_benchmark!(params, batches, pallet_collator_selection, CollatorSelection); add_benchmark!(params, batches, pallet_contracts, Contracts); add_benchmark!(params, batches, pallet_membership, TechnicalMembership); + add_benchmark!(params, batches, pallet_xcm, PolkadotXcm); add_benchmark!(params, batches, pallet_xcm_benchmarks::generic, XcmGenericBenchmarks); add_benchmark!(params, batches, pallet_xcm_benchmarks::fungible, XcmFungibleBenchmarks); diff --git a/runtimes/eden/src/pallets_consensus.rs b/runtimes/eden/src/pallets_consensus.rs index 3b79f92848c..cec0b84cbe0 100644 --- a/runtimes/eden/src/pallets_consensus.rs +++ b/runtimes/eden/src/pallets_consensus.rs @@ -29,14 +29,8 @@ impl_opaque_keys! { } } -parameter_types! { - pub const UncleGenerations: u32 = 0; -} - impl pallet_authorship::Config for Runtime { type FindAuthor = pallet_session::FindAccountFromAuthorIndex; - type UncleGenerations = UncleGenerations; - type FilterUncle = (); type EventHandler = (CollatorSelection,); } diff --git a/runtimes/eden/src/pallets_governance.rs b/runtimes/eden/src/pallets_governance.rs index b188ac141bb..30d6ae9b425 100644 --- a/runtimes/eden/src/pallets_governance.rs +++ b/runtimes/eden/src/pallets_governance.rs @@ -94,6 +94,7 @@ impl pallet_collective::Config for Runtime { type WeightInfo = (); type MaxMembers = MaxMembers; type DefaultVote = pallet_collective::PrimeDefaultVote; + type SetMembersOrigin = EnsureRootOrMoreThanHalfOfTechComm; } impl pallet_membership::Config for Runtime { diff --git a/runtimes/eden/src/pallets_util.rs b/runtimes/eden/src/pallets_util.rs index 6aede464178..056362b1678 100644 --- a/runtimes/eden/src/pallets_util.rs +++ b/runtimes/eden/src/pallets_util.rs @@ -69,7 +69,7 @@ impl pallet_multisig::Config for Runtime { type WeightInfo = crate::weights::pallet_multisig::WeightInfo; } -impl pallet_randomness_collective_flip::Config for Runtime {} +impl pallet_insecure_randomness_collective_flip::Config for Runtime {} parameter_types! { pub MaximumSchedulerWeight: Weight = Perbill::from_percent(80) * @@ -173,9 +173,9 @@ impl pallet_contracts::Config for Runtime { type DeletionQueueDepth = DeletionQueueDepth; type DeletionWeightLimit = DeletionWeightLimit; type Schedule = MySchedule; - type CallStack = [Frame; 31]; + type CallStack = [Frame; 5]; type AddressGenerator = pallet_contracts::DefaultAddressGenerator; - type MaxCodeLen = ConstU32<{ 128 * 1024 }>; + type MaxCodeLen = ConstU32<{ 123 * 1024 }>; type MaxStorageKeyLen = ConstU32<128>; type UnsafeUnstableInterface = ConstBool; type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>; diff --git a/runtimes/eden/src/version.rs b/runtimes/eden/src/version.rs index cd55b55302b..e18e991497a 100644 --- a/runtimes/eden/src/version.rs +++ b/runtimes/eden/src/version.rs @@ -39,7 +39,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { /// Version of the runtime specification. A full-node will not attempt to use its native /// runtime in substitute for the on-chain Wasm runtime unless all of `spec_name`, /// `spec_version` and `authoring_version` are the same between Wasm and native. - spec_version: 20, + spec_version: 21, /// Version of the implementation of the specification. Nodes are free to ignore this; it /// serves only as an indication that the code is different; as long as the other two versions @@ -50,7 +50,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { impl_version: 0, /// Used for hardware wallets. This typically happens when `SignedExtra` changes. - transaction_version: 6, + transaction_version: 7, apis: RUNTIME_API_VERSIONS, state_version: 0, diff --git a/runtimes/eden/src/weights/frame_system.rs b/runtimes/eden/src/weights/frame_system.rs index 7873392e67a..947095dc4f1 100644 --- a/runtimes/eden/src/weights/frame_system.rs +++ b/runtimes/eden/src/weights/frame_system.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for frame_system //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-14, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `chain-bench-012bd056`, CPU: `AMD EPYC 7B13` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -49,57 +49,67 @@ pub struct WeightInfo(PhantomData); impl frame_system::WeightInfo for WeightInfo { /// The range of component `b` is `[0, 3932160]`. fn remark(b: u32, ) -> Weight { - // Minimum execution time: 5_630 nanoseconds. - Weight::from_ref_time(6_375_062_u64) + // Minimum execution time: 4_210 nanoseconds. + Weight::from_parts(5_197_456_u64, 0) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(289_u64).saturating_mul(b as u64)) + .saturating_add(Weight::from_parts(290_u64, 0).saturating_mul(b as u64)) } // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { - // Minimum execution time: 18_250 nanoseconds. - Weight::from_ref_time(36_605_943_u64) + // Minimum execution time: 16_790 nanoseconds. + Weight::from_parts(20_785_815_u64, 0) // Standard Error: 2 - .saturating_add(Weight::from_ref_time(1_719_u64).saturating_mul(b as u64)) + .saturating_add(Weight::from_parts(1_526_u64, 0).saturating_mul(b as u64)) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } // Storage: System Digest (r:1 w:1) - // Storage: unknown [0x3a686561707061676573] (r:0 w:1) + // Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) + // Storage: unknown `0x3a686561707061676573` (r:0 w:1) + // Proof Skipped: unknown `0x3a686561707061676573` (r:0 w:1) fn set_heap_pages() -> Weight { - // Minimum execution time: 11_811 nanoseconds. - Weight::from_ref_time(12_250_000_u64) + // Minimum execution time: 7_130 nanoseconds. + Weight::from_parts(7_700_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } // Storage: Skipped Metadata (r:0 w:0) + // Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `i` is `[0, 1000]`. fn set_storage(i: u32, ) -> Weight { - // Minimum execution time: 5_460 nanoseconds. - Weight::from_ref_time(5_711_000_u64) - // Standard Error: 2_073 - .saturating_add(Weight::from_ref_time(893_324_u64).saturating_mul(i as u64)) + // Minimum execution time: 4_130 nanoseconds. + Weight::from_parts(4_270_000_u64, 0) + // Standard Error: 1_873 + .saturating_add(Weight::from_parts(1_091_659_u64, 0).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i as u64))) } // Storage: Skipped Metadata (r:0 w:0) + // Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `i` is `[0, 1000]`. fn kill_storage(i: u32, ) -> Weight { - // Minimum execution time: 5_630 nanoseconds. - Weight::from_ref_time(5_810_000_u64) - // Standard Error: 874 - .saturating_add(Weight::from_ref_time(617_297_u64).saturating_mul(i as u64)) + // Minimum execution time: 4_200 nanoseconds. + Weight::from_parts(4_360_000_u64, 0) + // Standard Error: 884 + .saturating_add(Weight::from_parts(727_300_u64, 0).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i as u64))) } // Storage: Skipped Metadata (r:0 w:0) + // Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { - // Minimum execution time: 8_620 nanoseconds. - Weight::from_ref_time(8_811_000_u64) - // Standard Error: 1_105 - .saturating_add(Weight::from_ref_time(1_200_946_u64).saturating_mul(p as u64)) + // Minimum execution time: 7_409 nanoseconds. + Weight::from_parts(7_580_000_u64, 0) + // Standard Error: 1_174 + .saturating_add(Weight::from_parts(1_309_080_u64, 0).saturating_mul(p as u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p as u64))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p as u64))) } } diff --git a/runtimes/eden/src/weights/mod.rs b/runtimes/eden/src/weights/mod.rs index 23a52c771fc..a420a076e35 100644 --- a/runtimes/eden/src/weights/mod.rs +++ b/runtimes/eden/src/weights/mod.rs @@ -9,6 +9,7 @@ pub mod pallet_scheduler; pub mod pallet_timestamp; pub mod pallet_uniques; pub mod pallet_utility; +pub mod pallet_xcm; mod pallet_xcm_benchmarks_fungible; mod pallet_xcm_benchmarks_generic; @@ -16,14 +17,15 @@ mod pallet_xcm_benchmarks_generic; use crate::Runtime; use frame_support::weights::Weight; +use pallet_xcm_benchmarks_fungible::WeightInfo as XcmBalancesWeight; +use pallet_xcm_benchmarks_generic::WeightInfo as XcmGeneric; + +use sp_std::vec::Vec; use xcm::{ - v2::{prelude::*, Weight as XCMWeight}, + latest::{prelude::*, Error, MaybeErrorCode, QueryResponseInfo}, DoubleEncoded, }; -use pallet_xcm_benchmarks_fungible::WeightInfo as XcmBalancesWeight; -use pallet_xcm_benchmarks_generic::WeightInfo as XcmGeneric; - /// Types of asset supported by the Nodle runtime. #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum AssetTypes { @@ -56,15 +58,15 @@ impl From<&MultiAsset> for AssetTypes { } trait WeighMultiAssets { - fn weigh_multi_assets(&self, balances_weight: Weight) -> XCMWeight; + fn weigh_multi_assets(&self, balances_weight: Weight) -> Weight; } -// Kusama only knows about one asset, the balances pallet. -const MAX_ASSETS: u32 = 1; +// Nodle only knows about one asset, the balances pallet. +const MAX_ASSETS: u64 = 1; impl WeighMultiAssets for MultiAssetFilter { - fn weigh_multi_assets(&self, balances_weight: Weight) -> XCMWeight { - let weight = match self { + fn weigh_multi_assets(&self, balances_weight: Weight) -> Weight { + match self { Self::Definite(assets) => assets .inner() .iter() @@ -74,136 +76,275 @@ impl WeighMultiAssets for MultiAssetFilter { AssetTypes::Unknown => Weight::MAX, }) .fold(Weight::zero(), |acc, x| acc.saturating_add(x)), - Self::Wild(_) => balances_weight.saturating_mul(MAX_ASSETS as u64), - }; - - weight.ref_time() + // We don't support any NFTs on Kusama, so these two variants will always match + // only 1 kind of fungible asset. + Self::Wild(AllOf { .. } | AllOfCounted { .. }) => balances_weight, + Self::Wild(AllCounted(count)) => balances_weight.saturating_mul(MAX_ASSETS.min(*count as u64)), + Self::Wild(All) => balances_weight.saturating_mul(MAX_ASSETS), + } } } impl WeighMultiAssets for MultiAssets { - fn weigh_multi_assets(&self, balances_weight: Weight) -> XCMWeight { - let weight = self - .inner() + fn weigh_multi_assets(&self, balances_weight: Weight) -> Weight { + self.inner() .iter() - .map(AssetTypes::from) + .map(>::from) .map(|t| match t { AssetTypes::Balances => balances_weight, AssetTypes::Unknown => Weight::MAX, }) - .fold(Weight::zero(), |acc, x| acc.saturating_add(x)); - - weight.ref_time() + .fold(Weight::zero(), |acc, x| acc.saturating_add(x)) } } pub struct NodleXcmWeight(core::marker::PhantomData); -impl XcmWeightInfo for NodleXcmWeight { - fn withdraw_asset(assets: &MultiAssets) -> XCMWeight { +impl cumulus_primitives_core::XcmWeightInfo for NodleXcmWeight { + fn withdraw_asset(assets: &xcm::latest::MultiAssets) -> Weight { assets.weigh_multi_assets(XcmBalancesWeight::::withdraw_asset()) } - fn reserve_asset_deposited(assets: &MultiAssets) -> XCMWeight { - assets.weigh_multi_assets(XcmBalancesWeight::::reserve_asset_deposited()) + + fn reserve_asset_deposited(assets: &xcm::latest::MultiAssets) -> Weight { + // TODO https://github.com/NodleCode/chain/issues/738 create benchmark for + // reserve_asset_deposited in pallet_xcm_benchmarks_fungible::WeightInfo and use it here + assets.weigh_multi_assets(Weight::from_parts(2_000_000_000_000_u64, 0)) } - fn receive_teleported_asset(assets: &MultiAssets) -> XCMWeight { + + fn receive_teleported_asset(assets: &xcm::latest::MultiAssets) -> Weight { assets.weigh_multi_assets(XcmBalancesWeight::::receive_teleported_asset()) } - fn query_response(_query_id: &u64, _response: &Response, _max_weight: &u64) -> XCMWeight { - XcmGeneric::::query_response().ref_time() - } - fn transfer_asset(assets: &MultiAssets, _dest: &MultiLocation) -> XCMWeight { + + fn transfer_asset(assets: &xcm::latest::MultiAssets, _beneficiary: &xcm::latest::MultiLocation) -> Weight { assets.weigh_multi_assets(XcmBalancesWeight::::transfer_asset()) } - fn transfer_reserve_asset(assets: &MultiAssets, _dest: &MultiLocation, _xcm: &Xcm<()>) -> XCMWeight { + + fn transfer_reserve_asset( + assets: &xcm::latest::MultiAssets, + _dest: &xcm::latest::MultiLocation, + _xcm: &xcm::latest::Xcm<()>, + ) -> Weight { assets.weigh_multi_assets(XcmBalancesWeight::::transfer_reserve_asset()) } + + fn deposit_asset(assets: &xcm::latest::MultiAssetFilter, _beneficiary: &xcm::latest::MultiLocation) -> Weight { + assets.weigh_multi_assets(XcmBalancesWeight::::deposit_asset()) + } + + fn deposit_reserve_asset( + assets: &xcm::latest::MultiAssetFilter, + _dest: &xcm::latest::MultiLocation, + _xcm: &xcm::latest::Xcm<()>, + ) -> Weight { + assets.weigh_multi_assets(XcmBalancesWeight::::deposit_reserve_asset()) + } + + fn initiate_teleport( + assets: &xcm::latest::MultiAssetFilter, + _dest: &xcm::latest::MultiLocation, + _xcm: &xcm::latest::Xcm<()>, + ) -> Weight { + assets.weigh_multi_assets(XcmBalancesWeight::::initiate_teleport()) + } + + fn query_response( + _query_id: &xcm::latest::QueryId, + _response: &xcm::latest::Response, + _max_weight: &Weight, + _querier: &Option, + ) -> Weight { + XcmGeneric::::query_response() + } + fn transact( - _origin_type: &OriginKind, - _require_weight_at_most: &u64, + _origin_kind: &OriginKind, + _require_weight_at_most: &Weight, _call: &DoubleEncoded, - ) -> XCMWeight { - XcmGeneric::::transact().ref_time() + ) -> Weight { + XcmGeneric::::transact() } - fn hrmp_new_channel_open_request(_sender: &u32, _max_message_size: &u32, _max_capacity: &u32) -> XCMWeight { - // XCM Executor does not currently support HRMP channel operations - Weight::MAX.ref_time() + + fn clear_origin() -> Weight { + XcmGeneric::::clear_origin() } - fn hrmp_channel_accepted(_recipient: &u32) -> XCMWeight { - // XCM Executor does not currently support HRMP channel operations - Weight::MAX.ref_time() + + fn descend_origin(_who: &xcm::latest::InteriorMultiLocation) -> Weight { + XcmGeneric::::descend_origin() } - fn hrmp_channel_closing(_initiator: &u32, _sender: &u32, _recipient: &u32) -> XCMWeight { - // XCM Executor does not currently support HRMP channel operations - Weight::MAX.ref_time() + + fn report_error(_response_info: &QueryResponseInfo) -> Weight { + XcmGeneric::::report_error() } - fn clear_origin() -> XCMWeight { - XcmGeneric::::clear_origin().ref_time() + + fn initiate_reserve_withdraw( + _assets: &xcm::latest::MultiAssetFilter, + _reserve: &xcm::latest::MultiLocation, + _xcm: &xcm::latest::Xcm<()>, + ) -> Weight { + XcmGeneric::::initiate_reserve_withdraw() } - fn descend_origin(_who: &InteriorMultiLocation) -> XCMWeight { - XcmGeneric::::descend_origin().ref_time() + + fn report_holding(_response_info: &QueryResponseInfo, _assets: &xcm::latest::MultiAssetFilter) -> Weight { + XcmGeneric::::report_holding() } - fn report_error(_query_id: &QueryId, _dest: &MultiLocation, _max_response_weight: &u64) -> XCMWeight { - XcmGeneric::::report_error().ref_time() + + fn buy_execution(_fees: &xcm::latest::MultiAsset, _weight_limit: &xcm::latest::WeightLimit) -> Weight { + XcmGeneric::::buy_execution() } - fn deposit_asset( - assets: &MultiAssetFilter, - _max_assets: &u32, // TODO use max assets? - _dest: &MultiLocation, - ) -> XCMWeight { - assets.weigh_multi_assets(XcmBalancesWeight::::deposit_asset()) + fn refund_surplus() -> Weight { + XcmGeneric::::refund_surplus() } - fn deposit_reserve_asset( - assets: &MultiAssetFilter, - _max_assets: &u32, // TODO use max assets? - _dest: &MultiLocation, - _xcm: &Xcm<()>, - ) -> XCMWeight { - assets.weigh_multi_assets(XcmBalancesWeight::::deposit_reserve_asset()) + + fn set_error_handler(_xcm: &xcm::latest::Xcm) -> Weight { + XcmGeneric::::set_error_handler() } - fn exchange_asset(_give: &MultiAssetFilter, _receive: &MultiAssets) -> XCMWeight { - Weight::MAX.ref_time() // todo fix + + fn set_appendix(_xcm: &xcm::latest::Xcm) -> Weight { + XcmGeneric::::set_appendix() } - fn initiate_reserve_withdraw(assets: &MultiAssetFilter, _reserve: &MultiLocation, _xcm: &Xcm<()>) -> XCMWeight { - assets.weigh_multi_assets(XcmGeneric::::initiate_reserve_withdraw()) + + fn clear_error() -> Weight { + XcmGeneric::::clear_error() } - fn initiate_teleport(assets: &MultiAssetFilter, _dest: &MultiLocation, _xcm: &Xcm<()>) -> XCMWeight { - assets.weigh_multi_assets(XcmBalancesWeight::::initiate_teleport()) + + fn claim_asset(_assets: &xcm::latest::MultiAssets, _ticket: &xcm::latest::MultiLocation) -> Weight { + XcmGeneric::::claim_asset() + } + + fn trap(_code: &u64) -> Weight { + XcmGeneric::::trap() + } + + fn subscribe_version(_query_id: &xcm::latest::QueryId, _max_response_weight: &Weight) -> Weight { + XcmGeneric::::subscribe_version() + } + + fn unsubscribe_version() -> Weight { + XcmGeneric::::unsubscribe_version() + } + + fn burn_asset(_assets: &xcm::latest::MultiAssets) -> Weight { + XcmGeneric::::burn_asset() + } + + fn expect_asset(_assets: &xcm::latest::MultiAssets) -> Weight { + XcmGeneric::::expect_asset() + } + + fn expect_origin(_origin: &Option) -> Weight { + XcmGeneric::::expect_origin() + } + + fn expect_error(_error: &Option<(u32, Error)>) -> Weight { + XcmGeneric::::expect_error() + } + + fn expect_transact_status(_transact_status: &MaybeErrorCode) -> Weight { + XcmGeneric::::expect_transact_status() + } + + fn query_pallet(_module_name: &Vec, _response_info: &QueryResponseInfo) -> Weight { + XcmGeneric::::query_pallet() + } + + fn expect_pallet( + _index: &u32, + _name: &Vec, + _module_name: &Vec, + _crate_major: &u32, + _min_crate_minor: &u32, + ) -> Weight { + XcmGeneric::::expect_pallet() + } + + fn report_transact_status(_response_info: &QueryResponseInfo) -> Weight { + XcmGeneric::::report_transact_status() + } + + fn clear_transact_status() -> Weight { + XcmGeneric::::clear_transact_status() } - fn query_holding( - _query_id: &u64, - _dest: &MultiLocation, - _assets: &MultiAssetFilter, - _max_response_weight: &u64, - ) -> XCMWeight { - XcmGeneric::::query_holding().ref_time() + + fn set_fees_mode(_jit_withdraw: &bool) -> Weight { + XcmGeneric::::set_fees_mode() } - fn buy_execution(_fees: &MultiAsset, _weight_limit: &WeightLimit) -> XCMWeight { - XcmGeneric::::buy_execution().ref_time() + + fn set_topic(_topic: &[u8; 32]) -> Weight { + XcmGeneric::::set_topic() } - fn refund_surplus() -> XCMWeight { - XcmGeneric::::refund_surplus().ref_time() + + fn clear_topic() -> Weight { + XcmGeneric::::clear_topic() } - fn set_error_handler(_xcm: &Xcm) -> XCMWeight { - XcmGeneric::::set_error_handler().ref_time() + + fn unpaid_execution( + _weight_limit: &xcm::latest::WeightLimit, + _check_origin: &Option, + ) -> Weight { + XcmGeneric::::unpaid_execution() } - fn set_appendix(_xcm: &Xcm) -> XCMWeight { - XcmGeneric::::set_appendix().ref_time() + + fn hrmp_new_channel_open_request(_sender: &u32, _max_message_size: &u32, _max_capacity: &u32) -> Weight { + // XCM Executor does not currently support HRMP channel operations + Weight::MAX } - fn clear_error() -> XCMWeight { - XcmGeneric::::clear_error().ref_time() + + fn hrmp_channel_accepted(_recipient: &u32) -> Weight { + // XCM Executor does not currently support HRMP channel operations + Weight::MAX } - fn claim_asset(_assets: &MultiAssets, _ticket: &MultiLocation) -> XCMWeight { - XcmGeneric::::claim_asset().ref_time() + + fn hrmp_channel_closing(_initiator: &u32, _sender: &u32, _recipient: &u32) -> Weight { + // XCM Executor does not currently support HRMP channel operations + Weight::MAX } - fn trap(_code: &u64) -> XCMWeight { - XcmGeneric::::trap().ref_time() + + fn exchange_asset( + _give: &xcm::latest::MultiAssetFilter, + _want: &xcm::latest::MultiAssets, + _maximal: &bool, + ) -> Weight { + // Nodle XCM Executor does not support exchange asset + Weight::MAX } - fn subscribe_version(_query_id: &QueryId, _max_response_weight: &u64) -> XCMWeight { - XcmGeneric::::subscribe_version().ref_time() + + fn universal_origin(_junction: &xcm::latest::Junction) -> Weight { + // Nodle Xcm Executor does not have a configured `UniversalAliases` needed for this + Weight::MAX } - fn unsubscribe_version() -> XCMWeight { - XcmGeneric::::unsubscribe_version().ref_time() + + fn export_message( + _network: &xcm::latest::NetworkId, + _destination: &xcm::latest::InteriorMultiLocation, + _xcm: &xcm::latest::Xcm<()>, + ) -> Weight { + // To be fixed upstream + Weight::MAX + } + + fn lock_asset(_asset: &xcm::latest::MultiAsset, _unlocker: &xcm::latest::MultiLocation) -> Weight { + // Nodle Xcm Executor does not support locking/unlocking assets + Weight::MAX + } + + fn unlock_asset(_asset: &xcm::latest::MultiAsset, _target: &xcm::latest::MultiLocation) -> Weight { + // Nodle Xcm Executor does not support locking/unlocking assets + Weight::MAX + } + + fn note_unlockable(_asset: &xcm::latest::MultiAsset, _owner: &xcm::latest::MultiLocation) -> Weight { + // Nodle Xcm Executor does not support locking/unlocking assets + Weight::MAX + } + + fn request_unlock(_asset: &xcm::latest::MultiAsset, _locker: &xcm::latest::MultiLocation) -> Weight { + // Nodle Xcm Executor does not support locking/unlocking assets + Weight::MAX + } + + fn alias_origin(_origin: &xcm::latest::MultiLocation) -> Weight { + // XCM Executor does not currently support alias origin operations + Weight::MAX } } @@ -254,14 +395,14 @@ mod test { assert_eq!(asset_type, AssetTypes::Unknown); let asset = MultiAsset { - id: Abstract(vec![]), + id: Abstract([0_u8; 32]), fun: Fungible(100), }; let asset_type = AssetTypes::from(&asset); assert_eq!(asset_type, AssetTypes::Unknown); let asset = MultiAsset { - id: Abstract(vec![]), + id: Abstract([0_u8; 32]), fun: NonFungible(AssetInstance::Index(0)), }; let asset_type = AssetTypes::from(&asset); diff --git a/runtimes/eden/src/weights/pallet_balances.rs b/runtimes/eden/src/weights/pallet_balances.rs index 03f0a23bce5..333901bb132 100644 --- a/runtimes/eden/src/weights/pallet_balances.rs +++ b/runtimes/eden/src/weights/pallet_balances.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_balances //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-14, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `chain-bench-012bd056`, CPU: `AMD EPYC 7B13` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -48,81 +48,118 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn transfer() -> Weight { - // Minimum execution time: 74_220 nanoseconds. - Weight::from_ref_time(76_420_000_u64) + // Minimum execution time: 87_870 nanoseconds. + Weight::from_parts(89_400_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: System Account (r:1 w:1) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn transfer_keep_alive() -> Weight { - // Minimum execution time: 47_280 nanoseconds. - Weight::from_ref_time(48_560_000_u64) + // Minimum execution time: 50_130 nanoseconds. + Weight::from_parts(51_250_000_u64, 0) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::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) // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn set_balance_creating() -> Weight { - // Minimum execution time: 32_340 nanoseconds. - Weight::from_ref_time(33_390_000_u64) + // Minimum execution time: 32_600 nanoseconds. + Weight::from_parts(33_800_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: System Account (r:1 w:1) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn set_balance_killing() -> Weight { - // Minimum execution time: 36_800 nanoseconds. - Weight::from_ref_time(37_650_000_u64) + // Minimum execution time: 38_950 nanoseconds. + Weight::from_parts(39_971_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: System Account (r:3 w:3) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn force_transfer() -> Weight { - // Minimum execution time: 73_790 nanoseconds. - Weight::from_ref_time(76_160_000_u64) + // Minimum execution time: 90_040 nanoseconds. + Weight::from_parts(91_280_000_u64, 0) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:1) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn transfer_all() -> Weight { - // Minimum execution time: 56_280 nanoseconds. - Weight::from_ref_time(58_090_000_u64) + // Minimum execution time: 62_169 nanoseconds. + Weight::from_parts(63_220_000_u64, 0) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::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) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn force_unreserve() -> Weight { - // Minimum execution time: 28_720 nanoseconds. - Weight::from_ref_time(30_000_000_u64) + // Minimum execution time: 28_520 nanoseconds. + Weight::from_parts(29_391_000_u64, 0) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } diff --git a/runtimes/eden/src/weights/pallet_collator_selection.rs b/runtimes/eden/src/weights/pallet_collator_selection.rs index 51935e081c8..383a63be1f9 100644 --- a/runtimes/eden/src/weights/pallet_collator_selection.rs +++ b/runtimes/eden/src/weights/pallet_collator_selection.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_collator_selection //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-14, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `chain-bench-012bd056`, CPU: `AMD EPYC 7B13` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -47,107 +47,155 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_collator_selection`. pub struct WeightInfo(PhantomData); impl pallet_collator_selection::WeightInfo for WeightInfo { - // Storage: Session NextKeys (r:1 w:0) + // Storage: Session NextKeys (r:50 w:0) + // Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: CollatorSelection Invulnerables (r:0 w:1) + // Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(1601), added: 2096, mode: MaxEncodedLen) /// The range of component `b` is `[1, 50]`. fn set_invulnerables(b: u32, ) -> Weight { - // Minimum execution time: 27_780 nanoseconds. - Weight::from_ref_time(28_070_560_u64) - // Standard Error: 6_456 - .saturating_add(Weight::from_ref_time(3_766_033_u64).saturating_mul(b as u64)) + // Minimum execution time: 25_600 nanoseconds. + Weight::from_parts(25_553_609_u64, 0) + // Standard Error: 8_547 + .saturating_add(Weight::from_parts(4_358_161_u64, 0).saturating_mul(b as u64)) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b as u64))) .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: CollatorSelection DesiredCandidates (r:0 w:1) + // Proof: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn set_desired_candidates() -> Weight { - // Minimum execution time: 17_570 nanoseconds. - Weight::from_ref_time(18_360_000_u64) + // Minimum execution time: 14_931 nanoseconds. + Weight::from_parts(15_569_000_u64, 0) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: CollatorSelection CandidacyBond (r:0 w:1) + // Proof: CollatorSelection CandidacyBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn set_candidacy_bond() -> Weight { - // Minimum execution time: 17_889 nanoseconds. - Weight::from_ref_time(18_790_000_u64) + // Minimum execution time: 15_480 nanoseconds. + Weight::from_parts(16_330_000_u64, 0) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: CollatorSelection Candidates (r:1 w:1) + // Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(48002), added: 48497, mode: MaxEncodedLen) // Storage: CollatorSelection DesiredCandidates (r:1 w:0) + // Proof: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: CollatorSelection Invulnerables (r:1 w:0) + // Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(1601), added: 2096, mode: MaxEncodedLen) // Storage: Session NextKeys (r:1 w:0) + // Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) // Storage: CollatorSelection CandidacyBond (r:1 w:0) + // Proof: CollatorSelection CandidacyBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) + // Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// The range of component `c` is `[1, 999]`. fn register_as_candidate(c: u32, ) -> Weight { - // Minimum execution time: 63_310 nanoseconds. - Weight::from_ref_time(70_677_534_u64) - // Standard Error: 1_248 - .saturating_add(Weight::from_ref_time(109_861_u64).saturating_mul(c as u64)) + // Minimum execution time: 65_320 nanoseconds. + Weight::from_parts(71_084_219_u64, 0) + // Standard Error: 972 + .saturating_add(Weight::from_parts(89_481_u64, 0).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: CollatorSelection Candidates (r:1 w:1) + // Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(48002), added: 48497, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) + // Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// The range of component `c` is `[6, 1000]`. fn leave_intent(c: u32, ) -> Weight { - // Minimum execution time: 48_920 nanoseconds. - Weight::from_ref_time(51_137_790_u64) - // Standard Error: 1_122 - .saturating_add(Weight::from_ref_time(105_231_u64).saturating_mul(c as u64)) + // Minimum execution time: 51_110 nanoseconds. + Weight::from_parts(52_782_899_u64, 0) + // Standard Error: 1_027 + .saturating_add(Weight::from_parts(91_496_u64, 0).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: System Account (r:2 w:2) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System BlockWeight (r:1 w:1) + // Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) + // Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) fn note_author() -> Weight { - // Minimum execution time: 49_130 nanoseconds. - Weight::from_ref_time(50_350_000_u64) + // Minimum execution time: 56_380 nanoseconds. + Weight::from_parts(57_620_000_u64, 0) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } // Storage: System Number (r:1 w:0) - // Storage: CollatorSelection Candidates (r:1 w:1) - // Storage: CollatorSelection LastAuthoredBlock (r:1000 w:1) - // Storage: System Account (r:1 w:1) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: CollatorSelection Candidates (r:1 w:0) + // Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(48002), added: 48497, mode: MaxEncodedLen) + // Storage: CollatorSelection LastAuthoredBlock (r:999 w:0) + // Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) + // Storage: CollatorSelection Invulnerables (r:1 w:0) + // Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(1601), added: 2096, mode: MaxEncodedLen) + // Storage: System BlockWeight (r:1 w:1) + // Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) + // Storage: System Account (r:995 w:995) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) - // Storage: CollatorSelection Invulnerables (r:1 w:0) - // Storage: System BlockWeight (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `r` is `[1, 1000]`. /// The range of component `c` is `[1, 1000]`. fn new_session(_r: u32, c: u32, ) -> Weight { - // Minimum execution time: 29_880 nanoseconds. - Weight::from_ref_time(30_800_000_u64) - // Standard Error: 958_801 - .saturating_add(Weight::from_ref_time(34_266_082_u64).saturating_mul(c as u64)) + // Minimum execution time: 29_889 nanoseconds. + Weight::from_parts(30_720_000_u64, 0) + // Standard Error: 1_121_174 + .saturating_add(Weight::from_parts(39_417_988_u64, 0).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c as u64))) .saturating_add(T::DbWeight::get().writes(1_u64)) diff --git a/runtimes/eden/src/weights/pallet_contracts.rs b/runtimes/eden/src/weights/pallet_contracts.rs index 48c8e7a7662..59052fbd182 100644 --- a/runtimes/eden/src/weights/pallet_contracts.rs +++ b/runtimes/eden/src/weights/pallet_contracts.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_contracts //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `chain-bench-012bd056`, CPU: `AMD EPYC 7B13` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -48,1523 +48,2077 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_contracts::weights::WeightInfo for WeightInfo { // Storage: Contracts DeletionQueue (r:1 w:0) + // Proof: Contracts DeletionQueue (max_values: Some(1), max_size: Some(728002), added: 728497, mode: Measured) fn on_process_deletion_queue_batch() -> Weight { - // Minimum execution time: 4_040 nanoseconds. - Weight::from_ref_time(4_330_000_u64) + // Minimum execution time: 4_100 nanoseconds. + Weight::from_parts(4_451_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) } // Storage: Skipped Metadata (r:0 w:0) + // Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `k` is `[0, 1024]`. fn on_initialize_per_trie_key(k: u32, ) -> Weight { - // Minimum execution time: 20_230 nanoseconds. - Weight::from_ref_time(2_667_006_u64) - // Standard Error: 1_811 - .saturating_add(Weight::from_ref_time(1_146_184_u64).saturating_mul(k as u64)) + // Minimum execution time: 19_050 nanoseconds. + Weight::from_parts(10_693_013_u64, 0) + // Standard Error: 1_129 + .saturating_add(Weight::from_parts(1_182_894_u64, 0).saturating_mul(k as u64)) .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k as u64))) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k as u64))) } - // Storage: Contracts DeletionQueue (r:1 w:0) + // Storage: Contracts DeletionQueue (r:1 w:1) + // Proof: Contracts DeletionQueue (max_values: Some(1), max_size: Some(728002), added: 728497, mode: Measured) /// The range of component `q` is `[0, 1024]`. fn on_initialize_per_queue_item(q: u32, ) -> Weight { - // Minimum execution time: 4_040 nanoseconds. - Weight::from_ref_time(854_616_u64) - // Standard Error: 8_138 - .saturating_add(Weight::from_ref_time(1_785_713_u64).saturating_mul(q as u64)) + // Minimum execution time: 4_220 nanoseconds. + Weight::from_parts(10_241_677_u64, 0) + // Standard Error: 3_665 + .saturating_add(Weight::from_parts(2_145_540_u64, 0).saturating_mul(q as u64)) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: Contracts PristineCode (r:1 w:0) + // Proof: Contracts PristineCode (max_values: None, max_size: Some(125988), added: 128463, mode: Measured) // Storage: Contracts CodeStorage (r:0 w:1) - /// The range of component `c` is `[0, 64226]`. + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) + /// The range of component `c` is `[0, 61717]`. fn reinstrument(c: u32, ) -> Weight { - // Minimum execution time: 40_420 nanoseconds. - Weight::from_ref_time(43_473_252_u64) - // Standard Error: 56 - .saturating_add(Weight::from_ref_time(64_675_u64).saturating_mul(c as u64)) + // Minimum execution time: 49_550 nanoseconds. + Weight::from_parts(53_428_066_u64, 0) + // Standard Error: 55 + .saturating_add(Weight::from_parts(65_989_u64, 0).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Account (r:1 w:1) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) - /// The range of component `c` is `[0, 131072]`. + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) + /// The range of component `c` is `[0, 125952]`. fn call_with_code_per_byte(c: u32, ) -> Weight { - // Minimum execution time: 395_180 nanoseconds. - Weight::from_ref_time(428_159_006_u64) - // Standard Error: 27 - .saturating_add(Weight::from_ref_time(33_486_u64).saturating_mul(c as u64)) + // Minimum execution time: 458_409 nanoseconds. + Weight::from_parts(484_246_957_u64, 0) + // Standard Error: 44 + .saturating_add(Weight::from_parts(36_411_u64, 0).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } - // Storage: Contracts CodeStorage (r:1 w:1) + // Storage: Contracts OwnerInfoOf (r:1 w:1) + // Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts Nonce (r:1 w:1) + // Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) - // Storage: System Account (r:1 w:1) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) + // Storage: System Account (r:2 w:2) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:3 w:3) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) + // Storage: Contracts CodeStorage (r:0 w:1) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Contracts PristineCode (r:0 w:1) - // Storage: Contracts OwnerInfoOf (r:0 w:1) - /// The range of component `c` is `[0, 64226]`. + // Proof: Contracts PristineCode (max_values: None, max_size: Some(125988), added: 128463, mode: Measured) + /// The range of component `c` is `[0, 61717]`. /// The range of component `i` is `[0, 1048576]`. /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, i: u32, s: u32, ) -> Weight { - // Minimum execution time: 4_694_959 nanoseconds. - Weight::from_ref_time(318_372_811_u64) - // Standard Error: 340 - .saturating_add(Weight::from_ref_time(115_957_u64).saturating_mul(c as u64)) - // Standard Error: 20 - .saturating_add(Weight::from_ref_time(2_087_u64).saturating_mul(i as u64)) - // Standard Error: 20 - .saturating_add(Weight::from_ref_time(2_168_u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(11_u64)) + // Minimum execution time: 4_538_659 nanoseconds. + Weight::from_parts(659_440_049_u64, 0) + // Standard Error: 140 + .saturating_add(Weight::from_parts(117_236_u64, 0).saturating_mul(c as u64)) + // Standard Error: 8 + .saturating_add(Weight::from_parts(1_930_u64, 0).saturating_mul(i as u64)) + // Standard Error: 8 + .saturating_add(Weight::from_parts(1_830_u64, 0).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(14_u64)) + .saturating_add(T::DbWeight::get().writes(12_u64)) } - // Storage: Contracts CodeStorage (r:1 w:1) + // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts Nonce (r:1 w:1) + // Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) - // Storage: System Account (r:1 w:1) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) + // Storage: System Account (r:2 w:2) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Contracts OwnerInfoOf (r:1 w:1) + // Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `i` is `[0, 1048576]`. /// The range of component `s` is `[0, 1048576]`. fn instantiate(i: u32, s: u32, ) -> Weight { - // Minimum execution time: 2_371_569 nanoseconds. - Weight::from_ref_time(362_118_917_u64) - // Standard Error: 8 - .saturating_add(Weight::from_ref_time(1_961_u64).saturating_mul(i as u64)) - // Standard Error: 8 - .saturating_add(Weight::from_ref_time(2_012_u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(13_u64)) + // Minimum execution time: 2_349_590 nanoseconds. + Weight::from_parts(477_379_851_u64, 0) + // Standard Error: 7 + .saturating_add(Weight::from_parts(1_895_u64, 0).saturating_mul(i as u64)) + // Standard Error: 7 + .saturating_add(Weight::from_parts(1_813_u64, 0).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().writes(9_u64)) } // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Account (r:1 w:1) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) fn call() -> Weight { - // Minimum execution time: 234_500 nanoseconds. - Weight::from_ref_time(241_240_000_u64) + // Minimum execution time: 293_030 nanoseconds. + Weight::from_parts(298_560_000_u64, 0) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } - // Storage: Contracts CodeStorage (r:1 w:1) + // Storage: Contracts OwnerInfoOf (r:1 w:1) + // Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:1 w:1) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) + // Storage: Contracts CodeStorage (r:0 w:1) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Contracts PristineCode (r:0 w:1) - // Storage: Contracts OwnerInfoOf (r:0 w:1) - /// The range of component `c` is `[0, 64226]`. + // Proof: Contracts PristineCode (max_values: None, max_size: Some(125988), added: 128463, mode: Measured) + /// The range of component `c` is `[0, 61717]`. fn upload_code(c: u32, ) -> Weight { - // Minimum execution time: 394_190 nanoseconds. - Weight::from_ref_time(397_502_889_u64) - // Standard Error: 157 - .saturating_add(Weight::from_ref_time(117_882_u64).saturating_mul(c as u64)) + // Minimum execution time: 465_930 nanoseconds. + Weight::from_parts(474_139_397_u64, 0) + // Standard Error: 150 + .saturating_add(Weight::from_parts(118_101_u64, 0).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } // Storage: Contracts OwnerInfoOf (r:1 w:1) + // Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:1 w:1) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) // Storage: Contracts CodeStorage (r:0 w:1) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Contracts PristineCode (r:0 w:1) + // Proof: Contracts PristineCode (max_values: None, max_size: Some(125988), added: 128463, mode: Measured) fn remove_code() -> Weight { - // Minimum execution time: 50_500 nanoseconds. - Weight::from_ref_time(52_110_000_u64) + // Minimum execution time: 50_800 nanoseconds. + Weight::from_parts(51_410_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts OwnerInfoOf (r:2 w:2) + // Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:3 w:3) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) fn set_code() -> Weight { - // Minimum execution time: 52_810 nanoseconds. - Weight::from_ref_time(54_080_000_u64) + // Minimum execution time: 53_050 nanoseconds. + Weight::from_parts(54_130_000_u64, 0) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_caller(r: u32, ) -> Weight { - // Minimum execution time: 381_670 nanoseconds. - Weight::from_ref_time(392_867_447_u64) - // Standard Error: 37_787 - .saturating_add(Weight::from_ref_time(29_748_244_u64).saturating_mul(r as u64)) + // Minimum execution time: 439_820 nanoseconds. + Weight::from_parts(452_734_328_u64, 0) + // Standard Error: 40_316 + .saturating_add(Weight::from_parts(44_180_034_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) + // Storage: Contracts ContractInfoOf (r:1601 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_is_contract(r: u32, ) -> Weight { - // Minimum execution time: 384_060 nanoseconds. - Weight::from_ref_time(378_427_027_u64) - // Standard Error: 291_810 - .saturating_add(Weight::from_ref_time(275_783_753_u64).saturating_mul(r as u64)) + // Minimum execution time: 441_820 nanoseconds. + Weight::from_parts(273_809_732_u64, 0) + // Standard Error: 577_677 + .saturating_add(Weight::from_parts(377_482_071_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) + // Storage: Contracts ContractInfoOf (r:1601 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_code_hash(r: u32, ) -> Weight { - // Minimum execution time: 384_960 nanoseconds. - Weight::from_ref_time(383_878_470_u64) - // Standard Error: 361_870 - .saturating_add(Weight::from_ref_time(356_983_693_u64).saturating_mul(r as u64)) + // Minimum execution time: 443_800 nanoseconds. + Weight::from_parts(273_450_156_u64, 0) + // Standard Error: 592_828 + .saturating_add(Weight::from_parts(500_818_870_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_own_code_hash(r: u32, ) -> Weight { - // Minimum execution time: 383_240 nanoseconds. - Weight::from_ref_time(393_978_144_u64) - // Standard Error: 44_827 - .saturating_add(Weight::from_ref_time(37_797_968_u64).saturating_mul(r as u64)) + // Minimum execution time: 439_710 nanoseconds. + Weight::from_parts(454_439_392_u64, 0) + // Standard Error: 44_914 + .saturating_add(Weight::from_parts(58_897_362_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_caller_is_origin(r: u32, ) -> Weight { - // Minimum execution time: 377_689 nanoseconds. - Weight::from_ref_time(389_789_859_u64) - // Standard Error: 24_089 - .saturating_add(Weight::from_ref_time(12_642_640_u64).saturating_mul(r as u64)) + // Minimum execution time: 434_549 nanoseconds. + Weight::from_parts(447_266_882_u64, 0) + // Standard Error: 22_312 + .saturating_add(Weight::from_parts(13_746_609_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_address(r: u32, ) -> Weight { - // Minimum execution time: 381_810 nanoseconds. - Weight::from_ref_time(393_887_298_u64) - // Standard Error: 37_246 - .saturating_add(Weight::from_ref_time(30_661_656_u64).saturating_mul(r as u64)) + // Minimum execution time: 439_309 nanoseconds. + Weight::from_parts(452_684_846_u64, 0) + // Standard Error: 45_612 + .saturating_add(Weight::from_parts(43_890_240_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_gas_left(r: u32, ) -> Weight { - // Minimum execution time: 382_220 nanoseconds. - Weight::from_ref_time(393_288_027_u64) - // Standard Error: 30_349 - .saturating_add(Weight::from_ref_time(30_018_330_u64).saturating_mul(r as u64)) + // Minimum execution time: 439_830 nanoseconds. + Weight::from_parts(454_132_006_u64, 0) + // Standard Error: 40_255 + .saturating_add(Weight::from_parts(43_614_031_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } - // Storage: System Account (r:1 w:0) + // Storage: System Account (r:2 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_balance(r: u32, ) -> Weight { - // Minimum execution time: 381_730 nanoseconds. - Weight::from_ref_time(396_587_255_u64) - // Standard Error: 81_798 - .saturating_add(Weight::from_ref_time(165_441_459_u64).saturating_mul(r as u64)) + // Minimum execution time: 439_810 nanoseconds. + Weight::from_parts(460_295_263_u64, 0) + // Standard Error: 102_386 + .saturating_add(Weight::from_parts(225_439_791_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_value_transferred(r: u32, ) -> Weight { - // Minimum execution time: 381_000 nanoseconds. - Weight::from_ref_time(394_311_665_u64) - // Standard Error: 34_091 - .saturating_add(Weight::from_ref_time(29_947_686_u64).saturating_mul(r as u64)) + // Minimum execution time: 441_071 nanoseconds. + Weight::from_parts(454_317_252_u64, 0) + // Standard Error: 41_528 + .saturating_add(Weight::from_parts(42_807_085_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_minimum_balance(r: u32, ) -> Weight { - // Minimum execution time: 382_590 nanoseconds. - Weight::from_ref_time(394_947_497_u64) - // Standard Error: 40_821 - .saturating_add(Weight::from_ref_time(29_470_559_u64).saturating_mul(r as u64)) + // Minimum execution time: 441_109 nanoseconds. + Weight::from_parts(453_860_463_u64, 0) + // Standard Error: 50_938 + .saturating_add(Weight::from_parts(43_107_692_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_block_number(r: u32, ) -> Weight { - // Minimum execution time: 382_690 nanoseconds. - Weight::from_ref_time(394_350_038_u64) - // Standard Error: 37_692 - .saturating_add(Weight::from_ref_time(29_289_671_u64).saturating_mul(r as u64)) + // Minimum execution time: 440_910 nanoseconds. + Weight::from_parts(454_221_325_u64, 0) + // Standard Error: 53_516 + .saturating_add(Weight::from_parts(42_888_545_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_now(r: u32, ) -> Weight { - // Minimum execution time: 381_230 nanoseconds. - Weight::from_ref_time(394_208_040_u64) - // Standard Error: 34_232 - .saturating_add(Weight::from_ref_time(29_569_349_u64).saturating_mul(r as u64)) + // Minimum execution time: 441_120 nanoseconds. + Weight::from_parts(453_535_597_u64, 0) + // Standard Error: 39_256 + .saturating_add(Weight::from_parts(43_196_342_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) + // Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) + // Proof: TransactionPayment NextFeeMultiplier (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) - // Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_weight_to_fee(r: u32, ) -> Weight { - // Minimum execution time: 382_620 nanoseconds. - Weight::from_ref_time(401_250_397_u64) - // Standard Error: 64_735 - .saturating_add(Weight::from_ref_time(144_693_708_u64).saturating_mul(r as u64)) + // Minimum execution time: 442_580 nanoseconds. + Weight::from_parts(459_711_545_u64, 0) + // Standard Error: 77_833 + .saturating_add(Weight::from_parts(181_205_879_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_gas(r: u32, ) -> Weight { - // Minimum execution time: 216_910 nanoseconds. - Weight::from_ref_time(228_635_917_u64) - // Standard Error: 20_498 - .saturating_add(Weight::from_ref_time(9_726_253_u64).saturating_mul(r as u64)) + // Minimum execution time: 275_530 nanoseconds. + Weight::from_parts(286_522_583_u64, 0) + // Standard Error: 19_300 + .saturating_add(Weight::from_parts(10_132_216_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_input(r: u32, ) -> Weight { - // Minimum execution time: 382_970 nanoseconds. - Weight::from_ref_time(393_690_046_u64) - // Standard Error: 36_374 - .saturating_add(Weight::from_ref_time(22_442_010_u64).saturating_mul(r as u64)) + // Minimum execution time: 442_260 nanoseconds. + Weight::from_parts(452_818_869_u64, 0) + // Standard Error: 37_174 + .saturating_add(Weight::from_parts(30_178_977_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 1024]`. fn seal_input_per_kb(n: u32, ) -> Weight { - // Minimum execution time: 409_529 nanoseconds. - Weight::from_ref_time(444_885_523_u64) - // Standard Error: 2_694 - .saturating_add(Weight::from_ref_time(12_085_874_u64).saturating_mul(n as u64)) + // Minimum execution time: 472_560 nanoseconds. + Weight::from_parts(504_829_361_u64, 0) + // Standard Error: 1_774 + .saturating_add(Weight::from_parts(12_238_965_u64, 0).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 1]`. fn seal_return(r: u32, ) -> Weight { - // Minimum execution time: 376_740 nanoseconds. - Weight::from_ref_time(386_491_995_u64) - // Standard Error: 561_341 - .saturating_add(Weight::from_ref_time(2_916_704_u64).saturating_mul(r as u64)) + // Minimum execution time: 432_871 nanoseconds. + Weight::from_parts(442_878_691_u64, 0) + // Standard Error: 400_819 + .saturating_add(Weight::from_parts(3_885_208_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 1024]`. fn seal_return_per_kb(n: u32, ) -> Weight { - // Minimum execution time: 382_280 nanoseconds. - Weight::from_ref_time(390_857_729_u64) - // Standard Error: 986 - .saturating_add(Weight::from_ref_time(225_212_u64).saturating_mul(n as u64)) + // Minimum execution time: 441_410 nanoseconds. + Weight::from_parts(446_299_262_u64, 0) + // Standard Error: 499 + .saturating_add(Weight::from_parts(224_296_u64, 0).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } - // Storage: System Account (r:1 w:0) + // Storage: System Account (r:4 w:4) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) - // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Contracts DeletionQueue (r:1 w:1) + // Proof: Contracts DeletionQueue (max_values: Some(1), max_size: Some(728002), added: 728497, mode: Measured) // Storage: Contracts OwnerInfoOf (r:1 w:1) + // Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Measured) + // Storage: System EventTopics (r:3 w:3) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 1]`. fn seal_terminate(r: u32, ) -> Weight { - // Minimum execution time: 380_040 nanoseconds. - Weight::from_ref_time(389_948_155_u64) - // Standard Error: 530_195 - .saturating_add(Weight::from_ref_time(82_576_644_u64).saturating_mul(r as u64)) + // Minimum execution time: 439_460 nanoseconds. + Weight::from_parts(448_414_938_u64, 0) + // Standard Error: 432_883 + .saturating_add(Weight::from_parts(134_751_961_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) - .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(r as u64))) + .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(5_u64)) - .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(r as u64))) + .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(r as u64))) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) + // Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) + // Proof: RandomnessCollectiveFlip RandomMaterial (max_values: Some(1), max_size: Some(2594), added: 3089, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) - // Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_random(r: u32, ) -> Weight { - // Minimum execution time: 381_350 nanoseconds. - Weight::from_ref_time(400_634_639_u64) - // Standard Error: 80_061 - .saturating_add(Weight::from_ref_time(191_312_064_u64).saturating_mul(r as u64)) + // Minimum execution time: 441_329 nanoseconds. + Weight::from_parts(460_692_798_u64, 0) + // Standard Error: 85_886 + .saturating_add(Weight::from_parts(268_280_500_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_deposit_event(r: u32, ) -> Weight { - // Minimum execution time: 377_520 nanoseconds. - Weight::from_ref_time(398_332_920_u64) - // Standard Error: 88_176 - .saturating_add(Weight::from_ref_time(384_200_884_u64).saturating_mul(r as u64)) + // Minimum execution time: 435_080 nanoseconds. + Weight::from_parts(459_868_228_u64, 0) + // Standard Error: 130_942 + .saturating_add(Weight::from_parts(561_503_177_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) - // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) + // Storage: System EventTopics (r:322 w:322) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `t` is `[0, 4]`. /// The range of component `n` is `[0, 16]`. fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight { - // Minimum execution time: 1_701_890 nanoseconds. - Weight::from_ref_time(757_426_098_u64) - // Standard Error: 3_651_371 - .saturating_add(Weight::from_ref_time(253_660_245_u64).saturating_mul(t as u64)) - // Standard Error: 1_002_843 - .saturating_add(Weight::from_ref_time(69_370_238_u64).saturating_mul(n as u64)) + // Minimum execution time: 1_956_830 nanoseconds. + Weight::from_parts(940_527_389_u64, 0) + // Standard Error: 1_231_526 + .saturating_add(Weight::from_parts(319_161_464_u64, 0).saturating_mul(t as u64)) + // Standard Error: 338_236 + .saturating_add(Weight::from_parts(67_216_087_u64, 0).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(t as u64))) .saturating_add(T::DbWeight::get().writes(5_u64)) .saturating_add(T::DbWeight::get().writes((80_u64).saturating_mul(t as u64))) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_debug_message(r: u32, ) -> Weight { - // Minimum execution time: 234_110 nanoseconds. - Weight::from_ref_time(244_965_290_u64) - // Standard Error: 36_734 - .saturating_add(Weight::from_ref_time(16_091_570_u64).saturating_mul(r as u64)) + // Minimum execution time: 286_069 nanoseconds. + Weight::from_parts(298_972_119_u64, 0) + // Standard Error: 29_425 + .saturating_add(Weight::from_parts(18_595_774_u64, 0).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(11_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) + } + // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: MaxEncodedLen) + // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, 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: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) + // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) + // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) + /// The range of component `i` is `[0, 1024]`. + fn seal_debug_message_per_kb(i: u32, ) -> Weight { + // Minimum execution time: 569_480 nanoseconds. + Weight::from_parts(580_595_431_u64, 0) + // Standard Error: 1_298 + .saturating_add(Weight::from_parts(690_521_u64, 0).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: Skipped Metadata (r:0 w:0) + // Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 10]`. fn seal_set_storage(r: u32, ) -> Weight { - // Minimum execution time: 382_290 nanoseconds. - Weight::from_ref_time(361_843_805_u64) - // Standard Error: 462_015 - .saturating_add(Weight::from_ref_time(517_901_607_u64).saturating_mul(r as u64)) + // Minimum execution time: 441_420 nanoseconds. + Weight::from_parts(373_963_876_u64, 0) + // Standard Error: 787_502 + .saturating_add(Weight::from_parts(601_036_523_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(5_u64)) .saturating_add(T::DbWeight::get().writes((80_u64).saturating_mul(r as u64))) } // Storage: Skipped Metadata (r:0 w:0) + // Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 8]`. fn seal_set_storage_per_new_kb(n: u32, ) -> Weight { - // Minimum execution time: 590_980 nanoseconds. - Weight::from_ref_time(793_886_995_u64) - // Standard Error: 1_839_752 - .saturating_add(Weight::from_ref_time(103_102_338_u64).saturating_mul(n as u64)) + // Minimum execution time: 677_700 nanoseconds. + Weight::from_parts(895_943_201_u64, 0) + // Standard Error: 1_978_997 + .saturating_add(Weight::from_parts(107_629_122_u64, 0).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(57_u64)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(52_u64)) .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(n as u64))) } // Storage: Skipped Metadata (r:0 w:0) + // Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 8]`. fn seal_set_storage_per_old_kb(n: u32, ) -> Weight { - // Minimum execution time: 592_269 nanoseconds. - Weight::from_ref_time(741_696_077_u64) - // Standard Error: 1_340_408 - .saturating_add(Weight::from_ref_time(66_457_656_u64).saturating_mul(n as u64)) + // Minimum execution time: 678_860 nanoseconds. + Weight::from_parts(847_650_830_u64, 0) + // Standard Error: 1_516_182 + .saturating_add(Weight::from_parts(68_485_557_u64, 0).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(56_u64)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(51_u64)) .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(n as u64))) } // Storage: Skipped Metadata (r:0 w:0) + // Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 10]`. fn seal_clear_storage(r: u32, ) -> Weight { - // Minimum execution time: 382_440 nanoseconds. - Weight::from_ref_time(356_109_777_u64) - // Standard Error: 488_516 - .saturating_add(Weight::from_ref_time(507_374_829_u64).saturating_mul(r as u64)) + // Minimum execution time: 440_260 nanoseconds. + Weight::from_parts(363_404_544_u64, 0) + // Standard Error: 871_028 + .saturating_add(Weight::from_parts(591_560_577_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(5_u64)) .saturating_add(T::DbWeight::get().writes((80_u64).saturating_mul(r as u64))) } // Storage: Skipped Metadata (r:0 w:0) + // Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 8]`. fn seal_clear_storage_per_kb(n: u32, ) -> Weight { - // Minimum execution time: 544_789 nanoseconds. - Weight::from_ref_time(710_602_686_u64) - // Standard Error: 1_506_073 - .saturating_add(Weight::from_ref_time(70_619_233_u64).saturating_mul(n as u64)) + // Minimum execution time: 636_389 nanoseconds. + Weight::from_parts(819_102_296_u64, 0) + // Standard Error: 1_652_807 + .saturating_add(Weight::from_parts(71_943_701_u64, 0).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(56_u64)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(50_u64)) .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(n as u64))) } // Storage: Skipped Metadata (r:0 w:0) + // Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 10]`. fn seal_get_storage(r: u32, ) -> Weight { - // Minimum execution time: 381_891 nanoseconds. - Weight::from_ref_time(373_467_840_u64) - // Standard Error: 359_665 - .saturating_add(Weight::from_ref_time(428_576_327_u64).saturating_mul(r as u64)) + // Minimum execution time: 440_740 nanoseconds. + Weight::from_parts(376_832_159_u64, 0) + // Standard Error: 781_894 + .saturating_add(Weight::from_parts(509_886_451_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: Skipped Metadata (r:0 w:0) + // Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 8]`. fn seal_get_storage_per_kb(n: u32, ) -> Weight { - // Minimum execution time: 518_219 nanoseconds. - Weight::from_ref_time(706_224_286_u64) - // Standard Error: 2_157_788 - .saturating_add(Weight::from_ref_time(149_898_477_u64).saturating_mul(n as u64)) + // Minimum execution time: 606_140 nanoseconds. + Weight::from_parts(815_266_902_u64, 0) + // Standard Error: 2_304_349 + .saturating_add(Weight::from_parts(151_093_454_u64, 0).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(56_u64)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: Skipped Metadata (r:0 w:0) + // Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 10]`. fn seal_contains_storage(r: u32, ) -> Weight { - // Minimum execution time: 383_440 nanoseconds. - Weight::from_ref_time(376_074_313_u64) - // Standard Error: 341_331 - .saturating_add(Weight::from_ref_time(407_819_173_u64).saturating_mul(r as u64)) + // Minimum execution time: 442_280 nanoseconds. + Weight::from_parts(377_133_213_u64, 0) + // Standard Error: 772_624 + .saturating_add(Weight::from_parts(486_979_475_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: Skipped Metadata (r:0 w:0) + // Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 8]`. fn seal_contains_storage_per_kb(n: u32, ) -> Weight { - // Minimum execution time: 517_179 nanoseconds. - Weight::from_ref_time(653_328_154_u64) - // Standard Error: 1_250_024 - .saturating_add(Weight::from_ref_time(63_955_320_u64).saturating_mul(n as u64)) + // Minimum execution time: 604_530 nanoseconds. + Weight::from_parts(759_113_770_u64, 0) + // Standard Error: 1_394_762 + .saturating_add(Weight::from_parts(63_906_374_u64, 0).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(56_u64)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: Skipped Metadata (r:0 w:0) + // Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 10]`. fn seal_take_storage(r: u32, ) -> Weight { - // Minimum execution time: 382_770 nanoseconds. - Weight::from_ref_time(362_643_789_u64) - // Standard Error: 352_079 - .saturating_add(Weight::from_ref_time(522_998_454_u64).saturating_mul(r as u64)) + // Minimum execution time: 442_060 nanoseconds. + Weight::from_parts(362_104_368_u64, 0) + // Standard Error: 891_336 + .saturating_add(Weight::from_parts(612_861_006_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(5_u64)) .saturating_add(T::DbWeight::get().writes((80_u64).saturating_mul(r as u64))) } // Storage: Skipped Metadata (r:0 w:0) + // Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 8]`. fn seal_take_storage_per_kb(n: u32, ) -> Weight { - // Minimum execution time: 547_450 nanoseconds. - Weight::from_ref_time(762_972_860_u64) - // Standard Error: 2_306_136 - .saturating_add(Weight::from_ref_time(157_046_611_u64).saturating_mul(n as u64)) + // Minimum execution time: 636_760 nanoseconds. + Weight::from_parts(880_280_886_u64, 0) + // Standard Error: 2_590_752 + .saturating_add(Weight::from_parts(158_023_819_u64, 0).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(56_u64)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(50_u64)) .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(n as u64))) } - // Storage: System Account (r:1 w:0) + // Storage: System Account (r:1602 w:1601) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_transfer(r: u32, ) -> Weight { - // Minimum execution time: 383_220 nanoseconds. - Weight::from_ref_time(295_969_839_u64) - // Standard Error: 892_016 - .saturating_add(Weight::from_ref_time(2_317_037_481_u64).saturating_mul(r as u64)) + // Minimum execution time: 442_570 nanoseconds. + Weight::from_parts(389_815_228_u64, 0) + // Standard Error: 1_774_280 + .saturating_add(Weight::from_parts(3_174_289_776_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(6_u64)) .saturating_add(T::DbWeight::get().writes((80_u64).saturating_mul(r as u64))) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) + // Storage: Contracts ContractInfoOf (r:1601 w:1601) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) + // Storage: Contracts CodeStorage (r:2 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) - // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) + // Storage: System EventTopics (r:1602 w:1602) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_call(r: u32, ) -> Weight { - // Minimum execution time: 383_370 nanoseconds. - Weight::from_ref_time(390_190_000_u64) - // Standard Error: 8_046_240 - .saturating_add(Weight::from_ref_time(27_181_916_250_u64).saturating_mul(r as u64)) + // Minimum execution time: 443_420 nanoseconds. + Weight::from_parts(447_900_000_u64, 0) + // Standard Error: 8_895_232 + .saturating_add(Weight::from_parts(32_347_276_921_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().reads((160_u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(5_u64)) .saturating_add(T::DbWeight::get().writes((160_u64).saturating_mul(r as u64))) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) + // Storage: Contracts CodeStorage (r:1536 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) - // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) + // Storage: System EventTopics (r:1537 w:1537) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_delegate_call(r: u32, ) -> Weight { - // Minimum execution time: 382_900 nanoseconds. - Weight::from_ref_time(390_260_000_u64) - // Standard Error: 10_402_740 - .saturating_add(Weight::from_ref_time(26_807_222_707_u64).saturating_mul(r as u64)) + // Minimum execution time: 443_100 nanoseconds. + Weight::from_parts(448_470_000_u64, 0) + // Standard Error: 12_946_165 + .saturating_add(Weight::from_parts(31_973_362_885_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((150_u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(5_u64)) .saturating_add(T::DbWeight::get().writes((75_u64).saturating_mul(r as u64))) } - // Storage: System Account (r:1 w:0) + // Storage: System Account (r:82 w:81) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:81 w:81) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:2 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:82 w:82) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `t` is `[0, 1]`. /// The range of component `c` is `[0, 1024]`. fn seal_call_per_transfer_clone_kb(t: u32, c: u32, ) -> Weight { - // Minimum execution time: 15_534_306 nanoseconds. - Weight::from_ref_time(13_753_220_054_u64) - // Standard Error: 8_392_252 - .saturating_add(Weight::from_ref_time(2_017_268_036_u64).saturating_mul(t as u64)) - // Standard Error: 12_583 - .saturating_add(Weight::from_ref_time(12_306_201_u64).saturating_mul(c as u64)) + // Minimum execution time: 21_076_578 nanoseconds. + Weight::from_parts(18_692_015_873_u64, 0) + // Standard Error: 5_578_592 + .saturating_add(Weight::from_parts(2_541_597_939_u64, 0).saturating_mul(t as u64)) + // Standard Error: 8_364 + .saturating_add(Weight::from_parts(12_540_317_u64, 0).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(172_u64)) .saturating_add(T::DbWeight::get().reads((81_u64).saturating_mul(t as u64))) .saturating_add(T::DbWeight::get().writes(165_u64)) .saturating_add(T::DbWeight::get().writes((81_u64).saturating_mul(t as u64))) } - // Storage: System Account (r:1 w:0) + // Storage: System Account (r:3202 w:3202) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) + // Storage: Contracts ContractInfoOf (r:1601 w:1601) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) + // Storage: Contracts CodeStorage (r:1601 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) + // Storage: Contracts Nonce (r:1 w:1) + // Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) - // Storage: System EventTopics (r:2 w:2) - // Storage: Contracts Nonce (r:1 w:1) - // Storage: Contracts OwnerInfoOf (r:80 w:80) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) + // Storage: Contracts OwnerInfoOf (r:1600 w:1600) + // Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Measured) + // Storage: System EventTopics (r:1602 w:1602) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_instantiate(r: u32, ) -> Weight { - // Minimum execution time: 384_300 nanoseconds. - Weight::from_ref_time(390_650_000_u64) - // Standard Error: 42_148_524 - .saturating_add(Weight::from_ref_time(35_311_509_689_u64).saturating_mul(r as u64)) + // Minimum execution time: 447_190 nanoseconds. + Weight::from_parts(449_560_000_u64, 0) + // Standard Error: 52_942_379 + .saturating_add(Weight::from_parts(45_474_468_048_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().reads((400_u64).saturating_mul(r as u64))) + .saturating_add(T::DbWeight::get().reads((480_u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(7_u64)) .saturating_add(T::DbWeight::get().writes((400_u64).saturating_mul(r as u64))) } - // Storage: System Account (r:81 w:81) + // Storage: System Account (r:162 w:162) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:81 w:81) - // Storage: Contracts CodeStorage (r:2 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) + // Storage: Contracts CodeStorage (r:2 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: Contracts Nonce (r:1 w:1) + // Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Contracts OwnerInfoOf (r:1 w:1) + // Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Measured) // Storage: System EventTopics (r:82 w:82) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `t` is `[0, 1]`. /// The range of component `i` is `[0, 960]`. /// The range of component `s` is `[0, 960]`. fn seal_instantiate_per_transfer_input_salt_kb(t: u32, i: u32, s: u32, ) -> Weight { - // Minimum execution time: 173_263_363 nanoseconds. - Weight::from_ref_time(19_984_679_090_u64) - // Standard Error: 102_385_694 - .saturating_add(Weight::from_ref_time(1_106_861_706_u64).saturating_mul(t as u64)) - // Standard Error: 166_962 - .saturating_add(Weight::from_ref_time(161_403_359_u64).saturating_mul(i as u64)) - // Standard Error: 166_962 - .saturating_add(Weight::from_ref_time(162_067_718_u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(254_u64)) + // Minimum execution time: 168_361_684 nanoseconds. + Weight::from_parts(27_560_048_677_u64, 0) + // Standard Error: 82_351_034 + .saturating_add(Weight::from_parts(3_413_997_991_u64, 0).saturating_mul(t as u64)) + // Standard Error: 134_291 + .saturating_add(Weight::from_parts(145_910_456_u64, 0).saturating_mul(i as u64)) + // Standard Error: 134_291 + .saturating_add(Weight::from_parts(146_073_013_u64, 0).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(334_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t as u64))) - .saturating_add(T::DbWeight::get().writes(249_u64)) + .saturating_add(T::DbWeight::get().writes(328_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t as u64))) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 1]`. fn seal_hash_sha2_256(r: u32, ) -> Weight { - // Minimum execution time: 376_490 nanoseconds. - Weight::from_ref_time(386_013_234_u64) - // Standard Error: 546_899 - .saturating_add(Weight::from_ref_time(37_470_565_u64).saturating_mul(r as u64)) + // Minimum execution time: 432_240 nanoseconds. + Weight::from_parts(442_173_236_u64, 0) + // Standard Error: 506_520 + .saturating_add(Weight::from_parts(47_638_663_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 1024]`. fn seal_hash_sha2_256_per_kb(n: u32, ) -> Weight { - // Minimum execution time: 414_950 nanoseconds. - Weight::from_ref_time(421_160_000_u64) - // Standard Error: 122_439 - .saturating_add(Weight::from_ref_time(92_711_433_u64).saturating_mul(n as u64)) + // Minimum execution time: 482_970 nanoseconds. + Weight::from_parts(486_330_000_u64, 0) + // Standard Error: 118_218 + .saturating_add(Weight::from_parts(92_792_771_u64, 0).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 1]`. fn seal_hash_keccak_256(r: u32, ) -> Weight { - // Minimum execution time: 376_390 nanoseconds. - Weight::from_ref_time(387_066_842_u64) - // Standard Error: 576_451 - .saturating_add(Weight::from_ref_time(66_271_057_u64).saturating_mul(r as u64)) + // Minimum execution time: 433_051 nanoseconds. + Weight::from_parts(445_275_924_u64, 0) + // Standard Error: 524_340 + .saturating_add(Weight::from_parts(73_220_875_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 1024]`. fn seal_hash_keccak_256_per_kb(n: u32, ) -> Weight { - // Minimum execution time: 443_620 nanoseconds. - Weight::from_ref_time(450_460_000_u64) - // Standard Error: 121_684 - .saturating_add(Weight::from_ref_time(257_481_973_u64).saturating_mul(n as u64)) + // Minimum execution time: 514_020 nanoseconds. + Weight::from_parts(517_020_000_u64, 0) + // Standard Error: 138_008 + .saturating_add(Weight::from_parts(258_731_161_u64, 0).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 1]`. fn seal_hash_blake2_256(r: u32, ) -> Weight { - // Minimum execution time: 376_430 nanoseconds. - Weight::from_ref_time(386_428_797_u64) - // Standard Error: 540_050 - .saturating_add(Weight::from_ref_time(47_463_302_u64).saturating_mul(r as u64)) + // Minimum execution time: 435_580 nanoseconds. + Weight::from_parts(445_570_414_u64, 0) + // Standard Error: 514_547 + .saturating_add(Weight::from_parts(51_102_685_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 1024]`. fn seal_hash_blake2_256_per_kb(n: u32, ) -> Weight { - // Minimum execution time: 431_770 nanoseconds. - Weight::from_ref_time(432_990_000_u64) - // Standard Error: 115_798 - .saturating_add(Weight::from_ref_time(136_442_317_u64).saturating_mul(n as u64)) + // Minimum execution time: 491_870 nanoseconds. + Weight::from_parts(496_629_000_u64, 0) + // Standard Error: 113_006 + .saturating_add(Weight::from_parts(120_770_776_u64, 0).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 1]`. fn seal_hash_blake2_128(r: u32, ) -> Weight { - // Minimum execution time: 376_480 nanoseconds. - Weight::from_ref_time(386_332_200_u64) - // Standard Error: 618_317 - .saturating_add(Weight::from_ref_time(55_218_800_u64).saturating_mul(r as u64)) + // Minimum execution time: 434_410 nanoseconds. + Weight::from_parts(445_819_873_u64, 0) + // Standard Error: 479_878 + .saturating_add(Weight::from_parts(51_482_926_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 1024]`. fn seal_hash_blake2_128_per_kb(n: u32, ) -> Weight { - // Minimum execution time: 426_230 nanoseconds. - Weight::from_ref_time(432_230_000_u64) - // Standard Error: 119_365 - .saturating_add(Weight::from_ref_time(136_500_191_u64).saturating_mul(n as u64)) + // Minimum execution time: 497_290 nanoseconds. + Weight::from_parts(501_000_000_u64, 0) + // Standard Error: 118_200 + .saturating_add(Weight::from_parts(121_661_355_u64, 0).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 1]`. fn seal_ecdsa_recover(r: u32, ) -> Weight { - // Minimum execution time: 382_100 nanoseconds. - Weight::from_ref_time(392_120_214_u64) - // Standard Error: 674_741 - .saturating_add(Weight::from_ref_time(3_484_396_585_u64).saturating_mul(r as u64)) + // Minimum execution time: 444_130 nanoseconds. + Weight::from_parts(455_732_538_u64, 0) + // Standard Error: 1_058_690 + .saturating_add(Weight::from_parts(3_529_503_061_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 1]`. fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { - // Minimum execution time: 380_830 nanoseconds. - Weight::from_ref_time(390_865_942_u64) - // Standard Error: 569_478 - .saturating_add(Weight::from_ref_time(904_267_757_u64).saturating_mul(r as u64)) + // Minimum execution time: 442_790 nanoseconds. + Weight::from_parts(453_840_489_u64, 0) + // Standard Error: 613_677 + .saturating_add(Weight::from_parts(928_272_610_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) + // Storage: Contracts CodeStorage (r:1536 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) + // Storage: Contracts OwnerInfoOf (r:1536 w:1536) + // Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) - // Storage: System EventTopics (r:2 w:2) - // Storage: Contracts OwnerInfoOf (r:16 w:16) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) + // Storage: System EventTopics (r:1538 w:1538) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_set_code_hash(r: u32, ) -> Weight { - // Minimum execution time: 383_950 nanoseconds. - Weight::from_ref_time(389_630_000_u64) - // Standard Error: 3_860_589 - .saturating_add(Weight::from_ref_time(2_085_495_651_u64).saturating_mul(r as u64)) + // Minimum execution time: 444_419 nanoseconds. + Weight::from_parts(452_680_000_u64, 0) + // Standard Error: 3_184_350 + .saturating_add(Weight::from_parts(2_676_920_677_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((225_u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(5_u64)) .saturating_add(T::DbWeight::get().writes((150_u64).saturating_mul(r as u64))) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_reentrance_count(r: u32, ) -> Weight { - // Minimum execution time: 378_200 nanoseconds. - Weight::from_ref_time(390_385_314_u64) - // Standard Error: 22_549 - .saturating_add(Weight::from_ref_time(12_477_144_u64).saturating_mul(r as u64)) + // Minimum execution time: 439_700 nanoseconds. + Weight::from_parts(451_985_990_u64, 0) + // Standard Error: 33_108 + .saturating_add(Weight::from_parts(13_767_461_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_account_reentrance_count(r: u32, ) -> Weight { - // Minimum execution time: 384_120 nanoseconds. - Weight::from_ref_time(402_019_412_u64) - // Standard Error: 114_700 - .saturating_add(Weight::from_ref_time(22_129_738_u64).saturating_mul(r as u64)) + // Minimum execution time: 445_440 nanoseconds. + Weight::from_parts(475_780_808_u64, 0) + // Standard Error: 66_762 + .saturating_add(Weight::from_parts(19_622_075_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:1 w:0) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:0) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) // Storage: Contracts ContractInfoOf (r:1 w:1) + // Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(290), added: 2765, mode: Measured) // Storage: Contracts CodeStorage (r:1 w:0) + // Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) // Storage: Timestamp Now (r:1 w:0) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) + // Storage: Contracts Nonce (r:1 w:1) + // Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: Measured) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: Measured) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: System EventTopics (r:2 w:2) - // Storage: Contracts Nonce (r:1 w:1) + // Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_instantiation_nonce(r: u32, ) -> Weight { - // Minimum execution time: 377_930 nanoseconds. - Weight::from_ref_time(392_528_769_u64) - // Standard Error: 26_132 - .saturating_add(Weight::from_ref_time(10_436_007_u64).saturating_mul(r as u64)) + // Minimum execution time: 435_871 nanoseconds. + Weight::from_parts(453_927_264_u64, 0) + // Standard Error: 25_941 + .saturating_add(Weight::from_parts(10_966_424_u64, 0).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64const(r: u32, ) -> Weight { - // Minimum execution time: 1_700 nanoseconds. - Weight::from_ref_time(1_933_160_u64) - // Standard Error: 786 - .saturating_add(Weight::from_ref_time(2_048_807_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_200 nanoseconds. + Weight::from_parts(2_733_838_u64, 0) + // Standard Error: 963 + .saturating_add(Weight::from_parts(386_338_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64load(r: u32, ) -> Weight { - // Minimum execution time: 1_950 nanoseconds. - Weight::from_ref_time(2_292_126_u64) - // Standard Error: 3_764 - .saturating_add(Weight::from_ref_time(1_098_535_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_470 nanoseconds. + Weight::from_parts(3_140_603_u64, 0) + // Standard Error: 2_537 + .saturating_add(Weight::from_parts(1_248_262_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64store(r: u32, ) -> Weight { - // Minimum execution time: 1_950 nanoseconds. - Weight::from_ref_time(2_096_593_u64) - // Standard Error: 5_617 - .saturating_add(Weight::from_ref_time(1_806_212_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_480 nanoseconds. + Weight::from_parts(3_108_584_u64, 0) + // Standard Error: 2_791 + .saturating_add(Weight::from_parts(1_824_656_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_select(r: u32, ) -> Weight { - // Minimum execution time: 1_690 nanoseconds. - Weight::from_ref_time(2_120_583_u64) - // Standard Error: 392 - .saturating_add(Weight::from_ref_time(1_064_645_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_200 nanoseconds. + Weight::from_parts(2_692_889_u64, 0) + // Standard Error: 981 + .saturating_add(Weight::from_parts(1_114_097_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_if(r: u32, ) -> Weight { - // Minimum execution time: 1_740 nanoseconds. - Weight::from_ref_time(1_850_000_u64) - // Standard Error: 14_697 - .saturating_add(Weight::from_ref_time(2_887_701_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_190 nanoseconds. + Weight::from_parts(2_129_647_u64, 0) + // Standard Error: 2_667 + .saturating_add(Weight::from_parts(1_206_178_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_br(r: u32, ) -> Weight { - // Minimum execution time: 1_710 nanoseconds. - Weight::from_ref_time(2_194_336_u64) - // Standard Error: 570 - .saturating_add(Weight::from_ref_time(612_671_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_260 nanoseconds. + Weight::from_parts(2_754_707_u64, 0) + // Standard Error: 1_488 + .saturating_add(Weight::from_parts(683_859_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_br_if(r: u32, ) -> Weight { - // Minimum execution time: 1_770 nanoseconds. - Weight::from_ref_time(2_154_807_u64) - // Standard Error: 786 - .saturating_add(Weight::from_ref_time(930_769_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_209 nanoseconds. + Weight::from_parts(2_809_936_u64, 0) + // Standard Error: 863 + .saturating_add(Weight::from_parts(942_092_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_br_table(r: u32, ) -> Weight { - // Minimum execution time: 1_760 nanoseconds. - Weight::from_ref_time(2_257_283_u64) - // Standard Error: 457 - .saturating_add(Weight::from_ref_time(1_071_430_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_240 nanoseconds. + Weight::from_parts(3_036_283_u64, 0) + // Standard Error: 2_187 + .saturating_add(Weight::from_parts(1_168_977_u64, 0).saturating_mul(r as u64)) } /// The range of component `e` is `[1, 256]`. fn instr_br_table_per_entry(e: u32, ) -> Weight { - // Minimum execution time: 5_130 nanoseconds. - Weight::from_ref_time(5_788_381_u64) - // Standard Error: 224 - .saturating_add(Weight::from_ref_time(8_084_u64).saturating_mul(e as u64)) + // Minimum execution time: 5_540 nanoseconds. + Weight::from_parts(6_245_413_u64, 0) + // Standard Error: 207 + .saturating_add(Weight::from_parts(6_957_u64, 0).saturating_mul(e as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_call(r: u32, ) -> Weight { - // Minimum execution time: 1_700 nanoseconds. - Weight::from_ref_time(2_440_579_u64) - // Standard Error: 3_496 - .saturating_add(Weight::from_ref_time(4_269_333_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_211 nanoseconds. + Weight::from_parts(3_879_035_u64, 0) + // Standard Error: 10_973 + .saturating_add(Weight::from_parts(4_929_860_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_call_indirect(r: u32, ) -> Weight { - // Minimum execution time: 2_040 nanoseconds. - Weight::from_ref_time(5_122_907_u64) - // Standard Error: 4_900 - .saturating_add(Weight::from_ref_time(5_511_169_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_720 nanoseconds. + Weight::from_parts(6_375_822_u64, 0) + // Standard Error: 10_860 + .saturating_add(Weight::from_parts(6_305_365_u64, 0).saturating_mul(r as u64)) } /// The range of component `p` is `[0, 128]`. fn instr_call_indirect_per_param(p: u32, ) -> Weight { - // Minimum execution time: 8_720 nanoseconds. - Weight::from_ref_time(11_214_467_u64) - // Standard Error: 637 - .saturating_add(Weight::from_ref_time(234_996_u64).saturating_mul(p as u64)) + // Minimum execution time: 10_540 nanoseconds. + Weight::from_parts(12_018_715_u64, 0) + // Standard Error: 744 + .saturating_add(Weight::from_parts(228_163_u64, 0).saturating_mul(p as u64)) } /// The range of component `l` is `[0, 1024]`. fn instr_call_per_local(l: u32, ) -> Weight { - // Minimum execution time: 6_270 nanoseconds. - Weight::from_ref_time(7_385_523_u64) - // Standard Error: 55 - .saturating_add(Weight::from_ref_time(57_940_u64).saturating_mul(l as u64)) + // Minimum execution time: 7_360 nanoseconds. + Weight::from_parts(8_509_262_u64, 0) + // Standard Error: 59 + .saturating_add(Weight::from_parts(58_439_u64, 0).saturating_mul(l as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_local_get(r: u32, ) -> Weight { - // Minimum execution time: 3_370 nanoseconds. - Weight::from_ref_time(3_645_655_u64) - // Standard Error: 244 - .saturating_add(Weight::from_ref_time(376_828_u64).saturating_mul(r as u64)) + // Minimum execution time: 4_000 nanoseconds. + Weight::from_parts(4_257_084_u64, 0) + // Standard Error: 408 + .saturating_add(Weight::from_parts(406_163_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_local_set(r: u32, ) -> Weight { - // Minimum execution time: 3_380 nanoseconds. - Weight::from_ref_time(3_684_811_u64) - // Standard Error: 870 - .saturating_add(Weight::from_ref_time(410_861_u64).saturating_mul(r as u64)) + // Minimum execution time: 3_940 nanoseconds. + Weight::from_parts(4_332_959_u64, 0) + // Standard Error: 888 + .saturating_add(Weight::from_parts(446_806_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_local_tee(r: u32, ) -> Weight { - // Minimum execution time: 3_440 nanoseconds. - Weight::from_ref_time(3_532_475_u64) - // Standard Error: 1_375 - .saturating_add(Weight::from_ref_time(3_086_981_u64).saturating_mul(r as u64)) + // Minimum execution time: 3_930 nanoseconds. + Weight::from_parts(4_516_703_u64, 0) + // Standard Error: 599 + .saturating_add(Weight::from_parts(613_291_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_global_get(r: u32, ) -> Weight { - // Minimum execution time: 1_889 nanoseconds. - Weight::from_ref_time(2_465_608_u64) - // Standard Error: 435 - .saturating_add(Weight::from_ref_time(861_093_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_540 nanoseconds. + Weight::from_parts(3_267_186_u64, 0) + // Standard Error: 1_104 + .saturating_add(Weight::from_parts(1_079_144_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_global_set(r: u32, ) -> Weight { - // Minimum execution time: 1_920 nanoseconds. - Weight::from_ref_time(2_460_727_u64) - // Standard Error: 8_641 - .saturating_add(Weight::from_ref_time(927_905_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_530 nanoseconds. + Weight::from_parts(2_984_939_u64, 0) + // Standard Error: 1_172 + .saturating_add(Weight::from_parts(1_210_146_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_memory_current(r: u32, ) -> Weight { - // Minimum execution time: 1_950 nanoseconds. - Weight::from_ref_time(2_220_731_u64) - // Standard Error: 724 - .saturating_add(Weight::from_ref_time(945_017_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_509 nanoseconds. + Weight::from_parts(2_847_247_u64, 0) + // Standard Error: 572 + .saturating_add(Weight::from_parts(776_911_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 1]`. fn instr_memory_grow(r: u32, ) -> Weight { - // Minimum execution time: 1_770 nanoseconds. - Weight::from_ref_time(1_956_457_u64) - // Standard Error: 125_693 - .saturating_add(Weight::from_ref_time(221_523_242_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_240 nanoseconds. + Weight::from_parts(2_499_277_u64, 0) + // Standard Error: 77_091 + .saturating_add(Weight::from_parts(222_201_522_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64clz(r: u32, ) -> Weight { - // Minimum execution time: 1_720 nanoseconds. - Weight::from_ref_time(2_017_188_u64) - // Standard Error: 250 - .saturating_add(Weight::from_ref_time(609_008_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_190 nanoseconds. + Weight::from_parts(2_736_176_u64, 0) + // Standard Error: 1_043 + .saturating_add(Weight::from_parts(618_381_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ctz(r: u32, ) -> Weight { - // Minimum execution time: 1_711 nanoseconds. - Weight::from_ref_time(2_030_339_u64) - // Standard Error: 277 - .saturating_add(Weight::from_ref_time(608_006_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_240 nanoseconds. + Weight::from_parts(2_692_628_u64, 0) + // Standard Error: 988 + .saturating_add(Weight::from_parts(622_343_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64popcnt(r: u32, ) -> Weight { - // Minimum execution time: 1_750 nanoseconds. - Weight::from_ref_time(1_974_750_u64) - // Standard Error: 459 - .saturating_add(Weight::from_ref_time(609_782_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_240 nanoseconds. + Weight::from_parts(2_651_819_u64, 0) + // Standard Error: 974 + .saturating_add(Weight::from_parts(624_262_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64eqz(r: u32, ) -> Weight { - // Minimum execution time: 1_730 nanoseconds. - Weight::from_ref_time(1_929_778_u64) - // Standard Error: 1_321 - .saturating_add(Weight::from_ref_time(3_034_203_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_220 nanoseconds. + Weight::from_parts(2_715_513_u64, 0) + // Standard Error: 1_024 + .saturating_add(Weight::from_parts(621_101_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendsi32(r: u32, ) -> Weight { - // Minimum execution time: 1_730 nanoseconds. - Weight::from_ref_time(1_997_325_u64) - // Standard Error: 278 - .saturating_add(Weight::from_ref_time(606_738_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_240 nanoseconds. + Weight::from_parts(2_680_834_u64, 0) + // Standard Error: 925 + .saturating_add(Weight::from_parts(627_443_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendui32(r: u32, ) -> Weight { - // Minimum execution time: 1_690 nanoseconds. - Weight::from_ref_time(2_028_177_u64) - // Standard Error: 243 - .saturating_add(Weight::from_ref_time(606_008_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_170 nanoseconds. + Weight::from_parts(2_646_187_u64, 0) + // Standard Error: 805 + .saturating_add(Weight::from_parts(631_575_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i32wrapi64(r: u32, ) -> Weight { - // Minimum execution time: 1_660 nanoseconds. - Weight::from_ref_time(1_998_722_u64) - // Standard Error: 239 - .saturating_add(Weight::from_ref_time(608_669_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_180 nanoseconds. + Weight::from_parts(2_683_667_u64, 0) + // Standard Error: 1_032 + .saturating_add(Weight::from_parts(622_565_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64eq(r: u32, ) -> Weight { - // Minimum execution time: 1_760 nanoseconds. - Weight::from_ref_time(2_053_279_u64) - // Standard Error: 306 - .saturating_add(Weight::from_ref_time(838_849_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_220 nanoseconds. + Weight::from_parts(2_672_383_u64, 0) + // Standard Error: 1_262 + .saturating_add(Weight::from_parts(854_406_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ne(r: u32, ) -> Weight { - // Minimum execution time: 1_750 nanoseconds. - Weight::from_ref_time(2_081_127_u64) - // Standard Error: 3_573 - .saturating_add(Weight::from_ref_time(3_345_394_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_220 nanoseconds. + Weight::from_parts(2_695_867_u64, 0) + // Standard Error: 927 + .saturating_add(Weight::from_parts(877_935_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64lts(r: u32, ) -> Weight { - // Minimum execution time: 1_740 nanoseconds. - Weight::from_ref_time(2_083_206_u64) - // Standard Error: 439 - .saturating_add(Weight::from_ref_time(838_338_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_210 nanoseconds. + Weight::from_parts(2_680_228_u64, 0) + // Standard Error: 896 + .saturating_add(Weight::from_parts(879_944_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ltu(r: u32, ) -> Weight { - // Minimum execution time: 1_750 nanoseconds. - Weight::from_ref_time(2_073_833_u64) - // Standard Error: 299 - .saturating_add(Weight::from_ref_time(837_556_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_169 nanoseconds. + Weight::from_parts(2_750_179_u64, 0) + // Standard Error: 1_086 + .saturating_add(Weight::from_parts(849_874_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64gts(r: u32, ) -> Weight { - // Minimum execution time: 1_700 nanoseconds. - Weight::from_ref_time(2_089_428_u64) - // Standard Error: 367 - .saturating_add(Weight::from_ref_time(865_813_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_189 nanoseconds. + Weight::from_parts(2_679_514_u64, 0) + // Standard Error: 1_007 + .saturating_add(Weight::from_parts(881_913_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64gtu(r: u32, ) -> Weight { - // Minimum execution time: 1_750 nanoseconds. - Weight::from_ref_time(2_072_775_u64) - // Standard Error: 364 - .saturating_add(Weight::from_ref_time(838_070_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_230 nanoseconds. + Weight::from_parts(2_726_970_u64, 0) + // Standard Error: 951 + .saturating_add(Weight::from_parts(849_859_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64les(r: u32, ) -> Weight { - // Minimum execution time: 1_720 nanoseconds. - Weight::from_ref_time(2_064_937_u64) - // Standard Error: 323 - .saturating_add(Weight::from_ref_time(838_329_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_180 nanoseconds. + Weight::from_parts(2_784_640_u64, 0) + // Standard Error: 943 + .saturating_add(Weight::from_parts(847_055_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64leu(r: u32, ) -> Weight { - // Minimum execution time: 1_720 nanoseconds. - Weight::from_ref_time(2_043_089_u64) - // Standard Error: 404 - .saturating_add(Weight::from_ref_time(866_388_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_180 nanoseconds. + Weight::from_parts(2_526_078_u64, 0) + // Standard Error: 574 + .saturating_add(Weight::from_parts(1_013_256_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ges(r: u32, ) -> Weight { - // Minimum execution time: 1_680 nanoseconds. - Weight::from_ref_time(2_087_816_u64) - // Standard Error: 2_067 - .saturating_add(Weight::from_ref_time(3_298_310_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_250 nanoseconds. + Weight::from_parts(2_671_684_u64, 0) + // Standard Error: 1_063 + .saturating_add(Weight::from_parts(852_414_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64geu(r: u32, ) -> Weight { - // Minimum execution time: 1_740 nanoseconds. - Weight::from_ref_time(2_066_097_u64) - // Standard Error: 315 - .saturating_add(Weight::from_ref_time(838_131_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_270 nanoseconds. + Weight::from_parts(2_628_361_u64, 0) + // Standard Error: 1_013 + .saturating_add(Weight::from_parts(885_017_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64add(r: u32, ) -> Weight { - // Minimum execution time: 1_700 nanoseconds. - Weight::from_ref_time(2_063_913_u64) - // Standard Error: 388 - .saturating_add(Weight::from_ref_time(866_401_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_190 nanoseconds. + Weight::from_parts(2_697_286_u64, 0) + // Standard Error: 955 + .saturating_add(Weight::from_parts(879_885_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64sub(r: u32, ) -> Weight { - // Minimum execution time: 1_740 nanoseconds. - Weight::from_ref_time(1_911_793_u64) - // Standard Error: 1_746 - .saturating_add(Weight::from_ref_time(3_337_088_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_210 nanoseconds. + Weight::from_parts(2_721_990_u64, 0) + // Standard Error: 959 + .saturating_add(Weight::from_parts(853_251_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64mul(r: u32, ) -> Weight { - // Minimum execution time: 1_680 nanoseconds. - Weight::from_ref_time(1_926_257_u64) - // Standard Error: 1_407 - .saturating_add(Weight::from_ref_time(3_358_252_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_250 nanoseconds. + Weight::from_parts(2_699_400_u64, 0) + // Standard Error: 956 + .saturating_add(Weight::from_parts(880_031_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64divs(r: u32, ) -> Weight { - // Minimum execution time: 1_720 nanoseconds. - Weight::from_ref_time(2_086_046_u64) - // Standard Error: 353 - .saturating_add(Weight::from_ref_time(950_906_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_190 nanoseconds. + Weight::from_parts(2_701_694_u64, 0) + // Standard Error: 1_163 + .saturating_add(Weight::from_parts(994_401_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64divu(r: u32, ) -> Weight { - // Minimum execution time: 1_740 nanoseconds. - Weight::from_ref_time(2_104_819_u64) - // Standard Error: 349 - .saturating_add(Weight::from_ref_time(921_933_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_280 nanoseconds. + Weight::from_parts(2_722_628_u64, 0) + // Standard Error: 1_055 + .saturating_add(Weight::from_parts(937_328_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64rems(r: u32, ) -> Weight { - // Minimum execution time: 1_770 nanoseconds. - Weight::from_ref_time(2_067_928_u64) - // Standard Error: 1_016 - .saturating_add(Weight::from_ref_time(980_841_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_170 nanoseconds. + Weight::from_parts(2_670_524_u64, 0) + // Standard Error: 1_027 + .saturating_add(Weight::from_parts(996_575_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64remu(r: u32, ) -> Weight { - // Minimum execution time: 1_740 nanoseconds. - Weight::from_ref_time(2_073_350_u64) - // Standard Error: 324 - .saturating_add(Weight::from_ref_time(921_968_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_260 nanoseconds. + Weight::from_parts(2_694_141_u64, 0) + // Standard Error: 1_042 + .saturating_add(Weight::from_parts(938_440_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64and(r: u32, ) -> Weight { - // Minimum execution time: 1_790 nanoseconds. - Weight::from_ref_time(2_053_622_u64) - // Standard Error: 342 - .saturating_add(Weight::from_ref_time(837_632_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_220 nanoseconds. + Weight::from_parts(2_696_230_u64, 0) + // Standard Error: 995 + .saturating_add(Weight::from_parts(852_571_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64or(r: u32, ) -> Weight { - // Minimum execution time: 1_750 nanoseconds. - Weight::from_ref_time(2_039_462_u64) - // Standard Error: 305 - .saturating_add(Weight::from_ref_time(838_405_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_210 nanoseconds. + Weight::from_parts(2_735_571_u64, 0) + // Standard Error: 935 + .saturating_add(Weight::from_parts(877_406_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64xor(r: u32, ) -> Weight { - // Minimum execution time: 1_700 nanoseconds. - Weight::from_ref_time(2_083_793_u64) - // Standard Error: 312 - .saturating_add(Weight::from_ref_time(837_358_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_169 nanoseconds. + Weight::from_parts(2_726_667_u64, 0) + // Standard Error: 996 + .saturating_add(Weight::from_parts(854_463_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64shl(r: u32, ) -> Weight { - // Minimum execution time: 1_700 nanoseconds. - Weight::from_ref_time(2_073_759_u64) - // Standard Error: 626 - .saturating_add(Weight::from_ref_time(864_970_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_190 nanoseconds. + Weight::from_parts(2_711_096_u64, 0) + // Standard Error: 1_076 + .saturating_add(Weight::from_parts(882_172_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64shrs(r: u32, ) -> Weight { - // Minimum execution time: 1_691 nanoseconds. - Weight::from_ref_time(2_097_846_u64) - // Standard Error: 515 - .saturating_add(Weight::from_ref_time(837_158_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_180 nanoseconds. + Weight::from_parts(2_729_285_u64, 0) + // Standard Error: 941 + .saturating_add(Weight::from_parts(879_951_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64shru(r: u32, ) -> Weight { - // Minimum execution time: 1_770 nanoseconds. - Weight::from_ref_time(2_065_555_u64) - // Standard Error: 663 - .saturating_add(Weight::from_ref_time(839_065_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_209 nanoseconds. + Weight::from_parts(2_642_272_u64, 0) + // Standard Error: 1_039 + .saturating_add(Weight::from_parts(857_035_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotl(r: u32, ) -> Weight { - // Minimum execution time: 1_720 nanoseconds. - Weight::from_ref_time(2_087_208_u64) - // Standard Error: 570 - .saturating_add(Weight::from_ref_time(836_955_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_189 nanoseconds. + Weight::from_parts(2_705_941_u64, 0) + // Standard Error: 949 + .saturating_add(Weight::from_parts(883_550_u64, 0).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotr(r: u32, ) -> Weight { - // Minimum execution time: 1_709 nanoseconds. - Weight::from_ref_time(1_939_125_u64) - // Standard Error: 1_561 - .saturating_add(Weight::from_ref_time(3_358_213_u64).saturating_mul(r as u64)) + // Minimum execution time: 2_240 nanoseconds. + Weight::from_parts(2_639_130_u64, 0) + // Standard Error: 983 + .saturating_add(Weight::from_parts(857_826_u64, 0).saturating_mul(r as u64)) } } diff --git a/runtimes/eden/src/weights/pallet_membership.rs b/runtimes/eden/src/weights/pallet_membership.rs index c50d6d547e2..6438531096b 100644 --- a/runtimes/eden/src/weights/pallet_membership.rs +++ b/runtimes/eden/src/weights/pallet_membership.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_membership //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `chain-bench-012bd056`, CPU: `AMD EPYC 7B13` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -48,114 +48,163 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalMembership Members (r:1 w:1) + // Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(1601), added: 2096, mode: MaxEncodedLen) // Storage: TechnicalCommittee Proposals (r:1 w:0) + // Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: TechnicalCommittee Members (r:0 w:1) + // Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) // Storage: TechnicalCommittee Prime (r:0 w:1) + // Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[1, 49]`. fn add_member(m: u32, ) -> Weight { - // Minimum execution time: 27_610 nanoseconds. - Weight::from_ref_time(28_985_577_u64) - // Standard Error: 1_376 - .saturating_add(Weight::from_ref_time(50_653_u64).saturating_mul(m as u64)) + // Minimum execution time: 27_870 nanoseconds. + Weight::from_parts(29_445_896_u64, 0) + // Standard Error: 2_004 + .saturating_add(Weight::from_parts(65_096_u64, 0).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: TechnicalMembership Members (r:1 w:1) + // Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(1601), added: 2096, mode: MaxEncodedLen) // Storage: TechnicalCommittee Proposals (r:1 w:0) + // Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) // Storage: TechnicalMembership Prime (r:1 w:0) + // Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: TechnicalCommittee Members (r:0 w:1) + // Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) // Storage: TechnicalCommittee Prime (r:0 w:1) + // Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[2, 50]`. fn remove_member(m: u32, ) -> Weight { - // Minimum execution time: 31_090 nanoseconds. - Weight::from_ref_time(32_496_747_u64) - // Standard Error: 1_644 - .saturating_add(Weight::from_ref_time(39_108_u64).saturating_mul(m as u64)) + // Minimum execution time: 31_880 nanoseconds. + Weight::from_parts(33_489_111_u64, 0) + // Standard Error: 2_072 + .saturating_add(Weight::from_parts(55_456_u64, 0).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: TechnicalMembership Members (r:1 w:1) + // Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(1601), added: 2096, mode: MaxEncodedLen) // Storage: TechnicalCommittee Proposals (r:1 w:0) + // Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) // Storage: TechnicalMembership Prime (r:1 w:0) + // Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: TechnicalCommittee Members (r:0 w:1) + // Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) // Storage: TechnicalCommittee Prime (r:0 w:1) + // Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[2, 50]`. fn swap_member(m: u32, ) -> Weight { - // Minimum execution time: 31_331 nanoseconds. - Weight::from_ref_time(32_766_214_u64) - // Standard Error: 2_145 - .saturating_add(Weight::from_ref_time(60_399_u64).saturating_mul(m as u64)) + // Minimum execution time: 32_150 nanoseconds. + Weight::from_parts(33_751_799_u64, 0) + // Standard Error: 2_058 + .saturating_add(Weight::from_parts(76_738_u64, 0).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: TechnicalMembership Members (r:1 w:1) + // Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(1601), added: 2096, mode: MaxEncodedLen) // Storage: TechnicalCommittee Proposals (r:1 w:0) + // Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) // Storage: TechnicalMembership Prime (r:1 w:0) + // Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: TechnicalCommittee Members (r:0 w:1) + // Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) // Storage: TechnicalCommittee Prime (r:0 w:1) + // Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[1, 50]`. fn reset_member(m: u32, ) -> Weight { - // Minimum execution time: 30_630 nanoseconds. - Weight::from_ref_time(32_752_939_u64) - // Standard Error: 3_033 - .saturating_add(Weight::from_ref_time(188_886_u64).saturating_mul(m as u64)) + // Minimum execution time: 31_130 nanoseconds. + Weight::from_parts(34_241_351_u64, 0) + // Standard Error: 2_718 + .saturating_add(Weight::from_parts(223_444_u64, 0).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: TechnicalMembership Members (r:1 w:1) + // Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(1601), added: 2096, mode: MaxEncodedLen) // Storage: TechnicalCommittee Proposals (r:1 w:0) + // Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) // Storage: TechnicalMembership Prime (r:1 w:1) + // Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: TechnicalCommittee Members (r:0 w:1) + // Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) // Storage: TechnicalCommittee Prime (r:0 w:1) + // Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[1, 50]`. fn change_key(m: u32, ) -> Weight { - // Minimum execution time: 31_980 nanoseconds. - Weight::from_ref_time(33_768_307_u64) - // Standard Error: 2_029 - .saturating_add(Weight::from_ref_time(64_353_u64).saturating_mul(m as u64)) + // Minimum execution time: 32_980 nanoseconds. + Weight::from_parts(34_991_109_u64, 0) + // Standard Error: 2_017 + .saturating_add(Weight::from_parts(79_673_u64, 0).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } // Storage: TechnicalMembership Members (r:1 w:0) + // Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(1601), added: 2096, mode: MaxEncodedLen) // Storage: TechnicalMembership Prime (r:0 w:1) + // Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) // Storage: TechnicalCommittee Prime (r:0 w:1) + // Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[1, 50]`. fn set_prime(m: u32, ) -> Weight { - // Minimum execution time: 11_700 nanoseconds. - Weight::from_ref_time(12_279_981_u64) - // Standard Error: 849 - .saturating_add(Weight::from_ref_time(13_871_u64).saturating_mul(m as u64)) + // Minimum execution time: 11_890 nanoseconds. + Weight::from_parts(12_527_559_u64, 0) + // Standard Error: 672 + .saturating_add(Weight::from_parts(11_438_u64, 0).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } // Storage: TechnicalMembership Prime (r:0 w:1) + // Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) // Storage: TechnicalCommittee Prime (r:0 w:1) + // Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[1, 50]`. fn clear_prime(m: u32, ) -> Weight { - // Minimum execution time: 7_110 nanoseconds. - Weight::from_ref_time(7_721_360_u64) - // Standard Error: 586 - .saturating_add(Weight::from_ref_time(829_u64).saturating_mul(m as u64)) + // Minimum execution time: 5_610 nanoseconds. + Weight::from_parts(6_038_749_u64, 0) + // Standard Error: 397 + .saturating_add(Weight::from_parts(1_751_u64, 0).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } } diff --git a/runtimes/eden/src/weights/pallet_multisig.rs b/runtimes/eden/src/weights/pallet_multisig.rs index d89ba3166c0..783c70ff85e 100644 --- a/runtimes/eden/src/weights/pallet_multisig.rs +++ b/runtimes/eden/src/weights/pallet_multisig.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_multisig //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `chain-bench-012bd056`, CPU: `AMD EPYC 7B13` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -49,104 +49,133 @@ pub struct WeightInfo(PhantomData); impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_threshold_1(z: u32, ) -> Weight { - // Minimum execution time: 20_880 nanoseconds. - Weight::from_ref_time(22_229_627_u64) - // Standard Error: 6 - .saturating_add(Weight::from_ref_time(444_u64).saturating_mul(z as u64)) + // Minimum execution time: 18_590 nanoseconds. + Weight::from_parts(19_889_723_u64, 0) + // Standard Error: 3 + .saturating_add(Weight::from_parts(436_u64, 0).saturating_mul(z as u64)) } // Storage: Multisig Multisigs (r:1 w:1) + // Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) - // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `s` is `[2, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_create(s: u32, z: u32, ) -> Weight { - // Minimum execution time: 63_000 nanoseconds. - Weight::from_ref_time(52_070_094_u64) - // Standard Error: 1_645 - .saturating_add(Weight::from_ref_time(125_981_u64).saturating_mul(s as u64)) - // Standard Error: 16 - .saturating_add(Weight::from_ref_time(1_676_u64).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Minimum execution time: 60_870 nanoseconds. + Weight::from_parts(54_874_465_u64, 0) + // Standard Error: 1_227 + .saturating_add(Weight::from_parts(86_087_u64, 0).saturating_mul(s as u64)) + // Standard Error: 12 + .saturating_add(Weight::from_parts(1_410_u64, 0).saturating_mul(z as u64)) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: Multisig Multisigs (r:1 w:1) + // Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `s` is `[3, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_approve(s: u32, z: u32, ) -> Weight { - // Minimum execution time: 44_700 nanoseconds. - Weight::from_ref_time(36_633_383_u64) - // Standard Error: 2_077 - .saturating_add(Weight::from_ref_time(106_716_u64).saturating_mul(s as u64)) - // Standard Error: 20 - .saturating_add(Weight::from_ref_time(1_544_u64).saturating_mul(z as u64)) + // Minimum execution time: 43_180 nanoseconds. + Weight::from_parts(35_981_133_u64, 0) + // Standard Error: 751 + .saturating_add(Weight::from_parts(82_909_u64, 0).saturating_mul(s as u64)) + // Standard Error: 7 + .saturating_add(Weight::from_parts(1_442_u64, 0).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: Multisig Multisigs (r:1 w:1) + // Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) // Storage: System Account (r:1 w:1) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `s` is `[2, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_complete(s: u32, z: u32, ) -> Weight { - // Minimum execution time: 66_990 nanoseconds. - Weight::from_ref_time(53_982_975_u64) - // Standard Error: 1_472 - .saturating_add(Weight::from_ref_time(157_303_u64).saturating_mul(s as u64)) - // Standard Error: 14 - .saturating_add(Weight::from_ref_time(1_601_u64).saturating_mul(z as u64)) + // Minimum execution time: 68_370 nanoseconds. + Weight::from_parts(58_543_733_u64, 0) + // Standard Error: 1_371 + .saturating_add(Weight::from_parts(115_996_u64, 0).saturating_mul(s as u64)) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_565_u64, 0).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: Multisig Multisigs (r:1 w:1) + // Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) - // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { - // Minimum execution time: 46_820 nanoseconds. - Weight::from_ref_time(50_270_965_u64) - // Standard Error: 1_635 - .saturating_add(Weight::from_ref_time(135_180_u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Minimum execution time: 49_931 nanoseconds. + Weight::from_parts(52_239_222_u64, 0) + // Standard Error: 1_275 + .saturating_add(Weight::from_parts(92_577_u64, 0).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: Multisig Multisigs (r:1 w:1) + // Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { - // Minimum execution time: 32_020 nanoseconds. - Weight::from_ref_time(34_031_666_u64) - // Standard Error: 1_415 - .saturating_add(Weight::from_ref_time(111_223_u64).saturating_mul(s as u64)) + // Minimum execution time: 32_830 nanoseconds. + Weight::from_parts(34_574_271_u64, 0) + // Standard Error: 881 + .saturating_add(Weight::from_parts(76_888_u64, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: Multisig Multisigs (r:1 w:1) + // Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { - // Minimum execution time: 46_130 nanoseconds. - Weight::from_ref_time(48_840_922_u64) - // Standard Error: 1_609 - .saturating_add(Weight::from_ref_time(118_491_u64).saturating_mul(s as u64)) + // Minimum execution time: 51_160 nanoseconds. + Weight::from_parts(53_221_707_u64, 0) + // Standard Error: 1_217 + .saturating_add(Weight::from_parts(87_610_u64, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } diff --git a/runtimes/eden/src/weights/pallet_preimage.rs b/runtimes/eden/src/weights/pallet_preimage.rs index 3fb70ca790b..7b20aeb9664 100644 --- a/runtimes/eden/src/weights/pallet_preimage.rs +++ b/runtimes/eden/src/weights/pallet_preimage.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_preimage //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `chain-bench-012bd056`, CPU: `AMD EPYC 7B13` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -48,133 +48,183 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage StatusFor (r:1 w:1) + // Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Preimage PreimageFor (r:0 w:1) + // Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { - // Minimum execution time: 41_650 nanoseconds. - Weight::from_ref_time(28_466_170_u64) - // Standard Error: 9 - .saturating_add(Weight::from_ref_time(2_293_u64).saturating_mul(s as u64)) + // Minimum execution time: 45_440 nanoseconds. + Weight::from_parts(32_393_860_u64, 0) + // Standard Error: 10 + .saturating_add(Weight::from_parts(2_176_u64, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: Preimage StatusFor (r:1 w:1) + // Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Preimage PreimageFor (r:0 w:1) + // Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { - // Minimum execution time: 28_810 nanoseconds. - Weight::from_ref_time(11_427_299_u64) - // Standard Error: 8 - .saturating_add(Weight::from_ref_time(2_312_u64).saturating_mul(s as u64)) + // Minimum execution time: 28_830 nanoseconds. + Weight::from_parts(29_490_000_u64, 0) + // Standard Error: 3 + .saturating_add(Weight::from_parts(2_144_u64, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: Preimage StatusFor (r:1 w:1) + // Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Preimage PreimageFor (r:0 w:1) + // Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { - // Minimum execution time: 26_970 nanoseconds. - Weight::from_ref_time(27_450_000_u64) - // Standard Error: 4 - .saturating_add(Weight::from_ref_time(2_311_u64).saturating_mul(s as u64)) + // Minimum execution time: 28_210 nanoseconds. + Weight::from_parts(28_670_000_u64, 0) + // Standard Error: 3 + .saturating_add(Weight::from_parts(2_133_u64, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: Preimage StatusFor (r:1 w:1) + // Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Preimage PreimageFor (r:0 w:1) + // Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) fn unnote_preimage() -> Weight { - // Minimum execution time: 49_520 nanoseconds. - Weight::from_ref_time(55_950_000_u64) + // Minimum execution time: 51_630 nanoseconds. + Weight::from_parts(53_590_000_u64, 0) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: Preimage StatusFor (r:1 w:1) + // Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Preimage PreimageFor (r:0 w:1) + // Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) fn unnote_no_deposit_preimage() -> Weight { - // Minimum execution time: 34_220 nanoseconds. - Weight::from_ref_time(36_970_000_u64) + // Minimum execution time: 33_350 nanoseconds. + Weight::from_parts(35_330_000_u64, 0) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: Preimage StatusFor (r:1 w:1) + // Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn request_preimage() -> Weight { - // Minimum execution time: 32_380 nanoseconds. - Weight::from_ref_time(34_530_000_u64) + // Minimum execution time: 29_730 nanoseconds. + Weight::from_parts(30_650_000_u64, 0) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: Preimage StatusFor (r:1 w:1) + // Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn request_no_deposit_preimage() -> Weight { - // Minimum execution time: 17_150 nanoseconds. - Weight::from_ref_time(18_069_000_u64) + // Minimum execution time: 16_380 nanoseconds. + Weight::from_parts(17_380_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: Preimage StatusFor (r:1 w:1) + // Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn request_unnoted_preimage() -> Weight { - // Minimum execution time: 26_040 nanoseconds. - Weight::from_ref_time(26_940_000_u64) + // Minimum execution time: 25_770 nanoseconds. + Weight::from_parts(26_790_000_u64, 0) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: Preimage StatusFor (r:1 w:1) + // Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn request_requested_preimage() -> Weight { - // Minimum execution time: 13_360 nanoseconds. - Weight::from_ref_time(14_100_000_u64) + // Minimum execution time: 13_780 nanoseconds. + Weight::from_parts(14_480_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: Preimage StatusFor (r:1 w:1) + // Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Preimage PreimageFor (r:0 w:1) + // Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) fn unrequest_preimage() -> Weight { - // Minimum execution time: 32_200 nanoseconds. - Weight::from_ref_time(34_289_000_u64) + // Minimum execution time: 31_100 nanoseconds. + Weight::from_parts(32_710_000_u64, 0) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: Preimage StatusFor (r:1 w:1) + // Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn unrequest_unnoted_preimage() -> Weight { - // Minimum execution time: 13_220 nanoseconds. - Weight::from_ref_time(13_540_000_u64) + // Minimum execution time: 13_651 nanoseconds. + Weight::from_parts(14_210_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: Preimage StatusFor (r:1 w:1) + // Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn unrequest_multi_referenced_preimage() -> Weight { - // Minimum execution time: 13_271 nanoseconds. - Weight::from_ref_time(13_910_000_u64) + // Minimum execution time: 13_790 nanoseconds. + Weight::from_parts(14_240_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/runtimes/eden/src/weights/pallet_scheduler.rs b/runtimes/eden/src/weights/pallet_scheduler.rs index 12c1e8ffd84..6f97f7ff7ed 100644 --- a/runtimes/eden/src/weights/pallet_scheduler.rs +++ b/runtimes/eden/src/weights/pallet_scheduler.rs @@ -50,7 +50,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler IncompleteSince (r:1 w:1) fn service_agendas_base() -> Weight { // Minimum execution time: 6_360 nanoseconds. - Weight::from_ref_time(6_560_000_u64) + Weight::from_parts(6_560_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -58,9 +58,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { // Minimum execution time: 5_770 nanoseconds. - Weight::from_ref_time(9_757_941_u64) + Weight::from_parts(9_757_941_u64, 0) // Standard Error: 3_741 - .saturating_add(Weight::from_ref_time(937_195_u64).saturating_mul(s as u64)) + .saturating_add(Weight::from_parts(937_195_u64, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -70,7 +70,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: System Events (r:1 w:1) fn service_task_base() -> Weight { // Minimum execution time: 13_190 nanoseconds. - Weight::from_ref_time(13_540_000_u64) + Weight::from_parts(13_540_000_u64, 0) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -83,9 +83,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(s: u32, ) -> Weight { // Minimum execution time: 30_610 nanoseconds. - Weight::from_ref_time(3_357_660_u64) + Weight::from_parts(3_357_660_u64, 0) // Standard Error: 8 - .saturating_add(Weight::from_ref_time(1_029_u64).saturating_mul(s as u64)) + .saturating_add(Weight::from_parts(1_029_u64, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -96,7 +96,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) fn service_task_named() -> Weight { // Minimum execution time: 15_770 nanoseconds. - Weight::from_ref_time(16_130_000_u64) + Weight::from_parts(16_130_000_u64, 0) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -106,17 +106,17 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: System Events (r:1 w:1) fn service_task_periodic() -> Weight { // Minimum execution time: 13_220 nanoseconds. - Weight::from_ref_time(14_210_000_u64) + Weight::from_parts(14_210_000_u64, 0) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } fn execute_dispatch_signed() -> Weight { // Minimum execution time: 6_230 nanoseconds. - Weight::from_ref_time(6_550_000_u64) + Weight::from_parts(6_550_000_u64, 0) } fn execute_dispatch_unsigned() -> Weight { // Minimum execution time: 6_120 nanoseconds. - Weight::from_ref_time(6_450_000_u64) + Weight::from_parts(6_450_000_u64, 0) } // Storage: System Number (r:1 w:0) // Storage: Scheduler Agenda (r:1 w:1) @@ -126,9 +126,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { // Minimum execution time: 24_540 nanoseconds. - Weight::from_ref_time(29_960_436_u64) + Weight::from_parts(29_960_436_u64, 0) // Standard Error: 5_470 - .saturating_add(Weight::from_ref_time(968_274_u64).saturating_mul(s as u64)) + .saturating_add(Weight::from_parts(968_274_u64, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -141,9 +141,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { // Minimum execution time: 30_450 nanoseconds. - Weight::from_ref_time(29_984_094_u64) + Weight::from_parts(29_984_094_u64, 0) // Standard Error: 5_411 - .saturating_add(Weight::from_ref_time(1_652_672_u64).saturating_mul(s as u64)) + .saturating_add(Weight::from_parts(1_652_672_u64, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -156,9 +156,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { // Minimum execution time: 28_931 nanoseconds. - Weight::from_ref_time(34_681_264_u64) + Weight::from_parts(34_681_264_u64, 0) // Standard Error: 4_990 - .saturating_add(Weight::from_ref_time(1_014_224_u64).saturating_mul(s as u64)) + .saturating_add(Weight::from_parts(1_014_224_u64, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -171,9 +171,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { // Minimum execution time: 32_600 nanoseconds. - Weight::from_ref_time(32_709_184_u64) + Weight::from_parts(32_709_184_u64, 0) // Standard Error: 5_899 - .saturating_add(Weight::from_ref_time(1_683_285_u64).saturating_mul(s as u64)) + .saturating_add(Weight::from_parts(1_683_285_u64, 0).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } diff --git a/runtimes/eden/src/weights/pallet_timestamp.rs b/runtimes/eden/src/weights/pallet_timestamp.rs index 5d015dcc3ea..efd04d06315 100644 --- a/runtimes/eden/src/weights/pallet_timestamp.rs +++ b/runtimes/eden/src/weights/pallet_timestamp.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_timestamp //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `chain-bench-012bd056`, CPU: `AMD EPYC 7B13` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -48,14 +48,15 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { // Storage: Timestamp Now (r:1 w:1) + // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) fn set() -> Weight { - // Minimum execution time: 11_520 nanoseconds. - Weight::from_ref_time(12_480_000_u64) + // Minimum execution time: 11_690 nanoseconds. + Weight::from_parts(12_290_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } fn on_finalize() -> Weight { - // Minimum execution time: 6_210 nanoseconds. - Weight::from_ref_time(6_440_000_u64) + // Minimum execution time: 6_350 nanoseconds. + Weight::from_parts(6_710_000_u64, 0) } } diff --git a/runtimes/eden/src/weights/pallet_uniques.rs b/runtimes/eden/src/weights/pallet_uniques.rs index 3d119782a19..89c534fee59 100644 --- a/runtimes/eden/src/weights/pallet_uniques.rs +++ b/runtimes/eden/src/weights/pallet_uniques.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_uniques //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `chain-bench-012bd056`, CPU: `AMD EPYC 7B13` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -48,345 +48,516 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_uniques::WeightInfo for WeightInfo { // Storage: Uniques Class (r:1 w:1) + // Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Uniques ClassAccount (r:0 w:1) + // Proof: Uniques ClassAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) fn create() -> Weight { - // Minimum execution time: 42_290 nanoseconds. - Weight::from_ref_time(43_700_000_u64) + // Minimum execution time: 46_020 nanoseconds. + Weight::from_parts(47_130_000_u64, 0) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: Uniques Class (r:1 w:1) + // Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Uniques ClassAccount (r:0 w:1) + // Proof: Uniques ClassAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) fn force_create() -> Weight { - // Minimum execution time: 26_959 nanoseconds. - Weight::from_ref_time(28_090_000_u64) + // Minimum execution time: 26_800 nanoseconds. + Weight::from_parts(27_750_000_u64, 0) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: Uniques Class (r:1 w:1) - // Storage: Uniques Asset (r:1 w:0) + // Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen) + // Storage: Uniques Asset (r:1001 w:1000) + // Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen) + // Storage: Uniques InstanceMetadataOf (r:1000 w:1000) + // Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(187), added: 2662, mode: MaxEncodedLen) + // Storage: Uniques Attribute (r:1000 w:1000) + // Proof: Uniques Attribute (max_values: None, max_size: Some(364), added: 2839, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Uniques ClassAccount (r:0 w:1) - // Storage: Uniques Attribute (r:0 w:1000) + // Proof: Uniques ClassAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) // Storage: Uniques ClassMetadataOf (r:0 w:1) - // Storage: Uniques InstanceMetadataOf (r:0 w:1000) + // Proof: Uniques ClassMetadataOf (max_values: None, max_size: Some(167), added: 2642, mode: MaxEncodedLen) + // Storage: Uniques Account (r:0 w:1000) + // Proof: Uniques Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) // Storage: Uniques CollectionMaxSupply (r:0 w:1) - // Storage: Uniques Account (r:0 w:20) + // Proof: Uniques CollectionMaxSupply (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) /// The range of component `n` is `[0, 1000]`. /// The range of component `m` is `[0, 1000]`. /// The range of component `a` is `[0, 1000]`. fn destroy(n: u32, m: u32, a: u32, ) -> Weight { - // Minimum execution time: 2_750_289 nanoseconds. - Weight::from_ref_time(2_784_799_000_u64) - // Standard Error: 29_451 - .saturating_add(Weight::from_ref_time(11_899_566_u64).saturating_mul(n as u64)) - // Standard Error: 29_451 - .saturating_add(Weight::from_ref_time(214_947_u64).saturating_mul(m as u64)) - // Standard Error: 29_451 - .saturating_add(Weight::from_ref_time(372_214_u64).saturating_mul(a as u64)) + // Minimum execution time: 2_908_020 nanoseconds. + Weight::from_parts(2_934_130_000_u64, 0) + // Standard Error: 27_168 + .saturating_add(Weight::from_parts(10_311_323_u64, 0).saturating_mul(n as u64)) + // Standard Error: 27_168 + .saturating_add(Weight::from_parts(261_403_u64, 0).saturating_mul(m as u64)) + // Standard Error: 27_168 + .saturating_add(Weight::from_parts(350_017_u64, 0).saturating_mul(a as u64)) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n as u64))) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m as u64))) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a as u64))) .saturating_add(T::DbWeight::get().writes(6_u64)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(m as u64))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a as u64))) } // Storage: Uniques Asset (r:1 w:1) + // Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen) // Storage: Uniques Class (r:1 w:1) + // Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen) // Storage: Uniques CollectionMaxSupply (r:1 w:0) + // Proof: Uniques CollectionMaxSupply (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Uniques Account (r:0 w:1) + // Proof: Uniques Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) fn mint() -> Weight { - // Minimum execution time: 53_930 nanoseconds. - Weight::from_ref_time(56_380_000_u64) + // Minimum execution time: 55_450 nanoseconds. + Weight::from_parts(56_460_000_u64, 0) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: Uniques Class (r:1 w:1) + // Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen) // Storage: Uniques Asset (r:1 w:1) + // Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Uniques Account (r:0 w:1) + // Proof: Uniques Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) // Storage: Uniques ItemPriceOf (r:0 w:1) + // Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen) fn burn() -> Weight { - // Minimum execution time: 55_850 nanoseconds. - Weight::from_ref_time(57_700_000_u64) + // Minimum execution time: 57_900 nanoseconds. + Weight::from_parts(59_510_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } // Storage: Uniques Class (r:1 w:0) + // Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen) // Storage: Uniques Asset (r:1 w:1) + // Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Uniques Account (r:0 w:2) + // Proof: Uniques Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) // Storage: Uniques ItemPriceOf (r:0 w:1) + // Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen) fn transfer() -> Weight { - // Minimum execution time: 43_020 nanoseconds. - Weight::from_ref_time(44_211_000_u64) + // Minimum execution time: 46_760 nanoseconds. + Weight::from_parts(47_620_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } // Storage: Uniques Class (r:1 w:1) + // Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen) + // Storage: Uniques Asset (r:5000 w:5000) + // Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) - // Storage: Uniques Asset (r:102 w:102) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `i` is `[0, 5000]`. fn redeposit(i: u32, ) -> Weight { - // Minimum execution time: 27_250 nanoseconds. - Weight::from_ref_time(27_510_000_u64) - // Standard Error: 14_507 - .saturating_add(Weight::from_ref_time(17_814_046_u64).saturating_mul(i as u64)) + // Minimum execution time: 25_640 nanoseconds. + Weight::from_parts(26_380_000_u64, 0) + // Standard Error: 12_815 + .saturating_add(Weight::from_parts(24_298_979_u64, 0).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i as u64))) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i as u64))) } // Storage: Uniques Asset (r:1 w:1) + // Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen) // Storage: Uniques Class (r:1 w:0) + // Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn freeze() -> Weight { - // Minimum execution time: 31_900 nanoseconds. - Weight::from_ref_time(33_570_000_u64) + // Minimum execution time: 32_340 nanoseconds. + Weight::from_parts(33_240_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: Uniques Asset (r:1 w:1) + // Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen) // Storage: Uniques Class (r:1 w:0) + // Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn thaw() -> Weight { - // Minimum execution time: 31_800 nanoseconds. - Weight::from_ref_time(33_600_000_u64) + // Minimum execution time: 31_820 nanoseconds. + Weight::from_parts(33_160_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: Uniques Class (r:1 w:1) + // Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn freeze_collection() -> Weight { - // Minimum execution time: 25_569 nanoseconds. - Weight::from_ref_time(26_480_000_u64) + // Minimum execution time: 23_840 nanoseconds. + Weight::from_parts(24_640_000_u64, 0) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: Uniques Class (r:1 w:1) + // Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn thaw_collection() -> Weight { - // Minimum execution time: 25_350 nanoseconds. - Weight::from_ref_time(26_270_000_u64) + // Minimum execution time: 23_660 nanoseconds. + Weight::from_parts(24_460_000_u64, 0) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: Uniques OwnershipAcceptance (r:1 w:1) + // Proof: Uniques OwnershipAcceptance (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) // Storage: Uniques Class (r:1 w:1) + // Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Uniques ClassAccount (r:0 w:2) + // Proof: Uniques ClassAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) fn transfer_ownership() -> Weight { - // Minimum execution time: 36_830 nanoseconds. - Weight::from_ref_time(38_360_000_u64) + // Minimum execution time: 37_860 nanoseconds. + Weight::from_parts(38_520_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } // Storage: Uniques Class (r:1 w:1) + // Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn set_team() -> Weight { - // Minimum execution time: 26_280 nanoseconds. - Weight::from_ref_time(27_210_000_u64) + // Minimum execution time: 25_010 nanoseconds. + Weight::from_parts(25_530_000_u64, 0) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: Uniques Class (r:1 w:1) + // Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Uniques ClassAccount (r:0 w:1) + // Proof: Uniques ClassAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) fn force_item_status() -> Weight { - // Minimum execution time: 29_430 nanoseconds. - Weight::from_ref_time(30_520_000_u64) + // Minimum execution time: 28_360 nanoseconds. + Weight::from_parts(29_771_000_u64, 0) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: Uniques Class (r:1 w:1) + // Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen) // Storage: Uniques InstanceMetadataOf (r:1 w:0) + // Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(187), added: 2662, mode: MaxEncodedLen) // Storage: Uniques Attribute (r:1 w:1) + // Proof: Uniques Attribute (max_values: None, max_size: Some(364), added: 2839, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn set_attribute() -> Weight { - // Minimum execution time: 61_400 nanoseconds. - Weight::from_ref_time(63_210_000_u64) + // Minimum execution time: 65_990 nanoseconds. + Weight::from_parts(67_130_000_u64, 0) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: Uniques Class (r:1 w:1) + // Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen) // Storage: Uniques InstanceMetadataOf (r:1 w:0) + // Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(187), added: 2662, mode: MaxEncodedLen) // Storage: Uniques Attribute (r:1 w:1) + // Proof: Uniques Attribute (max_values: None, max_size: Some(364), added: 2839, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn clear_attribute() -> Weight { - // Minimum execution time: 58_880 nanoseconds. - Weight::from_ref_time(60_470_000_u64) + // Minimum execution time: 60_950 nanoseconds. + Weight::from_parts(62_560_000_u64, 0) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: Uniques Class (r:1 w:1) + // Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen) // Storage: Uniques InstanceMetadataOf (r:1 w:1) + // Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(187), added: 2662, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn set_metadata() -> Weight { - // Minimum execution time: 48_230 nanoseconds. - Weight::from_ref_time(50_200_000_u64) + // Minimum execution time: 49_280 nanoseconds. + Weight::from_parts(50_250_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: Uniques Class (r:1 w:1) + // Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen) // Storage: Uniques InstanceMetadataOf (r:1 w:1) + // Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(187), added: 2662, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn clear_metadata() -> Weight { - // Minimum execution time: 49_180 nanoseconds. - Weight::from_ref_time(50_470_000_u64) + // Minimum execution time: 49_680 nanoseconds. + Weight::from_parts(50_780_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: Uniques Class (r:1 w:1) + // Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen) // Storage: Uniques ClassMetadataOf (r:1 w:1) + // Proof: Uniques ClassMetadataOf (max_values: None, max_size: Some(167), added: 2642, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn set_collection_metadata() -> Weight { - // Minimum execution time: 46_860 nanoseconds. - Weight::from_ref_time(48_080_000_u64) + // Minimum execution time: 48_040 nanoseconds. + Weight::from_parts(49_630_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: Uniques Class (r:1 w:0) + // Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen) // Storage: Uniques ClassMetadataOf (r:1 w:1) + // Proof: Uniques ClassMetadataOf (max_values: None, max_size: Some(167), added: 2642, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn clear_collection_metadata() -> Weight { - // Minimum execution time: 45_100 nanoseconds. - Weight::from_ref_time(46_331_000_u64) + // Minimum execution time: 45_250 nanoseconds. + Weight::from_parts(46_020_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: Uniques Class (r:1 w:0) + // Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen) // Storage: Uniques Asset (r:1 w:1) + // Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn approve_transfer() -> Weight { - // Minimum execution time: 32_870 nanoseconds. - Weight::from_ref_time(34_160_000_u64) + // Minimum execution time: 33_300 nanoseconds. + Weight::from_parts(34_260_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: Uniques Class (r:1 w:0) + // Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen) // Storage: Uniques Asset (r:1 w:1) + // Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn cancel_approval() -> Weight { - // Minimum execution time: 32_810 nanoseconds. - Weight::from_ref_time(34_270_000_u64) + // Minimum execution time: 32_990 nanoseconds. + Weight::from_parts(34_350_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: Uniques OwnershipAcceptance (r:1 w:1) + // Proof: Uniques OwnershipAcceptance (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn set_accept_ownership() -> Weight { - // Minimum execution time: 30_490 nanoseconds. - Weight::from_ref_time(31_830_000_u64) + // Minimum execution time: 27_040 nanoseconds. + Weight::from_parts(28_330_000_u64, 0) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: Uniques CollectionMaxSupply (r:1 w:1) + // Proof: Uniques CollectionMaxSupply (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) // Storage: Uniques Class (r:1 w:0) + // Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn set_collection_max_supply() -> Weight { - // Minimum execution time: 28_770 nanoseconds. - Weight::from_ref_time(29_520_000_u64) + // Minimum execution time: 27_570 nanoseconds. + Weight::from_parts(28_191_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: Uniques Asset (r:1 w:0) + // Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Uniques ItemPriceOf (r:0 w:1) + // Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen) fn set_price() -> Weight { - // Minimum execution time: 29_410 nanoseconds. - Weight::from_ref_time(31_220_000_u64) + // Minimum execution time: 27_930 nanoseconds. + Weight::from_parts(28_650_000_u64, 0) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: Uniques Asset (r:1 w:1) + // Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen) // Storage: Uniques ItemPriceOf (r:1 w:1) + // Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen) // Storage: Uniques Class (r:1 w:0) + // Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Uniques Account (r:0 w:2) + // Proof: Uniques Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) fn buy_item() -> Weight { - // Minimum execution time: 56_970 nanoseconds. - Weight::from_ref_time(58_530_000_u64) + // Minimum execution time: 63_430 nanoseconds. + Weight::from_parts(65_110_000_u64, 0) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } diff --git a/runtimes/eden/src/weights/pallet_utility.rs b/runtimes/eden/src/weights/pallet_utility.rs index 270dd6e6cfe..c8a1e9938b3 100644 --- a/runtimes/eden/src/weights/pallet_utility.rs +++ b/runtimes/eden/src/weights/pallet_utility.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_utility //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `chain-bench-012bd056`, CPU: `AMD EPYC 7B13` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -48,55 +48,71 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `c` is `[0, 1000]`. fn batch(c: u32, ) -> Weight { - // Minimum execution time: 17_400 nanoseconds. - Weight::from_ref_time(23_596_398_u64) - // Standard Error: 2_503 - .saturating_add(Weight::from_ref_time(6_267_873_u64).saturating_mul(c as u64)) + // Minimum execution time: 15_300 nanoseconds. + Weight::from_parts(22_622_419_u64, 0) + // Standard Error: 2_805 + .saturating_add(Weight::from_parts(9_142_719_u64, 0).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } fn as_derivative() -> Weight { - // Minimum execution time: 9_960 nanoseconds. - Weight::from_ref_time(10_410_000_u64) + // Minimum execution time: 9_620 nanoseconds. + Weight::from_parts(10_100_000_u64, 0) } // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32, ) -> Weight { - // Minimum execution time: 17_300 nanoseconds. - Weight::from_ref_time(37_060_677_u64) - // Standard Error: 2_357 - .saturating_add(Weight::from_ref_time(6_595_988_u64).saturating_mul(c as u64)) + // Minimum execution time: 15_511 nanoseconds. + Weight::from_parts(19_646_664_u64, 0) + // Standard Error: 1_867 + .saturating_add(Weight::from_parts(9_687_695_u64, 0).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn dispatch_as() -> Weight { - // Minimum execution time: 20_490 nanoseconds. - Weight::from_ref_time(21_400_000_u64) + // Minimum execution time: 19_500 nanoseconds. + Weight::from_parts(20_140_000_u64, 0) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32, ) -> Weight { - // Minimum execution time: 17_090 nanoseconds. - Weight::from_ref_time(24_928_822_u64) - // Standard Error: 2_187 - .saturating_add(Weight::from_ref_time(6_265_892_u64).saturating_mul(c as u64)) + // Minimum execution time: 15_331 nanoseconds. + Weight::from_parts(17_894_838_u64, 0) + // Standard Error: 2_342 + .saturating_add(Weight::from_parts(9_148_627_u64, 0).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } diff --git a/runtimes/eden/src/weights/pallet_xcm.rs b/runtimes/eden/src/weights/pallet_xcm.rs new file mode 100644 index 00000000000..250c111a637 --- /dev/null +++ b/runtimes/eden/src/weights/pallet_xcm.rs @@ -0,0 +1,275 @@ +/* + * This file is part of the Nodle Chain distributed at https://github.com/NodleCode/chain + * Copyright (C) 2020-2022 Nodle International + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +//! Autogenerated weights for pallet_xcm +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-05-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `chain-bench-012bd056`, CPU: `AMD EPYC 7B13` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/nodle-parachain +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --pallet=pallet_xcm +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --template=./.maintain/external_pallet_weights.hbs +// --output=runtimes/eden/src/weights + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::{Weight}}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_xcm`. +pub struct WeightInfo(PhantomData); +impl pallet_xcm::WeightInfo for WeightInfo { + // Storage: PolkadotXcm SupportedVersion (r:1 w:0) + // Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + // Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) + // Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) + // Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) + // Storage: ParachainSystem HostConfiguration (r:1 w:0) + // Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) + // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) + // Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) + // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) + fn send() -> Weight { + // Minimum execution time: 47_770 nanoseconds. + Weight::from_parts(49_290_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } + // Storage: Benchmark Override (r:0 w:0) + // Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured) + fn teleport_assets() -> Weight { + // Minimum execution time: 18_446_744_073_709_551 nanoseconds. + Weight::from_parts(18_446_744_073_709_551_000_u64, 0) + } + // Storage: ParachainInfo ParachainId (r:1 w:0) + // Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) + // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) + fn reserve_transfer_assets() -> Weight { + // Minimum execution time: 43_620 nanoseconds. + Weight::from_parts(45_370_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + // Storage: Benchmark Override (r:0 w:0) + // Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured) + fn execute() -> Weight { + // Minimum execution time: 18_446_744_073_709_551 nanoseconds. + Weight::from_parts(18_446_744_073_709_551_000_u64, 0) + } + // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) + // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) + // Storage: PolkadotXcm SupportedVersion (r:0 w:1) + // Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + fn force_xcm_version() -> Weight { + // Minimum execution time: 20_190 nanoseconds. + Weight::from_parts(20_990_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + // Storage: PolkadotXcm SafeXcmVersion (r:0 w:1) + // Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) + fn force_default_xcm_version() -> Weight { + // Minimum execution time: 5_580 nanoseconds. + Weight::from_parts(5_880_000_u64, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: PolkadotXcm VersionNotifiers (r:1 w:1) + // Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) + // Storage: PolkadotXcm QueryCounter (r:1 w:1) + // Proof Skipped: PolkadotXcm QueryCounter (max_values: Some(1), max_size: None, mode: Measured) + // Storage: PolkadotXcm SupportedVersion (r:1 w:0) + // Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + // Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) + // Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) + // Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) + // Storage: ParachainSystem HostConfiguration (r:1 w:0) + // Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) + // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) + // Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) + // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) + // Storage: PolkadotXcm Queries (r:0 w:1) + // Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured) + fn force_subscribe_version_notify() -> Weight { + // Minimum execution time: 55_230 nanoseconds. + Weight::from_parts(57_530_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(11_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) + } + // Storage: PolkadotXcm VersionNotifiers (r:1 w:1) + // Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) + // Storage: PolkadotXcm SupportedVersion (r:1 w:0) + // Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + // Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) + // Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) + // Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) + // Storage: ParachainSystem HostConfiguration (r:1 w:0) + // Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) + // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) + // Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) + // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) + // Storage: PolkadotXcm Queries (r:0 w:1) + // Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured) + fn force_unsubscribe_version_notify() -> Weight { + // Minimum execution time: 55_840 nanoseconds. + Weight::from_parts(57_060_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(10_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) + } + // Storage: PolkadotXcm SupportedVersion (r:4 w:2) + // Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + fn migrate_supported_version() -> Weight { + // Minimum execution time: 27_460 nanoseconds. + Weight::from_parts(28_649_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + // Storage: PolkadotXcm VersionNotifiers (r:4 w:2) + // Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) + fn migrate_version_notifiers() -> Weight { + // Minimum execution time: 27_370 nanoseconds. + Weight::from_parts(28_440_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + // Storage: PolkadotXcm VersionNotifyTargets (r:5 w:0) + // Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + fn already_notified_target() -> Weight { + // Minimum execution time: 28_870 nanoseconds. + Weight::from_parts(29_740_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(5_u64)) + } + // Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1) + // Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + // Storage: PolkadotXcm SupportedVersion (r:1 w:0) + // Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + // Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) + // Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) + // Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) + // Storage: ParachainSystem HostConfiguration (r:1 w:0) + // Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) + // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) + // Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) + // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) + fn notify_current_targets() -> Weight { + // Minimum execution time: 51_540 nanoseconds. + Weight::from_parts(53_030_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(11_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) + } + // Storage: PolkadotXcm VersionNotifyTargets (r:3 w:0) + // Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + fn notify_target_migration_fail() -> Weight { + // Minimum execution time: 15_300 nanoseconds. + Weight::from_parts(15_700_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(3_u64)) + } + // Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2) + // Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + fn migrate_version_notify_targets() -> Weight { + // Minimum execution time: 27_950 nanoseconds. + Weight::from_parts(29_150_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + // Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2) + // Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + // Storage: PolkadotXcm SupportedVersion (r:1 w:0) + // Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + // Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) + // Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) + // Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) + // Storage: ParachainSystem HostConfiguration (r:1 w:0) + // Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) + // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) + // Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) + // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) + fn migrate_and_notify_old_targets() -> Weight { + // Minimum execution time: 62_070 nanoseconds. + Weight::from_parts(64_470_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(13_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) + } +} diff --git a/runtimes/eden/src/weights/pallet_xcm_benchmarks_fungible.rs b/runtimes/eden/src/weights/pallet_xcm_benchmarks_fungible.rs index df90ac3cc5c..625e165394d 100644 --- a/runtimes/eden/src/weights/pallet_xcm_benchmarks_fungible.rs +++ b/runtimes/eden/src/weights/pallet_xcm_benchmarks_fungible.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_xcm_benchmarks::fungible` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -47,83 +47,144 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl WeightInfo { // Storage: System Account (r:1 w:1) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) pub(crate) fn withdraw_asset() -> Weight { - Weight::from_ref_time(39_011_000_u64) + Weight::from_parts(42_280_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: System Account (r:2 w:2) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) pub(crate) fn transfer_asset() -> Weight { - Weight::from_ref_time(55_810_000_u64) + Weight::from_parts(68_670_000_u64, 0) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: System Account (r:2 w:2) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: ParachainInfo ParachainId (r:1 w:0) + // Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: PolkadotXcm SupportedVersion (r:1 w:0) + // Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + // Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) + // Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) + // Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) // Storage: ParachainSystem HostConfiguration (r:1 w:0) + // Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) + // Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) pub(crate) fn transfer_reserve_asset() -> Weight { - Weight::from_ref_time(70_229_000_u64) - .saturating_add(T::DbWeight::get().reads(10_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) - } - // Storage: Balances TotalIssuance (r:1 w:1) - pub(crate) fn reserve_asset_deposited() -> Weight { - Weight::from_ref_time(8_550_000_u64) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + Weight::from_parts(106_070_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(13_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } // Storage: Benchmark Override (r:0 w:0) + // Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured) pub(crate) fn receive_teleported_asset() -> Weight { - Weight::from_ref_time(500_000_000_000_u64) + Weight::from_parts(500_000_000_000_u64, 0) } // Storage: System Account (r:1 w:1) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) pub(crate) fn deposit_asset() -> Weight { - Weight::from_ref_time(43_510_000_u64) + Weight::from_parts(51_460_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: System Account (r:1 w:1) + // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) // Storage: ParachainInfo ParachainId (r:1 w:0) + // Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: PolkadotXcm SupportedVersion (r:1 w:0) + // Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + // Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) + // Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) + // Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) // Storage: ParachainSystem HostConfiguration (r:1 w:0) + // Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) + // Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) pub(crate) fn deposit_reserve_asset() -> Weight { - Weight::from_ref_time(59_890_000_u64) - .saturating_add(T::DbWeight::get().reads(9_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + Weight::from_parts(92_790_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(12_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } // Storage: ParachainInfo ParachainId (r:1 w:0) + // Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: PolkadotXcm SupportedVersion (r:1 w:0) + // Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + // Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) + // Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) + // Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) // Storage: ParachainSystem HostConfiguration (r:1 w:0) + // Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) + // Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) + // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) pub(crate) fn initiate_teleport() -> Weight { - Weight::from_ref_time(25_240_000_u64) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + Weight::from_parts(57_940_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(11_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } -} +} \ No newline at end of file diff --git a/runtimes/eden/src/weights/pallet_xcm_benchmarks_generic.rs b/runtimes/eden/src/weights/pallet_xcm_benchmarks_generic.rs index 33619d332ad..a4ca82f1d1a 100644 --- a/runtimes/eden/src/weights/pallet_xcm_benchmarks_generic.rs +++ b/runtimes/eden/src/weights/pallet_xcm_benchmarks_generic.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_xcm_benchmarks::generic` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-05-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -30,7 +30,7 @@ // --steps=50 // --repeat=20 // --pallet=pallet_xcm_benchmarks::generic -// --extrinsic=* +// --extrinsic=report_holding, buy_execution, query_response, transact, refund_surplus, set_error_handler, set_appendix, clear_error, descend_origin, clear_origin, report_error, claim_asset, trap, subscribe_version, unsubscribe_version, initiate_reserve_withdraw, burn_asset, expect_asset, expect_origin, expect_error, expect_transact_status, query_pallet, expect_pallet, report_transact_status, clear_transact_status, set_topic, clear_topic, set_fees_mode, unpaid_execution // --execution=wasm // --wasm-execution=compiled // --template=./.maintain/xcm.hbs @@ -47,120 +47,356 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl WeightInfo { // Storage: ParachainInfo ParachainId (r:1 w:0) + // Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: PolkadotXcm SupportedVersion (r:1 w:0) + // Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + // Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) + // Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) + // Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) // Storage: ParachainSystem HostConfiguration (r:1 w:0) + // Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) + // Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) + // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:1) - pub(crate) fn query_holding() -> Weight { - Weight::from_ref_time(25_070_000_u64) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + pub(crate) fn report_holding() -> Weight { + Weight::from_parts(60_740_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(11_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) pub(crate) fn buy_execution() -> Weight { - Weight::from_ref_time(7_510_000_u64) + Weight::from_parts(9_300_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } + // Storage: PolkadotXcm Queries (r:1 w:0) + // Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured) + // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) + // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) pub(crate) fn query_response() -> Weight { - Weight::from_ref_time(7_280_000_u64) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + Weight::from_parts(25_570_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) pub(crate) fn transact() -> Weight { - Weight::from_ref_time(27_930_000_u64) + Weight::from_parts(28_060_000_u64, 0) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) pub(crate) fn refund_surplus() -> Weight { - Weight::from_ref_time(7_550_000_u64) + Weight::from_parts(9_490_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) pub(crate) fn set_error_handler() -> Weight { - Weight::from_ref_time(7_410_000_u64) + Weight::from_parts(9_230_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) pub(crate) fn set_appendix() -> Weight { - Weight::from_ref_time(7_240_000_u64) + Weight::from_parts(9_370_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) pub(crate) fn clear_error() -> Weight { - Weight::from_ref_time(7_331_000_u64) + Weight::from_parts(9_160_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) pub(crate) fn descend_origin() -> Weight { - Weight::from_ref_time(9_010_000_u64) + Weight::from_parts(10_070_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) pub(crate) fn clear_origin() -> Weight { - Weight::from_ref_time(7_590_000_u64) + Weight::from_parts(9_150_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } + // Storage: ParachainInfo ParachainId (r:1 w:0) + // Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: PolkadotXcm SupportedVersion (r:1 w:0) + // Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + // Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) + // Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) + // Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) // Storage: ParachainSystem HostConfiguration (r:1 w:0) + // Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) + // Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) + // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) pub(crate) fn report_error() -> Weight { - Weight::from_ref_time(13_190_000_u64) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + Weight::from_parts(49_780_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(11_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } // Storage: PolkadotXcm AssetTraps (r:1 w:1) + // Proof Skipped: PolkadotXcm AssetTraps (max_values: None, max_size: None, mode: Measured) // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) pub(crate) fn claim_asset() -> Weight { - Weight::from_ref_time(30_890_000_u64) + Weight::from_parts(33_420_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) pub(crate) fn trap() -> Weight { - Weight::from_ref_time(7_280_000_u64) + Weight::from_parts(9_180_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } // Storage: PolkadotXcm VersionNotifyTargets (r:1 w:1) + // Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) + // Storage: PolkadotXcm SupportedVersion (r:1 w:0) + // Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + // Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) + // Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) + // Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) // Storage: ParachainSystem HostConfiguration (r:1 w:0) + // Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) + // Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) + // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) pub(crate) fn subscribe_version() -> Weight { - Weight::from_ref_time(22_400_000_u64) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + Weight::from_parts(55_990_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(11_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) // Storage: PolkadotXcm VersionNotifyTargets (r:0 w:1) + // Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) pub(crate) fn unsubscribe_version() -> Weight { - Weight::from_ref_time(11_110_000_u64) + Weight::from_parts(13_780_000_u64, 0) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } // Storage: ParachainInfo ParachainId (r:1 w:0) + // Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: PolkadotXcm SupportedVersion (r:1 w:0) + // Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + // Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) + // Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) + // Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) // Storage: ParachainSystem HostConfiguration (r:1 w:0) + // Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) + // Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) + // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) pub(crate) fn initiate_reserve_withdraw() -> Weight { - Weight::from_ref_time(25_490_000_u64) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + Weight::from_parts(56_130_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(11_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) + } + // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + pub(crate) fn burn_asset() -> Weight { + Weight::from_parts(11_350_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + pub(crate) fn expect_asset() -> Weight { + Weight::from_parts(9_709_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + pub(crate) fn expect_origin() -> Weight { + Weight::from_parts(9_370_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + pub(crate) fn expect_error() -> Weight { + Weight::from_parts(9_300_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + pub(crate) fn expect_transact_status() -> Weight { + Weight::from_parts(9_640_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: ParachainInfo ParachainId (r:1 w:0) + // Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: PolkadotXcm SupportedVersion (r:1 w:0) + // Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + // Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) + // Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) + // Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) + // Storage: ParachainSystem HostConfiguration (r:1 w:0) + // Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) + // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) + // Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) + // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) + // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + pub(crate) fn query_pallet() -> Weight { + Weight::from_parts(64_470_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(11_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) + } + // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + pub(crate) fn expect_pallet() -> Weight { + Weight::from_parts(19_940_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: ParachainInfo ParachainId (r:1 w:0) + // Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: PolkadotXcm SupportedVersion (r:1 w:0) + // Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) + // Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) + // Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) + // Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) + // Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) + // Storage: ParachainSystem HostConfiguration (r:1 w:0) + // Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) + // Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) + // Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) + // Storage: System Number (r:1 w:0) + // Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System ExecutionPhase (r:1 w:0) + // Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) + // Storage: System EventCount (r:1 w:1) + // Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Storage: System Events (r:1 w:1) + // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) + // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + pub(crate) fn report_transact_status() -> Weight { + Weight::from_parts(50_720_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(11_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) + } + // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + pub(crate) fn clear_transact_status() -> Weight { + Weight::from_parts(9_340_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + pub(crate) fn set_topic() -> Weight { + Weight::from_parts(9_380_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + pub(crate) fn clear_topic() -> Weight { + Weight::from_parts(9_260_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + pub(crate) fn set_fees_mode() -> Weight { + Weight::from_parts(9_190_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: Balances TotalIssuance (r:1 w:1) + // Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + pub(crate) fn unpaid_execution() -> Weight { + Weight::from_parts(9_480_000_u64, 0) + .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/runtimes/eden/src/xcm_config.rs b/runtimes/eden/src/xcm_config.rs index d654c628c27..a76774a8fb8 100644 --- a/runtimes/eden/src/xcm_config.rs +++ b/runtimes/eden/src/xcm_config.rs @@ -1,15 +1,18 @@ use super::{ - AccountId, Balance, Balances, ParachainInfo, ParachainSystem, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, - RuntimeOrigin, XcmpQueue, + AccountId, AllPalletsWithSystem, Balance, Balances, ParachainInfo, ParachainSystem, PolkadotXcm, Runtime, + RuntimeCall, RuntimeEvent, RuntimeOrigin, XcmpQueue, }; +#[cfg(feature = "runtime-benchmarks")] +use crate::constants::NODL; use crate::implementations::DealWithFees; use codec::{Decode, Encode}; #[cfg(feature = "runtime-benchmarks")] use frame_benchmarking::BenchmarkError; use frame_support::{ - parameter_types, - traits::{Everything, Nothing, PalletInfoAccess}, + match_types, parameter_types, + traits::{ConstU32, Everything, Nothing, PalletInfoAccess}, weights::IdentityFee, + weights::Weight, RuntimeDebug, }; use frame_system::EnsureRoot; @@ -18,14 +21,17 @@ use pallet_xcm::XcmPassthrough; use polkadot_parachain::primitives::Sibling; use scale_info::TypeInfo; use sp_runtime::traits::Convert; -use xcm::{latest::NetworkId, latest::Weight as XcmWeight, prelude::*}; +#[cfg(feature = "runtime-benchmarks")] +use sp_std::vec; +use xcm::latest::{prelude::*, NetworkId, Weight as XcmWeight}; use xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, - CurrencyAdapter, EnsureXcmOrigin, IsConcrete, LocationInverter, NativeAsset, ParentIsPreset, RelayChainAsNative, + CurrencyAdapter, EnsureXcmOrigin, IsConcrete, NativeAsset, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, - SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, WeightInfoBounds, + SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, WeightInfoBounds, WithComputedOrigin, }; use xcm_executor::XcmExecutor; + /// Type for specifying how a `MultiLocation` can be converted into an `AccountId`. This is used /// when determining ownership of accounts for asset transacting and when attempting to use XCM /// `Transact` in order to determine the dispatch RuntimeOrigin. @@ -38,14 +44,28 @@ pub type LocationToAccountId = ( AccountId32Aliases, ); +match_types! { + pub type ParentOrSiblings: impl Contains = { + MultiLocation { parents: 1, interior: Here } | + MultiLocation { parents: 1, interior: X1(_) } + }; +} + pub type Barrier = ( TakeWeightCredit, - // If the message is one that immediately attempts to pay for execution, then allow it. - AllowTopLevelPaidExecutionFrom, // Expected responses are OK. AllowKnownQueryResponses, - // Subscriptions for version tracking are OK. - AllowSubscriptionsFrom, + // Allow XCMs with some computed origins to pass through. + WithComputedOrigin< + ( + // If the message is one that immediately attemps to pay for execution, then allow it. + AllowTopLevelPaidExecutionFrom, + // Subscriptions for version tracking are OK. + AllowSubscriptionsFrom, + ), + UniversalLocation, + ConstU32<8>, + >, ); pub type LocalOriginToLocation = SignedToAccountId32; @@ -54,10 +74,11 @@ pub type LocalOriginToLocation = SignedToAccountId32, + cumulus_primitives_utility::ParentAsUmp, // ..and XCMP to communicate with the sibling chains. XcmpQueue, ); + parameter_types! { pub RelayLocation: MultiLocation = MultiLocation::parent(); pub NodlLocation: MultiLocation = MultiLocation { @@ -66,9 +87,9 @@ parameter_types! { PalletInstance(::index() as u8) ) }; - pub const RelayNetwork: NetworkId = NetworkId::Any; + pub const RelayNetwork: Option = None; pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into(); - pub Ancestry: MultiLocation = Parachain(ParachainInfo::parachain_id().into()).into(); + pub UniversalLocation: InteriorMultiLocation = Parachain(ParachainInfo::parachain_id().into()).into(); } /// This is the type we use to convert an (incoming) XCM origin into a local `Origin` instance, @@ -107,10 +128,10 @@ pub type CurrencyTransactor = CurrencyAdapter< // We don't track any teleports of `Balances`. (), >; + parameter_types! { - // One XCM operation is 200_000_000 weight - almost certainly a conservative estimate. - pub UnitWeightCost: u64 = 200_000_000; - pub const MaxInstructions: u32 = 100; + pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024); + pub const MaxInstructions: u32 = 100; } pub struct XcmConfig; @@ -121,14 +142,28 @@ impl xcm_executor::Config for XcmConfig { type OriginConverter = XcmOriginToTransactDispatchOrigin; type IsReserve = NativeAsset; type IsTeleporter = (); - type LocationInverter = LocationInverter; + type UniversalLocation = UniversalLocation; type Barrier = Barrier; type Weigher = WeightInfoBounds, RuntimeCall, MaxInstructions>; type Trader = UsingComponents, NodlLocation, AccountId, Balances, DealWithFees>; - type ResponseHandler = (); // Don't handle responses for now. + type ResponseHandler = PolkadotXcm; type AssetTrap = PolkadotXcm; type AssetClaims = PolkadotXcm; type SubscriptionService = PolkadotXcm; + type PalletInstancesInfo = AllPalletsWithSystem; + type MaxAssetsIntoHolding = ConstU32<8>; + type AssetLocker = (); + type AssetExchanger = (); + type FeeManager = (); + type MessageExporter = (); + type UniversalAliases = Nothing; + type CallDispatcher = RuntimeCall; + type SafeCallFilter = Everything; +} + +#[cfg(feature = "runtime-benchmarks")] +parameter_types! { + pub ReachableDest: Option = Some(Parent.into()); } impl pallet_xcm::Config for Runtime { @@ -141,11 +176,19 @@ impl pallet_xcm::Config for Runtime { type XcmTeleportFilter = Nothing; type XcmReserveTransferFilter = Everything; type Weigher = WeightInfoBounds, RuntimeCall, MaxInstructions>; - type LocationInverter = LocationInverter; + type UniversalLocation = UniversalLocation; type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100; type AdvertisedXcmVersion = pallet_xcm::CurrentXcmVersion; + type Currency = Balances; + type CurrencyMatcher = (); + type TrustedLockers = (); + type SovereignAccountOf = LocationToAccountId; + type MaxLockers = ConstU32<8>; + type WeightInfo = crate::weights::pallet_xcm::WeightInfo; + #[cfg(feature = "runtime-benchmarks")] + type ReachableDest = ReachableDest; } impl cumulus_pallet_xcmp_queue::Config for Runtime { @@ -157,6 +200,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type ControllerOrigin = EnsureRoot; type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin; type WeightInfo = cumulus_pallet_xcmp_queue::weights::SubstrateWeight; + type PriceForSiblingDelivery = (); } impl cumulus_pallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; @@ -166,14 +210,14 @@ pub struct AccountIdToMultiLocation; impl Convert for AccountIdToMultiLocation { fn convert(account: AccountId) -> MultiLocation { X1(AccountId32 { - network: NetworkId::Any, + network: None, id: account.into(), }) .into() } } parameter_types! { - pub const BaseXcmWeight: XcmWeight = 100_000_000; // TODO: update based on the results of https://github.com/NodleCode/chain-workspace/issues/259 + pub const BaseXcmWeight: XcmWeight = XcmWeight::from_parts(100_000_000, 0); // TODO: update based on the results of https://github.com/NodleCode/chain-workspace/issues/259 pub const MaxAssetsForTransfer: usize = 2; } parameter_types! { @@ -208,21 +252,13 @@ impl orml_xtokens::Config for Runtime { type XcmExecutor = XcmExecutor; type Weigher = WeightInfoBounds, RuntimeCall, MaxInstructions>; type BaseXcmWeight = BaseXcmWeight; - type LocationInverter = LocationInverter; + type UniversalLocation = UniversalLocation; type MaxAssetsForTransfer = MaxAssetsForTransfer; type MinXcmFee = ParachainMinFee; type MultiLocationsFilter = Everything; type ReserveProvider = RelativeReserveProvider; } -#[cfg(feature = "runtime-benchmarks")] -parameter_types! { - pub const TrustedReserve: Option<(MultiLocation, MultiAsset)> = Some(( - MultiLocation::here(), - MultiAsset{ id: Concrete(Here.into()), fun: Fungible(100) } - )); - -} #[cfg(feature = "runtime-benchmarks")] parameter_types! { pub const TrustedTeleporter: Option<(MultiLocation, MultiAsset)> = Some(( @@ -238,8 +274,21 @@ impl pallet_xcm_benchmarks::generic::Config for Runtime { (0u64, Response::Version(Default::default())) } - fn transact_origin() -> Result { - Ok(MultiLocation::parent()) + fn worst_case_asset_exchange() -> Result<(MultiAssets, MultiAssets), BenchmarkError> { + // Eden doesn't support asset exchanges + Err(BenchmarkError::Skip) + } + + fn universal_alias() -> Result { + // The XCM executor of Eden doesn't have a configured `UniversalAliases` + Err(BenchmarkError::Skip) + } + + fn transact_origin_and_runtime_call() -> Result<(MultiLocation, RuntimeCall), BenchmarkError> { + Ok(( + MultiLocation::parent(), + frame_system::Call::remark_with_event { remark: vec![] }.into(), + )) } fn subscribe_origin() -> Result { @@ -248,20 +297,25 @@ impl pallet_xcm_benchmarks::generic::Config for Runtime { fn claimable_asset() -> Result<(MultiLocation, MultiLocation, MultiAssets), BenchmarkError> { let origin = MultiLocation::parent(); - let assets: MultiAssets = (Concrete(MultiLocation::parent()), 1_000u128).into(); + let assets: MultiAssets = (Concrete(NodlLocation::get()), 10_000_000 * NODL).into(); let ticket = MultiLocation { parents: 0, interior: Here, }; Ok((origin, ticket, assets)) } + + fn unlockable_asset() -> Result<(MultiLocation, MultiLocation, MultiAsset), BenchmarkError> { + // Eden doesn't support locking/unlocking assets + Err(BenchmarkError::Skip) + } } + #[cfg(feature = "runtime-benchmarks")] impl pallet_xcm_benchmarks::fungible::Config for Runtime { type TransactAsset = Balances; type CheckedAccount = (); type TrustedTeleporter = TrustedTeleporter; - type TrustedReserve = TrustedReserve; fn get_multi_asset() -> MultiAsset { MultiAsset { id: Concrete(NodlLocation::get()), @@ -274,14 +328,13 @@ impl pallet_xcm_benchmarks::Config for Runtime { type XcmConfig = XcmConfig; type AccountIdConverter = LocationToAccountId; fn valid_destination() -> Result { - Ok(MultiLocation::parent()) + Ok(RelayLocation::get()) } - fn worst_case_holding() -> MultiAssets { + fn worst_case_holding(_depositable_count: u32) -> MultiAssets { // 1 fungibles can be traded in the worst case: TODO: https://github.com/NodleCode/chain/issues/717 - let location: MultiLocation = GeneralIndex(0).into(); let assets = MultiAsset { - id: Concrete(location), - fun: Fungible(u128::MAX), + id: Concrete(NodlLocation::get()), + fun: Fungible(10_000_000 * NODL), }; assets.into() } @@ -314,7 +367,7 @@ mod tests { let expected_multilocation = MultiLocation { parents: 0, interior: X1(AccountId32 { - network: Any, + network: None, id: [ 126, 200, 62, 9, 114, 243, 243, 190, 185, 27, 243, 145, 244, 87, 26, 26, 213, 7, 6, 113, 36, 76, 54, 87, 241, 19, 175, 234, 166, 39, 21, 27, diff --git a/scripts/run_benchmarks.sh b/scripts/run_benchmarks.sh index d702c91168a..143c1ff5b93 100755 --- a/scripts/run_benchmarks.sh +++ b/scripts/run_benchmarks.sh @@ -1,16 +1,21 @@ #!/bin/bash -export external="frame_system pallet pallet_balances pallet_collator_selection pallet_contracts pallet_membership pallet_multisig pallet_preimage pallet_scheduler pallet_timestamp pallet_uniques pallet_utility" -export xcm_bench=" pallet_xcm_benchmarks::generic pallet_xcm_benchmarks::fungible" +export external="frame_system pallet_balances pallet_collator_selection pallet_contracts pallet_membership\ + pallet_multisig pallet_preimage pallet_scheduler pallet_timestamp pallet_uniques pallet_utility pallet_xcm" export internal="pallet_allocations pallet_grants pallet_reserve" +export xcm_generic_extrinsic="report_holding, buy_execution, query_response, transact, refund_surplus,\ + set_error_handler, set_appendix, clear_error, descend_origin, clear_origin, report_error, claim_asset, trap, \ + subscribe_version, unsubscribe_version, initiate_reserve_withdraw, burn_asset, expect_asset, expect_origin,\ + expect_error, expect_transact_status, query_pallet, expect_pallet, report_transact_status,\ + clear_transact_status, set_topic, clear_topic, set_fees_mode, unpaid_execution" + cargo build --profile release \ --features=runtime-benchmarks \ --manifest-path=node/Cargo.toml -install -d weights for PALLET in $internal do -./target/release/nodle-parachain benchmark pallet \ +./target/release/nodle-parachain benchmark pallet \ --chain=dev \ --steps=50 \ --repeat=20 \ @@ -19,17 +24,12 @@ do --execution=wasm \ --wasm-execution=compiled \ --template=./.maintain/internal_pallet_weights.hbs \ - --output=weights + --output=runtimes/eden/src/weights done -mv weights/pallet_allocations.rs pallets/allocations/src/weights.rs -mv weights/pallet_grants.rs pallets/grants/src/weights.rs -mv weights/pallet_reserve.rs pallets/reserve/src/weights.rs - - for PALLET in $external do -./target/release/nodle-parachain benchmark pallet \ +./target/release/nodle-parachain benchmark pallet \ --chain=dev \ --steps=50 \ --repeat=20 \ @@ -42,20 +42,27 @@ do done -for PALLET in $xcm_bench -do -./target/release/nodle-parachain benchmark pallet \ +./target/release/nodle-parachain benchmark pallet \ --chain=dev \ --steps=50 \ --repeat=20 \ - --pallet=$PALLET \ + --pallet=pallet_xcm_benchmarks::fungible \ '--extrinsic=*' \ --execution=wasm \ --wasm-execution=compiled \ --template=./.maintain/xcm.hbs \ --output=runtimes/eden/src/weights -done +./target/release/nodle-parachain benchmark pallet \ + --chain=dev \ + --steps=50 \ + --repeat=20 \ + --pallet=pallet_xcm_benchmarks::generic \ + --extrinsic="$xcm_generic_extrinsic" \ + --execution=wasm \ + --wasm-execution=compiled \ + --template=./.maintain/xcm.hbs \ + --output=runtimes/eden/src/weights echo "Running on gcloud server? Run:" echo " git commit -v -a -m Benchmarks ; git format-patch HEAD~" diff --git a/support/Cargo.toml b/support/Cargo.toml index c85970c6083..fe103fb2dbe 100644 --- a/support/Cargo.toml +++ b/support/Cargo.toml @@ -2,4 +2,4 @@ authors = ["Eliott Teissonniere "] edition = "2021" name = "support" -version = "2.0.30" +version = "2.1.0"